only 50% of program gets compiled!!!!

Post here all questions related to STM32 core if you can't find a relevant section!
ozcar
Posts: 143
Joined: Wed Apr 29, 2020 9:07 pm
Answers: 5

Re: only 50% of program gets compiled!!!!

Post by ozcar »

I'm a bit confused as to how you know only 50% of your code got compiled.

Maybe the "Sketch uses xxxxx bytes" message shows only half the size you expect it to be?

Or you looked at the link map?

Something else besides the program only works partially?

As for suggested causes, if I deliberately try to compile something which is too big for the selected board, the link fails with a message saying that it will not fit in flash.

I did not try to see what happens, but if a board with more flash than is actually present is selected in the IDE, can the upload of a too large program really complete without error? If so, would it still show no problem if "Verify code after upload" is set in the IDE preferences?
Post Reply

Return to “General discussion”