2025-05-21 12:22 AM
Hi everyone,
in my project i have a define that is used to change the "version" of the project.
the define is always used on one byte, for example #define VER 0x36, if I change it to 0x37 I see only 20 differences in the .bin (only where is used), but when I write 0x40 I find more than 800 differences. in those 800 differences I also find changes in the startup.
Has this ever happened to anyone? Do you have any suggestions?
Thanks in advance!
2025-05-21 12:34 AM
No, tuhis behavioour is code related. To detect the problem use STM32CubeIde:
Use SEARCH( ctrl+h) with VER as search item and flag single word - you will see where it is used and how it is used.
Than, I suggest you spend some time with a dozen of the nice tutorials you can find on youtube ...
2025-05-21 12:42 AM
@DanieleCattaneo wrote:Has this ever happened to anyone?
Of course it's possible!
If the define is used in 800 places, then changing it will affect 800 places!