The Compiler question

I have a question about the compiler. I wrote the program for STM32F103C8T6 on PlatFromIO, compiled and passed, but it can’t run normally. The same program can be put into KEIL and it can run normally. I don’t know why this is.

Without seeing the code, the expected and actual behaviour it’s impossible to know what’s going on. PIO uses GCC as the compiler, not KEIL’s “ARM compiler 6” (here).


Thank you for your answer. you’re right. I checked the code and found that I have a line of comments not removed:rofl::rofl::rofl::rofl:

1 Like