2020-04-03 02:55:14 +01:00
|
|
|
# Disable optimisations and enable assert() on coverage builds.
|
|
|
|
DEBUG ?= 1
|
2019-10-23 01:20:07 +01:00
|
|
|
|
2020-01-24 00:51:21 +00:00
|
|
|
CFLAGS += \
|
2019-10-23 01:20:07 +01:00
|
|
|
-fprofile-arcs -ftest-coverage \
|
2020-04-09 12:59:11 +01:00
|
|
|
-Wformat -Wmissing-declarations -Wmissing-prototypes \
|
2019-10-23 01:20:07 +01:00
|
|
|
-Wold-style-definition -Wpointer-arith -Wshadow -Wuninitialized -Wunused-parameter \
|
2021-03-30 14:45:43 +01:00
|
|
|
-DMICROPY_UNIX_COVERAGE
|
2019-10-23 01:20:07 +01:00
|
|
|
|
2020-01-24 00:51:21 +00:00
|
|
|
LDFLAGS += -fprofile-arcs -ftest-coverage
|
2019-10-23 01:20:07 +01:00
|
|
|
|
2020-06-09 07:45:17 +01:00
|
|
|
FROZEN_MANIFEST ?= $(VARIANT_DIR)/manifest.py
|
2020-10-21 10:13:47 +01:00
|
|
|
USER_C_MODULES = $(TOP)/examples/usercmodule
|
2019-10-23 01:20:07 +01:00
|
|
|
|
2020-10-29 06:33:34 +00:00
|
|
|
SRC_C += coverage.c
|
|
|
|
SRC_CXX += coveragecpp.cpp
|