Unverified Commit f1060351 authored by Pontus Oldberg's avatar Pontus Oldberg Committed by GitHub

Adds support for Challenger NB RP2040 WiFi board and RPICO32 module (#366)

parent 21f49d03
......@@ -21,7 +21,9 @@ See https://arduino-pico.readthedocs.io/en/latest/ along with the examples for m
* Cytron Maker Pi RP2040
* Cytron Maker Nano RP2040
* Invector Labs Challenger RP2040 WiFi
* Invector Labs Challenger NB RP2040 WiFi
* Invector Labs Challenger RP2040 LTE
* Invector Labs RPICO32
* Melopero Shake RP2040
* SparkFun ProMicro RP2040
* uPesy RP2040 DevKit
......
......@@ -6766,6 +6766,980 @@ challenger_2040_ltepicodebug.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
challenger_2040_ltepicodebug.menu.usbstack.nousb=No USB
challenger_2040_ltepicodebug.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico"
# -----------------------------------
# iLabs Challenger NB 2040 WiFi
# -----------------------------------
challenger_nb_2040_wifi.name=iLabs Challenger NB 2040 WiFi
challenger_nb_2040_wifi.vid.0=0x2e8a
challenger_nb_2040_wifi.pid.0=0x100b
challenger_nb_2040_wifi.build.usbpid=-DSERIALUSB_PID=0x100b
challenger_nb_2040_wifi.build.board=CHALLENGER_2040_LTE_RP2040
challenger_nb_2040_wifi.build.mcu=cortex-m0plus
challenger_nb_2040_wifi.build.variant=challenger_nb_2040_wifi
challenger_nb_2040_wifi.upload.tool=uf2conv
challenger_nb_2040_wifi.upload.maximum_size=8388608
challenger_nb_2040_wifi.upload.maximum_data_size=262144
challenger_nb_2040_wifi.upload.wait_for_upload_port=true
challenger_nb_2040_wifi.upload.erase_cmd=
challenger_nb_2040_wifi.serial.disableDTR=false
challenger_nb_2040_wifi.serial.disableRTS=false
challenger_nb_2040_wifi.build.f_cpu=125000000
challenger_nb_2040_wifi.build.led=
challenger_nb_2040_wifi.build.core=rp2040
challenger_nb_2040_wifi.build.mcu=rp2040
challenger_nb_2040_wifi.build.ldscript=memmap_default.ld
challenger_nb_2040_wifi.build.ram_length=256k
challenger_nb_2040_wifi.build.boot2=boot2_w25q080_2_padded_checksum
challenger_nb_2040_wifi.build.vid=0x2e8a
challenger_nb_2040_wifi.build.pid=0x100b
challenger_nb_2040_wifi.build.usb_manufacturer="iLabs"
challenger_nb_2040_wifi.build.usb_product="Challenger NB 2040 WiFi"
challenger_nb_2040_wifi.menu.flash.8388608_0=8MB (no FS)
challenger_nb_2040_wifi.menu.flash.8388608_0.upload.maximum_size=8384512
challenger_nb_2040_wifi.menu.flash.8388608_0.build.flash_length=8384512
challenger_nb_2040_wifi.menu.flash.8388608_0.build.eeprom_start=276819968
challenger_nb_2040_wifi.menu.flash.8388608_0.build.fs_start=276819968
challenger_nb_2040_wifi.menu.flash.8388608_0.build.fs_end=276819968
challenger_nb_2040_wifi.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB)
challenger_nb_2040_wifi.menu.flash.8388608_65536.upload.maximum_size=8318976
challenger_nb_2040_wifi.menu.flash.8388608_65536.build.flash_length=8318976
challenger_nb_2040_wifi.menu.flash.8388608_65536.build.eeprom_start=276819968
challenger_nb_2040_wifi.menu.flash.8388608_65536.build.fs_start=276754432
challenger_nb_2040_wifi.menu.flash.8388608_65536.build.fs_end=276819968
challenger_nb_2040_wifi.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB)
challenger_nb_2040_wifi.menu.flash.8388608_131072.upload.maximum_size=8253440
challenger_nb_2040_wifi.menu.flash.8388608_131072.build.flash_length=8253440
challenger_nb_2040_wifi.menu.flash.8388608_131072.build.eeprom_start=276819968
challenger_nb_2040_wifi.menu.flash.8388608_131072.build.fs_start=276688896
challenger_nb_2040_wifi.menu.flash.8388608_131072.build.fs_end=276819968
challenger_nb_2040_wifi.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB)
challenger_nb_2040_wifi.menu.flash.8388608_262144.upload.maximum_size=8122368
challenger_nb_2040_wifi.menu.flash.8388608_262144.build.flash_length=8122368
challenger_nb_2040_wifi.menu.flash.8388608_262144.build.eeprom_start=276819968
challenger_nb_2040_wifi.menu.flash.8388608_262144.build.fs_start=276557824
challenger_nb_2040_wifi.menu.flash.8388608_262144.build.fs_end=276819968
challenger_nb_2040_wifi.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB)
challenger_nb_2040_wifi.menu.flash.8388608_524288.upload.maximum_size=7860224
challenger_nb_2040_wifi.menu.flash.8388608_524288.build.flash_length=7860224
challenger_nb_2040_wifi.menu.flash.8388608_524288.build.eeprom_start=276819968
challenger_nb_2040_wifi.menu.flash.8388608_524288.build.fs_start=276295680
challenger_nb_2040_wifi.menu.flash.8388608_524288.build.fs_end=276819968
challenger_nb_2040_wifi.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB)
challenger_nb_2040_wifi.menu.flash.8388608_1048576.upload.maximum_size=7335936
challenger_nb_2040_wifi.menu.flash.8388608_1048576.build.flash_length=7335936
challenger_nb_2040_wifi.menu.flash.8388608_1048576.build.eeprom_start=276819968
challenger_nb_2040_wifi.menu.flash.8388608_1048576.build.fs_start=275771392
challenger_nb_2040_wifi.menu.flash.8388608_1048576.build.fs_end=276819968
challenger_nb_2040_wifi.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB)
challenger_nb_2040_wifi.menu.flash.8388608_2097152.upload.maximum_size=6287360
challenger_nb_2040_wifi.menu.flash.8388608_2097152.build.flash_length=6287360
challenger_nb_2040_wifi.menu.flash.8388608_2097152.build.eeprom_start=276819968
challenger_nb_2040_wifi.menu.flash.8388608_2097152.build.fs_start=274722816
challenger_nb_2040_wifi.menu.flash.8388608_2097152.build.fs_end=276819968
challenger_nb_2040_wifi.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB)
challenger_nb_2040_wifi.menu.flash.8388608_3145728.upload.maximum_size=5238784
challenger_nb_2040_wifi.menu.flash.8388608_3145728.build.flash_length=5238784
challenger_nb_2040_wifi.menu.flash.8388608_3145728.build.eeprom_start=276819968
challenger_nb_2040_wifi.menu.flash.8388608_3145728.build.fs_start=273674240
challenger_nb_2040_wifi.menu.flash.8388608_3145728.build.fs_end=276819968
challenger_nb_2040_wifi.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB)
challenger_nb_2040_wifi.menu.flash.8388608_4194304.upload.maximum_size=4190208
challenger_nb_2040_wifi.menu.flash.8388608_4194304.build.flash_length=4190208
challenger_nb_2040_wifi.menu.flash.8388608_4194304.build.eeprom_start=276819968
challenger_nb_2040_wifi.menu.flash.8388608_4194304.build.fs_start=272625664
challenger_nb_2040_wifi.menu.flash.8388608_4194304.build.fs_end=276819968
challenger_nb_2040_wifi.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB)
challenger_nb_2040_wifi.menu.flash.8388608_5242880.upload.maximum_size=3141632
challenger_nb_2040_wifi.menu.flash.8388608_5242880.build.flash_length=3141632
challenger_nb_2040_wifi.menu.flash.8388608_5242880.build.eeprom_start=276819968
challenger_nb_2040_wifi.menu.flash.8388608_5242880.build.fs_start=271577088
challenger_nb_2040_wifi.menu.flash.8388608_5242880.build.fs_end=276819968
challenger_nb_2040_wifi.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB)
challenger_nb_2040_wifi.menu.flash.8388608_6291456.upload.maximum_size=2093056
challenger_nb_2040_wifi.menu.flash.8388608_6291456.build.flash_length=2093056
challenger_nb_2040_wifi.menu.flash.8388608_6291456.build.eeprom_start=276819968
challenger_nb_2040_wifi.menu.flash.8388608_6291456.build.fs_start=270528512
challenger_nb_2040_wifi.menu.flash.8388608_6291456.build.fs_end=276819968
challenger_nb_2040_wifi.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB)
challenger_nb_2040_wifi.menu.flash.8388608_7340032.upload.maximum_size=1044480
challenger_nb_2040_wifi.menu.flash.8388608_7340032.build.flash_length=1044480
challenger_nb_2040_wifi.menu.flash.8388608_7340032.build.eeprom_start=276819968
challenger_nb_2040_wifi.menu.flash.8388608_7340032.build.fs_start=269479936
challenger_nb_2040_wifi.menu.flash.8388608_7340032.build.fs_end=276819968
challenger_nb_2040_wifi.menu.freq.125=125 MHz
challenger_nb_2040_wifi.menu.freq.125.build.f_cpu=125000000L
challenger_nb_2040_wifi.menu.freq.50=50 MHz
challenger_nb_2040_wifi.menu.freq.50.build.f_cpu=50000000L
challenger_nb_2040_wifi.menu.freq.100=100 MHz
challenger_nb_2040_wifi.menu.freq.100.build.f_cpu=100000000L
challenger_nb_2040_wifi.menu.freq.133=133 MHz
challenger_nb_2040_wifi.menu.freq.133.build.f_cpu=133000000L
challenger_nb_2040_wifi.menu.freq.150=150 MHz (Overclock)
challenger_nb_2040_wifi.menu.freq.150.build.f_cpu=150000000L
challenger_nb_2040_wifi.menu.freq.175=175 MHz (Overclock)
challenger_nb_2040_wifi.menu.freq.175.build.f_cpu=175000000L
challenger_nb_2040_wifi.menu.freq.200=200 MHz (Overclock)
challenger_nb_2040_wifi.menu.freq.200.build.f_cpu=200000000L
challenger_nb_2040_wifi.menu.freq.225=225 MHz (Overclock)
challenger_nb_2040_wifi.menu.freq.225.build.f_cpu=225000000L
challenger_nb_2040_wifi.menu.freq.250=250 MHz (Overclock)
challenger_nb_2040_wifi.menu.freq.250.build.f_cpu=250000000L
challenger_nb_2040_wifi.menu.freq.275=275 MHz (Overclock)
challenger_nb_2040_wifi.menu.freq.275.build.f_cpu=275000000L
challenger_nb_2040_wifi.menu.freq.300=300 MHz (Overclock)
challenger_nb_2040_wifi.menu.freq.300.build.f_cpu=300000000L
challenger_nb_2040_wifi.menu.opt.Small=Small (-Os) (standard)
challenger_nb_2040_wifi.menu.opt.Small.build.flags.optimize=-Os
challenger_nb_2040_wifi.menu.opt.Optimize=Optimize (-O)
challenger_nb_2040_wifi.menu.opt.Optimize.build.flags.optimize=-O
challenger_nb_2040_wifi.menu.opt.Optimize2=Optimize More (-O2)
challenger_nb_2040_wifi.menu.opt.Optimize2.build.flags.optimize=-O2
challenger_nb_2040_wifi.menu.opt.Optimize3=Optimize Even More (-O3)
challenger_nb_2040_wifi.menu.opt.Optimize3.build.flags.optimize=-O3
challenger_nb_2040_wifi.menu.opt.Fast=Fast (-Ofast) (maybe slower)
challenger_nb_2040_wifi.menu.opt.Fast.build.flags.optimize=-Ofast
challenger_nb_2040_wifi.menu.opt.Debug=Debug (-Og)
challenger_nb_2040_wifi.menu.opt.Debug.build.flags.optimize=-Og
challenger_nb_2040_wifi.menu.rtti.Disabled=Disabled
challenger_nb_2040_wifi.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
challenger_nb_2040_wifi.menu.rtti.Enabled=Enabled
challenger_nb_2040_wifi.menu.rtti.Enabled.build.flags.rtti=
challenger_nb_2040_wifi.menu.dbgport.Disabled=Disabled
challenger_nb_2040_wifi.menu.dbgport.Disabled.build.debug_port=
challenger_nb_2040_wifi.menu.dbgport.Serial=Serial
challenger_nb_2040_wifi.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial
challenger_nb_2040_wifi.menu.dbgport.Serial1=Serial1
challenger_nb_2040_wifi.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1
challenger_nb_2040_wifi.menu.dbgport.Serial2=Serial2
challenger_nb_2040_wifi.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2
challenger_nb_2040_wifi.menu.dbglvl.None=None
challenger_nb_2040_wifi.menu.dbglvl.None.build.debug_level=
challenger_nb_2040_wifi.menu.dbglvl.Core=Core
challenger_nb_2040_wifi.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE
challenger_nb_2040_wifi.menu.dbglvl.SPI=SPI
challenger_nb_2040_wifi.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI
challenger_nb_2040_wifi.menu.dbglvl.Wire=Wire
challenger_nb_2040_wifi.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE
challenger_nb_2040_wifi.menu.dbglvl.All=All
challenger_nb_2040_wifi.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE
challenger_nb_2040_wifi.menu.dbglvl.NDEBUG=NDEBUG
challenger_nb_2040_wifi.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
challenger_nb_2040_wifi.menu.usbstack.picosdk=Pico SDK
challenger_nb_2040_wifi.menu.usbstack.picosdk.build.usbstack_flags="-I{runtime.platform.path}/tools/libpico"
challenger_nb_2040_wifi.menu.usbstack.tinyusb=Adafruit TinyUSB
challenger_nb_2040_wifi.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino"
# -----------------------------------
# iLabs Challenger NB 2040 WiFi (Picoprobe)
# -----------------------------------
challenger_nb_2040_wifipicoprobe.name=iLabs Challenger NB 2040 WiFi (Picoprobe)
challenger_nb_2040_wifipicoprobe.vid.0=0x2e8a
challenger_nb_2040_wifipicoprobe.pid.0=0x0004
challenger_nb_2040_wifipicoprobe.build.usbpid=-DSERIALUSB_PID=0x100b
challenger_nb_2040_wifipicoprobe.build.board=CHALLENGER_2040_LTE_RP2040
challenger_nb_2040_wifipicoprobe.build.mcu=cortex-m0plus
challenger_nb_2040_wifipicoprobe.build.variant=challenger_nb_2040_wifi
challenger_nb_2040_wifipicoprobe.upload.tool=picoprobe
challenger_nb_2040_wifipicoprobe.upload.maximum_size=8388608
challenger_nb_2040_wifipicoprobe.upload.maximum_data_size=262144
challenger_nb_2040_wifipicoprobe.upload.wait_for_upload_port=true
challenger_nb_2040_wifipicoprobe.upload.erase_cmd=
challenger_nb_2040_wifipicoprobe.serial.disableDTR=false
challenger_nb_2040_wifipicoprobe.serial.disableRTS=false
challenger_nb_2040_wifipicoprobe.build.f_cpu=125000000
challenger_nb_2040_wifipicoprobe.build.led=
challenger_nb_2040_wifipicoprobe.build.core=rp2040
challenger_nb_2040_wifipicoprobe.build.mcu=rp2040
challenger_nb_2040_wifipicoprobe.build.ldscript=memmap_default.ld
challenger_nb_2040_wifipicoprobe.build.ram_length=256k
challenger_nb_2040_wifipicoprobe.build.boot2=boot2_w25q080_2_padded_checksum
challenger_nb_2040_wifipicoprobe.build.vid=0x2e8a
challenger_nb_2040_wifipicoprobe.build.pid=0x100b
challenger_nb_2040_wifipicoprobe.build.usb_manufacturer="iLabs"
challenger_nb_2040_wifipicoprobe.build.usb_product="Challenger NB 2040 WiFi (Picoprobe)"
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_0=8MB (no FS)
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_0.upload.maximum_size=8384512
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_0.build.flash_length=8384512
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_0.build.eeprom_start=276819968
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_0.build.fs_start=276819968
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_0.build.fs_end=276819968
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB)
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_65536.upload.maximum_size=8318976
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_65536.build.flash_length=8318976
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_65536.build.eeprom_start=276819968
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_65536.build.fs_start=276754432
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_65536.build.fs_end=276819968
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB)
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_131072.upload.maximum_size=8253440
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_131072.build.flash_length=8253440
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_131072.build.eeprom_start=276819968
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_131072.build.fs_start=276688896
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_131072.build.fs_end=276819968
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB)
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_262144.upload.maximum_size=8122368
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_262144.build.flash_length=8122368
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_262144.build.eeprom_start=276819968
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_262144.build.fs_start=276557824
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_262144.build.fs_end=276819968
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB)
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_524288.upload.maximum_size=7860224
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_524288.build.flash_length=7860224
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_524288.build.eeprom_start=276819968
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_524288.build.fs_start=276295680
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_524288.build.fs_end=276819968
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB)
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_1048576.upload.maximum_size=7335936
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_1048576.build.flash_length=7335936
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_1048576.build.eeprom_start=276819968
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_1048576.build.fs_start=275771392
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_1048576.build.fs_end=276819968
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB)
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_2097152.upload.maximum_size=6287360
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_2097152.build.flash_length=6287360
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_2097152.build.eeprom_start=276819968
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_2097152.build.fs_start=274722816
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_2097152.build.fs_end=276819968
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB)
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_3145728.upload.maximum_size=5238784
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_3145728.build.flash_length=5238784
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_3145728.build.eeprom_start=276819968
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_3145728.build.fs_start=273674240
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_3145728.build.fs_end=276819968
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB)
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_4194304.upload.maximum_size=4190208
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_4194304.build.flash_length=4190208
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_4194304.build.eeprom_start=276819968
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_4194304.build.fs_start=272625664
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_4194304.build.fs_end=276819968
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB)
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_5242880.upload.maximum_size=3141632
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_5242880.build.flash_length=3141632
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_5242880.build.eeprom_start=276819968
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_5242880.build.fs_start=271577088
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_5242880.build.fs_end=276819968
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB)
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_6291456.upload.maximum_size=2093056
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_6291456.build.flash_length=2093056
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_6291456.build.eeprom_start=276819968
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_6291456.build.fs_start=270528512
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_6291456.build.fs_end=276819968
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB)
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_7340032.upload.maximum_size=1044480
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_7340032.build.flash_length=1044480
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_7340032.build.eeprom_start=276819968
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_7340032.build.fs_start=269479936
challenger_nb_2040_wifipicoprobe.menu.flash.8388608_7340032.build.fs_end=276819968
challenger_nb_2040_wifipicoprobe.menu.freq.125=125 MHz
challenger_nb_2040_wifipicoprobe.menu.freq.125.build.f_cpu=125000000L
challenger_nb_2040_wifipicoprobe.menu.freq.50=50 MHz
challenger_nb_2040_wifipicoprobe.menu.freq.50.build.f_cpu=50000000L
challenger_nb_2040_wifipicoprobe.menu.freq.100=100 MHz
challenger_nb_2040_wifipicoprobe.menu.freq.100.build.f_cpu=100000000L
challenger_nb_2040_wifipicoprobe.menu.freq.133=133 MHz
challenger_nb_2040_wifipicoprobe.menu.freq.133.build.f_cpu=133000000L
challenger_nb_2040_wifipicoprobe.menu.freq.150=150 MHz (Overclock)
challenger_nb_2040_wifipicoprobe.menu.freq.150.build.f_cpu=150000000L
challenger_nb_2040_wifipicoprobe.menu.freq.175=175 MHz (Overclock)
challenger_nb_2040_wifipicoprobe.menu.freq.175.build.f_cpu=175000000L
challenger_nb_2040_wifipicoprobe.menu.freq.200=200 MHz (Overclock)
challenger_nb_2040_wifipicoprobe.menu.freq.200.build.f_cpu=200000000L
challenger_nb_2040_wifipicoprobe.menu.freq.225=225 MHz (Overclock)
challenger_nb_2040_wifipicoprobe.menu.freq.225.build.f_cpu=225000000L
challenger_nb_2040_wifipicoprobe.menu.freq.250=250 MHz (Overclock)
challenger_nb_2040_wifipicoprobe.menu.freq.250.build.f_cpu=250000000L
challenger_nb_2040_wifipicoprobe.menu.freq.275=275 MHz (Overclock)
challenger_nb_2040_wifipicoprobe.menu.freq.275.build.f_cpu=275000000L
challenger_nb_2040_wifipicoprobe.menu.freq.300=300 MHz (Overclock)
challenger_nb_2040_wifipicoprobe.menu.freq.300.build.f_cpu=300000000L
challenger_nb_2040_wifipicoprobe.menu.opt.Small=Small (-Os) (standard)
challenger_nb_2040_wifipicoprobe.menu.opt.Small.build.flags.optimize=-Os
challenger_nb_2040_wifipicoprobe.menu.opt.Optimize=Optimize (-O)
challenger_nb_2040_wifipicoprobe.menu.opt.Optimize.build.flags.optimize=-O
challenger_nb_2040_wifipicoprobe.menu.opt.Optimize2=Optimize More (-O2)
challenger_nb_2040_wifipicoprobe.menu.opt.Optimize2.build.flags.optimize=-O2
challenger_nb_2040_wifipicoprobe.menu.opt.Optimize3=Optimize Even More (-O3)
challenger_nb_2040_wifipicoprobe.menu.opt.Optimize3.build.flags.optimize=-O3
challenger_nb_2040_wifipicoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower)
challenger_nb_2040_wifipicoprobe.menu.opt.Fast.build.flags.optimize=-Ofast
challenger_nb_2040_wifipicoprobe.menu.opt.Debug=Debug (-Og)
challenger_nb_2040_wifipicoprobe.menu.opt.Debug.build.flags.optimize=-Og
challenger_nb_2040_wifipicoprobe.menu.rtti.Disabled=Disabled
challenger_nb_2040_wifipicoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
challenger_nb_2040_wifipicoprobe.menu.rtti.Enabled=Enabled
challenger_nb_2040_wifipicoprobe.menu.rtti.Enabled.build.flags.rtti=
challenger_nb_2040_wifipicoprobe.menu.dbgport.Disabled=Disabled
challenger_nb_2040_wifipicoprobe.menu.dbgport.Disabled.build.debug_port=
challenger_nb_2040_wifipicoprobe.menu.dbgport.Serial=Serial
challenger_nb_2040_wifipicoprobe.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial
challenger_nb_2040_wifipicoprobe.menu.dbgport.Serial1=Serial1
challenger_nb_2040_wifipicoprobe.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1
challenger_nb_2040_wifipicoprobe.menu.dbgport.Serial2=Serial2
challenger_nb_2040_wifipicoprobe.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2
challenger_nb_2040_wifipicoprobe.menu.dbglvl.None=None
challenger_nb_2040_wifipicoprobe.menu.dbglvl.None.build.debug_level=
challenger_nb_2040_wifipicoprobe.menu.dbglvl.Core=Core
challenger_nb_2040_wifipicoprobe.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE
challenger_nb_2040_wifipicoprobe.menu.dbglvl.SPI=SPI
challenger_nb_2040_wifipicoprobe.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI
challenger_nb_2040_wifipicoprobe.menu.dbglvl.Wire=Wire
challenger_nb_2040_wifipicoprobe.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE
challenger_nb_2040_wifipicoprobe.menu.dbglvl.All=All
challenger_nb_2040_wifipicoprobe.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE
challenger_nb_2040_wifipicoprobe.menu.dbglvl.NDEBUG=NDEBUG
challenger_nb_2040_wifipicoprobe.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
challenger_nb_2040_wifipicoprobe.menu.usbstack.picosdk=Pico SDK
challenger_nb_2040_wifipicoprobe.menu.usbstack.picosdk.build.usbstack_flags="-I{runtime.platform.path}/tools/libpico"
challenger_nb_2040_wifipicoprobe.menu.usbstack.tinyusb=Adafruit TinyUSB
challenger_nb_2040_wifipicoprobe.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino"
# -----------------------------------
# iLabs Challenger NB 2040 WiFi (pico-debug)
# -----------------------------------
challenger_nb_2040_wifipicodebug.name=iLabs Challenger NB 2040 WiFi (pico-debug)
challenger_nb_2040_wifipicodebug.vid.0=0x1209
challenger_nb_2040_wifipicodebug.pid.0=0x2488
challenger_nb_2040_wifipicodebug.build.usbpid=-DSERIALUSB_PID=0x100b
challenger_nb_2040_wifipicodebug.build.board=CHALLENGER_2040_LTE_RP2040
challenger_nb_2040_wifipicodebug.build.mcu=cortex-m0plus
challenger_nb_2040_wifipicodebug.build.variant=challenger_nb_2040_wifi
challenger_nb_2040_wifipicodebug.upload.tool=picodebug
challenger_nb_2040_wifipicodebug.upload.maximum_size=8388608
challenger_nb_2040_wifipicodebug.upload.maximum_data_size=245760
challenger_nb_2040_wifipicodebug.upload.wait_for_upload_port=true
challenger_nb_2040_wifipicodebug.upload.erase_cmd=
challenger_nb_2040_wifipicodebug.serial.disableDTR=false
challenger_nb_2040_wifipicodebug.serial.disableRTS=false
challenger_nb_2040_wifipicodebug.build.f_cpu=125000000
challenger_nb_2040_wifipicodebug.build.led=
challenger_nb_2040_wifipicodebug.build.core=rp2040
challenger_nb_2040_wifipicodebug.build.mcu=rp2040
challenger_nb_2040_wifipicodebug.build.ldscript=memmap_default.ld
challenger_nb_2040_wifipicodebug.build.ram_length=240k
challenger_nb_2040_wifipicodebug.build.boot2=boot2_w25q080_2_padded_checksum
challenger_nb_2040_wifipicodebug.build.vid=0x2e8a
challenger_nb_2040_wifipicodebug.build.pid=0x100b
challenger_nb_2040_wifipicodebug.build.usb_manufacturer="iLabs"
challenger_nb_2040_wifipicodebug.build.usb_product="Challenger NB 2040 WiFi (pico-debug)"
challenger_nb_2040_wifipicodebug.menu.flash.8388608_0=8MB (no FS)
challenger_nb_2040_wifipicodebug.menu.flash.8388608_0.upload.maximum_size=8384512
challenger_nb_2040_wifipicodebug.menu.flash.8388608_0.build.flash_length=8384512
challenger_nb_2040_wifipicodebug.menu.flash.8388608_0.build.eeprom_start=276819968
challenger_nb_2040_wifipicodebug.menu.flash.8388608_0.build.fs_start=276819968
challenger_nb_2040_wifipicodebug.menu.flash.8388608_0.build.fs_end=276819968
challenger_nb_2040_wifipicodebug.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB)
challenger_nb_2040_wifipicodebug.menu.flash.8388608_65536.upload.maximum_size=8318976
challenger_nb_2040_wifipicodebug.menu.flash.8388608_65536.build.flash_length=8318976
challenger_nb_2040_wifipicodebug.menu.flash.8388608_65536.build.eeprom_start=276819968
challenger_nb_2040_wifipicodebug.menu.flash.8388608_65536.build.fs_start=276754432
challenger_nb_2040_wifipicodebug.menu.flash.8388608_65536.build.fs_end=276819968
challenger_nb_2040_wifipicodebug.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB)
challenger_nb_2040_wifipicodebug.menu.flash.8388608_131072.upload.maximum_size=8253440
challenger_nb_2040_wifipicodebug.menu.flash.8388608_131072.build.flash_length=8253440
challenger_nb_2040_wifipicodebug.menu.flash.8388608_131072.build.eeprom_start=276819968
challenger_nb_2040_wifipicodebug.menu.flash.8388608_131072.build.fs_start=276688896
challenger_nb_2040_wifipicodebug.menu.flash.8388608_131072.build.fs_end=276819968
challenger_nb_2040_wifipicodebug.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB)
challenger_nb_2040_wifipicodebug.menu.flash.8388608_262144.upload.maximum_size=8122368
challenger_nb_2040_wifipicodebug.menu.flash.8388608_262144.build.flash_length=8122368
challenger_nb_2040_wifipicodebug.menu.flash.8388608_262144.build.eeprom_start=276819968
challenger_nb_2040_wifipicodebug.menu.flash.8388608_262144.build.fs_start=276557824
challenger_nb_2040_wifipicodebug.menu.flash.8388608_262144.build.fs_end=276819968
challenger_nb_2040_wifipicodebug.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB)
challenger_nb_2040_wifipicodebug.menu.flash.8388608_524288.upload.maximum_size=7860224
challenger_nb_2040_wifipicodebug.menu.flash.8388608_524288.build.flash_length=7860224
challenger_nb_2040_wifipicodebug.menu.flash.8388608_524288.build.eeprom_start=276819968
challenger_nb_2040_wifipicodebug.menu.flash.8388608_524288.build.fs_start=276295680
challenger_nb_2040_wifipicodebug.menu.flash.8388608_524288.build.fs_end=276819968
challenger_nb_2040_wifipicodebug.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB)
challenger_nb_2040_wifipicodebug.menu.flash.8388608_1048576.upload.maximum_size=7335936
challenger_nb_2040_wifipicodebug.menu.flash.8388608_1048576.build.flash_length=7335936
challenger_nb_2040_wifipicodebug.menu.flash.8388608_1048576.build.eeprom_start=276819968
challenger_nb_2040_wifipicodebug.menu.flash.8388608_1048576.build.fs_start=275771392
challenger_nb_2040_wifipicodebug.menu.flash.8388608_1048576.build.fs_end=276819968
challenger_nb_2040_wifipicodebug.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB)
challenger_nb_2040_wifipicodebug.menu.flash.8388608_2097152.upload.maximum_size=6287360
challenger_nb_2040_wifipicodebug.menu.flash.8388608_2097152.build.flash_length=6287360
challenger_nb_2040_wifipicodebug.menu.flash.8388608_2097152.build.eeprom_start=276819968
challenger_nb_2040_wifipicodebug.menu.flash.8388608_2097152.build.fs_start=274722816
challenger_nb_2040_wifipicodebug.menu.flash.8388608_2097152.build.fs_end=276819968
challenger_nb_2040_wifipicodebug.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB)
challenger_nb_2040_wifipicodebug.menu.flash.8388608_3145728.upload.maximum_size=5238784
challenger_nb_2040_wifipicodebug.menu.flash.8388608_3145728.build.flash_length=5238784
challenger_nb_2040_wifipicodebug.menu.flash.8388608_3145728.build.eeprom_start=276819968
challenger_nb_2040_wifipicodebug.menu.flash.8388608_3145728.build.fs_start=273674240
challenger_nb_2040_wifipicodebug.menu.flash.8388608_3145728.build.fs_end=276819968
challenger_nb_2040_wifipicodebug.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB)
challenger_nb_2040_wifipicodebug.menu.flash.8388608_4194304.upload.maximum_size=4190208
challenger_nb_2040_wifipicodebug.menu.flash.8388608_4194304.build.flash_length=4190208
challenger_nb_2040_wifipicodebug.menu.flash.8388608_4194304.build.eeprom_start=276819968
challenger_nb_2040_wifipicodebug.menu.flash.8388608_4194304.build.fs_start=272625664
challenger_nb_2040_wifipicodebug.menu.flash.8388608_4194304.build.fs_end=276819968
challenger_nb_2040_wifipicodebug.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB)
challenger_nb_2040_wifipicodebug.menu.flash.8388608_5242880.upload.maximum_size=3141632
challenger_nb_2040_wifipicodebug.menu.flash.8388608_5242880.build.flash_length=3141632
challenger_nb_2040_wifipicodebug.menu.flash.8388608_5242880.build.eeprom_start=276819968
challenger_nb_2040_wifipicodebug.menu.flash.8388608_5242880.build.fs_start=271577088
challenger_nb_2040_wifipicodebug.menu.flash.8388608_5242880.build.fs_end=276819968
challenger_nb_2040_wifipicodebug.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB)
challenger_nb_2040_wifipicodebug.menu.flash.8388608_6291456.upload.maximum_size=2093056
challenger_nb_2040_wifipicodebug.menu.flash.8388608_6291456.build.flash_length=2093056
challenger_nb_2040_wifipicodebug.menu.flash.8388608_6291456.build.eeprom_start=276819968
challenger_nb_2040_wifipicodebug.menu.flash.8388608_6291456.build.fs_start=270528512
challenger_nb_2040_wifipicodebug.menu.flash.8388608_6291456.build.fs_end=276819968
challenger_nb_2040_wifipicodebug.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB)
challenger_nb_2040_wifipicodebug.menu.flash.8388608_7340032.upload.maximum_size=1044480
challenger_nb_2040_wifipicodebug.menu.flash.8388608_7340032.build.flash_length=1044480
challenger_nb_2040_wifipicodebug.menu.flash.8388608_7340032.build.eeprom_start=276819968
challenger_nb_2040_wifipicodebug.menu.flash.8388608_7340032.build.fs_start=269479936
challenger_nb_2040_wifipicodebug.menu.flash.8388608_7340032.build.fs_end=276819968
challenger_nb_2040_wifipicodebug.menu.freq.125=125 MHz
challenger_nb_2040_wifipicodebug.menu.freq.125.build.f_cpu=125000000L
challenger_nb_2040_wifipicodebug.menu.freq.50=50 MHz
challenger_nb_2040_wifipicodebug.menu.freq.50.build.f_cpu=50000000L
challenger_nb_2040_wifipicodebug.menu.freq.100=100 MHz
challenger_nb_2040_wifipicodebug.menu.freq.100.build.f_cpu=100000000L
challenger_nb_2040_wifipicodebug.menu.freq.133=133 MHz
challenger_nb_2040_wifipicodebug.menu.freq.133.build.f_cpu=133000000L
challenger_nb_2040_wifipicodebug.menu.freq.150=150 MHz (Overclock)
challenger_nb_2040_wifipicodebug.menu.freq.150.build.f_cpu=150000000L
challenger_nb_2040_wifipicodebug.menu.freq.175=175 MHz (Overclock)
challenger_nb_2040_wifipicodebug.menu.freq.175.build.f_cpu=175000000L
challenger_nb_2040_wifipicodebug.menu.freq.200=200 MHz (Overclock)
challenger_nb_2040_wifipicodebug.menu.freq.200.build.f_cpu=200000000L
challenger_nb_2040_wifipicodebug.menu.freq.225=225 MHz (Overclock)
challenger_nb_2040_wifipicodebug.menu.freq.225.build.f_cpu=225000000L
challenger_nb_2040_wifipicodebug.menu.freq.250=250 MHz (Overclock)
challenger_nb_2040_wifipicodebug.menu.freq.250.build.f_cpu=250000000L
challenger_nb_2040_wifipicodebug.menu.freq.275=275 MHz (Overclock)
challenger_nb_2040_wifipicodebug.menu.freq.275.build.f_cpu=275000000L
challenger_nb_2040_wifipicodebug.menu.freq.300=300 MHz (Overclock)
challenger_nb_2040_wifipicodebug.menu.freq.300.build.f_cpu=300000000L
challenger_nb_2040_wifipicodebug.menu.opt.Small=Small (-Os) (standard)
challenger_nb_2040_wifipicodebug.menu.opt.Small.build.flags.optimize=-Os
challenger_nb_2040_wifipicodebug.menu.opt.Optimize=Optimize (-O)
challenger_nb_2040_wifipicodebug.menu.opt.Optimize.build.flags.optimize=-O
challenger_nb_2040_wifipicodebug.menu.opt.Optimize2=Optimize More (-O2)
challenger_nb_2040_wifipicodebug.menu.opt.Optimize2.build.flags.optimize=-O2
challenger_nb_2040_wifipicodebug.menu.opt.Optimize3=Optimize Even More (-O3)
challenger_nb_2040_wifipicodebug.menu.opt.Optimize3.build.flags.optimize=-O3
challenger_nb_2040_wifipicodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower)
challenger_nb_2040_wifipicodebug.menu.opt.Fast.build.flags.optimize=-Ofast
challenger_nb_2040_wifipicodebug.menu.opt.Debug=Debug (-Og)
challenger_nb_2040_wifipicodebug.menu.opt.Debug.build.flags.optimize=-Og
challenger_nb_2040_wifipicodebug.menu.rtti.Disabled=Disabled
challenger_nb_2040_wifipicodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
challenger_nb_2040_wifipicodebug.menu.rtti.Enabled=Enabled
challenger_nb_2040_wifipicodebug.menu.rtti.Enabled.build.flags.rtti=
challenger_nb_2040_wifipicodebug.menu.dbgport.Disabled=Disabled
challenger_nb_2040_wifipicodebug.menu.dbgport.Disabled.build.debug_port=
challenger_nb_2040_wifipicodebug.menu.dbgport.Serial=Serial
challenger_nb_2040_wifipicodebug.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial
challenger_nb_2040_wifipicodebug.menu.dbgport.Serial1=Serial1
challenger_nb_2040_wifipicodebug.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1
challenger_nb_2040_wifipicodebug.menu.dbgport.Serial2=Serial2
challenger_nb_2040_wifipicodebug.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2
challenger_nb_2040_wifipicodebug.menu.dbglvl.None=None
challenger_nb_2040_wifipicodebug.menu.dbglvl.None.build.debug_level=
challenger_nb_2040_wifipicodebug.menu.dbglvl.Core=Core
challenger_nb_2040_wifipicodebug.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE
challenger_nb_2040_wifipicodebug.menu.dbglvl.SPI=SPI
challenger_nb_2040_wifipicodebug.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI
challenger_nb_2040_wifipicodebug.menu.dbglvl.Wire=Wire
challenger_nb_2040_wifipicodebug.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE
challenger_nb_2040_wifipicodebug.menu.dbglvl.All=All
challenger_nb_2040_wifipicodebug.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE
challenger_nb_2040_wifipicodebug.menu.dbglvl.NDEBUG=NDEBUG
challenger_nb_2040_wifipicodebug.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
challenger_nb_2040_wifipicodebug.menu.usbstack.nousb=No USB
challenger_nb_2040_wifipicodebug.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico"
# -----------------------------------
# iLabs RPICO32
# -----------------------------------
ilabs_rpico32.name=iLabs RPICO32
ilabs_rpico32.vid.0=0x2e8a
ilabs_rpico32.pid.0=0x1010
ilabs_rpico32.build.usbpid=-DSERIALUSB_PID=0x1010
ilabs_rpico32.build.board=ILABS_2040_RPICO32_RP2040
ilabs_rpico32.build.mcu=cortex-m0plus
ilabs_rpico32.build.variant=ilabs_rpico32
ilabs_rpico32.upload.tool=uf2conv
ilabs_rpico32.upload.maximum_size=8388608
ilabs_rpico32.upload.maximum_data_size=262144
ilabs_rpico32.upload.wait_for_upload_port=true
ilabs_rpico32.upload.erase_cmd=
ilabs_rpico32.serial.disableDTR=false
ilabs_rpico32.serial.disableRTS=false
ilabs_rpico32.build.f_cpu=125000000
ilabs_rpico32.build.led=
ilabs_rpico32.build.core=rp2040
ilabs_rpico32.build.mcu=rp2040
ilabs_rpico32.build.ldscript=memmap_default.ld
ilabs_rpico32.build.ram_length=256k
ilabs_rpico32.build.boot2=boot2_w25q080_2_padded_checksum
ilabs_rpico32.build.vid=0x2e8a
ilabs_rpico32.build.pid=0x1010
ilabs_rpico32.build.usb_manufacturer="iLabs"
ilabs_rpico32.build.usb_product="RPICO32"
ilabs_rpico32.menu.flash.8388608_0=8MB (no FS)
ilabs_rpico32.menu.flash.8388608_0.upload.maximum_size=8384512
ilabs_rpico32.menu.flash.8388608_0.build.flash_length=8384512
ilabs_rpico32.menu.flash.8388608_0.build.eeprom_start=276819968
ilabs_rpico32.menu.flash.8388608_0.build.fs_start=276819968
ilabs_rpico32.menu.flash.8388608_0.build.fs_end=276819968
ilabs_rpico32.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB)
ilabs_rpico32.menu.flash.8388608_65536.upload.maximum_size=8318976
ilabs_rpico32.menu.flash.8388608_65536.build.flash_length=8318976
ilabs_rpico32.menu.flash.8388608_65536.build.eeprom_start=276819968
ilabs_rpico32.menu.flash.8388608_65536.build.fs_start=276754432
ilabs_rpico32.menu.flash.8388608_65536.build.fs_end=276819968
ilabs_rpico32.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB)
ilabs_rpico32.menu.flash.8388608_131072.upload.maximum_size=8253440
ilabs_rpico32.menu.flash.8388608_131072.build.flash_length=8253440
ilabs_rpico32.menu.flash.8388608_131072.build.eeprom_start=276819968
ilabs_rpico32.menu.flash.8388608_131072.build.fs_start=276688896
ilabs_rpico32.menu.flash.8388608_131072.build.fs_end=276819968
ilabs_rpico32.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB)
ilabs_rpico32.menu.flash.8388608_262144.upload.maximum_size=8122368
ilabs_rpico32.menu.flash.8388608_262144.build.flash_length=8122368
ilabs_rpico32.menu.flash.8388608_262144.build.eeprom_start=276819968
ilabs_rpico32.menu.flash.8388608_262144.build.fs_start=276557824
ilabs_rpico32.menu.flash.8388608_262144.build.fs_end=276819968
ilabs_rpico32.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB)
ilabs_rpico32.menu.flash.8388608_524288.upload.maximum_size=7860224
ilabs_rpico32.menu.flash.8388608_524288.build.flash_length=7860224
ilabs_rpico32.menu.flash.8388608_524288.build.eeprom_start=276819968
ilabs_rpico32.menu.flash.8388608_524288.build.fs_start=276295680
ilabs_rpico32.menu.flash.8388608_524288.build.fs_end=276819968
ilabs_rpico32.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB)
ilabs_rpico32.menu.flash.8388608_1048576.upload.maximum_size=7335936
ilabs_rpico32.menu.flash.8388608_1048576.build.flash_length=7335936
ilabs_rpico32.menu.flash.8388608_1048576.build.eeprom_start=276819968
ilabs_rpico32.menu.flash.8388608_1048576.build.fs_start=275771392
ilabs_rpico32.menu.flash.8388608_1048576.build.fs_end=276819968
ilabs_rpico32.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB)
ilabs_rpico32.menu.flash.8388608_2097152.upload.maximum_size=6287360
ilabs_rpico32.menu.flash.8388608_2097152.build.flash_length=6287360
ilabs_rpico32.menu.flash.8388608_2097152.build.eeprom_start=276819968
ilabs_rpico32.menu.flash.8388608_2097152.build.fs_start=274722816
ilabs_rpico32.menu.flash.8388608_2097152.build.fs_end=276819968
ilabs_rpico32.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB)
ilabs_rpico32.menu.flash.8388608_3145728.upload.maximum_size=5238784
ilabs_rpico32.menu.flash.8388608_3145728.build.flash_length=5238784
ilabs_rpico32.menu.flash.8388608_3145728.build.eeprom_start=276819968
ilabs_rpico32.menu.flash.8388608_3145728.build.fs_start=273674240
ilabs_rpico32.menu.flash.8388608_3145728.build.fs_end=276819968
ilabs_rpico32.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB)
ilabs_rpico32.menu.flash.8388608_4194304.upload.maximum_size=4190208
ilabs_rpico32.menu.flash.8388608_4194304.build.flash_length=4190208
ilabs_rpico32.menu.flash.8388608_4194304.build.eeprom_start=276819968
ilabs_rpico32.menu.flash.8388608_4194304.build.fs_start=272625664
ilabs_rpico32.menu.flash.8388608_4194304.build.fs_end=276819968
ilabs_rpico32.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB)
ilabs_rpico32.menu.flash.8388608_5242880.upload.maximum_size=3141632
ilabs_rpico32.menu.flash.8388608_5242880.build.flash_length=3141632
ilabs_rpico32.menu.flash.8388608_5242880.build.eeprom_start=276819968
ilabs_rpico32.menu.flash.8388608_5242880.build.fs_start=271577088
ilabs_rpico32.menu.flash.8388608_5242880.build.fs_end=276819968
ilabs_rpico32.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB)
ilabs_rpico32.menu.flash.8388608_6291456.upload.maximum_size=2093056
ilabs_rpico32.menu.flash.8388608_6291456.build.flash_length=2093056
ilabs_rpico32.menu.flash.8388608_6291456.build.eeprom_start=276819968
ilabs_rpico32.menu.flash.8388608_6291456.build.fs_start=270528512
ilabs_rpico32.menu.flash.8388608_6291456.build.fs_end=276819968
ilabs_rpico32.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB)
ilabs_rpico32.menu.flash.8388608_7340032.upload.maximum_size=1044480
ilabs_rpico32.menu.flash.8388608_7340032.build.flash_length=1044480
ilabs_rpico32.menu.flash.8388608_7340032.build.eeprom_start=276819968
ilabs_rpico32.menu.flash.8388608_7340032.build.fs_start=269479936
ilabs_rpico32.menu.flash.8388608_7340032.build.fs_end=276819968
ilabs_rpico32.menu.freq.125=125 MHz
ilabs_rpico32.menu.freq.125.build.f_cpu=125000000L
ilabs_rpico32.menu.freq.50=50 MHz
ilabs_rpico32.menu.freq.50.build.f_cpu=50000000L
ilabs_rpico32.menu.freq.100=100 MHz
ilabs_rpico32.menu.freq.100.build.f_cpu=100000000L
ilabs_rpico32.menu.freq.133=133 MHz
ilabs_rpico32.menu.freq.133.build.f_cpu=133000000L
ilabs_rpico32.menu.freq.150=150 MHz (Overclock)
ilabs_rpico32.menu.freq.150.build.f_cpu=150000000L
ilabs_rpico32.menu.freq.175=175 MHz (Overclock)
ilabs_rpico32.menu.freq.175.build.f_cpu=175000000L
ilabs_rpico32.menu.freq.200=200 MHz (Overclock)
ilabs_rpico32.menu.freq.200.build.f_cpu=200000000L
ilabs_rpico32.menu.freq.225=225 MHz (Overclock)
ilabs_rpico32.menu.freq.225.build.f_cpu=225000000L
ilabs_rpico32.menu.freq.250=250 MHz (Overclock)
ilabs_rpico32.menu.freq.250.build.f_cpu=250000000L
ilabs_rpico32.menu.freq.275=275 MHz (Overclock)
ilabs_rpico32.menu.freq.275.build.f_cpu=275000000L
ilabs_rpico32.menu.freq.300=300 MHz (Overclock)
ilabs_rpico32.menu.freq.300.build.f_cpu=300000000L
ilabs_rpico32.menu.opt.Small=Small (-Os) (standard)
ilabs_rpico32.menu.opt.Small.build.flags.optimize=-Os
ilabs_rpico32.menu.opt.Optimize=Optimize (-O)
ilabs_rpico32.menu.opt.Optimize.build.flags.optimize=-O
ilabs_rpico32.menu.opt.Optimize2=Optimize More (-O2)
ilabs_rpico32.menu.opt.Optimize2.build.flags.optimize=-O2
ilabs_rpico32.menu.opt.Optimize3=Optimize Even More (-O3)
ilabs_rpico32.menu.opt.Optimize3.build.flags.optimize=-O3
ilabs_rpico32.menu.opt.Fast=Fast (-Ofast) (maybe slower)
ilabs_rpico32.menu.opt.Fast.build.flags.optimize=-Ofast
ilabs_rpico32.menu.opt.Debug=Debug (-Og)
ilabs_rpico32.menu.opt.Debug.build.flags.optimize=-Og
ilabs_rpico32.menu.rtti.Disabled=Disabled
ilabs_rpico32.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
ilabs_rpico32.menu.rtti.Enabled=Enabled
ilabs_rpico32.menu.rtti.Enabled.build.flags.rtti=
ilabs_rpico32.menu.dbgport.Disabled=Disabled
ilabs_rpico32.menu.dbgport.Disabled.build.debug_port=
ilabs_rpico32.menu.dbgport.Serial=Serial
ilabs_rpico32.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial
ilabs_rpico32.menu.dbgport.Serial1=Serial1
ilabs_rpico32.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1
ilabs_rpico32.menu.dbgport.Serial2=Serial2
ilabs_rpico32.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2
ilabs_rpico32.menu.dbglvl.None=None
ilabs_rpico32.menu.dbglvl.None.build.debug_level=
ilabs_rpico32.menu.dbglvl.Core=Core
ilabs_rpico32.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE
ilabs_rpico32.menu.dbglvl.SPI=SPI
ilabs_rpico32.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI
ilabs_rpico32.menu.dbglvl.Wire=Wire
ilabs_rpico32.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE
ilabs_rpico32.menu.dbglvl.All=All
ilabs_rpico32.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE
ilabs_rpico32.menu.dbglvl.NDEBUG=NDEBUG
ilabs_rpico32.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
ilabs_rpico32.menu.usbstack.picosdk=Pico SDK
ilabs_rpico32.menu.usbstack.picosdk.build.usbstack_flags="-I{runtime.platform.path}/tools/libpico"
ilabs_rpico32.menu.usbstack.tinyusb=Adafruit TinyUSB
ilabs_rpico32.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino"
# -----------------------------------
# iLabs RPICO32 (Picoprobe)
# -----------------------------------
ilabs_rpico32picoprobe.name=iLabs RPICO32 (Picoprobe)
ilabs_rpico32picoprobe.vid.0=0x2e8a
ilabs_rpico32picoprobe.pid.0=0x0004
ilabs_rpico32picoprobe.build.usbpid=-DSERIALUSB_PID=0x1010
ilabs_rpico32picoprobe.build.board=ILABS_2040_RPICO32_RP2040
ilabs_rpico32picoprobe.build.mcu=cortex-m0plus
ilabs_rpico32picoprobe.build.variant=ilabs_rpico32
ilabs_rpico32picoprobe.upload.tool=picoprobe
ilabs_rpico32picoprobe.upload.maximum_size=8388608
ilabs_rpico32picoprobe.upload.maximum_data_size=262144
ilabs_rpico32picoprobe.upload.wait_for_upload_port=true
ilabs_rpico32picoprobe.upload.erase_cmd=
ilabs_rpico32picoprobe.serial.disableDTR=false
ilabs_rpico32picoprobe.serial.disableRTS=false
ilabs_rpico32picoprobe.build.f_cpu=125000000
ilabs_rpico32picoprobe.build.led=
ilabs_rpico32picoprobe.build.core=rp2040
ilabs_rpico32picoprobe.build.mcu=rp2040
ilabs_rpico32picoprobe.build.ldscript=memmap_default.ld
ilabs_rpico32picoprobe.build.ram_length=256k
ilabs_rpico32picoprobe.build.boot2=boot2_w25q080_2_padded_checksum
ilabs_rpico32picoprobe.build.vid=0x2e8a
ilabs_rpico32picoprobe.build.pid=0x1010
ilabs_rpico32picoprobe.build.usb_manufacturer="iLabs"
ilabs_rpico32picoprobe.build.usb_product="RPICO32 (Picoprobe)"
ilabs_rpico32picoprobe.menu.flash.8388608_0=8MB (no FS)
ilabs_rpico32picoprobe.menu.flash.8388608_0.upload.maximum_size=8384512
ilabs_rpico32picoprobe.menu.flash.8388608_0.build.flash_length=8384512
ilabs_rpico32picoprobe.menu.flash.8388608_0.build.eeprom_start=276819968
ilabs_rpico32picoprobe.menu.flash.8388608_0.build.fs_start=276819968
ilabs_rpico32picoprobe.menu.flash.8388608_0.build.fs_end=276819968
ilabs_rpico32picoprobe.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB)
ilabs_rpico32picoprobe.menu.flash.8388608_65536.upload.maximum_size=8318976
ilabs_rpico32picoprobe.menu.flash.8388608_65536.build.flash_length=8318976
ilabs_rpico32picoprobe.menu.flash.8388608_65536.build.eeprom_start=276819968
ilabs_rpico32picoprobe.menu.flash.8388608_65536.build.fs_start=276754432
ilabs_rpico32picoprobe.menu.flash.8388608_65536.build.fs_end=276819968
ilabs_rpico32picoprobe.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB)
ilabs_rpico32picoprobe.menu.flash.8388608_131072.upload.maximum_size=8253440
ilabs_rpico32picoprobe.menu.flash.8388608_131072.build.flash_length=8253440
ilabs_rpico32picoprobe.menu.flash.8388608_131072.build.eeprom_start=276819968
ilabs_rpico32picoprobe.menu.flash.8388608_131072.build.fs_start=276688896
ilabs_rpico32picoprobe.menu.flash.8388608_131072.build.fs_end=276819968
ilabs_rpico32picoprobe.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB)
ilabs_rpico32picoprobe.menu.flash.8388608_262144.upload.maximum_size=8122368
ilabs_rpico32picoprobe.menu.flash.8388608_262144.build.flash_length=8122368
ilabs_rpico32picoprobe.menu.flash.8388608_262144.build.eeprom_start=276819968
ilabs_rpico32picoprobe.menu.flash.8388608_262144.build.fs_start=276557824
ilabs_rpico32picoprobe.menu.flash.8388608_262144.build.fs_end=276819968
ilabs_rpico32picoprobe.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB)
ilabs_rpico32picoprobe.menu.flash.8388608_524288.upload.maximum_size=7860224
ilabs_rpico32picoprobe.menu.flash.8388608_524288.build.flash_length=7860224
ilabs_rpico32picoprobe.menu.flash.8388608_524288.build.eeprom_start=276819968
ilabs_rpico32picoprobe.menu.flash.8388608_524288.build.fs_start=276295680
ilabs_rpico32picoprobe.menu.flash.8388608_524288.build.fs_end=276819968
ilabs_rpico32picoprobe.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB)
ilabs_rpico32picoprobe.menu.flash.8388608_1048576.upload.maximum_size=7335936
ilabs_rpico32picoprobe.menu.flash.8388608_1048576.build.flash_length=7335936
ilabs_rpico32picoprobe.menu.flash.8388608_1048576.build.eeprom_start=276819968
ilabs_rpico32picoprobe.menu.flash.8388608_1048576.build.fs_start=275771392
ilabs_rpico32picoprobe.menu.flash.8388608_1048576.build.fs_end=276819968
ilabs_rpico32picoprobe.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB)
ilabs_rpico32picoprobe.menu.flash.8388608_2097152.upload.maximum_size=6287360
ilabs_rpico32picoprobe.menu.flash.8388608_2097152.build.flash_length=6287360
ilabs_rpico32picoprobe.menu.flash.8388608_2097152.build.eeprom_start=276819968
ilabs_rpico32picoprobe.menu.flash.8388608_2097152.build.fs_start=274722816
ilabs_rpico32picoprobe.menu.flash.8388608_2097152.build.fs_end=276819968
ilabs_rpico32picoprobe.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB)
ilabs_rpico32picoprobe.menu.flash.8388608_3145728.upload.maximum_size=5238784
ilabs_rpico32picoprobe.menu.flash.8388608_3145728.build.flash_length=5238784
ilabs_rpico32picoprobe.menu.flash.8388608_3145728.build.eeprom_start=276819968
ilabs_rpico32picoprobe.menu.flash.8388608_3145728.build.fs_start=273674240
ilabs_rpico32picoprobe.menu.flash.8388608_3145728.build.fs_end=276819968
ilabs_rpico32picoprobe.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB)
ilabs_rpico32picoprobe.menu.flash.8388608_4194304.upload.maximum_size=4190208
ilabs_rpico32picoprobe.menu.flash.8388608_4194304.build.flash_length=4190208
ilabs_rpico32picoprobe.menu.flash.8388608_4194304.build.eeprom_start=276819968
ilabs_rpico32picoprobe.menu.flash.8388608_4194304.build.fs_start=272625664
ilabs_rpico32picoprobe.menu.flash.8388608_4194304.build.fs_end=276819968
ilabs_rpico32picoprobe.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB)
ilabs_rpico32picoprobe.menu.flash.8388608_5242880.upload.maximum_size=3141632
ilabs_rpico32picoprobe.menu.flash.8388608_5242880.build.flash_length=3141632
ilabs_rpico32picoprobe.menu.flash.8388608_5242880.build.eeprom_start=276819968
ilabs_rpico32picoprobe.menu.flash.8388608_5242880.build.fs_start=271577088
ilabs_rpico32picoprobe.menu.flash.8388608_5242880.build.fs_end=276819968
ilabs_rpico32picoprobe.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB)
ilabs_rpico32picoprobe.menu.flash.8388608_6291456.upload.maximum_size=2093056
ilabs_rpico32picoprobe.menu.flash.8388608_6291456.build.flash_length=2093056
ilabs_rpico32picoprobe.menu.flash.8388608_6291456.build.eeprom_start=276819968
ilabs_rpico32picoprobe.menu.flash.8388608_6291456.build.fs_start=270528512
ilabs_rpico32picoprobe.menu.flash.8388608_6291456.build.fs_end=276819968
ilabs_rpico32picoprobe.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB)
ilabs_rpico32picoprobe.menu.flash.8388608_7340032.upload.maximum_size=1044480
ilabs_rpico32picoprobe.menu.flash.8388608_7340032.build.flash_length=1044480
ilabs_rpico32picoprobe.menu.flash.8388608_7340032.build.eeprom_start=276819968
ilabs_rpico32picoprobe.menu.flash.8388608_7340032.build.fs_start=269479936
ilabs_rpico32picoprobe.menu.flash.8388608_7340032.build.fs_end=276819968
ilabs_rpico32picoprobe.menu.freq.125=125 MHz
ilabs_rpico32picoprobe.menu.freq.125.build.f_cpu=125000000L
ilabs_rpico32picoprobe.menu.freq.50=50 MHz
ilabs_rpico32picoprobe.menu.freq.50.build.f_cpu=50000000L
ilabs_rpico32picoprobe.menu.freq.100=100 MHz
ilabs_rpico32picoprobe.menu.freq.100.build.f_cpu=100000000L
ilabs_rpico32picoprobe.menu.freq.133=133 MHz
ilabs_rpico32picoprobe.menu.freq.133.build.f_cpu=133000000L
ilabs_rpico32picoprobe.menu.freq.150=150 MHz (Overclock)
ilabs_rpico32picoprobe.menu.freq.150.build.f_cpu=150000000L
ilabs_rpico32picoprobe.menu.freq.175=175 MHz (Overclock)
ilabs_rpico32picoprobe.menu.freq.175.build.f_cpu=175000000L
ilabs_rpico32picoprobe.menu.freq.200=200 MHz (Overclock)
ilabs_rpico32picoprobe.menu.freq.200.build.f_cpu=200000000L
ilabs_rpico32picoprobe.menu.freq.225=225 MHz (Overclock)
ilabs_rpico32picoprobe.menu.freq.225.build.f_cpu=225000000L
ilabs_rpico32picoprobe.menu.freq.250=250 MHz (Overclock)
ilabs_rpico32picoprobe.menu.freq.250.build.f_cpu=250000000L
ilabs_rpico32picoprobe.menu.freq.275=275 MHz (Overclock)
ilabs_rpico32picoprobe.menu.freq.275.build.f_cpu=275000000L
ilabs_rpico32picoprobe.menu.freq.300=300 MHz (Overclock)
ilabs_rpico32picoprobe.menu.freq.300.build.f_cpu=300000000L
ilabs_rpico32picoprobe.menu.opt.Small=Small (-Os) (standard)
ilabs_rpico32picoprobe.menu.opt.Small.build.flags.optimize=-Os
ilabs_rpico32picoprobe.menu.opt.Optimize=Optimize (-O)
ilabs_rpico32picoprobe.menu.opt.Optimize.build.flags.optimize=-O
ilabs_rpico32picoprobe.menu.opt.Optimize2=Optimize More (-O2)
ilabs_rpico32picoprobe.menu.opt.Optimize2.build.flags.optimize=-O2
ilabs_rpico32picoprobe.menu.opt.Optimize3=Optimize Even More (-O3)
ilabs_rpico32picoprobe.menu.opt.Optimize3.build.flags.optimize=-O3
ilabs_rpico32picoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower)
ilabs_rpico32picoprobe.menu.opt.Fast.build.flags.optimize=-Ofast
ilabs_rpico32picoprobe.menu.opt.Debug=Debug (-Og)
ilabs_rpico32picoprobe.menu.opt.Debug.build.flags.optimize=-Og
ilabs_rpico32picoprobe.menu.rtti.Disabled=Disabled
ilabs_rpico32picoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
ilabs_rpico32picoprobe.menu.rtti.Enabled=Enabled
ilabs_rpico32picoprobe.menu.rtti.Enabled.build.flags.rtti=
ilabs_rpico32picoprobe.menu.dbgport.Disabled=Disabled
ilabs_rpico32picoprobe.menu.dbgport.Disabled.build.debug_port=
ilabs_rpico32picoprobe.menu.dbgport.Serial=Serial
ilabs_rpico32picoprobe.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial
ilabs_rpico32picoprobe.menu.dbgport.Serial1=Serial1
ilabs_rpico32picoprobe.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1
ilabs_rpico32picoprobe.menu.dbgport.Serial2=Serial2
ilabs_rpico32picoprobe.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2
ilabs_rpico32picoprobe.menu.dbglvl.None=None
ilabs_rpico32picoprobe.menu.dbglvl.None.build.debug_level=
ilabs_rpico32picoprobe.menu.dbglvl.Core=Core
ilabs_rpico32picoprobe.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE
ilabs_rpico32picoprobe.menu.dbglvl.SPI=SPI
ilabs_rpico32picoprobe.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI
ilabs_rpico32picoprobe.menu.dbglvl.Wire=Wire
ilabs_rpico32picoprobe.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE
ilabs_rpico32picoprobe.menu.dbglvl.All=All
ilabs_rpico32picoprobe.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE
ilabs_rpico32picoprobe.menu.dbglvl.NDEBUG=NDEBUG
ilabs_rpico32picoprobe.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
ilabs_rpico32picoprobe.menu.usbstack.picosdk=Pico SDK
ilabs_rpico32picoprobe.menu.usbstack.picosdk.build.usbstack_flags="-I{runtime.platform.path}/tools/libpico"
ilabs_rpico32picoprobe.menu.usbstack.tinyusb=Adafruit TinyUSB
ilabs_rpico32picoprobe.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino"
# -----------------------------------
# iLabs RPICO32 (pico-debug)
# -----------------------------------
ilabs_rpico32picodebug.name=iLabs RPICO32 (pico-debug)
ilabs_rpico32picodebug.vid.0=0x1209
ilabs_rpico32picodebug.pid.0=0x2488
ilabs_rpico32picodebug.build.usbpid=-DSERIALUSB_PID=0x1010
ilabs_rpico32picodebug.build.board=ILABS_2040_RPICO32_RP2040
ilabs_rpico32picodebug.build.mcu=cortex-m0plus
ilabs_rpico32picodebug.build.variant=ilabs_rpico32
ilabs_rpico32picodebug.upload.tool=picodebug
ilabs_rpico32picodebug.upload.maximum_size=8388608
ilabs_rpico32picodebug.upload.maximum_data_size=245760
ilabs_rpico32picodebug.upload.wait_for_upload_port=true
ilabs_rpico32picodebug.upload.erase_cmd=
ilabs_rpico32picodebug.serial.disableDTR=false
ilabs_rpico32picodebug.serial.disableRTS=false
ilabs_rpico32picodebug.build.f_cpu=125000000
ilabs_rpico32picodebug.build.led=
ilabs_rpico32picodebug.build.core=rp2040
ilabs_rpico32picodebug.build.mcu=rp2040
ilabs_rpico32picodebug.build.ldscript=memmap_default.ld
ilabs_rpico32picodebug.build.ram_length=240k
ilabs_rpico32picodebug.build.boot2=boot2_w25q080_2_padded_checksum
ilabs_rpico32picodebug.build.vid=0x2e8a
ilabs_rpico32picodebug.build.pid=0x1010
ilabs_rpico32picodebug.build.usb_manufacturer="iLabs"
ilabs_rpico32picodebug.build.usb_product="RPICO32 (pico-debug)"
ilabs_rpico32picodebug.menu.flash.8388608_0=8MB (no FS)
ilabs_rpico32picodebug.menu.flash.8388608_0.upload.maximum_size=8384512
ilabs_rpico32picodebug.menu.flash.8388608_0.build.flash_length=8384512
ilabs_rpico32picodebug.menu.flash.8388608_0.build.eeprom_start=276819968
ilabs_rpico32picodebug.menu.flash.8388608_0.build.fs_start=276819968
ilabs_rpico32picodebug.menu.flash.8388608_0.build.fs_end=276819968
ilabs_rpico32picodebug.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB)
ilabs_rpico32picodebug.menu.flash.8388608_65536.upload.maximum_size=8318976
ilabs_rpico32picodebug.menu.flash.8388608_65536.build.flash_length=8318976
ilabs_rpico32picodebug.menu.flash.8388608_65536.build.eeprom_start=276819968
ilabs_rpico32picodebug.menu.flash.8388608_65536.build.fs_start=276754432
ilabs_rpico32picodebug.menu.flash.8388608_65536.build.fs_end=276819968
ilabs_rpico32picodebug.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB)
ilabs_rpico32picodebug.menu.flash.8388608_131072.upload.maximum_size=8253440
ilabs_rpico32picodebug.menu.flash.8388608_131072.build.flash_length=8253440
ilabs_rpico32picodebug.menu.flash.8388608_131072.build.eeprom_start=276819968
ilabs_rpico32picodebug.menu.flash.8388608_131072.build.fs_start=276688896
ilabs_rpico32picodebug.menu.flash.8388608_131072.build.fs_end=276819968
ilabs_rpico32picodebug.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB)
ilabs_rpico32picodebug.menu.flash.8388608_262144.upload.maximum_size=8122368
ilabs_rpico32picodebug.menu.flash.8388608_262144.build.flash_length=8122368
ilabs_rpico32picodebug.menu.flash.8388608_262144.build.eeprom_start=276819968
ilabs_rpico32picodebug.menu.flash.8388608_262144.build.fs_start=276557824
ilabs_rpico32picodebug.menu.flash.8388608_262144.build.fs_end=276819968
ilabs_rpico32picodebug.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB)
ilabs_rpico32picodebug.menu.flash.8388608_524288.upload.maximum_size=7860224
ilabs_rpico32picodebug.menu.flash.8388608_524288.build.flash_length=7860224
ilabs_rpico32picodebug.menu.flash.8388608_524288.build.eeprom_start=276819968
ilabs_rpico32picodebug.menu.flash.8388608_524288.build.fs_start=276295680
ilabs_rpico32picodebug.menu.flash.8388608_524288.build.fs_end=276819968
ilabs_rpico32picodebug.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB)
ilabs_rpico32picodebug.menu.flash.8388608_1048576.upload.maximum_size=7335936
ilabs_rpico32picodebug.menu.flash.8388608_1048576.build.flash_length=7335936
ilabs_rpico32picodebug.menu.flash.8388608_1048576.build.eeprom_start=276819968
ilabs_rpico32picodebug.menu.flash.8388608_1048576.build.fs_start=275771392
ilabs_rpico32picodebug.menu.flash.8388608_1048576.build.fs_end=276819968
ilabs_rpico32picodebug.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB)
ilabs_rpico32picodebug.menu.flash.8388608_2097152.upload.maximum_size=6287360
ilabs_rpico32picodebug.menu.flash.8388608_2097152.build.flash_length=6287360
ilabs_rpico32picodebug.menu.flash.8388608_2097152.build.eeprom_start=276819968
ilabs_rpico32picodebug.menu.flash.8388608_2097152.build.fs_start=274722816
ilabs_rpico32picodebug.menu.flash.8388608_2097152.build.fs_end=276819968
ilabs_rpico32picodebug.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB)
ilabs_rpico32picodebug.menu.flash.8388608_3145728.upload.maximum_size=5238784
ilabs_rpico32picodebug.menu.flash.8388608_3145728.build.flash_length=5238784
ilabs_rpico32picodebug.menu.flash.8388608_3145728.build.eeprom_start=276819968
ilabs_rpico32picodebug.menu.flash.8388608_3145728.build.fs_start=273674240
ilabs_rpico32picodebug.menu.flash.8388608_3145728.build.fs_end=276819968
ilabs_rpico32picodebug.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB)
ilabs_rpico32picodebug.menu.flash.8388608_4194304.upload.maximum_size=4190208
ilabs_rpico32picodebug.menu.flash.8388608_4194304.build.flash_length=4190208
ilabs_rpico32picodebug.menu.flash.8388608_4194304.build.eeprom_start=276819968
ilabs_rpico32picodebug.menu.flash.8388608_4194304.build.fs_start=272625664
ilabs_rpico32picodebug.menu.flash.8388608_4194304.build.fs_end=276819968
ilabs_rpico32picodebug.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB)
ilabs_rpico32picodebug.menu.flash.8388608_5242880.upload.maximum_size=3141632
ilabs_rpico32picodebug.menu.flash.8388608_5242880.build.flash_length=3141632
ilabs_rpico32picodebug.menu.flash.8388608_5242880.build.eeprom_start=276819968
ilabs_rpico32picodebug.menu.flash.8388608_5242880.build.fs_start=271577088
ilabs_rpico32picodebug.menu.flash.8388608_5242880.build.fs_end=276819968
ilabs_rpico32picodebug.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB)
ilabs_rpico32picodebug.menu.flash.8388608_6291456.upload.maximum_size=2093056
ilabs_rpico32picodebug.menu.flash.8388608_6291456.build.flash_length=2093056
ilabs_rpico32picodebug.menu.flash.8388608_6291456.build.eeprom_start=276819968
ilabs_rpico32picodebug.menu.flash.8388608_6291456.build.fs_start=270528512
ilabs_rpico32picodebug.menu.flash.8388608_6291456.build.fs_end=276819968
ilabs_rpico32picodebug.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB)
ilabs_rpico32picodebug.menu.flash.8388608_7340032.upload.maximum_size=1044480
ilabs_rpico32picodebug.menu.flash.8388608_7340032.build.flash_length=1044480
ilabs_rpico32picodebug.menu.flash.8388608_7340032.build.eeprom_start=276819968
ilabs_rpico32picodebug.menu.flash.8388608_7340032.build.fs_start=269479936
ilabs_rpico32picodebug.menu.flash.8388608_7340032.build.fs_end=276819968
ilabs_rpico32picodebug.menu.freq.125=125 MHz
ilabs_rpico32picodebug.menu.freq.125.build.f_cpu=125000000L
ilabs_rpico32picodebug.menu.freq.50=50 MHz
ilabs_rpico32picodebug.menu.freq.50.build.f_cpu=50000000L
ilabs_rpico32picodebug.menu.freq.100=100 MHz
ilabs_rpico32picodebug.menu.freq.100.build.f_cpu=100000000L
ilabs_rpico32picodebug.menu.freq.133=133 MHz
ilabs_rpico32picodebug.menu.freq.133.build.f_cpu=133000000L
ilabs_rpico32picodebug.menu.freq.150=150 MHz (Overclock)
ilabs_rpico32picodebug.menu.freq.150.build.f_cpu=150000000L
ilabs_rpico32picodebug.menu.freq.175=175 MHz (Overclock)
ilabs_rpico32picodebug.menu.freq.175.build.f_cpu=175000000L
ilabs_rpico32picodebug.menu.freq.200=200 MHz (Overclock)
ilabs_rpico32picodebug.menu.freq.200.build.f_cpu=200000000L
ilabs_rpico32picodebug.menu.freq.225=225 MHz (Overclock)
ilabs_rpico32picodebug.menu.freq.225.build.f_cpu=225000000L
ilabs_rpico32picodebug.menu.freq.250=250 MHz (Overclock)
ilabs_rpico32picodebug.menu.freq.250.build.f_cpu=250000000L
ilabs_rpico32picodebug.menu.freq.275=275 MHz (Overclock)
ilabs_rpico32picodebug.menu.freq.275.build.f_cpu=275000000L
ilabs_rpico32picodebug.menu.freq.300=300 MHz (Overclock)
ilabs_rpico32picodebug.menu.freq.300.build.f_cpu=300000000L
ilabs_rpico32picodebug.menu.opt.Small=Small (-Os) (standard)
ilabs_rpico32picodebug.menu.opt.Small.build.flags.optimize=-Os
ilabs_rpico32picodebug.menu.opt.Optimize=Optimize (-O)
ilabs_rpico32picodebug.menu.opt.Optimize.build.flags.optimize=-O
ilabs_rpico32picodebug.menu.opt.Optimize2=Optimize More (-O2)
ilabs_rpico32picodebug.menu.opt.Optimize2.build.flags.optimize=-O2
ilabs_rpico32picodebug.menu.opt.Optimize3=Optimize Even More (-O3)
ilabs_rpico32picodebug.menu.opt.Optimize3.build.flags.optimize=-O3
ilabs_rpico32picodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower)
ilabs_rpico32picodebug.menu.opt.Fast.build.flags.optimize=-Ofast
ilabs_rpico32picodebug.menu.opt.Debug=Debug (-Og)
ilabs_rpico32picodebug.menu.opt.Debug.build.flags.optimize=-Og
ilabs_rpico32picodebug.menu.rtti.Disabled=Disabled
ilabs_rpico32picodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
ilabs_rpico32picodebug.menu.rtti.Enabled=Enabled
ilabs_rpico32picodebug.menu.rtti.Enabled.build.flags.rtti=
ilabs_rpico32picodebug.menu.dbgport.Disabled=Disabled
ilabs_rpico32picodebug.menu.dbgport.Disabled.build.debug_port=
ilabs_rpico32picodebug.menu.dbgport.Serial=Serial
ilabs_rpico32picodebug.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial
ilabs_rpico32picodebug.menu.dbgport.Serial1=Serial1
ilabs_rpico32picodebug.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1
ilabs_rpico32picodebug.menu.dbgport.Serial2=Serial2
ilabs_rpico32picodebug.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2
ilabs_rpico32picodebug.menu.dbglvl.None=None
ilabs_rpico32picodebug.menu.dbglvl.None.build.debug_level=
ilabs_rpico32picodebug.menu.dbglvl.Core=Core
ilabs_rpico32picodebug.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE
ilabs_rpico32picodebug.menu.dbglvl.SPI=SPI
ilabs_rpico32picodebug.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI
ilabs_rpico32picodebug.menu.dbglvl.Wire=Wire
ilabs_rpico32picodebug.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE
ilabs_rpico32picodebug.menu.dbglvl.All=All
ilabs_rpico32picodebug.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE
ilabs_rpico32picodebug.menu.dbglvl.NDEBUG=NDEBUG
ilabs_rpico32picodebug.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
ilabs_rpico32picodebug.menu.usbstack.nousb=No USB
ilabs_rpico32picodebug.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico"
# -----------------------------------
# Melopero Shake RP2040
# -----------------------------------
......
......@@ -163,6 +163,8 @@ MakeBoard("sparkfun_promicrorp2040", "SparkFun", "ProMicro RP2040", "0x1b4f", "0
MakeBoard("generic", "Generic", "RP2040", "0x2e8a", "0xf00a", "GENERIC_RP2040", 16, "boot2_generic_03h_4_padded_checksum")
MakeBoard("challenger_2040_wifi", "iLabs", "Challenger 2040 WiFi", "0x2e8a", "0x1006", "CHALLENGER_2040_WIFI_RP2040", 8, "boot2_w25q080_2_padded_checksum")
MakeBoard("challenger_2040_lte", "iLabs", "Challenger 2040 LTE", "0x2e8a", "0x100b", "CHALLENGER_2040_LTE_RP2040", 8, "boot2_w25q080_2_padded_checksum")
MakeBoard("challenger_nb_2040_wifi", "iLabs", "Challenger NB 2040 WiFi", "0x2e8a", "0x100b", "CHALLENGER_2040_LTE_RP2040", 8, "boot2_w25q080_2_padded_checksum")
MakeBoard("ilabs_rpico32", "iLabs", "RPICO32", "0x2e8a", "0x1010", "ILABS_2040_RPICO32_RP2040", 8, "boot2_w25q080_2_padded_checksum")
MakeBoard("melopero_shake_rp2040", "Melopero", "Shake RP2040", "0x2e8a", "0x1005", "MELOPERO_SHAKE_RP2040", 16, "boot2_w25q080_2_padded_checksum")
MakeBoard("upesy_rp2040_devkit", "uPesy", "RP2040 DevKit", "0x2e8a", "0x1007", "UPESY_RP2040_DEVKIT", 2, "boot2_w25q080_2_padded_checksum")
MakeBoard("wiznet_5100s_evb_pico", "WIZnet", "W5100S-EVB-Pico", "0x2e8a", "0x1008", "WIZNET_5100S_EVB_PICO", 2, "boot2_w25q080_2_padded_checksum")
/*
ESP8285 helper class for the Challenger RP2040 WiFi boards
Copyright (c) 2021 P. Oldberg <pontus@ilabs.se>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <Arduino.h>
#include <ChallengerWiFi.h>
Challenger2040WiFiClass::Challenger2040WiFiClass() {
pinMode(PIN_ESP8285_RST, OUTPUT);
digitalWrite(PIN_ESP8285_RST, LOW); // Hold ESP8285 in reset
pinMode(PIN_ESP8285_MODE, OUTPUT);
digitalWrite(PIN_ESP8285_MODE, HIGH); // Prepare for normal start
}
// Do a HW reset by applying a low pulse to the reset line for 1mSec
void Challenger2040WiFiClass::doHWReset() {
digitalWrite(PIN_ESP8285_RST, LOW); // Hold ESP8285 in reset
delay(1);
digitalWrite(PIN_ESP8285_RST, HIGH); // Release ESP8285 reset
}
// Set the mode flag high to indicate normal run operation and do a HW
// reset.
void Challenger2040WiFiClass::runReset() { // Prepare ESP8285 for normal op
digitalWrite(PIN_ESP8285_MODE, HIGH); // Prepare for normal start
doHWReset();
}
// Set the mode flag low to indicate flash operation and do a HW
// reset.
void Challenger2040WiFiClass::flashReset() { // Prepare ESP8285 for flashing
digitalWrite(PIN_ESP8285_MODE, LOW); // Prepare for normal start
doHWReset();
}
// Wait for the modem to reply with a "ready" prompt. This can be done
// after a sw or hw reset have been performed to ensure that the AT
// interpreter is up and running.
bool Challenger2040WiFiClass::waitForReady() {
int timeout = 20; // Aprox max 2 sec
Serial2.begin(DEFAULT_ESP8285_BAUDRATE);
Serial2.setTimeout(100);
String rdy = Serial2.readStringUntil('\n');
while(!rdy.startsWith("ready") && timeout--) {
rdy = Serial2.readStringUntil('\n');
}
Serial2.setTimeout(1000); // Reset default timeout to 1000
if (timeout)
return true;
return false;
}
// Reset the ESP8285 and wait for the "ready" prompt to be returned.
bool Challenger2040WiFiClass::reset() {
runReset();
return waitForReady();
}
// Checks to see if the modem responds to the "AT" poll command.
bool Challenger2040WiFiClass::isAlive() {
int timeout = 5;
Serial2.setTimeout(250);
Serial2.println(F("AT"));
String rdy = Serial2.readStringUntil('\n');
while(!rdy.startsWith(F("OK")) && timeout--) {
rdy = Serial2.readStringUntil('\n');
}
Serial2.setTimeout(1000);
if (timeout)
return true;
return false;
}
// Change the baud rate of the ESP8285 as well as the local UART.
// No checking is done on the input baud rate so the user must know what
// baud rates are valid. The function ends by checking if the ESP8285 is
// reachable by doing an "AT" poll.
bool Challenger2040WiFiClass::changeBaudRate(int baud) {
Serial2.print(F("AT+UART_CUR="));
Serial2.print(baud);
Serial2.println(F(",8,1,0,0"));
delay(100);
Serial2.end();
Serial2.begin(baud);
return isAlive();
}
Challenger2040WiFiClass Challenger2040WiFi;
/*
ESP8285 helper class for the Challenger RP2040 WiFi boards
Copyright (c) 2021 P. Oldberg <pontus@ilabs.se>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#pragma once
#define DEFAULT_ESP8285_BAUDRATE 115200
class Challenger2040WiFiClass {
public:
Challenger2040WiFiClass();
void doHWReset();
void runReset();
void flashReset();
bool waitForReady();
bool reset();
bool isAlive();
bool changeBaudRate(int baud);
};
extern Challenger2040WiFiClass Challenger2040WiFi;
#pragma once
#include <ChallengerWiFi.h>
#define PINS_COUNT (24u)
#define NUM_DIGITAL_PINS (24u)
#define NUM_ANALOG_INPUTS (4u)
#define NUM_ANALOG_OUTPUTS (0u)
#define ADC_RESOLUTION (12u)
// LEDs
#define PIN_LED (12u)
// Serial
#define PIN_SERIAL1_TX (16u)
#define PIN_SERIAL1_RX (17u)
// Connected to ESP8285
#define PIN_SERIAL2_TX (4u)
#define PIN_SERIAL2_RX (5u)
#define PIN_ESP8285_RST (19u)
#define PIN_ESP8285_MODE (13u)
// SPI
#define PIN_SPI0_MISO (24u)
#define PIN_SPI0_MOSI (23u)
#define PIN_SPI0_SCK (22u)
#define PIN_SPI0_SS (21u)
// 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 (0u)
#define PIN_WIRE0_SCL (1u)
// 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)
#define LED_BUILTIN PIN_LED
#define NEOPIXEL (11u)
static const uint8_t D0 = (16u);
static const uint8_t D1 = (17u);
static const uint8_t D2 = (24u);
static const uint8_t D3 = (23u);
static const uint8_t D4 = (22u);
static const uint8_t D5 = (2u);
static const uint8_t D6 = (3u);
static const uint8_t D7 = (0u);
static const uint8_t D8 = (1u);
static const uint8_t D9 = (6u);
static const uint8_t D10 = (7u);
static const uint8_t D11 = (8u);
static const uint8_t D12 = (9u);
static const uint8_t D13 = (10u);
static const uint8_t D14 = (14u);
static const uint8_t D15 = (15u);
static const uint8_t D16 = (18u);
static const uint8_t D17 = (20u);
static const uint8_t A0 = (26u);
static const uint8_t A1 = (27u);
static const uint8_t A2 = (28u);
static const uint8_t A3 = (29u);
static const uint8_t A4 = (25u);
static const uint8_t A5 = (21u);
/*
ESP8285 helper class for the Challenger RP2040 WiFi boards
Copyright (c) 2021 P. Oldberg <pontus@ilabs.se>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <Arduino.h>
#include <Ilabs2040WiFiClass.h>
Ilabs2040WiFiClass::Ilabs2040WiFiClass() {
pinMode(PIN_ESP_RESET, OUTPUT);
digitalWrite(PIN_ESP_RESET, LOW); // Hold ESP8285 in reset
pinMode(PIN_ESP_MODE, OUTPUT);
digitalWrite(PIN_ESP_MODE, HIGH); // Prepare for normal start
}
// Do a HW reset by applying a low pulse to the reset line for 1mSec
void Ilabs2040WiFiClass::doHWReset() {
digitalWrite(PIN_ESP_RESET, LOW); // Hold ESP8285 in reset
delay(1);
digitalWrite(PIN_ESP_RESET, HIGH); // Release ESP8285 reset
}
// Set the mode flag high to indicate normal run operation and do a HW
// reset.
void Ilabs2040WiFiClass::runReset() { // Prepare ESP8285 for normal op
digitalWrite(PIN_ESP_MODE, HIGH); // Prepare for normal start
doHWReset();
}
// Set the mode flag low to indicate flash operation and do a HW
// reset.
void Ilabs2040WiFiClass::flashReset() { // Prepare ESP8285 for flashing
digitalWrite(PIN_ESP_MODE, LOW); // Prepare for normal start
doHWReset();
}
// Wait for the modem to reply with a "ready" prompt. This can be done
// after a sw or hw reset have been performed to ensure that the AT
// interpreter is up and running.
bool Ilabs2040WiFiClass::waitForReady() {
int timeout = 20; // Aprox max 2 sec
ESP_SERIAL_PORT.begin(DEFAULT_ESP8285_BAUDRATE);
ESP_SERIAL_PORT.setTimeout(100);
String rdy = ESP_SERIAL_PORT.readStringUntil('\n');
while(!rdy.startsWith("ready") && timeout--) {
rdy = ESP_SERIAL_PORT.readStringUntil('\n');
}
ESP_SERIAL_PORT.setTimeout(1000); // Reset default timeout to 1000
if (timeout)
return true;
return false;
}
// Reset the ESP8285 and wait for the "ready" prompt to be returned.
bool Ilabs2040WiFiClass::reset() {
runReset();
return waitForReady();
}
// Checks to see if the modem responds to the "AT" poll command.
bool Ilabs2040WiFiClass::isAlive() {
int timeout = 5;
ESP_SERIAL_PORT.setTimeout(250);
ESP_SERIAL_PORT.println(F("AT"));
String rdy = ESP_SERIAL_PORT.readStringUntil('\n');
while(!rdy.startsWith(F("OK")) && timeout--) {
rdy = ESP_SERIAL_PORT.readStringUntil('\n');
}
ESP_SERIAL_PORT.setTimeout(1000);
if (timeout)
return true;
return false;
}
// Change the baud rate of the ESP8285 as well as the local UART.
// No checking is done on the input baud rate so the user must know what
// baud rates are valid. The function ends by checking if the ESP8285 is
// reachable by doing an "AT" poll.
bool Ilabs2040WiFiClass::changeBaudRate(int baud) {
ESP_SERIAL_PORT.print(F("AT+UART_CUR="));
ESP_SERIAL_PORT.print(baud);
ESP_SERIAL_PORT.println(F(",8,1,0,0"));
delay(100);
ESP_SERIAL_PORT.end();
ESP_SERIAL_PORT.begin(baud);
return isAlive();
}
Ilabs2040WiFiClass Ilabs2040WiFi;
/*
ESP8285 helper class for the Challenger RP2040 WiFi boards
Copyright (c) 2021 P. Oldberg <pontus@ilabs.se>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#pragma once
#define DEFAULT_ESP8285_BAUDRATE 115200
class Ilabs2040WiFiClass {
public:
Ilabs2040WiFiClass();
void doHWReset();
void runReset();
void flashReset();
bool waitForReady();
bool reset();
bool isAlive();
bool changeBaudRate(int baud);
};
extern Ilabs2040WiFiClass Ilabs2040WiFi;
#pragma once
#include <Ilabs2040WiFiClass.h>
#define PINS_COUNT (26u)
#define NUM_DIGITAL_PINS (26u)
#define NUM_ANALOG_INPUTS (4u)
#define NUM_ANALOG_OUTPUTS (0u)
#define ADC_RESOLUTION (12u)
// Connected to ESP8285
#define PIN_SERIAL1_TX (0u)
#define PIN_SERIAL1_RX (1u)
#define PIN_ESP_RESET (2u)
#define PIN_ESP_MODE (3u)
#define PIN_ESP_TXD PIN_SERIAL1_TX
#define PIN_ESP_RXD PIN_SERIAL1_RX
#define ESP_SERIAL_PORT Serial1
// Serial
#define PIN_SERIAL2_TX (8u)
#define PIN_SERIAL2_RX (9u)
// SPI
#define PIN_SPI0_MISO (24u)
#define PIN_SPI0_MOSI (23u)
#define PIN_SPI0_SCK (22u)
#define PIN_SPI0_SS (21u)
// 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 (4u)
#define PIN_WIRE0_SCL (5u)
// 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)
static const uint8_t D0 = (0u); // Internal to the board
static const uint8_t D1 = (1u); // Internal to the board
static const uint8_t D2 = (2u); // Internal to the board
static const uint8_t D3 = (3u); // Internal to the board
static const uint8_t D4 = (4u);
static const uint8_t D5 = (5u);
static const uint8_t D6 = (6u);
static const uint8_t D7 = (7u);
static const uint8_t D8 = (8u);
static const uint8_t D9 = (9u);
static const uint8_t D10 = (10u);
static const uint8_t D11 = (11u);
static const uint8_t D12 = (12u);
static const uint8_t D13 = (13u);
static const uint8_t D14 = (14u);
static const uint8_t D15 = (15u);
static const uint8_t D16 = (16u);
static const uint8_t D17 = (17u);
static const uint8_t D18 = (18u);
static const uint8_t D19 = (19u);
static const uint8_t D20 = (20u);
static const uint8_t D21 = (21u);
static const uint8_t D22 = (22u);
static const uint8_t D23 = (23u);
static const uint8_t D24 = (24u);
static const uint8_t D25 = (25u);
static const uint8_t D26 = (26u);
static const uint8_t D27 = (27u);
static const uint8_t D28 = (28u);
static const uint8_t D29 = (29u);
static const uint8_t A0 = (26u);
static const uint8_t A1 = (27u);
static const uint8_t A2 = (28u);
static const uint8_t A3 = (29u);
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