Adafruit Grand Central M4 (#14749)
This commit is contained in:
committed by
Scott Lahteine
parent
fec52e61ea
commit
290466578f
@ -129,6 +129,17 @@
|
||||
#define END_FLASH_ADDR 0x00140000
|
||||
#endif
|
||||
|
||||
#ifdef __SAMD51P20A__
|
||||
// For SAMD51x20, valid address ranges are
|
||||
// SRAM (0x20000000 - 0x20040000) (256kb)
|
||||
// FLASH (0x00000000 - 0x00100000) (1024kb)
|
||||
//
|
||||
#define START_SRAM_ADDR 0x20000000
|
||||
#define END_SRAM_ADDR 0x20040000
|
||||
#define START_FLASH_ADDR 0x00000000
|
||||
#define END_FLASH_ADDR 0x00100000
|
||||
#endif
|
||||
|
||||
static bool validate_addr(uint32_t addr) {
|
||||
|
||||
// Address must be in SRAM range
|
||||
|
Reference in New Issue
Block a user