Not applicable
Jan 16, 2016
07:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 16, 2016
07:26 AM
In DAVE 3 and DAVE 4, when you compile your code, in the console window, you can find out the program and variable size.
Here’s an example from the console window:
"C:\DAVEv4\DAVE-4.1.4\eclipse\ARM-GCC-49/bin/arm-none-eabi-size" --format=berkeley "XMC13_EXAMPLE.elf"
text data bss dec hex filename
9193 132 1116 10441 28c9 XMC13_EXAMPLE.elf
‘text’ is what ends up in FLASH memory
‘data’ is used for initialized data
‘bss’ contains all the uninitalized data
'dec' is the total program and data size in decimal value
'hex' is the total program and data size in hexadecimal value
Here’s an example from the console window:
"C:\DAVEv4\DAVE-4.1.4\eclipse\ARM-GCC-49/bin/arm-none-eabi-size" --format=berkeley "XMC13_EXAMPLE.elf"
text data bss dec hex filename
9193 132 1116 10441 28c9 XMC13_EXAMPLE.elf
‘text’ is what ends up in FLASH memory
‘data’ is used for initialized data
‘bss’ contains all the uninitalized data
'dec' is the total program and data size in decimal value
'hex' is the total program and data size in hexadecimal value
- Tags:
- IFX
1 Reply
Aug 19, 2021
09:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 19, 2021
09:05 AM
Does 'text' include the initialization data for 'data'?
Do you need to add 'data' & 'bss' to get basic RAM usage?
Do you need to add 'data' & 'bss' to get basic RAM usage?