summaryrefslogtreecommitdiff
path: root/docs/develop
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2022-05-23 22:50:34 +1000
committerDamien George <damien@micropython.org>2022-05-23 23:01:25 +1000
commitc1b9d2259e77548053cba4a1f2cab726e6429a97 (patch)
tree58ed8e2fa0c308bc8e097da86364e06a6e22f865 /docs/develop
parent0e28a1f0e5e229f14b199a30d1796770b232f5a1 (diff)
py/dynruntime.mk: Add basic support for armv6m architecture.
The examples/natmod features0 and features1 examples now build and run on ARMv6-M platforms. More complicated examples are not yet supported because the compiler emits references to built-in functions like __aeabi_uidiv. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/develop')
-rw-r--r--docs/develop/natmod.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/develop/natmod.rst b/docs/develop/natmod.rst
index 8ffe49591..6d15f867b 100644
--- a/docs/develop/natmod.rst
+++ b/docs/develop/natmod.rst
@@ -34,6 +34,7 @@ options for the ``ARCH`` variable, see below):
* ``x86`` (32 bit)
* ``x64`` (64 bit x86)
+* ``armv6m`` (ARM Thumb, eg Cortex-M0)
* ``armv7m`` (ARM Thumb 2, eg Cortex-M3)
* ``armv7emsp`` (ARM Thumb 2, single precision float, eg Cortex-M4F, Cortex-M7)
* ``armv7emdp`` (ARM Thumb 2, double precision float, eg Cortex-M7)
@@ -171,7 +172,7 @@ The file ``Makefile`` contains:
# Source files (.c or .py)
SRC = factorial.c
- # Architecture to build for (x86, x64, armv7m, xtensa, xtensawin)
+ # Architecture to build for (x86, x64, armv6m, armv7m, xtensa, xtensawin)
ARCH = x64
# Include to get the rules for compiling and linking the module