We have sensor data coming at regular interval of 40B at 10msec interval. We need to collect it for a minimum of 10 sec before we can process it and then reuse the same buffer/memory location to write new set of data.
50% of flash and ram is already being used by code itself.
What's the best way to store this?