Code: Select all
set(MICROPY_CROSS_FLAGS -march=armv7m)
I hacked 'micropython/py/dynruntime.mk' and 'micropython/tools/mpy_ld.py' to add "armv6m" support for my Native C Modules which seems to have worked but not sure what changes would be needed for 'mpy-cross'. Even if it is fine as is it would be nice to have it accept "-march=armv6m" rather than throw an error.