- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How can I tell how large my program is? I'm afraid that my EEPROM may be too small.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The code size is printed out at the end of the build process in the eclipse console window.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The size of the ELF file is listed at the bottom of the Eclipse window. I need the IMG in order to size the EEPROM.
If the size at the bottom of the Eclipse window after a build, then the EEPROM on the FX3 development board is not big enough to hold any of the Cypress sample code I've built. All the sample code should fit, right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
the size which is printed by utility arm-none-eabi-size is only the section sizes of the .elf-file, means text-, data- and bss-section. This is the same size the .img-file (which contains only these sections) has plus some header- and length-information bytes which are special to the .img-format!
Regards,
Robert