Hello everyone. I used “STM32CubeMx” yesterday to generate the project with the “RT-Thread” code, then I put it into “PlatFormio” to compile, but there was always a problem. I didn’t solve the problem yesterday.
I don’t know if you have used this “RT-Thread” real-time system. Can you help me solve it?
I deleted “rtconfig.h” in “bsp” and changed “rtconfig.h” in “include”,But my stm32F429 project now has this problem. I suspect that GCC does not support certain instructions.
Hm seems to have need a different float ABI. Does it work now?
If not maybe use only the original bsp/rtconfig.h with added RT_USING_NEWLIB etc. The STM32Cube generated configuration may be in that file not in include/rtconfig.h.
What’s your exact board? A Bluepill board? And you connected the ST-Linkv2 to the SWD, SWDIO, VCC and GND pins correctly? Maybe also try to connect the NRST signal of the ST-Link to the MCU?
Is a different programm accessing the device? (close all unrelated programs.) Does pressing RESET on the board before or during upload help? Does holding down the BOOT0 button and then reset button press help?