Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-pico
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-pico
Commits
eff90838
Unverified
Commit
eff90838
authored
Apr 16, 2022
by
Earle F. Philhower, III
Committed by
GitHub
Apr 16, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Seeed XAIO RP2040 support (#538)
Fixes #537
parent
784a6ed5
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
434 additions
and
0 deletions
+434
-0
README.md
README.md
+1
-0
boards.txt
boards.txt
+379
-0
package/package_pico_index.template.json
package/package_pico_index.template.json
+3
-0
tools/makeboards.py
tools/makeboards.py
+3
-0
variants/seeed_xiao_rp2040/pins_arduino.h
variants/seeed_xiao_rp2040/pins_arduino.h
+48
-0
No files found.
README.md
View file @
eff90838
...
...
@@ -29,6 +29,7 @@ See https://arduino-pico.readthedocs.io/en/latest/ along with the examples for m
*
Invector Labs Challenger RP2040 LoRa
*
Invector Labs RPICO32
*
Melopero Shake RP2040
*
Seeed XIAO RP2040
*
Solder Party RP2040 Stamp
*
SparkFun ProMicro RP2040
*
uPesy RP2040 DevKit
...
...
boards.txt
View file @
eff90838
...
...
@@ -10546,6 +10546,385 @@ upesy_rp2040_devkitpicodebug.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
upesy_rp2040_devkitpicodebug.menu.usbstack.nousb=No USB
upesy_rp2040_devkitpicodebug.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico"
# -----------------------------------
# Seeed XAIO RP2040
# -----------------------------------
seeed_xiao_rp2040.name=Seeed XAIO RP2040
seeed_xiao_rp2040.vid.0=0x2e8a
seeed_xiao_rp2040.pid.0=0x000a
seeed_xiao_rp2040.build.usbpid=-DSERIALUSB_PID=0x000a
seeed_xiao_rp2040.build.usbpwr=-DUSBD_MAX_POWER_MA=250
seeed_xiao_rp2040.build.board=SEEED_XAIO_RP2040
seeed_xiao_rp2040.build.mcu=cortex-m0plus
seeed_xiao_rp2040.build.variant=seeed_xiao_rp2040
seeed_xiao_rp2040.upload.tool=uf2conv
seeed_xiao_rp2040.upload.maximum_size=2097152
seeed_xiao_rp2040.upload.maximum_data_size=262144
seeed_xiao_rp2040.upload.wait_for_upload_port=true
seeed_xiao_rp2040.upload.erase_cmd=
seeed_xiao_rp2040.serial.disableDTR=false
seeed_xiao_rp2040.serial.disableRTS=false
seeed_xiao_rp2040.build.f_cpu=125000000
seeed_xiao_rp2040.build.led=
seeed_xiao_rp2040.build.core=rp2040
seeed_xiao_rp2040.build.ldscript=memmap_default.ld
seeed_xiao_rp2040.build.ram_length=256k
seeed_xiao_rp2040.build.boot2=boot2_w25q080_2_padded_checksum
seeed_xiao_rp2040.build.vid=0x2e8a
seeed_xiao_rp2040.build.pid=0x000a
seeed_xiao_rp2040.build.usb_manufacturer="Seeed"
seeed_xiao_rp2040.build.usb_product="XAIO RP2040"
seeed_xiao_rp2040.menu.flash.2097152_0=2MB (no FS)
seeed_xiao_rp2040.menu.flash.2097152_0.upload.maximum_size=2093056
seeed_xiao_rp2040.menu.flash.2097152_0.build.flash_length=2093056
seeed_xiao_rp2040.menu.flash.2097152_0.build.eeprom_start=270528512
seeed_xiao_rp2040.menu.flash.2097152_0.build.fs_start=270528512
seeed_xiao_rp2040.menu.flash.2097152_0.build.fs_end=270528512
seeed_xiao_rp2040.menu.flash.2097152_65536=2MB (Sketch: 1984KB, FS: 64KB)
seeed_xiao_rp2040.menu.flash.2097152_65536.upload.maximum_size=2027520
seeed_xiao_rp2040.menu.flash.2097152_65536.build.flash_length=2027520
seeed_xiao_rp2040.menu.flash.2097152_65536.build.eeprom_start=270528512
seeed_xiao_rp2040.menu.flash.2097152_65536.build.fs_start=270462976
seeed_xiao_rp2040.menu.flash.2097152_65536.build.fs_end=270528512
seeed_xiao_rp2040.menu.flash.2097152_131072=2MB (Sketch: 1920KB, FS: 128KB)
seeed_xiao_rp2040.menu.flash.2097152_131072.upload.maximum_size=1961984
seeed_xiao_rp2040.menu.flash.2097152_131072.build.flash_length=1961984
seeed_xiao_rp2040.menu.flash.2097152_131072.build.eeprom_start=270528512
seeed_xiao_rp2040.menu.flash.2097152_131072.build.fs_start=270397440
seeed_xiao_rp2040.menu.flash.2097152_131072.build.fs_end=270528512
seeed_xiao_rp2040.menu.flash.2097152_262144=2MB (Sketch: 1792KB, FS: 256KB)
seeed_xiao_rp2040.menu.flash.2097152_262144.upload.maximum_size=1830912
seeed_xiao_rp2040.menu.flash.2097152_262144.build.flash_length=1830912
seeed_xiao_rp2040.menu.flash.2097152_262144.build.eeprom_start=270528512
seeed_xiao_rp2040.menu.flash.2097152_262144.build.fs_start=270266368
seeed_xiao_rp2040.menu.flash.2097152_262144.build.fs_end=270528512
seeed_xiao_rp2040.menu.flash.2097152_524288=2MB (Sketch: 1536KB, FS: 512KB)
seeed_xiao_rp2040.menu.flash.2097152_524288.upload.maximum_size=1568768
seeed_xiao_rp2040.menu.flash.2097152_524288.build.flash_length=1568768
seeed_xiao_rp2040.menu.flash.2097152_524288.build.eeprom_start=270528512
seeed_xiao_rp2040.menu.flash.2097152_524288.build.fs_start=270004224
seeed_xiao_rp2040.menu.flash.2097152_524288.build.fs_end=270528512
seeed_xiao_rp2040.menu.flash.2097152_1048576=2MB (Sketch: 1MB, FS: 1MB)
seeed_xiao_rp2040.menu.flash.2097152_1048576.upload.maximum_size=1044480
seeed_xiao_rp2040.menu.flash.2097152_1048576.build.flash_length=1044480
seeed_xiao_rp2040.menu.flash.2097152_1048576.build.eeprom_start=270528512
seeed_xiao_rp2040.menu.flash.2097152_1048576.build.fs_start=269479936
seeed_xiao_rp2040.menu.flash.2097152_1048576.build.fs_end=270528512
seeed_xiao_rp2040.menu.freq.125=125 MHz
seeed_xiao_rp2040.menu.freq.125.build.f_cpu=125000000L
seeed_xiao_rp2040.menu.freq.50=50 MHz
seeed_xiao_rp2040.menu.freq.50.build.f_cpu=50000000L
seeed_xiao_rp2040.menu.freq.100=100 MHz
seeed_xiao_rp2040.menu.freq.100.build.f_cpu=100000000L
seeed_xiao_rp2040.menu.freq.133=133 MHz
seeed_xiao_rp2040.menu.freq.133.build.f_cpu=133000000L
seeed_xiao_rp2040.menu.freq.150=150 MHz (Overclock)
seeed_xiao_rp2040.menu.freq.150.build.f_cpu=150000000L
seeed_xiao_rp2040.menu.freq.175=175 MHz (Overclock)
seeed_xiao_rp2040.menu.freq.175.build.f_cpu=175000000L
seeed_xiao_rp2040.menu.freq.200=200 MHz (Overclock)
seeed_xiao_rp2040.menu.freq.200.build.f_cpu=200000000L
seeed_xiao_rp2040.menu.freq.225=225 MHz (Overclock)
seeed_xiao_rp2040.menu.freq.225.build.f_cpu=225000000L
seeed_xiao_rp2040.menu.freq.250=250 MHz (Overclock)
seeed_xiao_rp2040.menu.freq.250.build.f_cpu=250000000L
seeed_xiao_rp2040.menu.freq.275=275 MHz (Overclock)
seeed_xiao_rp2040.menu.freq.275.build.f_cpu=275000000L
seeed_xiao_rp2040.menu.freq.300=300 MHz (Overclock)
seeed_xiao_rp2040.menu.freq.300.build.f_cpu=300000000L
seeed_xiao_rp2040.menu.opt.Small=Small (-Os) (standard)
seeed_xiao_rp2040.menu.opt.Small.build.flags.optimize=-Os
seeed_xiao_rp2040.menu.opt.Optimize=Optimize (-O)
seeed_xiao_rp2040.menu.opt.Optimize.build.flags.optimize=-O
seeed_xiao_rp2040.menu.opt.Optimize2=Optimize More (-O2)
seeed_xiao_rp2040.menu.opt.Optimize2.build.flags.optimize=-O2
seeed_xiao_rp2040.menu.opt.Optimize3=Optimize Even More (-O3)
seeed_xiao_rp2040.menu.opt.Optimize3.build.flags.optimize=-O3
seeed_xiao_rp2040.menu.opt.Fast=Fast (-Ofast) (maybe slower)
seeed_xiao_rp2040.menu.opt.Fast.build.flags.optimize=-Ofast
seeed_xiao_rp2040.menu.opt.Debug=Debug (-Og)
seeed_xiao_rp2040.menu.opt.Debug.build.flags.optimize=-Og
seeed_xiao_rp2040.menu.rtti.Disabled=Disabled
seeed_xiao_rp2040.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
seeed_xiao_rp2040.menu.rtti.Enabled=Enabled
seeed_xiao_rp2040.menu.rtti.Enabled.build.flags.rtti=
seeed_xiao_rp2040.menu.dbgport.Disabled=Disabled
seeed_xiao_rp2040.menu.dbgport.Disabled.build.debug_port=
seeed_xiao_rp2040.menu.dbgport.Serial=Serial
seeed_xiao_rp2040.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial
seeed_xiao_rp2040.menu.dbgport.Serial1=Serial1
seeed_xiao_rp2040.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1
seeed_xiao_rp2040.menu.dbgport.Serial2=Serial2
seeed_xiao_rp2040.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2
seeed_xiao_rp2040.menu.dbglvl.None=None
seeed_xiao_rp2040.menu.dbglvl.None.build.debug_level=
seeed_xiao_rp2040.menu.dbglvl.Core=Core
seeed_xiao_rp2040.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE
seeed_xiao_rp2040.menu.dbglvl.SPI=SPI
seeed_xiao_rp2040.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI
seeed_xiao_rp2040.menu.dbglvl.Wire=Wire
seeed_xiao_rp2040.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE
seeed_xiao_rp2040.menu.dbglvl.All=All
seeed_xiao_rp2040.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE
seeed_xiao_rp2040.menu.dbglvl.NDEBUG=NDEBUG
seeed_xiao_rp2040.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
seeed_xiao_rp2040.menu.usbstack.picosdk=Pico SDK
seeed_xiao_rp2040.menu.usbstack.picosdk.build.usbstack_flags="-I{runtime.platform.path}/tools/libpico"
seeed_xiao_rp2040.menu.usbstack.tinyusb=Adafruit TinyUSB
seeed_xiao_rp2040.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino"
# -----------------------------------
# Seeed XAIO RP2040 (Picoprobe)
# -----------------------------------
seeed_xiao_rp2040picoprobe.name=Seeed XAIO RP2040 (Picoprobe)
seeed_xiao_rp2040picoprobe.vid.0=0x2e8a
seeed_xiao_rp2040picoprobe.pid.0=0x0004
seeed_xiao_rp2040picoprobe.build.usbpid=-DSERIALUSB_PID=0x000a
seeed_xiao_rp2040picoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=250
seeed_xiao_rp2040picoprobe.build.board=SEEED_XAIO_RP2040
seeed_xiao_rp2040picoprobe.build.mcu=cortex-m0plus
seeed_xiao_rp2040picoprobe.build.variant=seeed_xiao_rp2040
seeed_xiao_rp2040picoprobe.upload.tool=picoprobe
seeed_xiao_rp2040picoprobe.upload.maximum_size=2097152
seeed_xiao_rp2040picoprobe.upload.maximum_data_size=262144
seeed_xiao_rp2040picoprobe.upload.wait_for_upload_port=true
seeed_xiao_rp2040picoprobe.upload.erase_cmd=
seeed_xiao_rp2040picoprobe.serial.disableDTR=false
seeed_xiao_rp2040picoprobe.serial.disableRTS=false
seeed_xiao_rp2040picoprobe.build.f_cpu=125000000
seeed_xiao_rp2040picoprobe.build.led=
seeed_xiao_rp2040picoprobe.build.core=rp2040
seeed_xiao_rp2040picoprobe.build.ldscript=memmap_default.ld
seeed_xiao_rp2040picoprobe.build.ram_length=256k
seeed_xiao_rp2040picoprobe.build.boot2=boot2_w25q080_2_padded_checksum
seeed_xiao_rp2040picoprobe.build.vid=0x2e8a
seeed_xiao_rp2040picoprobe.build.pid=0x000a
seeed_xiao_rp2040picoprobe.build.usb_manufacturer="Seeed"
seeed_xiao_rp2040picoprobe.build.usb_product="XAIO RP2040 (Picoprobe)"
seeed_xiao_rp2040picoprobe.menu.flash.2097152_0=2MB (no FS)
seeed_xiao_rp2040picoprobe.menu.flash.2097152_0.upload.maximum_size=2093056
seeed_xiao_rp2040picoprobe.menu.flash.2097152_0.build.flash_length=2093056
seeed_xiao_rp2040picoprobe.menu.flash.2097152_0.build.eeprom_start=270528512
seeed_xiao_rp2040picoprobe.menu.flash.2097152_0.build.fs_start=270528512
seeed_xiao_rp2040picoprobe.menu.flash.2097152_0.build.fs_end=270528512
seeed_xiao_rp2040picoprobe.menu.flash.2097152_65536=2MB (Sketch: 1984KB, FS: 64KB)
seeed_xiao_rp2040picoprobe.menu.flash.2097152_65536.upload.maximum_size=2027520
seeed_xiao_rp2040picoprobe.menu.flash.2097152_65536.build.flash_length=2027520
seeed_xiao_rp2040picoprobe.menu.flash.2097152_65536.build.eeprom_start=270528512
seeed_xiao_rp2040picoprobe.menu.flash.2097152_65536.build.fs_start=270462976
seeed_xiao_rp2040picoprobe.menu.flash.2097152_65536.build.fs_end=270528512
seeed_xiao_rp2040picoprobe.menu.flash.2097152_131072=2MB (Sketch: 1920KB, FS: 128KB)
seeed_xiao_rp2040picoprobe.menu.flash.2097152_131072.upload.maximum_size=1961984
seeed_xiao_rp2040picoprobe.menu.flash.2097152_131072.build.flash_length=1961984
seeed_xiao_rp2040picoprobe.menu.flash.2097152_131072.build.eeprom_start=270528512
seeed_xiao_rp2040picoprobe.menu.flash.2097152_131072.build.fs_start=270397440
seeed_xiao_rp2040picoprobe.menu.flash.2097152_131072.build.fs_end=270528512
seeed_xiao_rp2040picoprobe.menu.flash.2097152_262144=2MB (Sketch: 1792KB, FS: 256KB)
seeed_xiao_rp2040picoprobe.menu.flash.2097152_262144.upload.maximum_size=1830912
seeed_xiao_rp2040picoprobe.menu.flash.2097152_262144.build.flash_length=1830912
seeed_xiao_rp2040picoprobe.menu.flash.2097152_262144.build.eeprom_start=270528512
seeed_xiao_rp2040picoprobe.menu.flash.2097152_262144.build.fs_start=270266368
seeed_xiao_rp2040picoprobe.menu.flash.2097152_262144.build.fs_end=270528512
seeed_xiao_rp2040picoprobe.menu.flash.2097152_524288=2MB (Sketch: 1536KB, FS: 512KB)
seeed_xiao_rp2040picoprobe.menu.flash.2097152_524288.upload.maximum_size=1568768
seeed_xiao_rp2040picoprobe.menu.flash.2097152_524288.build.flash_length=1568768
seeed_xiao_rp2040picoprobe.menu.flash.2097152_524288.build.eeprom_start=270528512
seeed_xiao_rp2040picoprobe.menu.flash.2097152_524288.build.fs_start=270004224
seeed_xiao_rp2040picoprobe.menu.flash.2097152_524288.build.fs_end=270528512
seeed_xiao_rp2040picoprobe.menu.flash.2097152_1048576=2MB (Sketch: 1MB, FS: 1MB)
seeed_xiao_rp2040picoprobe.menu.flash.2097152_1048576.upload.maximum_size=1044480
seeed_xiao_rp2040picoprobe.menu.flash.2097152_1048576.build.flash_length=1044480
seeed_xiao_rp2040picoprobe.menu.flash.2097152_1048576.build.eeprom_start=270528512
seeed_xiao_rp2040picoprobe.menu.flash.2097152_1048576.build.fs_start=269479936
seeed_xiao_rp2040picoprobe.menu.flash.2097152_1048576.build.fs_end=270528512
seeed_xiao_rp2040picoprobe.menu.freq.125=125 MHz
seeed_xiao_rp2040picoprobe.menu.freq.125.build.f_cpu=125000000L
seeed_xiao_rp2040picoprobe.menu.freq.50=50 MHz
seeed_xiao_rp2040picoprobe.menu.freq.50.build.f_cpu=50000000L
seeed_xiao_rp2040picoprobe.menu.freq.100=100 MHz
seeed_xiao_rp2040picoprobe.menu.freq.100.build.f_cpu=100000000L
seeed_xiao_rp2040picoprobe.menu.freq.133=133 MHz
seeed_xiao_rp2040picoprobe.menu.freq.133.build.f_cpu=133000000L
seeed_xiao_rp2040picoprobe.menu.freq.150=150 MHz (Overclock)
seeed_xiao_rp2040picoprobe.menu.freq.150.build.f_cpu=150000000L
seeed_xiao_rp2040picoprobe.menu.freq.175=175 MHz (Overclock)
seeed_xiao_rp2040picoprobe.menu.freq.175.build.f_cpu=175000000L
seeed_xiao_rp2040picoprobe.menu.freq.200=200 MHz (Overclock)
seeed_xiao_rp2040picoprobe.menu.freq.200.build.f_cpu=200000000L
seeed_xiao_rp2040picoprobe.menu.freq.225=225 MHz (Overclock)
seeed_xiao_rp2040picoprobe.menu.freq.225.build.f_cpu=225000000L
seeed_xiao_rp2040picoprobe.menu.freq.250=250 MHz (Overclock)
seeed_xiao_rp2040picoprobe.menu.freq.250.build.f_cpu=250000000L
seeed_xiao_rp2040picoprobe.menu.freq.275=275 MHz (Overclock)
seeed_xiao_rp2040picoprobe.menu.freq.275.build.f_cpu=275000000L
seeed_xiao_rp2040picoprobe.menu.freq.300=300 MHz (Overclock)
seeed_xiao_rp2040picoprobe.menu.freq.300.build.f_cpu=300000000L
seeed_xiao_rp2040picoprobe.menu.opt.Small=Small (-Os) (standard)
seeed_xiao_rp2040picoprobe.menu.opt.Small.build.flags.optimize=-Os
seeed_xiao_rp2040picoprobe.menu.opt.Optimize=Optimize (-O)
seeed_xiao_rp2040picoprobe.menu.opt.Optimize.build.flags.optimize=-O
seeed_xiao_rp2040picoprobe.menu.opt.Optimize2=Optimize More (-O2)
seeed_xiao_rp2040picoprobe.menu.opt.Optimize2.build.flags.optimize=-O2
seeed_xiao_rp2040picoprobe.menu.opt.Optimize3=Optimize Even More (-O3)
seeed_xiao_rp2040picoprobe.menu.opt.Optimize3.build.flags.optimize=-O3
seeed_xiao_rp2040picoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower)
seeed_xiao_rp2040picoprobe.menu.opt.Fast.build.flags.optimize=-Ofast
seeed_xiao_rp2040picoprobe.menu.opt.Debug=Debug (-Og)
seeed_xiao_rp2040picoprobe.menu.opt.Debug.build.flags.optimize=-Og
seeed_xiao_rp2040picoprobe.menu.rtti.Disabled=Disabled
seeed_xiao_rp2040picoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
seeed_xiao_rp2040picoprobe.menu.rtti.Enabled=Enabled
seeed_xiao_rp2040picoprobe.menu.rtti.Enabled.build.flags.rtti=
seeed_xiao_rp2040picoprobe.menu.dbgport.Disabled=Disabled
seeed_xiao_rp2040picoprobe.menu.dbgport.Disabled.build.debug_port=
seeed_xiao_rp2040picoprobe.menu.dbgport.Serial=Serial
seeed_xiao_rp2040picoprobe.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial
seeed_xiao_rp2040picoprobe.menu.dbgport.Serial1=Serial1
seeed_xiao_rp2040picoprobe.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1
seeed_xiao_rp2040picoprobe.menu.dbgport.Serial2=Serial2
seeed_xiao_rp2040picoprobe.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2
seeed_xiao_rp2040picoprobe.menu.dbglvl.None=None
seeed_xiao_rp2040picoprobe.menu.dbglvl.None.build.debug_level=
seeed_xiao_rp2040picoprobe.menu.dbglvl.Core=Core
seeed_xiao_rp2040picoprobe.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE
seeed_xiao_rp2040picoprobe.menu.dbglvl.SPI=SPI
seeed_xiao_rp2040picoprobe.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI
seeed_xiao_rp2040picoprobe.menu.dbglvl.Wire=Wire
seeed_xiao_rp2040picoprobe.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE
seeed_xiao_rp2040picoprobe.menu.dbglvl.All=All
seeed_xiao_rp2040picoprobe.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE
seeed_xiao_rp2040picoprobe.menu.dbglvl.NDEBUG=NDEBUG
seeed_xiao_rp2040picoprobe.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
seeed_xiao_rp2040picoprobe.menu.usbstack.picosdk=Pico SDK
seeed_xiao_rp2040picoprobe.menu.usbstack.picosdk.build.usbstack_flags="-I{runtime.platform.path}/tools/libpico"
seeed_xiao_rp2040picoprobe.menu.usbstack.tinyusb=Adafruit TinyUSB
seeed_xiao_rp2040picoprobe.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino"
# -----------------------------------
# Seeed XAIO RP2040 (pico-debug)
# -----------------------------------
seeed_xiao_rp2040picodebug.name=Seeed XAIO RP2040 (pico-debug)
seeed_xiao_rp2040picodebug.vid.0=0x1209
seeed_xiao_rp2040picodebug.pid.0=0x2488
seeed_xiao_rp2040picodebug.build.usbpid=-DSERIALUSB_PID=0x000a
seeed_xiao_rp2040picodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=250
seeed_xiao_rp2040picodebug.build.board=SEEED_XAIO_RP2040
seeed_xiao_rp2040picodebug.build.mcu=cortex-m0plus
seeed_xiao_rp2040picodebug.build.variant=seeed_xiao_rp2040
seeed_xiao_rp2040picodebug.upload.tool=picodebug
seeed_xiao_rp2040picodebug.upload.maximum_size=2097152
seeed_xiao_rp2040picodebug.upload.maximum_data_size=245760
seeed_xiao_rp2040picodebug.upload.wait_for_upload_port=true
seeed_xiao_rp2040picodebug.upload.erase_cmd=
seeed_xiao_rp2040picodebug.serial.disableDTR=false
seeed_xiao_rp2040picodebug.serial.disableRTS=false
seeed_xiao_rp2040picodebug.build.f_cpu=125000000
seeed_xiao_rp2040picodebug.build.led=
seeed_xiao_rp2040picodebug.build.core=rp2040
seeed_xiao_rp2040picodebug.build.ldscript=memmap_default.ld
seeed_xiao_rp2040picodebug.build.ram_length=240k
seeed_xiao_rp2040picodebug.build.boot2=boot2_w25q080_2_padded_checksum
seeed_xiao_rp2040picodebug.build.vid=0x2e8a
seeed_xiao_rp2040picodebug.build.pid=0x000a
seeed_xiao_rp2040picodebug.build.usb_manufacturer="Seeed"
seeed_xiao_rp2040picodebug.build.usb_product="XAIO RP2040 (pico-debug)"
seeed_xiao_rp2040picodebug.menu.flash.2097152_0=2MB (no FS)
seeed_xiao_rp2040picodebug.menu.flash.2097152_0.upload.maximum_size=2093056
seeed_xiao_rp2040picodebug.menu.flash.2097152_0.build.flash_length=2093056
seeed_xiao_rp2040picodebug.menu.flash.2097152_0.build.eeprom_start=270528512
seeed_xiao_rp2040picodebug.menu.flash.2097152_0.build.fs_start=270528512
seeed_xiao_rp2040picodebug.menu.flash.2097152_0.build.fs_end=270528512
seeed_xiao_rp2040picodebug.menu.flash.2097152_65536=2MB (Sketch: 1984KB, FS: 64KB)
seeed_xiao_rp2040picodebug.menu.flash.2097152_65536.upload.maximum_size=2027520
seeed_xiao_rp2040picodebug.menu.flash.2097152_65536.build.flash_length=2027520
seeed_xiao_rp2040picodebug.menu.flash.2097152_65536.build.eeprom_start=270528512
seeed_xiao_rp2040picodebug.menu.flash.2097152_65536.build.fs_start=270462976
seeed_xiao_rp2040picodebug.menu.flash.2097152_65536.build.fs_end=270528512
seeed_xiao_rp2040picodebug.menu.flash.2097152_131072=2MB (Sketch: 1920KB, FS: 128KB)
seeed_xiao_rp2040picodebug.menu.flash.2097152_131072.upload.maximum_size=1961984
seeed_xiao_rp2040picodebug.menu.flash.2097152_131072.build.flash_length=1961984
seeed_xiao_rp2040picodebug.menu.flash.2097152_131072.build.eeprom_start=270528512
seeed_xiao_rp2040picodebug.menu.flash.2097152_131072.build.fs_start=270397440
seeed_xiao_rp2040picodebug.menu.flash.2097152_131072.build.fs_end=270528512
seeed_xiao_rp2040picodebug.menu.flash.2097152_262144=2MB (Sketch: 1792KB, FS: 256KB)
seeed_xiao_rp2040picodebug.menu.flash.2097152_262144.upload.maximum_size=1830912
seeed_xiao_rp2040picodebug.menu.flash.2097152_262144.build.flash_length=1830912
seeed_xiao_rp2040picodebug.menu.flash.2097152_262144.build.eeprom_start=270528512
seeed_xiao_rp2040picodebug.menu.flash.2097152_262144.build.fs_start=270266368
seeed_xiao_rp2040picodebug.menu.flash.2097152_262144.build.fs_end=270528512
seeed_xiao_rp2040picodebug.menu.flash.2097152_524288=2MB (Sketch: 1536KB, FS: 512KB)
seeed_xiao_rp2040picodebug.menu.flash.2097152_524288.upload.maximum_size=1568768
seeed_xiao_rp2040picodebug.menu.flash.2097152_524288.build.flash_length=1568768
seeed_xiao_rp2040picodebug.menu.flash.2097152_524288.build.eeprom_start=270528512
seeed_xiao_rp2040picodebug.menu.flash.2097152_524288.build.fs_start=270004224
seeed_xiao_rp2040picodebug.menu.flash.2097152_524288.build.fs_end=270528512
seeed_xiao_rp2040picodebug.menu.flash.2097152_1048576=2MB (Sketch: 1MB, FS: 1MB)
seeed_xiao_rp2040picodebug.menu.flash.2097152_1048576.upload.maximum_size=1044480
seeed_xiao_rp2040picodebug.menu.flash.2097152_1048576.build.flash_length=1044480
seeed_xiao_rp2040picodebug.menu.flash.2097152_1048576.build.eeprom_start=270528512
seeed_xiao_rp2040picodebug.menu.flash.2097152_1048576.build.fs_start=269479936
seeed_xiao_rp2040picodebug.menu.flash.2097152_1048576.build.fs_end=270528512
seeed_xiao_rp2040picodebug.menu.freq.125=125 MHz
seeed_xiao_rp2040picodebug.menu.freq.125.build.f_cpu=125000000L
seeed_xiao_rp2040picodebug.menu.freq.50=50 MHz
seeed_xiao_rp2040picodebug.menu.freq.50.build.f_cpu=50000000L
seeed_xiao_rp2040picodebug.menu.freq.100=100 MHz
seeed_xiao_rp2040picodebug.menu.freq.100.build.f_cpu=100000000L
seeed_xiao_rp2040picodebug.menu.freq.133=133 MHz
seeed_xiao_rp2040picodebug.menu.freq.133.build.f_cpu=133000000L
seeed_xiao_rp2040picodebug.menu.freq.150=150 MHz (Overclock)
seeed_xiao_rp2040picodebug.menu.freq.150.build.f_cpu=150000000L
seeed_xiao_rp2040picodebug.menu.freq.175=175 MHz (Overclock)
seeed_xiao_rp2040picodebug.menu.freq.175.build.f_cpu=175000000L
seeed_xiao_rp2040picodebug.menu.freq.200=200 MHz (Overclock)
seeed_xiao_rp2040picodebug.menu.freq.200.build.f_cpu=200000000L
seeed_xiao_rp2040picodebug.menu.freq.225=225 MHz (Overclock)
seeed_xiao_rp2040picodebug.menu.freq.225.build.f_cpu=225000000L
seeed_xiao_rp2040picodebug.menu.freq.250=250 MHz (Overclock)
seeed_xiao_rp2040picodebug.menu.freq.250.build.f_cpu=250000000L
seeed_xiao_rp2040picodebug.menu.freq.275=275 MHz (Overclock)
seeed_xiao_rp2040picodebug.menu.freq.275.build.f_cpu=275000000L
seeed_xiao_rp2040picodebug.menu.freq.300=300 MHz (Overclock)
seeed_xiao_rp2040picodebug.menu.freq.300.build.f_cpu=300000000L
seeed_xiao_rp2040picodebug.menu.opt.Small=Small (-Os) (standard)
seeed_xiao_rp2040picodebug.menu.opt.Small.build.flags.optimize=-Os
seeed_xiao_rp2040picodebug.menu.opt.Optimize=Optimize (-O)
seeed_xiao_rp2040picodebug.menu.opt.Optimize.build.flags.optimize=-O
seeed_xiao_rp2040picodebug.menu.opt.Optimize2=Optimize More (-O2)
seeed_xiao_rp2040picodebug.menu.opt.Optimize2.build.flags.optimize=-O2
seeed_xiao_rp2040picodebug.menu.opt.Optimize3=Optimize Even More (-O3)
seeed_xiao_rp2040picodebug.menu.opt.Optimize3.build.flags.optimize=-O3
seeed_xiao_rp2040picodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower)
seeed_xiao_rp2040picodebug.menu.opt.Fast.build.flags.optimize=-Ofast
seeed_xiao_rp2040picodebug.menu.opt.Debug=Debug (-Og)
seeed_xiao_rp2040picodebug.menu.opt.Debug.build.flags.optimize=-Og
seeed_xiao_rp2040picodebug.menu.rtti.Disabled=Disabled
seeed_xiao_rp2040picodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
seeed_xiao_rp2040picodebug.menu.rtti.Enabled=Enabled
seeed_xiao_rp2040picodebug.menu.rtti.Enabled.build.flags.rtti=
seeed_xiao_rp2040picodebug.menu.dbgport.Disabled=Disabled
seeed_xiao_rp2040picodebug.menu.dbgport.Disabled.build.debug_port=
seeed_xiao_rp2040picodebug.menu.dbgport.Serial=Serial
seeed_xiao_rp2040picodebug.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial
seeed_xiao_rp2040picodebug.menu.dbgport.Serial1=Serial1
seeed_xiao_rp2040picodebug.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1
seeed_xiao_rp2040picodebug.menu.dbgport.Serial2=Serial2
seeed_xiao_rp2040picodebug.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2
seeed_xiao_rp2040picodebug.menu.dbglvl.None=None
seeed_xiao_rp2040picodebug.menu.dbglvl.None.build.debug_level=
seeed_xiao_rp2040picodebug.menu.dbglvl.Core=Core
seeed_xiao_rp2040picodebug.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE
seeed_xiao_rp2040picodebug.menu.dbglvl.SPI=SPI
seeed_xiao_rp2040picodebug.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI
seeed_xiao_rp2040picodebug.menu.dbglvl.Wire=Wire
seeed_xiao_rp2040picodebug.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE
seeed_xiao_rp2040picodebug.menu.dbglvl.All=All
seeed_xiao_rp2040picodebug.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE
seeed_xiao_rp2040picodebug.menu.dbglvl.NDEBUG=NDEBUG
seeed_xiao_rp2040picodebug.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
seeed_xiao_rp2040picodebug.menu.usbstack.nousb=No USB
seeed_xiao_rp2040picodebug.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico"
# -----------------------------------
# WIZnet W5100S-EVB-Pico
# -----------------------------------
...
...
package/package_pico_index.template.json
View file @
eff90838
...
...
@@ -71,6 +71,9 @@
{
"name"
:
"Invector Labs RPICO32"
},
{
"name"
:
"Seeed XIAO RP2040"
},
{
"name"
:
"Solder Party RP2040 Stamp"
},
...
...
tools/makeboards.py
View file @
eff90838
...
...
@@ -267,6 +267,9 @@ MakeBoard("sparkfun_promicrorp2040", "SparkFun", "ProMicro RP2040", "0x1b4f", "0
# Upesy
MakeBoard
(
"upesy_rp2040_devkit"
,
"uPesy"
,
"RP2040 DevKit"
,
"0x2e8a"
,
"0x1007"
,
250
,
"UPESY_RP2040_DEVKIT"
,
2
,
"boot2_w25q080_2_padded_checksum"
)
# Seeed
MakeBoard
(
"seeed_xiao_rp2040"
,
"Seeed"
,
"XAIO RP2040"
,
"0x2e8a"
,
"0x000a"
,
250
,
"SEEED_XAIO_RP2040"
,
2
,
"boot2_w25q080_2_padded_checksum"
)
# WIZnet
MakeBoard
(
"wiznet_5100s_evb_pico"
,
"WIZnet"
,
"W5100S-EVB-Pico"
,
"0x2e8a"
,
"0x1008"
,
250
,
"WIZNET_5100S_EVB_PICO"
,
2
,
"boot2_w25q080_2_padded_checksum"
)
...
...
variants/seeed_xiao_rp2040/pins_arduino.h
0 → 100644
View file @
eff90838
#pragma once
// Pin definitions taken from:
// https://www.seeedstudio.com/XIAO-RP2040-v1-0-p-5026.html
// LEDs
#define PIN_LED (17u)
#define PIN_LED_R (17u)
#define PIN_LED_G (16u)
#define PIN_LED_B (25u)
// NeoPixel
#define PIN_NEOPIXEL (12u)
#define NEOPIXEL_POWER (11u)
// Serial1
#define PIN_SERIAL1_TX (0u)
#define PIN_SERIAL1_RX (1u)
// Serial2 not pinned out
#define PIN_SERIAL2_TX (31u)
#define PIN_SERIAL2_RX (31u)
// SPI
#define PIN_SPI0_MISO (4u)
#define PIN_SPI0_MOSI (3u)
#define PIN_SPI0_SCK (2u)
#define PIN_SPI0_SS (31u) // not pinned out
// Not pinned out
#define PIN_SPI1_MISO (31u)
#define PIN_SPI1_MOSI (31u)
#define PIN_SPI1_SCK (31u)
#define PIN_SPI1_SS (31u)
// Wire
#define PIN_WIRE0_SDA (6u)
#define PIN_WIRE0_SCL (7u)
// Wire1 not pinned out
#define PIN_WIRE1_SDA (31u)
#define PIN_WIRE1_SCL (31u)
#define SERIAL_HOWMANY (2u)
#define SPI_HOWMANY (1u)
#define WIRE_HOWMANY (1u)
#include "../generic/common.h"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment