Unverified Commit 481ee1c9 authored by Earle F. Philhower, III's avatar Earle F. Philhower, III Committed by GitHub

Merge pull request #55 from earlephilhower/openocd

Add picoprobe upload support, cleanup up boards
parents 8dcad984 1290f72e
# Arduino-Pico [![Join the chat at https://gitter.im/arduino-pico/community](https://badges.gitter.im/arduino-pico/community.svg)](https://gitter.im/arduino-pico/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
Raspberry Pi Pico Arduino core, for all RP2040 boards
This is a port of the RP2040 (Raspberry Pi Pico processor) to the Arduino ecosystem.
......@@ -67,18 +66,36 @@ Them hit the upload button and your sketch should upload and run.
In some cases the Pico will encounter a hard hang and its USB port will not respond to the auto-reset request. Should this happen, just
follow the initial procedure of holding the BOOTSEL button down while plugging in the Pico to enter the ROM bootloader.
# Uploading with Picoprobe
If you have built a Raspberry Pi Picoprobe, you can use OpenOCD to handle your sketch uploads and for debugging with GDB.
Under Windows a local admin user should be able to access the Picoprobe port automatically, but under Linux `udev` must be told about the device and to allow normal users access.
To set up user-level access to Picoprobes on Ubuntu (and other OSes which use `udev`):
````
echo 'SUBSYSTEMS=="usb", ATTRS{idVendor}=="2e8a", ATTRS{idProduct}=="0004", GROUP="users", MODE="0666"' | sudo tee -a /etc/udev/rules.d/98-PicoProbe.rules
sudo udevadm control --reload
````
The first line creates a file with the USB vendor and ID of the Picoprobe and tells UDEV to give users full access to it. The second causes `udev` to load this new rule. Note that you will need to unplug and re-plug in your device the first time you create this file, to allow udev to make the device node properly.
Once Picoprobe permissions are set up properly, then select the board "Raspberry Pi Pico (Picoprobe)" in the Tools menu and upload as normal.
# Debugging with Picoprobe, OpenOCD, and GDB
The installed tools include a version of OpenOCD (in the pqt-openocd directory) and GDB (in the pqt-gcc directory). These may be used to run GDB in an interactive window as documented in the Pico Getting Started manuals from the Raspberry Pi Foundation.
# Status of Port
Lots of things are working now!
* digitalWrite/Read (basic sanity tested)
* shiftIn/Out (tested using Nokia5110 https://github.com/ionpan/Nokia5110)
* SPI (tested using SdFat 2.0 https://github.com/greiman/SdFat ... note that the Pico voltage regulator can't reliably supply enough power for a SD Card so use external power, and adjust the `USE_SIMPLE_LITTLE_ENDIAN` define in `src/sdfat.h` to 0)
* analogWrite/PWM (tested using Fade.ino)
* tone/noTone (using IRQ generated waveform)
Relatively stable and very functional, but bug reports and PRs always accepted.
* digitalWrite/Read
* shiftIn/Out
* SPI master (tested using SdFat 2.0 https://github.com/greiman/SdFat ... note that the Pico voltage regulator can't reliably supply enough power for a SD Card so use external power, and adjust the `USE_SIMPLE_LITTLE_ENDIAN` define in `src/sdfat.h` to 0)
* analogWrite/PWM
* tone/noTone
* Wire/I2C Master and Slave (tested using DS3231 https://github.com/rodan/ds3231)
* EEPROM (tested examples)
* EEPROM
* USB Serial(ACM) w/automatic reboot-to-UF2 upload)
* Hardware UART
* Servo (basic waveform testing, disables/re-enables without any short pulses)
* Servo
* Overclocking and underclocking from the menus
* printf (i.e. debug) output over USB serial
......@@ -95,7 +112,7 @@ Some major features I want to add are:
# Tutorials from Across the Web
Here are some links to coverage and additional tutorials for using `arduino-pico`
* Arduino Support for the Pi Pico available! And how fast is the Pico? - https://youtu.be/-XHh17cuH5E
* Pre-release Adafruit QT Pi RP2040 - https://www.youtube.com/watch?v=sfC1msqXX0I
* Pre-release Adafruit QT Py RP2040 - https://www.youtube.com/watch?v=sfC1msqXX0I
# Contributing
If you want to contribute or have bugfixes, drop me a note at <earlephilhower@yahoo.com> or open an issue/PR here.
......
......@@ -34,6 +34,12 @@ rpipico.menu.flash.2097152_65536.build.flash_length=2027520
rpipico.menu.flash.2097152_65536.build.eeprom_start=270528512
rpipico.menu.flash.2097152_65536.build.fs_start=270462976
rpipico.menu.flash.2097152_65536.build.fs_end=270528512
rpipico.menu.flash.2097152_131072=2MB (FS: 128KB)
rpipico.menu.flash.2097152_131072.upload.maximum_size=1961984
rpipico.menu.flash.2097152_131072.build.flash_length=1961984
rpipico.menu.flash.2097152_131072.build.eeprom_start=270528512
rpipico.menu.flash.2097152_131072.build.fs_start=270397440
rpipico.menu.flash.2097152_131072.build.fs_end=270528512
rpipico.menu.flash.2097152_262144=2MB (FS: 256KB)
rpipico.menu.flash.2097152_262144.upload.maximum_size=1830912
rpipico.menu.flash.2097152_262144.build.flash_length=1830912
......@@ -94,6 +100,103 @@ rpipico.menu.dbglvl.All=All
rpipico.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE
rpipico.menu.dbglvl.NDEBUG=NDEBUG
rpipico.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
rpipicopicoprobe.name=Raspberry Pi Pico (Picoprobe)
rpipicopicoprobe.vid.0=0x2e8a
rpipicopicoprobe.pid.0=0x000a
rpipicopicoprobe.build.usbpid=-DSERIALUSB_PID=0x000a
rpipicopicoprobe.build.board=RASPBERRY_PI_PICO
rpipicopicoprobe.build.mcu=cortex-m0plus
rpipicopicoprobe.build.variant=rpipico
rpipicopicoprobe.upload.tool=picoprobe
rpipicopicoprobe.upload.maximum_size=2097152
rpipicopicoprobe.upload.maximum_data_size=262144
rpipicopicoprobe.upload.wait_for_upload_port=true
rpipicopicoprobe.upload.erase_cmd=
rpipicopicoprobe.serial.disableDTR=false
rpipicopicoprobe.serial.disableRTS=false
rpipicopicoprobe.build.f_cpu=125000000
rpipicopicoprobe.build.led=
rpipicopicoprobe.build.core=rp2040
rpipicopicoprobe.build.mcu=rp2040
rpipicopicoprobe.build.ldscript=memmap_default.ld
rpipicopicoprobe.menu.flash.2097152_0=2MB (no FS)
rpipicopicoprobe.menu.flash.2097152_0.upload.maximum_size=2093056
rpipicopicoprobe.menu.flash.2097152_0.build.flash_length=2093056
rpipicopicoprobe.menu.flash.2097152_0.build.eeprom_start=270528512
rpipicopicoprobe.menu.flash.2097152_0.build.fs_start=270528512
rpipicopicoprobe.menu.flash.2097152_0.build.fs_end=270528512
rpipicopicoprobe.menu.flash.2097152_65536=2MB (FS: 64KB)
rpipicopicoprobe.menu.flash.2097152_65536.upload.maximum_size=2027520
rpipicopicoprobe.menu.flash.2097152_65536.build.flash_length=2027520
rpipicopicoprobe.menu.flash.2097152_65536.build.eeprom_start=270528512
rpipicopicoprobe.menu.flash.2097152_65536.build.fs_start=270462976
rpipicopicoprobe.menu.flash.2097152_65536.build.fs_end=270528512
rpipicopicoprobe.menu.flash.2097152_131072=2MB (FS: 128KB)
rpipicopicoprobe.menu.flash.2097152_131072.upload.maximum_size=1961984
rpipicopicoprobe.menu.flash.2097152_131072.build.flash_length=1961984
rpipicopicoprobe.menu.flash.2097152_131072.build.eeprom_start=270528512
rpipicopicoprobe.menu.flash.2097152_131072.build.fs_start=270397440
rpipicopicoprobe.menu.flash.2097152_131072.build.fs_end=270528512
rpipicopicoprobe.menu.flash.2097152_262144=2MB (FS: 256KB)
rpipicopicoprobe.menu.flash.2097152_262144.upload.maximum_size=1830912
rpipicopicoprobe.menu.flash.2097152_262144.build.flash_length=1830912
rpipicopicoprobe.menu.flash.2097152_262144.build.eeprom_start=270528512
rpipicopicoprobe.menu.flash.2097152_262144.build.fs_start=270266368
rpipicopicoprobe.menu.flash.2097152_262144.build.fs_end=270528512
rpipicopicoprobe.menu.flash.2097152_524288=2MB (FS: 512KB)
rpipicopicoprobe.menu.flash.2097152_524288.upload.maximum_size=1568768
rpipicopicoprobe.menu.flash.2097152_524288.build.flash_length=1568768
rpipicopicoprobe.menu.flash.2097152_524288.build.eeprom_start=270528512
rpipicopicoprobe.menu.flash.2097152_524288.build.fs_start=270004224
rpipicopicoprobe.menu.flash.2097152_524288.build.fs_end=270528512
rpipicopicoprobe.menu.flash.2097152_1048576=2MB (FS: 1MB)
rpipicopicoprobe.menu.flash.2097152_1048576.upload.maximum_size=1044480
rpipicopicoprobe.menu.flash.2097152_1048576.build.flash_length=1044480
rpipicopicoprobe.menu.flash.2097152_1048576.build.eeprom_start=270528512
rpipicopicoprobe.menu.flash.2097152_1048576.build.fs_start=269479936
rpipicopicoprobe.menu.flash.2097152_1048576.build.fs_end=270528512
rpipicopicoprobe.menu.freq.125=125 MHz
rpipicopicoprobe.menu.freq.125.build.f_cpu=125000000L
rpipicopicoprobe.menu.freq.50=50 MHz
rpipicopicoprobe.menu.freq.50.build.f_cpu=50000000L
rpipicopicoprobe.menu.freq.100=100 MHz
rpipicopicoprobe.menu.freq.100.build.f_cpu=100000000L
rpipicopicoprobe.menu.freq.133=133 MHz
rpipicopicoprobe.menu.freq.133.build.f_cpu=133000000L
rpipicopicoprobe.menu.freq.150=150 MHz (Overclock)
rpipicopicoprobe.menu.freq.150.build.f_cpu=150000000L
rpipicopicoprobe.menu.freq.175=175 MHz (Overclock)
rpipicopicoprobe.menu.freq.175.build.f_cpu=175000000L
rpipicopicoprobe.menu.freq.200=200 MHz (Overclock)
rpipicopicoprobe.menu.freq.200.build.f_cpu=200000000L
rpipicopicoprobe.menu.freq.225=225 MHz (Overclock)
rpipicopicoprobe.menu.freq.225.build.f_cpu=225000000L
rpipicopicoprobe.menu.freq.250=250 MHz (Overclock)
rpipicopicoprobe.menu.freq.250.build.f_cpu=250000000L
rpipicopicoprobe.menu.freq.275=275 MHz (Overclock)
rpipicopicoprobe.menu.freq.275.build.f_cpu=275000000L
rpipicopicoprobe.menu.freq.300=300 MHz (Overclock)
rpipicopicoprobe.menu.freq.300.build.f_cpu=300000000L
rpipicopicoprobe.menu.dbgport.Disabled=Disabled
rpipicopicoprobe.menu.dbgport.Disabled.build.debug_port=
rpipicopicoprobe.menu.dbgport.Serial=Serial
rpipicopicoprobe.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial
rpipicopicoprobe.menu.dbgport.Serial1=Serial1
rpipicopicoprobe.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1
rpipicopicoprobe.menu.dbgport.Serial2=Serial2
rpipicopicoprobe.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2
rpipicopicoprobe.menu.dbglvl.None=None
rpipicopicoprobe.menu.dbglvl.None.build.debug_level=
rpipicopicoprobe.menu.dbglvl.Core=Core
rpipicopicoprobe.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE
rpipicopicoprobe.menu.dbglvl.SPI=SPI
rpipicopicoprobe.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI
rpipicopicoprobe.menu.dbglvl.Wire=Wire
rpipicopicoprobe.menu.dbglvl.Wire.build.debug_level=DDEBUG_RP2040_WIRE
rpipicopicoprobe.menu.dbglvl.All=All
rpipicopicoprobe.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE
rpipicopicoprobe.menu.dbglvl.NDEBUG=NDEBUG
rpipicopicoprobe.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
adafruitfeather.name=Adafruit Feather RP2040
adafruitfeather.vid.0=0x2e8a
adafruitfeather.pid.0=0x000b
......@@ -125,6 +228,12 @@ adafruitfeather.menu.flash.8388608_65536.build.flash_length=8318976
adafruitfeather.menu.flash.8388608_65536.build.eeprom_start=276819968
adafruitfeather.menu.flash.8388608_65536.build.fs_start=276754432
adafruitfeather.menu.flash.8388608_65536.build.fs_end=276819968
adafruitfeather.menu.flash.8388608_131072=8MB (FS: 128KB)
adafruitfeather.menu.flash.8388608_131072.upload.maximum_size=8253440
adafruitfeather.menu.flash.8388608_131072.build.flash_length=8253440
adafruitfeather.menu.flash.8388608_131072.build.eeprom_start=276819968
adafruitfeather.menu.flash.8388608_131072.build.fs_start=276688896
adafruitfeather.menu.flash.8388608_131072.build.fs_end=276819968
adafruitfeather.menu.flash.8388608_262144=8MB (FS: 256KB)
adafruitfeather.menu.flash.8388608_262144.upload.maximum_size=8122368
adafruitfeather.menu.flash.8388608_262144.build.flash_length=8122368
......@@ -221,15 +330,148 @@ adafruitfeather.menu.dbglvl.All=All
adafruitfeather.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE
adafruitfeather.menu.dbglvl.NDEBUG=NDEBUG
adafruitfeather.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
adafruitfeatherpicoprobe.name=Adafruit Feather RP2040 (Picoprobe)
adafruitfeatherpicoprobe.vid.0=0x2e8a
adafruitfeatherpicoprobe.pid.0=0x000b
adafruitfeatherpicoprobe.build.usbpid=-DSERIALUSB_PID=0x000b
adafruitfeatherpicoprobe.build.board=ADAFRUIT_FEATHER_RP2040
adafruitfeatherpicoprobe.build.mcu=cortex-m0plus
adafruitfeatherpicoprobe.build.variant=adafruitfeather
adafruitfeatherpicoprobe.upload.tool=picoprobe
adafruitfeatherpicoprobe.upload.maximum_size=8388608
adafruitfeatherpicoprobe.upload.maximum_data_size=262144
adafruitfeatherpicoprobe.upload.wait_for_upload_port=true
adafruitfeatherpicoprobe.upload.erase_cmd=
adafruitfeatherpicoprobe.serial.disableDTR=false
adafruitfeatherpicoprobe.serial.disableRTS=false
adafruitfeatherpicoprobe.build.f_cpu=125000000
adafruitfeatherpicoprobe.build.led=
adafruitfeatherpicoprobe.build.core=rp2040
adafruitfeatherpicoprobe.build.mcu=rp2040
adafruitfeatherpicoprobe.build.ldscript=memmap_default.ld
adafruitfeatherpicoprobe.menu.flash.8388608_0=8MB (no FS)
adafruitfeatherpicoprobe.menu.flash.8388608_0.upload.maximum_size=8384512
adafruitfeatherpicoprobe.menu.flash.8388608_0.build.flash_length=8384512
adafruitfeatherpicoprobe.menu.flash.8388608_0.build.eeprom_start=276819968
adafruitfeatherpicoprobe.menu.flash.8388608_0.build.fs_start=276819968
adafruitfeatherpicoprobe.menu.flash.8388608_0.build.fs_end=276819968
adafruitfeatherpicoprobe.menu.flash.8388608_65536=8MB (FS: 64KB)
adafruitfeatherpicoprobe.menu.flash.8388608_65536.upload.maximum_size=8318976
adafruitfeatherpicoprobe.menu.flash.8388608_65536.build.flash_length=8318976
adafruitfeatherpicoprobe.menu.flash.8388608_65536.build.eeprom_start=276819968
adafruitfeatherpicoprobe.menu.flash.8388608_65536.build.fs_start=276754432
adafruitfeatherpicoprobe.menu.flash.8388608_65536.build.fs_end=276819968
adafruitfeatherpicoprobe.menu.flash.8388608_131072=8MB (FS: 128KB)
adafruitfeatherpicoprobe.menu.flash.8388608_131072.upload.maximum_size=8253440
adafruitfeatherpicoprobe.menu.flash.8388608_131072.build.flash_length=8253440
adafruitfeatherpicoprobe.menu.flash.8388608_131072.build.eeprom_start=276819968
adafruitfeatherpicoprobe.menu.flash.8388608_131072.build.fs_start=276688896
adafruitfeatherpicoprobe.menu.flash.8388608_131072.build.fs_end=276819968
adafruitfeatherpicoprobe.menu.flash.8388608_262144=8MB (FS: 256KB)
adafruitfeatherpicoprobe.menu.flash.8388608_262144.upload.maximum_size=8122368
adafruitfeatherpicoprobe.menu.flash.8388608_262144.build.flash_length=8122368
adafruitfeatherpicoprobe.menu.flash.8388608_262144.build.eeprom_start=276819968
adafruitfeatherpicoprobe.menu.flash.8388608_262144.build.fs_start=276557824
adafruitfeatherpicoprobe.menu.flash.8388608_262144.build.fs_end=276819968
adafruitfeatherpicoprobe.menu.flash.8388608_524288=8MB (FS: 512KB)
adafruitfeatherpicoprobe.menu.flash.8388608_524288.upload.maximum_size=7860224
adafruitfeatherpicoprobe.menu.flash.8388608_524288.build.flash_length=7860224
adafruitfeatherpicoprobe.menu.flash.8388608_524288.build.eeprom_start=276819968
adafruitfeatherpicoprobe.menu.flash.8388608_524288.build.fs_start=276295680
adafruitfeatherpicoprobe.menu.flash.8388608_524288.build.fs_end=276819968
adafruitfeatherpicoprobe.menu.flash.8388608_1048576=8MB (FS: 1MB)
adafruitfeatherpicoprobe.menu.flash.8388608_1048576.upload.maximum_size=7335936
adafruitfeatherpicoprobe.menu.flash.8388608_1048576.build.flash_length=7335936
adafruitfeatherpicoprobe.menu.flash.8388608_1048576.build.eeprom_start=276819968
adafruitfeatherpicoprobe.menu.flash.8388608_1048576.build.fs_start=275771392
adafruitfeatherpicoprobe.menu.flash.8388608_1048576.build.fs_end=276819968
adafruitfeatherpicoprobe.menu.flash.8388608_2097152=8MB (FS: 2MB)
adafruitfeatherpicoprobe.menu.flash.8388608_2097152.upload.maximum_size=6287360
adafruitfeatherpicoprobe.menu.flash.8388608_2097152.build.flash_length=6287360
adafruitfeatherpicoprobe.menu.flash.8388608_2097152.build.eeprom_start=276819968
adafruitfeatherpicoprobe.menu.flash.8388608_2097152.build.fs_start=274722816
adafruitfeatherpicoprobe.menu.flash.8388608_2097152.build.fs_end=276819968
adafruitfeatherpicoprobe.menu.flash.8388608_3145728=8MB (FS: 3MB)
adafruitfeatherpicoprobe.menu.flash.8388608_3145728.upload.maximum_size=5238784
adafruitfeatherpicoprobe.menu.flash.8388608_3145728.build.flash_length=5238784
adafruitfeatherpicoprobe.menu.flash.8388608_3145728.build.eeprom_start=276819968
adafruitfeatherpicoprobe.menu.flash.8388608_3145728.build.fs_start=273674240
adafruitfeatherpicoprobe.menu.flash.8388608_3145728.build.fs_end=276819968
adafruitfeatherpicoprobe.menu.flash.8388608_4194304=8MB (FS: 4MB)
adafruitfeatherpicoprobe.menu.flash.8388608_4194304.upload.maximum_size=4190208
adafruitfeatherpicoprobe.menu.flash.8388608_4194304.build.flash_length=4190208
adafruitfeatherpicoprobe.menu.flash.8388608_4194304.build.eeprom_start=276819968
adafruitfeatherpicoprobe.menu.flash.8388608_4194304.build.fs_start=272625664
adafruitfeatherpicoprobe.menu.flash.8388608_4194304.build.fs_end=276819968
adafruitfeatherpicoprobe.menu.flash.8388608_5242880=8MB (FS: 5MB)
adafruitfeatherpicoprobe.menu.flash.8388608_5242880.upload.maximum_size=3141632
adafruitfeatherpicoprobe.menu.flash.8388608_5242880.build.flash_length=3141632
adafruitfeatherpicoprobe.menu.flash.8388608_5242880.build.eeprom_start=276819968
adafruitfeatherpicoprobe.menu.flash.8388608_5242880.build.fs_start=271577088
adafruitfeatherpicoprobe.menu.flash.8388608_5242880.build.fs_end=276819968
adafruitfeatherpicoprobe.menu.flash.8388608_6291456=8MB (FS: 6MB)
adafruitfeatherpicoprobe.menu.flash.8388608_6291456.upload.maximum_size=2093056
adafruitfeatherpicoprobe.menu.flash.8388608_6291456.build.flash_length=2093056
adafruitfeatherpicoprobe.menu.flash.8388608_6291456.build.eeprom_start=276819968
adafruitfeatherpicoprobe.menu.flash.8388608_6291456.build.fs_start=270528512
adafruitfeatherpicoprobe.menu.flash.8388608_6291456.build.fs_end=276819968
adafruitfeatherpicoprobe.menu.flash.8388608_7340032=8MB (FS: 7MB)
adafruitfeatherpicoprobe.menu.flash.8388608_7340032.upload.maximum_size=1044480
adafruitfeatherpicoprobe.menu.flash.8388608_7340032.build.flash_length=1044480
adafruitfeatherpicoprobe.menu.flash.8388608_7340032.build.eeprom_start=276819968
adafruitfeatherpicoprobe.menu.flash.8388608_7340032.build.fs_start=269479936
adafruitfeatherpicoprobe.menu.flash.8388608_7340032.build.fs_end=276819968
adafruitfeatherpicoprobe.menu.freq.125=125 MHz
adafruitfeatherpicoprobe.menu.freq.125.build.f_cpu=125000000L
adafruitfeatherpicoprobe.menu.freq.50=50 MHz
adafruitfeatherpicoprobe.menu.freq.50.build.f_cpu=50000000L
adafruitfeatherpicoprobe.menu.freq.100=100 MHz
adafruitfeatherpicoprobe.menu.freq.100.build.f_cpu=100000000L
adafruitfeatherpicoprobe.menu.freq.133=133 MHz
adafruitfeatherpicoprobe.menu.freq.133.build.f_cpu=133000000L
adafruitfeatherpicoprobe.menu.freq.150=150 MHz (Overclock)
adafruitfeatherpicoprobe.menu.freq.150.build.f_cpu=150000000L
adafruitfeatherpicoprobe.menu.freq.175=175 MHz (Overclock)
adafruitfeatherpicoprobe.menu.freq.175.build.f_cpu=175000000L
adafruitfeatherpicoprobe.menu.freq.200=200 MHz (Overclock)
adafruitfeatherpicoprobe.menu.freq.200.build.f_cpu=200000000L
adafruitfeatherpicoprobe.menu.freq.225=225 MHz (Overclock)
adafruitfeatherpicoprobe.menu.freq.225.build.f_cpu=225000000L
adafruitfeatherpicoprobe.menu.freq.250=250 MHz (Overclock)
adafruitfeatherpicoprobe.menu.freq.250.build.f_cpu=250000000L
adafruitfeatherpicoprobe.menu.freq.275=275 MHz (Overclock)
adafruitfeatherpicoprobe.menu.freq.275.build.f_cpu=275000000L
adafruitfeatherpicoprobe.menu.freq.300=300 MHz (Overclock)
adafruitfeatherpicoprobe.menu.freq.300.build.f_cpu=300000000L
adafruitfeatherpicoprobe.menu.dbgport.Disabled=Disabled
adafruitfeatherpicoprobe.menu.dbgport.Disabled.build.debug_port=
adafruitfeatherpicoprobe.menu.dbgport.Serial=Serial
adafruitfeatherpicoprobe.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial
adafruitfeatherpicoprobe.menu.dbgport.Serial1=Serial1
adafruitfeatherpicoprobe.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1
adafruitfeatherpicoprobe.menu.dbgport.Serial2=Serial2
adafruitfeatherpicoprobe.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2
adafruitfeatherpicoprobe.menu.dbglvl.None=None
adafruitfeatherpicoprobe.menu.dbglvl.None.build.debug_level=
adafruitfeatherpicoprobe.menu.dbglvl.Core=Core
adafruitfeatherpicoprobe.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE
adafruitfeatherpicoprobe.menu.dbglvl.SPI=SPI
adafruitfeatherpicoprobe.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI
adafruitfeatherpicoprobe.menu.dbglvl.Wire=Wire
adafruitfeatherpicoprobe.menu.dbglvl.Wire.build.debug_level=DDEBUG_RP2040_WIRE
adafruitfeatherpicoprobe.menu.dbglvl.All=All
adafruitfeatherpicoprobe.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE
adafruitfeatherpicoprobe.menu.dbglvl.NDEBUG=NDEBUG
adafruitfeatherpicoprobe.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
generic.name=Generic RP2040
generic.vid.0=0x2e8a
generic.pid.0=0xf00a
generic.build.usbpid=-DSERIALUSB_PID=0xf00a
generic.build.board=GENERIC_RP2040
generic.build.mcu=cortex-m0plus
generic.build.variant=generif
generic.build.variant=generic
generic.upload.tool=uf2conv
generic.upload.maximum_size=2097152
generic.upload.maximum_size=16777216
generic.upload.maximum_data_size=262144
generic.upload.wait_for_upload_port=true
generic.upload.erase_cmd=
......@@ -240,36 +482,126 @@ generic.build.led=
generic.build.core=rp2040
generic.build.mcu=rp2040
generic.build.ldscript=memmap_default.ld
generic.menu.flash.2097152_0=2MB (no FS)
generic.menu.flash.2097152_0.upload.maximum_size=2093056
generic.menu.flash.2097152_0.build.flash_length=2093056
generic.menu.flash.2097152_0.build.eeprom_start=270528512
generic.menu.flash.2097152_0.build.fs_start=270528512
generic.menu.flash.2097152_0.build.fs_end=270528512
generic.menu.flash.2097152_65536=2MB (FS: 64KB)
generic.menu.flash.2097152_65536.upload.maximum_size=2027520
generic.menu.flash.2097152_65536.build.flash_length=2027520
generic.menu.flash.2097152_65536.build.eeprom_start=270528512
generic.menu.flash.2097152_65536.build.fs_start=270462976
generic.menu.flash.2097152_65536.build.fs_end=270528512
generic.menu.flash.2097152_262144=2MB (FS: 256KB)
generic.menu.flash.2097152_262144.upload.maximum_size=1830912
generic.menu.flash.2097152_262144.build.flash_length=1830912
generic.menu.flash.2097152_262144.build.eeprom_start=270528512
generic.menu.flash.2097152_262144.build.fs_start=270266368
generic.menu.flash.2097152_262144.build.fs_end=270528512
generic.menu.flash.2097152_524288=2MB (FS: 512KB)
generic.menu.flash.2097152_524288.upload.maximum_size=1568768
generic.menu.flash.2097152_524288.build.flash_length=1568768
generic.menu.flash.2097152_524288.build.eeprom_start=270528512
generic.menu.flash.2097152_524288.build.fs_start=270004224
generic.menu.flash.2097152_524288.build.fs_end=270528512
generic.menu.flash.2097152_1048576=2MB (FS: 1MB)
generic.menu.flash.2097152_1048576.upload.maximum_size=1044480
generic.menu.flash.2097152_1048576.build.flash_length=1044480
generic.menu.flash.2097152_1048576.build.eeprom_start=270528512
generic.menu.flash.2097152_1048576.build.fs_start=269479936
generic.menu.flash.2097152_1048576.build.fs_end=270528512
generic.menu.flash.16777216_0=16MB (no FS)
generic.menu.flash.16777216_0.upload.maximum_size=16773120
generic.menu.flash.16777216_0.build.flash_length=16773120
generic.menu.flash.16777216_0.build.eeprom_start=285208576
generic.menu.flash.16777216_0.build.fs_start=285208576
generic.menu.flash.16777216_0.build.fs_end=285208576
generic.menu.flash.16777216_65536=16MB (FS: 64KB)
generic.menu.flash.16777216_65536.upload.maximum_size=16707584
generic.menu.flash.16777216_65536.build.flash_length=16707584
generic.menu.flash.16777216_65536.build.eeprom_start=285208576
generic.menu.flash.16777216_65536.build.fs_start=285143040
generic.menu.flash.16777216_65536.build.fs_end=285208576
generic.menu.flash.16777216_131072=16MB (FS: 128KB)
generic.menu.flash.16777216_131072.upload.maximum_size=16642048
generic.menu.flash.16777216_131072.build.flash_length=16642048
generic.menu.flash.16777216_131072.build.eeprom_start=285208576
generic.menu.flash.16777216_131072.build.fs_start=285077504
generic.menu.flash.16777216_131072.build.fs_end=285208576
generic.menu.flash.16777216_262144=16MB (FS: 256KB)
generic.menu.flash.16777216_262144.upload.maximum_size=16510976
generic.menu.flash.16777216_262144.build.flash_length=16510976
generic.menu.flash.16777216_262144.build.eeprom_start=285208576
generic.menu.flash.16777216_262144.build.fs_start=284946432
generic.menu.flash.16777216_262144.build.fs_end=285208576
generic.menu.flash.16777216_524288=16MB (FS: 512KB)
generic.menu.flash.16777216_524288.upload.maximum_size=16248832
generic.menu.flash.16777216_524288.build.flash_length=16248832
generic.menu.flash.16777216_524288.build.eeprom_start=285208576
generic.menu.flash.16777216_524288.build.fs_start=284684288
generic.menu.flash.16777216_524288.build.fs_end=285208576
generic.menu.flash.16777216_1048576=16MB (FS: 1MB)
generic.menu.flash.16777216_1048576.upload.maximum_size=15724544
generic.menu.flash.16777216_1048576.build.flash_length=15724544
generic.menu.flash.16777216_1048576.build.eeprom_start=285208576
generic.menu.flash.16777216_1048576.build.fs_start=284160000
generic.menu.flash.16777216_1048576.build.fs_end=285208576
generic.menu.flash.16777216_2097152=16MB (FS: 2MB)
generic.menu.flash.16777216_2097152.upload.maximum_size=14675968
generic.menu.flash.16777216_2097152.build.flash_length=14675968
generic.menu.flash.16777216_2097152.build.eeprom_start=285208576
generic.menu.flash.16777216_2097152.build.fs_start=283111424
generic.menu.flash.16777216_2097152.build.fs_end=285208576
generic.menu.flash.16777216_3145728=16MB (FS: 3MB)
generic.menu.flash.16777216_3145728.upload.maximum_size=13627392
generic.menu.flash.16777216_3145728.build.flash_length=13627392
generic.menu.flash.16777216_3145728.build.eeprom_start=285208576
generic.menu.flash.16777216_3145728.build.fs_start=282062848
generic.menu.flash.16777216_3145728.build.fs_end=285208576
generic.menu.flash.16777216_4194304=16MB (FS: 4MB)
generic.menu.flash.16777216_4194304.upload.maximum_size=12578816
generic.menu.flash.16777216_4194304.build.flash_length=12578816
generic.menu.flash.16777216_4194304.build.eeprom_start=285208576
generic.menu.flash.16777216_4194304.build.fs_start=281014272
generic.menu.flash.16777216_4194304.build.fs_end=285208576
generic.menu.flash.16777216_5242880=16MB (FS: 5MB)
generic.menu.flash.16777216_5242880.upload.maximum_size=11530240
generic.menu.flash.16777216_5242880.build.flash_length=11530240
generic.menu.flash.16777216_5242880.build.eeprom_start=285208576
generic.menu.flash.16777216_5242880.build.fs_start=279965696
generic.menu.flash.16777216_5242880.build.fs_end=285208576
generic.menu.flash.16777216_6291456=16MB (FS: 6MB)
generic.menu.flash.16777216_6291456.upload.maximum_size=10481664
generic.menu.flash.16777216_6291456.build.flash_length=10481664
generic.menu.flash.16777216_6291456.build.eeprom_start=285208576
generic.menu.flash.16777216_6291456.build.fs_start=278917120
generic.menu.flash.16777216_6291456.build.fs_end=285208576
generic.menu.flash.16777216_7340032=16MB (FS: 7MB)
generic.menu.flash.16777216_7340032.upload.maximum_size=9433088
generic.menu.flash.16777216_7340032.build.flash_length=9433088
generic.menu.flash.16777216_7340032.build.eeprom_start=285208576
generic.menu.flash.16777216_7340032.build.fs_start=277868544
generic.menu.flash.16777216_7340032.build.fs_end=285208576
generic.menu.flash.16777216_8388608=16MB (FS: 8MB)
generic.menu.flash.16777216_8388608.upload.maximum_size=8384512
generic.menu.flash.16777216_8388608.build.flash_length=8384512
generic.menu.flash.16777216_8388608.build.eeprom_start=285208576
generic.menu.flash.16777216_8388608.build.fs_start=276819968
generic.menu.flash.16777216_8388608.build.fs_end=285208576
generic.menu.flash.16777216_9437184=16MB (FS: 9MB)
generic.menu.flash.16777216_9437184.upload.maximum_size=7335936
generic.menu.flash.16777216_9437184.build.flash_length=7335936
generic.menu.flash.16777216_9437184.build.eeprom_start=285208576
generic.menu.flash.16777216_9437184.build.fs_start=275771392
generic.menu.flash.16777216_9437184.build.fs_end=285208576
generic.menu.flash.16777216_10485760=16MB (FS: 10MB)
generic.menu.flash.16777216_10485760.upload.maximum_size=6287360
generic.menu.flash.16777216_10485760.build.flash_length=6287360
generic.menu.flash.16777216_10485760.build.eeprom_start=285208576
generic.menu.flash.16777216_10485760.build.fs_start=274722816
generic.menu.flash.16777216_10485760.build.fs_end=285208576
generic.menu.flash.16777216_11534336=16MB (FS: 11MB)
generic.menu.flash.16777216_11534336.upload.maximum_size=5238784
generic.menu.flash.16777216_11534336.build.flash_length=5238784
generic.menu.flash.16777216_11534336.build.eeprom_start=285208576
generic.menu.flash.16777216_11534336.build.fs_start=273674240
generic.menu.flash.16777216_11534336.build.fs_end=285208576
generic.menu.flash.16777216_12582912=16MB (FS: 12MB)
generic.menu.flash.16777216_12582912.upload.maximum_size=4190208
generic.menu.flash.16777216_12582912.build.flash_length=4190208
generic.menu.flash.16777216_12582912.build.eeprom_start=285208576
generic.menu.flash.16777216_12582912.build.fs_start=272625664
generic.menu.flash.16777216_12582912.build.fs_end=285208576
generic.menu.flash.16777216_13631488=16MB (FS: 13MB)
generic.menu.flash.16777216_13631488.upload.maximum_size=3141632
generic.menu.flash.16777216_13631488.build.flash_length=3141632
generic.menu.flash.16777216_13631488.build.eeprom_start=285208576
generic.menu.flash.16777216_13631488.build.fs_start=271577088
generic.menu.flash.16777216_13631488.build.fs_end=285208576
generic.menu.flash.16777216_14680064=16MB (FS: 14MB)
generic.menu.flash.16777216_14680064.upload.maximum_size=2093056
generic.menu.flash.16777216_14680064.build.flash_length=2093056
generic.menu.flash.16777216_14680064.build.eeprom_start=285208576
generic.menu.flash.16777216_14680064.build.fs_start=270528512
generic.menu.flash.16777216_14680064.build.fs_end=285208576
generic.menu.flash.16777216_15728640=16MB (FS: 15MB)
generic.menu.flash.16777216_15728640.upload.maximum_size=1044480
generic.menu.flash.16777216_15728640.build.flash_length=1044480
generic.menu.flash.16777216_15728640.build.eeprom_start=285208576
generic.menu.flash.16777216_15728640.build.fs_start=269479936
generic.menu.flash.16777216_15728640.build.fs_end=285208576
generic.menu.freq.125=125 MHz
generic.menu.freq.125.build.f_cpu=125000000L
generic.menu.freq.50=50 MHz
......@@ -312,3 +644,184 @@ generic.menu.dbglvl.All=All
generic.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE
generic.menu.dbglvl.NDEBUG=NDEBUG
generic.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
genericpicoprobe.name=Generic RP2040 (Picoprobe)
genericpicoprobe.vid.0=0x2e8a
genericpicoprobe.pid.0=0xf00a
genericpicoprobe.build.usbpid=-DSERIALUSB_PID=0xf00a
genericpicoprobe.build.board=GENERIC_RP2040
genericpicoprobe.build.mcu=cortex-m0plus
genericpicoprobe.build.variant=generic
genericpicoprobe.upload.tool=picoprobe
genericpicoprobe.upload.maximum_size=16777216
genericpicoprobe.upload.maximum_data_size=262144
genericpicoprobe.upload.wait_for_upload_port=true
genericpicoprobe.upload.erase_cmd=
genericpicoprobe.serial.disableDTR=false
genericpicoprobe.serial.disableRTS=false
genericpicoprobe.build.f_cpu=125000000
genericpicoprobe.build.led=
genericpicoprobe.build.core=rp2040
genericpicoprobe.build.mcu=rp2040
genericpicoprobe.build.ldscript=memmap_default.ld
genericpicoprobe.menu.flash.16777216_0=16MB (no FS)
genericpicoprobe.menu.flash.16777216_0.upload.maximum_size=16773120
genericpicoprobe.menu.flash.16777216_0.build.flash_length=16773120
genericpicoprobe.menu.flash.16777216_0.build.eeprom_start=285208576
genericpicoprobe.menu.flash.16777216_0.build.fs_start=285208576
genericpicoprobe.menu.flash.16777216_0.build.fs_end=285208576
genericpicoprobe.menu.flash.16777216_65536=16MB (FS: 64KB)
genericpicoprobe.menu.flash.16777216_65536.upload.maximum_size=16707584
genericpicoprobe.menu.flash.16777216_65536.build.flash_length=16707584
genericpicoprobe.menu.flash.16777216_65536.build.eeprom_start=285208576
genericpicoprobe.menu.flash.16777216_65536.build.fs_start=285143040
genericpicoprobe.menu.flash.16777216_65536.build.fs_end=285208576
genericpicoprobe.menu.flash.16777216_131072=16MB (FS: 128KB)
genericpicoprobe.menu.flash.16777216_131072.upload.maximum_size=16642048
genericpicoprobe.menu.flash.16777216_131072.build.flash_length=16642048
genericpicoprobe.menu.flash.16777216_131072.build.eeprom_start=285208576
genericpicoprobe.menu.flash.16777216_131072.build.fs_start=285077504
genericpicoprobe.menu.flash.16777216_131072.build.fs_end=285208576
genericpicoprobe.menu.flash.16777216_262144=16MB (FS: 256KB)
genericpicoprobe.menu.flash.16777216_262144.upload.maximum_size=16510976
genericpicoprobe.menu.flash.16777216_262144.build.flash_length=16510976
genericpicoprobe.menu.flash.16777216_262144.build.eeprom_start=285208576
genericpicoprobe.menu.flash.16777216_262144.build.fs_start=284946432
genericpicoprobe.menu.flash.16777216_262144.build.fs_end=285208576
genericpicoprobe.menu.flash.16777216_524288=16MB (FS: 512KB)
genericpicoprobe.menu.flash.16777216_524288.upload.maximum_size=16248832
genericpicoprobe.menu.flash.16777216_524288.build.flash_length=16248832
genericpicoprobe.menu.flash.16777216_524288.build.eeprom_start=285208576
genericpicoprobe.menu.flash.16777216_524288.build.fs_start=284684288
genericpicoprobe.menu.flash.16777216_524288.build.fs_end=285208576
genericpicoprobe.menu.flash.16777216_1048576=16MB (FS: 1MB)
genericpicoprobe.menu.flash.16777216_1048576.upload.maximum_size=15724544
genericpicoprobe.menu.flash.16777216_1048576.build.flash_length=15724544
genericpicoprobe.menu.flash.16777216_1048576.build.eeprom_start=285208576
genericpicoprobe.menu.flash.16777216_1048576.build.fs_start=284160000
genericpicoprobe.menu.flash.16777216_1048576.build.fs_end=285208576
genericpicoprobe.menu.flash.16777216_2097152=16MB (FS: 2MB)
genericpicoprobe.menu.flash.16777216_2097152.upload.maximum_size=14675968
genericpicoprobe.menu.flash.16777216_2097152.build.flash_length=14675968
genericpicoprobe.menu.flash.16777216_2097152.build.eeprom_start=285208576
genericpicoprobe.menu.flash.16777216_2097152.build.fs_start=283111424
genericpicoprobe.menu.flash.16777216_2097152.build.fs_end=285208576
genericpicoprobe.menu.flash.16777216_3145728=16MB (FS: 3MB)
genericpicoprobe.menu.flash.16777216_3145728.upload.maximum_size=13627392
genericpicoprobe.menu.flash.16777216_3145728.build.flash_length=13627392
genericpicoprobe.menu.flash.16777216_3145728.build.eeprom_start=285208576
genericpicoprobe.menu.flash.16777216_3145728.build.fs_start=282062848
genericpicoprobe.menu.flash.16777216_3145728.build.fs_end=285208576
genericpicoprobe.menu.flash.16777216_4194304=16MB (FS: 4MB)
genericpicoprobe.menu.flash.16777216_4194304.upload.maximum_size=12578816
genericpicoprobe.menu.flash.16777216_4194304.build.flash_length=12578816
genericpicoprobe.menu.flash.16777216_4194304.build.eeprom_start=285208576
genericpicoprobe.menu.flash.16777216_4194304.build.fs_start=281014272
genericpicoprobe.menu.flash.16777216_4194304.build.fs_end=285208576
genericpicoprobe.menu.flash.16777216_5242880=16MB (FS: 5MB)
genericpicoprobe.menu.flash.16777216_5242880.upload.maximum_size=11530240
genericpicoprobe.menu.flash.16777216_5242880.build.flash_length=11530240
genericpicoprobe.menu.flash.16777216_5242880.build.eeprom_start=285208576
genericpicoprobe.menu.flash.16777216_5242880.build.fs_start=279965696
genericpicoprobe.menu.flash.16777216_5242880.build.fs_end=285208576
genericpicoprobe.menu.flash.16777216_6291456=16MB (FS: 6MB)
genericpicoprobe.menu.flash.16777216_6291456.upload.maximum_size=10481664
genericpicoprobe.menu.flash.16777216_6291456.build.flash_length=10481664
genericpicoprobe.menu.flash.16777216_6291456.build.eeprom_start=285208576
genericpicoprobe.menu.flash.16777216_6291456.build.fs_start=278917120
genericpicoprobe.menu.flash.16777216_6291456.build.fs_end=285208576
genericpicoprobe.menu.flash.16777216_7340032=16MB (FS: 7MB)
genericpicoprobe.menu.flash.16777216_7340032.upload.maximum_size=9433088
genericpicoprobe.menu.flash.16777216_7340032.build.flash_length=9433088
genericpicoprobe.menu.flash.16777216_7340032.build.eeprom_start=285208576
genericpicoprobe.menu.flash.16777216_7340032.build.fs_start=277868544
genericpicoprobe.menu.flash.16777216_7340032.build.fs_end=285208576
genericpicoprobe.menu.flash.16777216_8388608=16MB (FS: 8MB)
genericpicoprobe.menu.flash.16777216_8388608.upload.maximum_size=8384512
genericpicoprobe.menu.flash.16777216_8388608.build.flash_length=8384512
genericpicoprobe.menu.flash.16777216_8388608.build.eeprom_start=285208576
genericpicoprobe.menu.flash.16777216_8388608.build.fs_start=276819968
genericpicoprobe.menu.flash.16777216_8388608.build.fs_end=285208576
genericpicoprobe.menu.flash.16777216_9437184=16MB (FS: 9MB)
genericpicoprobe.menu.flash.16777216_9437184.upload.maximum_size=7335936
genericpicoprobe.menu.flash.16777216_9437184.build.flash_length=7335936
genericpicoprobe.menu.flash.16777216_9437184.build.eeprom_start=285208576
genericpicoprobe.menu.flash.16777216_9437184.build.fs_start=275771392
genericpicoprobe.menu.flash.16777216_9437184.build.fs_end=285208576
genericpicoprobe.menu.flash.16777216_10485760=16MB (FS: 10MB)
genericpicoprobe.menu.flash.16777216_10485760.upload.maximum_size=6287360
genericpicoprobe.menu.flash.16777216_10485760.build.flash_length=6287360
genericpicoprobe.menu.flash.16777216_10485760.build.eeprom_start=285208576
genericpicoprobe.menu.flash.16777216_10485760.build.fs_start=274722816
genericpicoprobe.menu.flash.16777216_10485760.build.fs_end=285208576
genericpicoprobe.menu.flash.16777216_11534336=16MB (FS: 11MB)
genericpicoprobe.menu.flash.16777216_11534336.upload.maximum_size=5238784
genericpicoprobe.menu.flash.16777216_11534336.build.flash_length=5238784
genericpicoprobe.menu.flash.16777216_11534336.build.eeprom_start=285208576
genericpicoprobe.menu.flash.16777216_11534336.build.fs_start=273674240
genericpicoprobe.menu.flash.16777216_11534336.build.fs_end=285208576
genericpicoprobe.menu.flash.16777216_12582912=16MB (FS: 12MB)
genericpicoprobe.menu.flash.16777216_12582912.upload.maximum_size=4190208
genericpicoprobe.menu.flash.16777216_12582912.build.flash_length=4190208
genericpicoprobe.menu.flash.16777216_12582912.build.eeprom_start=285208576
genericpicoprobe.menu.flash.16777216_12582912.build.fs_start=272625664
genericpicoprobe.menu.flash.16777216_12582912.build.fs_end=285208576
genericpicoprobe.menu.flash.16777216_13631488=16MB (FS: 13MB)
genericpicoprobe.menu.flash.16777216_13631488.upload.maximum_size=3141632
genericpicoprobe.menu.flash.16777216_13631488.build.flash_length=3141632
genericpicoprobe.menu.flash.16777216_13631488.build.eeprom_start=285208576
genericpicoprobe.menu.flash.16777216_13631488.build.fs_start=271577088
genericpicoprobe.menu.flash.16777216_13631488.build.fs_end=285208576
genericpicoprobe.menu.flash.16777216_14680064=16MB (FS: 14MB)
genericpicoprobe.menu.flash.16777216_14680064.upload.maximum_size=2093056
genericpicoprobe.menu.flash.16777216_14680064.build.flash_length=2093056
genericpicoprobe.menu.flash.16777216_14680064.build.eeprom_start=285208576
genericpicoprobe.menu.flash.16777216_14680064.build.fs_start=270528512
genericpicoprobe.menu.flash.16777216_14680064.build.fs_end=285208576
genericpicoprobe.menu.flash.16777216_15728640=16MB (FS: 15MB)
genericpicoprobe.menu.flash.16777216_15728640.upload.maximum_size=1044480
genericpicoprobe.menu.flash.16777216_15728640.build.flash_length=1044480
genericpicoprobe.menu.flash.16777216_15728640.build.eeprom_start=285208576
genericpicoprobe.menu.flash.16777216_15728640.build.fs_start=269479936
genericpicoprobe.menu.flash.16777216_15728640.build.fs_end=285208576
genericpicoprobe.menu.freq.125=125 MHz
genericpicoprobe.menu.freq.125.build.f_cpu=125000000L
genericpicoprobe.menu.freq.50=50 MHz
genericpicoprobe.menu.freq.50.build.f_cpu=50000000L
genericpicoprobe.menu.freq.100=100 MHz
genericpicoprobe.menu.freq.100.build.f_cpu=100000000L
genericpicoprobe.menu.freq.133=133 MHz
genericpicoprobe.menu.freq.133.build.f_cpu=133000000L
genericpicoprobe.menu.freq.150=150 MHz (Overclock)
genericpicoprobe.menu.freq.150.build.f_cpu=150000000L
genericpicoprobe.menu.freq.175=175 MHz (Overclock)
genericpicoprobe.menu.freq.175.build.f_cpu=175000000L
genericpicoprobe.menu.freq.200=200 MHz (Overclock)
genericpicoprobe.menu.freq.200.build.f_cpu=200000000L
genericpicoprobe.menu.freq.225=225 MHz (Overclock)
genericpicoprobe.menu.freq.225.build.f_cpu=225000000L
genericpicoprobe.menu.freq.250=250 MHz (Overclock)
genericpicoprobe.menu.freq.250.build.f_cpu=250000000L
genericpicoprobe.menu.freq.275=275 MHz (Overclock)
genericpicoprobe.menu.freq.275.build.f_cpu=275000000L
genericpicoprobe.menu.freq.300=300 MHz (Overclock)
genericpicoprobe.menu.freq.300.build.f_cpu=300000000L
genericpicoprobe.menu.dbgport.Disabled=Disabled
genericpicoprobe.menu.dbgport.Disabled.build.debug_port=
genericpicoprobe.menu.dbgport.Serial=Serial
genericpicoprobe.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial
genericpicoprobe.menu.dbgport.Serial1=Serial1
genericpicoprobe.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1
genericpicoprobe.menu.dbgport.Serial2=Serial2
genericpicoprobe.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2
genericpicoprobe.menu.dbglvl.None=None
genericpicoprobe.menu.dbglvl.None.build.debug_level=
genericpicoprobe.menu.dbglvl.Core=Core
genericpicoprobe.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE
genericpicoprobe.menu.dbglvl.SPI=SPI
genericpicoprobe.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI
genericpicoprobe.menu.dbglvl.Wire=Wire
genericpicoprobe.menu.dbglvl.Wire.build.debug_level=DDEBUG_RP2040_WIRE
genericpicoprobe.menu.dbglvl.All=All
genericpicoprobe.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE
genericpicoprobe.menu.dbglvl.NDEBUG=NDEBUG
genericpicoprobe.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
......@@ -94,6 +94,8 @@ cat $srcdir/platform.txt | \
$SED 's/^runtime.tools.pqt-.*.path=.*//g' | \
$SED 's/^tools.uf2conv.cmd=.*//g' | \
$SED 's/^#tools.uf2conv.cmd=/tools.uf2conv.cmd=/g' | \
$SED 's/^tools.picoprobe.cmd=.*//g' | \
$SED 's/^#tools.picoprobe.cmd=/tools.picoprobe.cmd=/g' | \
$SED "s/version=.*/version=$ver/g" |\
$SED -E "s/name=([a-zA-Z0-9\ -]+).*/name=\1($ver)/g"\
> $outdir/platform.txt
......
......@@ -129,9 +129,15 @@ tools.uf2conv.path=
# "{runtime.tools.pqt-python3.path}/python3" for JSON board manager releases.
#tools.uf2conv.cmd={runtime.tools.pqt-python3.path}/python3
tools.uf2conv.cmd={runtime.platform.path}/system/python3/python3
tools.uf2conv.upload.protocol=uf2
tools.uf2conv.upload.params.verbose=
tools.uf2conv.upload.params.quiet=
tools.uf2conv.upload.pattern="{cmd}" "{runtime.platform.path}/tools/uf2conv.py" --serial "{serial.port}" --family RP2040 --deploy "{build.path}/{build.project_name}.uf2"
#tools.picoprobe.cmd={runtime.tools.pqt-openocd.path}
tools.picoprobe.cmd={runtime.platform.path}/system/openocd
tools.picoprobe.upload.protocol=picoprobe
tools.picoprobe.upload.params.verbose=
tools.picoprobe.upload.params.quiet=
tools.picoprobe.upload.pattern="{cmd}/bin/openocd" -f "interface/picoprobe.cfg" -f "target/rp2040.cfg" -s "{cmd}/share/openocd/scripts" -c "program {build.path}/{build.project_name}.elf verify reset exit"
......@@ -64,22 +64,22 @@ def BuildGlobalMenuList():
print("menu.dbgport=Debug Port")
print("menu.dbglvl=Debug Level")
BuildGlobalMenuList()
BuildHeader("rpipico", "Raspberry Pi Pico", "0x000a", "RASPBERRY_PI_PICO", "rpipico", "uf2conv", 2 * 1024*1024)
BuildFlashMenu("rpipico", 2 * 1024 * 1024, [ 0, 64 * 1024, 256 * 1024, 512 * 1024, 1024 * 1024 ])
BuildFreq("rpipico")
BuildDebugPort("rpipico")
BuildDebugLevel("rpipico")
def MakeBoard(name, prettyname, pid, boarddefine, flashsizemb):
for a, b, c in [ ["", "", "uf2conv"], ["picoprobe", " (Picoprobe)", "picoprobe"]]:
n = name + a
p = prettyname + b
fssizelist = [ 0, 64 * 1024, 128 * 1024, 256 * 1024, 512 * 1024 ]
for i in range(1, flashsizemb):
fssizelist.append(i * 1024 * 1024)
BuildHeader(n, p, pid, boarddefine, name, c, flashsizemb * 1024 * 1024)
BuildFlashMenu(n, flashsizemb * 1024 * 1024, fssizelist)
BuildFreq(n)
BuildDebugPort(n)
BuildDebugLevel(n)
BuildHeader("adafruitfeather", "Adafruit Feather RP2040", "0x000b", "ADAFRUIT_FEATHER_RP2040", "adafruitfeather", "uf2conv", 8 *1024*1024)
BuildFlashMenu("adafruitfeather", 8 * 1024 * 1024, [ 0, 64 * 1024, 256 * 1024, 512 * 1024, 1024 * 1024, 2 * 1024 * 1024, 3 * 1024 * 1024, 4 * 1024 *1024, 5 * 1024 *1024, 6 * 1024*1024, 7*1024*1024 ])
BuildFreq("adafruitfeather")
BuildDebugPort("adafruitfeather")
BuildDebugLevel("adafruitfeather")
BuildGlobalMenuList()
MakeBoard("rpipico", "Raspberry Pi Pico", "0x000a", "RASPBERRY_PI_PICO", 2)
MakeBoard("adafruitfeather", "Adafruit Feather RP2040", "0x000b", "ADAFRUIT_FEATHER_RP2040", 8)
MakeBoard("generic", "Generic RP2040", "0xf00a", "GENERIC_RP2040", 16)
BuildHeader("generic", "Generic RP2040", "0xf00a", "GENERIC_RP2040", "generif", "uf2conv", 2 * 1024*1024)
BuildFlashMenu("generic", 2 * 1024 * 1024, [ 0, 64 * 1024, 256 * 1024, 512 * 1024, 1024 * 1024 ])
BuildFreq("generic")
BuildDebugPort("generic")
BuildDebugLevel("generic")
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment