altos: Reduce flash temp buffer to make space for Em v1.0 ISR stack
authorKeith Packard <keithp@keithp.com>
Thu, 2 Jul 2020 22:11:42 +0000 (15:11 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 2 Jul 2020 22:11:42 +0000 (15:11 -0700)
EasyMini has limited RAM; small enough that increasing the size of the
storage buffer from 128 to 256 bytes left too little space at the top
of memory for the interrupt stack, causing EasyMini v1.0 to crash at
boot.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao_storage.c

index 73b31c6420005cc7ee75d65a19c5e1b0e6302842..b649e818758efbe27c9460e0d143e2609aba3012 100644 (file)
@@ -19,7 +19,7 @@
 #include <ao.h>
 #include <ao_storage.h>
 
-#define AO_STORAGE_DATA_SIZE   256
+#define AO_STORAGE_DATA_SIZE   128
 
 static uint8_t storage_data[AO_STORAGE_DATA_SIZE];