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
678cd2c4
Unverified
Commit
678cd2c4
authored
Aug 04, 2023
by
Kattni
Committed by
GitHub
Aug 04, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Adafruit Metro RP2040 (#1630)
parent
1231317c
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
408 additions
and
0 deletions
+408
-0
README.md
README.md
+1
-0
boards.txt
boards.txt
+306
-0
package/package_pico_index.template.json
package/package_pico_index.template.json
+3
-0
tools/json/adafruit_metro.json
tools/json/adafruit_metro.json
+56
-0
tools/makeboards.py
tools/makeboards.py
+1
-0
variants/adafruit_metro/pins_arduino.h
variants/adafruit_metro/pins_arduino.h
+41
-0
No files found.
README.md
View file @
678cd2c4
...
...
@@ -21,6 +21,7 @@ Read the [Contributing Guide](https://github.com/earlephilhower/arduino-pico/blo
*
Adafruit ItsyBitsy RP2040
*
Adafruit KB2040
*
Adafruit Macropad RP2040
*
Adafruit Metro RP2040
*
Adafruit QTPy RP2040
*
Adafruit STEMMA Friend RP2040
*
Adafruit Trinkey RP2040 QT
...
...
boards.txt
View file @
678cd2c4
...
...
@@ -3077,6 +3077,312 @@ adafruit_itsybitsy.menu.uploadmethod.picodebug.upload.maximum_data_size=245760
adafruit_itsybitsy.menu.uploadmethod.picodebug.upload.tool=picodebug
adafruit_itsybitsy.menu.uploadmethod.picodebug.upload.tool.default=picodebug
# -----------------------------------
# Adafruit Metro RP2040
# -----------------------------------
adafruit_metro.name=Adafruit Metro RP2040
adafruit_metro.vid.0=0x239a
adafruit_metro.pid.0=0x813d
adafruit_metro.vid.1=0x239a
adafruit_metro.pid.1=0x813d
adafruit_metro.vid.2=0x239a
adafruit_metro.pid.2=0xc13d
adafruit_metro.vid.3=0x239a
adafruit_metro.pid.3=0xc13d
adafruit_metro.vid.4=0x239a
adafruit_metro.pid.4=0x813d
adafruit_metro.vid.5=0x239a
adafruit_metro.pid.5=0x813d
adafruit_metro.vid.6=0x239a
adafruit_metro.pid.6=0xc13d
adafruit_metro.vid.7=0x239a
adafruit_metro.pid.7=0xc13d
adafruit_metro.build.usbvid=-DUSBD_VID=0x239a
adafruit_metro.build.usbpid=-DUSBD_PID=0x813d
adafruit_metro.build.usbpwr=-DUSBD_MAX_POWER_MA=250
adafruit_metro.build.board=ADAFRUIT_METRO_RP2040
adafruit_metro.build.mcu=cortex-m0plus
adafruit_metro.build.variant=adafruit_metro
adafruit_metro.upload.maximum_size=16777216
adafruit_metro.upload.wait_for_upload_port=true
adafruit_metro.upload.erase_cmd=
adafruit_metro.serial.disableDTR=false
adafruit_metro.serial.disableRTS=false
adafruit_metro.build.f_cpu=125000000
adafruit_metro.build.led=
adafruit_metro.build.core=rp2040
adafruit_metro.build.ldscript=memmap_default.ld
adafruit_metro.build.boot2=boot2_w25q080_2_padded_checksum
adafruit_metro.build.usb_manufacturer="Adafruit"
adafruit_metro.build.usb_product="Metro RP2040"
adafruit_metro.menu.flash.16777216_0=16MB (no FS)
adafruit_metro.menu.flash.16777216_0.upload.maximum_size=16773120
adafruit_metro.menu.flash.16777216_0.build.flash_total=16777216
adafruit_metro.menu.flash.16777216_0.build.flash_length=16773120
adafruit_metro.menu.flash.16777216_0.build.eeprom_start=285208576
adafruit_metro.menu.flash.16777216_0.build.fs_start=285208576
adafruit_metro.menu.flash.16777216_0.build.fs_end=285208576
adafruit_metro.menu.flash.16777216_65536=16MB (Sketch: 16320KB, FS: 64KB)
adafruit_metro.menu.flash.16777216_65536.upload.maximum_size=16707584
adafruit_metro.menu.flash.16777216_65536.build.flash_total=16777216
adafruit_metro.menu.flash.16777216_65536.build.flash_length=16707584
adafruit_metro.menu.flash.16777216_65536.build.eeprom_start=285208576
adafruit_metro.menu.flash.16777216_65536.build.fs_start=285143040
adafruit_metro.menu.flash.16777216_65536.build.fs_end=285208576
adafruit_metro.menu.flash.16777216_131072=16MB (Sketch: 16256KB, FS: 128KB)
adafruit_metro.menu.flash.16777216_131072.upload.maximum_size=16642048
adafruit_metro.menu.flash.16777216_131072.build.flash_total=16777216
adafruit_metro.menu.flash.16777216_131072.build.flash_length=16642048
adafruit_metro.menu.flash.16777216_131072.build.eeprom_start=285208576
adafruit_metro.menu.flash.16777216_131072.build.fs_start=285077504
adafruit_metro.menu.flash.16777216_131072.build.fs_end=285208576
adafruit_metro.menu.flash.16777216_262144=16MB (Sketch: 16128KB, FS: 256KB)
adafruit_metro.menu.flash.16777216_262144.upload.maximum_size=16510976
adafruit_metro.menu.flash.16777216_262144.build.flash_total=16777216
adafruit_metro.menu.flash.16777216_262144.build.flash_length=16510976
adafruit_metro.menu.flash.16777216_262144.build.eeprom_start=285208576
adafruit_metro.menu.flash.16777216_262144.build.fs_start=284946432
adafruit_metro.menu.flash.16777216_262144.build.fs_end=285208576
adafruit_metro.menu.flash.16777216_524288=16MB (Sketch: 15872KB, FS: 512KB)
adafruit_metro.menu.flash.16777216_524288.upload.maximum_size=16248832
adafruit_metro.menu.flash.16777216_524288.build.flash_total=16777216
adafruit_metro.menu.flash.16777216_524288.build.flash_length=16248832
adafruit_metro.menu.flash.16777216_524288.build.eeprom_start=285208576
adafruit_metro.menu.flash.16777216_524288.build.fs_start=284684288
adafruit_metro.menu.flash.16777216_524288.build.fs_end=285208576
adafruit_metro.menu.flash.16777216_1048576=16MB (Sketch: 15MB, FS: 1MB)
adafruit_metro.menu.flash.16777216_1048576.upload.maximum_size=15724544
adafruit_metro.menu.flash.16777216_1048576.build.flash_total=16777216
adafruit_metro.menu.flash.16777216_1048576.build.flash_length=15724544
adafruit_metro.menu.flash.16777216_1048576.build.eeprom_start=285208576
adafruit_metro.menu.flash.16777216_1048576.build.fs_start=284160000
adafruit_metro.menu.flash.16777216_1048576.build.fs_end=285208576
adafruit_metro.menu.flash.16777216_2097152=16MB (Sketch: 14MB, FS: 2MB)
adafruit_metro.menu.flash.16777216_2097152.upload.maximum_size=14675968
adafruit_metro.menu.flash.16777216_2097152.build.flash_total=16777216
adafruit_metro.menu.flash.16777216_2097152.build.flash_length=14675968
adafruit_metro.menu.flash.16777216_2097152.build.eeprom_start=285208576
adafruit_metro.menu.flash.16777216_2097152.build.fs_start=283111424
adafruit_metro.menu.flash.16777216_2097152.build.fs_end=285208576
adafruit_metro.menu.flash.16777216_3145728=16MB (Sketch: 13MB, FS: 3MB)
adafruit_metro.menu.flash.16777216_3145728.upload.maximum_size=13627392
adafruit_metro.menu.flash.16777216_3145728.build.flash_total=16777216
adafruit_metro.menu.flash.16777216_3145728.build.flash_length=13627392
adafruit_metro.menu.flash.16777216_3145728.build.eeprom_start=285208576
adafruit_metro.menu.flash.16777216_3145728.build.fs_start=282062848
adafruit_metro.menu.flash.16777216_3145728.build.fs_end=285208576
adafruit_metro.menu.flash.16777216_4194304=16MB (Sketch: 12MB, FS: 4MB)
adafruit_metro.menu.flash.16777216_4194304.upload.maximum_size=12578816
adafruit_metro.menu.flash.16777216_4194304.build.flash_total=16777216
adafruit_metro.menu.flash.16777216_4194304.build.flash_length=12578816
adafruit_metro.menu.flash.16777216_4194304.build.eeprom_start=285208576
adafruit_metro.menu.flash.16777216_4194304.build.fs_start=281014272
adafruit_metro.menu.flash.16777216_4194304.build.fs_end=285208576
adafruit_metro.menu.flash.16777216_5242880=16MB (Sketch: 11MB, FS: 5MB)
adafruit_metro.menu.flash.16777216_5242880.upload.maximum_size=11530240
adafruit_metro.menu.flash.16777216_5242880.build.flash_total=16777216
adafruit_metro.menu.flash.16777216_5242880.build.flash_length=11530240
adafruit_metro.menu.flash.16777216_5242880.build.eeprom_start=285208576
adafruit_metro.menu.flash.16777216_5242880.build.fs_start=279965696
adafruit_metro.menu.flash.16777216_5242880.build.fs_end=285208576
adafruit_metro.menu.flash.16777216_6291456=16MB (Sketch: 10MB, FS: 6MB)
adafruit_metro.menu.flash.16777216_6291456.upload.maximum_size=10481664
adafruit_metro.menu.flash.16777216_6291456.build.flash_total=16777216
adafruit_metro.menu.flash.16777216_6291456.build.flash_length=10481664
adafruit_metro.menu.flash.16777216_6291456.build.eeprom_start=285208576
adafruit_metro.menu.flash.16777216_6291456.build.fs_start=278917120
adafruit_metro.menu.flash.16777216_6291456.build.fs_end=285208576
adafruit_metro.menu.flash.16777216_7340032=16MB (Sketch: 9MB, FS: 7MB)
adafruit_metro.menu.flash.16777216_7340032.upload.maximum_size=9433088
adafruit_metro.menu.flash.16777216_7340032.build.flash_total=16777216
adafruit_metro.menu.flash.16777216_7340032.build.flash_length=9433088
adafruit_metro.menu.flash.16777216_7340032.build.eeprom_start=285208576
adafruit_metro.menu.flash.16777216_7340032.build.fs_start=277868544
adafruit_metro.menu.flash.16777216_7340032.build.fs_end=285208576
adafruit_metro.menu.flash.16777216_8388608=16MB (Sketch: 8MB, FS: 8MB)
adafruit_metro.menu.flash.16777216_8388608.upload.maximum_size=8384512
adafruit_metro.menu.flash.16777216_8388608.build.flash_total=16777216
adafruit_metro.menu.flash.16777216_8388608.build.flash_length=8384512
adafruit_metro.menu.flash.16777216_8388608.build.eeprom_start=285208576
adafruit_metro.menu.flash.16777216_8388608.build.fs_start=276819968
adafruit_metro.menu.flash.16777216_8388608.build.fs_end=285208576
adafruit_metro.menu.flash.16777216_9437184=16MB (Sketch: 7MB, FS: 9MB)
adafruit_metro.menu.flash.16777216_9437184.upload.maximum_size=7335936
adafruit_metro.menu.flash.16777216_9437184.build.flash_total=16777216
adafruit_metro.menu.flash.16777216_9437184.build.flash_length=7335936
adafruit_metro.menu.flash.16777216_9437184.build.eeprom_start=285208576
adafruit_metro.menu.flash.16777216_9437184.build.fs_start=275771392
adafruit_metro.menu.flash.16777216_9437184.build.fs_end=285208576
adafruit_metro.menu.flash.16777216_10485760=16MB (Sketch: 6MB, FS: 10MB)
adafruit_metro.menu.flash.16777216_10485760.upload.maximum_size=6287360
adafruit_metro.menu.flash.16777216_10485760.build.flash_total=16777216
adafruit_metro.menu.flash.16777216_10485760.build.flash_length=6287360
adafruit_metro.menu.flash.16777216_10485760.build.eeprom_start=285208576
adafruit_metro.menu.flash.16777216_10485760.build.fs_start=274722816
adafruit_metro.menu.flash.16777216_10485760.build.fs_end=285208576
adafruit_metro.menu.flash.16777216_11534336=16MB (Sketch: 5MB, FS: 11MB)
adafruit_metro.menu.flash.16777216_11534336.upload.maximum_size=5238784
adafruit_metro.menu.flash.16777216_11534336.build.flash_total=16777216
adafruit_metro.menu.flash.16777216_11534336.build.flash_length=5238784
adafruit_metro.menu.flash.16777216_11534336.build.eeprom_start=285208576
adafruit_metro.menu.flash.16777216_11534336.build.fs_start=273674240
adafruit_metro.menu.flash.16777216_11534336.build.fs_end=285208576
adafruit_metro.menu.flash.16777216_12582912=16MB (Sketch: 4MB, FS: 12MB)
adafruit_metro.menu.flash.16777216_12582912.upload.maximum_size=4190208
adafruit_metro.menu.flash.16777216_12582912.build.flash_total=16777216
adafruit_metro.menu.flash.16777216_12582912.build.flash_length=4190208
adafruit_metro.menu.flash.16777216_12582912.build.eeprom_start=285208576
adafruit_metro.menu.flash.16777216_12582912.build.fs_start=272625664
adafruit_metro.menu.flash.16777216_12582912.build.fs_end=285208576
adafruit_metro.menu.flash.16777216_13631488=16MB (Sketch: 3MB, FS: 13MB)
adafruit_metro.menu.flash.16777216_13631488.upload.maximum_size=3141632
adafruit_metro.menu.flash.16777216_13631488.build.flash_total=16777216
adafruit_metro.menu.flash.16777216_13631488.build.flash_length=3141632
adafruit_metro.menu.flash.16777216_13631488.build.eeprom_start=285208576
adafruit_metro.menu.flash.16777216_13631488.build.fs_start=271577088
adafruit_metro.menu.flash.16777216_13631488.build.fs_end=285208576
adafruit_metro.menu.flash.16777216_14680064=16MB (Sketch: 2MB, FS: 14MB)
adafruit_metro.menu.flash.16777216_14680064.upload.maximum_size=2093056
adafruit_metro.menu.flash.16777216_14680064.build.flash_total=16777216
adafruit_metro.menu.flash.16777216_14680064.build.flash_length=2093056
adafruit_metro.menu.flash.16777216_14680064.build.eeprom_start=285208576
adafruit_metro.menu.flash.16777216_14680064.build.fs_start=270528512
adafruit_metro.menu.flash.16777216_14680064.build.fs_end=285208576
adafruit_metro.menu.flash.16777216_15728640=16MB (Sketch: 1MB, FS: 15MB)
adafruit_metro.menu.flash.16777216_15728640.upload.maximum_size=1044480
adafruit_metro.menu.flash.16777216_15728640.build.flash_total=16777216
adafruit_metro.menu.flash.16777216_15728640.build.flash_length=1044480
adafruit_metro.menu.flash.16777216_15728640.build.eeprom_start=285208576
adafruit_metro.menu.flash.16777216_15728640.build.fs_start=269479936
adafruit_metro.menu.flash.16777216_15728640.build.fs_end=285208576
adafruit_metro.menu.freq.133=133 MHz
adafruit_metro.menu.freq.133.build.f_cpu=133000000L
adafruit_metro.menu.freq.50=50 MHz
adafruit_metro.menu.freq.50.build.f_cpu=50000000L
adafruit_metro.menu.freq.100=100 MHz
adafruit_metro.menu.freq.100.build.f_cpu=100000000L
adafruit_metro.menu.freq.120=120 MHz
adafruit_metro.menu.freq.120.build.f_cpu=120000000L
adafruit_metro.menu.freq.125=125 MHz
adafruit_metro.menu.freq.125.build.f_cpu=125000000L
adafruit_metro.menu.freq.150=150 MHz (Overclock)
adafruit_metro.menu.freq.150.build.f_cpu=150000000L
adafruit_metro.menu.freq.175=175 MHz (Overclock)
adafruit_metro.menu.freq.175.build.f_cpu=175000000L
adafruit_metro.menu.freq.200=200 MHz (Overclock)
adafruit_metro.menu.freq.200.build.f_cpu=200000000L
adafruit_metro.menu.freq.225=225 MHz (Overclock)
adafruit_metro.menu.freq.225.build.f_cpu=225000000L
adafruit_metro.menu.freq.240=240 MHz (Overclock)
adafruit_metro.menu.freq.240.build.f_cpu=240000000L
adafruit_metro.menu.freq.250=250 MHz (Overclock)
adafruit_metro.menu.freq.250.build.f_cpu=250000000L
adafruit_metro.menu.freq.275=275 MHz (Overclock)
adafruit_metro.menu.freq.275.build.f_cpu=275000000L
adafruit_metro.menu.freq.300=300 MHz (Overclock)
adafruit_metro.menu.freq.300.build.f_cpu=300000000L
adafruit_metro.menu.opt.Small=Small (-Os) (standard)
adafruit_metro.menu.opt.Small.build.flags.optimize=-Os
adafruit_metro.menu.opt.Optimize=Optimize (-O)
adafruit_metro.menu.opt.Optimize.build.flags.optimize=-O
adafruit_metro.menu.opt.Optimize2=Optimize More (-O2)
adafruit_metro.menu.opt.Optimize2.build.flags.optimize=-O2
adafruit_metro.menu.opt.Optimize3=Optimize Even More (-O3)
adafruit_metro.menu.opt.Optimize3.build.flags.optimize=-O3
adafruit_metro.menu.opt.Fast=Fast (-Ofast) (maybe slower)
adafruit_metro.menu.opt.Fast.build.flags.optimize=-Ofast
adafruit_metro.menu.opt.Debug=Debug (-Og)
adafruit_metro.menu.opt.Debug.build.flags.optimize=-Og
adafruit_metro.menu.rtti.Disabled=Disabled
adafruit_metro.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
adafruit_metro.menu.rtti.Enabled=Enabled
adafruit_metro.menu.rtti.Enabled.build.flags.rtti=
adafruit_metro.menu.stackprotect.Disabled=Disabled
adafruit_metro.menu.stackprotect.Disabled.build.flags.stackprotect=
adafruit_metro.menu.stackprotect.Enabled=Enabled
adafruit_metro.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector
adafruit_metro.menu.exceptions.Disabled=Disabled
adafruit_metro.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions
adafruit_metro.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++
adafruit_metro.menu.exceptions.Enabled=Enabled
adafruit_metro.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions
adafruit_metro.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc
adafruit_metro.menu.dbgport.Disabled=Disabled
adafruit_metro.menu.dbgport.Disabled.build.debug_port=
adafruit_metro.menu.dbgport.Serial=Serial
adafruit_metro.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial
adafruit_metro.menu.dbgport.Serial1=Serial1
adafruit_metro.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1
adafruit_metro.menu.dbgport.Serial2=Serial2
adafruit_metro.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2
adafruit_metro.menu.dbglvl.None=None
adafruit_metro.menu.dbglvl.None.build.debug_level=
adafruit_metro.menu.dbglvl.Core=Core
adafruit_metro.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE
adafruit_metro.menu.dbglvl.SPI=SPI
adafruit_metro.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI
adafruit_metro.menu.dbglvl.Wire=Wire
adafruit_metro.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE
adafruit_metro.menu.dbglvl.All=All
adafruit_metro.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE
adafruit_metro.menu.dbglvl.NDEBUG=NDEBUG
adafruit_metro.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
adafruit_metro.menu.usbstack.picosdk=Pico SDK
adafruit_metro.menu.usbstack.picosdk.build.usbstack_flags=
adafruit_metro.menu.usbstack.tinyusb=Adafruit TinyUSB
adafruit_metro.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino"
adafruit_metro.menu.usbstack.nousb=No USB
adafruit_metro.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico"
adafruit_metro.menu.ipbtstack.ipv4only=IPv4 Only
adafruit_metro.menu.ipbtstack.ipv4only.build.libpicow=libpicow-noipv6-nobtc-noble.a
adafruit_metro.menu.ipbtstack.ipv4only.build.libpicowdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1
adafruit_metro.menu.ipbtstack.ipv4ipv6=IPv4 + IPv6
adafruit_metro.menu.ipbtstack.ipv4ipv6.build.libpicow=libpicow-ipv6-nobtc-noble.a
adafruit_metro.menu.ipbtstack.ipv4ipv6.build.libpicowdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1
adafruit_metro.menu.ipbtstack.ipv4btcble=IPv4 + Bluetooth
adafruit_metro.menu.ipbtstack.ipv4btcble.build.libpicow=libpicow-noipv6-btc-ble.a
adafruit_metro.menu.ipbtstack.ipv4btcble.build.libpicowdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -DENABLE_CLASSIC=1 -DENABLE_BLE=1
adafruit_metro.menu.ipbtstack.ipv4ipv6btcble=IPv4 + IPv6 + Bluetooth
adafruit_metro.menu.ipbtstack.ipv4ipv6btcble.build.libpicow=libpicow-ipv6-btc-ble.a
adafruit_metro.menu.ipbtstack.ipv4ipv6btcble.build.libpicowdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 -DENABLE_CLASSIC=1 -DENABLE_BLE=1
adafruit_metro.menu.boot2.boot2_w25q080_2_padded_checksum=W25Q080 QSPI /2
adafruit_metro.menu.boot2.boot2_w25q080_2_padded_checksum.build.boot2=boot2_w25q080_2_padded_checksum
adafruit_metro.menu.boot2.boot2_w25q080_4_padded_checksum=W25Q080 QSPI /4
adafruit_metro.menu.boot2.boot2_w25q080_4_padded_checksum.build.boot2=boot2_w25q080_4_padded_checksum
adafruit_metro.menu.uploadmethod.default=Default (UF2)
adafruit_metro.menu.uploadmethod.default.build.ram_length=256k
adafruit_metro.menu.uploadmethod.default.build.debugscript=picoprobe_cmsis_dap.tcl
adafruit_metro.menu.uploadmethod.default.upload.maximum_data_size=262144
adafruit_metro.menu.uploadmethod.default.upload.tool=uf2conv
adafruit_metro.menu.uploadmethod.default.upload.tool.default=uf2conv
adafruit_metro.menu.uploadmethod.default.upload.tool.network=uf2conv-network
adafruit_metro.menu.uploadmethod.picotool=Picotool
adafruit_metro.menu.uploadmethod.picotool.build.ram_length=256k
adafruit_metro.menu.uploadmethod.picotool.build.debugscript=picoprobe.tcl
adafruit_metro.menu.uploadmethod.picotool.build.picodebugflags=-DENABLE_PICOTOOL_USB
adafruit_metro.menu.uploadmethod.picotool.upload.maximum_data_size=262144
adafruit_metro.menu.uploadmethod.picotool.upload.tool=picotool
adafruit_metro.menu.uploadmethod.picotool.upload.tool.default=picotool
adafruit_metro.menu.uploadmethod.picoprobe=Picoprobe
adafruit_metro.menu.uploadmethod.picoprobe.build.ram_length=256k
adafruit_metro.menu.uploadmethod.picoprobe.build.debugscript=picoprobe.tcl
adafruit_metro.menu.uploadmethod.picoprobe.upload.maximum_data_size=262144
adafruit_metro.menu.uploadmethod.picoprobe.upload.tool=picoprobe
adafruit_metro.menu.uploadmethod.picoprobe.upload.tool.default=picoprobe
adafruit_metro.menu.uploadmethod.picoprobe_cmsis_dap=Picoprobe (CMSIS-DAP)
adafruit_metro.menu.uploadmethod.picoprobe_cmsis_dap.build.ram_length=256k
adafruit_metro.menu.uploadmethod.picoprobe_cmsis_dap.build.debugscript=picoprobe_cmsis_dap.tcl
adafruit_metro.menu.uploadmethod.picoprobe_cmsis_dap.upload.maximum_data_size=262144
adafruit_metro.menu.uploadmethod.picoprobe_cmsis_dap.upload.tool=picoprobe_cmsis_dap
adafruit_metro.menu.uploadmethod.picoprobe_cmsis_dap.upload.tool.default=picoprobe_cmsis_dap
adafruit_metro.menu.uploadmethod.picodebug=Pico-Debug
adafruit_metro.menu.uploadmethod.picodebug.build.ram_length=240k
adafruit_metro.menu.uploadmethod.picodebug.build.debugscript=picodebug.tcl
adafruit_metro.menu.uploadmethod.picodebug.build.picodebugflags=-UUSE_TINYUSB -DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico
adafruit_metro.menu.uploadmethod.picodebug.upload.maximum_data_size=245760
adafruit_metro.menu.uploadmethod.picodebug.upload.tool=picodebug
adafruit_metro.menu.uploadmethod.picodebug.upload.tool.default=picodebug
# -----------------------------------
# Adafruit QT Py RP2040
# -----------------------------------
...
...
package/package_pico_index.template.json
View file @
678cd2c4
...
...
@@ -53,6 +53,9 @@
{
"name"
:
"Adafruit ItsyBitsy RP2040"
},
{
"name"
:
"Adafruit Metro RP2040"
},
{
"name"
:
"Adafruit QT Py RP2040"
},
...
...
tools/json/adafruit_metro.json
0 → 100644
View file @
678cd2c4
{
"build"
:
{
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25q080_2_padded_checksum.S"
,
"usb_vid"
:
"0x239A"
,
"usb_pid"
:
"0x813D"
}
},
"core"
:
"earlephilhower"
,
"cpu"
:
"cortex-m0plus"
,
"extra_flags"
:
"-D ARDUINO_ADAFRUIT_METRO_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250"
,
"f_cpu"
:
"133000000L"
,
"hwids"
:
[
[
"0x2E8A"
,
"0x00C0"
],
[
"0x239A"
,
"0x813D"
]
],
"mcu"
:
"rp2040"
,
"variant"
:
"adafruit_metro"
},
"debug"
:
{
"jlink_device"
:
"RP2040_M0_0"
,
"openocd_target"
:
"rp2040.cfg"
,
"svd_path"
:
"rp2040.svd"
},
"frameworks"
:
[
"arduino"
],
"name"
:
"Metro RP2040"
,
"upload"
:
{
"maximum_ram_size"
:
270336
,
"maximum_size"
:
16777216
,
"require_upload_port"
:
true
,
"native_usb"
:
true
,
"use_1200bps_touch"
:
true
,
"wait_for_upload_port"
:
false
,
"protocol"
:
"picotool"
,
"protocols"
:
[
"blackmagic"
,
"cmsis-dap"
,
"jlink"
,
"raspberrypi-swd"
,
"picotool"
,
"picoprobe"
,
"pico-debug"
]
},
"url"
:
"https://www.raspberrypi.org/products/raspberry-pi-pico/"
,
"vendor"
:
"Adafruit"
}
tools/makeboards.py
View file @
678cd2c4
...
...
@@ -348,6 +348,7 @@ MakeBoard("adafruit_feather_usb_host", "Adafruit", "Feather RP2040 USB Host", "0
MakeBoard
(
"adafruit_feather_can"
,
"Adafruit"
,
"Feather RP2040 CAN"
,
"0x239a"
,
"0x812f"
,
250
,
"ADAFRUIT_FEATHER_RP2040_CAN"
,
8
,
"boot2_w25q080_2_padded_checksum"
)
MakeBoard
(
"adafruit_feather_prop_maker"
,
"Adafruit"
,
"Feather RP2040 Prop-Maker"
,
"0x239a"
,
"0x8131"
,
250
,
"ADAFRUIT_FEATHER_RP2040_PROP_MAKER"
,
8
,
"boot2_w25q080_2_padded_checksum"
)
MakeBoard
(
"adafruit_itsybitsy"
,
"Adafruit"
,
"ItsyBitsy RP2040"
,
"0x239a"
,
"0x80fd"
,
250
,
"ADAFRUIT_ITSYBITSY_RP2040"
,
8
,
"boot2_w25q080_2_padded_checksum"
)
MakeBoard
(
"adafruit_metro"
,
"Adafruit"
,
"Metro RP2040"
,
"0x239a"
,
"0x813d"
,
250
,
"ADAFRUIT_METRO_RP2040"
,
16
,
"boot2_w25q080_2_padded_checksum"
)
MakeBoard
(
"adafruit_qtpy"
,
"Adafruit"
,
"QT Py RP2040"
,
"0x239a"
,
"0x80f7"
,
250
,
"ADAFRUIT_QTPY_RP2040"
,
8
,
"boot2_w25q080_2_padded_checksum"
)
MakeBoard
(
"adafruit_stemmafriend"
,
"Adafruit"
,
"STEMMA Friend RP2040"
,
"0x239a"
,
"0x80e3"
,
250
,
"ADAFRUIT_STEMMAFRIEND_RP2040"
,
8
,
"boot2_w25q080_2_padded_checksum"
)
MakeBoard
(
"adafruit_trinkeyrp2040qt"
,
"Adafruit"
,
"Trinkey RP2040 QT"
,
"0x239a"
,
"0x8109"
,
250
,
"ADAFRUIT_TRINKEYQT_RP2040"
,
8
,
"boot2_w25q080_2_padded_checksum"
)
...
...
variants/adafruit_metro/pins_arduino.h
0 → 100644
View file @
678cd2c4
#pragma once
// LEDs
#define PIN_LED (13u)
// NeoPixel
#define PIN_NEOPIXEL (14u)
// Serial
#define PIN_SERIAL1_TX (0u)
#define PIN_SERIAL1_RX (1u)
// Not pinned out
#define PIN_SERIAL2_TX (31u)
#define PIN_SERIAL2_RX (31u)
// SPI
#define PIN_SPI0_MISO (20u)
#define PIN_SPI0_MOSI (19u)
#define PIN_SPI0_SCK (18u)
#define PIN_SPI0_SS (23u)
// 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 __WIRE0_DEVICE i2c0
#define PIN_WIRE0_SDA (16u)
#define PIN_WIRE0_SCL (17u)
#define __WIRE1_DEVICE i2c1
#define PIN_WIRE1_SDA (2u)
#define PIN_WIRE1_SCL (3u)
#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