Author Topic: Atmel Studio compilation stats  (Read 2003 times)

0 Members and 1 Guest are viewing this topic.

Offline dan3460Topic starter

  • Frequent Contributor
  • **
  • Posts: 326
  • Country: us
Atmel Studio compilation stats
« on: January 07, 2017, 01:32:40 am »
I have a quick question abut Atmel Studio 7. When building a solution there are some stats shown in the middle of the output window such as this:
Code: [Select]
   text    data     bss     dec     hex filename
   5626     178      31    5835    16cb CurrentSensor.elf
Done executing task "RunCompilerTask".
Using "RunOutputFileVerifyTask" task from assembly "C:\Program Files (x86)\Atmel\Studio\7.0\Extensions\Application\AvrGCC.dll".
Task "RunOutputFileVerifyTask"
Program Memory Usage : 5804 bytes   17.7 % Full
Data Memory Usage : 209 bytes   10.2 % Full
Done executing task "RunOutputFileVerifyTask"
The program memory usage and the data memory usage relate to the space on the chip that I'm working on?
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11248
  • Country: us
    • Personal site
Re: Atmel Studio compilation stats
« Reply #1 on: January 07, 2017, 01:49:08 am »
Yes. This is a standard output of the avr-size command.

Note that depending on your linker script, data memory does not include stack, so you can't go up to 100%.
Alex
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf