avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-chat] avr-size .bss bigger than RAM?


From: Stuart Longland
Subject: [avr-chat] avr-size .bss bigger than RAM?
Date: Tue, 25 Jul 2017 19:24:40 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0

Hi all,

Just a curiosity I noticed with some code I was toying with tonight,
compiled for an ATTiny861:

> $ avr-size bin/attiny861/synth
>    text          data     bss     dec     hex filename
>    3216             6     535    3757     ead bin/attiny861/synth

The code is at http://github.com/sjlongland/atinysynth/ -- build with
`make PORT=attiny861`.

The code runs fine, as can be seen demonstrated in the video on this page:

https://hackaday.io/project/24932/log/63089-building-synth-2

If I am reading the output from size correctly, then .bss is overflowing
SRAM by about 23 bytes.  How does that work?  Or am I misreading the
information?
-- 
Stuart Longland (aka Redhatter, VK4MSL)

I haven't lost my mind...
  ...it's backed up on a tape somewhere.

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]