| 1 |
# Disable optimisations and enable assert() on coverage builds. |
| 2 |
DEBUG ?= 1 |
| 3 |
|
| 4 |
CFLAGS += \ |
| 5 |
-fprofile-arcs -ftest-coverage \ |
| 6 |
-Wformat -Wmissing-declarations -Wmissing-prototypes \ |
| 7 |
-Wold-style-definition -Wpointer-arith -Wshadow -Wuninitialized -Wunused-parameter \ |
| 8 |
-DMICROPY_UNIX_COVERAGE |
| 9 |
|
| 10 |
LDFLAGS += -fprofile-arcs -ftest-coverage |
| 11 |
|
| 12 |
FROZEN_MANIFEST ?= $(VARIANT_DIR)/manifest.py |
| 13 |
USER_C_MODULES = $(TOP)/examples/usercmodule |
| 14 |
|
| 15 |
SRC_C += coverage.c |
| 16 |
SRC_CXX += coveragecpp.cpp |