Run a C program bare metal on an ARM Cortex M3

By ingve - 17 hours ago

Showing first level comment(s)

Nice, there aren't really that many guides on bare-metal programming. In general the difficult part is finding the Memory Maps across all the data-sheets and programming manuals. ARMs being SOC's these might change across development boards.

Super appreciate this article, might dust off my of Pandaboard again :)

filereaper - 11 hours ago

I'm just getting started with STM32 and this was very informative. I especially liked that you chose a minimal example and walked through the tool chain in detail. It's important to be able to read the compiler output for debugging and optimization and this presented it well. Thanks!

However, why not mention or explain the widely available and extremely affordable ST-link2 or the ST Discovery boards? I suspect that for people just getting started with STM32 these would be more common.

davidgould - 14 hours ago

This is excellent tutorial! I wonder if there is similar tutorials for C++11. It would be great to see more information what to do and don't if you want to run your code on bare metal.

sytelus - 14 hours ago