Johnny,
I come back to you concerning the compilation, I found that I must add the file “mbed_app.json” as in the example “mbed-os-example-blinky-baremetal-5” in order not to use RTOS and thus not to exceed the RAM and or Flash memory.
Here is the file:
{
"requires": ["bare-metal"],
"target_overrides": {
"*": {
"target.c_lib": "small",
"target.printf_lib": "minimal-printf",
"platform.minimal-printf-enable-floating-point": false
}
}
}
For the needs of my project I use a Bootloader on the USB port of the KL25Z and I must therefore shift the flash memory start of the program so that it starts.
I have created a second post for this that describes my problem:
https://forums.mbed.com/t/how-to-shift-the-flash-memory-on-kl25z/17892
Thank you in advance for your help, I can’t find a solution to this problem.
Sincerely, Antoine