micropython/examples/usercmodule/cppexample
Damien George d87f42b0e5 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>
2021-04-01 16:27:38 +11:00
..
example.cpp examples: Add example code for user C modules, both C and C++. 2020-10-29 15:30:42 +11:00
examplemodule.c examples/usercmodules: Simplify user C module enabling. 2021-04-01 16:27:38 +11:00
examplemodule.h examples: Add example code for user C modules, both C and C++. 2020-10-29 15:30:42 +11:00
micropython.cmake examples/usercmodules: Simplify user C module enabling. 2021-04-01 16:27:38 +11:00
micropython.mk examples: Add example code for user C modules, both C and C++. 2020-10-29 15:30:42 +11:00