Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


You are viewing a reply to Code size  

Code size

Hi,

I’ve tried this command & arm-none-eabi-size --format=sysv “${BuildArtifactFileName}” and it works well.
But I do not know how to use all informations in order to determine the percentage of memory usage of the ROM and the RAM of the microcontroller (64 KB Flash memory with ECC, 8KB RAM, 2 KB of data EEPROM with ECC).
Can you please help me ?

section size addr
.isr_vector 392 134217728
.text 7268 134218120
.rodata 372 134225388
.ARM.extab 0 134225760
.ARM 8 134225760
.preinit_array 0 134225768
.init_array 8 134225768
.fini_array 4 134225776
.data 1088 536870912
.bss 272 536872000
._user_heap_stack 1024 536872272
.ARM.attributes 40 0
.debug_info 22755 0
.debug_abbrev 4560 0
.debug_loc 11480 0
.debug_aranges 1512 0
.debug_ranges 1376 0
.debug_macro 97312 0
.debug_line 34004 0
.debug_str 616363 0
.comment 110 0
.debug_frame 3804 0
Total 803752