Cleanup use of scratch rom for SPI flashing, prepare to implement no-reset flashing process

This commit is contained in:
Jeremy Soller
2020-02-27 13:21:04 -07:00
parent 14bb3af80b
commit a24f9ed3ae
6 changed files with 182 additions and 152 deletions

View File

@ -8,6 +8,7 @@ uint8_t __code __at(SCRATCH_OFFSET) scratch_rom[] = {
#include <scratch.h>
};
// SCAR0 is stored in processor cache, not in xram
volatile uint8_t __xdata __at(0x1040) SCAR0L;
volatile uint8_t __xdata __at(0x1041) SCAR0M;
volatile uint8_t __xdata __at(0x1042) SCAR0H;