2022-07-02 12:12:55 -04:00
|
|
|
#define MICROPY_HW_BOARD_NAME "Sparkfun SAMD51 Thing Plus"
|
|
|
|
#define MICROPY_HW_MCU_NAME "SAMD51J20A"
|
|
|
|
|
|
|
|
#define MICROPY_HW_XOSC32K (1)
|
2022-08-11 05:22:58 -04:00
|
|
|
|
|
|
|
// There seems to be an inconsistency in the SAMD51 Thing bootloader in that
|
|
|
|
// the bootloader magic address is at the end of a 192k RAM area, instead of
|
|
|
|
// 256k. Since the SAMD51x20A has 256k RAM, the loader symbol is at that address
|
|
|
|
// and so there is a fix here using the previous definition.
|
|
|
|
#define DBL_TAP_ADDR_ALT ((volatile uint32_t *)(HSRAM_ADDR + HSRAM_SIZE - 0x10000 - 4))
|
2023-05-24 10:16:40 -04:00
|
|
|
|
|
|
|
// Enabling both two lines below will set the boot file system to
|
|
|
|
// the board's external flash.
|
|
|
|
#define MICROPY_HW_SPIFLASH (1)
|
|
|
|
#define MICROPY_HW_SPIFLASH_ID (0)
|