summaryrefslogtreecommitdiffstatshomepage
path: root/examples/usercmodule/cppexample/example.cpp
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2021-03-12 21:03:03 +1100
committerDamien George <damien@micropython.org>2021-03-19 14:20:26 +1100
commit4fc2866f45692b05829d71b636724e690b786307 (patch)
tree4afa6386e08d42835d5d33df2444d57f54b42dda /examples/usercmodule/cppexample/example.cpp
parent42cf77f48bcb24b0515b4ce604736f10267d87bd (diff)
downloadmicropython-4fc2866f45692b05829d71b636724e690b786307.tar.gz
micropython-4fc2866f45692b05829d71b636724e690b786307.zip
bare-arm: Clean up the code, make it run on an F405, and add a README.
This commit simplifies and cleans up the bare-arm port, and adds just enough system and library code to make it execute on an STM32F405 MCU. The mpconfigport.h configuration is simplified to just specify those configuration values that are different from the defaults. And the addition of -fdata-sections and -ffunction-sections means the final firmware is smaller than it previously was, by about 4200 bytes. A README is also added. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'examples/usercmodule/cppexample/example.cpp')
0 files changed, 0 insertions, 0 deletions