Problems with VSCode (windows), Blinky app on STM32F769 Discovery

I’ve been trying to get the blinky test app building and flashing on the STM32F769 Discovery board using VS Code on windows. During build I’m consistently getting an error:

“Compile: trng_api.c”
“Compile: us_ticker.c”
“Compile: watchdog_api.c”
make[1]: *** [/mbed-os-example-blinky/Makefile:1901: mbed-os-example-blinky.elf] Error -1073741819

The hex version of the error is C0000005 which is an access violation on Windows. I was able to get apps building using the online compiler and mbed studio. Does anyone have suggestions?


Last I’ve seen the exporter options are mostly broken, and you better resort to building with Mbed CLI. I’ve put this together to generate a fully functioning vscode project with intellisense, compiling with Mbed CLI and debugging:

1 Like

@janjongboom thank you for the response, this is great!

Additionally, for anyone encountering the same issue I found this tutorial useful. The issue i was seeing was #19 from the article…caused by a command that was too long during linking.

1 Like