Initial support for XIAO RP2040

This commit is contained in:
Daniel Esteban
2022-07-02 11:24:33 +02:00
committed by Ron Evans
parent 2fa24ef752
commit b112477e95
5 changed files with 104 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
{
"inherits": [
"rp2040"
],
"serial": "uart",
"build-tags": ["xiao_rp2040"],
"linkerscript": "targets/xiao-rp2040.ld",
"extra-files": [
"targets/pico-boot-stage2.S"
]
}
+10
View File
@@ -0,0 +1,10 @@
MEMORY
{
/* Reserve exactly 256 bytes at start of flash for second stage bootloader */
BOOT2_TEXT (rx) : ORIGIN = 0x10000000, LENGTH = 256
FLASH_TEXT (rx) : ORIGIN = 0x10000000 + 256, LENGTH = 1020K - 256
RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 256k
}
INCLUDE "targets/rp2040.ld"