summaryrefslogtreecommitdiff
path: root/docs/develop
diff options
context:
space:
mode:
authorGeorge Hopkins <george-hopkins@null.net>2024-07-21 16:48:48 +0200
committerDamien George <damien@micropython.org>2024-08-01 12:01:18 +1000
commit066243ea74050523e807211f208e24fac08f69fc (patch)
tree1171af46660620c6decf9f0a4cf9155156a573e8 /docs/develop
parent1754c587f9375f35c73d83982396b4f5232566ce (diff)
py/py.mk: Add SRC_USERMOD_LIB_ASM to include assembly files.
Introduce SRC_USERMOD_LIB_ASM to allow users to include assembly files as part of their user modules. It could be used to include optimized functions or outputs of other programming languages. Signed-off-by: George Hopkins <george-hopkins@null.net>
Diffstat (limited to 'docs/develop')
-rw-r--r--docs/develop/cmodules.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/develop/cmodules.rst b/docs/develop/cmodules.rst
index 75dbc953c..c5aa919b7 100644
--- a/docs/develop/cmodules.rst
+++ b/docs/develop/cmodules.rst
@@ -59,7 +59,7 @@ A MicroPython user C module is a directory with the following files:
SRC_USERMOD_LIB_C += $(EXAMPLE_MOD_DIR)/utils/algorithm.c
Similarly, use ``SRC_USERMOD_CXX`` and ``SRC_USERMOD_LIB_CXX`` for C++
- source files.
+ source files. If you want to include assembly files use ``SRC_USERMOD_LIB_ASM``.
If you have custom compiler options (like ``-I`` to add directories to search
for header files), these should be added to ``CFLAGS_USERMOD`` for C code