2022-11-14 11:01 PM
make -j12 all
arm-none-eabi-size f051_ll_bi_dir.elf
text data bss dec hex filename
96 22 1568 1686 696 f051_ll_bi_dir.elf
Finished building: default.size.stdout
2022-11-29 06:28 AM
On Windows and Linux minimum size of a file it displays may be 1 KB just check the minimum file size . what you are generated is 696 but windows or linux cannot show in bytes so it shows minimum size as 1 kb
2022-11-29 10:54 AM
Some of what @ck.1 said about actual file size vs. "reported in windows explorer" size.
That said, the BSS section is all the data that is "initialized to zero" during the startup code. It it not stored in the HEX file. The only things you should see in the hex (or bin) files are the "txt" and "data" sections - well, actually a copy of the data section, which gets copied from FLASH into RAM during startup.
This means that your hex file should contain data for (96+22) bytes of FLASH. Is that what you are seeing?
2022-11-30 05:38 AM
It doesn't seem to be building completely.
So perhaps re-read the build instructions, review what is happening in the build.
This isn't a ST driven project, and the page, if this is it, does indicate where support might be found.
https://github.com/AlkaMotors/AM32-MultiRotor-ESC-firmware