
Enabled on: bare-arm, minimal, unix coverage/dev/minimal, stm32, esp32, esp8266, cc3200, teensy, qemu-arm, nrf. Not enabled on others to be able to test the code when the feature is disabled (the default case). Code size change for this commit: bare-arm: -600 -0.906% minimal x86: -308 -0.208% unix x64: +0 +0.000% unix nanbox: +0 +0.000% stm32: -3368 -0.869% PYBV10 cc3200: -1024 -0.558% esp8266: -2512 -0.368% GENERIC esp32: -2876 -0.205% GENERIC[incl -3168(data)] nrf: -1708 -1.173% pca10040 samd: +0 +0.000% ADAFRUIT_ITSYBITSY_M4_EXPRESS
19 lines
468 B
Makefile
19 lines
468 B
Makefile
PROG ?= micropython-coverage
|
|
|
|
COPT = -O0
|
|
|
|
CFLAGS += \
|
|
-fprofile-arcs -ftest-coverage \
|
|
-Wdouble-promotion -Wformat -Wmissing-declarations -Wmissing-prototypes -Wsign-compare \
|
|
-Wold-style-definition -Wpointer-arith -Wshadow -Wuninitialized -Wunused-parameter \
|
|
-DMICROPY_UNIX_COVERAGE
|
|
|
|
LDFLAGS += -fprofile-arcs -ftest-coverage
|
|
|
|
FROZEN_MANIFEST = manifest_coverage.py
|
|
|
|
MICROPY_ROM_TEXT_COMPRESSION = 1
|
|
MICROPY_VFS_FAT = 1
|
|
MICROPY_VFS_LFS1 = 1
|
|
MICROPY_VFS_LFS2 = 1
|