Adding support for waveshare rp2040-zero (#3321)

machine: adding support for waveshare rp2040-zero
This commit is contained in:
Jesús Espino
2022-12-19 12:15:03 +01:00
committed by GitHub
parent c5c6464175
commit d304e6706b
4 changed files with 151 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
{
"inherits": [
"rp2040"
],
"serial-port": ["2e8a:0003"],
"build-tags": ["waveshare_rp2040_zero"],
"linkerscript": "targets/waveshare-rp2040-zero.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"