Open smaug-g opened 6 years ago
depending on your board type, put this into your platformio.ini file:
build_flags = -Wl,-Tlm4fcpp_blizzard.ld
check out the JSON files to figure out which one you should use:
https://github.com/platformio/platform-titiva/tree/develop/boards
See thread: thread
This goes over my head, but when building, the compiler seems to be using the incorrect linker script. According to the board file, it should use
but in reality it uses:
The issue is that
libopencm3_lm4f.ld
does not define memory regions. The compiler will build and upload the code, but the processor will go into a blocking handler and sit in a while(1) loop.I fixed the issue by defining the memory regions in
libopencm3_lm4f.ld
.I was told by PlatformIO's maxgerhardt to open an issue here.