Adafruit PyPortal Support (#800)

* machine/PyPortal: implementation, also includes refinements for other members of samd51x familty.
This commit is contained in:
BCG
2020-01-06 05:53:43 -05:00
committed by Ron Evans
parent 7363bdc298
commit ecff6f8e0c
10 changed files with 387 additions and 47 deletions
+13
View File
@@ -0,0 +1,13 @@
{
"inherits": ["cortex-m"],
"llvm-target": "armv7em-none-eabi",
"build-tags": ["sam", "atsamd51", "atsamd51j20", "atsamd51j20a"],
"cflags": [
"--target=armv7em-none-eabi",
"-Qunused-arguments"
],
"linkerscript": "targets/atsamd51.ld",
"extra-files": [
"src/device/sam/atsamd51j20a.s"
]
}
+8
View File
@@ -0,0 +1,8 @@
{
"inherits": ["atsamd51j20a"],
"build-tags": ["pyportal"],
"flash-1200-bps-reset": "true",
"flash-method": "msd",
"msd-volume-name": "PORTALBOOT",
"msd-firmware-name": "firmware.uf2"
}