Is it possible to use VERY LARGE const char (or int) arrays (much larger than the RAM size) WITHOUT uploading them to RAM? How must I define them?
[ATMega168 WinAVR] Huge const arrays and RAM size
Author
Message
Where do you expect the array to be stored then? Define VERY LARGE.
I expect it to be stored in the flash memory. It will be about 4..6 K bytes.
Level: Moderator
Joined: Wed. Mar 28, 2001
Posts: 29089 View posts
Location: Sydney, Australia (Gum trees, Koalas and Kangaroos, No Edelweiss)
Quote:
So why are you not storing them there? Have you looked at progmem tutorial in the tutorial forum? I expect it to be stored in the flash memory.
Quote:
GCC and the PROGMEM Attribute
Thank you very much, it's exactly what I need.