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

complex code arrays

Hello,

could you please clarify one fact for me.

I am writing a memory sensitive program and need a complex but static constant array. Therefore I was considering this approach to save some space in memory pool.

If I declare something like:

#define a
#define b
#define c 2
#define NUMBER 666
code unsigned array[a][b][c] { {{<function pointer>, NUMBER}}, {}}

Will this be stored in the ROM?

Thanks!
G.

Parents Reply Children
No data