The Cortex processor of the Teensy3 is a 32 bit processor and I assumed that the SRAM was also 32 bit. The issue I have is that I am declaring an array:
int32_t FilteredDataArray[1000];
When I do this, the "Estimated memory use:" is 13,528 bytes.
If I declare the array as int8_t the memory use is 10,528.
I assume from this that the compiler is treating the ram as 8 bit. Can anyone confirm this and is there a fix, assuming that the ram is, in fact, 32 bit.
Thanks,
Doug
int32_t FilteredDataArray[1000];
When I do this, the "Estimated memory use:" is 13,528 bytes.
If I declare the array as int8_t the memory use is 10,528.
I assume from this that the compiler is treating the ram as 8 bit. Can anyone confirm this and is there a fix, assuming that the ram is, in fact, 32 bit.
Thanks,
Doug