xmos / xcore_iot

Other
30 stars 40 forks source link

Reduce mic array driver memory footprint #511

Closed xmos-jmccarthy closed 2 years ago

xmos-jmccarthy commented 2 years ago

By moving the mic array driver ISR buffer from ISR stack to state context, up to (configNUM_CORES -1) * MIC_ARRAY_CONFIG_SAMPLES_PER_FRAME * MIC_ARRAY_CONFIG_MIC_COUNT * 4 bytes worth of memory is saved.