summaryrefslogtreecommitdiffstatshomepage
path: root/ports/unix/variants/coverage
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2021-03-31 00:45:43 +1100
committerDamien George <damien@micropython.org>2021-04-01 16:27:38 +1100
commitd87f42b0e53829052f17955ba1e17f938ae486fb (patch)
tree4c251495c6a5f51c15fb348f25f55bb4e6944dd7 /ports/unix/variants/coverage
parentec79e445027857d219d139cd31af578124a8e913 (diff)
downloadmicropython-d87f42b0e53829052f17955ba1e17f938ae486fb.tar.gz
micropython-d87f42b0e53829052f17955ba1e17f938ae486fb.zip
examples/usercmodules: Simplify user C module enabling.
It's a bit of a pitfall with user C modules that including them in the build does not automatically enable them. This commit changes the docs and examples for user C modules to encourage writers of user C modules to enable them unconditionally. This makes things simpler and covers most use cases. See discussion in issue #6960, and also #7086. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'ports/unix/variants/coverage')
-rw-r--r--ports/unix/variants/coverage/mpconfigvariant.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/ports/unix/variants/coverage/mpconfigvariant.mk b/ports/unix/variants/coverage/mpconfigvariant.mk
index ef81975d9d..fac8c0d275 100644
--- a/ports/unix/variants/coverage/mpconfigvariant.mk
+++ b/ports/unix/variants/coverage/mpconfigvariant.mk
@@ -7,8 +7,7 @@ CFLAGS += \
-fprofile-arcs -ftest-coverage \
-Wformat -Wmissing-declarations -Wmissing-prototypes \
-Wold-style-definition -Wpointer-arith -Wshadow -Wuninitialized -Wunused-parameter \
- -DMICROPY_UNIX_COVERAGE \
- -DMODULE_CEXAMPLE_ENABLED=1 -DMODULE_CPPEXAMPLE_ENABLED=1
+ -DMICROPY_UNIX_COVERAGE
LDFLAGS += -fprofile-arcs -ftest-coverage