2019-10-30 06:00:09 +00:00
|
|
|
PROG ?= micropython-coverage
|
2019-10-23 01:20:07 +01:00
|
|
|
|
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 \
|
|
|
|
-DMICROPY_UNIX_COVERAGE
|
|
|
|
|
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
|
2019-10-23 01:20:07 +01:00
|
|
|
|
ports: Enable error text compression for various ports, but not all.
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
2020-03-04 10:56:44 +00:00
|
|
|
MICROPY_ROM_TEXT_COMPRESSION = 1
|
2019-10-23 01:20:07 +01:00
|
|
|
MICROPY_VFS_FAT = 1
|
|
|
|
MICROPY_VFS_LFS1 = 1
|
|
|
|
MICROPY_VFS_LFS2 = 1
|