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