Hello all. My first post as I am pulling my hair out, and not much left!
I am wanting to initialize a structure and store in ROM to save RAM resource. I’ve been trying different methods to accomplish this, but am not understanding the secret sauce.
I’ve attempted the following (and similar) as documented within C with no luck.
The “temp” structure has 522 tlate elements "union"ed with 2610 “stream” elements. I don’t want multiple elements of the structure itself, I want to init the 522 tlate elements or I suppose the 2610 stream elements to known values. I did not see that distinction at first.
Once I remove the “figure out the size” portion of the definition, I now get “too many initializers for Const D12_t”
The previous attempt uses what I thought was standard “C” syntax, however the Particle environment does not seem to like this and I need to figure out a solution. I supposes I could make this just a byte stream array and play games with casting to INT, but that seems lame to me.