This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

.bss section

Please let me know whether the size of .bss section should be included in ROM size or in RAM size ?

In other words :
where does the .bss section lay?
In ROM or in RAM?

Thanks in advance

Parents
  • "Keil (and any decent embedded compiler) will also let you declare constants that remain in ROM, without being copied to RAM. See the code keyword in the discussion of memory spaces in the manual."

    Indeed, and you can locate them at a specific address using the _at_ keyword. If you do this, however, Keil does not allow you to initialise them rendering them somewhat useless.

    Stefan

Reply
  • "Keil (and any decent embedded compiler) will also let you declare constants that remain in ROM, without being copied to RAM. See the code keyword in the discussion of memory spaces in the manual."

    Indeed, and you can locate them at a specific address using the _at_ keyword. If you do this, however, Keil does not allow you to initialise them rendering them somewhat useless.

    Stefan

Children
No data