robert-hh
2 years ago
committed by
Damien George
5 changed files with 95 additions and 0 deletions
@ -0,0 +1,21 @@ |
|||||
|
{ |
||||
|
"deploy": [ |
||||
|
"../deploy.md" |
||||
|
], |
||||
|
"docs": "", |
||||
|
"features": [ |
||||
|
"Battery Charging", |
||||
|
"Breadboard Friendly", |
||||
|
"Micro USB", |
||||
|
"QWIIC", |
||||
|
"SPI Flash" |
||||
|
], |
||||
|
"images": [ |
||||
|
"sparkfun_samd51_thing_plus.jpg" |
||||
|
], |
||||
|
"mcu": "samd51", |
||||
|
"product": "Sparkfun SAMD51 Thing Plus", |
||||
|
"thumbnail": "", |
||||
|
"url": "https://www.sparkfun.com/products/14713", |
||||
|
"vendor": "Sparkfun" |
||||
|
} |
@ -0,0 +1,4 @@ |
|||||
|
#define MICROPY_HW_BOARD_NAME "Sparkfun SAMD51 Thing Plus" |
||||
|
#define MICROPY_HW_MCU_NAME "SAMD51J20A" |
||||
|
|
||||
|
#define MICROPY_HW_XOSC32K (1) |
@ -0,0 +1,8 @@ |
|||||
|
MCU_SERIES = SAMD51 |
||||
|
CMSIS_MCU = SAMD51J20A |
||||
|
LD_FILES = boards/samd51x20a.ld sections.ld |
||||
|
TEXT0 = 0x4000 |
||||
|
|
||||
|
# The ?='s allow overriding in mpconfigboard.mk.
|
||||
|
# MicroPython settings
|
||||
|
MICROPY_VFS_LFS1 ?= 1 |
Can't render this file because it has a wrong number of fields in line 4.
|
@ -0,0 +1,20 @@ |
|||||
|
/* |
||||
|
GNU linker script for SAMD51x20 |
||||
|
*/ |
||||
|
|
||||
|
/* Specify the memory areas */ |
||||
|
MEMORY |
||||
|
{ |
||||
|
FLASH (rx) : ORIGIN = 0x00004000, LENGTH = 1024K - 16K |
||||
|
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 256K |
||||
|
} |
||||
|
|
||||
|
/* Top end of the stack, with room for double-tap variable */ |
||||
|
_estack = ORIGIN(RAM) + LENGTH(RAM) - 8; |
||||
|
_sstack = _estack - 16K; |
||||
|
|
||||
|
_oflash_fs = ORIGIN(FLASH) + 384K - 16K; |
||||
|
_sflash_fs = LENGTH(FLASH) - 384K + 16K - 1; |
||||
|
|
||||
|
_sheap = _ebss; |
||||
|
_eheap = _sstack; |
Loading…
Reference in new issue