From 72d3fc2afb61fd5727d15b220049628e72469450 Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Thu, 29 Jul 2021 09:53:55 +0200 Subject: [PATCH 01/31] Adds support for Challenger RP2040 WiFi boards --- boards.txt | 441 +++++++++++++++++++ variants/challenger_2040_wifi/pins_arduino.h | 71 +++ 2 files changed, 512 insertions(+) create mode 100644 variants/challenger_2040_wifi/pins_arduino.h diff --git a/boards.txt b/boards.txt index 21aaf83a..1d781087 100644 --- a/boards.txt +++ b/boards.txt @@ -4551,3 +4551,444 @@ genericpicodebug.menu.boot2.boot2_w25x10cl_2_padded_checksum=W25X10CL QSPI /2 genericpicodebug.menu.boot2.boot2_w25x10cl_2_padded_checksum.build.boot2=boot2_w25x10cl_2_padded_checksum genericpicodebug.menu.boot2.boot2_w25x10cl_4_padded_checksum=W25X10CL QSPI /4 genericpicodebug.menu.boot2.boot2_w25x10cl_4_padded_checksum.build.boot2=boot2_w25x10cl_4_padded_checksum + +# ----------------------------------- +# Ilabs Challenger 2040 +# ----------------------------------- +challenger_2040_wifi.name=iLabs Challenger 2040 WiFi +challenger_2040_wifi.vid.0=0x2e8a +challenger_2040_wifi.pid.0=0x1006 +challenger_2040_wifi.build.usbpid=-DSERIALUSB_PID=0x1006 +challenger_2040_wifi.build.board=CHALLENGER_2040_WIFI_RP2040 +challenger_2040_wifi.build.mcu=cortex-m0plus +challenger_2040_wifi.build.variant=challenger_2040_wifi +challenger_2040_wifi.upload.tool=uf2conv +challenger_2040_wifi.upload.maximum_size=8388608 +challenger_2040_wifi.upload.maximum_data_size=262144 +challenger_2040_wifi.upload.wait_for_upload_port=true +challenger_2040_wifi.upload.erase_cmd= +challenger_2040_wifi.serial.disableDTR=false +challenger_2040_wifi.serial.disableRTS=false +challenger_2040_wifi.build.f_cpu=125000000 +challenger_2040_wifi.build.led= +challenger_2040_wifi.build.core=rp2040 +challenger_2040_wifi.build.mcu=rp2040 +challenger_2040_wifi.build.ldscript=memmap_default.ld +challenger_2040_wifi.build.ram_length=256k +challenger_2040_wifi.build.boot2=boot2_w25q080_4_padded_checksum +challenger_2040_wifi.build.vid=0x2e8a +challenger_2040_wifi.build.pid=0x1006 +challenger_2040_wifi.build.usb_manufacturer="Invector Labs" +challenger_2040_wifi.build.usb_product="Challenger 2040 WiFi" +challenger_2040_wifi.menu.flash.8388608_0=8MB (no FS) +challenger_2040_wifi.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_wifi.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_wifi.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_wifi.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_wifi.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_wifi.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_wifi.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_wifi.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_wifi.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_wifi.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_wifi.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_wifi.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_wifi.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_wifi.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_wifi.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_wifi.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_wifi.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_wifi.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_wifi.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_wifi.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_wifi.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_wifi.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_wifi.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_wifi.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_wifi.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_wifi.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_wifi.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_wifi.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_wifi.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_wifi.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_wifi.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_wifi.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_wifi.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_wifi.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_wifi.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_wifi.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_wifi.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_wifi.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_wifi.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_wifi.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_wifi.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_wifi.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_wifi.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_wifi.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_wifi.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_wifi.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_wifi.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_wifi.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_wifi.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_wifi.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_wifi.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_wifi.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_wifi.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_wifi.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_wifi.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_wifi.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_wifi.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_wifi.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_wifi.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_wifi.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_wifi.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_wifi.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_wifi.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_wifi.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_wifi.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_wifi.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_wifi.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_wifi.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_wifi.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_wifi.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_wifi.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_wifi.menu.freq.125=125 MHz +challenger_2040_wifi.menu.freq.125.build.f_cpu=125000000L +challenger_2040_wifi.menu.freq.50=50 MHz +challenger_2040_wifi.menu.freq.50.build.f_cpu=50000000L +challenger_2040_wifi.menu.freq.100=100 MHz +challenger_2040_wifi.menu.freq.100.build.f_cpu=100000000L +challenger_2040_wifi.menu.freq.133=133 MHz +challenger_2040_wifi.menu.freq.133.build.f_cpu=133000000L +challenger_2040_wifi.menu.freq.150=150 MHz (Overclock) +challenger_2040_wifi.menu.freq.150.build.f_cpu=150000000L +challenger_2040_wifi.menu.freq.175=175 MHz (Overclock) +challenger_2040_wifi.menu.freq.175.build.f_cpu=175000000L +challenger_2040_wifi.menu.freq.200=200 MHz (Overclock) +challenger_2040_wifi.menu.freq.200.build.f_cpu=200000000L +challenger_2040_wifi.menu.freq.225=225 MHz (Overclock) +challenger_2040_wifi.menu.freq.225.build.f_cpu=225000000L +challenger_2040_wifi.menu.freq.250=250 MHz (Overclock) +challenger_2040_wifi.menu.freq.250.build.f_cpu=250000000L +challenger_2040_wifi.menu.freq.275=275 MHz (Overclock) +challenger_2040_wifi.menu.freq.275.build.f_cpu=275000000L +challenger_2040_wifi.menu.freq.300=300 MHz (Overclock) +challenger_2040_wifi.menu.freq.300.build.f_cpu=300000000L +challenger_2040_wifi.menu.dbgport.Disabled=Disabled +challenger_2040_wifi.menu.dbgport.Disabled.build.debug_port= +challenger_2040_wifi.menu.dbgport.Serial=Serial +challenger_2040_wifi.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_wifi.menu.dbgport.Serial1=Serial1 +challenger_2040_wifi.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_wifi.menu.dbgport.Serial2=Serial2 +challenger_2040_wifi.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_wifi.menu.dbglvl.None=None +challenger_2040_wifi.menu.dbglvl.None.build.debug_level= +challenger_2040_wifi.menu.dbglvl.Core=Core +challenger_2040_wifi.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_wifi.menu.dbglvl.SPI=SPI +challenger_2040_wifi.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_wifi.menu.dbglvl.Wire=Wire +challenger_2040_wifi.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_wifi.menu.dbglvl.All=All +challenger_2040_wifi.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_wifi.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_wifi.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_wifi.menu.usbstack.picosdk=Pico SDK +challenger_2040_wifi.menu.usbstack.picosdk.build.usbstack_flags="-I{runtime.platform.path}/tools/libpico" +challenger_2040_wifi.menu.usbstack.tinyusb=Adafruit TinyUSB +challenger_2040_wifi.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" + +# ----------------------------------- +# Ilabs Challenger 2040 (Picoprobe) +# ----------------------------------- +challenger_2040_wifi_picoprobe.name=iLabs Challenger 2040 WiFi (Picoprobe) +challenger_2040_wifi_picoprobe.vid.0=0x2e8a +challenger_2040_wifi_picoprobe.pid.0=0x1004 +challenger_2040_wifi_picoprobe.build.usbpid=-DSERIALUSB_PID=0x1006 +challenger_2040_wifi_picoprobe.build.board=CHALLENGER_2040_WIFI_RP2040 +challenger_2040_wifi_picoprobe.build.mcu=cortex-m0plus +challenger_2040_wifi_picoprobe.build.variant=challenger_2040_wifi +challenger_2040_wifi_picoprobe.upload.tool=picoprobe +challenger_2040_wifi_picoprobe.upload.maximum_size=8388608 +challenger_2040_wifi_picoprobe.upload.maximum_data_size=262144 +challenger_2040_wifi_picoprobe.upload.wait_for_upload_port=true +challenger_2040_wifi_picoprobe.upload.erase_cmd= +challenger_2040_wifi_picoprobe.serial.disableDTR=false +challenger_2040_wifi_picoprobe.serial.disableRTS=false +challenger_2040_wifi_picoprobe.build.f_cpu=125000000 +challenger_2040_wifi_picoprobe.build.led= +challenger_2040_wifi_picoprobe.build.core=rp2040 +challenger_2040_wifi_picoprobe.build.mcu=rp2040 +challenger_2040_wifi_picoprobe.build.ldscript=memmap_default.ld +challenger_2040_wifi_picoprobe.build.ram_length=256k +challenger_2040_wifi_picoprobe.build.boot2=boot2_w25q080_4_padded_checksum +challenger_2040_wifi_picoprobe.build.vid=0x2e8a +challenger_2040_wifi_picoprobe.build.pid=0x1006 +challenger_2040_wifi_picoprobe.build.usb_manufacturer="Invector Labs" +challenger_2040_wifi_picoprobe.build.usb_product="Challenger 2040 WiFi (Picoprobe)" +challenger_2040_wifi_picoprobe.menu.flash.8388608_0=8MB (no FS) +challenger_2040_wifi_picoprobe.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_wifi_picoprobe.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_wifi_picoprobe.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_wifi_picoprobe.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_wifi_picoprobe.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_wifi_picoprobe.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_wifi_picoprobe.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_wifi_picoprobe.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_wifi_picoprobe.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_wifi_picoprobe.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_wifi_picoprobe.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_wifi_picoprobe.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_wifi_picoprobe.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_wifi_picoprobe.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_wifi_picoprobe.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_wifi_picoprobe.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_wifi_picoprobe.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_wifi_picoprobe.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_wifi_picoprobe.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_wifi_picoprobe.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_wifi_picoprobe.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_wifi_picoprobe.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_wifi_picoprobe.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_wifi_picoprobe.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_wifi_picoprobe.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_wifi_picoprobe.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_wifi_picoprobe.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_wifi_picoprobe.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_wifi_picoprobe.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_wifi_picoprobe.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_wifi_picoprobe.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_wifi_picoprobe.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_wifi_picoprobe.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_wifi_picoprobe.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_wifi_picoprobe.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_wifi_picoprobe.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_wifi_picoprobe.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_wifi_picoprobe.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_wifi_picoprobe.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_wifi_picoprobe.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_wifi_picoprobe.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_wifi_picoprobe.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_wifi_picoprobe.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_wifi_picoprobe.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_wifi_picoprobe.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_wifi_picoprobe.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_wifi_picoprobe.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_wifi_picoprobe.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_wifi_picoprobe.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_wifi_picoprobe.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_wifi_picoprobe.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_wifi_picoprobe.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_wifi_picoprobe.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_wifi_picoprobe.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_wifi_picoprobe.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_wifi_picoprobe.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_wifi_picoprobe.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_wifi_picoprobe.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_wifi_picoprobe.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_wifi_picoprobe.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_wifi_picoprobe.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_wifi_picoprobe.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_wifi_picoprobe.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_wifi_picoprobe.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_wifi_picoprobe.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_wifi_picoprobe.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_wifi_picoprobe.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_wifi_picoprobe.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_wifi_picoprobe.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_wifi_picoprobe.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_wifi_picoprobe.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_wifi_picoprobe.menu.freq.125=125 MHz +challenger_2040_wifi_picoprobe.menu.freq.125.build.f_cpu=125000000L +challenger_2040_wifi_picoprobe.menu.freq.50=50 MHz +challenger_2040_wifi_picoprobe.menu.freq.50.build.f_cpu=50000000L +challenger_2040_wifi_picoprobe.menu.freq.100=100 MHz +challenger_2040_wifi_picoprobe.menu.freq.100.build.f_cpu=100000000L +challenger_2040_wifi_picoprobe.menu.freq.133=133 MHz +challenger_2040_wifi_picoprobe.menu.freq.133.build.f_cpu=133000000L +challenger_2040_wifi_picoprobe.menu.freq.150=150 MHz (Overclock) +challenger_2040_wifi_picoprobe.menu.freq.150.build.f_cpu=150000000L +challenger_2040_wifi_picoprobe.menu.freq.175=175 MHz (Overclock) +challenger_2040_wifi_picoprobe.menu.freq.175.build.f_cpu=175000000L +challenger_2040_wifi_picoprobe.menu.freq.200=200 MHz (Overclock) +challenger_2040_wifi_picoprobe.menu.freq.200.build.f_cpu=200000000L +challenger_2040_wifi_picoprobe.menu.freq.225=225 MHz (Overclock) +challenger_2040_wifi_picoprobe.menu.freq.225.build.f_cpu=225000000L +challenger_2040_wifi_picoprobe.menu.freq.250=250 MHz (Overclock) +challenger_2040_wifi_picoprobe.menu.freq.250.build.f_cpu=250000000L +challenger_2040_wifi_picoprobe.menu.freq.275=275 MHz (Overclock) +challenger_2040_wifi_picoprobe.menu.freq.275.build.f_cpu=275000000L +challenger_2040_wifi_picoprobe.menu.freq.300=300 MHz (Overclock) +challenger_2040_wifi_picoprobe.menu.freq.300.build.f_cpu=300000000L +challenger_2040_wifi_picoprobe.menu.dbgport.Disabled=Disabled +challenger_2040_wifi_picoprobe.menu.dbgport.Disabled.build.debug_port= +challenger_2040_wifi_picoprobe.menu.dbgport.Serial=Serial +challenger_2040_wifi_picoprobe.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_wifi_picoprobe.menu.dbgport.Serial1=Serial1 +challenger_2040_wifi_picoprobe.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_wifi_picoprobe.menu.dbgport.Serial2=Serial2 +challenger_2040_wifi_picoprobe.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_wifi_picoprobe.menu.dbglvl.None=None +challenger_2040_wifi_picoprobe.menu.dbglvl.None.build.debug_level= +challenger_2040_wifi_picoprobe.menu.dbglvl.Core=Core +challenger_2040_wifi_picoprobe.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_wifi_picoprobe.menu.dbglvl.SPI=SPI +challenger_2040_wifi_picoprobe.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_wifi_picoprobe.menu.dbglvl.Wire=Wire +challenger_2040_wifi_picoprobe.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_wifi_picoprobe.menu.dbglvl.All=All +challenger_2040_wifi_picoprobe.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_wifi_picoprobe.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_wifi_picoprobe.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_wifi_picoprobe.menu.usbstack.picosdk=Pico SDK +challenger_2040_wifi_picoprobe.menu.usbstack.picosdk.build.usbstack_flags="-I{runtime.platform.path}/tools/libpico" +challenger_2040_wifi_picoprobe.menu.usbstack.tinyusb=Adafruit TinyUSB +challenger_2040_wifi_picoprobe.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" + +# ----------------------------------- +# Ilabs Challenger 2040 (pico-debug) +# ----------------------------------- +challenger_2040_wifi_picodebug.name=iLabs Challenger 2040 WiFi (pico-debug) +challenger_2040_wifi_picodebug.vid.0=0x1209 +challenger_2040_wifi_picodebug.pid.0=0x2488 +challenger_2040_wifi_picodebug.build.usbpid=-DSERIALUSB_PID=0x1006 +challenger_2040_wifi_picodebug.build.board=CHALLENGER_2040_WIFI_RP2040 +challenger_2040_wifi_picodebug.build.mcu=cortex-m0plus +challenger_2040_wifi_picodebug.build.variant=challenger_2040_wifi +challenger_2040_wifi_picodebug.upload.tool=picodebug +challenger_2040_wifi_picodebug.upload.maximum_size=8388608 +challenger_2040_wifi_picodebug.upload.maximum_data_size=245760 +challenger_2040_wifi_picodebug.upload.wait_for_upload_port=true +challenger_2040_wifi_picodebug.upload.erase_cmd= +challenger_2040_wifi_picodebug.serial.disableDTR=false +challenger_2040_wifi_picodebug.serial.disableRTS=false +challenger_2040_wifi_picodebug.build.f_cpu=125000000 +challenger_2040_wifi_picodebug.build.led= +challenger_2040_wifi_picodebug.build.core=rp2040 +challenger_2040_wifi_picodebug.build.mcu=rp2040 +challenger_2040_wifi_picodebug.build.ldscript=memmap_default.ld +challenger_2040_wifi_picodebug.build.ram_length=240k +challenger_2040_wifi_picodebug.build.boot2=boot2_w25q080_4_padded_checksum +challenger_2040_wifi_picodebug.build.vid=0x2e8a +challenger_2040_wifi_picodebug.build.pid=0x1006 +challenger_2040_wifi_picodebug.build.usb_manufacturer="Invector Labs" +challenger_2040_wifi_picodebug.build.usb_product="Challenger 2040 WiFi (pico-debug)" +challenger_2040_wifi_picodebug.menu.flash.8388608_0=8MB (no FS) +challenger_2040_wifi_picodebug.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_wifi_picodebug.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_wifi_picodebug.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_wifi_picodebug.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_wifi_picodebug.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_wifi_picodebug.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_wifi_picodebug.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_wifi_picodebug.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_wifi_picodebug.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_wifi_picodebug.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_wifi_picodebug.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_wifi_picodebug.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_wifi_picodebug.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_wifi_picodebug.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_wifi_picodebug.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_wifi_picodebug.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_wifi_picodebug.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_wifi_picodebug.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_wifi_picodebug.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_wifi_picodebug.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_wifi_picodebug.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_wifi_picodebug.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_wifi_picodebug.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_wifi_picodebug.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_wifi_picodebug.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_wifi_picodebug.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_wifi_picodebug.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_wifi_picodebug.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_wifi_picodebug.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_wifi_picodebug.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_wifi_picodebug.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_wifi_picodebug.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_wifi_picodebug.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_wifi_picodebug.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_wifi_picodebug.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_wifi_picodebug.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_wifi_picodebug.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_wifi_picodebug.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_wifi_picodebug.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_wifi_picodebug.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_wifi_picodebug.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_wifi_picodebug.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_wifi_picodebug.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_wifi_picodebug.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_wifi_picodebug.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_wifi_picodebug.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_wifi_picodebug.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_wifi_picodebug.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_wifi_picodebug.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_wifi_picodebug.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_wifi_picodebug.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_wifi_picodebug.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_wifi_picodebug.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_wifi_picodebug.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_wifi_picodebug.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_wifi_picodebug.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_wifi_picodebug.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_wifi_picodebug.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_wifi_picodebug.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_wifi_picodebug.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_wifi_picodebug.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_wifi_picodebug.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_wifi_picodebug.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_wifi_picodebug.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_wifi_picodebug.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_wifi_picodebug.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_wifi_picodebug.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_wifi_picodebug.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_wifi_picodebug.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_wifi_picodebug.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_wifi_picodebug.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_wifi_picodebug.menu.freq.125=125 MHz +challenger_2040_wifi_picodebug.menu.freq.125.build.f_cpu=125000000L +challenger_2040_wifi_picodebug.menu.freq.50=50 MHz +challenger_2040_wifi_picodebug.menu.freq.50.build.f_cpu=50000000L +challenger_2040_wifi_picodebug.menu.freq.100=100 MHz +challenger_2040_wifi_picodebug.menu.freq.100.build.f_cpu=100000000L +challenger_2040_wifi_picodebug.menu.freq.133=133 MHz +challenger_2040_wifi_picodebug.menu.freq.133.build.f_cpu=133000000L +challenger_2040_wifi_picodebug.menu.freq.150=150 MHz (Overclock) +challenger_2040_wifi_picodebug.menu.freq.150.build.f_cpu=150000000L +challenger_2040_wifi_picodebug.menu.freq.175=175 MHz (Overclock) +challenger_2040_wifi_picodebug.menu.freq.175.build.f_cpu=175000000L +challenger_2040_wifi_picodebug.menu.freq.200=200 MHz (Overclock) +challenger_2040_wifi_picodebug.menu.freq.200.build.f_cpu=200000000L +challenger_2040_wifi_picodebug.menu.freq.225=225 MHz (Overclock) +challenger_2040_wifi_picodebug.menu.freq.225.build.f_cpu=225000000L +challenger_2040_wifi_picodebug.menu.freq.250=250 MHz (Overclock) +challenger_2040_wifi_picodebug.menu.freq.250.build.f_cpu=250000000L +challenger_2040_wifi_picodebug.menu.freq.275=275 MHz (Overclock) +challenger_2040_wifi_picodebug.menu.freq.275.build.f_cpu=275000000L +challenger_2040_wifi_picodebug.menu.freq.300=300 MHz (Overclock) +challenger_2040_wifi_picodebug.menu.freq.300.build.f_cpu=300000000L +challenger_2040_wifi_picodebug.menu.dbgport.Disabled=Disabled +challenger_2040_wifi_picodebug.menu.dbgport.Disabled.build.debug_port= +challenger_2040_wifi_picodebug.menu.dbgport.Serial=Serial +challenger_2040_wifi_picodebug.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_wifi_picodebug.menu.dbgport.Serial1=Serial1 +challenger_2040_wifi_picodebug.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_wifi_picodebug.menu.dbgport.Serial2=Serial2 +challenger_2040_wifi_picodebug.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_wifi_picodebug.menu.dbglvl.None=None +challenger_2040_wifi_picodebug.menu.dbglvl.None.build.debug_level= +challenger_2040_wifi_picodebug.menu.dbglvl.Core=Core +challenger_2040_wifi_picodebug.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_wifi_picodebug.menu.dbglvl.SPI=SPI +challenger_2040_wifi_picodebug.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_wifi_picodebug.menu.dbglvl.Wire=Wire +challenger_2040_wifi_picodebug.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_wifi_picodebug.menu.dbglvl.All=All +challenger_2040_wifi_picodebug.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_wifi_picodebug.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_wifi_picodebug.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_wifi_picodebug.menu.usbstack.picosdk=Pico SDK +challenger_2040_wifi_picodebug.menu.usbstack.picosdk.build.usbstack_flags="-I{runtime.platform.path}/tools/libpico" +challenger_2040_wifi_picodebug.menu.usbstack.tinyusb=Adafruit TinyUSB +challenger_2040_wifi_picodebug.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" diff --git a/variants/challenger_2040_wifi/pins_arduino.h b/variants/challenger_2040_wifi/pins_arduino.h new file mode 100644 index 00000000..5b78305e --- /dev/null +++ b/variants/challenger_2040_wifi/pins_arduino.h @@ -0,0 +1,71 @@ +#pragma once + +#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) + +// 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 = (11u); +static const uint8_t D15 = (12u); +static const uint8_t D16 = (13u); +static const uint8_t D17 = (19u); + +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); From 3b034ba1e4c12be66c3aa41f227d7b4193da4f07 Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Thu, 29 Jul 2021 17:46:35 +0200 Subject: [PATCH 02/31] Added Challenger board to makeboards build script --- boards.txt | 578 ++++++++++++++++++++++---------------------- tools/makeboards.py | 2 +- 2 files changed, 289 insertions(+), 291 deletions(-) diff --git a/boards.txt b/boards.txt index 1d781087..25736ce4 100644 --- a/boards.txt +++ b/boards.txt @@ -4553,7 +4553,7 @@ genericpicodebug.menu.boot2.boot2_w25x10cl_4_padded_checksum=W25X10CL QSPI /4 genericpicodebug.menu.boot2.boot2_w25x10cl_4_padded_checksum.build.boot2=boot2_w25x10cl_4_padded_checksum # ----------------------------------- -# Ilabs Challenger 2040 +# iLabs Challenger 2040 WiFi # ----------------------------------- challenger_2040_wifi.name=iLabs Challenger 2040 WiFi challenger_2040_wifi.vid.0=0x2e8a @@ -4578,7 +4578,7 @@ challenger_2040_wifi.build.ram_length=256k challenger_2040_wifi.build.boot2=boot2_w25q080_4_padded_checksum challenger_2040_wifi.build.vid=0x2e8a challenger_2040_wifi.build.pid=0x1006 -challenger_2040_wifi.build.usb_manufacturer="Invector Labs" +challenger_2040_wifi.build.usb_manufacturer="iLabs" challenger_2040_wifi.build.usb_product="Challenger 2040 WiFi" challenger_2040_wifi.menu.flash.8388608_0=8MB (no FS) challenger_2040_wifi.menu.flash.8388608_0.upload.maximum_size=8384512 @@ -4700,295 +4700,293 @@ challenger_2040_wifi.menu.usbstack.tinyusb=Adafruit TinyUSB challenger_2040_wifi.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" # ----------------------------------- -# Ilabs Challenger 2040 (Picoprobe) +# iLabs Challenger 2040 WiFi (Picoprobe) # ----------------------------------- -challenger_2040_wifi_picoprobe.name=iLabs Challenger 2040 WiFi (Picoprobe) -challenger_2040_wifi_picoprobe.vid.0=0x2e8a -challenger_2040_wifi_picoprobe.pid.0=0x1004 -challenger_2040_wifi_picoprobe.build.usbpid=-DSERIALUSB_PID=0x1006 -challenger_2040_wifi_picoprobe.build.board=CHALLENGER_2040_WIFI_RP2040 -challenger_2040_wifi_picoprobe.build.mcu=cortex-m0plus -challenger_2040_wifi_picoprobe.build.variant=challenger_2040_wifi -challenger_2040_wifi_picoprobe.upload.tool=picoprobe -challenger_2040_wifi_picoprobe.upload.maximum_size=8388608 -challenger_2040_wifi_picoprobe.upload.maximum_data_size=262144 -challenger_2040_wifi_picoprobe.upload.wait_for_upload_port=true -challenger_2040_wifi_picoprobe.upload.erase_cmd= -challenger_2040_wifi_picoprobe.serial.disableDTR=false -challenger_2040_wifi_picoprobe.serial.disableRTS=false -challenger_2040_wifi_picoprobe.build.f_cpu=125000000 -challenger_2040_wifi_picoprobe.build.led= -challenger_2040_wifi_picoprobe.build.core=rp2040 -challenger_2040_wifi_picoprobe.build.mcu=rp2040 -challenger_2040_wifi_picoprobe.build.ldscript=memmap_default.ld -challenger_2040_wifi_picoprobe.build.ram_length=256k -challenger_2040_wifi_picoprobe.build.boot2=boot2_w25q080_4_padded_checksum -challenger_2040_wifi_picoprobe.build.vid=0x2e8a -challenger_2040_wifi_picoprobe.build.pid=0x1006 -challenger_2040_wifi_picoprobe.build.usb_manufacturer="Invector Labs" -challenger_2040_wifi_picoprobe.build.usb_product="Challenger 2040 WiFi (Picoprobe)" -challenger_2040_wifi_picoprobe.menu.flash.8388608_0=8MB (no FS) -challenger_2040_wifi_picoprobe.menu.flash.8388608_0.upload.maximum_size=8384512 -challenger_2040_wifi_picoprobe.menu.flash.8388608_0.build.flash_length=8384512 -challenger_2040_wifi_picoprobe.menu.flash.8388608_0.build.eeprom_start=276819968 -challenger_2040_wifi_picoprobe.menu.flash.8388608_0.build.fs_start=276819968 -challenger_2040_wifi_picoprobe.menu.flash.8388608_0.build.fs_end=276819968 -challenger_2040_wifi_picoprobe.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) -challenger_2040_wifi_picoprobe.menu.flash.8388608_65536.upload.maximum_size=8318976 -challenger_2040_wifi_picoprobe.menu.flash.8388608_65536.build.flash_length=8318976 -challenger_2040_wifi_picoprobe.menu.flash.8388608_65536.build.eeprom_start=276819968 -challenger_2040_wifi_picoprobe.menu.flash.8388608_65536.build.fs_start=276754432 -challenger_2040_wifi_picoprobe.menu.flash.8388608_65536.build.fs_end=276819968 -challenger_2040_wifi_picoprobe.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) -challenger_2040_wifi_picoprobe.menu.flash.8388608_131072.upload.maximum_size=8253440 -challenger_2040_wifi_picoprobe.menu.flash.8388608_131072.build.flash_length=8253440 -challenger_2040_wifi_picoprobe.menu.flash.8388608_131072.build.eeprom_start=276819968 -challenger_2040_wifi_picoprobe.menu.flash.8388608_131072.build.fs_start=276688896 -challenger_2040_wifi_picoprobe.menu.flash.8388608_131072.build.fs_end=276819968 -challenger_2040_wifi_picoprobe.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) -challenger_2040_wifi_picoprobe.menu.flash.8388608_262144.upload.maximum_size=8122368 -challenger_2040_wifi_picoprobe.menu.flash.8388608_262144.build.flash_length=8122368 -challenger_2040_wifi_picoprobe.menu.flash.8388608_262144.build.eeprom_start=276819968 -challenger_2040_wifi_picoprobe.menu.flash.8388608_262144.build.fs_start=276557824 -challenger_2040_wifi_picoprobe.menu.flash.8388608_262144.build.fs_end=276819968 -challenger_2040_wifi_picoprobe.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) -challenger_2040_wifi_picoprobe.menu.flash.8388608_524288.upload.maximum_size=7860224 -challenger_2040_wifi_picoprobe.menu.flash.8388608_524288.build.flash_length=7860224 -challenger_2040_wifi_picoprobe.menu.flash.8388608_524288.build.eeprom_start=276819968 -challenger_2040_wifi_picoprobe.menu.flash.8388608_524288.build.fs_start=276295680 -challenger_2040_wifi_picoprobe.menu.flash.8388608_524288.build.fs_end=276819968 -challenger_2040_wifi_picoprobe.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) -challenger_2040_wifi_picoprobe.menu.flash.8388608_1048576.upload.maximum_size=7335936 -challenger_2040_wifi_picoprobe.menu.flash.8388608_1048576.build.flash_length=7335936 -challenger_2040_wifi_picoprobe.menu.flash.8388608_1048576.build.eeprom_start=276819968 -challenger_2040_wifi_picoprobe.menu.flash.8388608_1048576.build.fs_start=275771392 -challenger_2040_wifi_picoprobe.menu.flash.8388608_1048576.build.fs_end=276819968 -challenger_2040_wifi_picoprobe.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) -challenger_2040_wifi_picoprobe.menu.flash.8388608_2097152.upload.maximum_size=6287360 -challenger_2040_wifi_picoprobe.menu.flash.8388608_2097152.build.flash_length=6287360 -challenger_2040_wifi_picoprobe.menu.flash.8388608_2097152.build.eeprom_start=276819968 -challenger_2040_wifi_picoprobe.menu.flash.8388608_2097152.build.fs_start=274722816 -challenger_2040_wifi_picoprobe.menu.flash.8388608_2097152.build.fs_end=276819968 -challenger_2040_wifi_picoprobe.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) -challenger_2040_wifi_picoprobe.menu.flash.8388608_3145728.upload.maximum_size=5238784 -challenger_2040_wifi_picoprobe.menu.flash.8388608_3145728.build.flash_length=5238784 -challenger_2040_wifi_picoprobe.menu.flash.8388608_3145728.build.eeprom_start=276819968 -challenger_2040_wifi_picoprobe.menu.flash.8388608_3145728.build.fs_start=273674240 -challenger_2040_wifi_picoprobe.menu.flash.8388608_3145728.build.fs_end=276819968 -challenger_2040_wifi_picoprobe.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) -challenger_2040_wifi_picoprobe.menu.flash.8388608_4194304.upload.maximum_size=4190208 -challenger_2040_wifi_picoprobe.menu.flash.8388608_4194304.build.flash_length=4190208 -challenger_2040_wifi_picoprobe.menu.flash.8388608_4194304.build.eeprom_start=276819968 -challenger_2040_wifi_picoprobe.menu.flash.8388608_4194304.build.fs_start=272625664 -challenger_2040_wifi_picoprobe.menu.flash.8388608_4194304.build.fs_end=276819968 -challenger_2040_wifi_picoprobe.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) -challenger_2040_wifi_picoprobe.menu.flash.8388608_5242880.upload.maximum_size=3141632 -challenger_2040_wifi_picoprobe.menu.flash.8388608_5242880.build.flash_length=3141632 -challenger_2040_wifi_picoprobe.menu.flash.8388608_5242880.build.eeprom_start=276819968 -challenger_2040_wifi_picoprobe.menu.flash.8388608_5242880.build.fs_start=271577088 -challenger_2040_wifi_picoprobe.menu.flash.8388608_5242880.build.fs_end=276819968 -challenger_2040_wifi_picoprobe.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) -challenger_2040_wifi_picoprobe.menu.flash.8388608_6291456.upload.maximum_size=2093056 -challenger_2040_wifi_picoprobe.menu.flash.8388608_6291456.build.flash_length=2093056 -challenger_2040_wifi_picoprobe.menu.flash.8388608_6291456.build.eeprom_start=276819968 -challenger_2040_wifi_picoprobe.menu.flash.8388608_6291456.build.fs_start=270528512 -challenger_2040_wifi_picoprobe.menu.flash.8388608_6291456.build.fs_end=276819968 -challenger_2040_wifi_picoprobe.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) -challenger_2040_wifi_picoprobe.menu.flash.8388608_7340032.upload.maximum_size=1044480 -challenger_2040_wifi_picoprobe.menu.flash.8388608_7340032.build.flash_length=1044480 -challenger_2040_wifi_picoprobe.menu.flash.8388608_7340032.build.eeprom_start=276819968 -challenger_2040_wifi_picoprobe.menu.flash.8388608_7340032.build.fs_start=269479936 -challenger_2040_wifi_picoprobe.menu.flash.8388608_7340032.build.fs_end=276819968 -challenger_2040_wifi_picoprobe.menu.freq.125=125 MHz -challenger_2040_wifi_picoprobe.menu.freq.125.build.f_cpu=125000000L -challenger_2040_wifi_picoprobe.menu.freq.50=50 MHz -challenger_2040_wifi_picoprobe.menu.freq.50.build.f_cpu=50000000L -challenger_2040_wifi_picoprobe.menu.freq.100=100 MHz -challenger_2040_wifi_picoprobe.menu.freq.100.build.f_cpu=100000000L -challenger_2040_wifi_picoprobe.menu.freq.133=133 MHz -challenger_2040_wifi_picoprobe.menu.freq.133.build.f_cpu=133000000L -challenger_2040_wifi_picoprobe.menu.freq.150=150 MHz (Overclock) -challenger_2040_wifi_picoprobe.menu.freq.150.build.f_cpu=150000000L -challenger_2040_wifi_picoprobe.menu.freq.175=175 MHz (Overclock) -challenger_2040_wifi_picoprobe.menu.freq.175.build.f_cpu=175000000L -challenger_2040_wifi_picoprobe.menu.freq.200=200 MHz (Overclock) -challenger_2040_wifi_picoprobe.menu.freq.200.build.f_cpu=200000000L -challenger_2040_wifi_picoprobe.menu.freq.225=225 MHz (Overclock) -challenger_2040_wifi_picoprobe.menu.freq.225.build.f_cpu=225000000L -challenger_2040_wifi_picoprobe.menu.freq.250=250 MHz (Overclock) -challenger_2040_wifi_picoprobe.menu.freq.250.build.f_cpu=250000000L -challenger_2040_wifi_picoprobe.menu.freq.275=275 MHz (Overclock) -challenger_2040_wifi_picoprobe.menu.freq.275.build.f_cpu=275000000L -challenger_2040_wifi_picoprobe.menu.freq.300=300 MHz (Overclock) -challenger_2040_wifi_picoprobe.menu.freq.300.build.f_cpu=300000000L -challenger_2040_wifi_picoprobe.menu.dbgport.Disabled=Disabled -challenger_2040_wifi_picoprobe.menu.dbgport.Disabled.build.debug_port= -challenger_2040_wifi_picoprobe.menu.dbgport.Serial=Serial -challenger_2040_wifi_picoprobe.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial -challenger_2040_wifi_picoprobe.menu.dbgport.Serial1=Serial1 -challenger_2040_wifi_picoprobe.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 -challenger_2040_wifi_picoprobe.menu.dbgport.Serial2=Serial2 -challenger_2040_wifi_picoprobe.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 -challenger_2040_wifi_picoprobe.menu.dbglvl.None=None -challenger_2040_wifi_picoprobe.menu.dbglvl.None.build.debug_level= -challenger_2040_wifi_picoprobe.menu.dbglvl.Core=Core -challenger_2040_wifi_picoprobe.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE -challenger_2040_wifi_picoprobe.menu.dbglvl.SPI=SPI -challenger_2040_wifi_picoprobe.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI -challenger_2040_wifi_picoprobe.menu.dbglvl.Wire=Wire -challenger_2040_wifi_picoprobe.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE -challenger_2040_wifi_picoprobe.menu.dbglvl.All=All -challenger_2040_wifi_picoprobe.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE -challenger_2040_wifi_picoprobe.menu.dbglvl.NDEBUG=NDEBUG -challenger_2040_wifi_picoprobe.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG -challenger_2040_wifi_picoprobe.menu.usbstack.picosdk=Pico SDK -challenger_2040_wifi_picoprobe.menu.usbstack.picosdk.build.usbstack_flags="-I{runtime.platform.path}/tools/libpico" -challenger_2040_wifi_picoprobe.menu.usbstack.tinyusb=Adafruit TinyUSB -challenger_2040_wifi_picoprobe.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" +challenger_2040_wifipicoprobe.name=iLabs Challenger 2040 WiFi (Picoprobe) +challenger_2040_wifipicoprobe.vid.0=0x2e8a +challenger_2040_wifipicoprobe.pid.0=0x0004 +challenger_2040_wifipicoprobe.build.usbpid=-DSERIALUSB_PID=0x1006 +challenger_2040_wifipicoprobe.build.board=CHALLENGER_2040_WIFI_RP2040 +challenger_2040_wifipicoprobe.build.mcu=cortex-m0plus +challenger_2040_wifipicoprobe.build.variant=challenger_2040_wifi +challenger_2040_wifipicoprobe.upload.tool=picoprobe +challenger_2040_wifipicoprobe.upload.maximum_size=8388608 +challenger_2040_wifipicoprobe.upload.maximum_data_size=262144 +challenger_2040_wifipicoprobe.upload.wait_for_upload_port=true +challenger_2040_wifipicoprobe.upload.erase_cmd= +challenger_2040_wifipicoprobe.serial.disableDTR=false +challenger_2040_wifipicoprobe.serial.disableRTS=false +challenger_2040_wifipicoprobe.build.f_cpu=125000000 +challenger_2040_wifipicoprobe.build.led= +challenger_2040_wifipicoprobe.build.core=rp2040 +challenger_2040_wifipicoprobe.build.mcu=rp2040 +challenger_2040_wifipicoprobe.build.ldscript=memmap_default.ld +challenger_2040_wifipicoprobe.build.ram_length=256k +challenger_2040_wifipicoprobe.build.boot2=boot2_w25q080_4_padded_checksum +challenger_2040_wifipicoprobe.build.vid=0x2e8a +challenger_2040_wifipicoprobe.build.pid=0x1006 +challenger_2040_wifipicoprobe.build.usb_manufacturer="iLabs" +challenger_2040_wifipicoprobe.build.usb_product="Challenger 2040 WiFi (Picoprobe)" +challenger_2040_wifipicoprobe.menu.flash.8388608_0=8MB (no FS) +challenger_2040_wifipicoprobe.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_wifipicoprobe.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_wifipicoprobe.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_wifipicoprobe.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_wifipicoprobe.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_wifipicoprobe.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_wifipicoprobe.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_wifipicoprobe.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_wifipicoprobe.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_wifipicoprobe.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_wifipicoprobe.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_wifipicoprobe.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_wifipicoprobe.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_wifipicoprobe.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_wifipicoprobe.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_wifipicoprobe.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_wifipicoprobe.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_wifipicoprobe.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_wifipicoprobe.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_wifipicoprobe.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_wifipicoprobe.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_wifipicoprobe.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_wifipicoprobe.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_wifipicoprobe.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_wifipicoprobe.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_wifipicoprobe.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_wifipicoprobe.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_wifipicoprobe.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_wifipicoprobe.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_wifipicoprobe.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_wifipicoprobe.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_wifipicoprobe.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_wifipicoprobe.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_wifipicoprobe.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_wifipicoprobe.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_wifipicoprobe.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_wifipicoprobe.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_wifipicoprobe.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_wifipicoprobe.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_wifipicoprobe.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_wifipicoprobe.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_wifipicoprobe.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_wifipicoprobe.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_wifipicoprobe.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_wifipicoprobe.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_wifipicoprobe.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_wifipicoprobe.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_wifipicoprobe.menu.freq.125=125 MHz +challenger_2040_wifipicoprobe.menu.freq.125.build.f_cpu=125000000L +challenger_2040_wifipicoprobe.menu.freq.50=50 MHz +challenger_2040_wifipicoprobe.menu.freq.50.build.f_cpu=50000000L +challenger_2040_wifipicoprobe.menu.freq.100=100 MHz +challenger_2040_wifipicoprobe.menu.freq.100.build.f_cpu=100000000L +challenger_2040_wifipicoprobe.menu.freq.133=133 MHz +challenger_2040_wifipicoprobe.menu.freq.133.build.f_cpu=133000000L +challenger_2040_wifipicoprobe.menu.freq.150=150 MHz (Overclock) +challenger_2040_wifipicoprobe.menu.freq.150.build.f_cpu=150000000L +challenger_2040_wifipicoprobe.menu.freq.175=175 MHz (Overclock) +challenger_2040_wifipicoprobe.menu.freq.175.build.f_cpu=175000000L +challenger_2040_wifipicoprobe.menu.freq.200=200 MHz (Overclock) +challenger_2040_wifipicoprobe.menu.freq.200.build.f_cpu=200000000L +challenger_2040_wifipicoprobe.menu.freq.225=225 MHz (Overclock) +challenger_2040_wifipicoprobe.menu.freq.225.build.f_cpu=225000000L +challenger_2040_wifipicoprobe.menu.freq.250=250 MHz (Overclock) +challenger_2040_wifipicoprobe.menu.freq.250.build.f_cpu=250000000L +challenger_2040_wifipicoprobe.menu.freq.275=275 MHz (Overclock) +challenger_2040_wifipicoprobe.menu.freq.275.build.f_cpu=275000000L +challenger_2040_wifipicoprobe.menu.freq.300=300 MHz (Overclock) +challenger_2040_wifipicoprobe.menu.freq.300.build.f_cpu=300000000L +challenger_2040_wifipicoprobe.menu.dbgport.Disabled=Disabled +challenger_2040_wifipicoprobe.menu.dbgport.Disabled.build.debug_port= +challenger_2040_wifipicoprobe.menu.dbgport.Serial=Serial +challenger_2040_wifipicoprobe.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_wifipicoprobe.menu.dbgport.Serial1=Serial1 +challenger_2040_wifipicoprobe.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_wifipicoprobe.menu.dbgport.Serial2=Serial2 +challenger_2040_wifipicoprobe.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_wifipicoprobe.menu.dbglvl.None=None +challenger_2040_wifipicoprobe.menu.dbglvl.None.build.debug_level= +challenger_2040_wifipicoprobe.menu.dbglvl.Core=Core +challenger_2040_wifipicoprobe.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_wifipicoprobe.menu.dbglvl.SPI=SPI +challenger_2040_wifipicoprobe.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_wifipicoprobe.menu.dbglvl.Wire=Wire +challenger_2040_wifipicoprobe.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_wifipicoprobe.menu.dbglvl.All=All +challenger_2040_wifipicoprobe.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_wifipicoprobe.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_wifipicoprobe.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_wifipicoprobe.menu.usbstack.picosdk=Pico SDK +challenger_2040_wifipicoprobe.menu.usbstack.picosdk.build.usbstack_flags="-I{runtime.platform.path}/tools/libpico" +challenger_2040_wifipicoprobe.menu.usbstack.tinyusb=Adafruit TinyUSB +challenger_2040_wifipicoprobe.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" # ----------------------------------- -# Ilabs Challenger 2040 (pico-debug) +# iLabs Challenger 2040 WiFi (pico-debug) # ----------------------------------- -challenger_2040_wifi_picodebug.name=iLabs Challenger 2040 WiFi (pico-debug) -challenger_2040_wifi_picodebug.vid.0=0x1209 -challenger_2040_wifi_picodebug.pid.0=0x2488 -challenger_2040_wifi_picodebug.build.usbpid=-DSERIALUSB_PID=0x1006 -challenger_2040_wifi_picodebug.build.board=CHALLENGER_2040_WIFI_RP2040 -challenger_2040_wifi_picodebug.build.mcu=cortex-m0plus -challenger_2040_wifi_picodebug.build.variant=challenger_2040_wifi -challenger_2040_wifi_picodebug.upload.tool=picodebug -challenger_2040_wifi_picodebug.upload.maximum_size=8388608 -challenger_2040_wifi_picodebug.upload.maximum_data_size=245760 -challenger_2040_wifi_picodebug.upload.wait_for_upload_port=true -challenger_2040_wifi_picodebug.upload.erase_cmd= -challenger_2040_wifi_picodebug.serial.disableDTR=false -challenger_2040_wifi_picodebug.serial.disableRTS=false -challenger_2040_wifi_picodebug.build.f_cpu=125000000 -challenger_2040_wifi_picodebug.build.led= -challenger_2040_wifi_picodebug.build.core=rp2040 -challenger_2040_wifi_picodebug.build.mcu=rp2040 -challenger_2040_wifi_picodebug.build.ldscript=memmap_default.ld -challenger_2040_wifi_picodebug.build.ram_length=240k -challenger_2040_wifi_picodebug.build.boot2=boot2_w25q080_4_padded_checksum -challenger_2040_wifi_picodebug.build.vid=0x2e8a -challenger_2040_wifi_picodebug.build.pid=0x1006 -challenger_2040_wifi_picodebug.build.usb_manufacturer="Invector Labs" -challenger_2040_wifi_picodebug.build.usb_product="Challenger 2040 WiFi (pico-debug)" -challenger_2040_wifi_picodebug.menu.flash.8388608_0=8MB (no FS) -challenger_2040_wifi_picodebug.menu.flash.8388608_0.upload.maximum_size=8384512 -challenger_2040_wifi_picodebug.menu.flash.8388608_0.build.flash_length=8384512 -challenger_2040_wifi_picodebug.menu.flash.8388608_0.build.eeprom_start=276819968 -challenger_2040_wifi_picodebug.menu.flash.8388608_0.build.fs_start=276819968 -challenger_2040_wifi_picodebug.menu.flash.8388608_0.build.fs_end=276819968 -challenger_2040_wifi_picodebug.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) -challenger_2040_wifi_picodebug.menu.flash.8388608_65536.upload.maximum_size=8318976 -challenger_2040_wifi_picodebug.menu.flash.8388608_65536.build.flash_length=8318976 -challenger_2040_wifi_picodebug.menu.flash.8388608_65536.build.eeprom_start=276819968 -challenger_2040_wifi_picodebug.menu.flash.8388608_65536.build.fs_start=276754432 -challenger_2040_wifi_picodebug.menu.flash.8388608_65536.build.fs_end=276819968 -challenger_2040_wifi_picodebug.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) -challenger_2040_wifi_picodebug.menu.flash.8388608_131072.upload.maximum_size=8253440 -challenger_2040_wifi_picodebug.menu.flash.8388608_131072.build.flash_length=8253440 -challenger_2040_wifi_picodebug.menu.flash.8388608_131072.build.eeprom_start=276819968 -challenger_2040_wifi_picodebug.menu.flash.8388608_131072.build.fs_start=276688896 -challenger_2040_wifi_picodebug.menu.flash.8388608_131072.build.fs_end=276819968 -challenger_2040_wifi_picodebug.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) -challenger_2040_wifi_picodebug.menu.flash.8388608_262144.upload.maximum_size=8122368 -challenger_2040_wifi_picodebug.menu.flash.8388608_262144.build.flash_length=8122368 -challenger_2040_wifi_picodebug.menu.flash.8388608_262144.build.eeprom_start=276819968 -challenger_2040_wifi_picodebug.menu.flash.8388608_262144.build.fs_start=276557824 -challenger_2040_wifi_picodebug.menu.flash.8388608_262144.build.fs_end=276819968 -challenger_2040_wifi_picodebug.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) -challenger_2040_wifi_picodebug.menu.flash.8388608_524288.upload.maximum_size=7860224 -challenger_2040_wifi_picodebug.menu.flash.8388608_524288.build.flash_length=7860224 -challenger_2040_wifi_picodebug.menu.flash.8388608_524288.build.eeprom_start=276819968 -challenger_2040_wifi_picodebug.menu.flash.8388608_524288.build.fs_start=276295680 -challenger_2040_wifi_picodebug.menu.flash.8388608_524288.build.fs_end=276819968 -challenger_2040_wifi_picodebug.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) -challenger_2040_wifi_picodebug.menu.flash.8388608_1048576.upload.maximum_size=7335936 -challenger_2040_wifi_picodebug.menu.flash.8388608_1048576.build.flash_length=7335936 -challenger_2040_wifi_picodebug.menu.flash.8388608_1048576.build.eeprom_start=276819968 -challenger_2040_wifi_picodebug.menu.flash.8388608_1048576.build.fs_start=275771392 -challenger_2040_wifi_picodebug.menu.flash.8388608_1048576.build.fs_end=276819968 -challenger_2040_wifi_picodebug.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) -challenger_2040_wifi_picodebug.menu.flash.8388608_2097152.upload.maximum_size=6287360 -challenger_2040_wifi_picodebug.menu.flash.8388608_2097152.build.flash_length=6287360 -challenger_2040_wifi_picodebug.menu.flash.8388608_2097152.build.eeprom_start=276819968 -challenger_2040_wifi_picodebug.menu.flash.8388608_2097152.build.fs_start=274722816 -challenger_2040_wifi_picodebug.menu.flash.8388608_2097152.build.fs_end=276819968 -challenger_2040_wifi_picodebug.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) -challenger_2040_wifi_picodebug.menu.flash.8388608_3145728.upload.maximum_size=5238784 -challenger_2040_wifi_picodebug.menu.flash.8388608_3145728.build.flash_length=5238784 -challenger_2040_wifi_picodebug.menu.flash.8388608_3145728.build.eeprom_start=276819968 -challenger_2040_wifi_picodebug.menu.flash.8388608_3145728.build.fs_start=273674240 -challenger_2040_wifi_picodebug.menu.flash.8388608_3145728.build.fs_end=276819968 -challenger_2040_wifi_picodebug.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) -challenger_2040_wifi_picodebug.menu.flash.8388608_4194304.upload.maximum_size=4190208 -challenger_2040_wifi_picodebug.menu.flash.8388608_4194304.build.flash_length=4190208 -challenger_2040_wifi_picodebug.menu.flash.8388608_4194304.build.eeprom_start=276819968 -challenger_2040_wifi_picodebug.menu.flash.8388608_4194304.build.fs_start=272625664 -challenger_2040_wifi_picodebug.menu.flash.8388608_4194304.build.fs_end=276819968 -challenger_2040_wifi_picodebug.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) -challenger_2040_wifi_picodebug.menu.flash.8388608_5242880.upload.maximum_size=3141632 -challenger_2040_wifi_picodebug.menu.flash.8388608_5242880.build.flash_length=3141632 -challenger_2040_wifi_picodebug.menu.flash.8388608_5242880.build.eeprom_start=276819968 -challenger_2040_wifi_picodebug.menu.flash.8388608_5242880.build.fs_start=271577088 -challenger_2040_wifi_picodebug.menu.flash.8388608_5242880.build.fs_end=276819968 -challenger_2040_wifi_picodebug.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) -challenger_2040_wifi_picodebug.menu.flash.8388608_6291456.upload.maximum_size=2093056 -challenger_2040_wifi_picodebug.menu.flash.8388608_6291456.build.flash_length=2093056 -challenger_2040_wifi_picodebug.menu.flash.8388608_6291456.build.eeprom_start=276819968 -challenger_2040_wifi_picodebug.menu.flash.8388608_6291456.build.fs_start=270528512 -challenger_2040_wifi_picodebug.menu.flash.8388608_6291456.build.fs_end=276819968 -challenger_2040_wifi_picodebug.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) -challenger_2040_wifi_picodebug.menu.flash.8388608_7340032.upload.maximum_size=1044480 -challenger_2040_wifi_picodebug.menu.flash.8388608_7340032.build.flash_length=1044480 -challenger_2040_wifi_picodebug.menu.flash.8388608_7340032.build.eeprom_start=276819968 -challenger_2040_wifi_picodebug.menu.flash.8388608_7340032.build.fs_start=269479936 -challenger_2040_wifi_picodebug.menu.flash.8388608_7340032.build.fs_end=276819968 -challenger_2040_wifi_picodebug.menu.freq.125=125 MHz -challenger_2040_wifi_picodebug.menu.freq.125.build.f_cpu=125000000L -challenger_2040_wifi_picodebug.menu.freq.50=50 MHz -challenger_2040_wifi_picodebug.menu.freq.50.build.f_cpu=50000000L -challenger_2040_wifi_picodebug.menu.freq.100=100 MHz -challenger_2040_wifi_picodebug.menu.freq.100.build.f_cpu=100000000L -challenger_2040_wifi_picodebug.menu.freq.133=133 MHz -challenger_2040_wifi_picodebug.menu.freq.133.build.f_cpu=133000000L -challenger_2040_wifi_picodebug.menu.freq.150=150 MHz (Overclock) -challenger_2040_wifi_picodebug.menu.freq.150.build.f_cpu=150000000L -challenger_2040_wifi_picodebug.menu.freq.175=175 MHz (Overclock) -challenger_2040_wifi_picodebug.menu.freq.175.build.f_cpu=175000000L -challenger_2040_wifi_picodebug.menu.freq.200=200 MHz (Overclock) -challenger_2040_wifi_picodebug.menu.freq.200.build.f_cpu=200000000L -challenger_2040_wifi_picodebug.menu.freq.225=225 MHz (Overclock) -challenger_2040_wifi_picodebug.menu.freq.225.build.f_cpu=225000000L -challenger_2040_wifi_picodebug.menu.freq.250=250 MHz (Overclock) -challenger_2040_wifi_picodebug.menu.freq.250.build.f_cpu=250000000L -challenger_2040_wifi_picodebug.menu.freq.275=275 MHz (Overclock) -challenger_2040_wifi_picodebug.menu.freq.275.build.f_cpu=275000000L -challenger_2040_wifi_picodebug.menu.freq.300=300 MHz (Overclock) -challenger_2040_wifi_picodebug.menu.freq.300.build.f_cpu=300000000L -challenger_2040_wifi_picodebug.menu.dbgport.Disabled=Disabled -challenger_2040_wifi_picodebug.menu.dbgport.Disabled.build.debug_port= -challenger_2040_wifi_picodebug.menu.dbgport.Serial=Serial -challenger_2040_wifi_picodebug.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial -challenger_2040_wifi_picodebug.menu.dbgport.Serial1=Serial1 -challenger_2040_wifi_picodebug.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 -challenger_2040_wifi_picodebug.menu.dbgport.Serial2=Serial2 -challenger_2040_wifi_picodebug.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 -challenger_2040_wifi_picodebug.menu.dbglvl.None=None -challenger_2040_wifi_picodebug.menu.dbglvl.None.build.debug_level= -challenger_2040_wifi_picodebug.menu.dbglvl.Core=Core -challenger_2040_wifi_picodebug.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE -challenger_2040_wifi_picodebug.menu.dbglvl.SPI=SPI -challenger_2040_wifi_picodebug.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI -challenger_2040_wifi_picodebug.menu.dbglvl.Wire=Wire -challenger_2040_wifi_picodebug.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE -challenger_2040_wifi_picodebug.menu.dbglvl.All=All -challenger_2040_wifi_picodebug.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE -challenger_2040_wifi_picodebug.menu.dbglvl.NDEBUG=NDEBUG -challenger_2040_wifi_picodebug.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG -challenger_2040_wifi_picodebug.menu.usbstack.picosdk=Pico SDK -challenger_2040_wifi_picodebug.menu.usbstack.picosdk.build.usbstack_flags="-I{runtime.platform.path}/tools/libpico" -challenger_2040_wifi_picodebug.menu.usbstack.tinyusb=Adafruit TinyUSB -challenger_2040_wifi_picodebug.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" +challenger_2040_wifipicodebug.name=iLabs Challenger 2040 WiFi (pico-debug) +challenger_2040_wifipicodebug.vid.0=0x1209 +challenger_2040_wifipicodebug.pid.0=0x2488 +challenger_2040_wifipicodebug.build.usbpid=-DSERIALUSB_PID=0x1006 +challenger_2040_wifipicodebug.build.board=CHALLENGER_2040_WIFI_RP2040 +challenger_2040_wifipicodebug.build.mcu=cortex-m0plus +challenger_2040_wifipicodebug.build.variant=challenger_2040_wifi +challenger_2040_wifipicodebug.upload.tool=picodebug +challenger_2040_wifipicodebug.upload.maximum_size=8388608 +challenger_2040_wifipicodebug.upload.maximum_data_size=245760 +challenger_2040_wifipicodebug.upload.wait_for_upload_port=true +challenger_2040_wifipicodebug.upload.erase_cmd= +challenger_2040_wifipicodebug.serial.disableDTR=false +challenger_2040_wifipicodebug.serial.disableRTS=false +challenger_2040_wifipicodebug.build.f_cpu=125000000 +challenger_2040_wifipicodebug.build.led= +challenger_2040_wifipicodebug.build.core=rp2040 +challenger_2040_wifipicodebug.build.mcu=rp2040 +challenger_2040_wifipicodebug.build.ldscript=memmap_default.ld +challenger_2040_wifipicodebug.build.ram_length=240k +challenger_2040_wifipicodebug.build.boot2=boot2_w25q080_4_padded_checksum +challenger_2040_wifipicodebug.build.vid=0x2e8a +challenger_2040_wifipicodebug.build.pid=0x1006 +challenger_2040_wifipicodebug.build.usb_manufacturer="iLabs" +challenger_2040_wifipicodebug.build.usb_product="Challenger 2040 WiFi (pico-debug)" +challenger_2040_wifipicodebug.menu.flash.8388608_0=8MB (no FS) +challenger_2040_wifipicodebug.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_wifipicodebug.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_wifipicodebug.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_wifipicodebug.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_wifipicodebug.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_wifipicodebug.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_wifipicodebug.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_wifipicodebug.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_wifipicodebug.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_wifipicodebug.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_wifipicodebug.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_wifipicodebug.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_wifipicodebug.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_wifipicodebug.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_wifipicodebug.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_wifipicodebug.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_wifipicodebug.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_wifipicodebug.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_wifipicodebug.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_wifipicodebug.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_wifipicodebug.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_wifipicodebug.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_wifipicodebug.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_wifipicodebug.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_wifipicodebug.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_wifipicodebug.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_wifipicodebug.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_wifipicodebug.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_wifipicodebug.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_wifipicodebug.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_wifipicodebug.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_wifipicodebug.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_wifipicodebug.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_wifipicodebug.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_wifipicodebug.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_wifipicodebug.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_wifipicodebug.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_wifipicodebug.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_wifipicodebug.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_wifipicodebug.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_wifipicodebug.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_wifipicodebug.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_wifipicodebug.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_wifipicodebug.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_wifipicodebug.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_wifipicodebug.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_wifipicodebug.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_wifipicodebug.menu.freq.125=125 MHz +challenger_2040_wifipicodebug.menu.freq.125.build.f_cpu=125000000L +challenger_2040_wifipicodebug.menu.freq.50=50 MHz +challenger_2040_wifipicodebug.menu.freq.50.build.f_cpu=50000000L +challenger_2040_wifipicodebug.menu.freq.100=100 MHz +challenger_2040_wifipicodebug.menu.freq.100.build.f_cpu=100000000L +challenger_2040_wifipicodebug.menu.freq.133=133 MHz +challenger_2040_wifipicodebug.menu.freq.133.build.f_cpu=133000000L +challenger_2040_wifipicodebug.menu.freq.150=150 MHz (Overclock) +challenger_2040_wifipicodebug.menu.freq.150.build.f_cpu=150000000L +challenger_2040_wifipicodebug.menu.freq.175=175 MHz (Overclock) +challenger_2040_wifipicodebug.menu.freq.175.build.f_cpu=175000000L +challenger_2040_wifipicodebug.menu.freq.200=200 MHz (Overclock) +challenger_2040_wifipicodebug.menu.freq.200.build.f_cpu=200000000L +challenger_2040_wifipicodebug.menu.freq.225=225 MHz (Overclock) +challenger_2040_wifipicodebug.menu.freq.225.build.f_cpu=225000000L +challenger_2040_wifipicodebug.menu.freq.250=250 MHz (Overclock) +challenger_2040_wifipicodebug.menu.freq.250.build.f_cpu=250000000L +challenger_2040_wifipicodebug.menu.freq.275=275 MHz (Overclock) +challenger_2040_wifipicodebug.menu.freq.275.build.f_cpu=275000000L +challenger_2040_wifipicodebug.menu.freq.300=300 MHz (Overclock) +challenger_2040_wifipicodebug.menu.freq.300.build.f_cpu=300000000L +challenger_2040_wifipicodebug.menu.dbgport.Disabled=Disabled +challenger_2040_wifipicodebug.menu.dbgport.Disabled.build.debug_port= +challenger_2040_wifipicodebug.menu.dbgport.Serial=Serial +challenger_2040_wifipicodebug.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_wifipicodebug.menu.dbgport.Serial1=Serial1 +challenger_2040_wifipicodebug.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_wifipicodebug.menu.dbgport.Serial2=Serial2 +challenger_2040_wifipicodebug.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_wifipicodebug.menu.dbglvl.None=None +challenger_2040_wifipicodebug.menu.dbglvl.None.build.debug_level= +challenger_2040_wifipicodebug.menu.dbglvl.Core=Core +challenger_2040_wifipicodebug.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_wifipicodebug.menu.dbglvl.SPI=SPI +challenger_2040_wifipicodebug.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_wifipicodebug.menu.dbglvl.Wire=Wire +challenger_2040_wifipicodebug.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_wifipicodebug.menu.dbglvl.All=All +challenger_2040_wifipicodebug.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_wifipicodebug.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_wifipicodebug.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_wifipicodebug.menu.usbstack.nousb=No USB +challenger_2040_wifipicodebug.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico" diff --git a/tools/makeboards.py b/tools/makeboards.py index f0ef7b49..dd2cddef 100755 --- a/tools/makeboards.py +++ b/tools/makeboards.py @@ -143,4 +143,4 @@ def MakeBoard(name, vendor_name, product_name, vid, pid, boarddefine, flashsizem MakeBoard("arduino_nano_connect", "Arduino", "Nano RP2040 Connect", "0x2341", "0x0058", "ARDUINO_NANO_RP2040_CONNECT", 16, "boot2_w25q080_2_padded_checksum") MakeBoard("sparkfun_promicrorp2040", "SparkFun", "ProMicro RP2040", "0x1b4f", "0x0026", "SPARKFUN_PROMICRO_RP2040", 16, "boot2_generic_03h_4_padded_checksum") 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_4_padded_checksum") From c8a204f87810bf5c94f6287be2f2fde990779c11 Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Sun, 8 Aug 2021 17:10:52 +0200 Subject: [PATCH 03/31] Adds new challenger board with LTE modem. --- boards.txt | 445 +++++++++++++++++++- tools/makeboards.py | 3 +- variants/challenger_2040_lte/pins_arduino.h | 75 ++++ 3 files changed, 519 insertions(+), 4 deletions(-) create mode 100644 variants/challenger_2040_lte/pins_arduino.h diff --git a/boards.txt b/boards.txt index 25736ce4..a78642a4 100644 --- a/boards.txt +++ b/boards.txt @@ -4575,7 +4575,7 @@ challenger_2040_wifi.build.core=rp2040 challenger_2040_wifi.build.mcu=rp2040 challenger_2040_wifi.build.ldscript=memmap_default.ld challenger_2040_wifi.build.ram_length=256k -challenger_2040_wifi.build.boot2=boot2_w25q080_4_padded_checksum +challenger_2040_wifi.build.boot2=boot2_w25q080_2_padded_checksum challenger_2040_wifi.build.vid=0x2e8a challenger_2040_wifi.build.pid=0x1006 challenger_2040_wifi.build.usb_manufacturer="iLabs" @@ -4722,7 +4722,7 @@ challenger_2040_wifipicoprobe.build.core=rp2040 challenger_2040_wifipicoprobe.build.mcu=rp2040 challenger_2040_wifipicoprobe.build.ldscript=memmap_default.ld challenger_2040_wifipicoprobe.build.ram_length=256k -challenger_2040_wifipicoprobe.build.boot2=boot2_w25q080_4_padded_checksum +challenger_2040_wifipicoprobe.build.boot2=boot2_w25q080_2_padded_checksum challenger_2040_wifipicoprobe.build.vid=0x2e8a challenger_2040_wifipicoprobe.build.pid=0x1006 challenger_2040_wifipicoprobe.build.usb_manufacturer="iLabs" @@ -4869,7 +4869,7 @@ challenger_2040_wifipicodebug.build.core=rp2040 challenger_2040_wifipicodebug.build.mcu=rp2040 challenger_2040_wifipicodebug.build.ldscript=memmap_default.ld challenger_2040_wifipicodebug.build.ram_length=240k -challenger_2040_wifipicodebug.build.boot2=boot2_w25q080_4_padded_checksum +challenger_2040_wifipicodebug.build.boot2=boot2_w25q080_2_padded_checksum challenger_2040_wifipicodebug.build.vid=0x2e8a challenger_2040_wifipicodebug.build.pid=0x1006 challenger_2040_wifipicodebug.build.usb_manufacturer="iLabs" @@ -4990,3 +4990,442 @@ challenger_2040_wifipicodebug.menu.dbglvl.NDEBUG=NDEBUG challenger_2040_wifipicodebug.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG challenger_2040_wifipicodebug.menu.usbstack.nousb=No USB challenger_2040_wifipicodebug.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico" + +# ----------------------------------- +# iLabs Challenger 2040 LTE +# ----------------------------------- +challenger_2040_lte.name=iLabs Challenger 2040 LTE +challenger_2040_lte.vid.0=0x2e8a +challenger_2040_lte.pid.0=0x1007 +challenger_2040_lte.build.usbpid=-DSERIALUSB_PID=0x1007 +challenger_2040_lte.build.board=CHALLENGER_2040_LTE_RP2040 +challenger_2040_lte.build.mcu=cortex-m0plus +challenger_2040_lte.build.variant=challenger_2040_lte +challenger_2040_lte.upload.tool=uf2conv +challenger_2040_lte.upload.maximum_size=8388608 +challenger_2040_lte.upload.maximum_data_size=262144 +challenger_2040_lte.upload.wait_for_upload_port=true +challenger_2040_lte.upload.erase_cmd= +challenger_2040_lte.serial.disableDTR=false +challenger_2040_lte.serial.disableRTS=false +challenger_2040_lte.build.f_cpu=125000000 +challenger_2040_lte.build.led= +challenger_2040_lte.build.core=rp2040 +challenger_2040_lte.build.mcu=rp2040 +challenger_2040_lte.build.ldscript=memmap_default.ld +challenger_2040_lte.build.ram_length=256k +challenger_2040_lte.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_lte.build.vid=0x2e8a +challenger_2040_lte.build.pid=0x1007 +challenger_2040_lte.build.usb_manufacturer="iLabs" +challenger_2040_lte.build.usb_product="Challenger 2040 LTE" +challenger_2040_lte.menu.flash.8388608_0=8MB (no FS) +challenger_2040_lte.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_lte.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_lte.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_lte.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_lte.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_lte.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_lte.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_lte.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_lte.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_lte.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_lte.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_lte.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_lte.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_lte.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_lte.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_lte.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_lte.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_lte.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_lte.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_lte.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_lte.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_lte.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_lte.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_lte.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_lte.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_lte.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_lte.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_lte.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_lte.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_lte.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_lte.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_lte.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_lte.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_lte.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_lte.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_lte.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_lte.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_lte.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_lte.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_lte.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_lte.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_lte.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_lte.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_lte.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_lte.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_lte.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_lte.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_lte.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_lte.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_lte.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_lte.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_lte.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_lte.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_lte.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_lte.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_lte.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_lte.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_lte.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_lte.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_lte.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_lte.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_lte.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_lte.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_lte.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_lte.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_lte.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_lte.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_lte.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_lte.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_lte.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_lte.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_lte.menu.freq.125=125 MHz +challenger_2040_lte.menu.freq.125.build.f_cpu=125000000L +challenger_2040_lte.menu.freq.50=50 MHz +challenger_2040_lte.menu.freq.50.build.f_cpu=50000000L +challenger_2040_lte.menu.freq.100=100 MHz +challenger_2040_lte.menu.freq.100.build.f_cpu=100000000L +challenger_2040_lte.menu.freq.133=133 MHz +challenger_2040_lte.menu.freq.133.build.f_cpu=133000000L +challenger_2040_lte.menu.freq.150=150 MHz (Overclock) +challenger_2040_lte.menu.freq.150.build.f_cpu=150000000L +challenger_2040_lte.menu.freq.175=175 MHz (Overclock) +challenger_2040_lte.menu.freq.175.build.f_cpu=175000000L +challenger_2040_lte.menu.freq.200=200 MHz (Overclock) +challenger_2040_lte.menu.freq.200.build.f_cpu=200000000L +challenger_2040_lte.menu.freq.225=225 MHz (Overclock) +challenger_2040_lte.menu.freq.225.build.f_cpu=225000000L +challenger_2040_lte.menu.freq.250=250 MHz (Overclock) +challenger_2040_lte.menu.freq.250.build.f_cpu=250000000L +challenger_2040_lte.menu.freq.275=275 MHz (Overclock) +challenger_2040_lte.menu.freq.275.build.f_cpu=275000000L +challenger_2040_lte.menu.freq.300=300 MHz (Overclock) +challenger_2040_lte.menu.freq.300.build.f_cpu=300000000L +challenger_2040_lte.menu.dbgport.Disabled=Disabled +challenger_2040_lte.menu.dbgport.Disabled.build.debug_port= +challenger_2040_lte.menu.dbgport.Serial=Serial +challenger_2040_lte.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_lte.menu.dbgport.Serial1=Serial1 +challenger_2040_lte.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_lte.menu.dbgport.Serial2=Serial2 +challenger_2040_lte.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_lte.menu.dbglvl.None=None +challenger_2040_lte.menu.dbglvl.None.build.debug_level= +challenger_2040_lte.menu.dbglvl.Core=Core +challenger_2040_lte.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_lte.menu.dbglvl.SPI=SPI +challenger_2040_lte.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_lte.menu.dbglvl.Wire=Wire +challenger_2040_lte.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_lte.menu.dbglvl.All=All +challenger_2040_lte.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_lte.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_lte.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_lte.menu.usbstack.picosdk=Pico SDK +challenger_2040_lte.menu.usbstack.picosdk.build.usbstack_flags="-I{runtime.platform.path}/tools/libpico" +challenger_2040_lte.menu.usbstack.tinyusb=Adafruit TinyUSB +challenger_2040_lte.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" + +# ----------------------------------- +# iLabs Challenger 2040 LTE (Picoprobe) +# ----------------------------------- +challenger_2040_ltepicoprobe.name=iLabs Challenger 2040 LTE (Picoprobe) +challenger_2040_ltepicoprobe.vid.0=0x2e8a +challenger_2040_ltepicoprobe.pid.0=0x0004 +challenger_2040_ltepicoprobe.build.usbpid=-DSERIALUSB_PID=0x1007 +challenger_2040_ltepicoprobe.build.board=CHALLENGER_2040_LTE_RP2040 +challenger_2040_ltepicoprobe.build.mcu=cortex-m0plus +challenger_2040_ltepicoprobe.build.variant=challenger_2040_lte +challenger_2040_ltepicoprobe.upload.tool=picoprobe +challenger_2040_ltepicoprobe.upload.maximum_size=8388608 +challenger_2040_ltepicoprobe.upload.maximum_data_size=262144 +challenger_2040_ltepicoprobe.upload.wait_for_upload_port=true +challenger_2040_ltepicoprobe.upload.erase_cmd= +challenger_2040_ltepicoprobe.serial.disableDTR=false +challenger_2040_ltepicoprobe.serial.disableRTS=false +challenger_2040_ltepicoprobe.build.f_cpu=125000000 +challenger_2040_ltepicoprobe.build.led= +challenger_2040_ltepicoprobe.build.core=rp2040 +challenger_2040_ltepicoprobe.build.mcu=rp2040 +challenger_2040_ltepicoprobe.build.ldscript=memmap_default.ld +challenger_2040_ltepicoprobe.build.ram_length=256k +challenger_2040_ltepicoprobe.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_ltepicoprobe.build.vid=0x2e8a +challenger_2040_ltepicoprobe.build.pid=0x1007 +challenger_2040_ltepicoprobe.build.usb_manufacturer="iLabs" +challenger_2040_ltepicoprobe.build.usb_product="Challenger 2040 LTE (Picoprobe)" +challenger_2040_ltepicoprobe.menu.flash.8388608_0=8MB (no FS) +challenger_2040_ltepicoprobe.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_ltepicoprobe.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_ltepicoprobe.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_ltepicoprobe.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_ltepicoprobe.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_ltepicoprobe.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_ltepicoprobe.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_ltepicoprobe.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_ltepicoprobe.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_ltepicoprobe.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_ltepicoprobe.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_ltepicoprobe.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_ltepicoprobe.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_ltepicoprobe.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_ltepicoprobe.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_ltepicoprobe.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_ltepicoprobe.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_ltepicoprobe.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_ltepicoprobe.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_ltepicoprobe.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_ltepicoprobe.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_ltepicoprobe.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_ltepicoprobe.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_ltepicoprobe.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_ltepicoprobe.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_ltepicoprobe.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_ltepicoprobe.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_ltepicoprobe.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_ltepicoprobe.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_ltepicoprobe.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_ltepicoprobe.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_ltepicoprobe.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_ltepicoprobe.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_ltepicoprobe.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_ltepicoprobe.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_ltepicoprobe.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_ltepicoprobe.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_ltepicoprobe.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_ltepicoprobe.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_ltepicoprobe.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_ltepicoprobe.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_ltepicoprobe.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_ltepicoprobe.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_ltepicoprobe.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_ltepicoprobe.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_ltepicoprobe.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_ltepicoprobe.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_ltepicoprobe.menu.freq.125=125 MHz +challenger_2040_ltepicoprobe.menu.freq.125.build.f_cpu=125000000L +challenger_2040_ltepicoprobe.menu.freq.50=50 MHz +challenger_2040_ltepicoprobe.menu.freq.50.build.f_cpu=50000000L +challenger_2040_ltepicoprobe.menu.freq.100=100 MHz +challenger_2040_ltepicoprobe.menu.freq.100.build.f_cpu=100000000L +challenger_2040_ltepicoprobe.menu.freq.133=133 MHz +challenger_2040_ltepicoprobe.menu.freq.133.build.f_cpu=133000000L +challenger_2040_ltepicoprobe.menu.freq.150=150 MHz (Overclock) +challenger_2040_ltepicoprobe.menu.freq.150.build.f_cpu=150000000L +challenger_2040_ltepicoprobe.menu.freq.175=175 MHz (Overclock) +challenger_2040_ltepicoprobe.menu.freq.175.build.f_cpu=175000000L +challenger_2040_ltepicoprobe.menu.freq.200=200 MHz (Overclock) +challenger_2040_ltepicoprobe.menu.freq.200.build.f_cpu=200000000L +challenger_2040_ltepicoprobe.menu.freq.225=225 MHz (Overclock) +challenger_2040_ltepicoprobe.menu.freq.225.build.f_cpu=225000000L +challenger_2040_ltepicoprobe.menu.freq.250=250 MHz (Overclock) +challenger_2040_ltepicoprobe.menu.freq.250.build.f_cpu=250000000L +challenger_2040_ltepicoprobe.menu.freq.275=275 MHz (Overclock) +challenger_2040_ltepicoprobe.menu.freq.275.build.f_cpu=275000000L +challenger_2040_ltepicoprobe.menu.freq.300=300 MHz (Overclock) +challenger_2040_ltepicoprobe.menu.freq.300.build.f_cpu=300000000L +challenger_2040_ltepicoprobe.menu.dbgport.Disabled=Disabled +challenger_2040_ltepicoprobe.menu.dbgport.Disabled.build.debug_port= +challenger_2040_ltepicoprobe.menu.dbgport.Serial=Serial +challenger_2040_ltepicoprobe.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_ltepicoprobe.menu.dbgport.Serial1=Serial1 +challenger_2040_ltepicoprobe.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_ltepicoprobe.menu.dbgport.Serial2=Serial2 +challenger_2040_ltepicoprobe.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_ltepicoprobe.menu.dbglvl.None=None +challenger_2040_ltepicoprobe.menu.dbglvl.None.build.debug_level= +challenger_2040_ltepicoprobe.menu.dbglvl.Core=Core +challenger_2040_ltepicoprobe.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_ltepicoprobe.menu.dbglvl.SPI=SPI +challenger_2040_ltepicoprobe.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_ltepicoprobe.menu.dbglvl.Wire=Wire +challenger_2040_ltepicoprobe.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_ltepicoprobe.menu.dbglvl.All=All +challenger_2040_ltepicoprobe.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_ltepicoprobe.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_ltepicoprobe.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_ltepicoprobe.menu.usbstack.picosdk=Pico SDK +challenger_2040_ltepicoprobe.menu.usbstack.picosdk.build.usbstack_flags="-I{runtime.platform.path}/tools/libpico" +challenger_2040_ltepicoprobe.menu.usbstack.tinyusb=Adafruit TinyUSB +challenger_2040_ltepicoprobe.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" + +# ----------------------------------- +# iLabs Challenger 2040 LTE (pico-debug) +# ----------------------------------- +challenger_2040_ltepicodebug.name=iLabs Challenger 2040 LTE (pico-debug) +challenger_2040_ltepicodebug.vid.0=0x1209 +challenger_2040_ltepicodebug.pid.0=0x2488 +challenger_2040_ltepicodebug.build.usbpid=-DSERIALUSB_PID=0x1007 +challenger_2040_ltepicodebug.build.board=CHALLENGER_2040_LTE_RP2040 +challenger_2040_ltepicodebug.build.mcu=cortex-m0plus +challenger_2040_ltepicodebug.build.variant=challenger_2040_lte +challenger_2040_ltepicodebug.upload.tool=picodebug +challenger_2040_ltepicodebug.upload.maximum_size=8388608 +challenger_2040_ltepicodebug.upload.maximum_data_size=245760 +challenger_2040_ltepicodebug.upload.wait_for_upload_port=true +challenger_2040_ltepicodebug.upload.erase_cmd= +challenger_2040_ltepicodebug.serial.disableDTR=false +challenger_2040_ltepicodebug.serial.disableRTS=false +challenger_2040_ltepicodebug.build.f_cpu=125000000 +challenger_2040_ltepicodebug.build.led= +challenger_2040_ltepicodebug.build.core=rp2040 +challenger_2040_ltepicodebug.build.mcu=rp2040 +challenger_2040_ltepicodebug.build.ldscript=memmap_default.ld +challenger_2040_ltepicodebug.build.ram_length=240k +challenger_2040_ltepicodebug.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_ltepicodebug.build.vid=0x2e8a +challenger_2040_ltepicodebug.build.pid=0x1007 +challenger_2040_ltepicodebug.build.usb_manufacturer="iLabs" +challenger_2040_ltepicodebug.build.usb_product="Challenger 2040 LTE (pico-debug)" +challenger_2040_ltepicodebug.menu.flash.8388608_0=8MB (no FS) +challenger_2040_ltepicodebug.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_ltepicodebug.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_ltepicodebug.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_ltepicodebug.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_ltepicodebug.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_ltepicodebug.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_ltepicodebug.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_ltepicodebug.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_ltepicodebug.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_ltepicodebug.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_ltepicodebug.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_ltepicodebug.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_ltepicodebug.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_ltepicodebug.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_ltepicodebug.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_ltepicodebug.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_ltepicodebug.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_ltepicodebug.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_ltepicodebug.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_ltepicodebug.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_ltepicodebug.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_ltepicodebug.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_ltepicodebug.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_ltepicodebug.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_ltepicodebug.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_ltepicodebug.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_ltepicodebug.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_ltepicodebug.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_ltepicodebug.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_ltepicodebug.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_ltepicodebug.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_ltepicodebug.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_ltepicodebug.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_ltepicodebug.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_ltepicodebug.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_ltepicodebug.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_ltepicodebug.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_ltepicodebug.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_ltepicodebug.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_ltepicodebug.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_ltepicodebug.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_ltepicodebug.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_ltepicodebug.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_ltepicodebug.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_ltepicodebug.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_ltepicodebug.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_ltepicodebug.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_ltepicodebug.menu.freq.125=125 MHz +challenger_2040_ltepicodebug.menu.freq.125.build.f_cpu=125000000L +challenger_2040_ltepicodebug.menu.freq.50=50 MHz +challenger_2040_ltepicodebug.menu.freq.50.build.f_cpu=50000000L +challenger_2040_ltepicodebug.menu.freq.100=100 MHz +challenger_2040_ltepicodebug.menu.freq.100.build.f_cpu=100000000L +challenger_2040_ltepicodebug.menu.freq.133=133 MHz +challenger_2040_ltepicodebug.menu.freq.133.build.f_cpu=133000000L +challenger_2040_ltepicodebug.menu.freq.150=150 MHz (Overclock) +challenger_2040_ltepicodebug.menu.freq.150.build.f_cpu=150000000L +challenger_2040_ltepicodebug.menu.freq.175=175 MHz (Overclock) +challenger_2040_ltepicodebug.menu.freq.175.build.f_cpu=175000000L +challenger_2040_ltepicodebug.menu.freq.200=200 MHz (Overclock) +challenger_2040_ltepicodebug.menu.freq.200.build.f_cpu=200000000L +challenger_2040_ltepicodebug.menu.freq.225=225 MHz (Overclock) +challenger_2040_ltepicodebug.menu.freq.225.build.f_cpu=225000000L +challenger_2040_ltepicodebug.menu.freq.250=250 MHz (Overclock) +challenger_2040_ltepicodebug.menu.freq.250.build.f_cpu=250000000L +challenger_2040_ltepicodebug.menu.freq.275=275 MHz (Overclock) +challenger_2040_ltepicodebug.menu.freq.275.build.f_cpu=275000000L +challenger_2040_ltepicodebug.menu.freq.300=300 MHz (Overclock) +challenger_2040_ltepicodebug.menu.freq.300.build.f_cpu=300000000L +challenger_2040_ltepicodebug.menu.dbgport.Disabled=Disabled +challenger_2040_ltepicodebug.menu.dbgport.Disabled.build.debug_port= +challenger_2040_ltepicodebug.menu.dbgport.Serial=Serial +challenger_2040_ltepicodebug.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_ltepicodebug.menu.dbgport.Serial1=Serial1 +challenger_2040_ltepicodebug.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_ltepicodebug.menu.dbgport.Serial2=Serial2 +challenger_2040_ltepicodebug.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_ltepicodebug.menu.dbglvl.None=None +challenger_2040_ltepicodebug.menu.dbglvl.None.build.debug_level= +challenger_2040_ltepicodebug.menu.dbglvl.Core=Core +challenger_2040_ltepicodebug.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_ltepicodebug.menu.dbglvl.SPI=SPI +challenger_2040_ltepicodebug.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_ltepicodebug.menu.dbglvl.Wire=Wire +challenger_2040_ltepicodebug.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_ltepicodebug.menu.dbglvl.All=All +challenger_2040_ltepicodebug.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_ltepicodebug.menu.dbglvl.NDEBUG=NDEBUG +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" diff --git a/tools/makeboards.py b/tools/makeboards.py index dd2cddef..f5c7dae5 100755 --- a/tools/makeboards.py +++ b/tools/makeboards.py @@ -143,4 +143,5 @@ def MakeBoard(name, vendor_name, product_name, vid, pid, boarddefine, flashsizem MakeBoard("arduino_nano_connect", "Arduino", "Nano RP2040 Connect", "0x2341", "0x0058", "ARDUINO_NANO_RP2040_CONNECT", 16, "boot2_w25q080_2_padded_checksum") MakeBoard("sparkfun_promicrorp2040", "SparkFun", "ProMicro RP2040", "0x1b4f", "0x0026", "SPARKFUN_PROMICRO_RP2040", 16, "boot2_generic_03h_4_padded_checksum") 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_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", "0x1007", "CHALLENGER_2040_LTE_RP2040", 8, "boot2_w25q080_2_padded_checksum") diff --git a/variants/challenger_2040_lte/pins_arduino.h b/variants/challenger_2040_lte/pins_arduino.h new file mode 100644 index 00000000..3df4c00c --- /dev/null +++ b/variants/challenger_2040_lte/pins_arduino.h @@ -0,0 +1,75 @@ +#pragma once + +#define PINS_COUNT (28u) +#define NUM_DIGITAL_PINS (28u) +#define NUM_ANALOG_INPUTS (4u) +#define NUM_ANALOG_OUTPUTS (0u) +#define ADC_RESOLUTION (12u) + +// LEDs +#define PIN_LED (19u) + +// Serial1 (User serial port) +#define PIN_SERIAL1_TX (16u) +#define PIN_SERIAL1_RX (17u) + +// Serial2, connected to SARA-R4XX modem +#define PIN_SERIAL2_TX (4u) +#define PIN_SERIAL2_RX (5u) +#define PIN_SERIAL2_CTS (6u) +#define PIN_SERIAL2_RTS (7u) +#define PIN_SARA_ON (13u) +#define PIN_SARA_RST (14u) +#define PIN_SARA_PWR (15u) + +// 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 + +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 = (12u); +static const uint8_t D10 = (11u); +static const uint8_t D11 = (10u); +static const uint8_t D12 = (9u); +static const uint8_t D13 = (8u); +static const uint8_t D14 = (13u); +static const uint8_t D15 = (14u); +static const uint8_t D16 = (15u); +static const uint8_t D17 = (19u); + +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); From 07d53ba4c15b91be6d1f40d3db9f5b3a8efc9bd5 Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Wed, 11 Aug 2021 10:06:37 +0200 Subject: [PATCH 04/31] Updated after getting approved PID from Raspberry Pi --- boards.txt | 14 +++++++------- tools/makeboards.py | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/boards.txt b/boards.txt index a78642a4..523777a2 100644 --- a/boards.txt +++ b/boards.txt @@ -4996,8 +4996,8 @@ challenger_2040_wifipicodebug.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB # ----------------------------------- challenger_2040_lte.name=iLabs Challenger 2040 LTE challenger_2040_lte.vid.0=0x2e8a -challenger_2040_lte.pid.0=0x1007 -challenger_2040_lte.build.usbpid=-DSERIALUSB_PID=0x1007 +challenger_2040_lte.pid.0=0x100b +challenger_2040_lte.build.usbpid=-DSERIALUSB_PID=0x100b challenger_2040_lte.build.board=CHALLENGER_2040_LTE_RP2040 challenger_2040_lte.build.mcu=cortex-m0plus challenger_2040_lte.build.variant=challenger_2040_lte @@ -5016,7 +5016,7 @@ challenger_2040_lte.build.ldscript=memmap_default.ld challenger_2040_lte.build.ram_length=256k challenger_2040_lte.build.boot2=boot2_w25q080_2_padded_checksum challenger_2040_lte.build.vid=0x2e8a -challenger_2040_lte.build.pid=0x1007 +challenger_2040_lte.build.pid=0x100b challenger_2040_lte.build.usb_manufacturer="iLabs" challenger_2040_lte.build.usb_product="Challenger 2040 LTE" challenger_2040_lte.menu.flash.8388608_0=8MB (no FS) @@ -5144,7 +5144,7 @@ challenger_2040_lte.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I challenger_2040_ltepicoprobe.name=iLabs Challenger 2040 LTE (Picoprobe) challenger_2040_ltepicoprobe.vid.0=0x2e8a challenger_2040_ltepicoprobe.pid.0=0x0004 -challenger_2040_ltepicoprobe.build.usbpid=-DSERIALUSB_PID=0x1007 +challenger_2040_ltepicoprobe.build.usbpid=-DSERIALUSB_PID=0x100b challenger_2040_ltepicoprobe.build.board=CHALLENGER_2040_LTE_RP2040 challenger_2040_ltepicoprobe.build.mcu=cortex-m0plus challenger_2040_ltepicoprobe.build.variant=challenger_2040_lte @@ -5163,7 +5163,7 @@ challenger_2040_ltepicoprobe.build.ldscript=memmap_default.ld challenger_2040_ltepicoprobe.build.ram_length=256k challenger_2040_ltepicoprobe.build.boot2=boot2_w25q080_2_padded_checksum challenger_2040_ltepicoprobe.build.vid=0x2e8a -challenger_2040_ltepicoprobe.build.pid=0x1007 +challenger_2040_ltepicoprobe.build.pid=0x100b challenger_2040_ltepicoprobe.build.usb_manufacturer="iLabs" challenger_2040_ltepicoprobe.build.usb_product="Challenger 2040 LTE (Picoprobe)" challenger_2040_ltepicoprobe.menu.flash.8388608_0=8MB (no FS) @@ -5291,7 +5291,7 @@ challenger_2040_ltepicoprobe.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TI challenger_2040_ltepicodebug.name=iLabs Challenger 2040 LTE (pico-debug) challenger_2040_ltepicodebug.vid.0=0x1209 challenger_2040_ltepicodebug.pid.0=0x2488 -challenger_2040_ltepicodebug.build.usbpid=-DSERIALUSB_PID=0x1007 +challenger_2040_ltepicodebug.build.usbpid=-DSERIALUSB_PID=0x100b challenger_2040_ltepicodebug.build.board=CHALLENGER_2040_LTE_RP2040 challenger_2040_ltepicodebug.build.mcu=cortex-m0plus challenger_2040_ltepicodebug.build.variant=challenger_2040_lte @@ -5310,7 +5310,7 @@ challenger_2040_ltepicodebug.build.ldscript=memmap_default.ld challenger_2040_ltepicodebug.build.ram_length=240k challenger_2040_ltepicodebug.build.boot2=boot2_w25q080_2_padded_checksum challenger_2040_ltepicodebug.build.vid=0x2e8a -challenger_2040_ltepicodebug.build.pid=0x1007 +challenger_2040_ltepicodebug.build.pid=0x100b challenger_2040_ltepicodebug.build.usb_manufacturer="iLabs" challenger_2040_ltepicodebug.build.usb_product="Challenger 2040 LTE (pico-debug)" challenger_2040_ltepicodebug.menu.flash.8388608_0=8MB (no FS) diff --git a/tools/makeboards.py b/tools/makeboards.py index f5c7dae5..16696216 100755 --- a/tools/makeboards.py +++ b/tools/makeboards.py @@ -144,4 +144,4 @@ def MakeBoard(name, vendor_name, product_name, vid, pid, boarddefine, flashsizem MakeBoard("sparkfun_promicrorp2040", "SparkFun", "ProMicro RP2040", "0x1b4f", "0x0026", "SPARKFUN_PROMICRO_RP2040", 16, "boot2_generic_03h_4_padded_checksum") 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", "0x1007", "CHALLENGER_2040_LTE_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") From 15654a4335c7f8dc8f36174cb22be5bd6cb69158 Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Sat, 14 Aug 2021 11:44:45 +0200 Subject: [PATCH 05/31] Add support for reverse numbering of analog pins. --- cores/rp2040/wiring_analog.cpp | 7 +++++-- variants/challenger_2040_lte/pins_arduino.h | 8 ++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/cores/rp2040/wiring_analog.cpp b/cores/rp2040/wiring_analog.cpp index cfc39757..675baa8c 100644 --- a/cores/rp2040/wiring_analog.cpp +++ b/cores/rp2040/wiring_analog.cpp @@ -121,7 +121,10 @@ auto_init_mutex(_adcMutex); extern "C" int analogRead(pin_size_t pin) { CoreMutex m(&_adcMutex); - if ((pin < A0) || (pin > A3) || !m) { + pin_size_t maxPin = max(A0, A3); + pin_size_t minPin = min(A0, A3); + + if ((pin < minPin) || (pin > maxPin) || !m) { DEBUGCORE("ERROR: Illegal analogRead pin (%d)\n", pin); return 0; } @@ -129,7 +132,7 @@ extern "C" int analogRead(pin_size_t pin) { adc_init(); } adc_gpio_init(pin); - adc_select_input(pin - A0); + adc_select_input(pin - minPin); return adc_read(); } diff --git a/variants/challenger_2040_lte/pins_arduino.h b/variants/challenger_2040_lte/pins_arduino.h index 3df4c00c..30e7b7ec 100644 --- a/variants/challenger_2040_lte/pins_arduino.h +++ b/variants/challenger_2040_lte/pins_arduino.h @@ -67,9 +67,9 @@ static const uint8_t D15 = (14u); static const uint8_t D16 = (15u); static const uint8_t D17 = (19u); -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 A0 = (29u); +static const uint8_t A1 = (28u); +static const uint8_t A2 = (27u); +static const uint8_t A3 = (26u); static const uint8_t A4 = (25u); static const uint8_t A5 = (21u); From d050746c15fc24a0c7f6bfc907a3e4545bcd151f Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Mon, 23 Aug 2021 11:47:13 +0200 Subject: [PATCH 06/31] Added minimal HW support for onboard WiFi modem. --- .../challenger_2040_wifi/ChallengerWiFi.cpp | 107 ++++++++++++++++++ .../challenger_2040_wifi/ChallengerWiFi.h | 36 ++++++ 2 files changed, 143 insertions(+) create mode 100644 variants/challenger_2040_wifi/ChallengerWiFi.cpp create mode 100644 variants/challenger_2040_wifi/ChallengerWiFi.h diff --git a/variants/challenger_2040_wifi/ChallengerWiFi.cpp b/variants/challenger_2040_wifi/ChallengerWiFi.cpp new file mode 100644 index 00000000..4fa1a6b4 --- /dev/null +++ b/variants/challenger_2040_wifi/ChallengerWiFi.cpp @@ -0,0 +1,107 @@ +/* + ESP8285 helper class for the Challenger RP2040 WiFi boards + + Copyright (c) 2021 P. Oldberg + + 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 +#include + +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; diff --git a/variants/challenger_2040_wifi/ChallengerWiFi.h b/variants/challenger_2040_wifi/ChallengerWiFi.h new file mode 100644 index 00000000..f87c199e --- /dev/null +++ b/variants/challenger_2040_wifi/ChallengerWiFi.h @@ -0,0 +1,36 @@ +/* + ESP8285 helper class for the Challenger RP2040 WiFi boards + + Copyright (c) 2021 P. Oldberg + + 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; From 640dfa4a82d53cfeb4a12147802612d7bc2eee3a Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Mon, 1 Nov 2021 15:53:39 +0100 Subject: [PATCH 07/31] Added challenger-nb-rp2040-wifi and RPICO32 module. --- boards.txt | 974 ++++++++++++++++++ tools/makeboards.py | 2 + .../ChallengerWiFi.cpp | 107 ++ .../challenger_nb_2040_wifi/ChallengerWiFi.h | 36 + .../challenger_nb_2040_wifi/pins_arduino.h | 75 ++ variants/ilabs_rpico32/Ilabs2040WiFiClass.cpp | 107 ++ variants/ilabs_rpico32/Ilabs2040WiFiClass.h | 36 + variants/ilabs_rpico32/pins_arduino.h | 82 ++ 8 files changed, 1419 insertions(+) create mode 100644 variants/challenger_nb_2040_wifi/ChallengerWiFi.cpp create mode 100644 variants/challenger_nb_2040_wifi/ChallengerWiFi.h create mode 100644 variants/challenger_nb_2040_wifi/pins_arduino.h create mode 100644 variants/ilabs_rpico32/Ilabs2040WiFiClass.cpp create mode 100644 variants/ilabs_rpico32/Ilabs2040WiFiClass.h create mode 100644 variants/ilabs_rpico32/pins_arduino.h diff --git a/boards.txt b/boards.txt index 224296df..6bd5abfa 100644 --- a/boards.txt +++ b/boards.txt @@ -6387,6 +6387,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=0x1012 +ilabs_rpico32.build.usbpid=-DSERIALUSB_PID=0x1012 +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=0x1012 +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=0x1012 +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=0x1012 +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=0x1012 +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=0x1012 +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 # ----------------------------------- diff --git a/tools/makeboards.py b/tools/makeboards.py index e1ae58eb..644ad215 100755 --- a/tools/makeboards.py +++ b/tools/makeboards.py @@ -162,5 +162,7 @@ def MakeBoard(name, vendor_name, product_name, vid, pid, boarddefine, flashsizem 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", "0x1012", "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") diff --git a/variants/challenger_nb_2040_wifi/ChallengerWiFi.cpp b/variants/challenger_nb_2040_wifi/ChallengerWiFi.cpp new file mode 100644 index 00000000..4fa1a6b4 --- /dev/null +++ b/variants/challenger_nb_2040_wifi/ChallengerWiFi.cpp @@ -0,0 +1,107 @@ +/* + ESP8285 helper class for the Challenger RP2040 WiFi boards + + Copyright (c) 2021 P. Oldberg + + 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 +#include + +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; diff --git a/variants/challenger_nb_2040_wifi/ChallengerWiFi.h b/variants/challenger_nb_2040_wifi/ChallengerWiFi.h new file mode 100644 index 00000000..f87c199e --- /dev/null +++ b/variants/challenger_nb_2040_wifi/ChallengerWiFi.h @@ -0,0 +1,36 @@ +/* + ESP8285 helper class for the Challenger RP2040 WiFi boards + + Copyright (c) 2021 P. Oldberg + + 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; diff --git a/variants/challenger_nb_2040_wifi/pins_arduino.h b/variants/challenger_nb_2040_wifi/pins_arduino.h new file mode 100644 index 00000000..8fc9ae1c --- /dev/null +++ b/variants/challenger_nb_2040_wifi/pins_arduino.h @@ -0,0 +1,75 @@ +#pragma once + +#include + +#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); diff --git a/variants/ilabs_rpico32/Ilabs2040WiFiClass.cpp b/variants/ilabs_rpico32/Ilabs2040WiFiClass.cpp new file mode 100644 index 00000000..1adbec72 --- /dev/null +++ b/variants/ilabs_rpico32/Ilabs2040WiFiClass.cpp @@ -0,0 +1,107 @@ +/* + ESP8285 helper class for the Challenger RP2040 WiFi boards + + Copyright (c) 2021 P. Oldberg + + 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 +#include + +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; diff --git a/variants/ilabs_rpico32/Ilabs2040WiFiClass.h b/variants/ilabs_rpico32/Ilabs2040WiFiClass.h new file mode 100644 index 00000000..1a0fe091 --- /dev/null +++ b/variants/ilabs_rpico32/Ilabs2040WiFiClass.h @@ -0,0 +1,36 @@ +/* + ESP8285 helper class for the Challenger RP2040 WiFi boards + + Copyright (c) 2021 P. Oldberg + + 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; diff --git a/variants/ilabs_rpico32/pins_arduino.h b/variants/ilabs_rpico32/pins_arduino.h new file mode 100644 index 00000000..65700642 --- /dev/null +++ b/variants/ilabs_rpico32/pins_arduino.h @@ -0,0 +1,82 @@ +#pragma once + +#include + +#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); From 804a467c1f08a1ebf1c60d5f145aa8b5350a7504 Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Mon, 6 Dec 2021 10:13:05 +0100 Subject: [PATCH 08/31] Updated PID for RPICO32 --- README.md | 2 ++ boards.txt | 62 ++++++++++++++++++++++----------------------- tools/makeboards.py | 2 +- 3 files changed, 34 insertions(+), 32 deletions(-) diff --git a/README.md b/README.md index 01b14aba..bf1c2761 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/boards.txt b/boards.txt index 338cc5a8..1f51e92e 100644 --- a/boards.txt +++ b/boards.txt @@ -6890,15 +6890,15 @@ 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=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=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=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=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 @@ -7053,15 +7053,15 @@ 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=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=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=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=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 @@ -7216,15 +7216,15 @@ 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=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=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=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=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 @@ -7258,8 +7258,8 @@ challenger_nb_2040_wifipicodebug.menu.usbstack.nousb.build.usbstack_flags="-DNO_ # ----------------------------------- ilabs_rpico32.name=iLabs RPICO32 ilabs_rpico32.vid.0=0x2e8a -ilabs_rpico32.pid.0=0x1012 -ilabs_rpico32.build.usbpid=-DSERIALUSB_PID=0x1012 +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 @@ -7278,7 +7278,7 @@ 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=0x1012 +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) @@ -7377,15 +7377,15 @@ 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=Optimize (-O) ilabs_rpico32.menu.opt.Optimize.build.flags.optimize=-O -ilabs_rpico32.menu.opt.Optimize2=Optimize More (-O2) +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=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=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 @@ -7422,7 +7422,7 @@ ilabs_rpico32.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runti ilabs_rpico32picoprobe.name=iLabs RPICO32 (Picoprobe) ilabs_rpico32picoprobe.vid.0=0x2e8a ilabs_rpico32picoprobe.pid.0=0x0004 -ilabs_rpico32picoprobe.build.usbpid=-DSERIALUSB_PID=0x1012 +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 @@ -7441,7 +7441,7 @@ 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=0x1012 +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) @@ -7540,15 +7540,15 @@ 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=Optimize (-O) ilabs_rpico32picoprobe.menu.opt.Optimize.build.flags.optimize=-O -ilabs_rpico32picoprobe.menu.opt.Optimize2=Optimize More (-O2) +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=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=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 @@ -7585,7 +7585,7 @@ ilabs_rpico32picoprobe.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB ilabs_rpico32picodebug.name=iLabs RPICO32 (pico-debug) ilabs_rpico32picodebug.vid.0=0x1209 ilabs_rpico32picodebug.pid.0=0x2488 -ilabs_rpico32picodebug.build.usbpid=-DSERIALUSB_PID=0x1012 +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 @@ -7604,7 +7604,7 @@ 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=0x1012 +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) @@ -7703,15 +7703,15 @@ 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=Optimize (-O) ilabs_rpico32picodebug.menu.opt.Optimize.build.flags.optimize=-O -ilabs_rpico32picodebug.menu.opt.Optimize2=Optimize More (-O2) +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=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=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 diff --git a/tools/makeboards.py b/tools/makeboards.py index f6d715b0..c27a3e90 100755 --- a/tools/makeboards.py +++ b/tools/makeboards.py @@ -164,7 +164,7 @@ def MakeBoard(name, vendor_name, product_name, vid, pid, boarddefine, flashsizem 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", "0x1012", "ILABS_2040_RPICO32_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") From c9601f1f3f4671a43de72fad81c24d814a923d1c Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Tue, 7 Dec 2021 11:12:05 +0100 Subject: [PATCH 09/31] Added a simple support class for challenger LTE boards --- .../challenger_2040_lte/ChallengerLTE.cpp | 133 ++++++++++++++++++ variants/challenger_2040_lte/ChallengerLTE.h | 38 +++++ variants/challenger_2040_lte/pins_arduino.h | 1 + 3 files changed, 172 insertions(+) create mode 100644 variants/challenger_2040_lte/ChallengerLTE.cpp create mode 100644 variants/challenger_2040_lte/ChallengerLTE.h diff --git a/variants/challenger_2040_lte/ChallengerLTE.cpp b/variants/challenger_2040_lte/ChallengerLTE.cpp new file mode 100644 index 00000000..9948a65d --- /dev/null +++ b/variants/challenger_2040_lte/ChallengerLTE.cpp @@ -0,0 +1,133 @@ +/* + UBlox SARA helper class for the Challenger RP2040 LTE boards + + Copyright (c) 2021 P. Oldberg + + 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 +#include + +Challenger2040LTEClass::Challenger2040LTEClass() { + pinMode(PIN_SARA_ON, OUTPUT); + digitalWrite(PIN_SARA_ON, LOW); // Output register must always be low + pinMode(PIN_SARA_ON, INPUT_PULLUP); + + pinMode(PIN_SARA_RST, INPUT_PULLUP); // Keep as input for now + + pinMode(PIN_SARA_PWR, OUTPUT); + digitalWrite(PIN_SARA_PWR, LOW); // No power to SARA yet + serialPortConfigured = false; +} + +// Do a HW reset by applying a low pulse to the reset line for 1mSec +bool Challenger2040LTEClass::doPowerOn() { + bool ret; + digitalWrite(PIN_SARA_PWR, HIGH); // Make sure LDO is on + delay(100); // let the power stabilize + pinMode(PIN_SARA_ON, OUTPUT); // Pull power on control low + delay(150); // For 150mS + pinMode(PIN_SARA_ON, INPUT_PULLUP); // before releasing it again. + delay(1000); // Now wait for 1 second + SARA_SERIAL_PORT.begin(DEFAULT_SARA_BAUDRATE); + serialPortConfigured = true; + ret = isAlive(); // Makie sure the modem is + // up and running + + delay(250); // Allow for any extra characters + // before flushing the input buffer + while(SARA_SERIAL_PORT.available()) SARA_SERIAL_PORT.read(); + + return ret; +} + +// Checks to see if the modem responds to the "AT" poll command. +bool Challenger2040LTEClass::isAlive(uint32_t timeout) { + SARA_SERIAL_PORT.setTimeout(100); + SARA_SERIAL_PORT.println(F("AT")); + String rdy = SARA_SERIAL_PORT.readStringUntil('\n'); + while(!rdy.startsWith(F("OK")) && --timeout) { + SARA_SERIAL_PORT.println(F("AT")); + rdy = SARA_SERIAL_PORT.readStringUntil('\n'); + //Serial.println(rdy); + } + SARA_SERIAL_PORT.setTimeout(1000); // Restore serial timeout + if (timeout) + return true; + return false; +} + +// Return the current MNO profile +// Returns -1 if the serial port is not yet setup or the number of the current +// MNO profile setting from the modem. +int Challenger2040LTEClass::getMNOProfile() { + if (!serialPortConfigured) + return -1; + SARA_SERIAL_PORT.println(F("AT+UMNOPROF?")); + String resp = getResponse(); + return resp.substring(resp.indexOf("+UMNOPROF: ") + 11).toInt(); +} + +// Set a new MNO profile +// Returns false if the serial port is not yet setup +bool Challenger2040LTEClass::setMNOProfile(int profile) { + if (!serialPortConfigured) + return false; + String cmd = "AT+UMNOPROF=" + String(profile) + ",1"; + SARA_SERIAL_PORT.println(cmd); + + if (!getResponse().endsWith("OK")) { + return false; + } + return true; +} + +// Disable power save features +bool Challenger2040LTEClass::enablePS(bool enable) { + if (!serialPortConfigured) + return false; + if (enable) + SARA_SERIAL_PORT.println(F("AT+CPSMS=1")); + else + SARA_SERIAL_PORT.println(F("AT+CPSMS=0")); + + if (!getResponse().endsWith("OK")) { + return false; + } + return true; +} + +// Get a response from SARA +// A default serial timeout of 2 seconds allow for reading really slow +// responses which should accomodate most replies. Replies are then trimmed +// from control characters and appended with a tab character as a separator. +// +String Challenger2040LTEClass::getResponse(int timeout) { + SARA_SERIAL_PORT.setTimeout(2000); // allow for really slow responses + + String resp = SARA_SERIAL_PORT.readStringUntil('\n'); + resp.trim(); + String acc = resp; + while(resp.indexOf("OK") == -1 && resp.indexOf("ERROR") == -1 && --timeout) { + resp = SARA_SERIAL_PORT.readStringUntil('\n'); + resp.trim(); + if (resp.length()) + acc += "\t" + resp; + } + return acc; +} + +Challenger2040LTEClass Challenger2040LTE; diff --git a/variants/challenger_2040_lte/ChallengerLTE.h b/variants/challenger_2040_lte/ChallengerLTE.h new file mode 100644 index 00000000..34069cff --- /dev/null +++ b/variants/challenger_2040_lte/ChallengerLTE.h @@ -0,0 +1,38 @@ +/* + UBlox SARA helper class for the Challenger RP2040 LTE boards + + Copyright (c) 2021 P. Oldberg + + 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_SARA_BAUDRATE 115200 + +class Challenger2040LTEClass { + public: + Challenger2040LTEClass(); + bool doPowerOn(); + bool isAlive(uint32_t timeout = 50); + int getMNOProfile(); + bool setMNOProfile(int profile); + bool enablePS(bool enable = true); + String getResponse(int timeout = 5); + + private: + bool serialPortConfigured; +}; + +extern Challenger2040LTEClass Challenger2040LTE; diff --git a/variants/challenger_2040_lte/pins_arduino.h b/variants/challenger_2040_lte/pins_arduino.h index 30e7b7ec..12378307 100644 --- a/variants/challenger_2040_lte/pins_arduino.h +++ b/variants/challenger_2040_lte/pins_arduino.h @@ -21,6 +21,7 @@ #define PIN_SARA_ON (13u) #define PIN_SARA_RST (14u) #define PIN_SARA_PWR (15u) +#define SARA_SERIAL_PORT Serial2 // SPI #define PIN_SPI0_MISO (24u) From 3705a0db7f20a5e0754626f6b82459211ca60fe9 Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Thu, 9 Dec 2021 16:58:45 +0100 Subject: [PATCH 10/31] Update ChallengerLTE.cpp Fixed spelling error --- variants/challenger_2040_lte/ChallengerLTE.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/variants/challenger_2040_lte/ChallengerLTE.cpp b/variants/challenger_2040_lte/ChallengerLTE.cpp index 9948a65d..62390412 100644 --- a/variants/challenger_2040_lte/ChallengerLTE.cpp +++ b/variants/challenger_2040_lte/ChallengerLTE.cpp @@ -112,7 +112,7 @@ bool Challenger2040LTEClass::enablePS(bool enable) { // Get a response from SARA // A default serial timeout of 2 seconds allow for reading really slow -// responses which should accomodate most replies. Replies are then trimmed +// responses which should accommodate most replies. Replies are then trimmed // from control characters and appended with a tab character as a separator. // String Challenger2040LTEClass::getResponse(int timeout) { From f18e530a0b5fc69e63267a2140b1c26496153251 Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Thu, 9 Dec 2021 17:46:23 +0100 Subject: [PATCH 11/31] Adds option for setting USB max power in makeboards.py --- boards.txt | 63 ++++++++++++++++++++++++++++++++++++-- cores/rp2040/RP2040USB.cpp | 1 - platform.txt | 6 ++-- tools/makeboards.py | 45 ++++++++++++++------------- 4 files changed, 86 insertions(+), 29 deletions(-) diff --git a/boards.txt b/boards.txt index 1f51e92e..2a069a48 100644 --- a/boards.txt +++ b/boards.txt @@ -15,6 +15,7 @@ rpipico.name=Raspberry Pi Pico rpipico.vid.0=0x2e8a rpipico.pid.0=0x000a rpipico.build.usbpid=-DSERIALUSB_PID=0x000a +rpipico.build.usbpwr=-DUSBD_MAX_POWER_MA=250 rpipico.build.board=RASPBERRY_PI_PICO rpipico.build.mcu=cortex-m0plus rpipico.build.variant=rpipico @@ -142,6 +143,7 @@ rpipicopicoprobe.name=Raspberry Pi Pico (Picoprobe) rpipicopicoprobe.vid.0=0x2e8a rpipicopicoprobe.pid.0=0x0004 rpipicopicoprobe.build.usbpid=-DSERIALUSB_PID=0x000a +rpipicopicoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=250 rpipicopicoprobe.build.board=RASPBERRY_PI_PICO rpipicopicoprobe.build.mcu=cortex-m0plus rpipicopicoprobe.build.variant=rpipico @@ -269,6 +271,7 @@ rpipicopicodebug.name=Raspberry Pi Pico (pico-debug) rpipicopicodebug.vid.0=0x1209 rpipicopicodebug.pid.0=0x2488 rpipicopicodebug.build.usbpid=-DSERIALUSB_PID=0x000a +rpipicopicodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=250 rpipicopicodebug.build.board=RASPBERRY_PI_PICO rpipicopicodebug.build.mcu=cortex-m0plus rpipicopicodebug.build.variant=rpipico @@ -394,6 +397,7 @@ adafruit_feather.name=Adafruit Feather RP2040 adafruit_feather.vid.0=0x239a adafruit_feather.pid.0=0x80f1 adafruit_feather.build.usbpid=-DSERIALUSB_PID=0x80f1 +adafruit_feather.build.usbpwr=-DUSBD_MAX_POWER_MA=250 adafruit_feather.build.board=ADAFRUIT_FEATHER_RP2040 adafruit_feather.build.mcu=cortex-m0plus adafruit_feather.build.variant=adafruit_feather @@ -557,6 +561,7 @@ adafruit_featherpicoprobe.name=Adafruit Feather RP2040 (Picoprobe) adafruit_featherpicoprobe.vid.0=0x239a adafruit_featherpicoprobe.pid.0=0x0004 adafruit_featherpicoprobe.build.usbpid=-DSERIALUSB_PID=0x80f1 +adafruit_featherpicoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=250 adafruit_featherpicoprobe.build.board=ADAFRUIT_FEATHER_RP2040 adafruit_featherpicoprobe.build.mcu=cortex-m0plus adafruit_featherpicoprobe.build.variant=adafruit_feather @@ -720,6 +725,7 @@ adafruit_featherpicodebug.name=Adafruit Feather RP2040 (pico-debug) adafruit_featherpicodebug.vid.0=0x1209 adafruit_featherpicodebug.pid.0=0x2488 adafruit_featherpicodebug.build.usbpid=-DSERIALUSB_PID=0x80f1 +adafruit_featherpicodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=250 adafruit_featherpicodebug.build.board=ADAFRUIT_FEATHER_RP2040 adafruit_featherpicodebug.build.mcu=cortex-m0plus adafruit_featherpicodebug.build.variant=adafruit_feather @@ -881,6 +887,7 @@ adafruit_itsybitsy.name=Adafruit ItsyBitsy RP2040 adafruit_itsybitsy.vid.0=0x239a adafruit_itsybitsy.pid.0=0x80fd adafruit_itsybitsy.build.usbpid=-DSERIALUSB_PID=0x80fd +adafruit_itsybitsy.build.usbpwr=-DUSBD_MAX_POWER_MA=250 adafruit_itsybitsy.build.board=ADAFRUIT_ITSYBITSY_RP2040 adafruit_itsybitsy.build.mcu=cortex-m0plus adafruit_itsybitsy.build.variant=adafruit_itsybitsy @@ -1044,6 +1051,7 @@ adafruit_itsybitsypicoprobe.name=Adafruit ItsyBitsy RP2040 (Picoprobe) adafruit_itsybitsypicoprobe.vid.0=0x239a adafruit_itsybitsypicoprobe.pid.0=0x0004 adafruit_itsybitsypicoprobe.build.usbpid=-DSERIALUSB_PID=0x80fd +adafruit_itsybitsypicoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=250 adafruit_itsybitsypicoprobe.build.board=ADAFRUIT_ITSYBITSY_RP2040 adafruit_itsybitsypicoprobe.build.mcu=cortex-m0plus adafruit_itsybitsypicoprobe.build.variant=adafruit_itsybitsy @@ -1207,6 +1215,7 @@ adafruit_itsybitsypicodebug.name=Adafruit ItsyBitsy RP2040 (pico-debug) adafruit_itsybitsypicodebug.vid.0=0x1209 adafruit_itsybitsypicodebug.pid.0=0x2488 adafruit_itsybitsypicodebug.build.usbpid=-DSERIALUSB_PID=0x80fd +adafruit_itsybitsypicodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=250 adafruit_itsybitsypicodebug.build.board=ADAFRUIT_ITSYBITSY_RP2040 adafruit_itsybitsypicodebug.build.mcu=cortex-m0plus adafruit_itsybitsypicodebug.build.variant=adafruit_itsybitsy @@ -1368,6 +1377,7 @@ adafruit_qtpy.name=Adafruit QT Py RP2040 adafruit_qtpy.vid.0=0x239a adafruit_qtpy.pid.0=0x80f7 adafruit_qtpy.build.usbpid=-DSERIALUSB_PID=0x80f7 +adafruit_qtpy.build.usbpwr=-DUSBD_MAX_POWER_MA=250 adafruit_qtpy.build.board=ADAFRUIT_QTPY_RP2040 adafruit_qtpy.build.mcu=cortex-m0plus adafruit_qtpy.build.variant=adafruit_qtpy @@ -1531,6 +1541,7 @@ adafruit_qtpypicoprobe.name=Adafruit QT Py RP2040 (Picoprobe) adafruit_qtpypicoprobe.vid.0=0x239a adafruit_qtpypicoprobe.pid.0=0x0004 adafruit_qtpypicoprobe.build.usbpid=-DSERIALUSB_PID=0x80f7 +adafruit_qtpypicoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=250 adafruit_qtpypicoprobe.build.board=ADAFRUIT_QTPY_RP2040 adafruit_qtpypicoprobe.build.mcu=cortex-m0plus adafruit_qtpypicoprobe.build.variant=adafruit_qtpy @@ -1694,6 +1705,7 @@ adafruit_qtpypicodebug.name=Adafruit QT Py RP2040 (pico-debug) adafruit_qtpypicodebug.vid.0=0x1209 adafruit_qtpypicodebug.pid.0=0x2488 adafruit_qtpypicodebug.build.usbpid=-DSERIALUSB_PID=0x80f7 +adafruit_qtpypicodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=250 adafruit_qtpypicodebug.build.board=ADAFRUIT_QTPY_RP2040 adafruit_qtpypicodebug.build.mcu=cortex-m0plus adafruit_qtpypicodebug.build.variant=adafruit_qtpy @@ -1855,6 +1867,7 @@ adafruit_stemmafriend.name=Adafruit STEMMA Friend RP2040 adafruit_stemmafriend.vid.0=0x239a adafruit_stemmafriend.pid.0=0x80e3 adafruit_stemmafriend.build.usbpid=-DSERIALUSB_PID=0x80e3 +adafruit_stemmafriend.build.usbpwr=-DUSBD_MAX_POWER_MA=250 adafruit_stemmafriend.build.board=ADAFRUIT_STEMMAFRIEND_RP2040 adafruit_stemmafriend.build.mcu=cortex-m0plus adafruit_stemmafriend.build.variant=adafruit_stemmafriend @@ -2018,6 +2031,7 @@ adafruit_stemmafriendpicoprobe.name=Adafruit STEMMA Friend RP2040 (Picoprobe) adafruit_stemmafriendpicoprobe.vid.0=0x239a adafruit_stemmafriendpicoprobe.pid.0=0x0004 adafruit_stemmafriendpicoprobe.build.usbpid=-DSERIALUSB_PID=0x80e3 +adafruit_stemmafriendpicoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=250 adafruit_stemmafriendpicoprobe.build.board=ADAFRUIT_STEMMAFRIEND_RP2040 adafruit_stemmafriendpicoprobe.build.mcu=cortex-m0plus adafruit_stemmafriendpicoprobe.build.variant=adafruit_stemmafriend @@ -2181,6 +2195,7 @@ adafruit_stemmafriendpicodebug.name=Adafruit STEMMA Friend RP2040 (pico-debug) adafruit_stemmafriendpicodebug.vid.0=0x1209 adafruit_stemmafriendpicodebug.pid.0=0x2488 adafruit_stemmafriendpicodebug.build.usbpid=-DSERIALUSB_PID=0x80e3 +adafruit_stemmafriendpicodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=250 adafruit_stemmafriendpicodebug.build.board=ADAFRUIT_STEMMAFRIEND_RP2040 adafruit_stemmafriendpicodebug.build.mcu=cortex-m0plus adafruit_stemmafriendpicodebug.build.variant=adafruit_stemmafriend @@ -2342,6 +2357,7 @@ adafruit_trinkeyrp2040qt.name=Adafruit Trinkey RP2040 QT adafruit_trinkeyrp2040qt.vid.0=0x239a adafruit_trinkeyrp2040qt.pid.0=0x8109 adafruit_trinkeyrp2040qt.build.usbpid=-DSERIALUSB_PID=0x8109 +adafruit_trinkeyrp2040qt.build.usbpwr=-DUSBD_MAX_POWER_MA=250 adafruit_trinkeyrp2040qt.build.board=ADAFRUIT_TRINKEYQT_RP2040 adafruit_trinkeyrp2040qt.build.mcu=cortex-m0plus adafruit_trinkeyrp2040qt.build.variant=adafruit_trinkeyrp2040qt @@ -2505,6 +2521,7 @@ adafruit_trinkeyrp2040qtpicoprobe.name=Adafruit Trinkey RP2040 QT (Picoprobe) adafruit_trinkeyrp2040qtpicoprobe.vid.0=0x239a adafruit_trinkeyrp2040qtpicoprobe.pid.0=0x0004 adafruit_trinkeyrp2040qtpicoprobe.build.usbpid=-DSERIALUSB_PID=0x8109 +adafruit_trinkeyrp2040qtpicoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=250 adafruit_trinkeyrp2040qtpicoprobe.build.board=ADAFRUIT_TRINKEYQT_RP2040 adafruit_trinkeyrp2040qtpicoprobe.build.mcu=cortex-m0plus adafruit_trinkeyrp2040qtpicoprobe.build.variant=adafruit_trinkeyrp2040qt @@ -2668,6 +2685,7 @@ adafruit_trinkeyrp2040qtpicodebug.name=Adafruit Trinkey RP2040 QT (pico-debug) adafruit_trinkeyrp2040qtpicodebug.vid.0=0x1209 adafruit_trinkeyrp2040qtpicodebug.pid.0=0x2488 adafruit_trinkeyrp2040qtpicodebug.build.usbpid=-DSERIALUSB_PID=0x8109 +adafruit_trinkeyrp2040qtpicodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=250 adafruit_trinkeyrp2040qtpicodebug.build.board=ADAFRUIT_TRINKEYQT_RP2040 adafruit_trinkeyrp2040qtpicodebug.build.mcu=cortex-m0plus adafruit_trinkeyrp2040qtpicodebug.build.variant=adafruit_trinkeyrp2040qt @@ -2829,6 +2847,7 @@ adafruit_macropad2040.name=Adafruit MacroPad RP2040 adafruit_macropad2040.vid.0=0x239a adafruit_macropad2040.pid.0=0x8107 adafruit_macropad2040.build.usbpid=-DSERIALUSB_PID=0x8107 +adafruit_macropad2040.build.usbpwr=-DUSBD_MAX_POWER_MA=250 adafruit_macropad2040.build.board=ADAFRUIT_MACROPAD_RP2040 adafruit_macropad2040.build.mcu=cortex-m0plus adafruit_macropad2040.build.variant=adafruit_macropad2040 @@ -2992,6 +3011,7 @@ adafruit_macropad2040picoprobe.name=Adafruit MacroPad RP2040 (Picoprobe) adafruit_macropad2040picoprobe.vid.0=0x239a adafruit_macropad2040picoprobe.pid.0=0x0004 adafruit_macropad2040picoprobe.build.usbpid=-DSERIALUSB_PID=0x8107 +adafruit_macropad2040picoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=250 adafruit_macropad2040picoprobe.build.board=ADAFRUIT_MACROPAD_RP2040 adafruit_macropad2040picoprobe.build.mcu=cortex-m0plus adafruit_macropad2040picoprobe.build.variant=adafruit_macropad2040 @@ -3155,6 +3175,7 @@ adafruit_macropad2040picodebug.name=Adafruit MacroPad RP2040 (pico-debug) adafruit_macropad2040picodebug.vid.0=0x1209 adafruit_macropad2040picodebug.pid.0=0x2488 adafruit_macropad2040picodebug.build.usbpid=-DSERIALUSB_PID=0x8107 +adafruit_macropad2040picodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=250 adafruit_macropad2040picodebug.build.board=ADAFRUIT_MACROPAD_RP2040 adafruit_macropad2040picodebug.build.mcu=cortex-m0plus adafruit_macropad2040picodebug.build.variant=adafruit_macropad2040 @@ -3316,6 +3337,7 @@ arduino_nano_connect.name=Arduino Nano RP2040 Connect arduino_nano_connect.vid.0=0x2341 arduino_nano_connect.pid.0=0x0058 arduino_nano_connect.build.usbpid=-DSERIALUSB_PID=0x0058 +arduino_nano_connect.build.usbpwr=-DUSBD_MAX_POWER_MA=250 arduino_nano_connect.build.board=ARDUINO_NANO_RP2040_CONNECT arduino_nano_connect.build.mcu=cortex-m0plus arduino_nano_connect.build.variant=arduino_nano_connect @@ -3527,6 +3549,7 @@ arduino_nano_connectpicoprobe.name=Arduino Nano RP2040 Connect (Picoprobe) arduino_nano_connectpicoprobe.vid.0=0x2341 arduino_nano_connectpicoprobe.pid.0=0x0004 arduino_nano_connectpicoprobe.build.usbpid=-DSERIALUSB_PID=0x0058 +arduino_nano_connectpicoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=250 arduino_nano_connectpicoprobe.build.board=ARDUINO_NANO_RP2040_CONNECT arduino_nano_connectpicoprobe.build.mcu=cortex-m0plus arduino_nano_connectpicoprobe.build.variant=arduino_nano_connect @@ -3738,6 +3761,7 @@ arduino_nano_connectpicodebug.name=Arduino Nano RP2040 Connect (pico-debug) arduino_nano_connectpicodebug.vid.0=0x1209 arduino_nano_connectpicodebug.pid.0=0x2488 arduino_nano_connectpicodebug.build.usbpid=-DSERIALUSB_PID=0x0058 +arduino_nano_connectpicodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=250 arduino_nano_connectpicodebug.build.board=ARDUINO_NANO_RP2040_CONNECT arduino_nano_connectpicodebug.build.mcu=cortex-m0plus arduino_nano_connectpicodebug.build.variant=arduino_nano_connect @@ -3947,6 +3971,7 @@ cytron_maker_nano_rp2040.name=Cytron Maker Nano RP2040 cytron_maker_nano_rp2040.vid.0=0x2e8a cytron_maker_nano_rp2040.pid.0=0x100f cytron_maker_nano_rp2040.build.usbpid=-DSERIALUSB_PID=0x100f +cytron_maker_nano_rp2040.build.usbpwr=-DUSBD_MAX_POWER_MA=250 cytron_maker_nano_rp2040.build.board=CYTRON_MAKER_NANO_RP2040 cytron_maker_nano_rp2040.build.mcu=cortex-m0plus cytron_maker_nano_rp2040.build.variant=cytron_maker_nano_rp2040 @@ -4074,6 +4099,7 @@ cytron_maker_nano_rp2040picoprobe.name=Cytron Maker Nano RP2040 (Picoprobe) cytron_maker_nano_rp2040picoprobe.vid.0=0x2e8a cytron_maker_nano_rp2040picoprobe.pid.0=0x0004 cytron_maker_nano_rp2040picoprobe.build.usbpid=-DSERIALUSB_PID=0x100f +cytron_maker_nano_rp2040picoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=250 cytron_maker_nano_rp2040picoprobe.build.board=CYTRON_MAKER_NANO_RP2040 cytron_maker_nano_rp2040picoprobe.build.mcu=cortex-m0plus cytron_maker_nano_rp2040picoprobe.build.variant=cytron_maker_nano_rp2040 @@ -4201,6 +4227,7 @@ cytron_maker_nano_rp2040picodebug.name=Cytron Maker Nano RP2040 (pico-debug) cytron_maker_nano_rp2040picodebug.vid.0=0x1209 cytron_maker_nano_rp2040picodebug.pid.0=0x2488 cytron_maker_nano_rp2040picodebug.build.usbpid=-DSERIALUSB_PID=0x100f +cytron_maker_nano_rp2040picodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=250 cytron_maker_nano_rp2040picodebug.build.board=CYTRON_MAKER_NANO_RP2040 cytron_maker_nano_rp2040picodebug.build.mcu=cortex-m0plus cytron_maker_nano_rp2040picodebug.build.variant=cytron_maker_nano_rp2040 @@ -4326,6 +4353,7 @@ cytron_maker_pi_rp2040.name=Cytron Maker Pi RP2040 cytron_maker_pi_rp2040.vid.0=0x2e8a cytron_maker_pi_rp2040.pid.0=0x1000 cytron_maker_pi_rp2040.build.usbpid=-DSERIALUSB_PID=0x1000 +cytron_maker_pi_rp2040.build.usbpwr=-DUSBD_MAX_POWER_MA=250 cytron_maker_pi_rp2040.build.board=CYTRON_MAKER_PI_RP2040 cytron_maker_pi_rp2040.build.mcu=cortex-m0plus cytron_maker_pi_rp2040.build.variant=cytron_maker_pi_rp2040 @@ -4453,6 +4481,7 @@ cytron_maker_pi_rp2040picoprobe.name=Cytron Maker Pi RP2040 (Picoprobe) cytron_maker_pi_rp2040picoprobe.vid.0=0x2e8a cytron_maker_pi_rp2040picoprobe.pid.0=0x0004 cytron_maker_pi_rp2040picoprobe.build.usbpid=-DSERIALUSB_PID=0x1000 +cytron_maker_pi_rp2040picoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=250 cytron_maker_pi_rp2040picoprobe.build.board=CYTRON_MAKER_PI_RP2040 cytron_maker_pi_rp2040picoprobe.build.mcu=cortex-m0plus cytron_maker_pi_rp2040picoprobe.build.variant=cytron_maker_pi_rp2040 @@ -4580,6 +4609,7 @@ cytron_maker_pi_rp2040picodebug.name=Cytron Maker Pi RP2040 (pico-debug) cytron_maker_pi_rp2040picodebug.vid.0=0x1209 cytron_maker_pi_rp2040picodebug.pid.0=0x2488 cytron_maker_pi_rp2040picodebug.build.usbpid=-DSERIALUSB_PID=0x1000 +cytron_maker_pi_rp2040picodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=250 cytron_maker_pi_rp2040picodebug.build.board=CYTRON_MAKER_PI_RP2040 cytron_maker_pi_rp2040picodebug.build.mcu=cortex-m0plus cytron_maker_pi_rp2040picodebug.build.variant=cytron_maker_pi_rp2040 @@ -4705,6 +4735,7 @@ sparkfun_promicrorp2040.name=SparkFun ProMicro RP2040 sparkfun_promicrorp2040.vid.0=0x1b4f sparkfun_promicrorp2040.pid.0=0x0026 sparkfun_promicrorp2040.build.usbpid=-DSERIALUSB_PID=0x0026 +sparkfun_promicrorp2040.build.usbpwr=-DUSBD_MAX_POWER_MA=250 sparkfun_promicrorp2040.build.board=SPARKFUN_PROMICRO_RP2040 sparkfun_promicrorp2040.build.mcu=cortex-m0plus sparkfun_promicrorp2040.build.variant=sparkfun_promicrorp2040 @@ -4916,6 +4947,7 @@ sparkfun_promicrorp2040picoprobe.name=SparkFun ProMicro RP2040 (Picoprobe) sparkfun_promicrorp2040picoprobe.vid.0=0x1b4f sparkfun_promicrorp2040picoprobe.pid.0=0x0004 sparkfun_promicrorp2040picoprobe.build.usbpid=-DSERIALUSB_PID=0x0026 +sparkfun_promicrorp2040picoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=250 sparkfun_promicrorp2040picoprobe.build.board=SPARKFUN_PROMICRO_RP2040 sparkfun_promicrorp2040picoprobe.build.mcu=cortex-m0plus sparkfun_promicrorp2040picoprobe.build.variant=sparkfun_promicrorp2040 @@ -5127,6 +5159,7 @@ sparkfun_promicrorp2040picodebug.name=SparkFun ProMicro RP2040 (pico-debug) sparkfun_promicrorp2040picodebug.vid.0=0x1209 sparkfun_promicrorp2040picodebug.pid.0=0x2488 sparkfun_promicrorp2040picodebug.build.usbpid=-DSERIALUSB_PID=0x0026 +sparkfun_promicrorp2040picodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=250 sparkfun_promicrorp2040picodebug.build.board=SPARKFUN_PROMICRO_RP2040 sparkfun_promicrorp2040picodebug.build.mcu=cortex-m0plus sparkfun_promicrorp2040picodebug.build.variant=sparkfun_promicrorp2040 @@ -5336,6 +5369,7 @@ generic.name=Generic RP2040 generic.vid.0=0x2e8a generic.pid.0=0xf00a generic.build.usbpid=-DSERIALUSB_PID=0xf00a +generic.build.usbpwr=-DUSBD_MAX_POWER_MA=250 generic.build.board=GENERIC_RP2040 generic.build.mcu=cortex-m0plus generic.build.variant=generic @@ -5491,6 +5525,7 @@ genericpicoprobe.name=Generic RP2040 (Picoprobe) genericpicoprobe.vid.0=0x2e8a genericpicoprobe.pid.0=0x0004 genericpicoprobe.build.usbpid=-DSERIALUSB_PID=0xf00a +genericpicoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=250 genericpicoprobe.build.board=GENERIC_RP2040 genericpicoprobe.build.mcu=cortex-m0plus genericpicoprobe.build.variant=generic @@ -5646,6 +5681,7 @@ genericpicodebug.name=Generic RP2040 (pico-debug) genericpicodebug.vid.0=0x1209 genericpicodebug.pid.0=0x2488 genericpicodebug.build.usbpid=-DSERIALUSB_PID=0xf00a +genericpicodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=250 genericpicodebug.build.board=GENERIC_RP2040 genericpicodebug.build.mcu=cortex-m0plus genericpicodebug.build.variant=generic @@ -5799,6 +5835,7 @@ challenger_2040_wifi.name=iLabs Challenger 2040 WiFi challenger_2040_wifi.vid.0=0x2e8a challenger_2040_wifi.pid.0=0x1006 challenger_2040_wifi.build.usbpid=-DSERIALUSB_PID=0x1006 +challenger_2040_wifi.build.usbpwr=-DUSBD_MAX_POWER_MA=250 challenger_2040_wifi.build.board=CHALLENGER_2040_WIFI_RP2040 challenger_2040_wifi.build.mcu=cortex-m0plus challenger_2040_wifi.build.variant=challenger_2040_wifi @@ -5962,6 +5999,7 @@ challenger_2040_wifipicoprobe.name=iLabs Challenger 2040 WiFi (Picoprobe) challenger_2040_wifipicoprobe.vid.0=0x2e8a challenger_2040_wifipicoprobe.pid.0=0x0004 challenger_2040_wifipicoprobe.build.usbpid=-DSERIALUSB_PID=0x1006 +challenger_2040_wifipicoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=250 challenger_2040_wifipicoprobe.build.board=CHALLENGER_2040_WIFI_RP2040 challenger_2040_wifipicoprobe.build.mcu=cortex-m0plus challenger_2040_wifipicoprobe.build.variant=challenger_2040_wifi @@ -6125,6 +6163,7 @@ challenger_2040_wifipicodebug.name=iLabs Challenger 2040 WiFi (pico-debug) challenger_2040_wifipicodebug.vid.0=0x1209 challenger_2040_wifipicodebug.pid.0=0x2488 challenger_2040_wifipicodebug.build.usbpid=-DSERIALUSB_PID=0x1006 +challenger_2040_wifipicodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=250 challenger_2040_wifipicodebug.build.board=CHALLENGER_2040_WIFI_RP2040 challenger_2040_wifipicodebug.build.mcu=cortex-m0plus challenger_2040_wifipicodebug.build.variant=challenger_2040_wifi @@ -6286,6 +6325,7 @@ challenger_2040_lte.name=iLabs Challenger 2040 LTE challenger_2040_lte.vid.0=0x2e8a challenger_2040_lte.pid.0=0x100b challenger_2040_lte.build.usbpid=-DSERIALUSB_PID=0x100b +challenger_2040_lte.build.usbpwr=-DUSBD_MAX_POWER_MA=500 challenger_2040_lte.build.board=CHALLENGER_2040_LTE_RP2040 challenger_2040_lte.build.mcu=cortex-m0plus challenger_2040_lte.build.variant=challenger_2040_lte @@ -6449,6 +6489,7 @@ challenger_2040_ltepicoprobe.name=iLabs Challenger 2040 LTE (Picoprobe) challenger_2040_ltepicoprobe.vid.0=0x2e8a challenger_2040_ltepicoprobe.pid.0=0x0004 challenger_2040_ltepicoprobe.build.usbpid=-DSERIALUSB_PID=0x100b +challenger_2040_ltepicoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=500 challenger_2040_ltepicoprobe.build.board=CHALLENGER_2040_LTE_RP2040 challenger_2040_ltepicoprobe.build.mcu=cortex-m0plus challenger_2040_ltepicoprobe.build.variant=challenger_2040_lte @@ -6612,6 +6653,7 @@ challenger_2040_ltepicodebug.name=iLabs Challenger 2040 LTE (pico-debug) challenger_2040_ltepicodebug.vid.0=0x1209 challenger_2040_ltepicodebug.pid.0=0x2488 challenger_2040_ltepicodebug.build.usbpid=-DSERIALUSB_PID=0x100b +challenger_2040_ltepicodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=500 challenger_2040_ltepicodebug.build.board=CHALLENGER_2040_LTE_RP2040 challenger_2040_ltepicodebug.build.mcu=cortex-m0plus challenger_2040_ltepicodebug.build.variant=challenger_2040_lte @@ -6773,7 +6815,8 @@ 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.usbpwr=-DUSBD_MAX_POWER_MA=500 +challenger_nb_2040_wifi.build.board=CHALLENGER_NB_2040_WIFI_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 @@ -6936,7 +6979,8 @@ 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.usbpwr=-DUSBD_MAX_POWER_MA=500 +challenger_nb_2040_wifipicoprobe.build.board=CHALLENGER_NB_2040_WIFI_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 @@ -7099,7 +7143,8 @@ 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.usbpwr=-DUSBD_MAX_POWER_MA=500 +challenger_nb_2040_wifipicodebug.build.board=CHALLENGER_NB_2040_WIFI_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 @@ -7260,6 +7305,7 @@ 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.usbpwr=-DUSBD_MAX_POWER_MA=250 ilabs_rpico32.build.board=ILABS_2040_RPICO32_RP2040 ilabs_rpico32.build.mcu=cortex-m0plus ilabs_rpico32.build.variant=ilabs_rpico32 @@ -7423,6 +7469,7 @@ 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.usbpwr=-DUSBD_MAX_POWER_MA=250 ilabs_rpico32picoprobe.build.board=ILABS_2040_RPICO32_RP2040 ilabs_rpico32picoprobe.build.mcu=cortex-m0plus ilabs_rpico32picoprobe.build.variant=ilabs_rpico32 @@ -7586,6 +7633,7 @@ 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.usbpwr=-DUSBD_MAX_POWER_MA=250 ilabs_rpico32picodebug.build.board=ILABS_2040_RPICO32_RP2040 ilabs_rpico32picodebug.build.mcu=cortex-m0plus ilabs_rpico32picodebug.build.variant=ilabs_rpico32 @@ -7747,6 +7795,7 @@ melopero_shake_rp2040.name=Melopero Shake RP2040 melopero_shake_rp2040.vid.0=0x2e8a melopero_shake_rp2040.pid.0=0x1005 melopero_shake_rp2040.build.usbpid=-DSERIALUSB_PID=0x1005 +melopero_shake_rp2040.build.usbpwr=-DUSBD_MAX_POWER_MA=250 melopero_shake_rp2040.build.board=MELOPERO_SHAKE_RP2040 melopero_shake_rp2040.build.mcu=cortex-m0plus melopero_shake_rp2040.build.variant=melopero_shake_rp2040 @@ -7958,6 +8007,7 @@ melopero_shake_rp2040picoprobe.name=Melopero Shake RP2040 (Picoprobe) melopero_shake_rp2040picoprobe.vid.0=0x2e8a melopero_shake_rp2040picoprobe.pid.0=0x0004 melopero_shake_rp2040picoprobe.build.usbpid=-DSERIALUSB_PID=0x1005 +melopero_shake_rp2040picoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=250 melopero_shake_rp2040picoprobe.build.board=MELOPERO_SHAKE_RP2040 melopero_shake_rp2040picoprobe.build.mcu=cortex-m0plus melopero_shake_rp2040picoprobe.build.variant=melopero_shake_rp2040 @@ -8169,6 +8219,7 @@ melopero_shake_rp2040picodebug.name=Melopero Shake RP2040 (pico-debug) melopero_shake_rp2040picodebug.vid.0=0x1209 melopero_shake_rp2040picodebug.pid.0=0x2488 melopero_shake_rp2040picodebug.build.usbpid=-DSERIALUSB_PID=0x1005 +melopero_shake_rp2040picodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=250 melopero_shake_rp2040picodebug.build.board=MELOPERO_SHAKE_RP2040 melopero_shake_rp2040picodebug.build.mcu=cortex-m0plus melopero_shake_rp2040picodebug.build.variant=melopero_shake_rp2040 @@ -8378,6 +8429,7 @@ upesy_rp2040_devkit.name=uPesy RP2040 DevKit upesy_rp2040_devkit.vid.0=0x2e8a upesy_rp2040_devkit.pid.0=0x1007 upesy_rp2040_devkit.build.usbpid=-DSERIALUSB_PID=0x1007 +upesy_rp2040_devkit.build.usbpwr=-DUSBD_MAX_POWER_MA=250 upesy_rp2040_devkit.build.board=UPESY_RP2040_DEVKIT upesy_rp2040_devkit.build.mcu=cortex-m0plus upesy_rp2040_devkit.build.variant=upesy_rp2040_devkit @@ -8505,6 +8557,7 @@ upesy_rp2040_devkitpicoprobe.name=uPesy RP2040 DevKit (Picoprobe) upesy_rp2040_devkitpicoprobe.vid.0=0x2e8a upesy_rp2040_devkitpicoprobe.pid.0=0x0004 upesy_rp2040_devkitpicoprobe.build.usbpid=-DSERIALUSB_PID=0x1007 +upesy_rp2040_devkitpicoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=250 upesy_rp2040_devkitpicoprobe.build.board=UPESY_RP2040_DEVKIT upesy_rp2040_devkitpicoprobe.build.mcu=cortex-m0plus upesy_rp2040_devkitpicoprobe.build.variant=upesy_rp2040_devkit @@ -8632,6 +8685,7 @@ upesy_rp2040_devkitpicodebug.name=uPesy RP2040 DevKit (pico-debug) upesy_rp2040_devkitpicodebug.vid.0=0x1209 upesy_rp2040_devkitpicodebug.pid.0=0x2488 upesy_rp2040_devkitpicodebug.build.usbpid=-DSERIALUSB_PID=0x1007 +upesy_rp2040_devkitpicodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=250 upesy_rp2040_devkitpicodebug.build.board=UPESY_RP2040_DEVKIT upesy_rp2040_devkitpicodebug.build.mcu=cortex-m0plus upesy_rp2040_devkitpicodebug.build.variant=upesy_rp2040_devkit @@ -8757,6 +8811,7 @@ wiznet_5100s_evb_pico.name=WIZnet W5100S-EVB-Pico wiznet_5100s_evb_pico.vid.0=0x2e8a wiznet_5100s_evb_pico.pid.0=0x1008 wiznet_5100s_evb_pico.build.usbpid=-DSERIALUSB_PID=0x1008 +wiznet_5100s_evb_pico.build.usbpwr=-DUSBD_MAX_POWER_MA=250 wiznet_5100s_evb_pico.build.board=WIZNET_5100S_EVB_PICO wiznet_5100s_evb_pico.build.mcu=cortex-m0plus wiznet_5100s_evb_pico.build.variant=wiznet_5100s_evb_pico @@ -8884,6 +8939,7 @@ wiznet_5100s_evb_picopicoprobe.name=WIZnet W5100S-EVB-Pico (Picoprobe) wiznet_5100s_evb_picopicoprobe.vid.0=0x2e8a wiznet_5100s_evb_picopicoprobe.pid.0=0x0004 wiznet_5100s_evb_picopicoprobe.build.usbpid=-DSERIALUSB_PID=0x1008 +wiznet_5100s_evb_picopicoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=250 wiznet_5100s_evb_picopicoprobe.build.board=WIZNET_5100S_EVB_PICO wiznet_5100s_evb_picopicoprobe.build.mcu=cortex-m0plus wiznet_5100s_evb_picopicoprobe.build.variant=wiznet_5100s_evb_pico @@ -9011,6 +9067,7 @@ wiznet_5100s_evb_picopicodebug.name=WIZnet W5100S-EVB-Pico (pico-debug) wiznet_5100s_evb_picopicodebug.vid.0=0x1209 wiznet_5100s_evb_picopicodebug.pid.0=0x2488 wiznet_5100s_evb_picopicodebug.build.usbpid=-DSERIALUSB_PID=0x1008 +wiznet_5100s_evb_picopicodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=250 wiznet_5100s_evb_picopicodebug.build.board=WIZNET_5100S_EVB_PICO wiznet_5100s_evb_picopicodebug.build.mcu=cortex-m0plus wiznet_5100s_evb_picopicodebug.build.variant=wiznet_5100s_evb_pico diff --git a/cores/rp2040/RP2040USB.cpp b/cores/rp2040/RP2040USB.cpp index fac4a19f..a205f917 100644 --- a/cores/rp2040/RP2040USB.cpp +++ b/cores/rp2040/RP2040USB.cpp @@ -52,7 +52,6 @@ mutex_t __usb_mutex; #endif #define USBD_DESC_LEN (TUD_CONFIG_DESC_LEN + TUD_CDC_DESC_LEN) -#define USBD_MAX_POWER_MA (250) #define USBD_ITF_CDC (0) // needs 2 interfaces #define USBD_ITF_MAX (2) diff --git a/platform.txt b/platform.txt index d2a6b782..e230727c 100644 --- a/platform.txt +++ b/platform.txt @@ -96,13 +96,13 @@ discovery.rp2040.pattern="{runtime.tools.pqt-python3.path}/python3" -I "{runtime # ---------------- ## Compile c files -recipe.c.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.c.flags} {build.usbpid} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DBOARD_NAME="{build.board}" -DARDUINO_ARCH_{build.arch} {compiler.c.extra_flags} {build.extra_flags} {build.debug_port} {build.debug_level} {build.flags.optimize} {includes} "{source_file}" -o "{object_file}" +recipe.c.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.c.flags} {build.usbpid} {build.usbpwr} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DBOARD_NAME="{build.board}" -DARDUINO_ARCH_{build.arch} {compiler.c.extra_flags} {build.extra_flags} {build.debug_port} {build.debug_level} {build.flags.optimize} {includes} "{source_file}" -o "{object_file}" ## Compile c++ files -recipe.cpp.o.pattern="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} {build.usbpid} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DBOARD_NAME="{build.board}" -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {build.debug_port} {build.debug_level} {build.flags.optimize} {includes} "{source_file}" -o "{object_file}" +recipe.cpp.o.pattern="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} {build.usbpid} {build.usbpwr} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DBOARD_NAME="{build.board}" -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {build.debug_port} {build.debug_level} {build.flags.optimize} {includes} "{source_file}" -o "{object_file}" ## Compile S files -recipe.S.o.pattern="{compiler.path}{compiler.S.cmd}" {compiler.S.flags} {build.usbpid} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DBOARD_NAME="{build.board}" -DARDUINO_ARCH_{build.arch} {compiler.S.extra_flags} {build.extra_flags} {build.debug_port} {build.debug_level} {includes} "{source_file}" -o "{object_file}" +recipe.S.o.pattern="{compiler.path}{compiler.S.cmd}" {compiler.S.flags} {build.usbpid} {build.usbpwr} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DBOARD_NAME="{build.board}" -DARDUINO_ARCH_{build.arch} {compiler.S.extra_flags} {build.extra_flags} {build.debug_port} {build.debug_level} {includes} "{source_file}" -o "{object_file}" ## Create archives # archive_file_path is needed for backwards compatibility with IDE 1.6.5 or older, IDE 1.6.6 or newer overrides this value diff --git a/tools/makeboards.py b/tools/makeboards.py index c27a3e90..d6a2c34e 100755 --- a/tools/makeboards.py +++ b/tools/makeboards.py @@ -66,7 +66,7 @@ def BuildWithoutUSBStack(name): print("%s.menu.usbstack.nousb=No USB" % (name)) print('%s.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico"' % (name)) -def BuildHeader(name, vendor_name, product_name, vidtouse, pidtouse, vid, pid, boarddefine, variant, uploadtool, flashsize, ramsize, boot2): +def BuildHeader(name, vendor_name, product_name, vidtouse, pidtouse, vid, pid, pwr, boarddefine, variant, uploadtool, flashsize, ramsize, boot2): prettyname = vendor_name + " " + product_name print() print("# -----------------------------------") @@ -76,6 +76,7 @@ def BuildHeader(name, vendor_name, product_name, vidtouse, pidtouse, vid, pid, b print("%s.vid.0=%s" % (name, vidtouse)) print("%s.pid.0=%s" % (name, pidtouse)) print("%s.build.usbpid=-DSERIALUSB_PID=%s" % (name, pid)) + print("%s.build.usbpwr=-DUSBD_MAX_POWER_MA=%s" % (name, pwr)) print("%s.build.board=%s" % (name, boarddefine)) print("%s.build.mcu=cortex-m0plus" % (name)) print("%s.build.variant=%s" % (name, variant)) @@ -110,7 +111,7 @@ def BuildGlobalMenuList(): print("menu.usbstack=USB Stack") -def MakeBoard(name, vendor_name, product_name, vid, pid, boarddefine, flashsizemb, boot2): +def MakeBoard(name, vendor_name, product_name, vid, pid, pwr, boarddefine, flashsizemb, boot2): for a, b, c in [ ["", "", "uf2conv"], ["picoprobe", " (Picoprobe)", "picoprobe"], ["picodebug", " (pico-debug)", "picodebug"]]: n = name + a p = product_name + b @@ -127,7 +128,7 @@ def MakeBoard(name, vendor_name, product_name, vid, pid, boarddefine, flashsizem ramsizekb = 240; else: pidtouse = pid - BuildHeader(n, vendor_name, p, vidtouse, pidtouse, vid, pid, boarddefine, name, c, flashsizemb * 1024 * 1024, ramsizekb * 1024, boot2) + BuildHeader(n, vendor_name, p, vidtouse, pidtouse, vid, pid, pwr, boarddefine, name, c, flashsizemb * 1024 * 1024, ramsizekb * 1024, boot2) if name == "generic": BuildFlashMenu(n, 2*1024*1024, [0, 1*1024*1024]) BuildFlashMenu(n, 4*1024*1024, [0, 2*1024*1024]) @@ -149,22 +150,22 @@ def MakeBoard(name, vendor_name, product_name, vid, pid, boarddefine, flashsizem BuildGlobalMenuList() -MakeBoard("rpipico", "Raspberry Pi", "Pico", "0x2e8a", "0x000a", "RASPBERRY_PI_PICO", 2, "boot2_w25q080_2_padded_checksum") -MakeBoard("adafruit_feather", "Adafruit", "Feather RP2040", "0x239a", "0x80f1", "ADAFRUIT_FEATHER_RP2040", 8, "boot2_w25x10cl_4_padded_checksum") -MakeBoard("adafruit_itsybitsy", "Adafruit", "ItsyBitsy RP2040", "0x239a", "0x80fd", "ADAFRUIT_ITSYBITSY_RP2040", 8, "boot2_w25q080_2_padded_checksum") -MakeBoard("adafruit_qtpy", "Adafruit", "QT Py RP2040", "0x239a", "0x80f7", "ADAFRUIT_QTPY_RP2040", 8, "boot2_w25q080_2_padded_checksum") -MakeBoard("adafruit_stemmafriend", "Adafruit", "STEMMA Friend RP2040", "0x239a", "0x80e3", "ADAFRUIT_STEMMAFRIEND_RP2040", 8, "boot2_w25q080_2_padded_checksum") -MakeBoard("adafruit_trinkeyrp2040qt", "Adafruit", "Trinkey RP2040 QT", "0x239a", "0x8109", "ADAFRUIT_TRINKEYQT_RP2040", 8, "boot2_w25q080_2_padded_checksum") -MakeBoard("adafruit_macropad2040", "Adafruit", "MacroPad RP2040", "0x239a", "0x8107", "ADAFRUIT_MACROPAD_RP2040", 8, "boot2_w25q080_2_padded_checksum") -MakeBoard("arduino_nano_connect", "Arduino", "Nano RP2040 Connect", "0x2341", "0x0058", "ARDUINO_NANO_RP2040_CONNECT", 16, "boot2_w25q080_2_padded_checksum") -MakeBoard("cytron_maker_nano_rp2040", "Cytron", "Maker Nano RP2040", "0x2e8a", "0x100f", "CYTRON_MAKER_NANO_RP2040", 2, "boot2_w25q080_2_padded_checksum") -MakeBoard("cytron_maker_pi_rp2040", "Cytron", "Maker Pi RP2040", "0x2e8a", "0x1000", "CYTRON_MAKER_PI_RP2040", 2, "boot2_w25q080_2_padded_checksum") -MakeBoard("sparkfun_promicrorp2040", "SparkFun", "ProMicro RP2040", "0x1b4f", "0x0026", "SPARKFUN_PROMICRO_RP2040", 16, "boot2_generic_03h_4_padded_checksum") -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") +MakeBoard("rpipico", "Raspberry Pi", "Pico", "0x2e8a", "0x000a", 250, "RASPBERRY_PI_PICO", 2, "boot2_w25q080_2_padded_checksum") +MakeBoard("adafruit_feather", "Adafruit", "Feather RP2040", "0x239a", "0x80f1", 250, "ADAFRUIT_FEATHER_RP2040", 8, "boot2_w25x10cl_4_padded_checksum") +MakeBoard("adafruit_itsybitsy", "Adafruit", "ItsyBitsy RP2040", "0x239a", "0x80fd", 250, "ADAFRUIT_ITSYBITSY_RP2040", 8, "boot2_w25q080_2_padded_checksum") +MakeBoard("adafruit_qtpy", "Adafruit", "QT Py RP2040", "0x239a", "0x80f7", 250, "ADAFRUIT_QTPY_RP2040", 8, "boot2_w25q080_2_padded_checksum") +MakeBoard("adafruit_stemmafriend", "Adafruit", "STEMMA Friend RP2040", "0x239a", "0x80e3", 250, "ADAFRUIT_STEMMAFRIEND_RP2040", 8, "boot2_w25q080_2_padded_checksum") +MakeBoard("adafruit_trinkeyrp2040qt", "Adafruit", "Trinkey RP2040 QT", "0x239a", "0x8109", 250, "ADAFRUIT_TRINKEYQT_RP2040", 8, "boot2_w25q080_2_padded_checksum") +MakeBoard("adafruit_macropad2040", "Adafruit", "MacroPad RP2040", "0x239a", "0x8107", 250, "ADAFRUIT_MACROPAD_RP2040", 8, "boot2_w25q080_2_padded_checksum") +MakeBoard("arduino_nano_connect", "Arduino", "Nano RP2040 Connect", "0x2341", "0x0058", 250, "ARDUINO_NANO_RP2040_CONNECT", 16, "boot2_w25q080_2_padded_checksum") +MakeBoard("cytron_maker_nano_rp2040", "Cytron", "Maker Nano RP2040", "0x2e8a", "0x100f", 250, "CYTRON_MAKER_NANO_RP2040", 2, "boot2_w25q080_2_padded_checksum") +MakeBoard("cytron_maker_pi_rp2040", "Cytron", "Maker Pi RP2040", "0x2e8a", "0x1000", 250, "CYTRON_MAKER_PI_RP2040", 2, "boot2_w25q080_2_padded_checksum") +MakeBoard("sparkfun_promicrorp2040", "SparkFun", "ProMicro RP2040", "0x1b4f", "0x0026", 250, "SPARKFUN_PROMICRO_RP2040", 16, "boot2_generic_03h_4_padded_checksum") +MakeBoard("generic", "Generic", "RP2040", "0x2e8a", "0xf00a", 250, "GENERIC_RP2040", 16, "boot2_generic_03h_4_padded_checksum") +MakeBoard("challenger_2040_wifi", "iLabs", "Challenger 2040 WiFi", "0x2e8a", "0x1006", 250, "CHALLENGER_2040_WIFI_RP2040", 8, "boot2_w25q080_2_padded_checksum") +MakeBoard("challenger_2040_lte", "iLabs", "Challenger 2040 LTE", "0x2e8a", "0x100b", 500, "CHALLENGER_2040_LTE_RP2040", 8, "boot2_w25q080_2_padded_checksum") +MakeBoard("challenger_nb_2040_wifi", "iLabs", "Challenger NB 2040 WiFi", "0x2e8a", "0x100b", 500, "CHALLENGER_NB_2040_WIFI_RP2040", 8, "boot2_w25q080_2_padded_checksum") +MakeBoard("ilabs_rpico32", "iLabs", "RPICO32", "0x2e8a", "0x1010", 250, "ILABS_2040_RPICO32_RP2040", 8, "boot2_w25q080_2_padded_checksum") +MakeBoard("melopero_shake_rp2040", "Melopero", "Shake RP2040", "0x2e8a", "0x1005", 250, "MELOPERO_SHAKE_RP2040", 16, "boot2_w25q080_2_padded_checksum") +MakeBoard("upesy_rp2040_devkit", "uPesy", "RP2040 DevKit", "0x2e8a", "0x1007", 250, "UPESY_RP2040_DEVKIT", 2, "boot2_w25q080_2_padded_checksum") +MakeBoard("wiznet_5100s_evb_pico", "WIZnet", "W5100S-EVB-Pico", "0x2e8a", "0x1008", 250, "WIZNET_5100S_EVB_PICO", 2, "boot2_w25q080_2_padded_checksum") From dbc2b8aa0e5aaeb1a76cb5bf9e050acbc41893fb Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Sat, 19 Feb 2022 13:44:46 +0100 Subject: [PATCH 12/31] Added new board Challenger RP2040 LoRa --- boards.txt | 487 +++++++++++++++++++ tools/json/challenger_2040_lora.json | 52 ++ tools/makeboards.py | 1 + variants/challenger_2040_lora/pins_arduino.h | 67 +++ 4 files changed, 607 insertions(+) create mode 100644 tools/json/challenger_2040_lora.json create mode 100644 variants/challenger_2040_lora/pins_arduino.h diff --git a/boards.txt b/boards.txt index ad612495..a92f51c7 100644 --- a/boards.txt +++ b/boards.txt @@ -6283,6 +6283,493 @@ genericpicodebug.menu.boot2.boot2_w25x10cl_2_padded_checksum.build.boot2=boot2_w genericpicodebug.menu.boot2.boot2_w25x10cl_4_padded_checksum=W25X10CL QSPI /4 genericpicodebug.menu.boot2.boot2_w25x10cl_4_padded_checksum.build.boot2=boot2_w25x10cl_4_padded_checksum +# ----------------------------------- +# iLabs Challenger 2040 LoRa +# ----------------------------------- +challenger_2040_lora.name=iLabs Challenger 2040 LoRa +challenger_2040_lora.vid.0=0x2e8a +challenger_2040_lora.pid.0=0x1023 +challenger_2040_lora.build.usbpid=-DSERIALUSB_PID=0x1023 +challenger_2040_lora.build.usbpwr=-DUSBD_MAX_POWER_MA=250 +challenger_2040_lora.build.board=CHALLENGER_2040_LORA_RP2040 +challenger_2040_lora.build.mcu=cortex-m0plus +challenger_2040_lora.build.variant=challenger_2040_lora +challenger_2040_lora.upload.tool=uf2conv +challenger_2040_lora.upload.maximum_size=8388608 +challenger_2040_lora.upload.maximum_data_size=262144 +challenger_2040_lora.upload.wait_for_upload_port=true +challenger_2040_lora.upload.erase_cmd= +challenger_2040_lora.serial.disableDTR=false +challenger_2040_lora.serial.disableRTS=false +challenger_2040_lora.build.f_cpu=125000000 +challenger_2040_lora.build.led= +challenger_2040_lora.build.core=rp2040 +challenger_2040_lora.build.ldscript=memmap_default.ld +challenger_2040_lora.build.ram_length=256k +challenger_2040_lora.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_lora.build.vid=0x2e8a +challenger_2040_lora.build.pid=0x1023 +challenger_2040_lora.build.usb_manufacturer="iLabs" +challenger_2040_lora.build.usb_product="Challenger 2040 LoRa" +challenger_2040_lora.menu.flash.8388608_0=8MB (no FS) +challenger_2040_lora.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_lora.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_lora.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_lora.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_lora.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_lora.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_lora.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_lora.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_lora.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_lora.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_lora.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_lora.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_lora.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_lora.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_lora.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_lora.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_lora.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_lora.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_lora.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_lora.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_lora.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_lora.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_lora.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_lora.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_lora.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_lora.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_lora.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_lora.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_lora.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_lora.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_lora.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_lora.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_lora.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_lora.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_lora.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_lora.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_lora.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_lora.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_lora.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_lora.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_lora.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_lora.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_lora.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_lora.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_lora.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_lora.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_lora.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_lora.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_lora.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_lora.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_lora.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_lora.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_lora.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_lora.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_lora.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_lora.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_lora.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_lora.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_lora.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_lora.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_lora.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_lora.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_lora.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_lora.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_lora.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_lora.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_lora.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_lora.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_lora.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_lora.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_lora.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_lora.menu.freq.125=125 MHz +challenger_2040_lora.menu.freq.125.build.f_cpu=125000000L +challenger_2040_lora.menu.freq.50=50 MHz +challenger_2040_lora.menu.freq.50.build.f_cpu=50000000L +challenger_2040_lora.menu.freq.100=100 MHz +challenger_2040_lora.menu.freq.100.build.f_cpu=100000000L +challenger_2040_lora.menu.freq.133=133 MHz +challenger_2040_lora.menu.freq.133.build.f_cpu=133000000L +challenger_2040_lora.menu.freq.150=150 MHz (Overclock) +challenger_2040_lora.menu.freq.150.build.f_cpu=150000000L +challenger_2040_lora.menu.freq.175=175 MHz (Overclock) +challenger_2040_lora.menu.freq.175.build.f_cpu=175000000L +challenger_2040_lora.menu.freq.200=200 MHz (Overclock) +challenger_2040_lora.menu.freq.200.build.f_cpu=200000000L +challenger_2040_lora.menu.freq.225=225 MHz (Overclock) +challenger_2040_lora.menu.freq.225.build.f_cpu=225000000L +challenger_2040_lora.menu.freq.250=250 MHz (Overclock) +challenger_2040_lora.menu.freq.250.build.f_cpu=250000000L +challenger_2040_lora.menu.freq.275=275 MHz (Overclock) +challenger_2040_lora.menu.freq.275.build.f_cpu=275000000L +challenger_2040_lora.menu.freq.300=300 MHz (Overclock) +challenger_2040_lora.menu.freq.300.build.f_cpu=300000000L +challenger_2040_lora.menu.opt.Small=Small (-Os) (standard) +challenger_2040_lora.menu.opt.Small.build.flags.optimize=-Os +challenger_2040_lora.menu.opt.Optimize=Optimize (-O) +challenger_2040_lora.menu.opt.Optimize.build.flags.optimize=-O +challenger_2040_lora.menu.opt.Optimize2=Optimize More (-O2) +challenger_2040_lora.menu.opt.Optimize2.build.flags.optimize=-O2 +challenger_2040_lora.menu.opt.Optimize3=Optimize Even More (-O3) +challenger_2040_lora.menu.opt.Optimize3.build.flags.optimize=-O3 +challenger_2040_lora.menu.opt.Fast=Fast (-Ofast) (maybe slower) +challenger_2040_lora.menu.opt.Fast.build.flags.optimize=-Ofast +challenger_2040_lora.menu.opt.Debug=Debug (-Og) +challenger_2040_lora.menu.opt.Debug.build.flags.optimize=-Og +challenger_2040_lora.menu.rtti.Disabled=Disabled +challenger_2040_lora.menu.rtti.Disabled.build.flags.rtti=-fno-rtti +challenger_2040_lora.menu.rtti.Enabled=Enabled +challenger_2040_lora.menu.rtti.Enabled.build.flags.rtti= +challenger_2040_lora.menu.dbgport.Disabled=Disabled +challenger_2040_lora.menu.dbgport.Disabled.build.debug_port= +challenger_2040_lora.menu.dbgport.Serial=Serial +challenger_2040_lora.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_lora.menu.dbgport.Serial1=Serial1 +challenger_2040_lora.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_lora.menu.dbgport.Serial2=Serial2 +challenger_2040_lora.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_lora.menu.dbglvl.None=None +challenger_2040_lora.menu.dbglvl.None.build.debug_level= +challenger_2040_lora.menu.dbglvl.Core=Core +challenger_2040_lora.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_lora.menu.dbglvl.SPI=SPI +challenger_2040_lora.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_lora.menu.dbglvl.Wire=Wire +challenger_2040_lora.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_lora.menu.dbglvl.All=All +challenger_2040_lora.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_lora.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_lora.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_lora.menu.usbstack.picosdk=Pico SDK +challenger_2040_lora.menu.usbstack.picosdk.build.usbstack_flags="-I{runtime.platform.path}/tools/libpico" +challenger_2040_lora.menu.usbstack.tinyusb=Adafruit TinyUSB +challenger_2040_lora.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" + +# ----------------------------------- +# iLabs Challenger 2040 LoRa (Picoprobe) +# ----------------------------------- +challenger_2040_lorapicoprobe.name=iLabs Challenger 2040 LoRa (Picoprobe) +challenger_2040_lorapicoprobe.vid.0=0x2e8a +challenger_2040_lorapicoprobe.pid.0=0x0004 +challenger_2040_lorapicoprobe.build.usbpid=-DSERIALUSB_PID=0x1023 +challenger_2040_lorapicoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=250 +challenger_2040_lorapicoprobe.build.board=CHALLENGER_2040_LORA_RP2040 +challenger_2040_lorapicoprobe.build.mcu=cortex-m0plus +challenger_2040_lorapicoprobe.build.variant=challenger_2040_lora +challenger_2040_lorapicoprobe.upload.tool=picoprobe +challenger_2040_lorapicoprobe.upload.maximum_size=8388608 +challenger_2040_lorapicoprobe.upload.maximum_data_size=262144 +challenger_2040_lorapicoprobe.upload.wait_for_upload_port=true +challenger_2040_lorapicoprobe.upload.erase_cmd= +challenger_2040_lorapicoprobe.serial.disableDTR=false +challenger_2040_lorapicoprobe.serial.disableRTS=false +challenger_2040_lorapicoprobe.build.f_cpu=125000000 +challenger_2040_lorapicoprobe.build.led= +challenger_2040_lorapicoprobe.build.core=rp2040 +challenger_2040_lorapicoprobe.build.ldscript=memmap_default.ld +challenger_2040_lorapicoprobe.build.ram_length=256k +challenger_2040_lorapicoprobe.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_lorapicoprobe.build.vid=0x2e8a +challenger_2040_lorapicoprobe.build.pid=0x1023 +challenger_2040_lorapicoprobe.build.usb_manufacturer="iLabs" +challenger_2040_lorapicoprobe.build.usb_product="Challenger 2040 LoRa (Picoprobe)" +challenger_2040_lorapicoprobe.menu.flash.8388608_0=8MB (no FS) +challenger_2040_lorapicoprobe.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_lorapicoprobe.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_lorapicoprobe.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_lorapicoprobe.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_lorapicoprobe.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_lorapicoprobe.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_lorapicoprobe.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_lorapicoprobe.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_lorapicoprobe.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_lorapicoprobe.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_lorapicoprobe.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_lorapicoprobe.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_lorapicoprobe.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_lorapicoprobe.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_lorapicoprobe.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_lorapicoprobe.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_lorapicoprobe.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_lorapicoprobe.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_lorapicoprobe.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_lorapicoprobe.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_lorapicoprobe.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_lorapicoprobe.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_lorapicoprobe.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_lorapicoprobe.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_lorapicoprobe.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_lorapicoprobe.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_lorapicoprobe.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_lorapicoprobe.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_lorapicoprobe.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_lorapicoprobe.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_lorapicoprobe.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_lorapicoprobe.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_lorapicoprobe.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_lorapicoprobe.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_lorapicoprobe.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_lorapicoprobe.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_lorapicoprobe.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_lorapicoprobe.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_lorapicoprobe.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_lorapicoprobe.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_lorapicoprobe.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_lorapicoprobe.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_lorapicoprobe.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_lorapicoprobe.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_lorapicoprobe.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_lorapicoprobe.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_lorapicoprobe.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_lorapicoprobe.menu.freq.125=125 MHz +challenger_2040_lorapicoprobe.menu.freq.125.build.f_cpu=125000000L +challenger_2040_lorapicoprobe.menu.freq.50=50 MHz +challenger_2040_lorapicoprobe.menu.freq.50.build.f_cpu=50000000L +challenger_2040_lorapicoprobe.menu.freq.100=100 MHz +challenger_2040_lorapicoprobe.menu.freq.100.build.f_cpu=100000000L +challenger_2040_lorapicoprobe.menu.freq.133=133 MHz +challenger_2040_lorapicoprobe.menu.freq.133.build.f_cpu=133000000L +challenger_2040_lorapicoprobe.menu.freq.150=150 MHz (Overclock) +challenger_2040_lorapicoprobe.menu.freq.150.build.f_cpu=150000000L +challenger_2040_lorapicoprobe.menu.freq.175=175 MHz (Overclock) +challenger_2040_lorapicoprobe.menu.freq.175.build.f_cpu=175000000L +challenger_2040_lorapicoprobe.menu.freq.200=200 MHz (Overclock) +challenger_2040_lorapicoprobe.menu.freq.200.build.f_cpu=200000000L +challenger_2040_lorapicoprobe.menu.freq.225=225 MHz (Overclock) +challenger_2040_lorapicoprobe.menu.freq.225.build.f_cpu=225000000L +challenger_2040_lorapicoprobe.menu.freq.250=250 MHz (Overclock) +challenger_2040_lorapicoprobe.menu.freq.250.build.f_cpu=250000000L +challenger_2040_lorapicoprobe.menu.freq.275=275 MHz (Overclock) +challenger_2040_lorapicoprobe.menu.freq.275.build.f_cpu=275000000L +challenger_2040_lorapicoprobe.menu.freq.300=300 MHz (Overclock) +challenger_2040_lorapicoprobe.menu.freq.300.build.f_cpu=300000000L +challenger_2040_lorapicoprobe.menu.opt.Small=Small (-Os) (standard) +challenger_2040_lorapicoprobe.menu.opt.Small.build.flags.optimize=-Os +challenger_2040_lorapicoprobe.menu.opt.Optimize=Optimize (-O) +challenger_2040_lorapicoprobe.menu.opt.Optimize.build.flags.optimize=-O +challenger_2040_lorapicoprobe.menu.opt.Optimize2=Optimize More (-O2) +challenger_2040_lorapicoprobe.menu.opt.Optimize2.build.flags.optimize=-O2 +challenger_2040_lorapicoprobe.menu.opt.Optimize3=Optimize Even More (-O3) +challenger_2040_lorapicoprobe.menu.opt.Optimize3.build.flags.optimize=-O3 +challenger_2040_lorapicoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower) +challenger_2040_lorapicoprobe.menu.opt.Fast.build.flags.optimize=-Ofast +challenger_2040_lorapicoprobe.menu.opt.Debug=Debug (-Og) +challenger_2040_lorapicoprobe.menu.opt.Debug.build.flags.optimize=-Og +challenger_2040_lorapicoprobe.menu.rtti.Disabled=Disabled +challenger_2040_lorapicoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti +challenger_2040_lorapicoprobe.menu.rtti.Enabled=Enabled +challenger_2040_lorapicoprobe.menu.rtti.Enabled.build.flags.rtti= +challenger_2040_lorapicoprobe.menu.dbgport.Disabled=Disabled +challenger_2040_lorapicoprobe.menu.dbgport.Disabled.build.debug_port= +challenger_2040_lorapicoprobe.menu.dbgport.Serial=Serial +challenger_2040_lorapicoprobe.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_lorapicoprobe.menu.dbgport.Serial1=Serial1 +challenger_2040_lorapicoprobe.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_lorapicoprobe.menu.dbgport.Serial2=Serial2 +challenger_2040_lorapicoprobe.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_lorapicoprobe.menu.dbglvl.None=None +challenger_2040_lorapicoprobe.menu.dbglvl.None.build.debug_level= +challenger_2040_lorapicoprobe.menu.dbglvl.Core=Core +challenger_2040_lorapicoprobe.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_lorapicoprobe.menu.dbglvl.SPI=SPI +challenger_2040_lorapicoprobe.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_lorapicoprobe.menu.dbglvl.Wire=Wire +challenger_2040_lorapicoprobe.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_lorapicoprobe.menu.dbglvl.All=All +challenger_2040_lorapicoprobe.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_lorapicoprobe.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_lorapicoprobe.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_lorapicoprobe.menu.usbstack.picosdk=Pico SDK +challenger_2040_lorapicoprobe.menu.usbstack.picosdk.build.usbstack_flags="-I{runtime.platform.path}/tools/libpico" +challenger_2040_lorapicoprobe.menu.usbstack.tinyusb=Adafruit TinyUSB +challenger_2040_lorapicoprobe.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" + +# ----------------------------------- +# iLabs Challenger 2040 LoRa (pico-debug) +# ----------------------------------- +challenger_2040_lorapicodebug.name=iLabs Challenger 2040 LoRa (pico-debug) +challenger_2040_lorapicodebug.vid.0=0x1209 +challenger_2040_lorapicodebug.pid.0=0x2488 +challenger_2040_lorapicodebug.build.usbpid=-DSERIALUSB_PID=0x1023 +challenger_2040_lorapicodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=250 +challenger_2040_lorapicodebug.build.board=CHALLENGER_2040_LORA_RP2040 +challenger_2040_lorapicodebug.build.mcu=cortex-m0plus +challenger_2040_lorapicodebug.build.variant=challenger_2040_lora +challenger_2040_lorapicodebug.upload.tool=picodebug +challenger_2040_lorapicodebug.upload.maximum_size=8388608 +challenger_2040_lorapicodebug.upload.maximum_data_size=245760 +challenger_2040_lorapicodebug.upload.wait_for_upload_port=true +challenger_2040_lorapicodebug.upload.erase_cmd= +challenger_2040_lorapicodebug.serial.disableDTR=false +challenger_2040_lorapicodebug.serial.disableRTS=false +challenger_2040_lorapicodebug.build.f_cpu=125000000 +challenger_2040_lorapicodebug.build.led= +challenger_2040_lorapicodebug.build.core=rp2040 +challenger_2040_lorapicodebug.build.ldscript=memmap_default.ld +challenger_2040_lorapicodebug.build.ram_length=240k +challenger_2040_lorapicodebug.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_lorapicodebug.build.vid=0x2e8a +challenger_2040_lorapicodebug.build.pid=0x1023 +challenger_2040_lorapicodebug.build.usb_manufacturer="iLabs" +challenger_2040_lorapicodebug.build.usb_product="Challenger 2040 LoRa (pico-debug)" +challenger_2040_lorapicodebug.menu.flash.8388608_0=8MB (no FS) +challenger_2040_lorapicodebug.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_lorapicodebug.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_lorapicodebug.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_lorapicodebug.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_lorapicodebug.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_lorapicodebug.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_lorapicodebug.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_lorapicodebug.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_lorapicodebug.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_lorapicodebug.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_lorapicodebug.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_lorapicodebug.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_lorapicodebug.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_lorapicodebug.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_lorapicodebug.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_lorapicodebug.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_lorapicodebug.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_lorapicodebug.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_lorapicodebug.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_lorapicodebug.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_lorapicodebug.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_lorapicodebug.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_lorapicodebug.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_lorapicodebug.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_lorapicodebug.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_lorapicodebug.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_lorapicodebug.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_lorapicodebug.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_lorapicodebug.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_lorapicodebug.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_lorapicodebug.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_lorapicodebug.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_lorapicodebug.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_lorapicodebug.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_lorapicodebug.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_lorapicodebug.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_lorapicodebug.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_lorapicodebug.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_lorapicodebug.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_lorapicodebug.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_lorapicodebug.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_lorapicodebug.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_lorapicodebug.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_lorapicodebug.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_lorapicodebug.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_lorapicodebug.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_lorapicodebug.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_lorapicodebug.menu.freq.125=125 MHz +challenger_2040_lorapicodebug.menu.freq.125.build.f_cpu=125000000L +challenger_2040_lorapicodebug.menu.freq.50=50 MHz +challenger_2040_lorapicodebug.menu.freq.50.build.f_cpu=50000000L +challenger_2040_lorapicodebug.menu.freq.100=100 MHz +challenger_2040_lorapicodebug.menu.freq.100.build.f_cpu=100000000L +challenger_2040_lorapicodebug.menu.freq.133=133 MHz +challenger_2040_lorapicodebug.menu.freq.133.build.f_cpu=133000000L +challenger_2040_lorapicodebug.menu.freq.150=150 MHz (Overclock) +challenger_2040_lorapicodebug.menu.freq.150.build.f_cpu=150000000L +challenger_2040_lorapicodebug.menu.freq.175=175 MHz (Overclock) +challenger_2040_lorapicodebug.menu.freq.175.build.f_cpu=175000000L +challenger_2040_lorapicodebug.menu.freq.200=200 MHz (Overclock) +challenger_2040_lorapicodebug.menu.freq.200.build.f_cpu=200000000L +challenger_2040_lorapicodebug.menu.freq.225=225 MHz (Overclock) +challenger_2040_lorapicodebug.menu.freq.225.build.f_cpu=225000000L +challenger_2040_lorapicodebug.menu.freq.250=250 MHz (Overclock) +challenger_2040_lorapicodebug.menu.freq.250.build.f_cpu=250000000L +challenger_2040_lorapicodebug.menu.freq.275=275 MHz (Overclock) +challenger_2040_lorapicodebug.menu.freq.275.build.f_cpu=275000000L +challenger_2040_lorapicodebug.menu.freq.300=300 MHz (Overclock) +challenger_2040_lorapicodebug.menu.freq.300.build.f_cpu=300000000L +challenger_2040_lorapicodebug.menu.opt.Small=Small (-Os) (standard) +challenger_2040_lorapicodebug.menu.opt.Small.build.flags.optimize=-Os +challenger_2040_lorapicodebug.menu.opt.Optimize=Optimize (-O) +challenger_2040_lorapicodebug.menu.opt.Optimize.build.flags.optimize=-O +challenger_2040_lorapicodebug.menu.opt.Optimize2=Optimize More (-O2) +challenger_2040_lorapicodebug.menu.opt.Optimize2.build.flags.optimize=-O2 +challenger_2040_lorapicodebug.menu.opt.Optimize3=Optimize Even More (-O3) +challenger_2040_lorapicodebug.menu.opt.Optimize3.build.flags.optimize=-O3 +challenger_2040_lorapicodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower) +challenger_2040_lorapicodebug.menu.opt.Fast.build.flags.optimize=-Ofast +challenger_2040_lorapicodebug.menu.opt.Debug=Debug (-Og) +challenger_2040_lorapicodebug.menu.opt.Debug.build.flags.optimize=-Og +challenger_2040_lorapicodebug.menu.rtti.Disabled=Disabled +challenger_2040_lorapicodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti +challenger_2040_lorapicodebug.menu.rtti.Enabled=Enabled +challenger_2040_lorapicodebug.menu.rtti.Enabled.build.flags.rtti= +challenger_2040_lorapicodebug.menu.dbgport.Disabled=Disabled +challenger_2040_lorapicodebug.menu.dbgport.Disabled.build.debug_port= +challenger_2040_lorapicodebug.menu.dbgport.Serial=Serial +challenger_2040_lorapicodebug.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_lorapicodebug.menu.dbgport.Serial1=Serial1 +challenger_2040_lorapicodebug.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_lorapicodebug.menu.dbgport.Serial2=Serial2 +challenger_2040_lorapicodebug.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_lorapicodebug.menu.dbglvl.None=None +challenger_2040_lorapicodebug.menu.dbglvl.None.build.debug_level= +challenger_2040_lorapicodebug.menu.dbglvl.Core=Core +challenger_2040_lorapicodebug.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_lorapicodebug.menu.dbglvl.SPI=SPI +challenger_2040_lorapicodebug.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_lorapicodebug.menu.dbglvl.Wire=Wire +challenger_2040_lorapicodebug.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_lorapicodebug.menu.dbglvl.All=All +challenger_2040_lorapicodebug.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_lorapicodebug.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_lorapicodebug.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_lorapicodebug.menu.usbstack.nousb=No USB +challenger_2040_lorapicodebug.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico" + # ----------------------------------- # iLabs Challenger 2040 WiFi # ----------------------------------- diff --git a/tools/json/challenger_2040_lora.json b/tools/json/challenger_2040_lora.json new file mode 100644 index 00000000..e47abf45 --- /dev/null +++ b/tools/json/challenger_2040_lora.json @@ -0,0 +1,52 @@ +{ + "build": { + "core": "earlephilhower", + "cpu": "cortex-m0plus", + "extra_flags": "-D ARDUINO_CHALLENGER_2040_LORA_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250", + "f_cpu": "133000000L", + "hwids": [ + [ + "0x2E8A", + "0x00C0" + ] + ], + "mcu": "rp2040", + "arduino": { + "earlephilhower": { + "variant": "challenger_2040_lora", + "boot2_source": "boot2_w25q080_2_padded_checksum.S", + "usb_vid": "0x2e8a", + "usb_pid": "0x1023", + "usb_manufacturer": "iLabs", + "usb_product": "Challenger 2040 LoRa" + } + } + }, + "debug": { + "jlink_device": "RP2040_M0_0", + "openocd_target": "rp2040.cfg", + "svd_path": "rp2040.svd" + }, + "frameworks": [ + "arduino" + ], + "name": "Challenger 2040 LoRa", + "upload": { + "maximum_ram_size": 270336, + "maximum_size": 8388608, + "require_upload_port": true, + "native_usb": true, + "use_1200bps_touch": true, + "wait_for_upload_port": false, + "protocol": "picotool", + "protocols": [ + "cmsis-dap", + "jlink", + "raspberrypi-swd", + "picotool", + "picoprobe" + ] + }, + "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", + "vendor": "iLabs" +} \ No newline at end of file diff --git a/tools/makeboards.py b/tools/makeboards.py index d2be9fec..21cb5433 100755 --- a/tools/makeboards.py +++ b/tools/makeboards.py @@ -230,6 +230,7 @@ def MakeBoardJSON(name, vendor_name, product_name, vid, pid, pwr, boarddefine, f MakeBoard("cytron_maker_pi_rp2040", "Cytron", "Maker Pi RP2040", "0x2e8a", "0x1000", 250, "CYTRON_MAKER_PI_RP2040", 2, "boot2_w25q080_2_padded_checksum") MakeBoard("sparkfun_promicrorp2040", "SparkFun", "ProMicro RP2040", "0x1b4f", "0x0026", 250, "SPARKFUN_PROMICRO_RP2040", 16, "boot2_generic_03h_4_padded_checksum") MakeBoard("generic", "Generic", "RP2040", "0x2e8a", "0xf00a", 250, "GENERIC_RP2040", 16, "boot2_generic_03h_4_padded_checksum") +MakeBoard("challenger_2040_lora", "iLabs", "Challenger 2040 LoRa", "0x2e8a", "0x1023", 250, "CHALLENGER_2040_LORA_RP2040", 8, "boot2_w25q080_2_padded_checksum") MakeBoard("challenger_2040_wifi", "iLabs", "Challenger 2040 WiFi", "0x2e8a", "0x1006", 250, "CHALLENGER_2040_WIFI_RP2040", 8, "boot2_w25q080_2_padded_checksum") MakeBoard("challenger_2040_lte", "iLabs", "Challenger 2040 LTE", "0x2e8a", "0x100b", 500, "CHALLENGER_2040_LTE_RP2040", 8, "boot2_w25q080_2_padded_checksum") MakeBoard("challenger_nb_2040_wifi", "iLabs", "Challenger NB 2040 WiFi", "0x2e8a", "0x100b", 500, "CHALLENGER_NB_2040_WIFI_RP2040", 8, "boot2_w25q080_2_padded_checksum") diff --git a/variants/challenger_2040_lora/pins_arduino.h b/variants/challenger_2040_lora/pins_arduino.h new file mode 100644 index 00000000..115cba12 --- /dev/null +++ b/variants/challenger_2040_lora/pins_arduino.h @@ -0,0 +1,67 @@ +#pragma once + +#define PINS_COUNT (25u) +#define NUM_DIGITAL_PINS (25u) +#define NUM_ANALOG_INPUTS (4u) +#define NUM_ANALOG_OUTPUTS (0u) +#define ADC_RESOLUTION (12u) + +// LEDs +#define PIN_LED (24u) + +// Serial +#define PIN_SERIAL1_TX (16u) +#define PIN_SERIAL1_RX (17u) + +// SPI +#define PIN_SPI0_MISO (20u) +#define PIN_SPI0_MOSI (23u) +#define PIN_SPI0_SCK (22u) +#define PIN_SPI0_SS (21u) + +// Connected to LoRa module +#define PIN_SPI1_MISO (12u) +#define PIN_SPI1_MOSI (11u) +#define PIN_SPI1_SCK (10u) +#define PIN_SPI1_SS (9u) + +// 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 (1u) +#define SPI_HOWMANY (2u) +#define WIRE_HOWMANY (1u) + +#define LED_BUILTIN PIN_LED + +static const uint8_t D0 = (16u); +static const uint8_t D1 = (17u); +static const uint8_t D2 = (20u); +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 = (4u); +static const uint8_t D10 = (5u); +static const uint8_t D11 = (6u); +static const uint8_t D12 = (7u); +static const uint8_t D13 = (8u); +static const uint8_t D14 = (13u); +static const uint8_t D15 = (14u); +static const uint8_t D16 = (15u); +static const uint8_t D17 = (18u); +static const uint8_t D18 = (24u); + +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 = (19u); +static const uint8_t A5 = (21u); From 59fe2ae04f86714a26d5a5a3e4398f0086d76b1e Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Sat, 19 Feb 2022 13:48:09 +0100 Subject: [PATCH 13/31] Added new lora board to readme. --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3bc9ad48..f7469e70 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ See https://arduino-pico.readthedocs.io/en/latest/ along with the examples for m * Invector Labs Challenger RP2040 WiFi * Invector Labs Challenger NB RP2040 WiFi * Invector Labs Challenger RP2040 LTE +* Invector Labs Challenger RP2040 LoRa * Invector Labs RPICO32 * Melopero Shake RP2040 * Solder Party RP2040 Stamp @@ -81,7 +82,7 @@ If you follow Les' step-by-step you will also have a fully functional `CMake`-ba To upload your first sketch, you will need to hold the BOOTSEL button down while plugging in the Pico to your computer. Then hit the upload button and the sketch should be transferred and start to run. -After the first upload, this should not be necessary as the `arduino-pico` core has auto-reset support. +After the first upload, this should not be necessary as the `arduino-pico` core has auto-reset support. Select the appropriate serial port shown in the Arduino Tools->Port->Serial Port menu once (this setting will stick and does not need to be touched for multiple uploads). This selection allows the auto-reset tool to identify the proper device to reset. Them hit the upload button and your sketch should upload and run. @@ -93,8 +94,8 @@ follow the initial procedure of holding the BOOTSEL button down while plugging i The onboard flash filesystem for the Pico, LittleFS, lets you upload a filesystem image from the sketch directory for your sketch to use. Download the needed plugin from * https://github.com/earlephilhower/arduino-pico-littlefs-plugin/releases -To install, follow the directions in -* https://github.com/earlephilhower/arduino-pico-littlefs-plugin/blob/master/README.md +To install, follow the directions in +* https://github.com/earlephilhower/arduino-pico-littlefs-plugin/blob/master/README.md For detailed usage information, please check the ESP8266 repo documentation (ignore SPIFFS related notes) available at * https://arduino-esp8266.readthedocs.io/en/latest/filesystem.html @@ -142,7 +143,7 @@ The installed tools include a version of OpenOCD (in the pqt-openocd directory) * Overclocking and underclocking from the menus * digitalWrite/Read, shiftIn/Out, tone, analogWrite(PWM)/Read, temperature * Peripherals: SPI master, Wire(I2C) master/slave, dual UART, emulated EEPROM, I2S audio output, Servo -* printf (i.e. debug) output over USB serial +* printf (i.e. debug) output over USB serial The RP2040 PIO state machines (SMs) are used to generate jitter-free: * Servos From e906da89b40e57f10c2b254401e9109ba4c02853 Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Mon, 21 Feb 2022 19:04:05 +0100 Subject: [PATCH 14/31] Added missing SERIAL2 and LoRa module GIO pins. --- variants/challenger_2040_lora/pins_arduino.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/variants/challenger_2040_lora/pins_arduino.h b/variants/challenger_2040_lora/pins_arduino.h index 115cba12..b800b7f3 100644 --- a/variants/challenger_2040_lora/pins_arduino.h +++ b/variants/challenger_2040_lora/pins_arduino.h @@ -24,6 +24,12 @@ #define PIN_SPI1_MOSI (11u) #define PIN_SPI1_SCK (10u) #define PIN_SPI1_SS (9u) +#define RFM95W_SS (9u) +#define RFM95W_DIO0 (14u) +#define RFM95W_DIO1 (15u) +#define RFM95W_DIO2 (18u) +#define RFM95W_RST (13u) +#define RFM95W_SPI SPI1 // Wire #define PIN_WIRE0_SDA (0u) @@ -32,6 +38,8 @@ // Not pinned out #define PIN_WIRE1_SDA (31u) #define PIN_WIRE1_SCL (31u) +#define PIN_SERIAL2_RX (31u) +#define PIN_SERIAL2_TX (31u) #define SERIAL_HOWMANY (1u) #define SPI_HOWMANY (2u) From 7d63ad9a0d0c209de10206b22c7336b25e060aae Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Mon, 21 Feb 2022 19:22:30 +0100 Subject: [PATCH 15/31] Added support for enabling UART CTS and RTS pins. --- cores/rp2040/SerialUART.cpp | 42 +++++++++++++++++++++++++++++++++++++ cores/rp2040/SerialUART.h | 4 ++++ 2 files changed, 46 insertions(+) diff --git a/cores/rp2040/SerialUART.cpp b/cores/rp2040/SerialUART.cpp index 36fbf578..be3b4627 100644 --- a/cores/rp2040/SerialUART.cpp +++ b/cores/rp2040/SerialUART.cpp @@ -65,6 +65,39 @@ bool SerialUART::setTX(pin_size_t pin) { return false; } +bool SerialUART::setRTS(pin_size_t pin) { + constexpr uint32_t valid[2] = { __bitset({3, 15, 19}) /* UART0 */, + __bitset({7, 11, 23, 27}) /* UART1 */ + }; + if ((!_running) && ((1 << pin) & valid[uart_get_index(_uart)])) { + _rts = pin; + return true; + } + + if (_running) { + panic("FATAL: Attempting to set Serial%d.TX while running", uart_get_index(_uart) + 1); + } else { + panic("FATAL: Attempting to set Serial%d.TX to illegal pin %d", uart_get_index(_uart) + 1, pin); + } + return false; +} + +bool SerialUART::setCTS(pin_size_t pin) { + constexpr uint32_t valid[2] = { __bitset({2, 14, 18}) /* UART0 */, + __bitset({6, 10, 22, 26}) /* UART1 */ + }; + if ((!_running) && ((1 << pin) & valid[uart_get_index(_uart)])) { + _cts = pin; + return true; + } + + if (_running) { + panic("FATAL: Attempting to set Serial%d.TX while running", uart_get_index(_uart) + 1); + } else { + panic("FATAL: Attempting to set Serial%d.TX to illegal pin %d", uart_get_index(_uart) + 1, pin); + } + return false; +} bool SerialUART::setPollingMode(bool mode) { if (_running) { return false; @@ -85,6 +118,8 @@ SerialUART::SerialUART(uart_inst_t *uart, pin_size_t tx, pin_size_t rx) { _uart = uart; _tx = tx; _rx = rx; + _rts = UART_PIN_NOT_DEFINED; + _cts = UART_PIN_NOT_DEFINED; mutex_init(&_mutex); } @@ -133,6 +168,13 @@ void SerialUART::begin(unsigned long baud, uint16_t config) { uart_set_format(_uart, bits, stop, parity); gpio_set_function(_tx, GPIO_FUNC_UART); gpio_set_function(_rx, GPIO_FUNC_UART); + if (_rts != UART_PIN_NOT_DEFINED) { + gpio_set_function(_rts, GPIO_FUNC_UART); + } + if (_cts != UART_PIN_NOT_DEFINED) { + gpio_set_function(_cts, GPIO_FUNC_UART); + } + uart_set_hw_flow(_uart, _rts != UART_PIN_NOT_DEFINED, _cts != UART_PIN_NOT_DEFINED); _writer = 0; _reader = 0; diff --git a/cores/rp2040/SerialUART.h b/cores/rp2040/SerialUART.h index 9ddad003..6fb7785e 100644 --- a/cores/rp2040/SerialUART.h +++ b/cores/rp2040/SerialUART.h @@ -28,6 +28,7 @@ extern "C" typedef struct uart_inst uart_inst_t; +#define UART_PIN_NOT_DEFINED (255u) class SerialUART : public HardwareSerial { public: SerialUART(uart_inst_t *uart, pin_size_t tx, pin_size_t rx); @@ -35,6 +36,8 @@ class SerialUART : public HardwareSerial { // Select the pinout. Call before .begin() bool setRX(pin_size_t pin); bool setTX(pin_size_t pin); + bool setRTS(pin_size_t pin); + bool setCTS(pin_size_t pin); bool setPinout(pin_size_t tx, pin_size_t rx) { bool ret = setRX(rx); ret &= setTX(tx); @@ -66,6 +69,7 @@ class SerialUART : public HardwareSerial { bool _running = false; uart_inst_t *_uart; pin_size_t _tx, _rx; + pin_size_t _rts, _cts; int _baud; mutex_t _mutex; bool _polling = false; From 8563a094bb938f11576693e8e47502ef1445ca7d Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Mon, 21 Feb 2022 21:53:51 +0100 Subject: [PATCH 16/31] Updated boards.txt after merge conflict of makeboards.py --- boards.txt | 487 ----------------------------------------------------- 1 file changed, 487 deletions(-) diff --git a/boards.txt b/boards.txt index 2b0947f0..65b1a3ef 100644 --- a/boards.txt +++ b/boards.txt @@ -6091,493 +6091,6 @@ challenger_2040_lorapicodebug.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG challenger_2040_lorapicodebug.menu.usbstack.nousb=No USB challenger_2040_lorapicodebug.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico" -# ----------------------------------- -# iLabs Challenger 2040 LoRa -# ----------------------------------- -challenger_2040_lora.name=iLabs Challenger 2040 LoRa -challenger_2040_lora.vid.0=0x2e8a -challenger_2040_lora.pid.0=0x1023 -challenger_2040_lora.build.usbpid=-DSERIALUSB_PID=0x1023 -challenger_2040_lora.build.usbpwr=-DUSBD_MAX_POWER_MA=250 -challenger_2040_lora.build.board=CHALLENGER_2040_LORA_RP2040 -challenger_2040_lora.build.mcu=cortex-m0plus -challenger_2040_lora.build.variant=challenger_2040_lora -challenger_2040_lora.upload.tool=uf2conv -challenger_2040_lora.upload.maximum_size=8388608 -challenger_2040_lora.upload.maximum_data_size=262144 -challenger_2040_lora.upload.wait_for_upload_port=true -challenger_2040_lora.upload.erase_cmd= -challenger_2040_lora.serial.disableDTR=false -challenger_2040_lora.serial.disableRTS=false -challenger_2040_lora.build.f_cpu=125000000 -challenger_2040_lora.build.led= -challenger_2040_lora.build.core=rp2040 -challenger_2040_lora.build.ldscript=memmap_default.ld -challenger_2040_lora.build.ram_length=256k -challenger_2040_lora.build.boot2=boot2_w25q080_2_padded_checksum -challenger_2040_lora.build.vid=0x2e8a -challenger_2040_lora.build.pid=0x1023 -challenger_2040_lora.build.usb_manufacturer="iLabs" -challenger_2040_lora.build.usb_product="Challenger 2040 LoRa" -challenger_2040_lora.menu.flash.8388608_0=8MB (no FS) -challenger_2040_lora.menu.flash.8388608_0.upload.maximum_size=8384512 -challenger_2040_lora.menu.flash.8388608_0.build.flash_length=8384512 -challenger_2040_lora.menu.flash.8388608_0.build.eeprom_start=276819968 -challenger_2040_lora.menu.flash.8388608_0.build.fs_start=276819968 -challenger_2040_lora.menu.flash.8388608_0.build.fs_end=276819968 -challenger_2040_lora.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) -challenger_2040_lora.menu.flash.8388608_65536.upload.maximum_size=8318976 -challenger_2040_lora.menu.flash.8388608_65536.build.flash_length=8318976 -challenger_2040_lora.menu.flash.8388608_65536.build.eeprom_start=276819968 -challenger_2040_lora.menu.flash.8388608_65536.build.fs_start=276754432 -challenger_2040_lora.menu.flash.8388608_65536.build.fs_end=276819968 -challenger_2040_lora.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) -challenger_2040_lora.menu.flash.8388608_131072.upload.maximum_size=8253440 -challenger_2040_lora.menu.flash.8388608_131072.build.flash_length=8253440 -challenger_2040_lora.menu.flash.8388608_131072.build.eeprom_start=276819968 -challenger_2040_lora.menu.flash.8388608_131072.build.fs_start=276688896 -challenger_2040_lora.menu.flash.8388608_131072.build.fs_end=276819968 -challenger_2040_lora.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) -challenger_2040_lora.menu.flash.8388608_262144.upload.maximum_size=8122368 -challenger_2040_lora.menu.flash.8388608_262144.build.flash_length=8122368 -challenger_2040_lora.menu.flash.8388608_262144.build.eeprom_start=276819968 -challenger_2040_lora.menu.flash.8388608_262144.build.fs_start=276557824 -challenger_2040_lora.menu.flash.8388608_262144.build.fs_end=276819968 -challenger_2040_lora.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) -challenger_2040_lora.menu.flash.8388608_524288.upload.maximum_size=7860224 -challenger_2040_lora.menu.flash.8388608_524288.build.flash_length=7860224 -challenger_2040_lora.menu.flash.8388608_524288.build.eeprom_start=276819968 -challenger_2040_lora.menu.flash.8388608_524288.build.fs_start=276295680 -challenger_2040_lora.menu.flash.8388608_524288.build.fs_end=276819968 -challenger_2040_lora.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) -challenger_2040_lora.menu.flash.8388608_1048576.upload.maximum_size=7335936 -challenger_2040_lora.menu.flash.8388608_1048576.build.flash_length=7335936 -challenger_2040_lora.menu.flash.8388608_1048576.build.eeprom_start=276819968 -challenger_2040_lora.menu.flash.8388608_1048576.build.fs_start=275771392 -challenger_2040_lora.menu.flash.8388608_1048576.build.fs_end=276819968 -challenger_2040_lora.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) -challenger_2040_lora.menu.flash.8388608_2097152.upload.maximum_size=6287360 -challenger_2040_lora.menu.flash.8388608_2097152.build.flash_length=6287360 -challenger_2040_lora.menu.flash.8388608_2097152.build.eeprom_start=276819968 -challenger_2040_lora.menu.flash.8388608_2097152.build.fs_start=274722816 -challenger_2040_lora.menu.flash.8388608_2097152.build.fs_end=276819968 -challenger_2040_lora.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) -challenger_2040_lora.menu.flash.8388608_3145728.upload.maximum_size=5238784 -challenger_2040_lora.menu.flash.8388608_3145728.build.flash_length=5238784 -challenger_2040_lora.menu.flash.8388608_3145728.build.eeprom_start=276819968 -challenger_2040_lora.menu.flash.8388608_3145728.build.fs_start=273674240 -challenger_2040_lora.menu.flash.8388608_3145728.build.fs_end=276819968 -challenger_2040_lora.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) -challenger_2040_lora.menu.flash.8388608_4194304.upload.maximum_size=4190208 -challenger_2040_lora.menu.flash.8388608_4194304.build.flash_length=4190208 -challenger_2040_lora.menu.flash.8388608_4194304.build.eeprom_start=276819968 -challenger_2040_lora.menu.flash.8388608_4194304.build.fs_start=272625664 -challenger_2040_lora.menu.flash.8388608_4194304.build.fs_end=276819968 -challenger_2040_lora.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) -challenger_2040_lora.menu.flash.8388608_5242880.upload.maximum_size=3141632 -challenger_2040_lora.menu.flash.8388608_5242880.build.flash_length=3141632 -challenger_2040_lora.menu.flash.8388608_5242880.build.eeprom_start=276819968 -challenger_2040_lora.menu.flash.8388608_5242880.build.fs_start=271577088 -challenger_2040_lora.menu.flash.8388608_5242880.build.fs_end=276819968 -challenger_2040_lora.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) -challenger_2040_lora.menu.flash.8388608_6291456.upload.maximum_size=2093056 -challenger_2040_lora.menu.flash.8388608_6291456.build.flash_length=2093056 -challenger_2040_lora.menu.flash.8388608_6291456.build.eeprom_start=276819968 -challenger_2040_lora.menu.flash.8388608_6291456.build.fs_start=270528512 -challenger_2040_lora.menu.flash.8388608_6291456.build.fs_end=276819968 -challenger_2040_lora.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) -challenger_2040_lora.menu.flash.8388608_7340032.upload.maximum_size=1044480 -challenger_2040_lora.menu.flash.8388608_7340032.build.flash_length=1044480 -challenger_2040_lora.menu.flash.8388608_7340032.build.eeprom_start=276819968 -challenger_2040_lora.menu.flash.8388608_7340032.build.fs_start=269479936 -challenger_2040_lora.menu.flash.8388608_7340032.build.fs_end=276819968 -challenger_2040_lora.menu.freq.125=125 MHz -challenger_2040_lora.menu.freq.125.build.f_cpu=125000000L -challenger_2040_lora.menu.freq.50=50 MHz -challenger_2040_lora.menu.freq.50.build.f_cpu=50000000L -challenger_2040_lora.menu.freq.100=100 MHz -challenger_2040_lora.menu.freq.100.build.f_cpu=100000000L -challenger_2040_lora.menu.freq.133=133 MHz -challenger_2040_lora.menu.freq.133.build.f_cpu=133000000L -challenger_2040_lora.menu.freq.150=150 MHz (Overclock) -challenger_2040_lora.menu.freq.150.build.f_cpu=150000000L -challenger_2040_lora.menu.freq.175=175 MHz (Overclock) -challenger_2040_lora.menu.freq.175.build.f_cpu=175000000L -challenger_2040_lora.menu.freq.200=200 MHz (Overclock) -challenger_2040_lora.menu.freq.200.build.f_cpu=200000000L -challenger_2040_lora.menu.freq.225=225 MHz (Overclock) -challenger_2040_lora.menu.freq.225.build.f_cpu=225000000L -challenger_2040_lora.menu.freq.250=250 MHz (Overclock) -challenger_2040_lora.menu.freq.250.build.f_cpu=250000000L -challenger_2040_lora.menu.freq.275=275 MHz (Overclock) -challenger_2040_lora.menu.freq.275.build.f_cpu=275000000L -challenger_2040_lora.menu.freq.300=300 MHz (Overclock) -challenger_2040_lora.menu.freq.300.build.f_cpu=300000000L -challenger_2040_lora.menu.opt.Small=Small (-Os) (standard) -challenger_2040_lora.menu.opt.Small.build.flags.optimize=-Os -challenger_2040_lora.menu.opt.Optimize=Optimize (-O) -challenger_2040_lora.menu.opt.Optimize.build.flags.optimize=-O -challenger_2040_lora.menu.opt.Optimize2=Optimize More (-O2) -challenger_2040_lora.menu.opt.Optimize2.build.flags.optimize=-O2 -challenger_2040_lora.menu.opt.Optimize3=Optimize Even More (-O3) -challenger_2040_lora.menu.opt.Optimize3.build.flags.optimize=-O3 -challenger_2040_lora.menu.opt.Fast=Fast (-Ofast) (maybe slower) -challenger_2040_lora.menu.opt.Fast.build.flags.optimize=-Ofast -challenger_2040_lora.menu.opt.Debug=Debug (-Og) -challenger_2040_lora.menu.opt.Debug.build.flags.optimize=-Og -challenger_2040_lora.menu.rtti.Disabled=Disabled -challenger_2040_lora.menu.rtti.Disabled.build.flags.rtti=-fno-rtti -challenger_2040_lora.menu.rtti.Enabled=Enabled -challenger_2040_lora.menu.rtti.Enabled.build.flags.rtti= -challenger_2040_lora.menu.dbgport.Disabled=Disabled -challenger_2040_lora.menu.dbgport.Disabled.build.debug_port= -challenger_2040_lora.menu.dbgport.Serial=Serial -challenger_2040_lora.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial -challenger_2040_lora.menu.dbgport.Serial1=Serial1 -challenger_2040_lora.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 -challenger_2040_lora.menu.dbgport.Serial2=Serial2 -challenger_2040_lora.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 -challenger_2040_lora.menu.dbglvl.None=None -challenger_2040_lora.menu.dbglvl.None.build.debug_level= -challenger_2040_lora.menu.dbglvl.Core=Core -challenger_2040_lora.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE -challenger_2040_lora.menu.dbglvl.SPI=SPI -challenger_2040_lora.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI -challenger_2040_lora.menu.dbglvl.Wire=Wire -challenger_2040_lora.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE -challenger_2040_lora.menu.dbglvl.All=All -challenger_2040_lora.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE -challenger_2040_lora.menu.dbglvl.NDEBUG=NDEBUG -challenger_2040_lora.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG -challenger_2040_lora.menu.usbstack.picosdk=Pico SDK -challenger_2040_lora.menu.usbstack.picosdk.build.usbstack_flags="-I{runtime.platform.path}/tools/libpico" -challenger_2040_lora.menu.usbstack.tinyusb=Adafruit TinyUSB -challenger_2040_lora.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" - -# ----------------------------------- -# iLabs Challenger 2040 LoRa (Picoprobe) -# ----------------------------------- -challenger_2040_lorapicoprobe.name=iLabs Challenger 2040 LoRa (Picoprobe) -challenger_2040_lorapicoprobe.vid.0=0x2e8a -challenger_2040_lorapicoprobe.pid.0=0x0004 -challenger_2040_lorapicoprobe.build.usbpid=-DSERIALUSB_PID=0x1023 -challenger_2040_lorapicoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=250 -challenger_2040_lorapicoprobe.build.board=CHALLENGER_2040_LORA_RP2040 -challenger_2040_lorapicoprobe.build.mcu=cortex-m0plus -challenger_2040_lorapicoprobe.build.variant=challenger_2040_lora -challenger_2040_lorapicoprobe.upload.tool=picoprobe -challenger_2040_lorapicoprobe.upload.maximum_size=8388608 -challenger_2040_lorapicoprobe.upload.maximum_data_size=262144 -challenger_2040_lorapicoprobe.upload.wait_for_upload_port=true -challenger_2040_lorapicoprobe.upload.erase_cmd= -challenger_2040_lorapicoprobe.serial.disableDTR=false -challenger_2040_lorapicoprobe.serial.disableRTS=false -challenger_2040_lorapicoprobe.build.f_cpu=125000000 -challenger_2040_lorapicoprobe.build.led= -challenger_2040_lorapicoprobe.build.core=rp2040 -challenger_2040_lorapicoprobe.build.ldscript=memmap_default.ld -challenger_2040_lorapicoprobe.build.ram_length=256k -challenger_2040_lorapicoprobe.build.boot2=boot2_w25q080_2_padded_checksum -challenger_2040_lorapicoprobe.build.vid=0x2e8a -challenger_2040_lorapicoprobe.build.pid=0x1023 -challenger_2040_lorapicoprobe.build.usb_manufacturer="iLabs" -challenger_2040_lorapicoprobe.build.usb_product="Challenger 2040 LoRa (Picoprobe)" -challenger_2040_lorapicoprobe.menu.flash.8388608_0=8MB (no FS) -challenger_2040_lorapicoprobe.menu.flash.8388608_0.upload.maximum_size=8384512 -challenger_2040_lorapicoprobe.menu.flash.8388608_0.build.flash_length=8384512 -challenger_2040_lorapicoprobe.menu.flash.8388608_0.build.eeprom_start=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_0.build.fs_start=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_0.build.fs_end=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) -challenger_2040_lorapicoprobe.menu.flash.8388608_65536.upload.maximum_size=8318976 -challenger_2040_lorapicoprobe.menu.flash.8388608_65536.build.flash_length=8318976 -challenger_2040_lorapicoprobe.menu.flash.8388608_65536.build.eeprom_start=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_65536.build.fs_start=276754432 -challenger_2040_lorapicoprobe.menu.flash.8388608_65536.build.fs_end=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) -challenger_2040_lorapicoprobe.menu.flash.8388608_131072.upload.maximum_size=8253440 -challenger_2040_lorapicoprobe.menu.flash.8388608_131072.build.flash_length=8253440 -challenger_2040_lorapicoprobe.menu.flash.8388608_131072.build.eeprom_start=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_131072.build.fs_start=276688896 -challenger_2040_lorapicoprobe.menu.flash.8388608_131072.build.fs_end=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) -challenger_2040_lorapicoprobe.menu.flash.8388608_262144.upload.maximum_size=8122368 -challenger_2040_lorapicoprobe.menu.flash.8388608_262144.build.flash_length=8122368 -challenger_2040_lorapicoprobe.menu.flash.8388608_262144.build.eeprom_start=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_262144.build.fs_start=276557824 -challenger_2040_lorapicoprobe.menu.flash.8388608_262144.build.fs_end=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) -challenger_2040_lorapicoprobe.menu.flash.8388608_524288.upload.maximum_size=7860224 -challenger_2040_lorapicoprobe.menu.flash.8388608_524288.build.flash_length=7860224 -challenger_2040_lorapicoprobe.menu.flash.8388608_524288.build.eeprom_start=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_524288.build.fs_start=276295680 -challenger_2040_lorapicoprobe.menu.flash.8388608_524288.build.fs_end=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) -challenger_2040_lorapicoprobe.menu.flash.8388608_1048576.upload.maximum_size=7335936 -challenger_2040_lorapicoprobe.menu.flash.8388608_1048576.build.flash_length=7335936 -challenger_2040_lorapicoprobe.menu.flash.8388608_1048576.build.eeprom_start=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_1048576.build.fs_start=275771392 -challenger_2040_lorapicoprobe.menu.flash.8388608_1048576.build.fs_end=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) -challenger_2040_lorapicoprobe.menu.flash.8388608_2097152.upload.maximum_size=6287360 -challenger_2040_lorapicoprobe.menu.flash.8388608_2097152.build.flash_length=6287360 -challenger_2040_lorapicoprobe.menu.flash.8388608_2097152.build.eeprom_start=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_2097152.build.fs_start=274722816 -challenger_2040_lorapicoprobe.menu.flash.8388608_2097152.build.fs_end=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) -challenger_2040_lorapicoprobe.menu.flash.8388608_3145728.upload.maximum_size=5238784 -challenger_2040_lorapicoprobe.menu.flash.8388608_3145728.build.flash_length=5238784 -challenger_2040_lorapicoprobe.menu.flash.8388608_3145728.build.eeprom_start=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_3145728.build.fs_start=273674240 -challenger_2040_lorapicoprobe.menu.flash.8388608_3145728.build.fs_end=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) -challenger_2040_lorapicoprobe.menu.flash.8388608_4194304.upload.maximum_size=4190208 -challenger_2040_lorapicoprobe.menu.flash.8388608_4194304.build.flash_length=4190208 -challenger_2040_lorapicoprobe.menu.flash.8388608_4194304.build.eeprom_start=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_4194304.build.fs_start=272625664 -challenger_2040_lorapicoprobe.menu.flash.8388608_4194304.build.fs_end=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) -challenger_2040_lorapicoprobe.menu.flash.8388608_5242880.upload.maximum_size=3141632 -challenger_2040_lorapicoprobe.menu.flash.8388608_5242880.build.flash_length=3141632 -challenger_2040_lorapicoprobe.menu.flash.8388608_5242880.build.eeprom_start=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_5242880.build.fs_start=271577088 -challenger_2040_lorapicoprobe.menu.flash.8388608_5242880.build.fs_end=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) -challenger_2040_lorapicoprobe.menu.flash.8388608_6291456.upload.maximum_size=2093056 -challenger_2040_lorapicoprobe.menu.flash.8388608_6291456.build.flash_length=2093056 -challenger_2040_lorapicoprobe.menu.flash.8388608_6291456.build.eeprom_start=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_6291456.build.fs_start=270528512 -challenger_2040_lorapicoprobe.menu.flash.8388608_6291456.build.fs_end=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) -challenger_2040_lorapicoprobe.menu.flash.8388608_7340032.upload.maximum_size=1044480 -challenger_2040_lorapicoprobe.menu.flash.8388608_7340032.build.flash_length=1044480 -challenger_2040_lorapicoprobe.menu.flash.8388608_7340032.build.eeprom_start=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_7340032.build.fs_start=269479936 -challenger_2040_lorapicoprobe.menu.flash.8388608_7340032.build.fs_end=276819968 -challenger_2040_lorapicoprobe.menu.freq.125=125 MHz -challenger_2040_lorapicoprobe.menu.freq.125.build.f_cpu=125000000L -challenger_2040_lorapicoprobe.menu.freq.50=50 MHz -challenger_2040_lorapicoprobe.menu.freq.50.build.f_cpu=50000000L -challenger_2040_lorapicoprobe.menu.freq.100=100 MHz -challenger_2040_lorapicoprobe.menu.freq.100.build.f_cpu=100000000L -challenger_2040_lorapicoprobe.menu.freq.133=133 MHz -challenger_2040_lorapicoprobe.menu.freq.133.build.f_cpu=133000000L -challenger_2040_lorapicoprobe.menu.freq.150=150 MHz (Overclock) -challenger_2040_lorapicoprobe.menu.freq.150.build.f_cpu=150000000L -challenger_2040_lorapicoprobe.menu.freq.175=175 MHz (Overclock) -challenger_2040_lorapicoprobe.menu.freq.175.build.f_cpu=175000000L -challenger_2040_lorapicoprobe.menu.freq.200=200 MHz (Overclock) -challenger_2040_lorapicoprobe.menu.freq.200.build.f_cpu=200000000L -challenger_2040_lorapicoprobe.menu.freq.225=225 MHz (Overclock) -challenger_2040_lorapicoprobe.menu.freq.225.build.f_cpu=225000000L -challenger_2040_lorapicoprobe.menu.freq.250=250 MHz (Overclock) -challenger_2040_lorapicoprobe.menu.freq.250.build.f_cpu=250000000L -challenger_2040_lorapicoprobe.menu.freq.275=275 MHz (Overclock) -challenger_2040_lorapicoprobe.menu.freq.275.build.f_cpu=275000000L -challenger_2040_lorapicoprobe.menu.freq.300=300 MHz (Overclock) -challenger_2040_lorapicoprobe.menu.freq.300.build.f_cpu=300000000L -challenger_2040_lorapicoprobe.menu.opt.Small=Small (-Os) (standard) -challenger_2040_lorapicoprobe.menu.opt.Small.build.flags.optimize=-Os -challenger_2040_lorapicoprobe.menu.opt.Optimize=Optimize (-O) -challenger_2040_lorapicoprobe.menu.opt.Optimize.build.flags.optimize=-O -challenger_2040_lorapicoprobe.menu.opt.Optimize2=Optimize More (-O2) -challenger_2040_lorapicoprobe.menu.opt.Optimize2.build.flags.optimize=-O2 -challenger_2040_lorapicoprobe.menu.opt.Optimize3=Optimize Even More (-O3) -challenger_2040_lorapicoprobe.menu.opt.Optimize3.build.flags.optimize=-O3 -challenger_2040_lorapicoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower) -challenger_2040_lorapicoprobe.menu.opt.Fast.build.flags.optimize=-Ofast -challenger_2040_lorapicoprobe.menu.opt.Debug=Debug (-Og) -challenger_2040_lorapicoprobe.menu.opt.Debug.build.flags.optimize=-Og -challenger_2040_lorapicoprobe.menu.rtti.Disabled=Disabled -challenger_2040_lorapicoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti -challenger_2040_lorapicoprobe.menu.rtti.Enabled=Enabled -challenger_2040_lorapicoprobe.menu.rtti.Enabled.build.flags.rtti= -challenger_2040_lorapicoprobe.menu.dbgport.Disabled=Disabled -challenger_2040_lorapicoprobe.menu.dbgport.Disabled.build.debug_port= -challenger_2040_lorapicoprobe.menu.dbgport.Serial=Serial -challenger_2040_lorapicoprobe.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial -challenger_2040_lorapicoprobe.menu.dbgport.Serial1=Serial1 -challenger_2040_lorapicoprobe.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 -challenger_2040_lorapicoprobe.menu.dbgport.Serial2=Serial2 -challenger_2040_lorapicoprobe.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 -challenger_2040_lorapicoprobe.menu.dbglvl.None=None -challenger_2040_lorapicoprobe.menu.dbglvl.None.build.debug_level= -challenger_2040_lorapicoprobe.menu.dbglvl.Core=Core -challenger_2040_lorapicoprobe.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE -challenger_2040_lorapicoprobe.menu.dbglvl.SPI=SPI -challenger_2040_lorapicoprobe.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI -challenger_2040_lorapicoprobe.menu.dbglvl.Wire=Wire -challenger_2040_lorapicoprobe.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE -challenger_2040_lorapicoprobe.menu.dbglvl.All=All -challenger_2040_lorapicoprobe.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE -challenger_2040_lorapicoprobe.menu.dbglvl.NDEBUG=NDEBUG -challenger_2040_lorapicoprobe.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG -challenger_2040_lorapicoprobe.menu.usbstack.picosdk=Pico SDK -challenger_2040_lorapicoprobe.menu.usbstack.picosdk.build.usbstack_flags="-I{runtime.platform.path}/tools/libpico" -challenger_2040_lorapicoprobe.menu.usbstack.tinyusb=Adafruit TinyUSB -challenger_2040_lorapicoprobe.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" - -# ----------------------------------- -# iLabs Challenger 2040 LoRa (pico-debug) -# ----------------------------------- -challenger_2040_lorapicodebug.name=iLabs Challenger 2040 LoRa (pico-debug) -challenger_2040_lorapicodebug.vid.0=0x1209 -challenger_2040_lorapicodebug.pid.0=0x2488 -challenger_2040_lorapicodebug.build.usbpid=-DSERIALUSB_PID=0x1023 -challenger_2040_lorapicodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=250 -challenger_2040_lorapicodebug.build.board=CHALLENGER_2040_LORA_RP2040 -challenger_2040_lorapicodebug.build.mcu=cortex-m0plus -challenger_2040_lorapicodebug.build.variant=challenger_2040_lora -challenger_2040_lorapicodebug.upload.tool=picodebug -challenger_2040_lorapicodebug.upload.maximum_size=8388608 -challenger_2040_lorapicodebug.upload.maximum_data_size=245760 -challenger_2040_lorapicodebug.upload.wait_for_upload_port=true -challenger_2040_lorapicodebug.upload.erase_cmd= -challenger_2040_lorapicodebug.serial.disableDTR=false -challenger_2040_lorapicodebug.serial.disableRTS=false -challenger_2040_lorapicodebug.build.f_cpu=125000000 -challenger_2040_lorapicodebug.build.led= -challenger_2040_lorapicodebug.build.core=rp2040 -challenger_2040_lorapicodebug.build.ldscript=memmap_default.ld -challenger_2040_lorapicodebug.build.ram_length=240k -challenger_2040_lorapicodebug.build.boot2=boot2_w25q080_2_padded_checksum -challenger_2040_lorapicodebug.build.vid=0x2e8a -challenger_2040_lorapicodebug.build.pid=0x1023 -challenger_2040_lorapicodebug.build.usb_manufacturer="iLabs" -challenger_2040_lorapicodebug.build.usb_product="Challenger 2040 LoRa (pico-debug)" -challenger_2040_lorapicodebug.menu.flash.8388608_0=8MB (no FS) -challenger_2040_lorapicodebug.menu.flash.8388608_0.upload.maximum_size=8384512 -challenger_2040_lorapicodebug.menu.flash.8388608_0.build.flash_length=8384512 -challenger_2040_lorapicodebug.menu.flash.8388608_0.build.eeprom_start=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_0.build.fs_start=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_0.build.fs_end=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) -challenger_2040_lorapicodebug.menu.flash.8388608_65536.upload.maximum_size=8318976 -challenger_2040_lorapicodebug.menu.flash.8388608_65536.build.flash_length=8318976 -challenger_2040_lorapicodebug.menu.flash.8388608_65536.build.eeprom_start=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_65536.build.fs_start=276754432 -challenger_2040_lorapicodebug.menu.flash.8388608_65536.build.fs_end=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) -challenger_2040_lorapicodebug.menu.flash.8388608_131072.upload.maximum_size=8253440 -challenger_2040_lorapicodebug.menu.flash.8388608_131072.build.flash_length=8253440 -challenger_2040_lorapicodebug.menu.flash.8388608_131072.build.eeprom_start=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_131072.build.fs_start=276688896 -challenger_2040_lorapicodebug.menu.flash.8388608_131072.build.fs_end=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) -challenger_2040_lorapicodebug.menu.flash.8388608_262144.upload.maximum_size=8122368 -challenger_2040_lorapicodebug.menu.flash.8388608_262144.build.flash_length=8122368 -challenger_2040_lorapicodebug.menu.flash.8388608_262144.build.eeprom_start=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_262144.build.fs_start=276557824 -challenger_2040_lorapicodebug.menu.flash.8388608_262144.build.fs_end=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) -challenger_2040_lorapicodebug.menu.flash.8388608_524288.upload.maximum_size=7860224 -challenger_2040_lorapicodebug.menu.flash.8388608_524288.build.flash_length=7860224 -challenger_2040_lorapicodebug.menu.flash.8388608_524288.build.eeprom_start=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_524288.build.fs_start=276295680 -challenger_2040_lorapicodebug.menu.flash.8388608_524288.build.fs_end=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) -challenger_2040_lorapicodebug.menu.flash.8388608_1048576.upload.maximum_size=7335936 -challenger_2040_lorapicodebug.menu.flash.8388608_1048576.build.flash_length=7335936 -challenger_2040_lorapicodebug.menu.flash.8388608_1048576.build.eeprom_start=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_1048576.build.fs_start=275771392 -challenger_2040_lorapicodebug.menu.flash.8388608_1048576.build.fs_end=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) -challenger_2040_lorapicodebug.menu.flash.8388608_2097152.upload.maximum_size=6287360 -challenger_2040_lorapicodebug.menu.flash.8388608_2097152.build.flash_length=6287360 -challenger_2040_lorapicodebug.menu.flash.8388608_2097152.build.eeprom_start=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_2097152.build.fs_start=274722816 -challenger_2040_lorapicodebug.menu.flash.8388608_2097152.build.fs_end=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) -challenger_2040_lorapicodebug.menu.flash.8388608_3145728.upload.maximum_size=5238784 -challenger_2040_lorapicodebug.menu.flash.8388608_3145728.build.flash_length=5238784 -challenger_2040_lorapicodebug.menu.flash.8388608_3145728.build.eeprom_start=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_3145728.build.fs_start=273674240 -challenger_2040_lorapicodebug.menu.flash.8388608_3145728.build.fs_end=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) -challenger_2040_lorapicodebug.menu.flash.8388608_4194304.upload.maximum_size=4190208 -challenger_2040_lorapicodebug.menu.flash.8388608_4194304.build.flash_length=4190208 -challenger_2040_lorapicodebug.menu.flash.8388608_4194304.build.eeprom_start=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_4194304.build.fs_start=272625664 -challenger_2040_lorapicodebug.menu.flash.8388608_4194304.build.fs_end=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) -challenger_2040_lorapicodebug.menu.flash.8388608_5242880.upload.maximum_size=3141632 -challenger_2040_lorapicodebug.menu.flash.8388608_5242880.build.flash_length=3141632 -challenger_2040_lorapicodebug.menu.flash.8388608_5242880.build.eeprom_start=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_5242880.build.fs_start=271577088 -challenger_2040_lorapicodebug.menu.flash.8388608_5242880.build.fs_end=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) -challenger_2040_lorapicodebug.menu.flash.8388608_6291456.upload.maximum_size=2093056 -challenger_2040_lorapicodebug.menu.flash.8388608_6291456.build.flash_length=2093056 -challenger_2040_lorapicodebug.menu.flash.8388608_6291456.build.eeprom_start=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_6291456.build.fs_start=270528512 -challenger_2040_lorapicodebug.menu.flash.8388608_6291456.build.fs_end=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) -challenger_2040_lorapicodebug.menu.flash.8388608_7340032.upload.maximum_size=1044480 -challenger_2040_lorapicodebug.menu.flash.8388608_7340032.build.flash_length=1044480 -challenger_2040_lorapicodebug.menu.flash.8388608_7340032.build.eeprom_start=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_7340032.build.fs_start=269479936 -challenger_2040_lorapicodebug.menu.flash.8388608_7340032.build.fs_end=276819968 -challenger_2040_lorapicodebug.menu.freq.125=125 MHz -challenger_2040_lorapicodebug.menu.freq.125.build.f_cpu=125000000L -challenger_2040_lorapicodebug.menu.freq.50=50 MHz -challenger_2040_lorapicodebug.menu.freq.50.build.f_cpu=50000000L -challenger_2040_lorapicodebug.menu.freq.100=100 MHz -challenger_2040_lorapicodebug.menu.freq.100.build.f_cpu=100000000L -challenger_2040_lorapicodebug.menu.freq.133=133 MHz -challenger_2040_lorapicodebug.menu.freq.133.build.f_cpu=133000000L -challenger_2040_lorapicodebug.menu.freq.150=150 MHz (Overclock) -challenger_2040_lorapicodebug.menu.freq.150.build.f_cpu=150000000L -challenger_2040_lorapicodebug.menu.freq.175=175 MHz (Overclock) -challenger_2040_lorapicodebug.menu.freq.175.build.f_cpu=175000000L -challenger_2040_lorapicodebug.menu.freq.200=200 MHz (Overclock) -challenger_2040_lorapicodebug.menu.freq.200.build.f_cpu=200000000L -challenger_2040_lorapicodebug.menu.freq.225=225 MHz (Overclock) -challenger_2040_lorapicodebug.menu.freq.225.build.f_cpu=225000000L -challenger_2040_lorapicodebug.menu.freq.250=250 MHz (Overclock) -challenger_2040_lorapicodebug.menu.freq.250.build.f_cpu=250000000L -challenger_2040_lorapicodebug.menu.freq.275=275 MHz (Overclock) -challenger_2040_lorapicodebug.menu.freq.275.build.f_cpu=275000000L -challenger_2040_lorapicodebug.menu.freq.300=300 MHz (Overclock) -challenger_2040_lorapicodebug.menu.freq.300.build.f_cpu=300000000L -challenger_2040_lorapicodebug.menu.opt.Small=Small (-Os) (standard) -challenger_2040_lorapicodebug.menu.opt.Small.build.flags.optimize=-Os -challenger_2040_lorapicodebug.menu.opt.Optimize=Optimize (-O) -challenger_2040_lorapicodebug.menu.opt.Optimize.build.flags.optimize=-O -challenger_2040_lorapicodebug.menu.opt.Optimize2=Optimize More (-O2) -challenger_2040_lorapicodebug.menu.opt.Optimize2.build.flags.optimize=-O2 -challenger_2040_lorapicodebug.menu.opt.Optimize3=Optimize Even More (-O3) -challenger_2040_lorapicodebug.menu.opt.Optimize3.build.flags.optimize=-O3 -challenger_2040_lorapicodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower) -challenger_2040_lorapicodebug.menu.opt.Fast.build.flags.optimize=-Ofast -challenger_2040_lorapicodebug.menu.opt.Debug=Debug (-Og) -challenger_2040_lorapicodebug.menu.opt.Debug.build.flags.optimize=-Og -challenger_2040_lorapicodebug.menu.rtti.Disabled=Disabled -challenger_2040_lorapicodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti -challenger_2040_lorapicodebug.menu.rtti.Enabled=Enabled -challenger_2040_lorapicodebug.menu.rtti.Enabled.build.flags.rtti= -challenger_2040_lorapicodebug.menu.dbgport.Disabled=Disabled -challenger_2040_lorapicodebug.menu.dbgport.Disabled.build.debug_port= -challenger_2040_lorapicodebug.menu.dbgport.Serial=Serial -challenger_2040_lorapicodebug.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial -challenger_2040_lorapicodebug.menu.dbgport.Serial1=Serial1 -challenger_2040_lorapicodebug.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 -challenger_2040_lorapicodebug.menu.dbgport.Serial2=Serial2 -challenger_2040_lorapicodebug.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 -challenger_2040_lorapicodebug.menu.dbglvl.None=None -challenger_2040_lorapicodebug.menu.dbglvl.None.build.debug_level= -challenger_2040_lorapicodebug.menu.dbglvl.Core=Core -challenger_2040_lorapicodebug.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE -challenger_2040_lorapicodebug.menu.dbglvl.SPI=SPI -challenger_2040_lorapicodebug.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI -challenger_2040_lorapicodebug.menu.dbglvl.Wire=Wire -challenger_2040_lorapicodebug.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE -challenger_2040_lorapicodebug.menu.dbglvl.All=All -challenger_2040_lorapicodebug.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE -challenger_2040_lorapicodebug.menu.dbglvl.NDEBUG=NDEBUG -challenger_2040_lorapicodebug.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG -challenger_2040_lorapicodebug.menu.usbstack.nousb=No USB -challenger_2040_lorapicodebug.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico" - # ----------------------------------- # iLabs Challenger 2040 WiFi # ----------------------------------- From 5b9eab1f18740106bbf5d31c980c870901cd6d61 Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Mon, 21 Feb 2022 22:01:01 +0100 Subject: [PATCH 17/31] Fixed incorrect indention --- cores/rp2040/SerialUART.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cores/rp2040/SerialUART.cpp b/cores/rp2040/SerialUART.cpp index be3b4627..49edf3c7 100644 --- a/cores/rp2040/SerialUART.cpp +++ b/cores/rp2040/SerialUART.cpp @@ -169,10 +169,10 @@ void SerialUART::begin(unsigned long baud, uint16_t config) { gpio_set_function(_tx, GPIO_FUNC_UART); gpio_set_function(_rx, GPIO_FUNC_UART); if (_rts != UART_PIN_NOT_DEFINED) { - gpio_set_function(_rts, GPIO_FUNC_UART); + gpio_set_function(_rts, GPIO_FUNC_UART); } if (_cts != UART_PIN_NOT_DEFINED) { - gpio_set_function(_cts, GPIO_FUNC_UART); + gpio_set_function(_cts, GPIO_FUNC_UART); } uart_set_hw_flow(_uart, _rts != UART_PIN_NOT_DEFINED, _cts != UART_PIN_NOT_DEFINED); _writer = 0; From 540476771421b5a85455846193565d015820213f Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Tue, 22 Feb 2022 08:52:53 +0100 Subject: [PATCH 18/31] Fixed PR comments --- cores/rp2040/SerialUART.cpp | 8 ++++---- docs/pins.rst | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/cores/rp2040/SerialUART.cpp b/cores/rp2040/SerialUART.cpp index 49edf3c7..8cf61c50 100644 --- a/cores/rp2040/SerialUART.cpp +++ b/cores/rp2040/SerialUART.cpp @@ -75,9 +75,9 @@ bool SerialUART::setRTS(pin_size_t pin) { } if (_running) { - panic("FATAL: Attempting to set Serial%d.TX while running", uart_get_index(_uart) + 1); + panic("FATAL: Attempting to set Serial%d.RTS while running", uart_get_index(_uart) + 1); } else { - panic("FATAL: Attempting to set Serial%d.TX to illegal pin %d", uart_get_index(_uart) + 1, pin); + panic("FATAL: Attempting to set Serial%d.RTS to illegal pin %d", uart_get_index(_uart) + 1, pin); } return false; } @@ -92,9 +92,9 @@ bool SerialUART::setCTS(pin_size_t pin) { } if (_running) { - panic("FATAL: Attempting to set Serial%d.TX while running", uart_get_index(_uart) + 1); + panic("FATAL: Attempting to set Serial%d.CTS while running", uart_get_index(_uart) + 1); } else { - panic("FATAL: Attempting to set Serial%d.TX to illegal pin %d", uart_get_index(_uart) + 1, pin); + panic("FATAL: Attempting to set Serial%d.CTS to illegal pin %d", uart_get_index(_uart) + 1, pin); } return false; } diff --git a/docs/pins.rst b/docs/pins.rst index 38009552..d8ea4ff0 100644 --- a/docs/pins.rst +++ b/docs/pins.rst @@ -26,6 +26,8 @@ Serial1 (UART0), Serial2 (UART1) ::setRX(pin) ::setTX(pin) + ::setRTS(pin) + ::setCTS(pin) SPI (SPI0), SPI1 (SPI1) ----------------------- @@ -58,4 +60,3 @@ it use a non-default pinout with a simple call SPI.setCS(5); SD.begin(5); } - From 16133da777a77e5fbad086f674a60f8f87bfcb40 Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Fri, 20 May 2022 12:12:49 +0200 Subject: [PATCH 19/31] Add new Challenger RP2040 WiFi/BLE board (https://ilabs.se/challenger-rp2040-wifi-ble-datasheet) --- README.md | 1 + boards.txt | 487 ++++++++++++++++++ tools/json/challenger_2040_wifi_ble.json | 52 ++ tools/makeboards.py | 1 + .../ChallengerWiFi.cpp | 107 ++++ .../challenger_2040_wifi_ble/ChallengerWiFi.h | 36 ++ .../challenger_2040_wifi_ble/pins_arduino.h | 81 +++ 7 files changed, 765 insertions(+) create mode 100644 tools/json/challenger_2040_wifi_ble.json create mode 100644 variants/challenger_2040_wifi_ble/ChallengerWiFi.cpp create mode 100644 variants/challenger_2040_wifi_ble/ChallengerWiFi.h create mode 100644 variants/challenger_2040_wifi_ble/pins_arduino.h diff --git a/README.md b/README.md index 873c9ac0..f8cf4da4 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ See https://arduino-pico.readthedocs.io/en/latest/ along with the examples for m * DeRuiLab FlyBoard2040 Core * DFRobot Beetle RP2040 * Invector Labs Challenger RP2040 WiFi +* Invector Labs Challenger RP2040 WiFi/BLE * Invector Labs Challenger NB RP2040 WiFi * Invector Labs Challenger RP2040 LTE * Invector Labs Challenger RP2040 LoRa diff --git a/boards.txt b/boards.txt index 92ef065c..600ddc5e 100644 --- a/boards.txt +++ b/boards.txt @@ -7444,6 +7444,493 @@ 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 2040 WiFi/BLE +# ----------------------------------- +challenger_2040_wifi_ble.name=iLabs Challenger 2040 WiFi/BLE +challenger_2040_wifi_ble.vid.0=0x2e8a +challenger_2040_wifi_ble.pid.0=0x1101 +challenger_2040_wifi_ble.build.usbpid=-DSERIALUSB_PID=0x1101 +challenger_2040_wifi_ble.build.usbpwr=-DUSBD_MAX_POWER_MA=500 +challenger_2040_wifi_ble.build.board=CHALLENGER_2040_WIFI_BLE_RP2040 +challenger_2040_wifi_ble.build.mcu=cortex-m0plus +challenger_2040_wifi_ble.build.variant=challenger_2040_wifi_ble +challenger_2040_wifi_ble.upload.tool=uf2conv +challenger_2040_wifi_ble.upload.maximum_size=8388608 +challenger_2040_wifi_ble.upload.maximum_data_size=262144 +challenger_2040_wifi_ble.upload.wait_for_upload_port=true +challenger_2040_wifi_ble.upload.erase_cmd= +challenger_2040_wifi_ble.serial.disableDTR=false +challenger_2040_wifi_ble.serial.disableRTS=false +challenger_2040_wifi_ble.build.f_cpu=125000000 +challenger_2040_wifi_ble.build.led= +challenger_2040_wifi_ble.build.core=rp2040 +challenger_2040_wifi_ble.build.ldscript=memmap_default.ld +challenger_2040_wifi_ble.build.ram_length=256k +challenger_2040_wifi_ble.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_wifi_ble.build.vid=0x2e8a +challenger_2040_wifi_ble.build.pid=0x1101 +challenger_2040_wifi_ble.build.usb_manufacturer="iLabs" +challenger_2040_wifi_ble.build.usb_product="Challenger 2040 WiFi/BLE" +challenger_2040_wifi_ble.menu.flash.8388608_0=8MB (no FS) +challenger_2040_wifi_ble.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_wifi_ble.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_wifi_ble.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_wifi_ble.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_wifi_ble.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_wifi_ble.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_wifi_ble.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_wifi_ble.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_wifi_ble.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_wifi_ble.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_wifi_ble.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_wifi_ble.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_wifi_ble.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_wifi_ble.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_wifi_ble.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_wifi_ble.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_wifi_ble.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_wifi_ble.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_wifi_ble.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_wifi_ble.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_wifi_ble.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_wifi_ble.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_wifi_ble.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_wifi_ble.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_wifi_ble.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_wifi_ble.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_wifi_ble.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_wifi_ble.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_wifi_ble.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_wifi_ble.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_wifi_ble.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_wifi_ble.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_wifi_ble.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_wifi_ble.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_wifi_ble.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_wifi_ble.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_wifi_ble.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_wifi_ble.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_wifi_ble.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_wifi_ble.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_wifi_ble.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_wifi_ble.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_wifi_ble.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_wifi_ble.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_wifi_ble.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_wifi_ble.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_wifi_ble.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_wifi_ble.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_wifi_ble.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_wifi_ble.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_wifi_ble.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_wifi_ble.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_wifi_ble.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_wifi_ble.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_wifi_ble.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_wifi_ble.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_wifi_ble.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_wifi_ble.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_wifi_ble.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_wifi_ble.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_wifi_ble.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_wifi_ble.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_wifi_ble.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_wifi_ble.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_wifi_ble.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_wifi_ble.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_wifi_ble.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_wifi_ble.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_wifi_ble.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_wifi_ble.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_wifi_ble.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_wifi_ble.menu.freq.133=133 MHz +challenger_2040_wifi_ble.menu.freq.133.build.f_cpu=133000000L +challenger_2040_wifi_ble.menu.freq.50=50 MHz +challenger_2040_wifi_ble.menu.freq.50.build.f_cpu=50000000L +challenger_2040_wifi_ble.menu.freq.100=100 MHz +challenger_2040_wifi_ble.menu.freq.100.build.f_cpu=100000000L +challenger_2040_wifi_ble.menu.freq.125=125 MHz +challenger_2040_wifi_ble.menu.freq.125.build.f_cpu=125000000L +challenger_2040_wifi_ble.menu.freq.150=150 MHz (Overclock) +challenger_2040_wifi_ble.menu.freq.150.build.f_cpu=150000000L +challenger_2040_wifi_ble.menu.freq.175=175 MHz (Overclock) +challenger_2040_wifi_ble.menu.freq.175.build.f_cpu=175000000L +challenger_2040_wifi_ble.menu.freq.200=200 MHz (Overclock) +challenger_2040_wifi_ble.menu.freq.200.build.f_cpu=200000000L +challenger_2040_wifi_ble.menu.freq.225=225 MHz (Overclock) +challenger_2040_wifi_ble.menu.freq.225.build.f_cpu=225000000L +challenger_2040_wifi_ble.menu.freq.250=250 MHz (Overclock) +challenger_2040_wifi_ble.menu.freq.250.build.f_cpu=250000000L +challenger_2040_wifi_ble.menu.freq.275=275 MHz (Overclock) +challenger_2040_wifi_ble.menu.freq.275.build.f_cpu=275000000L +challenger_2040_wifi_ble.menu.freq.300=300 MHz (Overclock) +challenger_2040_wifi_ble.menu.freq.300.build.f_cpu=300000000L +challenger_2040_wifi_ble.menu.opt.Small=Small (-Os) (standard) +challenger_2040_wifi_ble.menu.opt.Small.build.flags.optimize=-Os +challenger_2040_wifi_ble.menu.opt.Optimize=Optimize (-O) +challenger_2040_wifi_ble.menu.opt.Optimize.build.flags.optimize=-O +challenger_2040_wifi_ble.menu.opt.Optimize2=Optimize More (-O2) +challenger_2040_wifi_ble.menu.opt.Optimize2.build.flags.optimize=-O2 +challenger_2040_wifi_ble.menu.opt.Optimize3=Optimize Even More (-O3) +challenger_2040_wifi_ble.menu.opt.Optimize3.build.flags.optimize=-O3 +challenger_2040_wifi_ble.menu.opt.Fast=Fast (-Ofast) (maybe slower) +challenger_2040_wifi_ble.menu.opt.Fast.build.flags.optimize=-Ofast +challenger_2040_wifi_ble.menu.opt.Debug=Debug (-Og) +challenger_2040_wifi_ble.menu.opt.Debug.build.flags.optimize=-Og +challenger_2040_wifi_ble.menu.rtti.Disabled=Disabled +challenger_2040_wifi_ble.menu.rtti.Disabled.build.flags.rtti=-fno-rtti +challenger_2040_wifi_ble.menu.rtti.Enabled=Enabled +challenger_2040_wifi_ble.menu.rtti.Enabled.build.flags.rtti= +challenger_2040_wifi_ble.menu.dbgport.Disabled=Disabled +challenger_2040_wifi_ble.menu.dbgport.Disabled.build.debug_port= +challenger_2040_wifi_ble.menu.dbgport.Serial=Serial +challenger_2040_wifi_ble.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_wifi_ble.menu.dbgport.Serial1=Serial1 +challenger_2040_wifi_ble.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_wifi_ble.menu.dbgport.Serial2=Serial2 +challenger_2040_wifi_ble.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_wifi_ble.menu.dbglvl.None=None +challenger_2040_wifi_ble.menu.dbglvl.None.build.debug_level= +challenger_2040_wifi_ble.menu.dbglvl.Core=Core +challenger_2040_wifi_ble.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_wifi_ble.menu.dbglvl.SPI=SPI +challenger_2040_wifi_ble.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_wifi_ble.menu.dbglvl.Wire=Wire +challenger_2040_wifi_ble.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_wifi_ble.menu.dbglvl.All=All +challenger_2040_wifi_ble.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_wifi_ble.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_wifi_ble.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_wifi_ble.menu.usbstack.picosdk=Pico SDK +challenger_2040_wifi_ble.menu.usbstack.picosdk.build.usbstack_flags="-I{runtime.platform.path}/tools/libpico" +challenger_2040_wifi_ble.menu.usbstack.tinyusb=Adafruit TinyUSB +challenger_2040_wifi_ble.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" + +# ----------------------------------- +# iLabs Challenger 2040 WiFi/BLE (Picoprobe) +# ----------------------------------- +challenger_2040_wifi_blepicoprobe.name=iLabs Challenger 2040 WiFi/BLE (Picoprobe) +challenger_2040_wifi_blepicoprobe.vid.0=0x2e8a +challenger_2040_wifi_blepicoprobe.pid.0=0x0004 +challenger_2040_wifi_blepicoprobe.build.usbpid=-DSERIALUSB_PID=0x1101 +challenger_2040_wifi_blepicoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=500 +challenger_2040_wifi_blepicoprobe.build.board=CHALLENGER_2040_WIFI_BLE_RP2040 +challenger_2040_wifi_blepicoprobe.build.mcu=cortex-m0plus +challenger_2040_wifi_blepicoprobe.build.variant=challenger_2040_wifi_ble +challenger_2040_wifi_blepicoprobe.upload.tool=picoprobe +challenger_2040_wifi_blepicoprobe.upload.maximum_size=8388608 +challenger_2040_wifi_blepicoprobe.upload.maximum_data_size=262144 +challenger_2040_wifi_blepicoprobe.upload.wait_for_upload_port=true +challenger_2040_wifi_blepicoprobe.upload.erase_cmd= +challenger_2040_wifi_blepicoprobe.serial.disableDTR=false +challenger_2040_wifi_blepicoprobe.serial.disableRTS=false +challenger_2040_wifi_blepicoprobe.build.f_cpu=125000000 +challenger_2040_wifi_blepicoprobe.build.led= +challenger_2040_wifi_blepicoprobe.build.core=rp2040 +challenger_2040_wifi_blepicoprobe.build.ldscript=memmap_default.ld +challenger_2040_wifi_blepicoprobe.build.ram_length=256k +challenger_2040_wifi_blepicoprobe.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_wifi_blepicoprobe.build.vid=0x2e8a +challenger_2040_wifi_blepicoprobe.build.pid=0x1101 +challenger_2040_wifi_blepicoprobe.build.usb_manufacturer="iLabs" +challenger_2040_wifi_blepicoprobe.build.usb_product="Challenger 2040 WiFi/BLE (Picoprobe)" +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_0=8MB (no FS) +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_wifi_blepicoprobe.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_wifi_blepicoprobe.menu.freq.133=133 MHz +challenger_2040_wifi_blepicoprobe.menu.freq.133.build.f_cpu=133000000L +challenger_2040_wifi_blepicoprobe.menu.freq.50=50 MHz +challenger_2040_wifi_blepicoprobe.menu.freq.50.build.f_cpu=50000000L +challenger_2040_wifi_blepicoprobe.menu.freq.100=100 MHz +challenger_2040_wifi_blepicoprobe.menu.freq.100.build.f_cpu=100000000L +challenger_2040_wifi_blepicoprobe.menu.freq.125=125 MHz +challenger_2040_wifi_blepicoprobe.menu.freq.125.build.f_cpu=125000000L +challenger_2040_wifi_blepicoprobe.menu.freq.150=150 MHz (Overclock) +challenger_2040_wifi_blepicoprobe.menu.freq.150.build.f_cpu=150000000L +challenger_2040_wifi_blepicoprobe.menu.freq.175=175 MHz (Overclock) +challenger_2040_wifi_blepicoprobe.menu.freq.175.build.f_cpu=175000000L +challenger_2040_wifi_blepicoprobe.menu.freq.200=200 MHz (Overclock) +challenger_2040_wifi_blepicoprobe.menu.freq.200.build.f_cpu=200000000L +challenger_2040_wifi_blepicoprobe.menu.freq.225=225 MHz (Overclock) +challenger_2040_wifi_blepicoprobe.menu.freq.225.build.f_cpu=225000000L +challenger_2040_wifi_blepicoprobe.menu.freq.250=250 MHz (Overclock) +challenger_2040_wifi_blepicoprobe.menu.freq.250.build.f_cpu=250000000L +challenger_2040_wifi_blepicoprobe.menu.freq.275=275 MHz (Overclock) +challenger_2040_wifi_blepicoprobe.menu.freq.275.build.f_cpu=275000000L +challenger_2040_wifi_blepicoprobe.menu.freq.300=300 MHz (Overclock) +challenger_2040_wifi_blepicoprobe.menu.freq.300.build.f_cpu=300000000L +challenger_2040_wifi_blepicoprobe.menu.opt.Small=Small (-Os) (standard) +challenger_2040_wifi_blepicoprobe.menu.opt.Small.build.flags.optimize=-Os +challenger_2040_wifi_blepicoprobe.menu.opt.Optimize=Optimize (-O) +challenger_2040_wifi_blepicoprobe.menu.opt.Optimize.build.flags.optimize=-O +challenger_2040_wifi_blepicoprobe.menu.opt.Optimize2=Optimize More (-O2) +challenger_2040_wifi_blepicoprobe.menu.opt.Optimize2.build.flags.optimize=-O2 +challenger_2040_wifi_blepicoprobe.menu.opt.Optimize3=Optimize Even More (-O3) +challenger_2040_wifi_blepicoprobe.menu.opt.Optimize3.build.flags.optimize=-O3 +challenger_2040_wifi_blepicoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower) +challenger_2040_wifi_blepicoprobe.menu.opt.Fast.build.flags.optimize=-Ofast +challenger_2040_wifi_blepicoprobe.menu.opt.Debug=Debug (-Og) +challenger_2040_wifi_blepicoprobe.menu.opt.Debug.build.flags.optimize=-Og +challenger_2040_wifi_blepicoprobe.menu.rtti.Disabled=Disabled +challenger_2040_wifi_blepicoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti +challenger_2040_wifi_blepicoprobe.menu.rtti.Enabled=Enabled +challenger_2040_wifi_blepicoprobe.menu.rtti.Enabled.build.flags.rtti= +challenger_2040_wifi_blepicoprobe.menu.dbgport.Disabled=Disabled +challenger_2040_wifi_blepicoprobe.menu.dbgport.Disabled.build.debug_port= +challenger_2040_wifi_blepicoprobe.menu.dbgport.Serial=Serial +challenger_2040_wifi_blepicoprobe.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_wifi_blepicoprobe.menu.dbgport.Serial1=Serial1 +challenger_2040_wifi_blepicoprobe.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_wifi_blepicoprobe.menu.dbgport.Serial2=Serial2 +challenger_2040_wifi_blepicoprobe.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_wifi_blepicoprobe.menu.dbglvl.None=None +challenger_2040_wifi_blepicoprobe.menu.dbglvl.None.build.debug_level= +challenger_2040_wifi_blepicoprobe.menu.dbglvl.Core=Core +challenger_2040_wifi_blepicoprobe.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_wifi_blepicoprobe.menu.dbglvl.SPI=SPI +challenger_2040_wifi_blepicoprobe.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_wifi_blepicoprobe.menu.dbglvl.Wire=Wire +challenger_2040_wifi_blepicoprobe.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_wifi_blepicoprobe.menu.dbglvl.All=All +challenger_2040_wifi_blepicoprobe.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_wifi_blepicoprobe.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_wifi_blepicoprobe.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_wifi_blepicoprobe.menu.usbstack.picosdk=Pico SDK +challenger_2040_wifi_blepicoprobe.menu.usbstack.picosdk.build.usbstack_flags="-I{runtime.platform.path}/tools/libpico" +challenger_2040_wifi_blepicoprobe.menu.usbstack.tinyusb=Adafruit TinyUSB +challenger_2040_wifi_blepicoprobe.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" + +# ----------------------------------- +# iLabs Challenger 2040 WiFi/BLE (pico-debug) +# ----------------------------------- +challenger_2040_wifi_blepicodebug.name=iLabs Challenger 2040 WiFi/BLE (pico-debug) +challenger_2040_wifi_blepicodebug.vid.0=0x1209 +challenger_2040_wifi_blepicodebug.pid.0=0x2488 +challenger_2040_wifi_blepicodebug.build.usbpid=-DSERIALUSB_PID=0x1101 +challenger_2040_wifi_blepicodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=500 +challenger_2040_wifi_blepicodebug.build.board=CHALLENGER_2040_WIFI_BLE_RP2040 +challenger_2040_wifi_blepicodebug.build.mcu=cortex-m0plus +challenger_2040_wifi_blepicodebug.build.variant=challenger_2040_wifi_ble +challenger_2040_wifi_blepicodebug.upload.tool=picodebug +challenger_2040_wifi_blepicodebug.upload.maximum_size=8388608 +challenger_2040_wifi_blepicodebug.upload.maximum_data_size=245760 +challenger_2040_wifi_blepicodebug.upload.wait_for_upload_port=true +challenger_2040_wifi_blepicodebug.upload.erase_cmd= +challenger_2040_wifi_blepicodebug.serial.disableDTR=false +challenger_2040_wifi_blepicodebug.serial.disableRTS=false +challenger_2040_wifi_blepicodebug.build.f_cpu=125000000 +challenger_2040_wifi_blepicodebug.build.led= +challenger_2040_wifi_blepicodebug.build.core=rp2040 +challenger_2040_wifi_blepicodebug.build.ldscript=memmap_default.ld +challenger_2040_wifi_blepicodebug.build.ram_length=240k +challenger_2040_wifi_blepicodebug.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_wifi_blepicodebug.build.vid=0x2e8a +challenger_2040_wifi_blepicodebug.build.pid=0x1101 +challenger_2040_wifi_blepicodebug.build.usb_manufacturer="iLabs" +challenger_2040_wifi_blepicodebug.build.usb_product="Challenger 2040 WiFi/BLE (pico-debug)" +challenger_2040_wifi_blepicodebug.menu.flash.8388608_0=8MB (no FS) +challenger_2040_wifi_blepicodebug.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_wifi_blepicodebug.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_wifi_blepicodebug.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_wifi_blepicodebug.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_wifi_blepicodebug.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_wifi_blepicodebug.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_wifi_blepicodebug.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_wifi_blepicodebug.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_wifi_blepicodebug.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_wifi_blepicodebug.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_wifi_blepicodebug.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_wifi_blepicodebug.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_wifi_blepicodebug.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_wifi_blepicodebug.menu.freq.133=133 MHz +challenger_2040_wifi_blepicodebug.menu.freq.133.build.f_cpu=133000000L +challenger_2040_wifi_blepicodebug.menu.freq.50=50 MHz +challenger_2040_wifi_blepicodebug.menu.freq.50.build.f_cpu=50000000L +challenger_2040_wifi_blepicodebug.menu.freq.100=100 MHz +challenger_2040_wifi_blepicodebug.menu.freq.100.build.f_cpu=100000000L +challenger_2040_wifi_blepicodebug.menu.freq.125=125 MHz +challenger_2040_wifi_blepicodebug.menu.freq.125.build.f_cpu=125000000L +challenger_2040_wifi_blepicodebug.menu.freq.150=150 MHz (Overclock) +challenger_2040_wifi_blepicodebug.menu.freq.150.build.f_cpu=150000000L +challenger_2040_wifi_blepicodebug.menu.freq.175=175 MHz (Overclock) +challenger_2040_wifi_blepicodebug.menu.freq.175.build.f_cpu=175000000L +challenger_2040_wifi_blepicodebug.menu.freq.200=200 MHz (Overclock) +challenger_2040_wifi_blepicodebug.menu.freq.200.build.f_cpu=200000000L +challenger_2040_wifi_blepicodebug.menu.freq.225=225 MHz (Overclock) +challenger_2040_wifi_blepicodebug.menu.freq.225.build.f_cpu=225000000L +challenger_2040_wifi_blepicodebug.menu.freq.250=250 MHz (Overclock) +challenger_2040_wifi_blepicodebug.menu.freq.250.build.f_cpu=250000000L +challenger_2040_wifi_blepicodebug.menu.freq.275=275 MHz (Overclock) +challenger_2040_wifi_blepicodebug.menu.freq.275.build.f_cpu=275000000L +challenger_2040_wifi_blepicodebug.menu.freq.300=300 MHz (Overclock) +challenger_2040_wifi_blepicodebug.menu.freq.300.build.f_cpu=300000000L +challenger_2040_wifi_blepicodebug.menu.opt.Small=Small (-Os) (standard) +challenger_2040_wifi_blepicodebug.menu.opt.Small.build.flags.optimize=-Os +challenger_2040_wifi_blepicodebug.menu.opt.Optimize=Optimize (-O) +challenger_2040_wifi_blepicodebug.menu.opt.Optimize.build.flags.optimize=-O +challenger_2040_wifi_blepicodebug.menu.opt.Optimize2=Optimize More (-O2) +challenger_2040_wifi_blepicodebug.menu.opt.Optimize2.build.flags.optimize=-O2 +challenger_2040_wifi_blepicodebug.menu.opt.Optimize3=Optimize Even More (-O3) +challenger_2040_wifi_blepicodebug.menu.opt.Optimize3.build.flags.optimize=-O3 +challenger_2040_wifi_blepicodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower) +challenger_2040_wifi_blepicodebug.menu.opt.Fast.build.flags.optimize=-Ofast +challenger_2040_wifi_blepicodebug.menu.opt.Debug=Debug (-Og) +challenger_2040_wifi_blepicodebug.menu.opt.Debug.build.flags.optimize=-Og +challenger_2040_wifi_blepicodebug.menu.rtti.Disabled=Disabled +challenger_2040_wifi_blepicodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti +challenger_2040_wifi_blepicodebug.menu.rtti.Enabled=Enabled +challenger_2040_wifi_blepicodebug.menu.rtti.Enabled.build.flags.rtti= +challenger_2040_wifi_blepicodebug.menu.dbgport.Disabled=Disabled +challenger_2040_wifi_blepicodebug.menu.dbgport.Disabled.build.debug_port= +challenger_2040_wifi_blepicodebug.menu.dbgport.Serial=Serial +challenger_2040_wifi_blepicodebug.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_wifi_blepicodebug.menu.dbgport.Serial1=Serial1 +challenger_2040_wifi_blepicodebug.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_wifi_blepicodebug.menu.dbgport.Serial2=Serial2 +challenger_2040_wifi_blepicodebug.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_wifi_blepicodebug.menu.dbglvl.None=None +challenger_2040_wifi_blepicodebug.menu.dbglvl.None.build.debug_level= +challenger_2040_wifi_blepicodebug.menu.dbglvl.Core=Core +challenger_2040_wifi_blepicodebug.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_wifi_blepicodebug.menu.dbglvl.SPI=SPI +challenger_2040_wifi_blepicodebug.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_wifi_blepicodebug.menu.dbglvl.Wire=Wire +challenger_2040_wifi_blepicodebug.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_wifi_blepicodebug.menu.dbglvl.All=All +challenger_2040_wifi_blepicodebug.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_wifi_blepicodebug.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_wifi_blepicodebug.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_wifi_blepicodebug.menu.usbstack.nousb=No USB +challenger_2040_wifi_blepicodebug.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico" + # ----------------------------------- # iLabs Challenger NB 2040 WiFi # ----------------------------------- diff --git a/tools/json/challenger_2040_wifi_ble.json b/tools/json/challenger_2040_wifi_ble.json new file mode 100644 index 00000000..b50f3c9b --- /dev/null +++ b/tools/json/challenger_2040_wifi_ble.json @@ -0,0 +1,52 @@ +{ + "build": { + "core": "earlephilhower", + "cpu": "cortex-m0plus", + "extra_flags": "-D ARDUINO_CHALLENGER_2040_WIFI_BLE_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=500", + "f_cpu": "133000000L", + "hwids": [ + [ + "0x2E8A", + "0x00C0" + ] + ], + "mcu": "rp2040", + "arduino": { + "earlephilhower": { + "variant": "challenger_2040_wifi_ble", + "boot2_source": "boot2_w25q080_2_padded_checksum.S", + "usb_vid": "0x2e8a", + "usb_pid": "0x1101", + "usb_manufacturer": "iLabs", + "usb_product": "Challenger 2040 WiFi/BLE" + } + } + }, + "debug": { + "jlink_device": "RP2040_M0_0", + "openocd_target": "rp2040.cfg", + "svd_path": "rp2040.svd" + }, + "frameworks": [ + "arduino" + ], + "name": "Challenger 2040 WiFi/BLE", + "upload": { + "maximum_ram_size": 270336, + "maximum_size": 8388608, + "require_upload_port": true, + "native_usb": true, + "use_1200bps_touch": true, + "wait_for_upload_port": false, + "protocol": "picotool", + "protocols": [ + "cmsis-dap", + "jlink", + "raspberrypi-swd", + "picotool", + "picoprobe" + ] + }, + "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", + "vendor": "iLabs" +} \ No newline at end of file diff --git a/tools/makeboards.py b/tools/makeboards.py index 8321800c..9ff42093 100755 --- a/tools/makeboards.py +++ b/tools/makeboards.py @@ -251,6 +251,7 @@ def MakeBoardJSON(name, vendor_name, product_name, vid, pid, pwr, boarddefine, f MakeBoard("challenger_2040_lora", "iLabs", "Challenger 2040 LoRa", "0x2e8a", "0x1023", 250, "CHALLENGER_2040_LORA_RP2040", 8, "boot2_w25q080_2_padded_checksum") MakeBoard("challenger_2040_wifi", "iLabs", "Challenger 2040 WiFi", "0x2e8a", "0x1006", 250, "CHALLENGER_2040_WIFI_RP2040", 8, "boot2_w25q080_2_padded_checksum") MakeBoard("challenger_2040_lte", "iLabs", "Challenger 2040 LTE", "0x2e8a", "0x100b", 500, "CHALLENGER_2040_LTE_RP2040", 8, "boot2_w25q080_2_padded_checksum") +MakeBoard("challenger_2040_wifi_ble", "iLabs", "Challenger 2040 WiFi/BLE", "0x2e8a", "0x1101", 500, "CHALLENGER_2040_WIFI_BLE_RP2040", 8, "boot2_w25q080_2_padded_checksum") MakeBoard("challenger_nb_2040_wifi", "iLabs", "Challenger NB 2040 WiFi", "0x2e8a", "0x100b", 500, "CHALLENGER_NB_2040_WIFI_RP2040", 8, "boot2_w25q080_2_padded_checksum") MakeBoard("ilabs_rpico32", "iLabs", "RPICO32", "0x2e8a", "0x1010", 250, "ILABS_2040_RPICO32_RP2040", 8, "boot2_w25q080_2_padded_checksum") diff --git a/variants/challenger_2040_wifi_ble/ChallengerWiFi.cpp b/variants/challenger_2040_wifi_ble/ChallengerWiFi.cpp new file mode 100644 index 00000000..26e6963b --- /dev/null +++ b/variants/challenger_2040_wifi_ble/ChallengerWiFi.cpp @@ -0,0 +1,107 @@ +/* + ESP32 helper class for the Challenger RP2040 WiFi boards + + Copyright (c) 2021 P. Oldberg + + 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 +#include + +Challenger2040WiFiClass::Challenger2040WiFiClass() { + pinMode(PIN_ESP32_RST, OUTPUT); + digitalWrite(PIN_ESP32_RST, LOW); // Hold ESP32 in reset + pinMode(PIN_ESP32_MODE, OUTPUT); + digitalWrite(PIN_ESP32_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_ESP32_RST, LOW); // Hold ESP32 in reset + delay(1); + digitalWrite(PIN_ESP32_RST, HIGH); // Release ESP32 reset +} + +// Set the mode flag high to indicate normal run operation and do a HW +// reset. +void Challenger2040WiFiClass::runReset() { // Prepare ESP32 for normal op + digitalWrite(PIN_ESP32_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 ESP32 for flashing + digitalWrite(PIN_ESP32_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_ESP32_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 ESP32 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 ESP32 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 ESP32 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; diff --git a/variants/challenger_2040_wifi_ble/ChallengerWiFi.h b/variants/challenger_2040_wifi_ble/ChallengerWiFi.h new file mode 100644 index 00000000..599c11bb --- /dev/null +++ b/variants/challenger_2040_wifi_ble/ChallengerWiFi.h @@ -0,0 +1,36 @@ +/* + ESP8285 helper class for the Challenger RP2040 WiFi boards + + Copyright (c) 2021 P. Oldberg + + 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_ESP32_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; diff --git a/variants/challenger_2040_wifi_ble/pins_arduino.h b/variants/challenger_2040_wifi_ble/pins_arduino.h new file mode 100644 index 00000000..df6817e5 --- /dev/null +++ b/variants/challenger_2040_wifi_ble/pins_arduino.h @@ -0,0 +1,81 @@ +#pragma once + +#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 (10u) + +// Board serial port (Uart0) +#define PIN_SERIAL1_TX (16u) +#define PIN_SERIAL1_RX (17u) + +// Uart connected to ESP32C3 (Uart1) +#define PIN_SERIAL2_TX (4u) +#define PIN_SERIAL2_RX (5u) +#define PIN_ESP32_RST (19u) +#define PIN_ESP32_MODE (24u) +#define ESP32_SERIAL 1 + +// SPI +#define PIN_SPI0_MISO (24u) +#define PIN_SPI0_MOSI (23u) +#define PIN_SPI0_SCK (22u) +#define PIN_SPI0_SS (21u) + +// SPI connected to ESP32C3 +#define PIN_SPI1_MISO (12u) +#define PIN_SPI1_MOSI (15u) +#define PIN_SPI1_SCK (14u) +#define PIN_SPI1_SS (13u) +// Handshake signal from ESP32C3 +#define ESP32_HS (18u) +#define ESP32_SPI 1 + +// 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 (2u) +#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 = (20u); +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 = (11u); +static const uint8_t D15 = (12u); +static const uint8_t D16 = (13u); +static const uint8_t D17 = (14u); +static const uint8_t D18 = (15u); +static const uint8_t D19 = (18u); +static const uint8_t D20 = (19u); +static const uint8_t D21 = (24u); + +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); From 19cd3084b8d10527b2f7e95288993b2be6c790be Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Tue, 24 May 2022 14:14:45 +0200 Subject: [PATCH 20/31] * Updated PID for WiFi/BLE board * Added abstraction pins for both versions of wifi modules * Added support for replacing support class serial port. * Added support for retrieving support class serial port. --- boards.txt | 14 +-- tools/json/challenger_2040_wifi_ble.json | 2 +- tools/makeboards.py | 2 +- .../challenger_2040_wifi/ChallengerWiFi.cpp | 95 ++++++++++++------- .../challenger_2040_wifi/ChallengerWiFi.h | 17 +++- variants/challenger_2040_wifi/pins_arduino.h | 7 ++ .../ChallengerWiFi.cpp | 95 ++++++++++++------- .../challenger_2040_wifi_ble/ChallengerWiFi.h | 15 ++- .../challenger_2040_wifi_ble/pins_arduino.h | 10 +- 9 files changed, 173 insertions(+), 84 deletions(-) diff --git a/boards.txt b/boards.txt index 600ddc5e..165bcaae 100644 --- a/boards.txt +++ b/boards.txt @@ -7449,8 +7449,8 @@ challenger_2040_ltepicodebug.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB # ----------------------------------- challenger_2040_wifi_ble.name=iLabs Challenger 2040 WiFi/BLE challenger_2040_wifi_ble.vid.0=0x2e8a -challenger_2040_wifi_ble.pid.0=0x1101 -challenger_2040_wifi_ble.build.usbpid=-DSERIALUSB_PID=0x1101 +challenger_2040_wifi_ble.pid.0=0x102C +challenger_2040_wifi_ble.build.usbpid=-DSERIALUSB_PID=0x102C challenger_2040_wifi_ble.build.usbpwr=-DUSBD_MAX_POWER_MA=500 challenger_2040_wifi_ble.build.board=CHALLENGER_2040_WIFI_BLE_RP2040 challenger_2040_wifi_ble.build.mcu=cortex-m0plus @@ -7469,7 +7469,7 @@ challenger_2040_wifi_ble.build.ldscript=memmap_default.ld challenger_2040_wifi_ble.build.ram_length=256k challenger_2040_wifi_ble.build.boot2=boot2_w25q080_2_padded_checksum challenger_2040_wifi_ble.build.vid=0x2e8a -challenger_2040_wifi_ble.build.pid=0x1101 +challenger_2040_wifi_ble.build.pid=0x102C challenger_2040_wifi_ble.build.usb_manufacturer="iLabs" challenger_2040_wifi_ble.build.usb_product="Challenger 2040 WiFi/BLE" challenger_2040_wifi_ble.menu.flash.8388608_0=8MB (no FS) @@ -7613,7 +7613,7 @@ challenger_2040_wifi_ble.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUS challenger_2040_wifi_blepicoprobe.name=iLabs Challenger 2040 WiFi/BLE (Picoprobe) challenger_2040_wifi_blepicoprobe.vid.0=0x2e8a challenger_2040_wifi_blepicoprobe.pid.0=0x0004 -challenger_2040_wifi_blepicoprobe.build.usbpid=-DSERIALUSB_PID=0x1101 +challenger_2040_wifi_blepicoprobe.build.usbpid=-DSERIALUSB_PID=0x102C challenger_2040_wifi_blepicoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=500 challenger_2040_wifi_blepicoprobe.build.board=CHALLENGER_2040_WIFI_BLE_RP2040 challenger_2040_wifi_blepicoprobe.build.mcu=cortex-m0plus @@ -7632,7 +7632,7 @@ challenger_2040_wifi_blepicoprobe.build.ldscript=memmap_default.ld challenger_2040_wifi_blepicoprobe.build.ram_length=256k challenger_2040_wifi_blepicoprobe.build.boot2=boot2_w25q080_2_padded_checksum challenger_2040_wifi_blepicoprobe.build.vid=0x2e8a -challenger_2040_wifi_blepicoprobe.build.pid=0x1101 +challenger_2040_wifi_blepicoprobe.build.pid=0x102C challenger_2040_wifi_blepicoprobe.build.usb_manufacturer="iLabs" challenger_2040_wifi_blepicoprobe.build.usb_product="Challenger 2040 WiFi/BLE (Picoprobe)" challenger_2040_wifi_blepicoprobe.menu.flash.8388608_0=8MB (no FS) @@ -7776,7 +7776,7 @@ challenger_2040_wifi_blepicoprobe.menu.usbstack.tinyusb.build.usbstack_flags=-DU challenger_2040_wifi_blepicodebug.name=iLabs Challenger 2040 WiFi/BLE (pico-debug) challenger_2040_wifi_blepicodebug.vid.0=0x1209 challenger_2040_wifi_blepicodebug.pid.0=0x2488 -challenger_2040_wifi_blepicodebug.build.usbpid=-DSERIALUSB_PID=0x1101 +challenger_2040_wifi_blepicodebug.build.usbpid=-DSERIALUSB_PID=0x102C challenger_2040_wifi_blepicodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=500 challenger_2040_wifi_blepicodebug.build.board=CHALLENGER_2040_WIFI_BLE_RP2040 challenger_2040_wifi_blepicodebug.build.mcu=cortex-m0plus @@ -7795,7 +7795,7 @@ challenger_2040_wifi_blepicodebug.build.ldscript=memmap_default.ld challenger_2040_wifi_blepicodebug.build.ram_length=240k challenger_2040_wifi_blepicodebug.build.boot2=boot2_w25q080_2_padded_checksum challenger_2040_wifi_blepicodebug.build.vid=0x2e8a -challenger_2040_wifi_blepicodebug.build.pid=0x1101 +challenger_2040_wifi_blepicodebug.build.pid=0x102C challenger_2040_wifi_blepicodebug.build.usb_manufacturer="iLabs" challenger_2040_wifi_blepicodebug.build.usb_product="Challenger 2040 WiFi/BLE (pico-debug)" challenger_2040_wifi_blepicodebug.menu.flash.8388608_0=8MB (no FS) diff --git a/tools/json/challenger_2040_wifi_ble.json b/tools/json/challenger_2040_wifi_ble.json index b50f3c9b..b7f1783b 100644 --- a/tools/json/challenger_2040_wifi_ble.json +++ b/tools/json/challenger_2040_wifi_ble.json @@ -16,7 +16,7 @@ "variant": "challenger_2040_wifi_ble", "boot2_source": "boot2_w25q080_2_padded_checksum.S", "usb_vid": "0x2e8a", - "usb_pid": "0x1101", + "usb_pid": "0x102C", "usb_manufacturer": "iLabs", "usb_product": "Challenger 2040 WiFi/BLE" } diff --git a/tools/makeboards.py b/tools/makeboards.py index 9ff42093..d1427963 100755 --- a/tools/makeboards.py +++ b/tools/makeboards.py @@ -251,7 +251,7 @@ def MakeBoardJSON(name, vendor_name, product_name, vid, pid, pwr, boarddefine, f MakeBoard("challenger_2040_lora", "iLabs", "Challenger 2040 LoRa", "0x2e8a", "0x1023", 250, "CHALLENGER_2040_LORA_RP2040", 8, "boot2_w25q080_2_padded_checksum") MakeBoard("challenger_2040_wifi", "iLabs", "Challenger 2040 WiFi", "0x2e8a", "0x1006", 250, "CHALLENGER_2040_WIFI_RP2040", 8, "boot2_w25q080_2_padded_checksum") MakeBoard("challenger_2040_lte", "iLabs", "Challenger 2040 LTE", "0x2e8a", "0x100b", 500, "CHALLENGER_2040_LTE_RP2040", 8, "boot2_w25q080_2_padded_checksum") -MakeBoard("challenger_2040_wifi_ble", "iLabs", "Challenger 2040 WiFi/BLE", "0x2e8a", "0x1101", 500, "CHALLENGER_2040_WIFI_BLE_RP2040", 8, "boot2_w25q080_2_padded_checksum") +MakeBoard("challenger_2040_wifi_ble", "iLabs", "Challenger 2040 WiFi/BLE", "0x2e8a", "0x102C", 500, "CHALLENGER_2040_WIFI_BLE_RP2040", 8, "boot2_w25q080_2_padded_checksum") MakeBoard("challenger_nb_2040_wifi", "iLabs", "Challenger NB 2040 WiFi", "0x2e8a", "0x100b", 500, "CHALLENGER_NB_2040_WIFI_RP2040", 8, "boot2_w25q080_2_padded_checksum") MakeBoard("ilabs_rpico32", "iLabs", "RPICO32", "0x2e8a", "0x1010", 250, "ILABS_2040_RPICO32_RP2040", 8, "boot2_w25q080_2_padded_checksum") diff --git a/variants/challenger_2040_wifi/ChallengerWiFi.cpp b/variants/challenger_2040_wifi/ChallengerWiFi.cpp index 4fa1a6b4..847b8f61 100644 --- a/variants/challenger_2040_wifi/ChallengerWiFi.cpp +++ b/variants/challenger_2040_wifi/ChallengerWiFi.cpp @@ -1,7 +1,7 @@ /* - ESP8285 helper class for the Challenger RP2040 WiFi boards + ESP8285/ESP32C3 helper class for the Challenger RP2040 WiFi enabled boards - Copyright (c) 2021 P. Oldberg + Copyright (c) 2021,2022 P. Oldberg This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -21,31 +21,33 @@ #include #include -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 +Challenger2040WiFiClass::Challenger2040WiFiClass(HardwareSerial* serial) { + _serial = serial; + + pinMode(PIN_ESP_RST, OUTPUT); + digitalWrite(PIN_ESP_RST, LOW); // Hold ESP 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 Challenger2040WiFiClass::doHWReset() { - digitalWrite(PIN_ESP8285_RST, LOW); // Hold ESP8285 in reset + digitalWrite(PIN_ESP_RST, LOW); // Hold ESP in reset delay(1); - digitalWrite(PIN_ESP8285_RST, HIGH); // Release ESP8285 reset + digitalWrite(PIN_ESP_RST, HIGH); // Release ESP 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 +void Challenger2040WiFiClass::runReset() { // Prepare ESP 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 Challenger2040WiFiClass::flashReset() { // Prepare ESP8285 for flashing - digitalWrite(PIN_ESP8285_MODE, LOW); // Prepare for normal start +void Challenger2040WiFiClass::flashReset() { // Prepare ESP for flashing + digitalWrite(PIN_ESP_MODE, LOW); // Prepare for normal start doHWReset(); } @@ -55,53 +57,82 @@ void Challenger2040WiFiClass::flashReset() { // Prepare ESP8285 for flashing bool Challenger2040WiFiClass::waitForReady() { int timeout = 20; // Aprox max 2 sec - Serial2.begin(DEFAULT_ESP8285_BAUDRATE); - Serial2.setTimeout(100); - String rdy = Serial2.readStringUntil('\n'); + _serial->setTimeout(100); + String rdy = _serial->readStringUntil('\n'); while(!rdy.startsWith("ready") && timeout--) { - rdy = Serial2.readStringUntil('\n'); + rdy = _serial->readStringUntil('\n'); } - Serial2.setTimeout(1000); // Reset default timeout to 1000 + _serial->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. +// Reset the ESP and wait for the "ready" prompt to be returned. bool Challenger2040WiFiClass::reset() { runReset(); + _serial->begin(DEFAULT_ESP_BAUDRATE); return waitForReady(); } // Checks to see if the modem responds to the "AT" poll command. bool Challenger2040WiFiClass::isAlive() { - int timeout = 5; + int timeout = 100; - Serial2.setTimeout(250); - Serial2.println(F("AT")); - String rdy = Serial2.readStringUntil('\n'); + _serial->setTimeout(250); + _serial->println(F("AT")); + String rdy = _serial->readStringUntil('\n'); while(!rdy.startsWith(F("OK")) && timeout--) { - rdy = Serial2.readStringUntil('\n'); + _serial->println(F("AT")); + rdy = _serial->readStringUntil('\n'); } - Serial2.setTimeout(1000); + _serial->setTimeout(1000); if (timeout) return true; return false; } -// Change the baud rate of the ESP8285 as well as the local UART. +// Change the baud rate of the ESP device 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 +// baud rates are valid. The function ends by checking if the ESP 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")); + _serial->print(F("AT+UART_CUR=")); + _serial->print(baud); + _serial->println(F(",8,1,0,0")); delay(100); - Serial2.end(); - Serial2.begin(baud); + _serial->end(); + _serial->begin(baud); return isAlive(); } +// This method should be called id the builtin object isn't needed any more +// It basically just releases the UART pins for other use. +void Challenger2040WiFiClass::release() { + _serial->end(); +} + +// We can assign a new hardware serial port to accomodate the ESP device here. +// The function will release the previously used serial port and assign the +// new port. The ESP will be left in a reset state ready to start normal +// operation when exiting the function. +// This function is usefull for when using the PIO serial ports to communicate +// with the ESP instead of the built in hardware serial port. +void Challenger2040WiFiClass::setSerial(HardwareSerial* serial) { + + release(); + _serial = serial; + + pinMode(PIN_ESP_RST, OUTPUT); + digitalWrite(PIN_ESP_RST, LOW); // Hold ESP in reset + pinMode(PIN_ESP_MODE, OUTPUT); + digitalWrite(PIN_ESP_MODE, HIGH); // Prepare for normal start +} + +// Return the current serial object +HardwareSerial* Challenger2040WiFiClass::getSerial() { + return _serial; +} + Challenger2040WiFiClass Challenger2040WiFi; diff --git a/variants/challenger_2040_wifi/ChallengerWiFi.h b/variants/challenger_2040_wifi/ChallengerWiFi.h index f87c199e..f008b7f7 100644 --- a/variants/challenger_2040_wifi/ChallengerWiFi.h +++ b/variants/challenger_2040_wifi/ChallengerWiFi.h @@ -1,7 +1,7 @@ /* - ESP8285 helper class for the Challenger RP2040 WiFi boards + ESP8285/ESP32C3 helper class for the Challenger RP2040 WiFi enabled boards - Copyright (c) 2021 P. Oldberg + Copyright (c) 2021,2022 P. Oldberg This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -17,20 +17,27 @@ 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 +#define DEFAULT_ESP32_BAUDRATE 115200 +#define DEFAULT_ESP_BAUDRATE DEFAULT_ESP32_BAUDRATE class Challenger2040WiFiClass { public: - Challenger2040WiFiClass(); + Challenger2040WiFiClass(HardwareSerial* = &ESP_SERIAL_PORT); void doHWReset(); void runReset(); void flashReset(); bool waitForReady(); bool reset(); bool isAlive(); - bool changeBaudRate(int baud); + bool changeBaudRate(int); + void release(); + void setSerial(HardwareSerial*); + HardwareSerial* getSerial(); + private: + HardwareSerial* _serial; }; extern Challenger2040WiFiClass Challenger2040WiFi; diff --git a/variants/challenger_2040_wifi/pins_arduino.h b/variants/challenger_2040_wifi/pins_arduino.h index c660c6f5..d04f2d60 100644 --- a/variants/challenger_2040_wifi/pins_arduino.h +++ b/variants/challenger_2040_wifi/pins_arduino.h @@ -18,6 +18,13 @@ #define PIN_SERIAL2_RX (5u) #define PIN_ESP8285_RST (19u) #define PIN_ESP8285_MODE (13u) +#define ESP8285_SERIAL Serial2 +// Uart define esp serial abstraction pins +#define PIN_ESP_TX PIN_SERIAL2_TX +#define PIN_ESP_RX PIN_SERIAL2_RX +#define PIN_ESP_RST PIN_ESP8285_RST +#define PIN_ESP_MODE PIN_ESP8285_MODE +#define ESP_SERIAL_PORT ESP8285_SERIAL // SPI #define PIN_SPI0_MISO (24u) diff --git a/variants/challenger_2040_wifi_ble/ChallengerWiFi.cpp b/variants/challenger_2040_wifi_ble/ChallengerWiFi.cpp index 26e6963b..847b8f61 100644 --- a/variants/challenger_2040_wifi_ble/ChallengerWiFi.cpp +++ b/variants/challenger_2040_wifi_ble/ChallengerWiFi.cpp @@ -1,7 +1,7 @@ /* - ESP32 helper class for the Challenger RP2040 WiFi boards + ESP8285/ESP32C3 helper class for the Challenger RP2040 WiFi enabled boards - Copyright (c) 2021 P. Oldberg + Copyright (c) 2021,2022 P. Oldberg This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -21,31 +21,33 @@ #include #include -Challenger2040WiFiClass::Challenger2040WiFiClass() { - pinMode(PIN_ESP32_RST, OUTPUT); - digitalWrite(PIN_ESP32_RST, LOW); // Hold ESP32 in reset - pinMode(PIN_ESP32_MODE, OUTPUT); - digitalWrite(PIN_ESP32_MODE, HIGH); // Prepare for normal start +Challenger2040WiFiClass::Challenger2040WiFiClass(HardwareSerial* serial) { + _serial = serial; + + pinMode(PIN_ESP_RST, OUTPUT); + digitalWrite(PIN_ESP_RST, LOW); // Hold ESP 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 Challenger2040WiFiClass::doHWReset() { - digitalWrite(PIN_ESP32_RST, LOW); // Hold ESP32 in reset + digitalWrite(PIN_ESP_RST, LOW); // Hold ESP in reset delay(1); - digitalWrite(PIN_ESP32_RST, HIGH); // Release ESP32 reset + digitalWrite(PIN_ESP_RST, HIGH); // Release ESP reset } // Set the mode flag high to indicate normal run operation and do a HW // reset. -void Challenger2040WiFiClass::runReset() { // Prepare ESP32 for normal op - digitalWrite(PIN_ESP32_MODE, HIGH); // Prepare for normal start +void Challenger2040WiFiClass::runReset() { // Prepare ESP 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 Challenger2040WiFiClass::flashReset() { // Prepare ESP32 for flashing - digitalWrite(PIN_ESP32_MODE, LOW); // Prepare for normal start +void Challenger2040WiFiClass::flashReset() { // Prepare ESP for flashing + digitalWrite(PIN_ESP_MODE, LOW); // Prepare for normal start doHWReset(); } @@ -55,53 +57,82 @@ void Challenger2040WiFiClass::flashReset() { // Prepare ESP32 for flashing bool Challenger2040WiFiClass::waitForReady() { int timeout = 20; // Aprox max 2 sec - Serial2.begin(DEFAULT_ESP32_BAUDRATE); - Serial2.setTimeout(100); - String rdy = Serial2.readStringUntil('\n'); + _serial->setTimeout(100); + String rdy = _serial->readStringUntil('\n'); while(!rdy.startsWith("ready") && timeout--) { - rdy = Serial2.readStringUntil('\n'); + rdy = _serial->readStringUntil('\n'); } - Serial2.setTimeout(1000); // Reset default timeout to 1000 + _serial->setTimeout(1000); // Reset default timeout to 1000 if (timeout) return true; return false; } -// Reset the ESP32 and wait for the "ready" prompt to be returned. +// Reset the ESP and wait for the "ready" prompt to be returned. bool Challenger2040WiFiClass::reset() { runReset(); + _serial->begin(DEFAULT_ESP_BAUDRATE); return waitForReady(); } // Checks to see if the modem responds to the "AT" poll command. bool Challenger2040WiFiClass::isAlive() { - int timeout = 5; + int timeout = 100; - Serial2.setTimeout(250); - Serial2.println(F("AT")); - String rdy = Serial2.readStringUntil('\n'); + _serial->setTimeout(250); + _serial->println(F("AT")); + String rdy = _serial->readStringUntil('\n'); while(!rdy.startsWith(F("OK")) && timeout--) { - rdy = Serial2.readStringUntil('\n'); + _serial->println(F("AT")); + rdy = _serial->readStringUntil('\n'); } - Serial2.setTimeout(1000); + _serial->setTimeout(1000); if (timeout) return true; return false; } -// Change the baud rate of the ESP32 as well as the local UART. +// Change the baud rate of the ESP device 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 ESP32 is +// baud rates are valid. The function ends by checking if the ESP 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")); + _serial->print(F("AT+UART_CUR=")); + _serial->print(baud); + _serial->println(F(",8,1,0,0")); delay(100); - Serial2.end(); - Serial2.begin(baud); + _serial->end(); + _serial->begin(baud); return isAlive(); } +// This method should be called id the builtin object isn't needed any more +// It basically just releases the UART pins for other use. +void Challenger2040WiFiClass::release() { + _serial->end(); +} + +// We can assign a new hardware serial port to accomodate the ESP device here. +// The function will release the previously used serial port and assign the +// new port. The ESP will be left in a reset state ready to start normal +// operation when exiting the function. +// This function is usefull for when using the PIO serial ports to communicate +// with the ESP instead of the built in hardware serial port. +void Challenger2040WiFiClass::setSerial(HardwareSerial* serial) { + + release(); + _serial = serial; + + pinMode(PIN_ESP_RST, OUTPUT); + digitalWrite(PIN_ESP_RST, LOW); // Hold ESP in reset + pinMode(PIN_ESP_MODE, OUTPUT); + digitalWrite(PIN_ESP_MODE, HIGH); // Prepare for normal start +} + +// Return the current serial object +HardwareSerial* Challenger2040WiFiClass::getSerial() { + return _serial; +} + Challenger2040WiFiClass Challenger2040WiFi; diff --git a/variants/challenger_2040_wifi_ble/ChallengerWiFi.h b/variants/challenger_2040_wifi_ble/ChallengerWiFi.h index 599c11bb..f008b7f7 100644 --- a/variants/challenger_2040_wifi_ble/ChallengerWiFi.h +++ b/variants/challenger_2040_wifi_ble/ChallengerWiFi.h @@ -1,7 +1,7 @@ /* - ESP8285 helper class for the Challenger RP2040 WiFi boards + ESP8285/ESP32C3 helper class for the Challenger RP2040 WiFi enabled boards - Copyright (c) 2021 P. Oldberg + Copyright (c) 2021,2022 P. Oldberg This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -17,20 +17,27 @@ 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_ESP32_BAUDRATE 115200 +#define DEFAULT_ESP_BAUDRATE DEFAULT_ESP32_BAUDRATE class Challenger2040WiFiClass { public: - Challenger2040WiFiClass(); + Challenger2040WiFiClass(HardwareSerial* = &ESP_SERIAL_PORT); void doHWReset(); void runReset(); void flashReset(); bool waitForReady(); bool reset(); bool isAlive(); - bool changeBaudRate(int baud); + bool changeBaudRate(int); + void release(); + void setSerial(HardwareSerial*); + HardwareSerial* getSerial(); + private: + HardwareSerial* _serial; }; extern Challenger2040WiFiClass Challenger2040WiFi; diff --git a/variants/challenger_2040_wifi_ble/pins_arduino.h b/variants/challenger_2040_wifi_ble/pins_arduino.h index df6817e5..a8977d05 100644 --- a/variants/challenger_2040_wifi_ble/pins_arduino.h +++ b/variants/challenger_2040_wifi_ble/pins_arduino.h @@ -18,7 +18,13 @@ #define PIN_SERIAL2_RX (5u) #define PIN_ESP32_RST (19u) #define PIN_ESP32_MODE (24u) -#define ESP32_SERIAL 1 +#define ESP32_SERIAL Serial2 +// Uart define esp serial abstraction pins +#define PIN_ESP_TX PIN_SERIAL2_TX +#define PIN_ESP_RX PIN_SERIAL2_RX +#define PIN_ESP_RST PIN_ESP32_RST +#define PIN_ESP_MODE PIN_ESP32_MODE +#define ESP_SERIAL_PORT ESP32_SERIAL // SPI #define PIN_SPI0_MISO (24u) @@ -33,7 +39,7 @@ #define PIN_SPI1_SS (13u) // Handshake signal from ESP32C3 #define ESP32_HS (18u) -#define ESP32_SPI 1 +#define ESP32_SPI SPI1 // Wire #define PIN_WIRE0_SDA (0u) From 83493cc46f094f1f66eaba11c6f287ca5ee94959 Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Tue, 24 May 2022 14:33:00 +0200 Subject: [PATCH 21/31] Fixed spelling errors. --- variants/challenger_2040_wifi/ChallengerWiFi.cpp | 4 ++-- variants/challenger_2040_wifi_ble/ChallengerWiFi.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/variants/challenger_2040_wifi/ChallengerWiFi.cpp b/variants/challenger_2040_wifi/ChallengerWiFi.cpp index 847b8f61..0ac6737d 100644 --- a/variants/challenger_2040_wifi/ChallengerWiFi.cpp +++ b/variants/challenger_2040_wifi/ChallengerWiFi.cpp @@ -113,11 +113,11 @@ void Challenger2040WiFiClass::release() { _serial->end(); } -// We can assign a new hardware serial port to accomodate the ESP device here. +// We can assign a new hardware serial port to accommodate the ESP device here. // The function will release the previously used serial port and assign the // new port. The ESP will be left in a reset state ready to start normal // operation when exiting the function. -// This function is usefull for when using the PIO serial ports to communicate +// This function is useful for when using the PIO serial ports to communicate // with the ESP instead of the built in hardware serial port. void Challenger2040WiFiClass::setSerial(HardwareSerial* serial) { diff --git a/variants/challenger_2040_wifi_ble/ChallengerWiFi.cpp b/variants/challenger_2040_wifi_ble/ChallengerWiFi.cpp index 847b8f61..0ac6737d 100644 --- a/variants/challenger_2040_wifi_ble/ChallengerWiFi.cpp +++ b/variants/challenger_2040_wifi_ble/ChallengerWiFi.cpp @@ -113,11 +113,11 @@ void Challenger2040WiFiClass::release() { _serial->end(); } -// We can assign a new hardware serial port to accomodate the ESP device here. +// We can assign a new hardware serial port to accommodate the ESP device here. // The function will release the previously used serial port and assign the // new port. The ESP will be left in a reset state ready to start normal // operation when exiting the function. -// This function is usefull for when using the PIO serial ports to communicate +// This function is useful for when using the PIO serial ports to communicate // with the ESP instead of the built in hardware serial port. void Challenger2040WiFiClass::setSerial(HardwareSerial* serial) { From ea14e61883397e31d07297e53468308722b833e6 Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Wed, 15 Jun 2022 09:48:06 +0200 Subject: [PATCH 22/31] Updated helper class for Challenger NB board. --- .../challenger_2040_wifi/ChallengerWiFi.h | 4 +- .../ChallengerWiFi.cpp | 95 ++++++++++++------- .../challenger_nb_2040_wifi/ChallengerWiFi.h | 17 +++- .../challenger_nb_2040_wifi/pins_arduino.h | 9 +- 4 files changed, 84 insertions(+), 41 deletions(-) diff --git a/variants/challenger_2040_wifi/ChallengerWiFi.h b/variants/challenger_2040_wifi/ChallengerWiFi.h index f008b7f7..0a38c49d 100644 --- a/variants/challenger_2040_wifi/ChallengerWiFi.h +++ b/variants/challenger_2040_wifi/ChallengerWiFi.h @@ -20,8 +20,8 @@ #pragma once -#define DEFAULT_ESP32_BAUDRATE 115200 -#define DEFAULT_ESP_BAUDRATE DEFAULT_ESP32_BAUDRATE +#define DEFAULT_ESP8285_BAUDRATE 115200 +#define DEFAULT_ESP_BAUDRATE DEFAULT_ESP8285_BAUDRATE class Challenger2040WiFiClass { public: diff --git a/variants/challenger_nb_2040_wifi/ChallengerWiFi.cpp b/variants/challenger_nb_2040_wifi/ChallengerWiFi.cpp index 4fa1a6b4..0ac6737d 100644 --- a/variants/challenger_nb_2040_wifi/ChallengerWiFi.cpp +++ b/variants/challenger_nb_2040_wifi/ChallengerWiFi.cpp @@ -1,7 +1,7 @@ /* - ESP8285 helper class for the Challenger RP2040 WiFi boards + ESP8285/ESP32C3 helper class for the Challenger RP2040 WiFi enabled boards - Copyright (c) 2021 P. Oldberg + Copyright (c) 2021,2022 P. Oldberg This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -21,31 +21,33 @@ #include #include -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 +Challenger2040WiFiClass::Challenger2040WiFiClass(HardwareSerial* serial) { + _serial = serial; + + pinMode(PIN_ESP_RST, OUTPUT); + digitalWrite(PIN_ESP_RST, LOW); // Hold ESP 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 Challenger2040WiFiClass::doHWReset() { - digitalWrite(PIN_ESP8285_RST, LOW); // Hold ESP8285 in reset + digitalWrite(PIN_ESP_RST, LOW); // Hold ESP in reset delay(1); - digitalWrite(PIN_ESP8285_RST, HIGH); // Release ESP8285 reset + digitalWrite(PIN_ESP_RST, HIGH); // Release ESP 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 +void Challenger2040WiFiClass::runReset() { // Prepare ESP 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 Challenger2040WiFiClass::flashReset() { // Prepare ESP8285 for flashing - digitalWrite(PIN_ESP8285_MODE, LOW); // Prepare for normal start +void Challenger2040WiFiClass::flashReset() { // Prepare ESP for flashing + digitalWrite(PIN_ESP_MODE, LOW); // Prepare for normal start doHWReset(); } @@ -55,53 +57,82 @@ void Challenger2040WiFiClass::flashReset() { // Prepare ESP8285 for flashing bool Challenger2040WiFiClass::waitForReady() { int timeout = 20; // Aprox max 2 sec - Serial2.begin(DEFAULT_ESP8285_BAUDRATE); - Serial2.setTimeout(100); - String rdy = Serial2.readStringUntil('\n'); + _serial->setTimeout(100); + String rdy = _serial->readStringUntil('\n'); while(!rdy.startsWith("ready") && timeout--) { - rdy = Serial2.readStringUntil('\n'); + rdy = _serial->readStringUntil('\n'); } - Serial2.setTimeout(1000); // Reset default timeout to 1000 + _serial->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. +// Reset the ESP and wait for the "ready" prompt to be returned. bool Challenger2040WiFiClass::reset() { runReset(); + _serial->begin(DEFAULT_ESP_BAUDRATE); return waitForReady(); } // Checks to see if the modem responds to the "AT" poll command. bool Challenger2040WiFiClass::isAlive() { - int timeout = 5; + int timeout = 100; - Serial2.setTimeout(250); - Serial2.println(F("AT")); - String rdy = Serial2.readStringUntil('\n'); + _serial->setTimeout(250); + _serial->println(F("AT")); + String rdy = _serial->readStringUntil('\n'); while(!rdy.startsWith(F("OK")) && timeout--) { - rdy = Serial2.readStringUntil('\n'); + _serial->println(F("AT")); + rdy = _serial->readStringUntil('\n'); } - Serial2.setTimeout(1000); + _serial->setTimeout(1000); if (timeout) return true; return false; } -// Change the baud rate of the ESP8285 as well as the local UART. +// Change the baud rate of the ESP device 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 +// baud rates are valid. The function ends by checking if the ESP 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")); + _serial->print(F("AT+UART_CUR=")); + _serial->print(baud); + _serial->println(F(",8,1,0,0")); delay(100); - Serial2.end(); - Serial2.begin(baud); + _serial->end(); + _serial->begin(baud); return isAlive(); } +// This method should be called id the builtin object isn't needed any more +// It basically just releases the UART pins for other use. +void Challenger2040WiFiClass::release() { + _serial->end(); +} + +// We can assign a new hardware serial port to accommodate the ESP device here. +// The function will release the previously used serial port and assign the +// new port. The ESP will be left in a reset state ready to start normal +// operation when exiting the function. +// This function is useful for when using the PIO serial ports to communicate +// with the ESP instead of the built in hardware serial port. +void Challenger2040WiFiClass::setSerial(HardwareSerial* serial) { + + release(); + _serial = serial; + + pinMode(PIN_ESP_RST, OUTPUT); + digitalWrite(PIN_ESP_RST, LOW); // Hold ESP in reset + pinMode(PIN_ESP_MODE, OUTPUT); + digitalWrite(PIN_ESP_MODE, HIGH); // Prepare for normal start +} + +// Return the current serial object +HardwareSerial* Challenger2040WiFiClass::getSerial() { + return _serial; +} + Challenger2040WiFiClass Challenger2040WiFi; diff --git a/variants/challenger_nb_2040_wifi/ChallengerWiFi.h b/variants/challenger_nb_2040_wifi/ChallengerWiFi.h index f87c199e..0a38c49d 100644 --- a/variants/challenger_nb_2040_wifi/ChallengerWiFi.h +++ b/variants/challenger_nb_2040_wifi/ChallengerWiFi.h @@ -1,7 +1,7 @@ /* - ESP8285 helper class for the Challenger RP2040 WiFi boards + ESP8285/ESP32C3 helper class for the Challenger RP2040 WiFi enabled boards - Copyright (c) 2021 P. Oldberg + Copyright (c) 2021,2022 P. Oldberg This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -17,20 +17,27 @@ 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 +#define DEFAULT_ESP8285_BAUDRATE 115200 +#define DEFAULT_ESP_BAUDRATE DEFAULT_ESP8285_BAUDRATE class Challenger2040WiFiClass { public: - Challenger2040WiFiClass(); + Challenger2040WiFiClass(HardwareSerial* = &ESP_SERIAL_PORT); void doHWReset(); void runReset(); void flashReset(); bool waitForReady(); bool reset(); bool isAlive(); - bool changeBaudRate(int baud); + bool changeBaudRate(int); + void release(); + void setSerial(HardwareSerial*); + HardwareSerial* getSerial(); + private: + HardwareSerial* _serial; }; extern Challenger2040WiFiClass Challenger2040WiFi; diff --git a/variants/challenger_nb_2040_wifi/pins_arduino.h b/variants/challenger_nb_2040_wifi/pins_arduino.h index 8fc9ae1c..2eed41fc 100644 --- a/variants/challenger_nb_2040_wifi/pins_arduino.h +++ b/variants/challenger_nb_2040_wifi/pins_arduino.h @@ -1,7 +1,5 @@ #pragma once -#include - #define PINS_COUNT (24u) #define NUM_DIGITAL_PINS (24u) #define NUM_ANALOG_INPUTS (4u) @@ -20,6 +18,13 @@ #define PIN_SERIAL2_RX (5u) #define PIN_ESP8285_RST (19u) #define PIN_ESP8285_MODE (13u) +#define ESP8285_SERIAL Serial2 +// Uart define esp serial abstraction pins +#define PIN_ESP_TX PIN_SERIAL2_TX +#define PIN_ESP_RX PIN_SERIAL2_RX +#define PIN_ESP_RST PIN_ESP8285_RST +#define PIN_ESP_MODE PIN_ESP8285_MODE +#define ESP_SERIAL_PORT ESP8285_SERIAL // SPI #define PIN_SPI0_MISO (24u) From e9c8cc4a8dbb051f0ab80b71fa24cd2bada48b61 Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Wed, 29 Jun 2022 19:16:01 +0200 Subject: [PATCH 23/31] Added Challenger sdrtc and subghz boards. --- boards.txt | 1058 +++++++++++++++++ tools/json/challenger_2040_sdrtc.json | 50 + tools/json/challenger_2040_subghz.json | 50 + tools/makeboards.py | 2 + variants/challenger_2040_sdrtc/pins_arduino.h | 73 ++ .../challenger_2040_subghz/pins_arduino.h | 75 ++ 6 files changed, 1308 insertions(+) create mode 100644 tools/json/challenger_2040_sdrtc.json create mode 100644 tools/json/challenger_2040_subghz.json create mode 100644 variants/challenger_2040_sdrtc/pins_arduino.h create mode 100644 variants/challenger_2040_subghz/pins_arduino.h diff --git a/boards.txt b/boards.txt index 9e7150dd..ff4eb779 100644 --- a/boards.txt +++ b/boards.txt @@ -7060,6 +7060,535 @@ challenger_2040_lorapicodebug.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG challenger_2040_lorapicodebug.menu.usbstack.nousb=No USB challenger_2040_lorapicodebug.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico" +# ----------------------------------- +# iLabs Challenger 2040 SubGHz +# ----------------------------------- +challenger_2040_subghz.name=iLabs Challenger 2040 SubGHz +challenger_2040_subghz.vid.0=0x2e8a +challenger_2040_subghz.pid.0=0x1032 +challenger_2040_subghz.build.usbpid=-DSERIALUSB_PID=0x1032 +challenger_2040_subghz.build.usbpwr=-DUSBD_MAX_POWER_MA=250 +challenger_2040_subghz.build.board=CHALLENGER_2040_SUBGHZ_RP2040 +challenger_2040_subghz.build.mcu=cortex-m0plus +challenger_2040_subghz.build.variant=challenger_2040_subghz +challenger_2040_subghz.upload.tool=uf2conv +challenger_2040_subghz.upload.maximum_size=8388608 +challenger_2040_subghz.upload.maximum_data_size=262144 +challenger_2040_subghz.upload.wait_for_upload_port=true +challenger_2040_subghz.upload.erase_cmd= +challenger_2040_subghz.serial.disableDTR=false +challenger_2040_subghz.serial.disableRTS=false +challenger_2040_subghz.build.f_cpu=125000000 +challenger_2040_subghz.build.led= +challenger_2040_subghz.build.core=rp2040 +challenger_2040_subghz.build.ldscript=memmap_default.ld +challenger_2040_subghz.build.ram_length=256k +challenger_2040_subghz.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_subghz.build.vid=0x2e8a +challenger_2040_subghz.build.pid=0x1032 +challenger_2040_subghz.build.usb_manufacturer="iLabs" +challenger_2040_subghz.build.usb_product="Challenger 2040 SubGHz" +challenger_2040_subghz.menu.flash.8388608_0=8MB (no FS) +challenger_2040_subghz.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_subghz.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_subghz.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_subghz.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_subghz.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_subghz.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_subghz.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_subghz.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_subghz.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_subghz.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_subghz.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_subghz.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_subghz.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_subghz.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_subghz.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_subghz.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_subghz.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_subghz.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_subghz.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_subghz.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_subghz.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_subghz.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_subghz.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_subghz.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_subghz.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_subghz.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_subghz.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_subghz.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_subghz.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_subghz.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_subghz.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_subghz.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_subghz.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_subghz.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_subghz.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_subghz.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_subghz.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_subghz.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_subghz.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_subghz.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_subghz.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_subghz.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_subghz.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_subghz.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_subghz.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_subghz.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_subghz.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_subghz.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_subghz.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_subghz.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_subghz.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_subghz.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_subghz.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_subghz.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_subghz.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_subghz.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_subghz.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_subghz.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_subghz.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_subghz.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_subghz.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_subghz.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_subghz.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_subghz.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_subghz.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_subghz.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_subghz.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_subghz.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_subghz.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_subghz.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_subghz.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_subghz.menu.freq.133=133 MHz +challenger_2040_subghz.menu.freq.133.build.f_cpu=133000000L +challenger_2040_subghz.menu.freq.50=50 MHz +challenger_2040_subghz.menu.freq.50.build.f_cpu=50000000L +challenger_2040_subghz.menu.freq.100=100 MHz +challenger_2040_subghz.menu.freq.100.build.f_cpu=100000000L +challenger_2040_subghz.menu.freq.120=120 MHz +challenger_2040_subghz.menu.freq.120.build.f_cpu=120000000L +challenger_2040_subghz.menu.freq.125=125 MHz +challenger_2040_subghz.menu.freq.125.build.f_cpu=125000000L +challenger_2040_subghz.menu.freq.150=150 MHz (Overclock) +challenger_2040_subghz.menu.freq.150.build.f_cpu=150000000L +challenger_2040_subghz.menu.freq.175=175 MHz (Overclock) +challenger_2040_subghz.menu.freq.175.build.f_cpu=175000000L +challenger_2040_subghz.menu.freq.200=200 MHz (Overclock) +challenger_2040_subghz.menu.freq.200.build.f_cpu=200000000L +challenger_2040_subghz.menu.freq.225=225 MHz (Overclock) +challenger_2040_subghz.menu.freq.225.build.f_cpu=225000000L +challenger_2040_subghz.menu.freq.240=240 MHz (Overclock) +challenger_2040_subghz.menu.freq.240.build.f_cpu=240000000L +challenger_2040_subghz.menu.freq.250=250 MHz (Overclock) +challenger_2040_subghz.menu.freq.250.build.f_cpu=250000000L +challenger_2040_subghz.menu.freq.275=275 MHz (Overclock) +challenger_2040_subghz.menu.freq.275.build.f_cpu=275000000L +challenger_2040_subghz.menu.freq.300=300 MHz (Overclock) +challenger_2040_subghz.menu.freq.300.build.f_cpu=300000000L +challenger_2040_subghz.menu.opt.Small=Small (-Os) (standard) +challenger_2040_subghz.menu.opt.Small.build.flags.optimize=-Os +challenger_2040_subghz.menu.opt.Optimize=Optimize (-O) +challenger_2040_subghz.menu.opt.Optimize.build.flags.optimize=-O +challenger_2040_subghz.menu.opt.Optimize2=Optimize More (-O2) +challenger_2040_subghz.menu.opt.Optimize2.build.flags.optimize=-O2 +challenger_2040_subghz.menu.opt.Optimize3=Optimize Even More (-O3) +challenger_2040_subghz.menu.opt.Optimize3.build.flags.optimize=-O3 +challenger_2040_subghz.menu.opt.Fast=Fast (-Ofast) (maybe slower) +challenger_2040_subghz.menu.opt.Fast.build.flags.optimize=-Ofast +challenger_2040_subghz.menu.opt.Debug=Debug (-Og) +challenger_2040_subghz.menu.opt.Debug.build.flags.optimize=-Og +challenger_2040_subghz.menu.rtti.Disabled=Disabled +challenger_2040_subghz.menu.rtti.Disabled.build.flags.rtti=-fno-rtti +challenger_2040_subghz.menu.rtti.Enabled=Enabled +challenger_2040_subghz.menu.rtti.Enabled.build.flags.rtti= +challenger_2040_subghz.menu.stackprotect.Disabled=Disabled +challenger_2040_subghz.menu.stackprotect.Disabled.build.flags.stackprotect= +challenger_2040_subghz.menu.stackprotect.Enabled=Enabled +challenger_2040_subghz.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector +challenger_2040_subghz.menu.exceptions.Disabled=Disabled +challenger_2040_subghz.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions +challenger_2040_subghz.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ +challenger_2040_subghz.menu.exceptions.Enabled=Enabled +challenger_2040_subghz.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions +challenger_2040_subghz.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc +challenger_2040_subghz.menu.dbgport.Disabled=Disabled +challenger_2040_subghz.menu.dbgport.Disabled.build.debug_port= +challenger_2040_subghz.menu.dbgport.Serial=Serial +challenger_2040_subghz.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_subghz.menu.dbgport.Serial1=Serial1 +challenger_2040_subghz.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_subghz.menu.dbgport.Serial2=Serial2 +challenger_2040_subghz.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_subghz.menu.dbglvl.None=None +challenger_2040_subghz.menu.dbglvl.None.build.debug_level= +challenger_2040_subghz.menu.dbglvl.Core=Core +challenger_2040_subghz.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_subghz.menu.dbglvl.SPI=SPI +challenger_2040_subghz.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_subghz.menu.dbglvl.Wire=Wire +challenger_2040_subghz.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_subghz.menu.dbglvl.All=All +challenger_2040_subghz.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_subghz.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_subghz.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_subghz.menu.usbstack.picosdk=Pico SDK +challenger_2040_subghz.menu.usbstack.picosdk.build.usbstack_flags="-I{runtime.platform.path}/tools/libpico" +challenger_2040_subghz.menu.usbstack.tinyusb=Adafruit TinyUSB +challenger_2040_subghz.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" + +# ----------------------------------- +# iLabs Challenger 2040 SubGHz (Picoprobe) +# ----------------------------------- +challenger_2040_subghzpicoprobe.name=iLabs Challenger 2040 SubGHz (Picoprobe) +challenger_2040_subghzpicoprobe.vid.0=0x2e8a +challenger_2040_subghzpicoprobe.pid.0=0x0004 +challenger_2040_subghzpicoprobe.build.usbpid=-DSERIALUSB_PID=0x1032 +challenger_2040_subghzpicoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=250 +challenger_2040_subghzpicoprobe.build.board=CHALLENGER_2040_SUBGHZ_RP2040 +challenger_2040_subghzpicoprobe.build.mcu=cortex-m0plus +challenger_2040_subghzpicoprobe.build.variant=challenger_2040_subghz +challenger_2040_subghzpicoprobe.upload.tool=picoprobe +challenger_2040_subghzpicoprobe.upload.maximum_size=8388608 +challenger_2040_subghzpicoprobe.upload.maximum_data_size=262144 +challenger_2040_subghzpicoprobe.upload.wait_for_upload_port=true +challenger_2040_subghzpicoprobe.upload.erase_cmd= +challenger_2040_subghzpicoprobe.serial.disableDTR=false +challenger_2040_subghzpicoprobe.serial.disableRTS=false +challenger_2040_subghzpicoprobe.build.f_cpu=125000000 +challenger_2040_subghzpicoprobe.build.led= +challenger_2040_subghzpicoprobe.build.core=rp2040 +challenger_2040_subghzpicoprobe.build.ldscript=memmap_default.ld +challenger_2040_subghzpicoprobe.build.ram_length=256k +challenger_2040_subghzpicoprobe.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_subghzpicoprobe.build.vid=0x2e8a +challenger_2040_subghzpicoprobe.build.pid=0x1032 +challenger_2040_subghzpicoprobe.build.usb_manufacturer="iLabs" +challenger_2040_subghzpicoprobe.build.usb_product="Challenger 2040 SubGHz (Picoprobe)" +challenger_2040_subghzpicoprobe.menu.flash.8388608_0=8MB (no FS) +challenger_2040_subghzpicoprobe.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_subghzpicoprobe.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_subghzpicoprobe.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_subghzpicoprobe.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_subghzpicoprobe.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_subghzpicoprobe.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_subghzpicoprobe.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_subghzpicoprobe.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_subghzpicoprobe.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_subghzpicoprobe.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_subghzpicoprobe.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_subghzpicoprobe.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_subghzpicoprobe.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_subghzpicoprobe.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_subghzpicoprobe.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_subghzpicoprobe.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_subghzpicoprobe.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_subghzpicoprobe.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_subghzpicoprobe.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_subghzpicoprobe.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_subghzpicoprobe.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_subghzpicoprobe.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_subghzpicoprobe.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_subghzpicoprobe.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_subghzpicoprobe.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_subghzpicoprobe.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_subghzpicoprobe.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_subghzpicoprobe.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_subghzpicoprobe.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_subghzpicoprobe.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_subghzpicoprobe.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_subghzpicoprobe.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_subghzpicoprobe.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_subghzpicoprobe.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_subghzpicoprobe.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_subghzpicoprobe.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_subghzpicoprobe.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_subghzpicoprobe.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_subghzpicoprobe.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_subghzpicoprobe.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_subghzpicoprobe.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_subghzpicoprobe.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_subghzpicoprobe.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_subghzpicoprobe.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_subghzpicoprobe.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_subghzpicoprobe.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_subghzpicoprobe.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_subghzpicoprobe.menu.freq.133=133 MHz +challenger_2040_subghzpicoprobe.menu.freq.133.build.f_cpu=133000000L +challenger_2040_subghzpicoprobe.menu.freq.50=50 MHz +challenger_2040_subghzpicoprobe.menu.freq.50.build.f_cpu=50000000L +challenger_2040_subghzpicoprobe.menu.freq.100=100 MHz +challenger_2040_subghzpicoprobe.menu.freq.100.build.f_cpu=100000000L +challenger_2040_subghzpicoprobe.menu.freq.120=120 MHz +challenger_2040_subghzpicoprobe.menu.freq.120.build.f_cpu=120000000L +challenger_2040_subghzpicoprobe.menu.freq.125=125 MHz +challenger_2040_subghzpicoprobe.menu.freq.125.build.f_cpu=125000000L +challenger_2040_subghzpicoprobe.menu.freq.150=150 MHz (Overclock) +challenger_2040_subghzpicoprobe.menu.freq.150.build.f_cpu=150000000L +challenger_2040_subghzpicoprobe.menu.freq.175=175 MHz (Overclock) +challenger_2040_subghzpicoprobe.menu.freq.175.build.f_cpu=175000000L +challenger_2040_subghzpicoprobe.menu.freq.200=200 MHz (Overclock) +challenger_2040_subghzpicoprobe.menu.freq.200.build.f_cpu=200000000L +challenger_2040_subghzpicoprobe.menu.freq.225=225 MHz (Overclock) +challenger_2040_subghzpicoprobe.menu.freq.225.build.f_cpu=225000000L +challenger_2040_subghzpicoprobe.menu.freq.240=240 MHz (Overclock) +challenger_2040_subghzpicoprobe.menu.freq.240.build.f_cpu=240000000L +challenger_2040_subghzpicoprobe.menu.freq.250=250 MHz (Overclock) +challenger_2040_subghzpicoprobe.menu.freq.250.build.f_cpu=250000000L +challenger_2040_subghzpicoprobe.menu.freq.275=275 MHz (Overclock) +challenger_2040_subghzpicoprobe.menu.freq.275.build.f_cpu=275000000L +challenger_2040_subghzpicoprobe.menu.freq.300=300 MHz (Overclock) +challenger_2040_subghzpicoprobe.menu.freq.300.build.f_cpu=300000000L +challenger_2040_subghzpicoprobe.menu.opt.Small=Small (-Os) (standard) +challenger_2040_subghzpicoprobe.menu.opt.Small.build.flags.optimize=-Os +challenger_2040_subghzpicoprobe.menu.opt.Optimize=Optimize (-O) +challenger_2040_subghzpicoprobe.menu.opt.Optimize.build.flags.optimize=-O +challenger_2040_subghzpicoprobe.menu.opt.Optimize2=Optimize More (-O2) +challenger_2040_subghzpicoprobe.menu.opt.Optimize2.build.flags.optimize=-O2 +challenger_2040_subghzpicoprobe.menu.opt.Optimize3=Optimize Even More (-O3) +challenger_2040_subghzpicoprobe.menu.opt.Optimize3.build.flags.optimize=-O3 +challenger_2040_subghzpicoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower) +challenger_2040_subghzpicoprobe.menu.opt.Fast.build.flags.optimize=-Ofast +challenger_2040_subghzpicoprobe.menu.opt.Debug=Debug (-Og) +challenger_2040_subghzpicoprobe.menu.opt.Debug.build.flags.optimize=-Og +challenger_2040_subghzpicoprobe.menu.rtti.Disabled=Disabled +challenger_2040_subghzpicoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti +challenger_2040_subghzpicoprobe.menu.rtti.Enabled=Enabled +challenger_2040_subghzpicoprobe.menu.rtti.Enabled.build.flags.rtti= +challenger_2040_subghzpicoprobe.menu.stackprotect.Disabled=Disabled +challenger_2040_subghzpicoprobe.menu.stackprotect.Disabled.build.flags.stackprotect= +challenger_2040_subghzpicoprobe.menu.stackprotect.Enabled=Enabled +challenger_2040_subghzpicoprobe.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector +challenger_2040_subghzpicoprobe.menu.exceptions.Disabled=Disabled +challenger_2040_subghzpicoprobe.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions +challenger_2040_subghzpicoprobe.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ +challenger_2040_subghzpicoprobe.menu.exceptions.Enabled=Enabled +challenger_2040_subghzpicoprobe.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions +challenger_2040_subghzpicoprobe.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc +challenger_2040_subghzpicoprobe.menu.dbgport.Disabled=Disabled +challenger_2040_subghzpicoprobe.menu.dbgport.Disabled.build.debug_port= +challenger_2040_subghzpicoprobe.menu.dbgport.Serial=Serial +challenger_2040_subghzpicoprobe.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_subghzpicoprobe.menu.dbgport.Serial1=Serial1 +challenger_2040_subghzpicoprobe.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_subghzpicoprobe.menu.dbgport.Serial2=Serial2 +challenger_2040_subghzpicoprobe.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_subghzpicoprobe.menu.dbglvl.None=None +challenger_2040_subghzpicoprobe.menu.dbglvl.None.build.debug_level= +challenger_2040_subghzpicoprobe.menu.dbglvl.Core=Core +challenger_2040_subghzpicoprobe.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_subghzpicoprobe.menu.dbglvl.SPI=SPI +challenger_2040_subghzpicoprobe.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_subghzpicoprobe.menu.dbglvl.Wire=Wire +challenger_2040_subghzpicoprobe.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_subghzpicoprobe.menu.dbglvl.All=All +challenger_2040_subghzpicoprobe.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_subghzpicoprobe.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_subghzpicoprobe.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_subghzpicoprobe.menu.usbstack.picosdk=Pico SDK +challenger_2040_subghzpicoprobe.menu.usbstack.picosdk.build.usbstack_flags="-I{runtime.platform.path}/tools/libpico" +challenger_2040_subghzpicoprobe.menu.usbstack.tinyusb=Adafruit TinyUSB +challenger_2040_subghzpicoprobe.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" + +# ----------------------------------- +# iLabs Challenger 2040 SubGHz (pico-debug) +# ----------------------------------- +challenger_2040_subghzpicodebug.name=iLabs Challenger 2040 SubGHz (pico-debug) +challenger_2040_subghzpicodebug.vid.0=0x1209 +challenger_2040_subghzpicodebug.pid.0=0x2488 +challenger_2040_subghzpicodebug.build.usbpid=-DSERIALUSB_PID=0x1032 +challenger_2040_subghzpicodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=250 +challenger_2040_subghzpicodebug.build.board=CHALLENGER_2040_SUBGHZ_RP2040 +challenger_2040_subghzpicodebug.build.mcu=cortex-m0plus +challenger_2040_subghzpicodebug.build.variant=challenger_2040_subghz +challenger_2040_subghzpicodebug.upload.tool=picodebug +challenger_2040_subghzpicodebug.upload.maximum_size=8388608 +challenger_2040_subghzpicodebug.upload.maximum_data_size=245760 +challenger_2040_subghzpicodebug.upload.wait_for_upload_port=true +challenger_2040_subghzpicodebug.upload.erase_cmd= +challenger_2040_subghzpicodebug.serial.disableDTR=false +challenger_2040_subghzpicodebug.serial.disableRTS=false +challenger_2040_subghzpicodebug.build.f_cpu=125000000 +challenger_2040_subghzpicodebug.build.led= +challenger_2040_subghzpicodebug.build.core=rp2040 +challenger_2040_subghzpicodebug.build.ldscript=memmap_default.ld +challenger_2040_subghzpicodebug.build.ram_length=240k +challenger_2040_subghzpicodebug.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_subghzpicodebug.build.vid=0x2e8a +challenger_2040_subghzpicodebug.build.pid=0x1032 +challenger_2040_subghzpicodebug.build.usb_manufacturer="iLabs" +challenger_2040_subghzpicodebug.build.usb_product="Challenger 2040 SubGHz (pico-debug)" +challenger_2040_subghzpicodebug.menu.flash.8388608_0=8MB (no FS) +challenger_2040_subghzpicodebug.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_subghzpicodebug.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_subghzpicodebug.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_subghzpicodebug.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_subghzpicodebug.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_subghzpicodebug.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_subghzpicodebug.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_subghzpicodebug.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_subghzpicodebug.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_subghzpicodebug.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_subghzpicodebug.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_subghzpicodebug.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_subghzpicodebug.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_subghzpicodebug.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_subghzpicodebug.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_subghzpicodebug.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_subghzpicodebug.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_subghzpicodebug.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_subghzpicodebug.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_subghzpicodebug.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_subghzpicodebug.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_subghzpicodebug.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_subghzpicodebug.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_subghzpicodebug.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_subghzpicodebug.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_subghzpicodebug.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_subghzpicodebug.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_subghzpicodebug.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_subghzpicodebug.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_subghzpicodebug.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_subghzpicodebug.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_subghzpicodebug.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_subghzpicodebug.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_subghzpicodebug.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_subghzpicodebug.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_subghzpicodebug.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_subghzpicodebug.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_subghzpicodebug.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_subghzpicodebug.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_subghzpicodebug.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_subghzpicodebug.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_subghzpicodebug.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_subghzpicodebug.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_subghzpicodebug.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_subghzpicodebug.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_subghzpicodebug.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_subghzpicodebug.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_subghzpicodebug.menu.freq.133=133 MHz +challenger_2040_subghzpicodebug.menu.freq.133.build.f_cpu=133000000L +challenger_2040_subghzpicodebug.menu.freq.50=50 MHz +challenger_2040_subghzpicodebug.menu.freq.50.build.f_cpu=50000000L +challenger_2040_subghzpicodebug.menu.freq.100=100 MHz +challenger_2040_subghzpicodebug.menu.freq.100.build.f_cpu=100000000L +challenger_2040_subghzpicodebug.menu.freq.120=120 MHz +challenger_2040_subghzpicodebug.menu.freq.120.build.f_cpu=120000000L +challenger_2040_subghzpicodebug.menu.freq.125=125 MHz +challenger_2040_subghzpicodebug.menu.freq.125.build.f_cpu=125000000L +challenger_2040_subghzpicodebug.menu.freq.150=150 MHz (Overclock) +challenger_2040_subghzpicodebug.menu.freq.150.build.f_cpu=150000000L +challenger_2040_subghzpicodebug.menu.freq.175=175 MHz (Overclock) +challenger_2040_subghzpicodebug.menu.freq.175.build.f_cpu=175000000L +challenger_2040_subghzpicodebug.menu.freq.200=200 MHz (Overclock) +challenger_2040_subghzpicodebug.menu.freq.200.build.f_cpu=200000000L +challenger_2040_subghzpicodebug.menu.freq.225=225 MHz (Overclock) +challenger_2040_subghzpicodebug.menu.freq.225.build.f_cpu=225000000L +challenger_2040_subghzpicodebug.menu.freq.240=240 MHz (Overclock) +challenger_2040_subghzpicodebug.menu.freq.240.build.f_cpu=240000000L +challenger_2040_subghzpicodebug.menu.freq.250=250 MHz (Overclock) +challenger_2040_subghzpicodebug.menu.freq.250.build.f_cpu=250000000L +challenger_2040_subghzpicodebug.menu.freq.275=275 MHz (Overclock) +challenger_2040_subghzpicodebug.menu.freq.275.build.f_cpu=275000000L +challenger_2040_subghzpicodebug.menu.freq.300=300 MHz (Overclock) +challenger_2040_subghzpicodebug.menu.freq.300.build.f_cpu=300000000L +challenger_2040_subghzpicodebug.menu.opt.Small=Small (-Os) (standard) +challenger_2040_subghzpicodebug.menu.opt.Small.build.flags.optimize=-Os +challenger_2040_subghzpicodebug.menu.opt.Optimize=Optimize (-O) +challenger_2040_subghzpicodebug.menu.opt.Optimize.build.flags.optimize=-O +challenger_2040_subghzpicodebug.menu.opt.Optimize2=Optimize More (-O2) +challenger_2040_subghzpicodebug.menu.opt.Optimize2.build.flags.optimize=-O2 +challenger_2040_subghzpicodebug.menu.opt.Optimize3=Optimize Even More (-O3) +challenger_2040_subghzpicodebug.menu.opt.Optimize3.build.flags.optimize=-O3 +challenger_2040_subghzpicodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower) +challenger_2040_subghzpicodebug.menu.opt.Fast.build.flags.optimize=-Ofast +challenger_2040_subghzpicodebug.menu.opt.Debug=Debug (-Og) +challenger_2040_subghzpicodebug.menu.opt.Debug.build.flags.optimize=-Og +challenger_2040_subghzpicodebug.menu.rtti.Disabled=Disabled +challenger_2040_subghzpicodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti +challenger_2040_subghzpicodebug.menu.rtti.Enabled=Enabled +challenger_2040_subghzpicodebug.menu.rtti.Enabled.build.flags.rtti= +challenger_2040_subghzpicodebug.menu.stackprotect.Disabled=Disabled +challenger_2040_subghzpicodebug.menu.stackprotect.Disabled.build.flags.stackprotect= +challenger_2040_subghzpicodebug.menu.stackprotect.Enabled=Enabled +challenger_2040_subghzpicodebug.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector +challenger_2040_subghzpicodebug.menu.exceptions.Disabled=Disabled +challenger_2040_subghzpicodebug.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions +challenger_2040_subghzpicodebug.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ +challenger_2040_subghzpicodebug.menu.exceptions.Enabled=Enabled +challenger_2040_subghzpicodebug.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions +challenger_2040_subghzpicodebug.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc +challenger_2040_subghzpicodebug.menu.dbgport.Disabled=Disabled +challenger_2040_subghzpicodebug.menu.dbgport.Disabled.build.debug_port= +challenger_2040_subghzpicodebug.menu.dbgport.Serial=Serial +challenger_2040_subghzpicodebug.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_subghzpicodebug.menu.dbgport.Serial1=Serial1 +challenger_2040_subghzpicodebug.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_subghzpicodebug.menu.dbgport.Serial2=Serial2 +challenger_2040_subghzpicodebug.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_subghzpicodebug.menu.dbglvl.None=None +challenger_2040_subghzpicodebug.menu.dbglvl.None.build.debug_level= +challenger_2040_subghzpicodebug.menu.dbglvl.Core=Core +challenger_2040_subghzpicodebug.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_subghzpicodebug.menu.dbglvl.SPI=SPI +challenger_2040_subghzpicodebug.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_subghzpicodebug.menu.dbglvl.Wire=Wire +challenger_2040_subghzpicodebug.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_subghzpicodebug.menu.dbglvl.All=All +challenger_2040_subghzpicodebug.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_subghzpicodebug.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_subghzpicodebug.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_subghzpicodebug.menu.usbstack.nousb=No USB +challenger_2040_subghzpicodebug.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico" + # ----------------------------------- # iLabs Challenger 2040 WiFi # ----------------------------------- @@ -9176,6 +9705,535 @@ 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 Challenger 2040 SD/RTC +# ----------------------------------- +challenger_2040_sdrtc.name=iLabs Challenger 2040 SD/RTC +challenger_2040_sdrtc.vid.0=0x2e8a +challenger_2040_sdrtc.pid.0=0x102d +challenger_2040_sdrtc.build.usbpid=-DSERIALUSB_PID=0x102d +challenger_2040_sdrtc.build.usbpwr=-DUSBD_MAX_POWER_MA=250 +challenger_2040_sdrtc.build.board=CHALLENGER_NB_2040_SDRTC_RP2040 +challenger_2040_sdrtc.build.mcu=cortex-m0plus +challenger_2040_sdrtc.build.variant=challenger_2040_sdrtc +challenger_2040_sdrtc.upload.tool=uf2conv +challenger_2040_sdrtc.upload.maximum_size=8388608 +challenger_2040_sdrtc.upload.maximum_data_size=262144 +challenger_2040_sdrtc.upload.wait_for_upload_port=true +challenger_2040_sdrtc.upload.erase_cmd= +challenger_2040_sdrtc.serial.disableDTR=false +challenger_2040_sdrtc.serial.disableRTS=false +challenger_2040_sdrtc.build.f_cpu=125000000 +challenger_2040_sdrtc.build.led= +challenger_2040_sdrtc.build.core=rp2040 +challenger_2040_sdrtc.build.ldscript=memmap_default.ld +challenger_2040_sdrtc.build.ram_length=256k +challenger_2040_sdrtc.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_sdrtc.build.vid=0x2e8a +challenger_2040_sdrtc.build.pid=0x102d +challenger_2040_sdrtc.build.usb_manufacturer="iLabs" +challenger_2040_sdrtc.build.usb_product="Challenger 2040 SD/RTC" +challenger_2040_sdrtc.menu.flash.8388608_0=8MB (no FS) +challenger_2040_sdrtc.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_sdrtc.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_sdrtc.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_sdrtc.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_sdrtc.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_sdrtc.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_sdrtc.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_sdrtc.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_sdrtc.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_sdrtc.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_sdrtc.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_sdrtc.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_sdrtc.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_sdrtc.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_sdrtc.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_sdrtc.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_sdrtc.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_sdrtc.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_sdrtc.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_sdrtc.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_sdrtc.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_sdrtc.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_sdrtc.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_sdrtc.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_sdrtc.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_sdrtc.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_sdrtc.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_sdrtc.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_sdrtc.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_sdrtc.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_sdrtc.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_sdrtc.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_sdrtc.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_sdrtc.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_sdrtc.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_sdrtc.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_sdrtc.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_sdrtc.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_sdrtc.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_sdrtc.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_sdrtc.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_sdrtc.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_sdrtc.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_sdrtc.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_sdrtc.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_sdrtc.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_sdrtc.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_sdrtc.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_sdrtc.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_sdrtc.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_sdrtc.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_sdrtc.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_sdrtc.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_sdrtc.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_sdrtc.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_sdrtc.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_sdrtc.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_sdrtc.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_sdrtc.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_sdrtc.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_sdrtc.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_sdrtc.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_sdrtc.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_sdrtc.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_sdrtc.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_sdrtc.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_sdrtc.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_sdrtc.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_sdrtc.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_sdrtc.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_sdrtc.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_sdrtc.menu.freq.133=133 MHz +challenger_2040_sdrtc.menu.freq.133.build.f_cpu=133000000L +challenger_2040_sdrtc.menu.freq.50=50 MHz +challenger_2040_sdrtc.menu.freq.50.build.f_cpu=50000000L +challenger_2040_sdrtc.menu.freq.100=100 MHz +challenger_2040_sdrtc.menu.freq.100.build.f_cpu=100000000L +challenger_2040_sdrtc.menu.freq.120=120 MHz +challenger_2040_sdrtc.menu.freq.120.build.f_cpu=120000000L +challenger_2040_sdrtc.menu.freq.125=125 MHz +challenger_2040_sdrtc.menu.freq.125.build.f_cpu=125000000L +challenger_2040_sdrtc.menu.freq.150=150 MHz (Overclock) +challenger_2040_sdrtc.menu.freq.150.build.f_cpu=150000000L +challenger_2040_sdrtc.menu.freq.175=175 MHz (Overclock) +challenger_2040_sdrtc.menu.freq.175.build.f_cpu=175000000L +challenger_2040_sdrtc.menu.freq.200=200 MHz (Overclock) +challenger_2040_sdrtc.menu.freq.200.build.f_cpu=200000000L +challenger_2040_sdrtc.menu.freq.225=225 MHz (Overclock) +challenger_2040_sdrtc.menu.freq.225.build.f_cpu=225000000L +challenger_2040_sdrtc.menu.freq.240=240 MHz (Overclock) +challenger_2040_sdrtc.menu.freq.240.build.f_cpu=240000000L +challenger_2040_sdrtc.menu.freq.250=250 MHz (Overclock) +challenger_2040_sdrtc.menu.freq.250.build.f_cpu=250000000L +challenger_2040_sdrtc.menu.freq.275=275 MHz (Overclock) +challenger_2040_sdrtc.menu.freq.275.build.f_cpu=275000000L +challenger_2040_sdrtc.menu.freq.300=300 MHz (Overclock) +challenger_2040_sdrtc.menu.freq.300.build.f_cpu=300000000L +challenger_2040_sdrtc.menu.opt.Small=Small (-Os) (standard) +challenger_2040_sdrtc.menu.opt.Small.build.flags.optimize=-Os +challenger_2040_sdrtc.menu.opt.Optimize=Optimize (-O) +challenger_2040_sdrtc.menu.opt.Optimize.build.flags.optimize=-O +challenger_2040_sdrtc.menu.opt.Optimize2=Optimize More (-O2) +challenger_2040_sdrtc.menu.opt.Optimize2.build.flags.optimize=-O2 +challenger_2040_sdrtc.menu.opt.Optimize3=Optimize Even More (-O3) +challenger_2040_sdrtc.menu.opt.Optimize3.build.flags.optimize=-O3 +challenger_2040_sdrtc.menu.opt.Fast=Fast (-Ofast) (maybe slower) +challenger_2040_sdrtc.menu.opt.Fast.build.flags.optimize=-Ofast +challenger_2040_sdrtc.menu.opt.Debug=Debug (-Og) +challenger_2040_sdrtc.menu.opt.Debug.build.flags.optimize=-Og +challenger_2040_sdrtc.menu.rtti.Disabled=Disabled +challenger_2040_sdrtc.menu.rtti.Disabled.build.flags.rtti=-fno-rtti +challenger_2040_sdrtc.menu.rtti.Enabled=Enabled +challenger_2040_sdrtc.menu.rtti.Enabled.build.flags.rtti= +challenger_2040_sdrtc.menu.stackprotect.Disabled=Disabled +challenger_2040_sdrtc.menu.stackprotect.Disabled.build.flags.stackprotect= +challenger_2040_sdrtc.menu.stackprotect.Enabled=Enabled +challenger_2040_sdrtc.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector +challenger_2040_sdrtc.menu.exceptions.Disabled=Disabled +challenger_2040_sdrtc.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions +challenger_2040_sdrtc.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ +challenger_2040_sdrtc.menu.exceptions.Enabled=Enabled +challenger_2040_sdrtc.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions +challenger_2040_sdrtc.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc +challenger_2040_sdrtc.menu.dbgport.Disabled=Disabled +challenger_2040_sdrtc.menu.dbgport.Disabled.build.debug_port= +challenger_2040_sdrtc.menu.dbgport.Serial=Serial +challenger_2040_sdrtc.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_sdrtc.menu.dbgport.Serial1=Serial1 +challenger_2040_sdrtc.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_sdrtc.menu.dbgport.Serial2=Serial2 +challenger_2040_sdrtc.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_sdrtc.menu.dbglvl.None=None +challenger_2040_sdrtc.menu.dbglvl.None.build.debug_level= +challenger_2040_sdrtc.menu.dbglvl.Core=Core +challenger_2040_sdrtc.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_sdrtc.menu.dbglvl.SPI=SPI +challenger_2040_sdrtc.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_sdrtc.menu.dbglvl.Wire=Wire +challenger_2040_sdrtc.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_sdrtc.menu.dbglvl.All=All +challenger_2040_sdrtc.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_sdrtc.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_sdrtc.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_sdrtc.menu.usbstack.picosdk=Pico SDK +challenger_2040_sdrtc.menu.usbstack.picosdk.build.usbstack_flags="-I{runtime.platform.path}/tools/libpico" +challenger_2040_sdrtc.menu.usbstack.tinyusb=Adafruit TinyUSB +challenger_2040_sdrtc.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" + +# ----------------------------------- +# iLabs Challenger 2040 SD/RTC (Picoprobe) +# ----------------------------------- +challenger_2040_sdrtcpicoprobe.name=iLabs Challenger 2040 SD/RTC (Picoprobe) +challenger_2040_sdrtcpicoprobe.vid.0=0x2e8a +challenger_2040_sdrtcpicoprobe.pid.0=0x0004 +challenger_2040_sdrtcpicoprobe.build.usbpid=-DSERIALUSB_PID=0x102d +challenger_2040_sdrtcpicoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=250 +challenger_2040_sdrtcpicoprobe.build.board=CHALLENGER_NB_2040_SDRTC_RP2040 +challenger_2040_sdrtcpicoprobe.build.mcu=cortex-m0plus +challenger_2040_sdrtcpicoprobe.build.variant=challenger_2040_sdrtc +challenger_2040_sdrtcpicoprobe.upload.tool=picoprobe +challenger_2040_sdrtcpicoprobe.upload.maximum_size=8388608 +challenger_2040_sdrtcpicoprobe.upload.maximum_data_size=262144 +challenger_2040_sdrtcpicoprobe.upload.wait_for_upload_port=true +challenger_2040_sdrtcpicoprobe.upload.erase_cmd= +challenger_2040_sdrtcpicoprobe.serial.disableDTR=false +challenger_2040_sdrtcpicoprobe.serial.disableRTS=false +challenger_2040_sdrtcpicoprobe.build.f_cpu=125000000 +challenger_2040_sdrtcpicoprobe.build.led= +challenger_2040_sdrtcpicoprobe.build.core=rp2040 +challenger_2040_sdrtcpicoprobe.build.ldscript=memmap_default.ld +challenger_2040_sdrtcpicoprobe.build.ram_length=256k +challenger_2040_sdrtcpicoprobe.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_sdrtcpicoprobe.build.vid=0x2e8a +challenger_2040_sdrtcpicoprobe.build.pid=0x102d +challenger_2040_sdrtcpicoprobe.build.usb_manufacturer="iLabs" +challenger_2040_sdrtcpicoprobe.build.usb_product="Challenger 2040 SD/RTC (Picoprobe)" +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_0=8MB (no FS) +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_sdrtcpicoprobe.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_sdrtcpicoprobe.menu.freq.133=133 MHz +challenger_2040_sdrtcpicoprobe.menu.freq.133.build.f_cpu=133000000L +challenger_2040_sdrtcpicoprobe.menu.freq.50=50 MHz +challenger_2040_sdrtcpicoprobe.menu.freq.50.build.f_cpu=50000000L +challenger_2040_sdrtcpicoprobe.menu.freq.100=100 MHz +challenger_2040_sdrtcpicoprobe.menu.freq.100.build.f_cpu=100000000L +challenger_2040_sdrtcpicoprobe.menu.freq.120=120 MHz +challenger_2040_sdrtcpicoprobe.menu.freq.120.build.f_cpu=120000000L +challenger_2040_sdrtcpicoprobe.menu.freq.125=125 MHz +challenger_2040_sdrtcpicoprobe.menu.freq.125.build.f_cpu=125000000L +challenger_2040_sdrtcpicoprobe.menu.freq.150=150 MHz (Overclock) +challenger_2040_sdrtcpicoprobe.menu.freq.150.build.f_cpu=150000000L +challenger_2040_sdrtcpicoprobe.menu.freq.175=175 MHz (Overclock) +challenger_2040_sdrtcpicoprobe.menu.freq.175.build.f_cpu=175000000L +challenger_2040_sdrtcpicoprobe.menu.freq.200=200 MHz (Overclock) +challenger_2040_sdrtcpicoprobe.menu.freq.200.build.f_cpu=200000000L +challenger_2040_sdrtcpicoprobe.menu.freq.225=225 MHz (Overclock) +challenger_2040_sdrtcpicoprobe.menu.freq.225.build.f_cpu=225000000L +challenger_2040_sdrtcpicoprobe.menu.freq.240=240 MHz (Overclock) +challenger_2040_sdrtcpicoprobe.menu.freq.240.build.f_cpu=240000000L +challenger_2040_sdrtcpicoprobe.menu.freq.250=250 MHz (Overclock) +challenger_2040_sdrtcpicoprobe.menu.freq.250.build.f_cpu=250000000L +challenger_2040_sdrtcpicoprobe.menu.freq.275=275 MHz (Overclock) +challenger_2040_sdrtcpicoprobe.menu.freq.275.build.f_cpu=275000000L +challenger_2040_sdrtcpicoprobe.menu.freq.300=300 MHz (Overclock) +challenger_2040_sdrtcpicoprobe.menu.freq.300.build.f_cpu=300000000L +challenger_2040_sdrtcpicoprobe.menu.opt.Small=Small (-Os) (standard) +challenger_2040_sdrtcpicoprobe.menu.opt.Small.build.flags.optimize=-Os +challenger_2040_sdrtcpicoprobe.menu.opt.Optimize=Optimize (-O) +challenger_2040_sdrtcpicoprobe.menu.opt.Optimize.build.flags.optimize=-O +challenger_2040_sdrtcpicoprobe.menu.opt.Optimize2=Optimize More (-O2) +challenger_2040_sdrtcpicoprobe.menu.opt.Optimize2.build.flags.optimize=-O2 +challenger_2040_sdrtcpicoprobe.menu.opt.Optimize3=Optimize Even More (-O3) +challenger_2040_sdrtcpicoprobe.menu.opt.Optimize3.build.flags.optimize=-O3 +challenger_2040_sdrtcpicoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower) +challenger_2040_sdrtcpicoprobe.menu.opt.Fast.build.flags.optimize=-Ofast +challenger_2040_sdrtcpicoprobe.menu.opt.Debug=Debug (-Og) +challenger_2040_sdrtcpicoprobe.menu.opt.Debug.build.flags.optimize=-Og +challenger_2040_sdrtcpicoprobe.menu.rtti.Disabled=Disabled +challenger_2040_sdrtcpicoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti +challenger_2040_sdrtcpicoprobe.menu.rtti.Enabled=Enabled +challenger_2040_sdrtcpicoprobe.menu.rtti.Enabled.build.flags.rtti= +challenger_2040_sdrtcpicoprobe.menu.stackprotect.Disabled=Disabled +challenger_2040_sdrtcpicoprobe.menu.stackprotect.Disabled.build.flags.stackprotect= +challenger_2040_sdrtcpicoprobe.menu.stackprotect.Enabled=Enabled +challenger_2040_sdrtcpicoprobe.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector +challenger_2040_sdrtcpicoprobe.menu.exceptions.Disabled=Disabled +challenger_2040_sdrtcpicoprobe.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions +challenger_2040_sdrtcpicoprobe.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ +challenger_2040_sdrtcpicoprobe.menu.exceptions.Enabled=Enabled +challenger_2040_sdrtcpicoprobe.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions +challenger_2040_sdrtcpicoprobe.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc +challenger_2040_sdrtcpicoprobe.menu.dbgport.Disabled=Disabled +challenger_2040_sdrtcpicoprobe.menu.dbgport.Disabled.build.debug_port= +challenger_2040_sdrtcpicoprobe.menu.dbgport.Serial=Serial +challenger_2040_sdrtcpicoprobe.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_sdrtcpicoprobe.menu.dbgport.Serial1=Serial1 +challenger_2040_sdrtcpicoprobe.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_sdrtcpicoprobe.menu.dbgport.Serial2=Serial2 +challenger_2040_sdrtcpicoprobe.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_sdrtcpicoprobe.menu.dbglvl.None=None +challenger_2040_sdrtcpicoprobe.menu.dbglvl.None.build.debug_level= +challenger_2040_sdrtcpicoprobe.menu.dbglvl.Core=Core +challenger_2040_sdrtcpicoprobe.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_sdrtcpicoprobe.menu.dbglvl.SPI=SPI +challenger_2040_sdrtcpicoprobe.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_sdrtcpicoprobe.menu.dbglvl.Wire=Wire +challenger_2040_sdrtcpicoprobe.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_sdrtcpicoprobe.menu.dbglvl.All=All +challenger_2040_sdrtcpicoprobe.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_sdrtcpicoprobe.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_sdrtcpicoprobe.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_sdrtcpicoprobe.menu.usbstack.picosdk=Pico SDK +challenger_2040_sdrtcpicoprobe.menu.usbstack.picosdk.build.usbstack_flags="-I{runtime.platform.path}/tools/libpico" +challenger_2040_sdrtcpicoprobe.menu.usbstack.tinyusb=Adafruit TinyUSB +challenger_2040_sdrtcpicoprobe.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" + +# ----------------------------------- +# iLabs Challenger 2040 SD/RTC (pico-debug) +# ----------------------------------- +challenger_2040_sdrtcpicodebug.name=iLabs Challenger 2040 SD/RTC (pico-debug) +challenger_2040_sdrtcpicodebug.vid.0=0x1209 +challenger_2040_sdrtcpicodebug.pid.0=0x2488 +challenger_2040_sdrtcpicodebug.build.usbpid=-DSERIALUSB_PID=0x102d +challenger_2040_sdrtcpicodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=250 +challenger_2040_sdrtcpicodebug.build.board=CHALLENGER_NB_2040_SDRTC_RP2040 +challenger_2040_sdrtcpicodebug.build.mcu=cortex-m0plus +challenger_2040_sdrtcpicodebug.build.variant=challenger_2040_sdrtc +challenger_2040_sdrtcpicodebug.upload.tool=picodebug +challenger_2040_sdrtcpicodebug.upload.maximum_size=8388608 +challenger_2040_sdrtcpicodebug.upload.maximum_data_size=245760 +challenger_2040_sdrtcpicodebug.upload.wait_for_upload_port=true +challenger_2040_sdrtcpicodebug.upload.erase_cmd= +challenger_2040_sdrtcpicodebug.serial.disableDTR=false +challenger_2040_sdrtcpicodebug.serial.disableRTS=false +challenger_2040_sdrtcpicodebug.build.f_cpu=125000000 +challenger_2040_sdrtcpicodebug.build.led= +challenger_2040_sdrtcpicodebug.build.core=rp2040 +challenger_2040_sdrtcpicodebug.build.ldscript=memmap_default.ld +challenger_2040_sdrtcpicodebug.build.ram_length=240k +challenger_2040_sdrtcpicodebug.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_sdrtcpicodebug.build.vid=0x2e8a +challenger_2040_sdrtcpicodebug.build.pid=0x102d +challenger_2040_sdrtcpicodebug.build.usb_manufacturer="iLabs" +challenger_2040_sdrtcpicodebug.build.usb_product="Challenger 2040 SD/RTC (pico-debug)" +challenger_2040_sdrtcpicodebug.menu.flash.8388608_0=8MB (no FS) +challenger_2040_sdrtcpicodebug.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_sdrtcpicodebug.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_sdrtcpicodebug.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_sdrtcpicodebug.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_sdrtcpicodebug.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_sdrtcpicodebug.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_sdrtcpicodebug.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_sdrtcpicodebug.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_sdrtcpicodebug.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_sdrtcpicodebug.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_sdrtcpicodebug.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_sdrtcpicodebug.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_sdrtcpicodebug.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_sdrtcpicodebug.menu.freq.133=133 MHz +challenger_2040_sdrtcpicodebug.menu.freq.133.build.f_cpu=133000000L +challenger_2040_sdrtcpicodebug.menu.freq.50=50 MHz +challenger_2040_sdrtcpicodebug.menu.freq.50.build.f_cpu=50000000L +challenger_2040_sdrtcpicodebug.menu.freq.100=100 MHz +challenger_2040_sdrtcpicodebug.menu.freq.100.build.f_cpu=100000000L +challenger_2040_sdrtcpicodebug.menu.freq.120=120 MHz +challenger_2040_sdrtcpicodebug.menu.freq.120.build.f_cpu=120000000L +challenger_2040_sdrtcpicodebug.menu.freq.125=125 MHz +challenger_2040_sdrtcpicodebug.menu.freq.125.build.f_cpu=125000000L +challenger_2040_sdrtcpicodebug.menu.freq.150=150 MHz (Overclock) +challenger_2040_sdrtcpicodebug.menu.freq.150.build.f_cpu=150000000L +challenger_2040_sdrtcpicodebug.menu.freq.175=175 MHz (Overclock) +challenger_2040_sdrtcpicodebug.menu.freq.175.build.f_cpu=175000000L +challenger_2040_sdrtcpicodebug.menu.freq.200=200 MHz (Overclock) +challenger_2040_sdrtcpicodebug.menu.freq.200.build.f_cpu=200000000L +challenger_2040_sdrtcpicodebug.menu.freq.225=225 MHz (Overclock) +challenger_2040_sdrtcpicodebug.menu.freq.225.build.f_cpu=225000000L +challenger_2040_sdrtcpicodebug.menu.freq.240=240 MHz (Overclock) +challenger_2040_sdrtcpicodebug.menu.freq.240.build.f_cpu=240000000L +challenger_2040_sdrtcpicodebug.menu.freq.250=250 MHz (Overclock) +challenger_2040_sdrtcpicodebug.menu.freq.250.build.f_cpu=250000000L +challenger_2040_sdrtcpicodebug.menu.freq.275=275 MHz (Overclock) +challenger_2040_sdrtcpicodebug.menu.freq.275.build.f_cpu=275000000L +challenger_2040_sdrtcpicodebug.menu.freq.300=300 MHz (Overclock) +challenger_2040_sdrtcpicodebug.menu.freq.300.build.f_cpu=300000000L +challenger_2040_sdrtcpicodebug.menu.opt.Small=Small (-Os) (standard) +challenger_2040_sdrtcpicodebug.menu.opt.Small.build.flags.optimize=-Os +challenger_2040_sdrtcpicodebug.menu.opt.Optimize=Optimize (-O) +challenger_2040_sdrtcpicodebug.menu.opt.Optimize.build.flags.optimize=-O +challenger_2040_sdrtcpicodebug.menu.opt.Optimize2=Optimize More (-O2) +challenger_2040_sdrtcpicodebug.menu.opt.Optimize2.build.flags.optimize=-O2 +challenger_2040_sdrtcpicodebug.menu.opt.Optimize3=Optimize Even More (-O3) +challenger_2040_sdrtcpicodebug.menu.opt.Optimize3.build.flags.optimize=-O3 +challenger_2040_sdrtcpicodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower) +challenger_2040_sdrtcpicodebug.menu.opt.Fast.build.flags.optimize=-Ofast +challenger_2040_sdrtcpicodebug.menu.opt.Debug=Debug (-Og) +challenger_2040_sdrtcpicodebug.menu.opt.Debug.build.flags.optimize=-Og +challenger_2040_sdrtcpicodebug.menu.rtti.Disabled=Disabled +challenger_2040_sdrtcpicodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti +challenger_2040_sdrtcpicodebug.menu.rtti.Enabled=Enabled +challenger_2040_sdrtcpicodebug.menu.rtti.Enabled.build.flags.rtti= +challenger_2040_sdrtcpicodebug.menu.stackprotect.Disabled=Disabled +challenger_2040_sdrtcpicodebug.menu.stackprotect.Disabled.build.flags.stackprotect= +challenger_2040_sdrtcpicodebug.menu.stackprotect.Enabled=Enabled +challenger_2040_sdrtcpicodebug.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector +challenger_2040_sdrtcpicodebug.menu.exceptions.Disabled=Disabled +challenger_2040_sdrtcpicodebug.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions +challenger_2040_sdrtcpicodebug.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ +challenger_2040_sdrtcpicodebug.menu.exceptions.Enabled=Enabled +challenger_2040_sdrtcpicodebug.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions +challenger_2040_sdrtcpicodebug.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc +challenger_2040_sdrtcpicodebug.menu.dbgport.Disabled=Disabled +challenger_2040_sdrtcpicodebug.menu.dbgport.Disabled.build.debug_port= +challenger_2040_sdrtcpicodebug.menu.dbgport.Serial=Serial +challenger_2040_sdrtcpicodebug.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_sdrtcpicodebug.menu.dbgport.Serial1=Serial1 +challenger_2040_sdrtcpicodebug.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_sdrtcpicodebug.menu.dbgport.Serial2=Serial2 +challenger_2040_sdrtcpicodebug.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_sdrtcpicodebug.menu.dbglvl.None=None +challenger_2040_sdrtcpicodebug.menu.dbglvl.None.build.debug_level= +challenger_2040_sdrtcpicodebug.menu.dbglvl.Core=Core +challenger_2040_sdrtcpicodebug.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_sdrtcpicodebug.menu.dbglvl.SPI=SPI +challenger_2040_sdrtcpicodebug.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_sdrtcpicodebug.menu.dbglvl.Wire=Wire +challenger_2040_sdrtcpicodebug.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_sdrtcpicodebug.menu.dbglvl.All=All +challenger_2040_sdrtcpicodebug.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_sdrtcpicodebug.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_sdrtcpicodebug.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_sdrtcpicodebug.menu.usbstack.nousb=No USB +challenger_2040_sdrtcpicodebug.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico" + # ----------------------------------- # iLabs RPICO32 # ----------------------------------- diff --git a/tools/json/challenger_2040_sdrtc.json b/tools/json/challenger_2040_sdrtc.json new file mode 100644 index 00000000..7b2cb487 --- /dev/null +++ b/tools/json/challenger_2040_sdrtc.json @@ -0,0 +1,50 @@ +{ + "build": { + "core": "earlephilhower", + "cpu": "cortex-m0plus", + "extra_flags": "-D ARDUINO_CHALLENGER_NB_2040_SDRTC_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250", + "f_cpu": "133000000L", + "hwids": [ + [ + "0x2E8A", + "0x00C0" + ] + ], + "mcu": "rp2040", + "variant": "challenger_2040_sdrtc", + "arduino": { + "earlephilhower": { + "boot2_source": "boot2_w25q080_2_padded_checksum.S", + "usb_vid": "0x2e8a", + "usb_pid": "0x102d" + } + } + }, + "debug": { + "jlink_device": "RP2040_M0_0", + "openocd_target": "rp2040.cfg", + "svd_path": "rp2040.svd" + }, + "frameworks": [ + "arduino" + ], + "name": "Challenger 2040 SD/RTC", + "upload": { + "maximum_ram_size": 270336, + "maximum_size": 8388608, + "require_upload_port": true, + "native_usb": true, + "use_1200bps_touch": true, + "wait_for_upload_port": false, + "protocol": "picotool", + "protocols": [ + "cmsis-dap", + "jlink", + "raspberrypi-swd", + "picotool", + "picoprobe" + ] + }, + "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", + "vendor": "iLabs" +} diff --git a/tools/json/challenger_2040_subghz.json b/tools/json/challenger_2040_subghz.json new file mode 100644 index 00000000..c1c3d2c4 --- /dev/null +++ b/tools/json/challenger_2040_subghz.json @@ -0,0 +1,50 @@ +{ + "build": { + "core": "earlephilhower", + "cpu": "cortex-m0plus", + "extra_flags": "-D ARDUINO_CHALLENGER_2040_SUBGHZ_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250", + "f_cpu": "133000000L", + "hwids": [ + [ + "0x2E8A", + "0x00C0" + ] + ], + "mcu": "rp2040", + "variant": "challenger_2040_subghz", + "arduino": { + "earlephilhower": { + "boot2_source": "boot2_w25q080_2_padded_checksum.S", + "usb_vid": "0x2e8a", + "usb_pid": "0x1032" + } + } + }, + "debug": { + "jlink_device": "RP2040_M0_0", + "openocd_target": "rp2040.cfg", + "svd_path": "rp2040.svd" + }, + "frameworks": [ + "arduino" + ], + "name": "Challenger 2040 SubGHz", + "upload": { + "maximum_ram_size": 270336, + "maximum_size": 8388608, + "require_upload_port": true, + "native_usb": true, + "use_1200bps_touch": true, + "wait_for_upload_port": false, + "protocol": "picotool", + "protocols": [ + "cmsis-dap", + "jlink", + "raspberrypi-swd", + "picotool", + "picoprobe" + ] + }, + "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", + "vendor": "iLabs" +} diff --git a/tools/makeboards.py b/tools/makeboards.py index efa2339e..01607e8c 100755 --- a/tools/makeboards.py +++ b/tools/makeboards.py @@ -265,10 +265,12 @@ def MakeBoardJSON(name, vendor_name, product_name, vid, pid, pwr, boarddefine, f # iLabs MakeBoard("challenger_2040_lora", "iLabs", "Challenger 2040 LoRa", "0x2e8a", "0x1023", 250, "CHALLENGER_2040_LORA_RP2040", 8, "boot2_w25q080_2_padded_checksum") +MakeBoard("challenger_2040_subghz", "iLabs", "Challenger 2040 SubGHz", "0x2e8a", "0x1032", 250, "CHALLENGER_2040_SUBGHZ_RP2040", 8, "boot2_w25q080_2_padded_checksum") MakeBoard("challenger_2040_wifi", "iLabs", "Challenger 2040 WiFi", "0x2e8a", "0x1006", 250, "CHALLENGER_2040_WIFI_RP2040", 8, "boot2_w25q080_2_padded_checksum") MakeBoard("challenger_2040_lte", "iLabs", "Challenger 2040 LTE", "0x2e8a", "0x100b", 500, "CHALLENGER_2040_LTE_RP2040", 8, "boot2_w25q080_2_padded_checksum") MakeBoard("challenger_2040_wifi_ble", "iLabs", "Challenger 2040 WiFi/BLE", "0x2e8a", "0x102C", 500, "CHALLENGER_2040_WIFI_BLE_RP2040", 8, "boot2_w25q080_2_padded_checksum") MakeBoard("challenger_nb_2040_wifi", "iLabs", "Challenger NB 2040 WiFi", "0x2e8a", "0x100b", 500, "CHALLENGER_NB_2040_WIFI_RP2040", 8, "boot2_w25q080_2_padded_checksum") +MakeBoard("challenger_2040_sdrtc", "iLabs", "Challenger 2040 SD/RTC", "0x2e8a", "0x102d", 250, "CHALLENGER_NB_2040_SDRTC_RP2040", 8, "boot2_w25q080_2_padded_checksum") MakeBoard("ilabs_rpico32", "iLabs", "RPICO32", "0x2e8a", "0x1010", 250, "ILABS_2040_RPICO32_RP2040", 8, "boot2_w25q080_2_padded_checksum") # Melopera diff --git a/variants/challenger_2040_sdrtc/pins_arduino.h b/variants/challenger_2040_sdrtc/pins_arduino.h new file mode 100644 index 00000000..e289ee88 --- /dev/null +++ b/variants/challenger_2040_sdrtc/pins_arduino.h @@ -0,0 +1,73 @@ +#pragma once + +#define PINS_COUNT (26u) +#define NUM_DIGITAL_PINS (26u) +#define NUM_ANALOG_INPUTS (4u) +#define NUM_ANALOG_OUTPUTS (0u) +#define ADC_RESOLUTION (12u) + +// LEDs +#define PIN_LED (24u) + +// Serial +#define PIN_SERIAL1_TX (16u) +#define PIN_SERIAL1_RX (17u) + +// SPI +#define PIN_SPI0_MISO (20u) +#define PIN_SPI0_MOSI (23u) +#define PIN_SPI0_SCK (22u) +#define PIN_SPI0_SS (21u) + +// Connected to SD card reader +#define PIN_SPI1_MISO (12u) +#define PIN_SPI1_MOSI (11u) +#define PIN_SPI1_SCK (10u) +#define PIN_SPI1_SS (9u) +#define SD_SS PIN_SPI1_SS +#define SS SD_SS +#define SD_SPI SPI1 +#define SD_CARD_DETECT (13u) +#define EXTERNAL_FLASH_USE_SPI SD_SPI +#define EXTERNAL_FLASH_USE_CS SD_SS +#define SDCARD_CS_PIN SD_SS + +// 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 PIN_SERIAL2_RX (31u) +#define PIN_SERIAL2_TX (31u) + +#define SERIAL_HOWMANY (1u) +#define SPI_HOWMANY (2u) +#define WIRE_HOWMANY (1u) + +#define LED_BUILTIN PIN_LED + +static const uint8_t D0 = (16u); +static const uint8_t D1 = (17u); +static const uint8_t D2 = (20u); +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 = (4u); +static const uint8_t D10 = (5u); +static const uint8_t D11 = (6u); +static const uint8_t D12 = (7u); +static const uint8_t D13 = (8u); +static const uint8_t D14 = (13u); +static const uint8_t D18 = (24u); + +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 = (19u); +static const uint8_t A5 = (21u); diff --git a/variants/challenger_2040_subghz/pins_arduino.h b/variants/challenger_2040_subghz/pins_arduino.h new file mode 100644 index 00000000..8e50938b --- /dev/null +++ b/variants/challenger_2040_subghz/pins_arduino.h @@ -0,0 +1,75 @@ +#pragma once + +#define PINS_COUNT (25u) +#define NUM_DIGITAL_PINS (25u) +#define NUM_ANALOG_INPUTS (4u) +#define NUM_ANALOG_OUTPUTS (0u) +#define ADC_RESOLUTION (12u) + +// LEDs +#define PIN_LED (24u) + +// Serial +#define PIN_SERIAL1_TX (16u) +#define PIN_SERIAL1_RX (17u) + +// SPI +#define PIN_SPI0_MISO (20u) +#define PIN_SPI0_MOSI (23u) +#define PIN_SPI0_SCK (22u) +#define PIN_SPI0_SS (21u) + +// Connected to sub GHz radio module +#define PIN_SPI1_MISO (12u) +#define PIN_SPI1_MOSI (11u) +#define PIN_SPI1_SCK (10u) +#define PIN_SPI1_SS (9u) +#define RFM69HCW_SS (9u) +#define RFM69HCW_DIO0 (14u) +#define RFM69HCW_DIO1 (15u) +#define RFM69HCW_DIO2 (18u) +#define RFM69HCW_RST (13u) +#define RFM69HCW_SPI SPI1 + +// 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 PIN_SERIAL2_RX (31u) +#define PIN_SERIAL2_TX (31u) + +#define SERIAL_HOWMANY (1u) +#define SPI_HOWMANY (2u) +#define WIRE_HOWMANY (1u) + +#define LED_BUILTIN PIN_LED + +static const uint8_t D0 = (16u); +static const uint8_t D1 = (17u); +static const uint8_t D2 = (20u); +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 = (4u); +static const uint8_t D10 = (5u); +static const uint8_t D11 = (6u); +static const uint8_t D12 = (7u); +static const uint8_t D13 = (8u); +static const uint8_t D14 = (13u); +static const uint8_t D15 = (14u); +static const uint8_t D16 = (15u); +static const uint8_t D17 = (18u); +static const uint8_t D18 = (24u); + +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 = (19u); +static const uint8_t A5 = (21u); From e1897819f850b41eaf090f261b9d252bf9025423 Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Wed, 29 Jun 2022 19:22:05 +0200 Subject: [PATCH 24/31] Updated readme. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index c0e09d00..0af4bc25 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,8 @@ See https://arduino-pico.readthedocs.io/en/latest/ along with the examples for m * Invector Labs Challenger NB RP2040 WiFi * Invector Labs Challenger RP2040 LTE * Invector Labs Challenger RP2040 LoRa +* Invector Labs Challenger RP2040 SubGHz +* Invector Labs Challenger RP2040 SD/RTC * Invector Labs RPICO32 * Melopero Shake RP2040 * Seeed XIAO RP2040 From 54f324556628f872b813586260b144c5e1b7d9c7 Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Thu, 30 Jun 2022 19:05:28 +0200 Subject: [PATCH 25/31] Re ran makeboards to generate new index. --- package/package_pico_index.template.json | 6 ++++++ tools/json/challenger_2040_sdrtc.json | 16 ++++++++-------- tools/json/challenger_2040_subghz.json | 16 ++++++++-------- 3 files changed, 22 insertions(+), 16 deletions(-) diff --git a/package/package_pico_index.template.json b/package/package_pico_index.template.json index 1e69b34f..d682dc45 100644 --- a/package/package_pico_index.template.json +++ b/package/package_pico_index.template.json @@ -59,6 +59,9 @@ { "name": "iLabs Challenger 2040 LoRa" }, + { + "name": "iLabs Challenger 2040 SubGHz" + }, { "name": "iLabs Challenger 2040 WiFi" }, @@ -71,6 +74,9 @@ { "name": "iLabs Challenger NB 2040 WiFi" }, + { + "name": "iLabs Challenger 2040 SD/RTC" + }, { "name": "iLabs RPICO32" }, diff --git a/tools/json/challenger_2040_sdrtc.json b/tools/json/challenger_2040_sdrtc.json index 7b2cb487..4f49771e 100644 --- a/tools/json/challenger_2040_sdrtc.json +++ b/tools/json/challenger_2040_sdrtc.json @@ -1,5 +1,12 @@ { "build": { + "arduino": { + "earlephilhower": { + "boot2_source": "boot2_w25q080_2_padded_checksum.S", + "usb_vid": "0x2e8a", + "usb_pid": "0x102d" + } + }, "core": "earlephilhower", "cpu": "cortex-m0plus", "extra_flags": "-D ARDUINO_CHALLENGER_NB_2040_SDRTC_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250", @@ -11,14 +18,7 @@ ] ], "mcu": "rp2040", - "variant": "challenger_2040_sdrtc", - "arduino": { - "earlephilhower": { - "boot2_source": "boot2_w25q080_2_padded_checksum.S", - "usb_vid": "0x2e8a", - "usb_pid": "0x102d" - } - } + "variant": "challenger_2040_sdrtc" }, "debug": { "jlink_device": "RP2040_M0_0", diff --git a/tools/json/challenger_2040_subghz.json b/tools/json/challenger_2040_subghz.json index c1c3d2c4..827dd1b3 100644 --- a/tools/json/challenger_2040_subghz.json +++ b/tools/json/challenger_2040_subghz.json @@ -1,5 +1,12 @@ { "build": { + "arduino": { + "earlephilhower": { + "boot2_source": "boot2_w25q080_2_padded_checksum.S", + "usb_vid": "0x2e8a", + "usb_pid": "0x1032" + } + }, "core": "earlephilhower", "cpu": "cortex-m0plus", "extra_flags": "-D ARDUINO_CHALLENGER_2040_SUBGHZ_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250", @@ -11,14 +18,7 @@ ] ], "mcu": "rp2040", - "variant": "challenger_2040_subghz", - "arduino": { - "earlephilhower": { - "boot2_source": "boot2_w25q080_2_padded_checksum.S", - "usb_vid": "0x2e8a", - "usb_pid": "0x1032" - } - } + "variant": "challenger_2040_subghz" }, "debug": { "jlink_device": "RP2040_M0_0", From 78fea36dbdd017c7c1745701c7a15662e51ee4a5 Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Tue, 26 Jul 2022 15:00:11 +0200 Subject: [PATCH 26/31] Added to possibility to have extra compiler directives for a board. --- boards.txt | 4355 +++++++++++----------- package/package_pico_index.template.json | 6 +- tools/makeboards.py | 16 +- 3 files changed, 2194 insertions(+), 2183 deletions(-) diff --git a/boards.txt b/boards.txt index 918f3c46..ee588ad1 100644 --- a/boards.txt +++ b/boards.txt @@ -7206,2192 +7206,2195 @@ dfrobot_beetle_rp2040picodebug.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6. dfrobot_beetle_rp2040picodebug.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 # ----------------------------------- -# iLabs Challenger 2040 LoRa -# ----------------------------------- -challenger_2040_lora.name=iLabs Challenger 2040 LoRa -challenger_2040_lora.vid.0=0x2e8a -challenger_2040_lora.pid.0=0x1023 -challenger_2040_lora.build.usbpid=-DSERIALUSB_PID=0x1023 -challenger_2040_lora.build.usbpwr=-DUSBD_MAX_POWER_MA=250 -challenger_2040_lora.build.board=CHALLENGER_2040_LORA_RP2040 -challenger_2040_lora.build.mcu=cortex-m0plus -challenger_2040_lora.build.variant=challenger_2040_lora -challenger_2040_lora.upload.tool=uf2conv -challenger_2040_lora.upload.maximum_size=8388608 -challenger_2040_lora.upload.maximum_data_size=262144 -challenger_2040_lora.upload.wait_for_upload_port=true -challenger_2040_lora.upload.erase_cmd= -challenger_2040_lora.serial.disableDTR=false -challenger_2040_lora.serial.disableRTS=false -challenger_2040_lora.build.f_cpu=125000000 -challenger_2040_lora.build.led= -challenger_2040_lora.build.core=rp2040 -challenger_2040_lora.build.ldscript=memmap_default.ld -challenger_2040_lora.build.ram_length=256k -challenger_2040_lora.build.boot2=boot2_w25q080_2_padded_checksum -challenger_2040_lora.build.vid=0x2e8a -challenger_2040_lora.build.pid=0x1023 -challenger_2040_lora.build.usb_manufacturer="iLabs" -challenger_2040_lora.build.usb_product="Challenger 2040 LoRa" -challenger_2040_lora.menu.flash.8388608_0=8MB (no FS) -challenger_2040_lora.menu.flash.8388608_0.upload.maximum_size=8384512 -challenger_2040_lora.menu.flash.8388608_0.build.flash_length=8384512 -challenger_2040_lora.menu.flash.8388608_0.build.eeprom_start=276819968 -challenger_2040_lora.menu.flash.8388608_0.build.fs_start=276819968 -challenger_2040_lora.menu.flash.8388608_0.build.fs_end=276819968 -challenger_2040_lora.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) -challenger_2040_lora.menu.flash.8388608_65536.upload.maximum_size=8318976 -challenger_2040_lora.menu.flash.8388608_65536.build.flash_length=8318976 -challenger_2040_lora.menu.flash.8388608_65536.build.eeprom_start=276819968 -challenger_2040_lora.menu.flash.8388608_65536.build.fs_start=276754432 -challenger_2040_lora.menu.flash.8388608_65536.build.fs_end=276819968 -challenger_2040_lora.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) -challenger_2040_lora.menu.flash.8388608_131072.upload.maximum_size=8253440 -challenger_2040_lora.menu.flash.8388608_131072.build.flash_length=8253440 -challenger_2040_lora.menu.flash.8388608_131072.build.eeprom_start=276819968 -challenger_2040_lora.menu.flash.8388608_131072.build.fs_start=276688896 -challenger_2040_lora.menu.flash.8388608_131072.build.fs_end=276819968 -challenger_2040_lora.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) -challenger_2040_lora.menu.flash.8388608_262144.upload.maximum_size=8122368 -challenger_2040_lora.menu.flash.8388608_262144.build.flash_length=8122368 -challenger_2040_lora.menu.flash.8388608_262144.build.eeprom_start=276819968 -challenger_2040_lora.menu.flash.8388608_262144.build.fs_start=276557824 -challenger_2040_lora.menu.flash.8388608_262144.build.fs_end=276819968 -challenger_2040_lora.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) -challenger_2040_lora.menu.flash.8388608_524288.upload.maximum_size=7860224 -challenger_2040_lora.menu.flash.8388608_524288.build.flash_length=7860224 -challenger_2040_lora.menu.flash.8388608_524288.build.eeprom_start=276819968 -challenger_2040_lora.menu.flash.8388608_524288.build.fs_start=276295680 -challenger_2040_lora.menu.flash.8388608_524288.build.fs_end=276819968 -challenger_2040_lora.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) -challenger_2040_lora.menu.flash.8388608_1048576.upload.maximum_size=7335936 -challenger_2040_lora.menu.flash.8388608_1048576.build.flash_length=7335936 -challenger_2040_lora.menu.flash.8388608_1048576.build.eeprom_start=276819968 -challenger_2040_lora.menu.flash.8388608_1048576.build.fs_start=275771392 -challenger_2040_lora.menu.flash.8388608_1048576.build.fs_end=276819968 -challenger_2040_lora.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) -challenger_2040_lora.menu.flash.8388608_2097152.upload.maximum_size=6287360 -challenger_2040_lora.menu.flash.8388608_2097152.build.flash_length=6287360 -challenger_2040_lora.menu.flash.8388608_2097152.build.eeprom_start=276819968 -challenger_2040_lora.menu.flash.8388608_2097152.build.fs_start=274722816 -challenger_2040_lora.menu.flash.8388608_2097152.build.fs_end=276819968 -challenger_2040_lora.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) -challenger_2040_lora.menu.flash.8388608_3145728.upload.maximum_size=5238784 -challenger_2040_lora.menu.flash.8388608_3145728.build.flash_length=5238784 -challenger_2040_lora.menu.flash.8388608_3145728.build.eeprom_start=276819968 -challenger_2040_lora.menu.flash.8388608_3145728.build.fs_start=273674240 -challenger_2040_lora.menu.flash.8388608_3145728.build.fs_end=276819968 -challenger_2040_lora.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) -challenger_2040_lora.menu.flash.8388608_4194304.upload.maximum_size=4190208 -challenger_2040_lora.menu.flash.8388608_4194304.build.flash_length=4190208 -challenger_2040_lora.menu.flash.8388608_4194304.build.eeprom_start=276819968 -challenger_2040_lora.menu.flash.8388608_4194304.build.fs_start=272625664 -challenger_2040_lora.menu.flash.8388608_4194304.build.fs_end=276819968 -challenger_2040_lora.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) -challenger_2040_lora.menu.flash.8388608_5242880.upload.maximum_size=3141632 -challenger_2040_lora.menu.flash.8388608_5242880.build.flash_length=3141632 -challenger_2040_lora.menu.flash.8388608_5242880.build.eeprom_start=276819968 -challenger_2040_lora.menu.flash.8388608_5242880.build.fs_start=271577088 -challenger_2040_lora.menu.flash.8388608_5242880.build.fs_end=276819968 -challenger_2040_lora.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) -challenger_2040_lora.menu.flash.8388608_6291456.upload.maximum_size=2093056 -challenger_2040_lora.menu.flash.8388608_6291456.build.flash_length=2093056 -challenger_2040_lora.menu.flash.8388608_6291456.build.eeprom_start=276819968 -challenger_2040_lora.menu.flash.8388608_6291456.build.fs_start=270528512 -challenger_2040_lora.menu.flash.8388608_6291456.build.fs_end=276819968 -challenger_2040_lora.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) -challenger_2040_lora.menu.flash.8388608_7340032.upload.maximum_size=1044480 -challenger_2040_lora.menu.flash.8388608_7340032.build.flash_length=1044480 -challenger_2040_lora.menu.flash.8388608_7340032.build.eeprom_start=276819968 -challenger_2040_lora.menu.flash.8388608_7340032.build.fs_start=269479936 -challenger_2040_lora.menu.flash.8388608_7340032.build.fs_end=276819968 -challenger_2040_lora.menu.freq.133=133 MHz -challenger_2040_lora.menu.freq.133.build.f_cpu=133000000L -challenger_2040_lora.menu.freq.50=50 MHz -challenger_2040_lora.menu.freq.50.build.f_cpu=50000000L -challenger_2040_lora.menu.freq.100=100 MHz -challenger_2040_lora.menu.freq.100.build.f_cpu=100000000L -challenger_2040_lora.menu.freq.120=120 MHz -challenger_2040_lora.menu.freq.120.build.f_cpu=120000000L -challenger_2040_lora.menu.freq.125=125 MHz -challenger_2040_lora.menu.freq.125.build.f_cpu=125000000L -challenger_2040_lora.menu.freq.150=150 MHz (Overclock) -challenger_2040_lora.menu.freq.150.build.f_cpu=150000000L -challenger_2040_lora.menu.freq.175=175 MHz (Overclock) -challenger_2040_lora.menu.freq.175.build.f_cpu=175000000L -challenger_2040_lora.menu.freq.200=200 MHz (Overclock) -challenger_2040_lora.menu.freq.200.build.f_cpu=200000000L -challenger_2040_lora.menu.freq.225=225 MHz (Overclock) -challenger_2040_lora.menu.freq.225.build.f_cpu=225000000L -challenger_2040_lora.menu.freq.240=240 MHz (Overclock) -challenger_2040_lora.menu.freq.240.build.f_cpu=240000000L -challenger_2040_lora.menu.freq.250=250 MHz (Overclock) -challenger_2040_lora.menu.freq.250.build.f_cpu=250000000L -challenger_2040_lora.menu.freq.275=275 MHz (Overclock) -challenger_2040_lora.menu.freq.275.build.f_cpu=275000000L -challenger_2040_lora.menu.freq.300=300 MHz (Overclock) -challenger_2040_lora.menu.freq.300.build.f_cpu=300000000L -challenger_2040_lora.menu.opt.Small=Small (-Os) (standard) -challenger_2040_lora.menu.opt.Small.build.flags.optimize=-Os -challenger_2040_lora.menu.opt.Optimize=Optimize (-O) -challenger_2040_lora.menu.opt.Optimize.build.flags.optimize=-O -challenger_2040_lora.menu.opt.Optimize2=Optimize More (-O2) -challenger_2040_lora.menu.opt.Optimize2.build.flags.optimize=-O2 -challenger_2040_lora.menu.opt.Optimize3=Optimize Even More (-O3) -challenger_2040_lora.menu.opt.Optimize3.build.flags.optimize=-O3 -challenger_2040_lora.menu.opt.Fast=Fast (-Ofast) (maybe slower) -challenger_2040_lora.menu.opt.Fast.build.flags.optimize=-Ofast -challenger_2040_lora.menu.opt.Debug=Debug (-Og) -challenger_2040_lora.menu.opt.Debug.build.flags.optimize=-Og -challenger_2040_lora.menu.rtti.Disabled=Disabled -challenger_2040_lora.menu.rtti.Disabled.build.flags.rtti=-fno-rtti -challenger_2040_lora.menu.rtti.Enabled=Enabled -challenger_2040_lora.menu.rtti.Enabled.build.flags.rtti= -challenger_2040_lora.menu.stackprotect.Disabled=Disabled -challenger_2040_lora.menu.stackprotect.Disabled.build.flags.stackprotect= -challenger_2040_lora.menu.stackprotect.Enabled=Enabled -challenger_2040_lora.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector -challenger_2040_lora.menu.exceptions.Disabled=Disabled -challenger_2040_lora.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions -challenger_2040_lora.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ -challenger_2040_lora.menu.exceptions.Enabled=Enabled -challenger_2040_lora.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions -challenger_2040_lora.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc -challenger_2040_lora.menu.dbgport.Disabled=Disabled -challenger_2040_lora.menu.dbgport.Disabled.build.debug_port= -challenger_2040_lora.menu.dbgport.Serial=Serial -challenger_2040_lora.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial -challenger_2040_lora.menu.dbgport.Serial1=Serial1 -challenger_2040_lora.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 -challenger_2040_lora.menu.dbgport.Serial2=Serial2 -challenger_2040_lora.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 -challenger_2040_lora.menu.dbglvl.None=None -challenger_2040_lora.menu.dbglvl.None.build.debug_level= -challenger_2040_lora.menu.dbglvl.Core=Core -challenger_2040_lora.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE -challenger_2040_lora.menu.dbglvl.SPI=SPI -challenger_2040_lora.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI -challenger_2040_lora.menu.dbglvl.Wire=Wire -challenger_2040_lora.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE -challenger_2040_lora.menu.dbglvl.All=All -challenger_2040_lora.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE -challenger_2040_lora.menu.dbglvl.NDEBUG=NDEBUG -challenger_2040_lora.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG -challenger_2040_lora.menu.usbstack.picosdk=Pico SDK -challenger_2040_lora.menu.usbstack.picosdk.build.usbstack_flags= -challenger_2040_lora.menu.usbstack.tinyusb=Adafruit TinyUSB -challenger_2040_lora.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" -challenger_2040_lora.menu.ipstack.ipv4only=IPv4 Only -challenger_2040_lora.menu.ipstack.ipv4only.build.libpico=libpico.a -challenger_2040_lora.menu.ipstack.ipv4only.build.lwipdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -challenger_2040_lora.menu.ipstack.ipv4ipv6=IPv4 and IPv6 -challenger_2040_lora.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6.a -challenger_2040_lora.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 - -# ----------------------------------- -# iLabs Challenger 2040 LoRa (Picoprobe) +# iLabs Challenger 2040 LTE # ----------------------------------- -challenger_2040_lorapicoprobe.name=iLabs Challenger 2040 LoRa (Picoprobe) -challenger_2040_lorapicoprobe.vid.0=0x2e8a -challenger_2040_lorapicoprobe.pid.0=0x0004 -challenger_2040_lorapicoprobe.build.usbpid=-DSERIALUSB_PID=0x1023 -challenger_2040_lorapicoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=250 -challenger_2040_lorapicoprobe.build.board=CHALLENGER_2040_LORA_RP2040 -challenger_2040_lorapicoprobe.build.mcu=cortex-m0plus -challenger_2040_lorapicoprobe.build.variant=challenger_2040_lora -challenger_2040_lorapicoprobe.upload.tool=picoprobe -challenger_2040_lorapicoprobe.upload.maximum_size=8388608 -challenger_2040_lorapicoprobe.upload.maximum_data_size=262144 -challenger_2040_lorapicoprobe.upload.wait_for_upload_port=true -challenger_2040_lorapicoprobe.upload.erase_cmd= -challenger_2040_lorapicoprobe.serial.disableDTR=false -challenger_2040_lorapicoprobe.serial.disableRTS=false -challenger_2040_lorapicoprobe.build.f_cpu=125000000 -challenger_2040_lorapicoprobe.build.led= -challenger_2040_lorapicoprobe.build.core=rp2040 -challenger_2040_lorapicoprobe.build.ldscript=memmap_default.ld -challenger_2040_lorapicoprobe.build.ram_length=256k -challenger_2040_lorapicoprobe.build.boot2=boot2_w25q080_2_padded_checksum -challenger_2040_lorapicoprobe.build.vid=0x2e8a -challenger_2040_lorapicoprobe.build.pid=0x1023 -challenger_2040_lorapicoprobe.build.usb_manufacturer="iLabs" -challenger_2040_lorapicoprobe.build.usb_product="Challenger 2040 LoRa (Picoprobe)" -challenger_2040_lorapicoprobe.menu.flash.8388608_0=8MB (no FS) -challenger_2040_lorapicoprobe.menu.flash.8388608_0.upload.maximum_size=8384512 -challenger_2040_lorapicoprobe.menu.flash.8388608_0.build.flash_length=8384512 -challenger_2040_lorapicoprobe.menu.flash.8388608_0.build.eeprom_start=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_0.build.fs_start=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_0.build.fs_end=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) -challenger_2040_lorapicoprobe.menu.flash.8388608_65536.upload.maximum_size=8318976 -challenger_2040_lorapicoprobe.menu.flash.8388608_65536.build.flash_length=8318976 -challenger_2040_lorapicoprobe.menu.flash.8388608_65536.build.eeprom_start=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_65536.build.fs_start=276754432 -challenger_2040_lorapicoprobe.menu.flash.8388608_65536.build.fs_end=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) -challenger_2040_lorapicoprobe.menu.flash.8388608_131072.upload.maximum_size=8253440 -challenger_2040_lorapicoprobe.menu.flash.8388608_131072.build.flash_length=8253440 -challenger_2040_lorapicoprobe.menu.flash.8388608_131072.build.eeprom_start=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_131072.build.fs_start=276688896 -challenger_2040_lorapicoprobe.menu.flash.8388608_131072.build.fs_end=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) -challenger_2040_lorapicoprobe.menu.flash.8388608_262144.upload.maximum_size=8122368 -challenger_2040_lorapicoprobe.menu.flash.8388608_262144.build.flash_length=8122368 -challenger_2040_lorapicoprobe.menu.flash.8388608_262144.build.eeprom_start=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_262144.build.fs_start=276557824 -challenger_2040_lorapicoprobe.menu.flash.8388608_262144.build.fs_end=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) -challenger_2040_lorapicoprobe.menu.flash.8388608_524288.upload.maximum_size=7860224 -challenger_2040_lorapicoprobe.menu.flash.8388608_524288.build.flash_length=7860224 -challenger_2040_lorapicoprobe.menu.flash.8388608_524288.build.eeprom_start=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_524288.build.fs_start=276295680 -challenger_2040_lorapicoprobe.menu.flash.8388608_524288.build.fs_end=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) -challenger_2040_lorapicoprobe.menu.flash.8388608_1048576.upload.maximum_size=7335936 -challenger_2040_lorapicoprobe.menu.flash.8388608_1048576.build.flash_length=7335936 -challenger_2040_lorapicoprobe.menu.flash.8388608_1048576.build.eeprom_start=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_1048576.build.fs_start=275771392 -challenger_2040_lorapicoprobe.menu.flash.8388608_1048576.build.fs_end=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) -challenger_2040_lorapicoprobe.menu.flash.8388608_2097152.upload.maximum_size=6287360 -challenger_2040_lorapicoprobe.menu.flash.8388608_2097152.build.flash_length=6287360 -challenger_2040_lorapicoprobe.menu.flash.8388608_2097152.build.eeprom_start=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_2097152.build.fs_start=274722816 -challenger_2040_lorapicoprobe.menu.flash.8388608_2097152.build.fs_end=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) -challenger_2040_lorapicoprobe.menu.flash.8388608_3145728.upload.maximum_size=5238784 -challenger_2040_lorapicoprobe.menu.flash.8388608_3145728.build.flash_length=5238784 -challenger_2040_lorapicoprobe.menu.flash.8388608_3145728.build.eeprom_start=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_3145728.build.fs_start=273674240 -challenger_2040_lorapicoprobe.menu.flash.8388608_3145728.build.fs_end=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) -challenger_2040_lorapicoprobe.menu.flash.8388608_4194304.upload.maximum_size=4190208 -challenger_2040_lorapicoprobe.menu.flash.8388608_4194304.build.flash_length=4190208 -challenger_2040_lorapicoprobe.menu.flash.8388608_4194304.build.eeprom_start=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_4194304.build.fs_start=272625664 -challenger_2040_lorapicoprobe.menu.flash.8388608_4194304.build.fs_end=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) -challenger_2040_lorapicoprobe.menu.flash.8388608_5242880.upload.maximum_size=3141632 -challenger_2040_lorapicoprobe.menu.flash.8388608_5242880.build.flash_length=3141632 -challenger_2040_lorapicoprobe.menu.flash.8388608_5242880.build.eeprom_start=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_5242880.build.fs_start=271577088 -challenger_2040_lorapicoprobe.menu.flash.8388608_5242880.build.fs_end=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) -challenger_2040_lorapicoprobe.menu.flash.8388608_6291456.upload.maximum_size=2093056 -challenger_2040_lorapicoprobe.menu.flash.8388608_6291456.build.flash_length=2093056 -challenger_2040_lorapicoprobe.menu.flash.8388608_6291456.build.eeprom_start=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_6291456.build.fs_start=270528512 -challenger_2040_lorapicoprobe.menu.flash.8388608_6291456.build.fs_end=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) -challenger_2040_lorapicoprobe.menu.flash.8388608_7340032.upload.maximum_size=1044480 -challenger_2040_lorapicoprobe.menu.flash.8388608_7340032.build.flash_length=1044480 -challenger_2040_lorapicoprobe.menu.flash.8388608_7340032.build.eeprom_start=276819968 -challenger_2040_lorapicoprobe.menu.flash.8388608_7340032.build.fs_start=269479936 -challenger_2040_lorapicoprobe.menu.flash.8388608_7340032.build.fs_end=276819968 -challenger_2040_lorapicoprobe.menu.freq.133=133 MHz -challenger_2040_lorapicoprobe.menu.freq.133.build.f_cpu=133000000L -challenger_2040_lorapicoprobe.menu.freq.50=50 MHz -challenger_2040_lorapicoprobe.menu.freq.50.build.f_cpu=50000000L -challenger_2040_lorapicoprobe.menu.freq.100=100 MHz -challenger_2040_lorapicoprobe.menu.freq.100.build.f_cpu=100000000L -challenger_2040_lorapicoprobe.menu.freq.120=120 MHz -challenger_2040_lorapicoprobe.menu.freq.120.build.f_cpu=120000000L -challenger_2040_lorapicoprobe.menu.freq.125=125 MHz -challenger_2040_lorapicoprobe.menu.freq.125.build.f_cpu=125000000L -challenger_2040_lorapicoprobe.menu.freq.150=150 MHz (Overclock) -challenger_2040_lorapicoprobe.menu.freq.150.build.f_cpu=150000000L -challenger_2040_lorapicoprobe.menu.freq.175=175 MHz (Overclock) -challenger_2040_lorapicoprobe.menu.freq.175.build.f_cpu=175000000L -challenger_2040_lorapicoprobe.menu.freq.200=200 MHz (Overclock) -challenger_2040_lorapicoprobe.menu.freq.200.build.f_cpu=200000000L -challenger_2040_lorapicoprobe.menu.freq.225=225 MHz (Overclock) -challenger_2040_lorapicoprobe.menu.freq.225.build.f_cpu=225000000L -challenger_2040_lorapicoprobe.menu.freq.240=240 MHz (Overclock) -challenger_2040_lorapicoprobe.menu.freq.240.build.f_cpu=240000000L -challenger_2040_lorapicoprobe.menu.freq.250=250 MHz (Overclock) -challenger_2040_lorapicoprobe.menu.freq.250.build.f_cpu=250000000L -challenger_2040_lorapicoprobe.menu.freq.275=275 MHz (Overclock) -challenger_2040_lorapicoprobe.menu.freq.275.build.f_cpu=275000000L -challenger_2040_lorapicoprobe.menu.freq.300=300 MHz (Overclock) -challenger_2040_lorapicoprobe.menu.freq.300.build.f_cpu=300000000L -challenger_2040_lorapicoprobe.menu.opt.Small=Small (-Os) (standard) -challenger_2040_lorapicoprobe.menu.opt.Small.build.flags.optimize=-Os -challenger_2040_lorapicoprobe.menu.opt.Optimize=Optimize (-O) -challenger_2040_lorapicoprobe.menu.opt.Optimize.build.flags.optimize=-O -challenger_2040_lorapicoprobe.menu.opt.Optimize2=Optimize More (-O2) -challenger_2040_lorapicoprobe.menu.opt.Optimize2.build.flags.optimize=-O2 -challenger_2040_lorapicoprobe.menu.opt.Optimize3=Optimize Even More (-O3) -challenger_2040_lorapicoprobe.menu.opt.Optimize3.build.flags.optimize=-O3 -challenger_2040_lorapicoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower) -challenger_2040_lorapicoprobe.menu.opt.Fast.build.flags.optimize=-Ofast -challenger_2040_lorapicoprobe.menu.opt.Debug=Debug (-Og) -challenger_2040_lorapicoprobe.menu.opt.Debug.build.flags.optimize=-Og -challenger_2040_lorapicoprobe.menu.rtti.Disabled=Disabled -challenger_2040_lorapicoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti -challenger_2040_lorapicoprobe.menu.rtti.Enabled=Enabled -challenger_2040_lorapicoprobe.menu.rtti.Enabled.build.flags.rtti= -challenger_2040_lorapicoprobe.menu.stackprotect.Disabled=Disabled -challenger_2040_lorapicoprobe.menu.stackprotect.Disabled.build.flags.stackprotect= -challenger_2040_lorapicoprobe.menu.stackprotect.Enabled=Enabled -challenger_2040_lorapicoprobe.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector -challenger_2040_lorapicoprobe.menu.exceptions.Disabled=Disabled -challenger_2040_lorapicoprobe.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions -challenger_2040_lorapicoprobe.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ -challenger_2040_lorapicoprobe.menu.exceptions.Enabled=Enabled -challenger_2040_lorapicoprobe.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions -challenger_2040_lorapicoprobe.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc -challenger_2040_lorapicoprobe.menu.dbgport.Disabled=Disabled -challenger_2040_lorapicoprobe.menu.dbgport.Disabled.build.debug_port= -challenger_2040_lorapicoprobe.menu.dbgport.Serial=Serial -challenger_2040_lorapicoprobe.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial -challenger_2040_lorapicoprobe.menu.dbgport.Serial1=Serial1 -challenger_2040_lorapicoprobe.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 -challenger_2040_lorapicoprobe.menu.dbgport.Serial2=Serial2 -challenger_2040_lorapicoprobe.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 -challenger_2040_lorapicoprobe.menu.dbglvl.None=None -challenger_2040_lorapicoprobe.menu.dbglvl.None.build.debug_level= -challenger_2040_lorapicoprobe.menu.dbglvl.Core=Core -challenger_2040_lorapicoprobe.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE -challenger_2040_lorapicoprobe.menu.dbglvl.SPI=SPI -challenger_2040_lorapicoprobe.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI -challenger_2040_lorapicoprobe.menu.dbglvl.Wire=Wire -challenger_2040_lorapicoprobe.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE -challenger_2040_lorapicoprobe.menu.dbglvl.All=All -challenger_2040_lorapicoprobe.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE -challenger_2040_lorapicoprobe.menu.dbglvl.NDEBUG=NDEBUG -challenger_2040_lorapicoprobe.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG -challenger_2040_lorapicoprobe.menu.usbstack.picosdk=Pico SDK -challenger_2040_lorapicoprobe.menu.usbstack.picosdk.build.usbstack_flags= -challenger_2040_lorapicoprobe.menu.usbstack.tinyusb=Adafruit TinyUSB -challenger_2040_lorapicoprobe.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" -challenger_2040_lorapicoprobe.menu.ipstack.ipv4only=IPv4 Only -challenger_2040_lorapicoprobe.menu.ipstack.ipv4only.build.libpico=libpico.a -challenger_2040_lorapicoprobe.menu.ipstack.ipv4only.build.lwipdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -challenger_2040_lorapicoprobe.menu.ipstack.ipv4ipv6=IPv4 and IPv6 -challenger_2040_lorapicoprobe.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6.a -challenger_2040_lorapicoprobe.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 - -# ----------------------------------- -# iLabs Challenger 2040 LoRa (pico-debug) -# ----------------------------------- -challenger_2040_lorapicodebug.name=iLabs Challenger 2040 LoRa (pico-debug) -challenger_2040_lorapicodebug.vid.0=0x1209 -challenger_2040_lorapicodebug.pid.0=0x2488 -challenger_2040_lorapicodebug.build.usbpid=-DSERIALUSB_PID=0x1023 -challenger_2040_lorapicodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=250 -challenger_2040_lorapicodebug.build.board=CHALLENGER_2040_LORA_RP2040 -challenger_2040_lorapicodebug.build.mcu=cortex-m0plus -challenger_2040_lorapicodebug.build.variant=challenger_2040_lora -challenger_2040_lorapicodebug.upload.tool=picodebug -challenger_2040_lorapicodebug.upload.maximum_size=8388608 -challenger_2040_lorapicodebug.upload.maximum_data_size=245760 -challenger_2040_lorapicodebug.upload.wait_for_upload_port=true -challenger_2040_lorapicodebug.upload.erase_cmd= -challenger_2040_lorapicodebug.serial.disableDTR=false -challenger_2040_lorapicodebug.serial.disableRTS=false -challenger_2040_lorapicodebug.build.f_cpu=125000000 -challenger_2040_lorapicodebug.build.led= -challenger_2040_lorapicodebug.build.core=rp2040 -challenger_2040_lorapicodebug.build.ldscript=memmap_default.ld -challenger_2040_lorapicodebug.build.ram_length=240k -challenger_2040_lorapicodebug.build.boot2=boot2_w25q080_2_padded_checksum -challenger_2040_lorapicodebug.build.vid=0x2e8a -challenger_2040_lorapicodebug.build.pid=0x1023 -challenger_2040_lorapicodebug.build.usb_manufacturer="iLabs" -challenger_2040_lorapicodebug.build.usb_product="Challenger 2040 LoRa (pico-debug)" -challenger_2040_lorapicodebug.menu.flash.8388608_0=8MB (no FS) -challenger_2040_lorapicodebug.menu.flash.8388608_0.upload.maximum_size=8384512 -challenger_2040_lorapicodebug.menu.flash.8388608_0.build.flash_length=8384512 -challenger_2040_lorapicodebug.menu.flash.8388608_0.build.eeprom_start=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_0.build.fs_start=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_0.build.fs_end=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) -challenger_2040_lorapicodebug.menu.flash.8388608_65536.upload.maximum_size=8318976 -challenger_2040_lorapicodebug.menu.flash.8388608_65536.build.flash_length=8318976 -challenger_2040_lorapicodebug.menu.flash.8388608_65536.build.eeprom_start=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_65536.build.fs_start=276754432 -challenger_2040_lorapicodebug.menu.flash.8388608_65536.build.fs_end=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) -challenger_2040_lorapicodebug.menu.flash.8388608_131072.upload.maximum_size=8253440 -challenger_2040_lorapicodebug.menu.flash.8388608_131072.build.flash_length=8253440 -challenger_2040_lorapicodebug.menu.flash.8388608_131072.build.eeprom_start=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_131072.build.fs_start=276688896 -challenger_2040_lorapicodebug.menu.flash.8388608_131072.build.fs_end=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) -challenger_2040_lorapicodebug.menu.flash.8388608_262144.upload.maximum_size=8122368 -challenger_2040_lorapicodebug.menu.flash.8388608_262144.build.flash_length=8122368 -challenger_2040_lorapicodebug.menu.flash.8388608_262144.build.eeprom_start=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_262144.build.fs_start=276557824 -challenger_2040_lorapicodebug.menu.flash.8388608_262144.build.fs_end=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) -challenger_2040_lorapicodebug.menu.flash.8388608_524288.upload.maximum_size=7860224 -challenger_2040_lorapicodebug.menu.flash.8388608_524288.build.flash_length=7860224 -challenger_2040_lorapicodebug.menu.flash.8388608_524288.build.eeprom_start=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_524288.build.fs_start=276295680 -challenger_2040_lorapicodebug.menu.flash.8388608_524288.build.fs_end=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) -challenger_2040_lorapicodebug.menu.flash.8388608_1048576.upload.maximum_size=7335936 -challenger_2040_lorapicodebug.menu.flash.8388608_1048576.build.flash_length=7335936 -challenger_2040_lorapicodebug.menu.flash.8388608_1048576.build.eeprom_start=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_1048576.build.fs_start=275771392 -challenger_2040_lorapicodebug.menu.flash.8388608_1048576.build.fs_end=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) -challenger_2040_lorapicodebug.menu.flash.8388608_2097152.upload.maximum_size=6287360 -challenger_2040_lorapicodebug.menu.flash.8388608_2097152.build.flash_length=6287360 -challenger_2040_lorapicodebug.menu.flash.8388608_2097152.build.eeprom_start=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_2097152.build.fs_start=274722816 -challenger_2040_lorapicodebug.menu.flash.8388608_2097152.build.fs_end=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) -challenger_2040_lorapicodebug.menu.flash.8388608_3145728.upload.maximum_size=5238784 -challenger_2040_lorapicodebug.menu.flash.8388608_3145728.build.flash_length=5238784 -challenger_2040_lorapicodebug.menu.flash.8388608_3145728.build.eeprom_start=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_3145728.build.fs_start=273674240 -challenger_2040_lorapicodebug.menu.flash.8388608_3145728.build.fs_end=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) -challenger_2040_lorapicodebug.menu.flash.8388608_4194304.upload.maximum_size=4190208 -challenger_2040_lorapicodebug.menu.flash.8388608_4194304.build.flash_length=4190208 -challenger_2040_lorapicodebug.menu.flash.8388608_4194304.build.eeprom_start=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_4194304.build.fs_start=272625664 -challenger_2040_lorapicodebug.menu.flash.8388608_4194304.build.fs_end=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) -challenger_2040_lorapicodebug.menu.flash.8388608_5242880.upload.maximum_size=3141632 -challenger_2040_lorapicodebug.menu.flash.8388608_5242880.build.flash_length=3141632 -challenger_2040_lorapicodebug.menu.flash.8388608_5242880.build.eeprom_start=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_5242880.build.fs_start=271577088 -challenger_2040_lorapicodebug.menu.flash.8388608_5242880.build.fs_end=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) -challenger_2040_lorapicodebug.menu.flash.8388608_6291456.upload.maximum_size=2093056 -challenger_2040_lorapicodebug.menu.flash.8388608_6291456.build.flash_length=2093056 -challenger_2040_lorapicodebug.menu.flash.8388608_6291456.build.eeprom_start=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_6291456.build.fs_start=270528512 -challenger_2040_lorapicodebug.menu.flash.8388608_6291456.build.fs_end=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) -challenger_2040_lorapicodebug.menu.flash.8388608_7340032.upload.maximum_size=1044480 -challenger_2040_lorapicodebug.menu.flash.8388608_7340032.build.flash_length=1044480 -challenger_2040_lorapicodebug.menu.flash.8388608_7340032.build.eeprom_start=276819968 -challenger_2040_lorapicodebug.menu.flash.8388608_7340032.build.fs_start=269479936 -challenger_2040_lorapicodebug.menu.flash.8388608_7340032.build.fs_end=276819968 -challenger_2040_lorapicodebug.menu.freq.133=133 MHz -challenger_2040_lorapicodebug.menu.freq.133.build.f_cpu=133000000L -challenger_2040_lorapicodebug.menu.freq.50=50 MHz -challenger_2040_lorapicodebug.menu.freq.50.build.f_cpu=50000000L -challenger_2040_lorapicodebug.menu.freq.100=100 MHz -challenger_2040_lorapicodebug.menu.freq.100.build.f_cpu=100000000L -challenger_2040_lorapicodebug.menu.freq.120=120 MHz -challenger_2040_lorapicodebug.menu.freq.120.build.f_cpu=120000000L -challenger_2040_lorapicodebug.menu.freq.125=125 MHz -challenger_2040_lorapicodebug.menu.freq.125.build.f_cpu=125000000L -challenger_2040_lorapicodebug.menu.freq.150=150 MHz (Overclock) -challenger_2040_lorapicodebug.menu.freq.150.build.f_cpu=150000000L -challenger_2040_lorapicodebug.menu.freq.175=175 MHz (Overclock) -challenger_2040_lorapicodebug.menu.freq.175.build.f_cpu=175000000L -challenger_2040_lorapicodebug.menu.freq.200=200 MHz (Overclock) -challenger_2040_lorapicodebug.menu.freq.200.build.f_cpu=200000000L -challenger_2040_lorapicodebug.menu.freq.225=225 MHz (Overclock) -challenger_2040_lorapicodebug.menu.freq.225.build.f_cpu=225000000L -challenger_2040_lorapicodebug.menu.freq.240=240 MHz (Overclock) -challenger_2040_lorapicodebug.menu.freq.240.build.f_cpu=240000000L -challenger_2040_lorapicodebug.menu.freq.250=250 MHz (Overclock) -challenger_2040_lorapicodebug.menu.freq.250.build.f_cpu=250000000L -challenger_2040_lorapicodebug.menu.freq.275=275 MHz (Overclock) -challenger_2040_lorapicodebug.menu.freq.275.build.f_cpu=275000000L -challenger_2040_lorapicodebug.menu.freq.300=300 MHz (Overclock) -challenger_2040_lorapicodebug.menu.freq.300.build.f_cpu=300000000L -challenger_2040_lorapicodebug.menu.opt.Small=Small (-Os) (standard) -challenger_2040_lorapicodebug.menu.opt.Small.build.flags.optimize=-Os -challenger_2040_lorapicodebug.menu.opt.Optimize=Optimize (-O) -challenger_2040_lorapicodebug.menu.opt.Optimize.build.flags.optimize=-O -challenger_2040_lorapicodebug.menu.opt.Optimize2=Optimize More (-O2) -challenger_2040_lorapicodebug.menu.opt.Optimize2.build.flags.optimize=-O2 -challenger_2040_lorapicodebug.menu.opt.Optimize3=Optimize Even More (-O3) -challenger_2040_lorapicodebug.menu.opt.Optimize3.build.flags.optimize=-O3 -challenger_2040_lorapicodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower) -challenger_2040_lorapicodebug.menu.opt.Fast.build.flags.optimize=-Ofast -challenger_2040_lorapicodebug.menu.opt.Debug=Debug (-Og) -challenger_2040_lorapicodebug.menu.opt.Debug.build.flags.optimize=-Og -challenger_2040_lorapicodebug.menu.rtti.Disabled=Disabled -challenger_2040_lorapicodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti -challenger_2040_lorapicodebug.menu.rtti.Enabled=Enabled -challenger_2040_lorapicodebug.menu.rtti.Enabled.build.flags.rtti= -challenger_2040_lorapicodebug.menu.stackprotect.Disabled=Disabled -challenger_2040_lorapicodebug.menu.stackprotect.Disabled.build.flags.stackprotect= -challenger_2040_lorapicodebug.menu.stackprotect.Enabled=Enabled -challenger_2040_lorapicodebug.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector -challenger_2040_lorapicodebug.menu.exceptions.Disabled=Disabled -challenger_2040_lorapicodebug.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions -challenger_2040_lorapicodebug.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ -challenger_2040_lorapicodebug.menu.exceptions.Enabled=Enabled -challenger_2040_lorapicodebug.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions -challenger_2040_lorapicodebug.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc -challenger_2040_lorapicodebug.menu.dbgport.Disabled=Disabled -challenger_2040_lorapicodebug.menu.dbgport.Disabled.build.debug_port= -challenger_2040_lorapicodebug.menu.dbgport.Serial=Serial -challenger_2040_lorapicodebug.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial -challenger_2040_lorapicodebug.menu.dbgport.Serial1=Serial1 -challenger_2040_lorapicodebug.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 -challenger_2040_lorapicodebug.menu.dbgport.Serial2=Serial2 -challenger_2040_lorapicodebug.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 -challenger_2040_lorapicodebug.menu.dbglvl.None=None -challenger_2040_lorapicodebug.menu.dbglvl.None.build.debug_level= -challenger_2040_lorapicodebug.menu.dbglvl.Core=Core -challenger_2040_lorapicodebug.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE -challenger_2040_lorapicodebug.menu.dbglvl.SPI=SPI -challenger_2040_lorapicodebug.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI -challenger_2040_lorapicodebug.menu.dbglvl.Wire=Wire -challenger_2040_lorapicodebug.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE -challenger_2040_lorapicodebug.menu.dbglvl.All=All -challenger_2040_lorapicodebug.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE -challenger_2040_lorapicodebug.menu.dbglvl.NDEBUG=NDEBUG -challenger_2040_lorapicodebug.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG -challenger_2040_lorapicodebug.menu.usbstack.nousb=No USB -challenger_2040_lorapicodebug.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico" -challenger_2040_lorapicodebug.menu.ipstack.ipv4only=IPv4 Only -challenger_2040_lorapicodebug.menu.ipstack.ipv4only.build.libpico=libpico.a -challenger_2040_lorapicodebug.menu.ipstack.ipv4only.build.lwipdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -challenger_2040_lorapicodebug.menu.ipstack.ipv4ipv6=IPv4 and IPv6 -challenger_2040_lorapicodebug.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6.a -challenger_2040_lorapicodebug.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 - -# ----------------------------------- -# iLabs Challenger 2040 SubGHz -# ----------------------------------- -challenger_2040_subghz.name=iLabs Challenger 2040 SubGHz -challenger_2040_subghz.vid.0=0x2e8a -challenger_2040_subghz.pid.0=0x1032 -challenger_2040_subghz.build.usbpid=-DSERIALUSB_PID=0x1032 -challenger_2040_subghz.build.usbpwr=-DUSBD_MAX_POWER_MA=250 -challenger_2040_subghz.build.board=CHALLENGER_2040_SUBGHZ_RP2040 -challenger_2040_subghz.build.mcu=cortex-m0plus -challenger_2040_subghz.build.variant=challenger_2040_subghz -challenger_2040_subghz.upload.tool=uf2conv -challenger_2040_subghz.upload.maximum_size=8388608 -challenger_2040_subghz.upload.maximum_data_size=262144 -challenger_2040_subghz.upload.wait_for_upload_port=true -challenger_2040_subghz.upload.erase_cmd= -challenger_2040_subghz.serial.disableDTR=false -challenger_2040_subghz.serial.disableRTS=false -challenger_2040_subghz.build.f_cpu=125000000 -challenger_2040_subghz.build.led= -challenger_2040_subghz.build.core=rp2040 -challenger_2040_subghz.build.ldscript=memmap_default.ld -challenger_2040_subghz.build.ram_length=256k -challenger_2040_subghz.build.boot2=boot2_w25q080_2_padded_checksum -challenger_2040_subghz.build.vid=0x2e8a -challenger_2040_subghz.build.pid=0x1032 -challenger_2040_subghz.build.usb_manufacturer="iLabs" -challenger_2040_subghz.build.usb_product="Challenger 2040 SubGHz" -challenger_2040_subghz.menu.flash.8388608_0=8MB (no FS) -challenger_2040_subghz.menu.flash.8388608_0.upload.maximum_size=8384512 -challenger_2040_subghz.menu.flash.8388608_0.build.flash_length=8384512 -challenger_2040_subghz.menu.flash.8388608_0.build.eeprom_start=276819968 -challenger_2040_subghz.menu.flash.8388608_0.build.fs_start=276819968 -challenger_2040_subghz.menu.flash.8388608_0.build.fs_end=276819968 -challenger_2040_subghz.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) -challenger_2040_subghz.menu.flash.8388608_65536.upload.maximum_size=8318976 -challenger_2040_subghz.menu.flash.8388608_65536.build.flash_length=8318976 -challenger_2040_subghz.menu.flash.8388608_65536.build.eeprom_start=276819968 -challenger_2040_subghz.menu.flash.8388608_65536.build.fs_start=276754432 -challenger_2040_subghz.menu.flash.8388608_65536.build.fs_end=276819968 -challenger_2040_subghz.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) -challenger_2040_subghz.menu.flash.8388608_131072.upload.maximum_size=8253440 -challenger_2040_subghz.menu.flash.8388608_131072.build.flash_length=8253440 -challenger_2040_subghz.menu.flash.8388608_131072.build.eeprom_start=276819968 -challenger_2040_subghz.menu.flash.8388608_131072.build.fs_start=276688896 -challenger_2040_subghz.menu.flash.8388608_131072.build.fs_end=276819968 -challenger_2040_subghz.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) -challenger_2040_subghz.menu.flash.8388608_262144.upload.maximum_size=8122368 -challenger_2040_subghz.menu.flash.8388608_262144.build.flash_length=8122368 -challenger_2040_subghz.menu.flash.8388608_262144.build.eeprom_start=276819968 -challenger_2040_subghz.menu.flash.8388608_262144.build.fs_start=276557824 -challenger_2040_subghz.menu.flash.8388608_262144.build.fs_end=276819968 -challenger_2040_subghz.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) -challenger_2040_subghz.menu.flash.8388608_524288.upload.maximum_size=7860224 -challenger_2040_subghz.menu.flash.8388608_524288.build.flash_length=7860224 -challenger_2040_subghz.menu.flash.8388608_524288.build.eeprom_start=276819968 -challenger_2040_subghz.menu.flash.8388608_524288.build.fs_start=276295680 -challenger_2040_subghz.menu.flash.8388608_524288.build.fs_end=276819968 -challenger_2040_subghz.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) -challenger_2040_subghz.menu.flash.8388608_1048576.upload.maximum_size=7335936 -challenger_2040_subghz.menu.flash.8388608_1048576.build.flash_length=7335936 -challenger_2040_subghz.menu.flash.8388608_1048576.build.eeprom_start=276819968 -challenger_2040_subghz.menu.flash.8388608_1048576.build.fs_start=275771392 -challenger_2040_subghz.menu.flash.8388608_1048576.build.fs_end=276819968 -challenger_2040_subghz.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) -challenger_2040_subghz.menu.flash.8388608_2097152.upload.maximum_size=6287360 -challenger_2040_subghz.menu.flash.8388608_2097152.build.flash_length=6287360 -challenger_2040_subghz.menu.flash.8388608_2097152.build.eeprom_start=276819968 -challenger_2040_subghz.menu.flash.8388608_2097152.build.fs_start=274722816 -challenger_2040_subghz.menu.flash.8388608_2097152.build.fs_end=276819968 -challenger_2040_subghz.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) -challenger_2040_subghz.menu.flash.8388608_3145728.upload.maximum_size=5238784 -challenger_2040_subghz.menu.flash.8388608_3145728.build.flash_length=5238784 -challenger_2040_subghz.menu.flash.8388608_3145728.build.eeprom_start=276819968 -challenger_2040_subghz.menu.flash.8388608_3145728.build.fs_start=273674240 -challenger_2040_subghz.menu.flash.8388608_3145728.build.fs_end=276819968 -challenger_2040_subghz.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) -challenger_2040_subghz.menu.flash.8388608_4194304.upload.maximum_size=4190208 -challenger_2040_subghz.menu.flash.8388608_4194304.build.flash_length=4190208 -challenger_2040_subghz.menu.flash.8388608_4194304.build.eeprom_start=276819968 -challenger_2040_subghz.menu.flash.8388608_4194304.build.fs_start=272625664 -challenger_2040_subghz.menu.flash.8388608_4194304.build.fs_end=276819968 -challenger_2040_subghz.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) -challenger_2040_subghz.menu.flash.8388608_5242880.upload.maximum_size=3141632 -challenger_2040_subghz.menu.flash.8388608_5242880.build.flash_length=3141632 -challenger_2040_subghz.menu.flash.8388608_5242880.build.eeprom_start=276819968 -challenger_2040_subghz.menu.flash.8388608_5242880.build.fs_start=271577088 -challenger_2040_subghz.menu.flash.8388608_5242880.build.fs_end=276819968 -challenger_2040_subghz.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) -challenger_2040_subghz.menu.flash.8388608_6291456.upload.maximum_size=2093056 -challenger_2040_subghz.menu.flash.8388608_6291456.build.flash_length=2093056 -challenger_2040_subghz.menu.flash.8388608_6291456.build.eeprom_start=276819968 -challenger_2040_subghz.menu.flash.8388608_6291456.build.fs_start=270528512 -challenger_2040_subghz.menu.flash.8388608_6291456.build.fs_end=276819968 -challenger_2040_subghz.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) -challenger_2040_subghz.menu.flash.8388608_7340032.upload.maximum_size=1044480 -challenger_2040_subghz.menu.flash.8388608_7340032.build.flash_length=1044480 -challenger_2040_subghz.menu.flash.8388608_7340032.build.eeprom_start=276819968 -challenger_2040_subghz.menu.flash.8388608_7340032.build.fs_start=269479936 -challenger_2040_subghz.menu.flash.8388608_7340032.build.fs_end=276819968 -challenger_2040_subghz.menu.freq.133=133 MHz -challenger_2040_subghz.menu.freq.133.build.f_cpu=133000000L -challenger_2040_subghz.menu.freq.50=50 MHz -challenger_2040_subghz.menu.freq.50.build.f_cpu=50000000L -challenger_2040_subghz.menu.freq.100=100 MHz -challenger_2040_subghz.menu.freq.100.build.f_cpu=100000000L -challenger_2040_subghz.menu.freq.120=120 MHz -challenger_2040_subghz.menu.freq.120.build.f_cpu=120000000L -challenger_2040_subghz.menu.freq.125=125 MHz -challenger_2040_subghz.menu.freq.125.build.f_cpu=125000000L -challenger_2040_subghz.menu.freq.150=150 MHz (Overclock) -challenger_2040_subghz.menu.freq.150.build.f_cpu=150000000L -challenger_2040_subghz.menu.freq.175=175 MHz (Overclock) -challenger_2040_subghz.menu.freq.175.build.f_cpu=175000000L -challenger_2040_subghz.menu.freq.200=200 MHz (Overclock) -challenger_2040_subghz.menu.freq.200.build.f_cpu=200000000L -challenger_2040_subghz.menu.freq.225=225 MHz (Overclock) -challenger_2040_subghz.menu.freq.225.build.f_cpu=225000000L -challenger_2040_subghz.menu.freq.240=240 MHz (Overclock) -challenger_2040_subghz.menu.freq.240.build.f_cpu=240000000L -challenger_2040_subghz.menu.freq.250=250 MHz (Overclock) -challenger_2040_subghz.menu.freq.250.build.f_cpu=250000000L -challenger_2040_subghz.menu.freq.275=275 MHz (Overclock) -challenger_2040_subghz.menu.freq.275.build.f_cpu=275000000L -challenger_2040_subghz.menu.freq.300=300 MHz (Overclock) -challenger_2040_subghz.menu.freq.300.build.f_cpu=300000000L -challenger_2040_subghz.menu.opt.Small=Small (-Os) (standard) -challenger_2040_subghz.menu.opt.Small.build.flags.optimize=-Os -challenger_2040_subghz.menu.opt.Optimize=Optimize (-O) -challenger_2040_subghz.menu.opt.Optimize.build.flags.optimize=-O -challenger_2040_subghz.menu.opt.Optimize2=Optimize More (-O2) -challenger_2040_subghz.menu.opt.Optimize2.build.flags.optimize=-O2 -challenger_2040_subghz.menu.opt.Optimize3=Optimize Even More (-O3) -challenger_2040_subghz.menu.opt.Optimize3.build.flags.optimize=-O3 -challenger_2040_subghz.menu.opt.Fast=Fast (-Ofast) (maybe slower) -challenger_2040_subghz.menu.opt.Fast.build.flags.optimize=-Ofast -challenger_2040_subghz.menu.opt.Debug=Debug (-Og) -challenger_2040_subghz.menu.opt.Debug.build.flags.optimize=-Og -challenger_2040_subghz.menu.rtti.Disabled=Disabled -challenger_2040_subghz.menu.rtti.Disabled.build.flags.rtti=-fno-rtti -challenger_2040_subghz.menu.rtti.Enabled=Enabled -challenger_2040_subghz.menu.rtti.Enabled.build.flags.rtti= -challenger_2040_subghz.menu.stackprotect.Disabled=Disabled -challenger_2040_subghz.menu.stackprotect.Disabled.build.flags.stackprotect= -challenger_2040_subghz.menu.stackprotect.Enabled=Enabled -challenger_2040_subghz.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector -challenger_2040_subghz.menu.exceptions.Disabled=Disabled -challenger_2040_subghz.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions -challenger_2040_subghz.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ -challenger_2040_subghz.menu.exceptions.Enabled=Enabled -challenger_2040_subghz.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions -challenger_2040_subghz.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc -challenger_2040_subghz.menu.dbgport.Disabled=Disabled -challenger_2040_subghz.menu.dbgport.Disabled.build.debug_port= -challenger_2040_subghz.menu.dbgport.Serial=Serial -challenger_2040_subghz.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial -challenger_2040_subghz.menu.dbgport.Serial1=Serial1 -challenger_2040_subghz.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 -challenger_2040_subghz.menu.dbgport.Serial2=Serial2 -challenger_2040_subghz.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 -challenger_2040_subghz.menu.dbglvl.None=None -challenger_2040_subghz.menu.dbglvl.None.build.debug_level= -challenger_2040_subghz.menu.dbglvl.Core=Core -challenger_2040_subghz.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE -challenger_2040_subghz.menu.dbglvl.SPI=SPI -challenger_2040_subghz.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI -challenger_2040_subghz.menu.dbglvl.Wire=Wire -challenger_2040_subghz.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE -challenger_2040_subghz.menu.dbglvl.All=All -challenger_2040_subghz.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE -challenger_2040_subghz.menu.dbglvl.NDEBUG=NDEBUG -challenger_2040_subghz.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG -challenger_2040_subghz.menu.usbstack.picosdk=Pico SDK -challenger_2040_subghz.menu.usbstack.picosdk.build.usbstack_flags= -challenger_2040_subghz.menu.usbstack.tinyusb=Adafruit TinyUSB -challenger_2040_subghz.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" -challenger_2040_subghz.menu.ipstack.ipv4only=IPv4 Only -challenger_2040_subghz.menu.ipstack.ipv4only.build.libpico=libpico.a -challenger_2040_subghz.menu.ipstack.ipv4only.build.lwipdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -challenger_2040_subghz.menu.ipstack.ipv4ipv6=IPv4 and IPv6 -challenger_2040_subghz.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6.a -challenger_2040_subghz.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 - -# ----------------------------------- -# iLabs Challenger 2040 SubGHz (Picoprobe) -# ----------------------------------- -challenger_2040_subghzpicoprobe.name=iLabs Challenger 2040 SubGHz (Picoprobe) -challenger_2040_subghzpicoprobe.vid.0=0x2e8a -challenger_2040_subghzpicoprobe.pid.0=0x0004 -challenger_2040_subghzpicoprobe.build.usbpid=-DSERIALUSB_PID=0x1032 -challenger_2040_subghzpicoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=250 -challenger_2040_subghzpicoprobe.build.board=CHALLENGER_2040_SUBGHZ_RP2040 -challenger_2040_subghzpicoprobe.build.mcu=cortex-m0plus -challenger_2040_subghzpicoprobe.build.variant=challenger_2040_subghz -challenger_2040_subghzpicoprobe.upload.tool=picoprobe -challenger_2040_subghzpicoprobe.upload.maximum_size=8388608 -challenger_2040_subghzpicoprobe.upload.maximum_data_size=262144 -challenger_2040_subghzpicoprobe.upload.wait_for_upload_port=true -challenger_2040_subghzpicoprobe.upload.erase_cmd= -challenger_2040_subghzpicoprobe.serial.disableDTR=false -challenger_2040_subghzpicoprobe.serial.disableRTS=false -challenger_2040_subghzpicoprobe.build.f_cpu=125000000 -challenger_2040_subghzpicoprobe.build.led= -challenger_2040_subghzpicoprobe.build.core=rp2040 -challenger_2040_subghzpicoprobe.build.ldscript=memmap_default.ld -challenger_2040_subghzpicoprobe.build.ram_length=256k -challenger_2040_subghzpicoprobe.build.boot2=boot2_w25q080_2_padded_checksum -challenger_2040_subghzpicoprobe.build.vid=0x2e8a -challenger_2040_subghzpicoprobe.build.pid=0x1032 -challenger_2040_subghzpicoprobe.build.usb_manufacturer="iLabs" -challenger_2040_subghzpicoprobe.build.usb_product="Challenger 2040 SubGHz (Picoprobe)" -challenger_2040_subghzpicoprobe.menu.flash.8388608_0=8MB (no FS) -challenger_2040_subghzpicoprobe.menu.flash.8388608_0.upload.maximum_size=8384512 -challenger_2040_subghzpicoprobe.menu.flash.8388608_0.build.flash_length=8384512 -challenger_2040_subghzpicoprobe.menu.flash.8388608_0.build.eeprom_start=276819968 -challenger_2040_subghzpicoprobe.menu.flash.8388608_0.build.fs_start=276819968 -challenger_2040_subghzpicoprobe.menu.flash.8388608_0.build.fs_end=276819968 -challenger_2040_subghzpicoprobe.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) -challenger_2040_subghzpicoprobe.menu.flash.8388608_65536.upload.maximum_size=8318976 -challenger_2040_subghzpicoprobe.menu.flash.8388608_65536.build.flash_length=8318976 -challenger_2040_subghzpicoprobe.menu.flash.8388608_65536.build.eeprom_start=276819968 -challenger_2040_subghzpicoprobe.menu.flash.8388608_65536.build.fs_start=276754432 -challenger_2040_subghzpicoprobe.menu.flash.8388608_65536.build.fs_end=276819968 -challenger_2040_subghzpicoprobe.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) -challenger_2040_subghzpicoprobe.menu.flash.8388608_131072.upload.maximum_size=8253440 -challenger_2040_subghzpicoprobe.menu.flash.8388608_131072.build.flash_length=8253440 -challenger_2040_subghzpicoprobe.menu.flash.8388608_131072.build.eeprom_start=276819968 -challenger_2040_subghzpicoprobe.menu.flash.8388608_131072.build.fs_start=276688896 -challenger_2040_subghzpicoprobe.menu.flash.8388608_131072.build.fs_end=276819968 -challenger_2040_subghzpicoprobe.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) -challenger_2040_subghzpicoprobe.menu.flash.8388608_262144.upload.maximum_size=8122368 -challenger_2040_subghzpicoprobe.menu.flash.8388608_262144.build.flash_length=8122368 -challenger_2040_subghzpicoprobe.menu.flash.8388608_262144.build.eeprom_start=276819968 -challenger_2040_subghzpicoprobe.menu.flash.8388608_262144.build.fs_start=276557824 -challenger_2040_subghzpicoprobe.menu.flash.8388608_262144.build.fs_end=276819968 -challenger_2040_subghzpicoprobe.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) -challenger_2040_subghzpicoprobe.menu.flash.8388608_524288.upload.maximum_size=7860224 -challenger_2040_subghzpicoprobe.menu.flash.8388608_524288.build.flash_length=7860224 -challenger_2040_subghzpicoprobe.menu.flash.8388608_524288.build.eeprom_start=276819968 -challenger_2040_subghzpicoprobe.menu.flash.8388608_524288.build.fs_start=276295680 -challenger_2040_subghzpicoprobe.menu.flash.8388608_524288.build.fs_end=276819968 -challenger_2040_subghzpicoprobe.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) -challenger_2040_subghzpicoprobe.menu.flash.8388608_1048576.upload.maximum_size=7335936 -challenger_2040_subghzpicoprobe.menu.flash.8388608_1048576.build.flash_length=7335936 -challenger_2040_subghzpicoprobe.menu.flash.8388608_1048576.build.eeprom_start=276819968 -challenger_2040_subghzpicoprobe.menu.flash.8388608_1048576.build.fs_start=275771392 -challenger_2040_subghzpicoprobe.menu.flash.8388608_1048576.build.fs_end=276819968 -challenger_2040_subghzpicoprobe.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) -challenger_2040_subghzpicoprobe.menu.flash.8388608_2097152.upload.maximum_size=6287360 -challenger_2040_subghzpicoprobe.menu.flash.8388608_2097152.build.flash_length=6287360 -challenger_2040_subghzpicoprobe.menu.flash.8388608_2097152.build.eeprom_start=276819968 -challenger_2040_subghzpicoprobe.menu.flash.8388608_2097152.build.fs_start=274722816 -challenger_2040_subghzpicoprobe.menu.flash.8388608_2097152.build.fs_end=276819968 -challenger_2040_subghzpicoprobe.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) -challenger_2040_subghzpicoprobe.menu.flash.8388608_3145728.upload.maximum_size=5238784 -challenger_2040_subghzpicoprobe.menu.flash.8388608_3145728.build.flash_length=5238784 -challenger_2040_subghzpicoprobe.menu.flash.8388608_3145728.build.eeprom_start=276819968 -challenger_2040_subghzpicoprobe.menu.flash.8388608_3145728.build.fs_start=273674240 -challenger_2040_subghzpicoprobe.menu.flash.8388608_3145728.build.fs_end=276819968 -challenger_2040_subghzpicoprobe.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) -challenger_2040_subghzpicoprobe.menu.flash.8388608_4194304.upload.maximum_size=4190208 -challenger_2040_subghzpicoprobe.menu.flash.8388608_4194304.build.flash_length=4190208 -challenger_2040_subghzpicoprobe.menu.flash.8388608_4194304.build.eeprom_start=276819968 -challenger_2040_subghzpicoprobe.menu.flash.8388608_4194304.build.fs_start=272625664 -challenger_2040_subghzpicoprobe.menu.flash.8388608_4194304.build.fs_end=276819968 -challenger_2040_subghzpicoprobe.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) -challenger_2040_subghzpicoprobe.menu.flash.8388608_5242880.upload.maximum_size=3141632 -challenger_2040_subghzpicoprobe.menu.flash.8388608_5242880.build.flash_length=3141632 -challenger_2040_subghzpicoprobe.menu.flash.8388608_5242880.build.eeprom_start=276819968 -challenger_2040_subghzpicoprobe.menu.flash.8388608_5242880.build.fs_start=271577088 -challenger_2040_subghzpicoprobe.menu.flash.8388608_5242880.build.fs_end=276819968 -challenger_2040_subghzpicoprobe.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) -challenger_2040_subghzpicoprobe.menu.flash.8388608_6291456.upload.maximum_size=2093056 -challenger_2040_subghzpicoprobe.menu.flash.8388608_6291456.build.flash_length=2093056 -challenger_2040_subghzpicoprobe.menu.flash.8388608_6291456.build.eeprom_start=276819968 -challenger_2040_subghzpicoprobe.menu.flash.8388608_6291456.build.fs_start=270528512 -challenger_2040_subghzpicoprobe.menu.flash.8388608_6291456.build.fs_end=276819968 -challenger_2040_subghzpicoprobe.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) -challenger_2040_subghzpicoprobe.menu.flash.8388608_7340032.upload.maximum_size=1044480 -challenger_2040_subghzpicoprobe.menu.flash.8388608_7340032.build.flash_length=1044480 -challenger_2040_subghzpicoprobe.menu.flash.8388608_7340032.build.eeprom_start=276819968 -challenger_2040_subghzpicoprobe.menu.flash.8388608_7340032.build.fs_start=269479936 -challenger_2040_subghzpicoprobe.menu.flash.8388608_7340032.build.fs_end=276819968 -challenger_2040_subghzpicoprobe.menu.freq.133=133 MHz -challenger_2040_subghzpicoprobe.menu.freq.133.build.f_cpu=133000000L -challenger_2040_subghzpicoprobe.menu.freq.50=50 MHz -challenger_2040_subghzpicoprobe.menu.freq.50.build.f_cpu=50000000L -challenger_2040_subghzpicoprobe.menu.freq.100=100 MHz -challenger_2040_subghzpicoprobe.menu.freq.100.build.f_cpu=100000000L -challenger_2040_subghzpicoprobe.menu.freq.120=120 MHz -challenger_2040_subghzpicoprobe.menu.freq.120.build.f_cpu=120000000L -challenger_2040_subghzpicoprobe.menu.freq.125=125 MHz -challenger_2040_subghzpicoprobe.menu.freq.125.build.f_cpu=125000000L -challenger_2040_subghzpicoprobe.menu.freq.150=150 MHz (Overclock) -challenger_2040_subghzpicoprobe.menu.freq.150.build.f_cpu=150000000L -challenger_2040_subghzpicoprobe.menu.freq.175=175 MHz (Overclock) -challenger_2040_subghzpicoprobe.menu.freq.175.build.f_cpu=175000000L -challenger_2040_subghzpicoprobe.menu.freq.200=200 MHz (Overclock) -challenger_2040_subghzpicoprobe.menu.freq.200.build.f_cpu=200000000L -challenger_2040_subghzpicoprobe.menu.freq.225=225 MHz (Overclock) -challenger_2040_subghzpicoprobe.menu.freq.225.build.f_cpu=225000000L -challenger_2040_subghzpicoprobe.menu.freq.240=240 MHz (Overclock) -challenger_2040_subghzpicoprobe.menu.freq.240.build.f_cpu=240000000L -challenger_2040_subghzpicoprobe.menu.freq.250=250 MHz (Overclock) -challenger_2040_subghzpicoprobe.menu.freq.250.build.f_cpu=250000000L -challenger_2040_subghzpicoprobe.menu.freq.275=275 MHz (Overclock) -challenger_2040_subghzpicoprobe.menu.freq.275.build.f_cpu=275000000L -challenger_2040_subghzpicoprobe.menu.freq.300=300 MHz (Overclock) -challenger_2040_subghzpicoprobe.menu.freq.300.build.f_cpu=300000000L -challenger_2040_subghzpicoprobe.menu.opt.Small=Small (-Os) (standard) -challenger_2040_subghzpicoprobe.menu.opt.Small.build.flags.optimize=-Os -challenger_2040_subghzpicoprobe.menu.opt.Optimize=Optimize (-O) -challenger_2040_subghzpicoprobe.menu.opt.Optimize.build.flags.optimize=-O -challenger_2040_subghzpicoprobe.menu.opt.Optimize2=Optimize More (-O2) -challenger_2040_subghzpicoprobe.menu.opt.Optimize2.build.flags.optimize=-O2 -challenger_2040_subghzpicoprobe.menu.opt.Optimize3=Optimize Even More (-O3) -challenger_2040_subghzpicoprobe.menu.opt.Optimize3.build.flags.optimize=-O3 -challenger_2040_subghzpicoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower) -challenger_2040_subghzpicoprobe.menu.opt.Fast.build.flags.optimize=-Ofast -challenger_2040_subghzpicoprobe.menu.opt.Debug=Debug (-Og) -challenger_2040_subghzpicoprobe.menu.opt.Debug.build.flags.optimize=-Og -challenger_2040_subghzpicoprobe.menu.rtti.Disabled=Disabled -challenger_2040_subghzpicoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti -challenger_2040_subghzpicoprobe.menu.rtti.Enabled=Enabled -challenger_2040_subghzpicoprobe.menu.rtti.Enabled.build.flags.rtti= -challenger_2040_subghzpicoprobe.menu.stackprotect.Disabled=Disabled -challenger_2040_subghzpicoprobe.menu.stackprotect.Disabled.build.flags.stackprotect= -challenger_2040_subghzpicoprobe.menu.stackprotect.Enabled=Enabled -challenger_2040_subghzpicoprobe.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector -challenger_2040_subghzpicoprobe.menu.exceptions.Disabled=Disabled -challenger_2040_subghzpicoprobe.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions -challenger_2040_subghzpicoprobe.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ -challenger_2040_subghzpicoprobe.menu.exceptions.Enabled=Enabled -challenger_2040_subghzpicoprobe.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions -challenger_2040_subghzpicoprobe.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc -challenger_2040_subghzpicoprobe.menu.dbgport.Disabled=Disabled -challenger_2040_subghzpicoprobe.menu.dbgport.Disabled.build.debug_port= -challenger_2040_subghzpicoprobe.menu.dbgport.Serial=Serial -challenger_2040_subghzpicoprobe.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial -challenger_2040_subghzpicoprobe.menu.dbgport.Serial1=Serial1 -challenger_2040_subghzpicoprobe.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 -challenger_2040_subghzpicoprobe.menu.dbgport.Serial2=Serial2 -challenger_2040_subghzpicoprobe.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 -challenger_2040_subghzpicoprobe.menu.dbglvl.None=None -challenger_2040_subghzpicoprobe.menu.dbglvl.None.build.debug_level= -challenger_2040_subghzpicoprobe.menu.dbglvl.Core=Core -challenger_2040_subghzpicoprobe.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE -challenger_2040_subghzpicoprobe.menu.dbglvl.SPI=SPI -challenger_2040_subghzpicoprobe.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI -challenger_2040_subghzpicoprobe.menu.dbglvl.Wire=Wire -challenger_2040_subghzpicoprobe.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE -challenger_2040_subghzpicoprobe.menu.dbglvl.All=All -challenger_2040_subghzpicoprobe.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE -challenger_2040_subghzpicoprobe.menu.dbglvl.NDEBUG=NDEBUG -challenger_2040_subghzpicoprobe.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG -challenger_2040_subghzpicoprobe.menu.usbstack.picosdk=Pico SDK -challenger_2040_subghzpicoprobe.menu.usbstack.picosdk.build.usbstack_flags= -challenger_2040_subghzpicoprobe.menu.usbstack.tinyusb=Adafruit TinyUSB -challenger_2040_subghzpicoprobe.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" -challenger_2040_subghzpicoprobe.menu.ipstack.ipv4only=IPv4 Only -challenger_2040_subghzpicoprobe.menu.ipstack.ipv4only.build.libpico=libpico.a -challenger_2040_subghzpicoprobe.menu.ipstack.ipv4only.build.lwipdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -challenger_2040_subghzpicoprobe.menu.ipstack.ipv4ipv6=IPv4 and IPv6 -challenger_2040_subghzpicoprobe.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6.a -challenger_2040_subghzpicoprobe.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 - -# ----------------------------------- -# iLabs Challenger 2040 SubGHz (pico-debug) -# ----------------------------------- -challenger_2040_subghzpicodebug.name=iLabs Challenger 2040 SubGHz (pico-debug) -challenger_2040_subghzpicodebug.vid.0=0x1209 -challenger_2040_subghzpicodebug.pid.0=0x2488 -challenger_2040_subghzpicodebug.build.usbpid=-DSERIALUSB_PID=0x1032 -challenger_2040_subghzpicodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=250 -challenger_2040_subghzpicodebug.build.board=CHALLENGER_2040_SUBGHZ_RP2040 -challenger_2040_subghzpicodebug.build.mcu=cortex-m0plus -challenger_2040_subghzpicodebug.build.variant=challenger_2040_subghz -challenger_2040_subghzpicodebug.upload.tool=picodebug -challenger_2040_subghzpicodebug.upload.maximum_size=8388608 -challenger_2040_subghzpicodebug.upload.maximum_data_size=245760 -challenger_2040_subghzpicodebug.upload.wait_for_upload_port=true -challenger_2040_subghzpicodebug.upload.erase_cmd= -challenger_2040_subghzpicodebug.serial.disableDTR=false -challenger_2040_subghzpicodebug.serial.disableRTS=false -challenger_2040_subghzpicodebug.build.f_cpu=125000000 -challenger_2040_subghzpicodebug.build.led= -challenger_2040_subghzpicodebug.build.core=rp2040 -challenger_2040_subghzpicodebug.build.ldscript=memmap_default.ld -challenger_2040_subghzpicodebug.build.ram_length=240k -challenger_2040_subghzpicodebug.build.boot2=boot2_w25q080_2_padded_checksum -challenger_2040_subghzpicodebug.build.vid=0x2e8a -challenger_2040_subghzpicodebug.build.pid=0x1032 -challenger_2040_subghzpicodebug.build.usb_manufacturer="iLabs" -challenger_2040_subghzpicodebug.build.usb_product="Challenger 2040 SubGHz (pico-debug)" -challenger_2040_subghzpicodebug.menu.flash.8388608_0=8MB (no FS) -challenger_2040_subghzpicodebug.menu.flash.8388608_0.upload.maximum_size=8384512 -challenger_2040_subghzpicodebug.menu.flash.8388608_0.build.flash_length=8384512 -challenger_2040_subghzpicodebug.menu.flash.8388608_0.build.eeprom_start=276819968 -challenger_2040_subghzpicodebug.menu.flash.8388608_0.build.fs_start=276819968 -challenger_2040_subghzpicodebug.menu.flash.8388608_0.build.fs_end=276819968 -challenger_2040_subghzpicodebug.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) -challenger_2040_subghzpicodebug.menu.flash.8388608_65536.upload.maximum_size=8318976 -challenger_2040_subghzpicodebug.menu.flash.8388608_65536.build.flash_length=8318976 -challenger_2040_subghzpicodebug.menu.flash.8388608_65536.build.eeprom_start=276819968 -challenger_2040_subghzpicodebug.menu.flash.8388608_65536.build.fs_start=276754432 -challenger_2040_subghzpicodebug.menu.flash.8388608_65536.build.fs_end=276819968 -challenger_2040_subghzpicodebug.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) -challenger_2040_subghzpicodebug.menu.flash.8388608_131072.upload.maximum_size=8253440 -challenger_2040_subghzpicodebug.menu.flash.8388608_131072.build.flash_length=8253440 -challenger_2040_subghzpicodebug.menu.flash.8388608_131072.build.eeprom_start=276819968 -challenger_2040_subghzpicodebug.menu.flash.8388608_131072.build.fs_start=276688896 -challenger_2040_subghzpicodebug.menu.flash.8388608_131072.build.fs_end=276819968 -challenger_2040_subghzpicodebug.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) -challenger_2040_subghzpicodebug.menu.flash.8388608_262144.upload.maximum_size=8122368 -challenger_2040_subghzpicodebug.menu.flash.8388608_262144.build.flash_length=8122368 -challenger_2040_subghzpicodebug.menu.flash.8388608_262144.build.eeprom_start=276819968 -challenger_2040_subghzpicodebug.menu.flash.8388608_262144.build.fs_start=276557824 -challenger_2040_subghzpicodebug.menu.flash.8388608_262144.build.fs_end=276819968 -challenger_2040_subghzpicodebug.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) -challenger_2040_subghzpicodebug.menu.flash.8388608_524288.upload.maximum_size=7860224 -challenger_2040_subghzpicodebug.menu.flash.8388608_524288.build.flash_length=7860224 -challenger_2040_subghzpicodebug.menu.flash.8388608_524288.build.eeprom_start=276819968 -challenger_2040_subghzpicodebug.menu.flash.8388608_524288.build.fs_start=276295680 -challenger_2040_subghzpicodebug.menu.flash.8388608_524288.build.fs_end=276819968 -challenger_2040_subghzpicodebug.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) -challenger_2040_subghzpicodebug.menu.flash.8388608_1048576.upload.maximum_size=7335936 -challenger_2040_subghzpicodebug.menu.flash.8388608_1048576.build.flash_length=7335936 -challenger_2040_subghzpicodebug.menu.flash.8388608_1048576.build.eeprom_start=276819968 -challenger_2040_subghzpicodebug.menu.flash.8388608_1048576.build.fs_start=275771392 -challenger_2040_subghzpicodebug.menu.flash.8388608_1048576.build.fs_end=276819968 -challenger_2040_subghzpicodebug.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) -challenger_2040_subghzpicodebug.menu.flash.8388608_2097152.upload.maximum_size=6287360 -challenger_2040_subghzpicodebug.menu.flash.8388608_2097152.build.flash_length=6287360 -challenger_2040_subghzpicodebug.menu.flash.8388608_2097152.build.eeprom_start=276819968 -challenger_2040_subghzpicodebug.menu.flash.8388608_2097152.build.fs_start=274722816 -challenger_2040_subghzpicodebug.menu.flash.8388608_2097152.build.fs_end=276819968 -challenger_2040_subghzpicodebug.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) -challenger_2040_subghzpicodebug.menu.flash.8388608_3145728.upload.maximum_size=5238784 -challenger_2040_subghzpicodebug.menu.flash.8388608_3145728.build.flash_length=5238784 -challenger_2040_subghzpicodebug.menu.flash.8388608_3145728.build.eeprom_start=276819968 -challenger_2040_subghzpicodebug.menu.flash.8388608_3145728.build.fs_start=273674240 -challenger_2040_subghzpicodebug.menu.flash.8388608_3145728.build.fs_end=276819968 -challenger_2040_subghzpicodebug.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) -challenger_2040_subghzpicodebug.menu.flash.8388608_4194304.upload.maximum_size=4190208 -challenger_2040_subghzpicodebug.menu.flash.8388608_4194304.build.flash_length=4190208 -challenger_2040_subghzpicodebug.menu.flash.8388608_4194304.build.eeprom_start=276819968 -challenger_2040_subghzpicodebug.menu.flash.8388608_4194304.build.fs_start=272625664 -challenger_2040_subghzpicodebug.menu.flash.8388608_4194304.build.fs_end=276819968 -challenger_2040_subghzpicodebug.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) -challenger_2040_subghzpicodebug.menu.flash.8388608_5242880.upload.maximum_size=3141632 -challenger_2040_subghzpicodebug.menu.flash.8388608_5242880.build.flash_length=3141632 -challenger_2040_subghzpicodebug.menu.flash.8388608_5242880.build.eeprom_start=276819968 -challenger_2040_subghzpicodebug.menu.flash.8388608_5242880.build.fs_start=271577088 -challenger_2040_subghzpicodebug.menu.flash.8388608_5242880.build.fs_end=276819968 -challenger_2040_subghzpicodebug.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) -challenger_2040_subghzpicodebug.menu.flash.8388608_6291456.upload.maximum_size=2093056 -challenger_2040_subghzpicodebug.menu.flash.8388608_6291456.build.flash_length=2093056 -challenger_2040_subghzpicodebug.menu.flash.8388608_6291456.build.eeprom_start=276819968 -challenger_2040_subghzpicodebug.menu.flash.8388608_6291456.build.fs_start=270528512 -challenger_2040_subghzpicodebug.menu.flash.8388608_6291456.build.fs_end=276819968 -challenger_2040_subghzpicodebug.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) -challenger_2040_subghzpicodebug.menu.flash.8388608_7340032.upload.maximum_size=1044480 -challenger_2040_subghzpicodebug.menu.flash.8388608_7340032.build.flash_length=1044480 -challenger_2040_subghzpicodebug.menu.flash.8388608_7340032.build.eeprom_start=276819968 -challenger_2040_subghzpicodebug.menu.flash.8388608_7340032.build.fs_start=269479936 -challenger_2040_subghzpicodebug.menu.flash.8388608_7340032.build.fs_end=276819968 -challenger_2040_subghzpicodebug.menu.freq.133=133 MHz -challenger_2040_subghzpicodebug.menu.freq.133.build.f_cpu=133000000L -challenger_2040_subghzpicodebug.menu.freq.50=50 MHz -challenger_2040_subghzpicodebug.menu.freq.50.build.f_cpu=50000000L -challenger_2040_subghzpicodebug.menu.freq.100=100 MHz -challenger_2040_subghzpicodebug.menu.freq.100.build.f_cpu=100000000L -challenger_2040_subghzpicodebug.menu.freq.120=120 MHz -challenger_2040_subghzpicodebug.menu.freq.120.build.f_cpu=120000000L -challenger_2040_subghzpicodebug.menu.freq.125=125 MHz -challenger_2040_subghzpicodebug.menu.freq.125.build.f_cpu=125000000L -challenger_2040_subghzpicodebug.menu.freq.150=150 MHz (Overclock) -challenger_2040_subghzpicodebug.menu.freq.150.build.f_cpu=150000000L -challenger_2040_subghzpicodebug.menu.freq.175=175 MHz (Overclock) -challenger_2040_subghzpicodebug.menu.freq.175.build.f_cpu=175000000L -challenger_2040_subghzpicodebug.menu.freq.200=200 MHz (Overclock) -challenger_2040_subghzpicodebug.menu.freq.200.build.f_cpu=200000000L -challenger_2040_subghzpicodebug.menu.freq.225=225 MHz (Overclock) -challenger_2040_subghzpicodebug.menu.freq.225.build.f_cpu=225000000L -challenger_2040_subghzpicodebug.menu.freq.240=240 MHz (Overclock) -challenger_2040_subghzpicodebug.menu.freq.240.build.f_cpu=240000000L -challenger_2040_subghzpicodebug.menu.freq.250=250 MHz (Overclock) -challenger_2040_subghzpicodebug.menu.freq.250.build.f_cpu=250000000L -challenger_2040_subghzpicodebug.menu.freq.275=275 MHz (Overclock) -challenger_2040_subghzpicodebug.menu.freq.275.build.f_cpu=275000000L -challenger_2040_subghzpicodebug.menu.freq.300=300 MHz (Overclock) -challenger_2040_subghzpicodebug.menu.freq.300.build.f_cpu=300000000L -challenger_2040_subghzpicodebug.menu.opt.Small=Small (-Os) (standard) -challenger_2040_subghzpicodebug.menu.opt.Small.build.flags.optimize=-Os -challenger_2040_subghzpicodebug.menu.opt.Optimize=Optimize (-O) -challenger_2040_subghzpicodebug.menu.opt.Optimize.build.flags.optimize=-O -challenger_2040_subghzpicodebug.menu.opt.Optimize2=Optimize More (-O2) -challenger_2040_subghzpicodebug.menu.opt.Optimize2.build.flags.optimize=-O2 -challenger_2040_subghzpicodebug.menu.opt.Optimize3=Optimize Even More (-O3) -challenger_2040_subghzpicodebug.menu.opt.Optimize3.build.flags.optimize=-O3 -challenger_2040_subghzpicodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower) -challenger_2040_subghzpicodebug.menu.opt.Fast.build.flags.optimize=-Ofast -challenger_2040_subghzpicodebug.menu.opt.Debug=Debug (-Og) -challenger_2040_subghzpicodebug.menu.opt.Debug.build.flags.optimize=-Og -challenger_2040_subghzpicodebug.menu.rtti.Disabled=Disabled -challenger_2040_subghzpicodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti -challenger_2040_subghzpicodebug.menu.rtti.Enabled=Enabled -challenger_2040_subghzpicodebug.menu.rtti.Enabled.build.flags.rtti= -challenger_2040_subghzpicodebug.menu.stackprotect.Disabled=Disabled -challenger_2040_subghzpicodebug.menu.stackprotect.Disabled.build.flags.stackprotect= -challenger_2040_subghzpicodebug.menu.stackprotect.Enabled=Enabled -challenger_2040_subghzpicodebug.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector -challenger_2040_subghzpicodebug.menu.exceptions.Disabled=Disabled -challenger_2040_subghzpicodebug.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions -challenger_2040_subghzpicodebug.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ -challenger_2040_subghzpicodebug.menu.exceptions.Enabled=Enabled -challenger_2040_subghzpicodebug.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions -challenger_2040_subghzpicodebug.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc -challenger_2040_subghzpicodebug.menu.dbgport.Disabled=Disabled -challenger_2040_subghzpicodebug.menu.dbgport.Disabled.build.debug_port= -challenger_2040_subghzpicodebug.menu.dbgport.Serial=Serial -challenger_2040_subghzpicodebug.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial -challenger_2040_subghzpicodebug.menu.dbgport.Serial1=Serial1 -challenger_2040_subghzpicodebug.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 -challenger_2040_subghzpicodebug.menu.dbgport.Serial2=Serial2 -challenger_2040_subghzpicodebug.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 -challenger_2040_subghzpicodebug.menu.dbglvl.None=None -challenger_2040_subghzpicodebug.menu.dbglvl.None.build.debug_level= -challenger_2040_subghzpicodebug.menu.dbglvl.Core=Core -challenger_2040_subghzpicodebug.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE -challenger_2040_subghzpicodebug.menu.dbglvl.SPI=SPI -challenger_2040_subghzpicodebug.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI -challenger_2040_subghzpicodebug.menu.dbglvl.Wire=Wire -challenger_2040_subghzpicodebug.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE -challenger_2040_subghzpicodebug.menu.dbglvl.All=All -challenger_2040_subghzpicodebug.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE -challenger_2040_subghzpicodebug.menu.dbglvl.NDEBUG=NDEBUG -challenger_2040_subghzpicodebug.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG -challenger_2040_subghzpicodebug.menu.usbstack.nousb=No USB -challenger_2040_subghzpicodebug.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico" -challenger_2040_subghzpicodebug.menu.ipstack.ipv4only=IPv4 Only -challenger_2040_subghzpicodebug.menu.ipstack.ipv4only.build.libpico=libpico.a -challenger_2040_subghzpicodebug.menu.ipstack.ipv4only.build.lwipdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -challenger_2040_subghzpicodebug.menu.ipstack.ipv4ipv6=IPv4 and IPv6 -challenger_2040_subghzpicodebug.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6.a -challenger_2040_subghzpicodebug.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 - -# ----------------------------------- -# iLabs Challenger 2040 WiFi -# ----------------------------------- -challenger_2040_wifi.name=iLabs Challenger 2040 WiFi -challenger_2040_wifi.vid.0=0x2e8a -challenger_2040_wifi.pid.0=0x1006 -challenger_2040_wifi.build.usbpid=-DSERIALUSB_PID=0x1006 -challenger_2040_wifi.build.usbpwr=-DUSBD_MAX_POWER_MA=250 -challenger_2040_wifi.build.board=CHALLENGER_2040_WIFI_RP2040 -challenger_2040_wifi.build.mcu=cortex-m0plus -challenger_2040_wifi.build.variant=challenger_2040_wifi -challenger_2040_wifi.upload.tool=uf2conv -challenger_2040_wifi.upload.maximum_size=8388608 -challenger_2040_wifi.upload.maximum_data_size=262144 -challenger_2040_wifi.upload.wait_for_upload_port=true -challenger_2040_wifi.upload.erase_cmd= -challenger_2040_wifi.serial.disableDTR=false -challenger_2040_wifi.serial.disableRTS=false -challenger_2040_wifi.build.f_cpu=125000000 -challenger_2040_wifi.build.led= -challenger_2040_wifi.build.core=rp2040 -challenger_2040_wifi.build.ldscript=memmap_default.ld -challenger_2040_wifi.build.ram_length=256k -challenger_2040_wifi.build.boot2=boot2_w25q080_2_padded_checksum -challenger_2040_wifi.build.vid=0x2e8a -challenger_2040_wifi.build.pid=0x1006 -challenger_2040_wifi.build.usb_manufacturer="iLabs" -challenger_2040_wifi.build.usb_product="Challenger 2040 WiFi" -challenger_2040_wifi.menu.flash.8388608_0=8MB (no FS) -challenger_2040_wifi.menu.flash.8388608_0.upload.maximum_size=8384512 -challenger_2040_wifi.menu.flash.8388608_0.build.flash_length=8384512 -challenger_2040_wifi.menu.flash.8388608_0.build.eeprom_start=276819968 -challenger_2040_wifi.menu.flash.8388608_0.build.fs_start=276819968 -challenger_2040_wifi.menu.flash.8388608_0.build.fs_end=276819968 -challenger_2040_wifi.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) -challenger_2040_wifi.menu.flash.8388608_65536.upload.maximum_size=8318976 -challenger_2040_wifi.menu.flash.8388608_65536.build.flash_length=8318976 -challenger_2040_wifi.menu.flash.8388608_65536.build.eeprom_start=276819968 -challenger_2040_wifi.menu.flash.8388608_65536.build.fs_start=276754432 -challenger_2040_wifi.menu.flash.8388608_65536.build.fs_end=276819968 -challenger_2040_wifi.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) -challenger_2040_wifi.menu.flash.8388608_131072.upload.maximum_size=8253440 -challenger_2040_wifi.menu.flash.8388608_131072.build.flash_length=8253440 -challenger_2040_wifi.menu.flash.8388608_131072.build.eeprom_start=276819968 -challenger_2040_wifi.menu.flash.8388608_131072.build.fs_start=276688896 -challenger_2040_wifi.menu.flash.8388608_131072.build.fs_end=276819968 -challenger_2040_wifi.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) -challenger_2040_wifi.menu.flash.8388608_262144.upload.maximum_size=8122368 -challenger_2040_wifi.menu.flash.8388608_262144.build.flash_length=8122368 -challenger_2040_wifi.menu.flash.8388608_262144.build.eeprom_start=276819968 -challenger_2040_wifi.menu.flash.8388608_262144.build.fs_start=276557824 -challenger_2040_wifi.menu.flash.8388608_262144.build.fs_end=276819968 -challenger_2040_wifi.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) -challenger_2040_wifi.menu.flash.8388608_524288.upload.maximum_size=7860224 -challenger_2040_wifi.menu.flash.8388608_524288.build.flash_length=7860224 -challenger_2040_wifi.menu.flash.8388608_524288.build.eeprom_start=276819968 -challenger_2040_wifi.menu.flash.8388608_524288.build.fs_start=276295680 -challenger_2040_wifi.menu.flash.8388608_524288.build.fs_end=276819968 -challenger_2040_wifi.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) -challenger_2040_wifi.menu.flash.8388608_1048576.upload.maximum_size=7335936 -challenger_2040_wifi.menu.flash.8388608_1048576.build.flash_length=7335936 -challenger_2040_wifi.menu.flash.8388608_1048576.build.eeprom_start=276819968 -challenger_2040_wifi.menu.flash.8388608_1048576.build.fs_start=275771392 -challenger_2040_wifi.menu.flash.8388608_1048576.build.fs_end=276819968 -challenger_2040_wifi.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) -challenger_2040_wifi.menu.flash.8388608_2097152.upload.maximum_size=6287360 -challenger_2040_wifi.menu.flash.8388608_2097152.build.flash_length=6287360 -challenger_2040_wifi.menu.flash.8388608_2097152.build.eeprom_start=276819968 -challenger_2040_wifi.menu.flash.8388608_2097152.build.fs_start=274722816 -challenger_2040_wifi.menu.flash.8388608_2097152.build.fs_end=276819968 -challenger_2040_wifi.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) -challenger_2040_wifi.menu.flash.8388608_3145728.upload.maximum_size=5238784 -challenger_2040_wifi.menu.flash.8388608_3145728.build.flash_length=5238784 -challenger_2040_wifi.menu.flash.8388608_3145728.build.eeprom_start=276819968 -challenger_2040_wifi.menu.flash.8388608_3145728.build.fs_start=273674240 -challenger_2040_wifi.menu.flash.8388608_3145728.build.fs_end=276819968 -challenger_2040_wifi.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) -challenger_2040_wifi.menu.flash.8388608_4194304.upload.maximum_size=4190208 -challenger_2040_wifi.menu.flash.8388608_4194304.build.flash_length=4190208 -challenger_2040_wifi.menu.flash.8388608_4194304.build.eeprom_start=276819968 -challenger_2040_wifi.menu.flash.8388608_4194304.build.fs_start=272625664 -challenger_2040_wifi.menu.flash.8388608_4194304.build.fs_end=276819968 -challenger_2040_wifi.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) -challenger_2040_wifi.menu.flash.8388608_5242880.upload.maximum_size=3141632 -challenger_2040_wifi.menu.flash.8388608_5242880.build.flash_length=3141632 -challenger_2040_wifi.menu.flash.8388608_5242880.build.eeprom_start=276819968 -challenger_2040_wifi.menu.flash.8388608_5242880.build.fs_start=271577088 -challenger_2040_wifi.menu.flash.8388608_5242880.build.fs_end=276819968 -challenger_2040_wifi.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) -challenger_2040_wifi.menu.flash.8388608_6291456.upload.maximum_size=2093056 -challenger_2040_wifi.menu.flash.8388608_6291456.build.flash_length=2093056 -challenger_2040_wifi.menu.flash.8388608_6291456.build.eeprom_start=276819968 -challenger_2040_wifi.menu.flash.8388608_6291456.build.fs_start=270528512 -challenger_2040_wifi.menu.flash.8388608_6291456.build.fs_end=276819968 -challenger_2040_wifi.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) -challenger_2040_wifi.menu.flash.8388608_7340032.upload.maximum_size=1044480 -challenger_2040_wifi.menu.flash.8388608_7340032.build.flash_length=1044480 -challenger_2040_wifi.menu.flash.8388608_7340032.build.eeprom_start=276819968 -challenger_2040_wifi.menu.flash.8388608_7340032.build.fs_start=269479936 -challenger_2040_wifi.menu.flash.8388608_7340032.build.fs_end=276819968 -challenger_2040_wifi.menu.freq.133=133 MHz -challenger_2040_wifi.menu.freq.133.build.f_cpu=133000000L -challenger_2040_wifi.menu.freq.50=50 MHz -challenger_2040_wifi.menu.freq.50.build.f_cpu=50000000L -challenger_2040_wifi.menu.freq.100=100 MHz -challenger_2040_wifi.menu.freq.100.build.f_cpu=100000000L -challenger_2040_wifi.menu.freq.120=120 MHz -challenger_2040_wifi.menu.freq.120.build.f_cpu=120000000L -challenger_2040_wifi.menu.freq.125=125 MHz -challenger_2040_wifi.menu.freq.125.build.f_cpu=125000000L -challenger_2040_wifi.menu.freq.150=150 MHz (Overclock) -challenger_2040_wifi.menu.freq.150.build.f_cpu=150000000L -challenger_2040_wifi.menu.freq.175=175 MHz (Overclock) -challenger_2040_wifi.menu.freq.175.build.f_cpu=175000000L -challenger_2040_wifi.menu.freq.200=200 MHz (Overclock) -challenger_2040_wifi.menu.freq.200.build.f_cpu=200000000L -challenger_2040_wifi.menu.freq.225=225 MHz (Overclock) -challenger_2040_wifi.menu.freq.225.build.f_cpu=225000000L -challenger_2040_wifi.menu.freq.240=240 MHz (Overclock) -challenger_2040_wifi.menu.freq.240.build.f_cpu=240000000L -challenger_2040_wifi.menu.freq.250=250 MHz (Overclock) -challenger_2040_wifi.menu.freq.250.build.f_cpu=250000000L -challenger_2040_wifi.menu.freq.275=275 MHz (Overclock) -challenger_2040_wifi.menu.freq.275.build.f_cpu=275000000L -challenger_2040_wifi.menu.freq.300=300 MHz (Overclock) -challenger_2040_wifi.menu.freq.300.build.f_cpu=300000000L -challenger_2040_wifi.menu.opt.Small=Small (-Os) (standard) -challenger_2040_wifi.menu.opt.Small.build.flags.optimize=-Os -challenger_2040_wifi.menu.opt.Optimize=Optimize (-O) -challenger_2040_wifi.menu.opt.Optimize.build.flags.optimize=-O -challenger_2040_wifi.menu.opt.Optimize2=Optimize More (-O2) -challenger_2040_wifi.menu.opt.Optimize2.build.flags.optimize=-O2 -challenger_2040_wifi.menu.opt.Optimize3=Optimize Even More (-O3) -challenger_2040_wifi.menu.opt.Optimize3.build.flags.optimize=-O3 -challenger_2040_wifi.menu.opt.Fast=Fast (-Ofast) (maybe slower) -challenger_2040_wifi.menu.opt.Fast.build.flags.optimize=-Ofast -challenger_2040_wifi.menu.opt.Debug=Debug (-Og) -challenger_2040_wifi.menu.opt.Debug.build.flags.optimize=-Og -challenger_2040_wifi.menu.rtti.Disabled=Disabled -challenger_2040_wifi.menu.rtti.Disabled.build.flags.rtti=-fno-rtti -challenger_2040_wifi.menu.rtti.Enabled=Enabled -challenger_2040_wifi.menu.rtti.Enabled.build.flags.rtti= -challenger_2040_wifi.menu.stackprotect.Disabled=Disabled -challenger_2040_wifi.menu.stackprotect.Disabled.build.flags.stackprotect= -challenger_2040_wifi.menu.stackprotect.Enabled=Enabled -challenger_2040_wifi.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector -challenger_2040_wifi.menu.exceptions.Disabled=Disabled -challenger_2040_wifi.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions -challenger_2040_wifi.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ -challenger_2040_wifi.menu.exceptions.Enabled=Enabled -challenger_2040_wifi.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions -challenger_2040_wifi.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc -challenger_2040_wifi.menu.dbgport.Disabled=Disabled -challenger_2040_wifi.menu.dbgport.Disabled.build.debug_port= -challenger_2040_wifi.menu.dbgport.Serial=Serial -challenger_2040_wifi.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial -challenger_2040_wifi.menu.dbgport.Serial1=Serial1 -challenger_2040_wifi.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 -challenger_2040_wifi.menu.dbgport.Serial2=Serial2 -challenger_2040_wifi.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 -challenger_2040_wifi.menu.dbglvl.None=None -challenger_2040_wifi.menu.dbglvl.None.build.debug_level= -challenger_2040_wifi.menu.dbglvl.Core=Core -challenger_2040_wifi.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE -challenger_2040_wifi.menu.dbglvl.SPI=SPI -challenger_2040_wifi.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI -challenger_2040_wifi.menu.dbglvl.Wire=Wire -challenger_2040_wifi.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE -challenger_2040_wifi.menu.dbglvl.All=All -challenger_2040_wifi.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE -challenger_2040_wifi.menu.dbglvl.NDEBUG=NDEBUG -challenger_2040_wifi.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG -challenger_2040_wifi.menu.usbstack.picosdk=Pico SDK -challenger_2040_wifi.menu.usbstack.picosdk.build.usbstack_flags= -challenger_2040_wifi.menu.usbstack.tinyusb=Adafruit TinyUSB -challenger_2040_wifi.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" -challenger_2040_wifi.menu.ipstack.ipv4only=IPv4 Only -challenger_2040_wifi.menu.ipstack.ipv4only.build.libpico=libpico.a -challenger_2040_wifi.menu.ipstack.ipv4only.build.lwipdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -challenger_2040_wifi.menu.ipstack.ipv4ipv6=IPv4 and IPv6 -challenger_2040_wifi.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6.a -challenger_2040_wifi.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 - -# ----------------------------------- -# iLabs Challenger 2040 WiFi (Picoprobe) -# ----------------------------------- -challenger_2040_wifipicoprobe.name=iLabs Challenger 2040 WiFi (Picoprobe) -challenger_2040_wifipicoprobe.vid.0=0x2e8a -challenger_2040_wifipicoprobe.pid.0=0x0004 -challenger_2040_wifipicoprobe.build.usbpid=-DSERIALUSB_PID=0x1006 -challenger_2040_wifipicoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=250 -challenger_2040_wifipicoprobe.build.board=CHALLENGER_2040_WIFI_RP2040 -challenger_2040_wifipicoprobe.build.mcu=cortex-m0plus -challenger_2040_wifipicoprobe.build.variant=challenger_2040_wifi -challenger_2040_wifipicoprobe.upload.tool=picoprobe -challenger_2040_wifipicoprobe.upload.maximum_size=8388608 -challenger_2040_wifipicoprobe.upload.maximum_data_size=262144 -challenger_2040_wifipicoprobe.upload.wait_for_upload_port=true -challenger_2040_wifipicoprobe.upload.erase_cmd= -challenger_2040_wifipicoprobe.serial.disableDTR=false -challenger_2040_wifipicoprobe.serial.disableRTS=false -challenger_2040_wifipicoprobe.build.f_cpu=125000000 -challenger_2040_wifipicoprobe.build.led= -challenger_2040_wifipicoprobe.build.core=rp2040 -challenger_2040_wifipicoprobe.build.ldscript=memmap_default.ld -challenger_2040_wifipicoprobe.build.ram_length=256k -challenger_2040_wifipicoprobe.build.boot2=boot2_w25q080_2_padded_checksum -challenger_2040_wifipicoprobe.build.vid=0x2e8a -challenger_2040_wifipicoprobe.build.pid=0x1006 -challenger_2040_wifipicoprobe.build.usb_manufacturer="iLabs" -challenger_2040_wifipicoprobe.build.usb_product="Challenger 2040 WiFi (Picoprobe)" -challenger_2040_wifipicoprobe.menu.flash.8388608_0=8MB (no FS) -challenger_2040_wifipicoprobe.menu.flash.8388608_0.upload.maximum_size=8384512 -challenger_2040_wifipicoprobe.menu.flash.8388608_0.build.flash_length=8384512 -challenger_2040_wifipicoprobe.menu.flash.8388608_0.build.eeprom_start=276819968 -challenger_2040_wifipicoprobe.menu.flash.8388608_0.build.fs_start=276819968 -challenger_2040_wifipicoprobe.menu.flash.8388608_0.build.fs_end=276819968 -challenger_2040_wifipicoprobe.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) -challenger_2040_wifipicoprobe.menu.flash.8388608_65536.upload.maximum_size=8318976 -challenger_2040_wifipicoprobe.menu.flash.8388608_65536.build.flash_length=8318976 -challenger_2040_wifipicoprobe.menu.flash.8388608_65536.build.eeprom_start=276819968 -challenger_2040_wifipicoprobe.menu.flash.8388608_65536.build.fs_start=276754432 -challenger_2040_wifipicoprobe.menu.flash.8388608_65536.build.fs_end=276819968 -challenger_2040_wifipicoprobe.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) -challenger_2040_wifipicoprobe.menu.flash.8388608_131072.upload.maximum_size=8253440 -challenger_2040_wifipicoprobe.menu.flash.8388608_131072.build.flash_length=8253440 -challenger_2040_wifipicoprobe.menu.flash.8388608_131072.build.eeprom_start=276819968 -challenger_2040_wifipicoprobe.menu.flash.8388608_131072.build.fs_start=276688896 -challenger_2040_wifipicoprobe.menu.flash.8388608_131072.build.fs_end=276819968 -challenger_2040_wifipicoprobe.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) -challenger_2040_wifipicoprobe.menu.flash.8388608_262144.upload.maximum_size=8122368 -challenger_2040_wifipicoprobe.menu.flash.8388608_262144.build.flash_length=8122368 -challenger_2040_wifipicoprobe.menu.flash.8388608_262144.build.eeprom_start=276819968 -challenger_2040_wifipicoprobe.menu.flash.8388608_262144.build.fs_start=276557824 -challenger_2040_wifipicoprobe.menu.flash.8388608_262144.build.fs_end=276819968 -challenger_2040_wifipicoprobe.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) -challenger_2040_wifipicoprobe.menu.flash.8388608_524288.upload.maximum_size=7860224 -challenger_2040_wifipicoprobe.menu.flash.8388608_524288.build.flash_length=7860224 -challenger_2040_wifipicoprobe.menu.flash.8388608_524288.build.eeprom_start=276819968 -challenger_2040_wifipicoprobe.menu.flash.8388608_524288.build.fs_start=276295680 -challenger_2040_wifipicoprobe.menu.flash.8388608_524288.build.fs_end=276819968 -challenger_2040_wifipicoprobe.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) -challenger_2040_wifipicoprobe.menu.flash.8388608_1048576.upload.maximum_size=7335936 -challenger_2040_wifipicoprobe.menu.flash.8388608_1048576.build.flash_length=7335936 -challenger_2040_wifipicoprobe.menu.flash.8388608_1048576.build.eeprom_start=276819968 -challenger_2040_wifipicoprobe.menu.flash.8388608_1048576.build.fs_start=275771392 -challenger_2040_wifipicoprobe.menu.flash.8388608_1048576.build.fs_end=276819968 -challenger_2040_wifipicoprobe.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) -challenger_2040_wifipicoprobe.menu.flash.8388608_2097152.upload.maximum_size=6287360 -challenger_2040_wifipicoprobe.menu.flash.8388608_2097152.build.flash_length=6287360 -challenger_2040_wifipicoprobe.menu.flash.8388608_2097152.build.eeprom_start=276819968 -challenger_2040_wifipicoprobe.menu.flash.8388608_2097152.build.fs_start=274722816 -challenger_2040_wifipicoprobe.menu.flash.8388608_2097152.build.fs_end=276819968 -challenger_2040_wifipicoprobe.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) -challenger_2040_wifipicoprobe.menu.flash.8388608_3145728.upload.maximum_size=5238784 -challenger_2040_wifipicoprobe.menu.flash.8388608_3145728.build.flash_length=5238784 -challenger_2040_wifipicoprobe.menu.flash.8388608_3145728.build.eeprom_start=276819968 -challenger_2040_wifipicoprobe.menu.flash.8388608_3145728.build.fs_start=273674240 -challenger_2040_wifipicoprobe.menu.flash.8388608_3145728.build.fs_end=276819968 -challenger_2040_wifipicoprobe.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) -challenger_2040_wifipicoprobe.menu.flash.8388608_4194304.upload.maximum_size=4190208 -challenger_2040_wifipicoprobe.menu.flash.8388608_4194304.build.flash_length=4190208 -challenger_2040_wifipicoprobe.menu.flash.8388608_4194304.build.eeprom_start=276819968 -challenger_2040_wifipicoprobe.menu.flash.8388608_4194304.build.fs_start=272625664 -challenger_2040_wifipicoprobe.menu.flash.8388608_4194304.build.fs_end=276819968 -challenger_2040_wifipicoprobe.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) -challenger_2040_wifipicoprobe.menu.flash.8388608_5242880.upload.maximum_size=3141632 -challenger_2040_wifipicoprobe.menu.flash.8388608_5242880.build.flash_length=3141632 -challenger_2040_wifipicoprobe.menu.flash.8388608_5242880.build.eeprom_start=276819968 -challenger_2040_wifipicoprobe.menu.flash.8388608_5242880.build.fs_start=271577088 -challenger_2040_wifipicoprobe.menu.flash.8388608_5242880.build.fs_end=276819968 -challenger_2040_wifipicoprobe.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) -challenger_2040_wifipicoprobe.menu.flash.8388608_6291456.upload.maximum_size=2093056 -challenger_2040_wifipicoprobe.menu.flash.8388608_6291456.build.flash_length=2093056 -challenger_2040_wifipicoprobe.menu.flash.8388608_6291456.build.eeprom_start=276819968 -challenger_2040_wifipicoprobe.menu.flash.8388608_6291456.build.fs_start=270528512 -challenger_2040_wifipicoprobe.menu.flash.8388608_6291456.build.fs_end=276819968 -challenger_2040_wifipicoprobe.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) -challenger_2040_wifipicoprobe.menu.flash.8388608_7340032.upload.maximum_size=1044480 -challenger_2040_wifipicoprobe.menu.flash.8388608_7340032.build.flash_length=1044480 -challenger_2040_wifipicoprobe.menu.flash.8388608_7340032.build.eeprom_start=276819968 -challenger_2040_wifipicoprobe.menu.flash.8388608_7340032.build.fs_start=269479936 -challenger_2040_wifipicoprobe.menu.flash.8388608_7340032.build.fs_end=276819968 -challenger_2040_wifipicoprobe.menu.freq.133=133 MHz -challenger_2040_wifipicoprobe.menu.freq.133.build.f_cpu=133000000L -challenger_2040_wifipicoprobe.menu.freq.50=50 MHz -challenger_2040_wifipicoprobe.menu.freq.50.build.f_cpu=50000000L -challenger_2040_wifipicoprobe.menu.freq.100=100 MHz -challenger_2040_wifipicoprobe.menu.freq.100.build.f_cpu=100000000L -challenger_2040_wifipicoprobe.menu.freq.120=120 MHz -challenger_2040_wifipicoprobe.menu.freq.120.build.f_cpu=120000000L -challenger_2040_wifipicoprobe.menu.freq.125=125 MHz -challenger_2040_wifipicoprobe.menu.freq.125.build.f_cpu=125000000L -challenger_2040_wifipicoprobe.menu.freq.150=150 MHz (Overclock) -challenger_2040_wifipicoprobe.menu.freq.150.build.f_cpu=150000000L -challenger_2040_wifipicoprobe.menu.freq.175=175 MHz (Overclock) -challenger_2040_wifipicoprobe.menu.freq.175.build.f_cpu=175000000L -challenger_2040_wifipicoprobe.menu.freq.200=200 MHz (Overclock) -challenger_2040_wifipicoprobe.menu.freq.200.build.f_cpu=200000000L -challenger_2040_wifipicoprobe.menu.freq.225=225 MHz (Overclock) -challenger_2040_wifipicoprobe.menu.freq.225.build.f_cpu=225000000L -challenger_2040_wifipicoprobe.menu.freq.240=240 MHz (Overclock) -challenger_2040_wifipicoprobe.menu.freq.240.build.f_cpu=240000000L -challenger_2040_wifipicoprobe.menu.freq.250=250 MHz (Overclock) -challenger_2040_wifipicoprobe.menu.freq.250.build.f_cpu=250000000L -challenger_2040_wifipicoprobe.menu.freq.275=275 MHz (Overclock) -challenger_2040_wifipicoprobe.menu.freq.275.build.f_cpu=275000000L -challenger_2040_wifipicoprobe.menu.freq.300=300 MHz (Overclock) -challenger_2040_wifipicoprobe.menu.freq.300.build.f_cpu=300000000L -challenger_2040_wifipicoprobe.menu.opt.Small=Small (-Os) (standard) -challenger_2040_wifipicoprobe.menu.opt.Small.build.flags.optimize=-Os -challenger_2040_wifipicoprobe.menu.opt.Optimize=Optimize (-O) -challenger_2040_wifipicoprobe.menu.opt.Optimize.build.flags.optimize=-O -challenger_2040_wifipicoprobe.menu.opt.Optimize2=Optimize More (-O2) -challenger_2040_wifipicoprobe.menu.opt.Optimize2.build.flags.optimize=-O2 -challenger_2040_wifipicoprobe.menu.opt.Optimize3=Optimize Even More (-O3) -challenger_2040_wifipicoprobe.menu.opt.Optimize3.build.flags.optimize=-O3 -challenger_2040_wifipicoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower) -challenger_2040_wifipicoprobe.menu.opt.Fast.build.flags.optimize=-Ofast -challenger_2040_wifipicoprobe.menu.opt.Debug=Debug (-Og) -challenger_2040_wifipicoprobe.menu.opt.Debug.build.flags.optimize=-Og -challenger_2040_wifipicoprobe.menu.rtti.Disabled=Disabled -challenger_2040_wifipicoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti -challenger_2040_wifipicoprobe.menu.rtti.Enabled=Enabled -challenger_2040_wifipicoprobe.menu.rtti.Enabled.build.flags.rtti= -challenger_2040_wifipicoprobe.menu.stackprotect.Disabled=Disabled -challenger_2040_wifipicoprobe.menu.stackprotect.Disabled.build.flags.stackprotect= -challenger_2040_wifipicoprobe.menu.stackprotect.Enabled=Enabled -challenger_2040_wifipicoprobe.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector -challenger_2040_wifipicoprobe.menu.exceptions.Disabled=Disabled -challenger_2040_wifipicoprobe.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions -challenger_2040_wifipicoprobe.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ -challenger_2040_wifipicoprobe.menu.exceptions.Enabled=Enabled -challenger_2040_wifipicoprobe.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions -challenger_2040_wifipicoprobe.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc -challenger_2040_wifipicoprobe.menu.dbgport.Disabled=Disabled -challenger_2040_wifipicoprobe.menu.dbgport.Disabled.build.debug_port= -challenger_2040_wifipicoprobe.menu.dbgport.Serial=Serial -challenger_2040_wifipicoprobe.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial -challenger_2040_wifipicoprobe.menu.dbgport.Serial1=Serial1 -challenger_2040_wifipicoprobe.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 -challenger_2040_wifipicoprobe.menu.dbgport.Serial2=Serial2 -challenger_2040_wifipicoprobe.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 -challenger_2040_wifipicoprobe.menu.dbglvl.None=None -challenger_2040_wifipicoprobe.menu.dbglvl.None.build.debug_level= -challenger_2040_wifipicoprobe.menu.dbglvl.Core=Core -challenger_2040_wifipicoprobe.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE -challenger_2040_wifipicoprobe.menu.dbglvl.SPI=SPI -challenger_2040_wifipicoprobe.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI -challenger_2040_wifipicoprobe.menu.dbglvl.Wire=Wire -challenger_2040_wifipicoprobe.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE -challenger_2040_wifipicoprobe.menu.dbglvl.All=All -challenger_2040_wifipicoprobe.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE -challenger_2040_wifipicoprobe.menu.dbglvl.NDEBUG=NDEBUG -challenger_2040_wifipicoprobe.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG -challenger_2040_wifipicoprobe.menu.usbstack.picosdk=Pico SDK -challenger_2040_wifipicoprobe.menu.usbstack.picosdk.build.usbstack_flags= -challenger_2040_wifipicoprobe.menu.usbstack.tinyusb=Adafruit TinyUSB -challenger_2040_wifipicoprobe.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" -challenger_2040_wifipicoprobe.menu.ipstack.ipv4only=IPv4 Only -challenger_2040_wifipicoprobe.menu.ipstack.ipv4only.build.libpico=libpico.a -challenger_2040_wifipicoprobe.menu.ipstack.ipv4only.build.lwipdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -challenger_2040_wifipicoprobe.menu.ipstack.ipv4ipv6=IPv4 and IPv6 -challenger_2040_wifipicoprobe.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6.a -challenger_2040_wifipicoprobe.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 +challenger_2040_lte.name=iLabs Challenger 2040 LTE +challenger_2040_lte.vid.0=0x2e8a +challenger_2040_lte.pid.0=0x100b +challenger_2040_lte.build.usbpid=-DSERIALUSB_PID=0x100b +challenger_2040_lte.build.usbpwr=-DUSBD_MAX_POWER_MA=500 +challenger_2040_lte.build.board=CHALLENGER_2040_LTE_RP2040 +challenger_2040_lte.build.mcu=cortex-m0plus +challenger_2040_lte.build.variant=challenger_2040_lte +challenger_2040_lte.upload.tool=uf2conv +challenger_2040_lte.upload.maximum_size=8388608 +challenger_2040_lte.upload.maximum_data_size=262144 +challenger_2040_lte.upload.wait_for_upload_port=true +challenger_2040_lte.upload.erase_cmd= +challenger_2040_lte.serial.disableDTR=false +challenger_2040_lte.serial.disableRTS=false +challenger_2040_lte.build.f_cpu=125000000 +challenger_2040_lte.build.led= +challenger_2040_lte.build.core=rp2040 +challenger_2040_lte.build.ldscript=memmap_default.ld +challenger_2040_lte.build.ram_length=256k +challenger_2040_lte.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_lte.build.vid=0x2e8a +challenger_2040_lte.build.pid=0x100b +challenger_2040_lte.build.usb_manufacturer="iLabs" +challenger_2040_lte.build.usb_product="Challenger 2040 LTE" +challenger_2040_lte.menu.flash.8388608_0=8MB (no FS) +challenger_2040_lte.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_lte.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_lte.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_lte.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_lte.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_lte.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_lte.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_lte.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_lte.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_lte.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_lte.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_lte.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_lte.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_lte.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_lte.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_lte.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_lte.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_lte.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_lte.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_lte.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_lte.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_lte.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_lte.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_lte.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_lte.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_lte.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_lte.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_lte.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_lte.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_lte.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_lte.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_lte.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_lte.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_lte.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_lte.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_lte.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_lte.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_lte.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_lte.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_lte.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_lte.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_lte.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_lte.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_lte.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_lte.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_lte.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_lte.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_lte.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_lte.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_lte.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_lte.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_lte.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_lte.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_lte.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_lte.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_lte.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_lte.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_lte.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_lte.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_lte.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_lte.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_lte.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_lte.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_lte.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_lte.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_lte.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_lte.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_lte.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_lte.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_lte.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_lte.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_lte.menu.freq.133=133 MHz +challenger_2040_lte.menu.freq.133.build.f_cpu=133000000L +challenger_2040_lte.menu.freq.50=50 MHz +challenger_2040_lte.menu.freq.50.build.f_cpu=50000000L +challenger_2040_lte.menu.freq.100=100 MHz +challenger_2040_lte.menu.freq.100.build.f_cpu=100000000L +challenger_2040_lte.menu.freq.120=120 MHz +challenger_2040_lte.menu.freq.120.build.f_cpu=120000000L +challenger_2040_lte.menu.freq.125=125 MHz +challenger_2040_lte.menu.freq.125.build.f_cpu=125000000L +challenger_2040_lte.menu.freq.150=150 MHz (Overclock) +challenger_2040_lte.menu.freq.150.build.f_cpu=150000000L +challenger_2040_lte.menu.freq.175=175 MHz (Overclock) +challenger_2040_lte.menu.freq.175.build.f_cpu=175000000L +challenger_2040_lte.menu.freq.200=200 MHz (Overclock) +challenger_2040_lte.menu.freq.200.build.f_cpu=200000000L +challenger_2040_lte.menu.freq.225=225 MHz (Overclock) +challenger_2040_lte.menu.freq.225.build.f_cpu=225000000L +challenger_2040_lte.menu.freq.240=240 MHz (Overclock) +challenger_2040_lte.menu.freq.240.build.f_cpu=240000000L +challenger_2040_lte.menu.freq.250=250 MHz (Overclock) +challenger_2040_lte.menu.freq.250.build.f_cpu=250000000L +challenger_2040_lte.menu.freq.275=275 MHz (Overclock) +challenger_2040_lte.menu.freq.275.build.f_cpu=275000000L +challenger_2040_lte.menu.freq.300=300 MHz (Overclock) +challenger_2040_lte.menu.freq.300.build.f_cpu=300000000L +challenger_2040_lte.menu.opt.Small=Small (-Os) (standard) +challenger_2040_lte.menu.opt.Small.build.flags.optimize=-Os +challenger_2040_lte.menu.opt.Optimize=Optimize (-O) +challenger_2040_lte.menu.opt.Optimize.build.flags.optimize=-O +challenger_2040_lte.menu.opt.Optimize2=Optimize More (-O2) +challenger_2040_lte.menu.opt.Optimize2.build.flags.optimize=-O2 +challenger_2040_lte.menu.opt.Optimize3=Optimize Even More (-O3) +challenger_2040_lte.menu.opt.Optimize3.build.flags.optimize=-O3 +challenger_2040_lte.menu.opt.Fast=Fast (-Ofast) (maybe slower) +challenger_2040_lte.menu.opt.Fast.build.flags.optimize=-Ofast +challenger_2040_lte.menu.opt.Debug=Debug (-Og) +challenger_2040_lte.menu.opt.Debug.build.flags.optimize=-Og +challenger_2040_lte.menu.rtti.Disabled=Disabled +challenger_2040_lte.menu.rtti.Disabled.build.flags.rtti=-fno-rtti +challenger_2040_lte.menu.rtti.Enabled=Enabled +challenger_2040_lte.menu.rtti.Enabled.build.flags.rtti= +challenger_2040_lte.menu.stackprotect.Disabled=Disabled +challenger_2040_lte.menu.stackprotect.Disabled.build.flags.stackprotect= +challenger_2040_lte.menu.stackprotect.Enabled=Enabled +challenger_2040_lte.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector +challenger_2040_lte.menu.exceptions.Disabled=Disabled +challenger_2040_lte.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions +challenger_2040_lte.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ +challenger_2040_lte.menu.exceptions.Enabled=Enabled +challenger_2040_lte.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions +challenger_2040_lte.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc +challenger_2040_lte.menu.dbgport.Disabled=Disabled +challenger_2040_lte.menu.dbgport.Disabled.build.debug_port= +challenger_2040_lte.menu.dbgport.Serial=Serial +challenger_2040_lte.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_lte.menu.dbgport.Serial1=Serial1 +challenger_2040_lte.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_lte.menu.dbgport.Serial2=Serial2 +challenger_2040_lte.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_lte.menu.dbglvl.None=None +challenger_2040_lte.menu.dbglvl.None.build.debug_level= +challenger_2040_lte.menu.dbglvl.Core=Core +challenger_2040_lte.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_lte.menu.dbglvl.SPI=SPI +challenger_2040_lte.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_lte.menu.dbglvl.Wire=Wire +challenger_2040_lte.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_lte.menu.dbglvl.All=All +challenger_2040_lte.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_lte.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_lte.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_lte.menu.usbstack.picosdk=Pico SDK +challenger_2040_lte.menu.usbstack.picosdk.build.usbstack_flags= +challenger_2040_lte.menu.usbstack.tinyusb=Adafruit TinyUSB +challenger_2040_lte.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" +challenger_2040_lte.menu.ipstack.ipv4only=IPv4 Only +challenger_2040_lte.menu.ipstack.ipv4only.build.libpico=libpico.a +challenger_2040_lte.menu.ipstack.ipv4only.build.lwipdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 +challenger_2040_lte.menu.ipstack.ipv4ipv6=IPv4 and IPv6 +challenger_2040_lte.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6.a +challenger_2040_lte.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 + +# ----------------------------------- +# iLabs Challenger 2040 LTE (Picoprobe) +# ----------------------------------- +challenger_2040_ltepicoprobe.name=iLabs Challenger 2040 LTE (Picoprobe) +challenger_2040_ltepicoprobe.vid.0=0x2e8a +challenger_2040_ltepicoprobe.pid.0=0x0004 +challenger_2040_ltepicoprobe.build.usbpid=-DSERIALUSB_PID=0x100b +challenger_2040_ltepicoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=500 +challenger_2040_ltepicoprobe.build.board=CHALLENGER_2040_LTE_RP2040 +challenger_2040_ltepicoprobe.build.mcu=cortex-m0plus +challenger_2040_ltepicoprobe.build.variant=challenger_2040_lte +challenger_2040_ltepicoprobe.upload.tool=picoprobe +challenger_2040_ltepicoprobe.upload.maximum_size=8388608 +challenger_2040_ltepicoprobe.upload.maximum_data_size=262144 +challenger_2040_ltepicoprobe.upload.wait_for_upload_port=true +challenger_2040_ltepicoprobe.upload.erase_cmd= +challenger_2040_ltepicoprobe.serial.disableDTR=false +challenger_2040_ltepicoprobe.serial.disableRTS=false +challenger_2040_ltepicoprobe.build.f_cpu=125000000 +challenger_2040_ltepicoprobe.build.led= +challenger_2040_ltepicoprobe.build.core=rp2040 +challenger_2040_ltepicoprobe.build.ldscript=memmap_default.ld +challenger_2040_ltepicoprobe.build.ram_length=256k +challenger_2040_ltepicoprobe.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_ltepicoprobe.build.vid=0x2e8a +challenger_2040_ltepicoprobe.build.pid=0x100b +challenger_2040_ltepicoprobe.build.usb_manufacturer="iLabs" +challenger_2040_ltepicoprobe.build.usb_product="Challenger 2040 LTE (Picoprobe)" +challenger_2040_ltepicoprobe.menu.flash.8388608_0=8MB (no FS) +challenger_2040_ltepicoprobe.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_ltepicoprobe.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_ltepicoprobe.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_ltepicoprobe.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_ltepicoprobe.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_ltepicoprobe.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_ltepicoprobe.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_ltepicoprobe.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_ltepicoprobe.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_ltepicoprobe.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_ltepicoprobe.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_ltepicoprobe.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_ltepicoprobe.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_ltepicoprobe.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_ltepicoprobe.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_ltepicoprobe.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_ltepicoprobe.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_ltepicoprobe.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_ltepicoprobe.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_ltepicoprobe.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_ltepicoprobe.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_ltepicoprobe.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_ltepicoprobe.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_ltepicoprobe.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_ltepicoprobe.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_ltepicoprobe.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_ltepicoprobe.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_ltepicoprobe.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_ltepicoprobe.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_ltepicoprobe.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_ltepicoprobe.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_ltepicoprobe.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_ltepicoprobe.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_ltepicoprobe.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_ltepicoprobe.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_ltepicoprobe.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_ltepicoprobe.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_ltepicoprobe.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_ltepicoprobe.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_ltepicoprobe.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_ltepicoprobe.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_ltepicoprobe.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_ltepicoprobe.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_ltepicoprobe.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_ltepicoprobe.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_ltepicoprobe.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_ltepicoprobe.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_ltepicoprobe.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_ltepicoprobe.menu.freq.133=133 MHz +challenger_2040_ltepicoprobe.menu.freq.133.build.f_cpu=133000000L +challenger_2040_ltepicoprobe.menu.freq.50=50 MHz +challenger_2040_ltepicoprobe.menu.freq.50.build.f_cpu=50000000L +challenger_2040_ltepicoprobe.menu.freq.100=100 MHz +challenger_2040_ltepicoprobe.menu.freq.100.build.f_cpu=100000000L +challenger_2040_ltepicoprobe.menu.freq.120=120 MHz +challenger_2040_ltepicoprobe.menu.freq.120.build.f_cpu=120000000L +challenger_2040_ltepicoprobe.menu.freq.125=125 MHz +challenger_2040_ltepicoprobe.menu.freq.125.build.f_cpu=125000000L +challenger_2040_ltepicoprobe.menu.freq.150=150 MHz (Overclock) +challenger_2040_ltepicoprobe.menu.freq.150.build.f_cpu=150000000L +challenger_2040_ltepicoprobe.menu.freq.175=175 MHz (Overclock) +challenger_2040_ltepicoprobe.menu.freq.175.build.f_cpu=175000000L +challenger_2040_ltepicoprobe.menu.freq.200=200 MHz (Overclock) +challenger_2040_ltepicoprobe.menu.freq.200.build.f_cpu=200000000L +challenger_2040_ltepicoprobe.menu.freq.225=225 MHz (Overclock) +challenger_2040_ltepicoprobe.menu.freq.225.build.f_cpu=225000000L +challenger_2040_ltepicoprobe.menu.freq.240=240 MHz (Overclock) +challenger_2040_ltepicoprobe.menu.freq.240.build.f_cpu=240000000L +challenger_2040_ltepicoprobe.menu.freq.250=250 MHz (Overclock) +challenger_2040_ltepicoprobe.menu.freq.250.build.f_cpu=250000000L +challenger_2040_ltepicoprobe.menu.freq.275=275 MHz (Overclock) +challenger_2040_ltepicoprobe.menu.freq.275.build.f_cpu=275000000L +challenger_2040_ltepicoprobe.menu.freq.300=300 MHz (Overclock) +challenger_2040_ltepicoprobe.menu.freq.300.build.f_cpu=300000000L +challenger_2040_ltepicoprobe.menu.opt.Small=Small (-Os) (standard) +challenger_2040_ltepicoprobe.menu.opt.Small.build.flags.optimize=-Os +challenger_2040_ltepicoprobe.menu.opt.Optimize=Optimize (-O) +challenger_2040_ltepicoprobe.menu.opt.Optimize.build.flags.optimize=-O +challenger_2040_ltepicoprobe.menu.opt.Optimize2=Optimize More (-O2) +challenger_2040_ltepicoprobe.menu.opt.Optimize2.build.flags.optimize=-O2 +challenger_2040_ltepicoprobe.menu.opt.Optimize3=Optimize Even More (-O3) +challenger_2040_ltepicoprobe.menu.opt.Optimize3.build.flags.optimize=-O3 +challenger_2040_ltepicoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower) +challenger_2040_ltepicoprobe.menu.opt.Fast.build.flags.optimize=-Ofast +challenger_2040_ltepicoprobe.menu.opt.Debug=Debug (-Og) +challenger_2040_ltepicoprobe.menu.opt.Debug.build.flags.optimize=-Og +challenger_2040_ltepicoprobe.menu.rtti.Disabled=Disabled +challenger_2040_ltepicoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti +challenger_2040_ltepicoprobe.menu.rtti.Enabled=Enabled +challenger_2040_ltepicoprobe.menu.rtti.Enabled.build.flags.rtti= +challenger_2040_ltepicoprobe.menu.stackprotect.Disabled=Disabled +challenger_2040_ltepicoprobe.menu.stackprotect.Disabled.build.flags.stackprotect= +challenger_2040_ltepicoprobe.menu.stackprotect.Enabled=Enabled +challenger_2040_ltepicoprobe.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector +challenger_2040_ltepicoprobe.menu.exceptions.Disabled=Disabled +challenger_2040_ltepicoprobe.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions +challenger_2040_ltepicoprobe.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ +challenger_2040_ltepicoprobe.menu.exceptions.Enabled=Enabled +challenger_2040_ltepicoprobe.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions +challenger_2040_ltepicoprobe.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc +challenger_2040_ltepicoprobe.menu.dbgport.Disabled=Disabled +challenger_2040_ltepicoprobe.menu.dbgport.Disabled.build.debug_port= +challenger_2040_ltepicoprobe.menu.dbgport.Serial=Serial +challenger_2040_ltepicoprobe.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_ltepicoprobe.menu.dbgport.Serial1=Serial1 +challenger_2040_ltepicoprobe.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_ltepicoprobe.menu.dbgport.Serial2=Serial2 +challenger_2040_ltepicoprobe.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_ltepicoprobe.menu.dbglvl.None=None +challenger_2040_ltepicoprobe.menu.dbglvl.None.build.debug_level= +challenger_2040_ltepicoprobe.menu.dbglvl.Core=Core +challenger_2040_ltepicoprobe.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_ltepicoprobe.menu.dbglvl.SPI=SPI +challenger_2040_ltepicoprobe.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_ltepicoprobe.menu.dbglvl.Wire=Wire +challenger_2040_ltepicoprobe.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_ltepicoprobe.menu.dbglvl.All=All +challenger_2040_ltepicoprobe.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_ltepicoprobe.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_ltepicoprobe.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_ltepicoprobe.menu.usbstack.picosdk=Pico SDK +challenger_2040_ltepicoprobe.menu.usbstack.picosdk.build.usbstack_flags= +challenger_2040_ltepicoprobe.menu.usbstack.tinyusb=Adafruit TinyUSB +challenger_2040_ltepicoprobe.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" +challenger_2040_ltepicoprobe.menu.ipstack.ipv4only=IPv4 Only +challenger_2040_ltepicoprobe.menu.ipstack.ipv4only.build.libpico=libpico.a +challenger_2040_ltepicoprobe.menu.ipstack.ipv4only.build.lwipdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 +challenger_2040_ltepicoprobe.menu.ipstack.ipv4ipv6=IPv4 and IPv6 +challenger_2040_ltepicoprobe.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6.a +challenger_2040_ltepicoprobe.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 # ----------------------------------- -# iLabs Challenger 2040 WiFi (pico-debug) +# iLabs Challenger 2040 LTE (pico-debug) # ----------------------------------- -challenger_2040_wifipicodebug.name=iLabs Challenger 2040 WiFi (pico-debug) -challenger_2040_wifipicodebug.vid.0=0x1209 -challenger_2040_wifipicodebug.pid.0=0x2488 -challenger_2040_wifipicodebug.build.usbpid=-DSERIALUSB_PID=0x1006 -challenger_2040_wifipicodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=250 -challenger_2040_wifipicodebug.build.board=CHALLENGER_2040_WIFI_RP2040 -challenger_2040_wifipicodebug.build.mcu=cortex-m0plus -challenger_2040_wifipicodebug.build.variant=challenger_2040_wifi -challenger_2040_wifipicodebug.upload.tool=picodebug -challenger_2040_wifipicodebug.upload.maximum_size=8388608 -challenger_2040_wifipicodebug.upload.maximum_data_size=245760 -challenger_2040_wifipicodebug.upload.wait_for_upload_port=true -challenger_2040_wifipicodebug.upload.erase_cmd= -challenger_2040_wifipicodebug.serial.disableDTR=false -challenger_2040_wifipicodebug.serial.disableRTS=false -challenger_2040_wifipicodebug.build.f_cpu=125000000 -challenger_2040_wifipicodebug.build.led= -challenger_2040_wifipicodebug.build.core=rp2040 -challenger_2040_wifipicodebug.build.ldscript=memmap_default.ld -challenger_2040_wifipicodebug.build.ram_length=240k -challenger_2040_wifipicodebug.build.boot2=boot2_w25q080_2_padded_checksum -challenger_2040_wifipicodebug.build.vid=0x2e8a -challenger_2040_wifipicodebug.build.pid=0x1006 -challenger_2040_wifipicodebug.build.usb_manufacturer="iLabs" -challenger_2040_wifipicodebug.build.usb_product="Challenger 2040 WiFi (pico-debug)" -challenger_2040_wifipicodebug.menu.flash.8388608_0=8MB (no FS) -challenger_2040_wifipicodebug.menu.flash.8388608_0.upload.maximum_size=8384512 -challenger_2040_wifipicodebug.menu.flash.8388608_0.build.flash_length=8384512 -challenger_2040_wifipicodebug.menu.flash.8388608_0.build.eeprom_start=276819968 -challenger_2040_wifipicodebug.menu.flash.8388608_0.build.fs_start=276819968 -challenger_2040_wifipicodebug.menu.flash.8388608_0.build.fs_end=276819968 -challenger_2040_wifipicodebug.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) -challenger_2040_wifipicodebug.menu.flash.8388608_65536.upload.maximum_size=8318976 -challenger_2040_wifipicodebug.menu.flash.8388608_65536.build.flash_length=8318976 -challenger_2040_wifipicodebug.menu.flash.8388608_65536.build.eeprom_start=276819968 -challenger_2040_wifipicodebug.menu.flash.8388608_65536.build.fs_start=276754432 -challenger_2040_wifipicodebug.menu.flash.8388608_65536.build.fs_end=276819968 -challenger_2040_wifipicodebug.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) -challenger_2040_wifipicodebug.menu.flash.8388608_131072.upload.maximum_size=8253440 -challenger_2040_wifipicodebug.menu.flash.8388608_131072.build.flash_length=8253440 -challenger_2040_wifipicodebug.menu.flash.8388608_131072.build.eeprom_start=276819968 -challenger_2040_wifipicodebug.menu.flash.8388608_131072.build.fs_start=276688896 -challenger_2040_wifipicodebug.menu.flash.8388608_131072.build.fs_end=276819968 -challenger_2040_wifipicodebug.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) -challenger_2040_wifipicodebug.menu.flash.8388608_262144.upload.maximum_size=8122368 -challenger_2040_wifipicodebug.menu.flash.8388608_262144.build.flash_length=8122368 -challenger_2040_wifipicodebug.menu.flash.8388608_262144.build.eeprom_start=276819968 -challenger_2040_wifipicodebug.menu.flash.8388608_262144.build.fs_start=276557824 -challenger_2040_wifipicodebug.menu.flash.8388608_262144.build.fs_end=276819968 -challenger_2040_wifipicodebug.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) -challenger_2040_wifipicodebug.menu.flash.8388608_524288.upload.maximum_size=7860224 -challenger_2040_wifipicodebug.menu.flash.8388608_524288.build.flash_length=7860224 -challenger_2040_wifipicodebug.menu.flash.8388608_524288.build.eeprom_start=276819968 -challenger_2040_wifipicodebug.menu.flash.8388608_524288.build.fs_start=276295680 -challenger_2040_wifipicodebug.menu.flash.8388608_524288.build.fs_end=276819968 -challenger_2040_wifipicodebug.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) -challenger_2040_wifipicodebug.menu.flash.8388608_1048576.upload.maximum_size=7335936 -challenger_2040_wifipicodebug.menu.flash.8388608_1048576.build.flash_length=7335936 -challenger_2040_wifipicodebug.menu.flash.8388608_1048576.build.eeprom_start=276819968 -challenger_2040_wifipicodebug.menu.flash.8388608_1048576.build.fs_start=275771392 -challenger_2040_wifipicodebug.menu.flash.8388608_1048576.build.fs_end=276819968 -challenger_2040_wifipicodebug.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) -challenger_2040_wifipicodebug.menu.flash.8388608_2097152.upload.maximum_size=6287360 -challenger_2040_wifipicodebug.menu.flash.8388608_2097152.build.flash_length=6287360 -challenger_2040_wifipicodebug.menu.flash.8388608_2097152.build.eeprom_start=276819968 -challenger_2040_wifipicodebug.menu.flash.8388608_2097152.build.fs_start=274722816 -challenger_2040_wifipicodebug.menu.flash.8388608_2097152.build.fs_end=276819968 -challenger_2040_wifipicodebug.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) -challenger_2040_wifipicodebug.menu.flash.8388608_3145728.upload.maximum_size=5238784 -challenger_2040_wifipicodebug.menu.flash.8388608_3145728.build.flash_length=5238784 -challenger_2040_wifipicodebug.menu.flash.8388608_3145728.build.eeprom_start=276819968 -challenger_2040_wifipicodebug.menu.flash.8388608_3145728.build.fs_start=273674240 -challenger_2040_wifipicodebug.menu.flash.8388608_3145728.build.fs_end=276819968 -challenger_2040_wifipicodebug.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) -challenger_2040_wifipicodebug.menu.flash.8388608_4194304.upload.maximum_size=4190208 -challenger_2040_wifipicodebug.menu.flash.8388608_4194304.build.flash_length=4190208 -challenger_2040_wifipicodebug.menu.flash.8388608_4194304.build.eeprom_start=276819968 -challenger_2040_wifipicodebug.menu.flash.8388608_4194304.build.fs_start=272625664 -challenger_2040_wifipicodebug.menu.flash.8388608_4194304.build.fs_end=276819968 -challenger_2040_wifipicodebug.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) -challenger_2040_wifipicodebug.menu.flash.8388608_5242880.upload.maximum_size=3141632 -challenger_2040_wifipicodebug.menu.flash.8388608_5242880.build.flash_length=3141632 -challenger_2040_wifipicodebug.menu.flash.8388608_5242880.build.eeprom_start=276819968 -challenger_2040_wifipicodebug.menu.flash.8388608_5242880.build.fs_start=271577088 -challenger_2040_wifipicodebug.menu.flash.8388608_5242880.build.fs_end=276819968 -challenger_2040_wifipicodebug.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) -challenger_2040_wifipicodebug.menu.flash.8388608_6291456.upload.maximum_size=2093056 -challenger_2040_wifipicodebug.menu.flash.8388608_6291456.build.flash_length=2093056 -challenger_2040_wifipicodebug.menu.flash.8388608_6291456.build.eeprom_start=276819968 -challenger_2040_wifipicodebug.menu.flash.8388608_6291456.build.fs_start=270528512 -challenger_2040_wifipicodebug.menu.flash.8388608_6291456.build.fs_end=276819968 -challenger_2040_wifipicodebug.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) -challenger_2040_wifipicodebug.menu.flash.8388608_7340032.upload.maximum_size=1044480 -challenger_2040_wifipicodebug.menu.flash.8388608_7340032.build.flash_length=1044480 -challenger_2040_wifipicodebug.menu.flash.8388608_7340032.build.eeprom_start=276819968 -challenger_2040_wifipicodebug.menu.flash.8388608_7340032.build.fs_start=269479936 -challenger_2040_wifipicodebug.menu.flash.8388608_7340032.build.fs_end=276819968 -challenger_2040_wifipicodebug.menu.freq.133=133 MHz -challenger_2040_wifipicodebug.menu.freq.133.build.f_cpu=133000000L -challenger_2040_wifipicodebug.menu.freq.50=50 MHz -challenger_2040_wifipicodebug.menu.freq.50.build.f_cpu=50000000L -challenger_2040_wifipicodebug.menu.freq.100=100 MHz -challenger_2040_wifipicodebug.menu.freq.100.build.f_cpu=100000000L -challenger_2040_wifipicodebug.menu.freq.120=120 MHz -challenger_2040_wifipicodebug.menu.freq.120.build.f_cpu=120000000L -challenger_2040_wifipicodebug.menu.freq.125=125 MHz -challenger_2040_wifipicodebug.menu.freq.125.build.f_cpu=125000000L -challenger_2040_wifipicodebug.menu.freq.150=150 MHz (Overclock) -challenger_2040_wifipicodebug.menu.freq.150.build.f_cpu=150000000L -challenger_2040_wifipicodebug.menu.freq.175=175 MHz (Overclock) -challenger_2040_wifipicodebug.menu.freq.175.build.f_cpu=175000000L -challenger_2040_wifipicodebug.menu.freq.200=200 MHz (Overclock) -challenger_2040_wifipicodebug.menu.freq.200.build.f_cpu=200000000L -challenger_2040_wifipicodebug.menu.freq.225=225 MHz (Overclock) -challenger_2040_wifipicodebug.menu.freq.225.build.f_cpu=225000000L -challenger_2040_wifipicodebug.menu.freq.240=240 MHz (Overclock) -challenger_2040_wifipicodebug.menu.freq.240.build.f_cpu=240000000L -challenger_2040_wifipicodebug.menu.freq.250=250 MHz (Overclock) -challenger_2040_wifipicodebug.menu.freq.250.build.f_cpu=250000000L -challenger_2040_wifipicodebug.menu.freq.275=275 MHz (Overclock) -challenger_2040_wifipicodebug.menu.freq.275.build.f_cpu=275000000L -challenger_2040_wifipicodebug.menu.freq.300=300 MHz (Overclock) -challenger_2040_wifipicodebug.menu.freq.300.build.f_cpu=300000000L -challenger_2040_wifipicodebug.menu.opt.Small=Small (-Os) (standard) -challenger_2040_wifipicodebug.menu.opt.Small.build.flags.optimize=-Os -challenger_2040_wifipicodebug.menu.opt.Optimize=Optimize (-O) -challenger_2040_wifipicodebug.menu.opt.Optimize.build.flags.optimize=-O -challenger_2040_wifipicodebug.menu.opt.Optimize2=Optimize More (-O2) -challenger_2040_wifipicodebug.menu.opt.Optimize2.build.flags.optimize=-O2 -challenger_2040_wifipicodebug.menu.opt.Optimize3=Optimize Even More (-O3) -challenger_2040_wifipicodebug.menu.opt.Optimize3.build.flags.optimize=-O3 -challenger_2040_wifipicodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower) -challenger_2040_wifipicodebug.menu.opt.Fast.build.flags.optimize=-Ofast -challenger_2040_wifipicodebug.menu.opt.Debug=Debug (-Og) -challenger_2040_wifipicodebug.menu.opt.Debug.build.flags.optimize=-Og -challenger_2040_wifipicodebug.menu.rtti.Disabled=Disabled -challenger_2040_wifipicodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti -challenger_2040_wifipicodebug.menu.rtti.Enabled=Enabled -challenger_2040_wifipicodebug.menu.rtti.Enabled.build.flags.rtti= -challenger_2040_wifipicodebug.menu.stackprotect.Disabled=Disabled -challenger_2040_wifipicodebug.menu.stackprotect.Disabled.build.flags.stackprotect= -challenger_2040_wifipicodebug.menu.stackprotect.Enabled=Enabled -challenger_2040_wifipicodebug.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector -challenger_2040_wifipicodebug.menu.exceptions.Disabled=Disabled -challenger_2040_wifipicodebug.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions -challenger_2040_wifipicodebug.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ -challenger_2040_wifipicodebug.menu.exceptions.Enabled=Enabled -challenger_2040_wifipicodebug.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions -challenger_2040_wifipicodebug.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc -challenger_2040_wifipicodebug.menu.dbgport.Disabled=Disabled -challenger_2040_wifipicodebug.menu.dbgport.Disabled.build.debug_port= -challenger_2040_wifipicodebug.menu.dbgport.Serial=Serial -challenger_2040_wifipicodebug.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial -challenger_2040_wifipicodebug.menu.dbgport.Serial1=Serial1 -challenger_2040_wifipicodebug.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 -challenger_2040_wifipicodebug.menu.dbgport.Serial2=Serial2 -challenger_2040_wifipicodebug.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 -challenger_2040_wifipicodebug.menu.dbglvl.None=None -challenger_2040_wifipicodebug.menu.dbglvl.None.build.debug_level= -challenger_2040_wifipicodebug.menu.dbglvl.Core=Core -challenger_2040_wifipicodebug.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE -challenger_2040_wifipicodebug.menu.dbglvl.SPI=SPI -challenger_2040_wifipicodebug.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI -challenger_2040_wifipicodebug.menu.dbglvl.Wire=Wire -challenger_2040_wifipicodebug.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE -challenger_2040_wifipicodebug.menu.dbglvl.All=All -challenger_2040_wifipicodebug.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE -challenger_2040_wifipicodebug.menu.dbglvl.NDEBUG=NDEBUG -challenger_2040_wifipicodebug.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG -challenger_2040_wifipicodebug.menu.usbstack.nousb=No USB -challenger_2040_wifipicodebug.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico" -challenger_2040_wifipicodebug.menu.ipstack.ipv4only=IPv4 Only -challenger_2040_wifipicodebug.menu.ipstack.ipv4only.build.libpico=libpico.a -challenger_2040_wifipicodebug.menu.ipstack.ipv4only.build.lwipdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -challenger_2040_wifipicodebug.menu.ipstack.ipv4ipv6=IPv4 and IPv6 -challenger_2040_wifipicodebug.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6.a -challenger_2040_wifipicodebug.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 +challenger_2040_ltepicodebug.name=iLabs Challenger 2040 LTE (pico-debug) +challenger_2040_ltepicodebug.vid.0=0x1209 +challenger_2040_ltepicodebug.pid.0=0x2488 +challenger_2040_ltepicodebug.build.usbpid=-DSERIALUSB_PID=0x100b +challenger_2040_ltepicodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=500 +challenger_2040_ltepicodebug.build.board=CHALLENGER_2040_LTE_RP2040 +challenger_2040_ltepicodebug.build.mcu=cortex-m0plus +challenger_2040_ltepicodebug.build.variant=challenger_2040_lte +challenger_2040_ltepicodebug.upload.tool=picodebug +challenger_2040_ltepicodebug.upload.maximum_size=8388608 +challenger_2040_ltepicodebug.upload.maximum_data_size=245760 +challenger_2040_ltepicodebug.upload.wait_for_upload_port=true +challenger_2040_ltepicodebug.upload.erase_cmd= +challenger_2040_ltepicodebug.serial.disableDTR=false +challenger_2040_ltepicodebug.serial.disableRTS=false +challenger_2040_ltepicodebug.build.f_cpu=125000000 +challenger_2040_ltepicodebug.build.led= +challenger_2040_ltepicodebug.build.core=rp2040 +challenger_2040_ltepicodebug.build.ldscript=memmap_default.ld +challenger_2040_ltepicodebug.build.ram_length=240k +challenger_2040_ltepicodebug.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_ltepicodebug.build.vid=0x2e8a +challenger_2040_ltepicodebug.build.pid=0x100b +challenger_2040_ltepicodebug.build.usb_manufacturer="iLabs" +challenger_2040_ltepicodebug.build.usb_product="Challenger 2040 LTE (pico-debug)" +challenger_2040_ltepicodebug.menu.flash.8388608_0=8MB (no FS) +challenger_2040_ltepicodebug.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_ltepicodebug.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_ltepicodebug.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_ltepicodebug.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_ltepicodebug.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_ltepicodebug.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_ltepicodebug.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_ltepicodebug.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_ltepicodebug.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_ltepicodebug.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_ltepicodebug.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_ltepicodebug.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_ltepicodebug.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_ltepicodebug.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_ltepicodebug.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_ltepicodebug.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_ltepicodebug.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_ltepicodebug.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_ltepicodebug.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_ltepicodebug.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_ltepicodebug.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_ltepicodebug.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_ltepicodebug.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_ltepicodebug.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_ltepicodebug.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_ltepicodebug.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_ltepicodebug.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_ltepicodebug.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_ltepicodebug.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_ltepicodebug.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_ltepicodebug.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_ltepicodebug.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_ltepicodebug.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_ltepicodebug.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_ltepicodebug.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_ltepicodebug.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_ltepicodebug.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_ltepicodebug.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_ltepicodebug.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_ltepicodebug.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_ltepicodebug.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_ltepicodebug.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_ltepicodebug.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_ltepicodebug.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_ltepicodebug.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_ltepicodebug.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_ltepicodebug.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_ltepicodebug.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_ltepicodebug.menu.freq.133=133 MHz +challenger_2040_ltepicodebug.menu.freq.133.build.f_cpu=133000000L +challenger_2040_ltepicodebug.menu.freq.50=50 MHz +challenger_2040_ltepicodebug.menu.freq.50.build.f_cpu=50000000L +challenger_2040_ltepicodebug.menu.freq.100=100 MHz +challenger_2040_ltepicodebug.menu.freq.100.build.f_cpu=100000000L +challenger_2040_ltepicodebug.menu.freq.120=120 MHz +challenger_2040_ltepicodebug.menu.freq.120.build.f_cpu=120000000L +challenger_2040_ltepicodebug.menu.freq.125=125 MHz +challenger_2040_ltepicodebug.menu.freq.125.build.f_cpu=125000000L +challenger_2040_ltepicodebug.menu.freq.150=150 MHz (Overclock) +challenger_2040_ltepicodebug.menu.freq.150.build.f_cpu=150000000L +challenger_2040_ltepicodebug.menu.freq.175=175 MHz (Overclock) +challenger_2040_ltepicodebug.menu.freq.175.build.f_cpu=175000000L +challenger_2040_ltepicodebug.menu.freq.200=200 MHz (Overclock) +challenger_2040_ltepicodebug.menu.freq.200.build.f_cpu=200000000L +challenger_2040_ltepicodebug.menu.freq.225=225 MHz (Overclock) +challenger_2040_ltepicodebug.menu.freq.225.build.f_cpu=225000000L +challenger_2040_ltepicodebug.menu.freq.240=240 MHz (Overclock) +challenger_2040_ltepicodebug.menu.freq.240.build.f_cpu=240000000L +challenger_2040_ltepicodebug.menu.freq.250=250 MHz (Overclock) +challenger_2040_ltepicodebug.menu.freq.250.build.f_cpu=250000000L +challenger_2040_ltepicodebug.menu.freq.275=275 MHz (Overclock) +challenger_2040_ltepicodebug.menu.freq.275.build.f_cpu=275000000L +challenger_2040_ltepicodebug.menu.freq.300=300 MHz (Overclock) +challenger_2040_ltepicodebug.menu.freq.300.build.f_cpu=300000000L +challenger_2040_ltepicodebug.menu.opt.Small=Small (-Os) (standard) +challenger_2040_ltepicodebug.menu.opt.Small.build.flags.optimize=-Os +challenger_2040_ltepicodebug.menu.opt.Optimize=Optimize (-O) +challenger_2040_ltepicodebug.menu.opt.Optimize.build.flags.optimize=-O +challenger_2040_ltepicodebug.menu.opt.Optimize2=Optimize More (-O2) +challenger_2040_ltepicodebug.menu.opt.Optimize2.build.flags.optimize=-O2 +challenger_2040_ltepicodebug.menu.opt.Optimize3=Optimize Even More (-O3) +challenger_2040_ltepicodebug.menu.opt.Optimize3.build.flags.optimize=-O3 +challenger_2040_ltepicodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower) +challenger_2040_ltepicodebug.menu.opt.Fast.build.flags.optimize=-Ofast +challenger_2040_ltepicodebug.menu.opt.Debug=Debug (-Og) +challenger_2040_ltepicodebug.menu.opt.Debug.build.flags.optimize=-Og +challenger_2040_ltepicodebug.menu.rtti.Disabled=Disabled +challenger_2040_ltepicodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti +challenger_2040_ltepicodebug.menu.rtti.Enabled=Enabled +challenger_2040_ltepicodebug.menu.rtti.Enabled.build.flags.rtti= +challenger_2040_ltepicodebug.menu.stackprotect.Disabled=Disabled +challenger_2040_ltepicodebug.menu.stackprotect.Disabled.build.flags.stackprotect= +challenger_2040_ltepicodebug.menu.stackprotect.Enabled=Enabled +challenger_2040_ltepicodebug.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector +challenger_2040_ltepicodebug.menu.exceptions.Disabled=Disabled +challenger_2040_ltepicodebug.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions +challenger_2040_ltepicodebug.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ +challenger_2040_ltepicodebug.menu.exceptions.Enabled=Enabled +challenger_2040_ltepicodebug.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions +challenger_2040_ltepicodebug.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc +challenger_2040_ltepicodebug.menu.dbgport.Disabled=Disabled +challenger_2040_ltepicodebug.menu.dbgport.Disabled.build.debug_port= +challenger_2040_ltepicodebug.menu.dbgport.Serial=Serial +challenger_2040_ltepicodebug.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_ltepicodebug.menu.dbgport.Serial1=Serial1 +challenger_2040_ltepicodebug.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_ltepicodebug.menu.dbgport.Serial2=Serial2 +challenger_2040_ltepicodebug.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_ltepicodebug.menu.dbglvl.None=None +challenger_2040_ltepicodebug.menu.dbglvl.None.build.debug_level= +challenger_2040_ltepicodebug.menu.dbglvl.Core=Core +challenger_2040_ltepicodebug.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_ltepicodebug.menu.dbglvl.SPI=SPI +challenger_2040_ltepicodebug.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_ltepicodebug.menu.dbglvl.Wire=Wire +challenger_2040_ltepicodebug.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_ltepicodebug.menu.dbglvl.All=All +challenger_2040_ltepicodebug.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_ltepicodebug.menu.dbglvl.NDEBUG=NDEBUG +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" +challenger_2040_ltepicodebug.menu.ipstack.ipv4only=IPv4 Only +challenger_2040_ltepicodebug.menu.ipstack.ipv4only.build.libpico=libpico.a +challenger_2040_ltepicodebug.menu.ipstack.ipv4only.build.lwipdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 +challenger_2040_ltepicodebug.menu.ipstack.ipv4ipv6=IPv4 and IPv6 +challenger_2040_ltepicodebug.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6.a +challenger_2040_ltepicodebug.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 + +# ----------------------------------- +# iLabs Challenger 2040 LoRa +# ----------------------------------- +challenger_2040_lora.name=iLabs Challenger 2040 LoRa +challenger_2040_lora.vid.0=0x2e8a +challenger_2040_lora.pid.0=0x1023 +challenger_2040_lora.build.usbpid=-DSERIALUSB_PID=0x1023 +challenger_2040_lora.build.usbpwr=-DUSBD_MAX_POWER_MA=250 +challenger_2040_lora.build.board=CHALLENGER_2040_LORA_RP2040 +challenger_2040_lora.build.mcu=cortex-m0plus +challenger_2040_lora.build.variant=challenger_2040_lora +challenger_2040_lora.upload.tool=uf2conv +challenger_2040_lora.upload.maximum_size=8388608 +challenger_2040_lora.upload.maximum_data_size=262144 +challenger_2040_lora.upload.wait_for_upload_port=true +challenger_2040_lora.upload.erase_cmd= +challenger_2040_lora.serial.disableDTR=false +challenger_2040_lora.serial.disableRTS=false +challenger_2040_lora.build.f_cpu=125000000 +challenger_2040_lora.build.led= +challenger_2040_lora.build.core=rp2040 +challenger_2040_lora.build.ldscript=memmap_default.ld +challenger_2040_lora.build.ram_length=256k +challenger_2040_lora.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_lora.build.vid=0x2e8a +challenger_2040_lora.build.pid=0x1023 +challenger_2040_lora.build.usb_manufacturer="iLabs" +challenger_2040_lora.build.usb_product="Challenger 2040 LoRa" +challenger_2040_lora.menu.flash.8388608_0=8MB (no FS) +challenger_2040_lora.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_lora.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_lora.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_lora.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_lora.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_lora.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_lora.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_lora.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_lora.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_lora.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_lora.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_lora.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_lora.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_lora.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_lora.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_lora.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_lora.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_lora.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_lora.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_lora.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_lora.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_lora.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_lora.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_lora.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_lora.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_lora.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_lora.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_lora.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_lora.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_lora.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_lora.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_lora.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_lora.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_lora.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_lora.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_lora.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_lora.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_lora.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_lora.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_lora.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_lora.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_lora.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_lora.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_lora.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_lora.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_lora.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_lora.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_lora.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_lora.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_lora.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_lora.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_lora.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_lora.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_lora.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_lora.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_lora.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_lora.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_lora.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_lora.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_lora.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_lora.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_lora.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_lora.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_lora.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_lora.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_lora.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_lora.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_lora.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_lora.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_lora.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_lora.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_lora.menu.freq.133=133 MHz +challenger_2040_lora.menu.freq.133.build.f_cpu=133000000L +challenger_2040_lora.menu.freq.50=50 MHz +challenger_2040_lora.menu.freq.50.build.f_cpu=50000000L +challenger_2040_lora.menu.freq.100=100 MHz +challenger_2040_lora.menu.freq.100.build.f_cpu=100000000L +challenger_2040_lora.menu.freq.120=120 MHz +challenger_2040_lora.menu.freq.120.build.f_cpu=120000000L +challenger_2040_lora.menu.freq.125=125 MHz +challenger_2040_lora.menu.freq.125.build.f_cpu=125000000L +challenger_2040_lora.menu.freq.150=150 MHz (Overclock) +challenger_2040_lora.menu.freq.150.build.f_cpu=150000000L +challenger_2040_lora.menu.freq.175=175 MHz (Overclock) +challenger_2040_lora.menu.freq.175.build.f_cpu=175000000L +challenger_2040_lora.menu.freq.200=200 MHz (Overclock) +challenger_2040_lora.menu.freq.200.build.f_cpu=200000000L +challenger_2040_lora.menu.freq.225=225 MHz (Overclock) +challenger_2040_lora.menu.freq.225.build.f_cpu=225000000L +challenger_2040_lora.menu.freq.240=240 MHz (Overclock) +challenger_2040_lora.menu.freq.240.build.f_cpu=240000000L +challenger_2040_lora.menu.freq.250=250 MHz (Overclock) +challenger_2040_lora.menu.freq.250.build.f_cpu=250000000L +challenger_2040_lora.menu.freq.275=275 MHz (Overclock) +challenger_2040_lora.menu.freq.275.build.f_cpu=275000000L +challenger_2040_lora.menu.freq.300=300 MHz (Overclock) +challenger_2040_lora.menu.freq.300.build.f_cpu=300000000L +challenger_2040_lora.menu.opt.Small=Small (-Os) (standard) +challenger_2040_lora.menu.opt.Small.build.flags.optimize=-Os +challenger_2040_lora.menu.opt.Optimize=Optimize (-O) +challenger_2040_lora.menu.opt.Optimize.build.flags.optimize=-O +challenger_2040_lora.menu.opt.Optimize2=Optimize More (-O2) +challenger_2040_lora.menu.opt.Optimize2.build.flags.optimize=-O2 +challenger_2040_lora.menu.opt.Optimize3=Optimize Even More (-O3) +challenger_2040_lora.menu.opt.Optimize3.build.flags.optimize=-O3 +challenger_2040_lora.menu.opt.Fast=Fast (-Ofast) (maybe slower) +challenger_2040_lora.menu.opt.Fast.build.flags.optimize=-Ofast +challenger_2040_lora.menu.opt.Debug=Debug (-Og) +challenger_2040_lora.menu.opt.Debug.build.flags.optimize=-Og +challenger_2040_lora.menu.rtti.Disabled=Disabled +challenger_2040_lora.menu.rtti.Disabled.build.flags.rtti=-fno-rtti +challenger_2040_lora.menu.rtti.Enabled=Enabled +challenger_2040_lora.menu.rtti.Enabled.build.flags.rtti= +challenger_2040_lora.menu.stackprotect.Disabled=Disabled +challenger_2040_lora.menu.stackprotect.Disabled.build.flags.stackprotect= +challenger_2040_lora.menu.stackprotect.Enabled=Enabled +challenger_2040_lora.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector +challenger_2040_lora.menu.exceptions.Disabled=Disabled +challenger_2040_lora.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions +challenger_2040_lora.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ +challenger_2040_lora.menu.exceptions.Enabled=Enabled +challenger_2040_lora.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions +challenger_2040_lora.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc +challenger_2040_lora.menu.dbgport.Disabled=Disabled +challenger_2040_lora.menu.dbgport.Disabled.build.debug_port= +challenger_2040_lora.menu.dbgport.Serial=Serial +challenger_2040_lora.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_lora.menu.dbgport.Serial1=Serial1 +challenger_2040_lora.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_lora.menu.dbgport.Serial2=Serial2 +challenger_2040_lora.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_lora.menu.dbglvl.None=None +challenger_2040_lora.menu.dbglvl.None.build.debug_level= +challenger_2040_lora.menu.dbglvl.Core=Core +challenger_2040_lora.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_lora.menu.dbglvl.SPI=SPI +challenger_2040_lora.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_lora.menu.dbglvl.Wire=Wire +challenger_2040_lora.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_lora.menu.dbglvl.All=All +challenger_2040_lora.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_lora.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_lora.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_lora.menu.usbstack.picosdk=Pico SDK +challenger_2040_lora.menu.usbstack.picosdk.build.usbstack_flags= +challenger_2040_lora.menu.usbstack.tinyusb=Adafruit TinyUSB +challenger_2040_lora.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" +challenger_2040_lora.menu.ipstack.ipv4only=IPv4 Only +challenger_2040_lora.menu.ipstack.ipv4only.build.libpico=libpico.a +challenger_2040_lora.menu.ipstack.ipv4only.build.lwipdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 +challenger_2040_lora.menu.ipstack.ipv4ipv6=IPv4 and IPv6 +challenger_2040_lora.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6.a +challenger_2040_lora.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 # ----------------------------------- -# iLabs Challenger 2040 LTE +# iLabs Challenger 2040 LoRa (Picoprobe) # ----------------------------------- -challenger_2040_lte.name=iLabs Challenger 2040 LTE -challenger_2040_lte.vid.0=0x2e8a -challenger_2040_lte.pid.0=0x100b -challenger_2040_lte.build.usbpid=-DSERIALUSB_PID=0x100b -challenger_2040_lte.build.usbpwr=-DUSBD_MAX_POWER_MA=500 -challenger_2040_lte.build.board=CHALLENGER_2040_LTE_RP2040 -challenger_2040_lte.build.mcu=cortex-m0plus -challenger_2040_lte.build.variant=challenger_2040_lte -challenger_2040_lte.upload.tool=uf2conv -challenger_2040_lte.upload.maximum_size=8388608 -challenger_2040_lte.upload.maximum_data_size=262144 -challenger_2040_lte.upload.wait_for_upload_port=true -challenger_2040_lte.upload.erase_cmd= -challenger_2040_lte.serial.disableDTR=false -challenger_2040_lte.serial.disableRTS=false -challenger_2040_lte.build.f_cpu=125000000 -challenger_2040_lte.build.led= -challenger_2040_lte.build.core=rp2040 -challenger_2040_lte.build.ldscript=memmap_default.ld -challenger_2040_lte.build.ram_length=256k -challenger_2040_lte.build.boot2=boot2_w25q080_2_padded_checksum -challenger_2040_lte.build.vid=0x2e8a -challenger_2040_lte.build.pid=0x100b -challenger_2040_lte.build.usb_manufacturer="iLabs" -challenger_2040_lte.build.usb_product="Challenger 2040 LTE" -challenger_2040_lte.menu.flash.8388608_0=8MB (no FS) -challenger_2040_lte.menu.flash.8388608_0.upload.maximum_size=8384512 -challenger_2040_lte.menu.flash.8388608_0.build.flash_length=8384512 -challenger_2040_lte.menu.flash.8388608_0.build.eeprom_start=276819968 -challenger_2040_lte.menu.flash.8388608_0.build.fs_start=276819968 -challenger_2040_lte.menu.flash.8388608_0.build.fs_end=276819968 -challenger_2040_lte.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) -challenger_2040_lte.menu.flash.8388608_65536.upload.maximum_size=8318976 -challenger_2040_lte.menu.flash.8388608_65536.build.flash_length=8318976 -challenger_2040_lte.menu.flash.8388608_65536.build.eeprom_start=276819968 -challenger_2040_lte.menu.flash.8388608_65536.build.fs_start=276754432 -challenger_2040_lte.menu.flash.8388608_65536.build.fs_end=276819968 -challenger_2040_lte.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) -challenger_2040_lte.menu.flash.8388608_131072.upload.maximum_size=8253440 -challenger_2040_lte.menu.flash.8388608_131072.build.flash_length=8253440 -challenger_2040_lte.menu.flash.8388608_131072.build.eeprom_start=276819968 -challenger_2040_lte.menu.flash.8388608_131072.build.fs_start=276688896 -challenger_2040_lte.menu.flash.8388608_131072.build.fs_end=276819968 -challenger_2040_lte.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) -challenger_2040_lte.menu.flash.8388608_262144.upload.maximum_size=8122368 -challenger_2040_lte.menu.flash.8388608_262144.build.flash_length=8122368 -challenger_2040_lte.menu.flash.8388608_262144.build.eeprom_start=276819968 -challenger_2040_lte.menu.flash.8388608_262144.build.fs_start=276557824 -challenger_2040_lte.menu.flash.8388608_262144.build.fs_end=276819968 -challenger_2040_lte.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) -challenger_2040_lte.menu.flash.8388608_524288.upload.maximum_size=7860224 -challenger_2040_lte.menu.flash.8388608_524288.build.flash_length=7860224 -challenger_2040_lte.menu.flash.8388608_524288.build.eeprom_start=276819968 -challenger_2040_lte.menu.flash.8388608_524288.build.fs_start=276295680 -challenger_2040_lte.menu.flash.8388608_524288.build.fs_end=276819968 -challenger_2040_lte.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) -challenger_2040_lte.menu.flash.8388608_1048576.upload.maximum_size=7335936 -challenger_2040_lte.menu.flash.8388608_1048576.build.flash_length=7335936 -challenger_2040_lte.menu.flash.8388608_1048576.build.eeprom_start=276819968 -challenger_2040_lte.menu.flash.8388608_1048576.build.fs_start=275771392 -challenger_2040_lte.menu.flash.8388608_1048576.build.fs_end=276819968 -challenger_2040_lte.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) -challenger_2040_lte.menu.flash.8388608_2097152.upload.maximum_size=6287360 -challenger_2040_lte.menu.flash.8388608_2097152.build.flash_length=6287360 -challenger_2040_lte.menu.flash.8388608_2097152.build.eeprom_start=276819968 -challenger_2040_lte.menu.flash.8388608_2097152.build.fs_start=274722816 -challenger_2040_lte.menu.flash.8388608_2097152.build.fs_end=276819968 -challenger_2040_lte.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) -challenger_2040_lte.menu.flash.8388608_3145728.upload.maximum_size=5238784 -challenger_2040_lte.menu.flash.8388608_3145728.build.flash_length=5238784 -challenger_2040_lte.menu.flash.8388608_3145728.build.eeprom_start=276819968 -challenger_2040_lte.menu.flash.8388608_3145728.build.fs_start=273674240 -challenger_2040_lte.menu.flash.8388608_3145728.build.fs_end=276819968 -challenger_2040_lte.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) -challenger_2040_lte.menu.flash.8388608_4194304.upload.maximum_size=4190208 -challenger_2040_lte.menu.flash.8388608_4194304.build.flash_length=4190208 -challenger_2040_lte.menu.flash.8388608_4194304.build.eeprom_start=276819968 -challenger_2040_lte.menu.flash.8388608_4194304.build.fs_start=272625664 -challenger_2040_lte.menu.flash.8388608_4194304.build.fs_end=276819968 -challenger_2040_lte.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) -challenger_2040_lte.menu.flash.8388608_5242880.upload.maximum_size=3141632 -challenger_2040_lte.menu.flash.8388608_5242880.build.flash_length=3141632 -challenger_2040_lte.menu.flash.8388608_5242880.build.eeprom_start=276819968 -challenger_2040_lte.menu.flash.8388608_5242880.build.fs_start=271577088 -challenger_2040_lte.menu.flash.8388608_5242880.build.fs_end=276819968 -challenger_2040_lte.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) -challenger_2040_lte.menu.flash.8388608_6291456.upload.maximum_size=2093056 -challenger_2040_lte.menu.flash.8388608_6291456.build.flash_length=2093056 -challenger_2040_lte.menu.flash.8388608_6291456.build.eeprom_start=276819968 -challenger_2040_lte.menu.flash.8388608_6291456.build.fs_start=270528512 -challenger_2040_lte.menu.flash.8388608_6291456.build.fs_end=276819968 -challenger_2040_lte.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) -challenger_2040_lte.menu.flash.8388608_7340032.upload.maximum_size=1044480 -challenger_2040_lte.menu.flash.8388608_7340032.build.flash_length=1044480 -challenger_2040_lte.menu.flash.8388608_7340032.build.eeprom_start=276819968 -challenger_2040_lte.menu.flash.8388608_7340032.build.fs_start=269479936 -challenger_2040_lte.menu.flash.8388608_7340032.build.fs_end=276819968 -challenger_2040_lte.menu.freq.133=133 MHz -challenger_2040_lte.menu.freq.133.build.f_cpu=133000000L -challenger_2040_lte.menu.freq.50=50 MHz -challenger_2040_lte.menu.freq.50.build.f_cpu=50000000L -challenger_2040_lte.menu.freq.100=100 MHz -challenger_2040_lte.menu.freq.100.build.f_cpu=100000000L -challenger_2040_lte.menu.freq.120=120 MHz -challenger_2040_lte.menu.freq.120.build.f_cpu=120000000L -challenger_2040_lte.menu.freq.125=125 MHz -challenger_2040_lte.menu.freq.125.build.f_cpu=125000000L -challenger_2040_lte.menu.freq.150=150 MHz (Overclock) -challenger_2040_lte.menu.freq.150.build.f_cpu=150000000L -challenger_2040_lte.menu.freq.175=175 MHz (Overclock) -challenger_2040_lte.menu.freq.175.build.f_cpu=175000000L -challenger_2040_lte.menu.freq.200=200 MHz (Overclock) -challenger_2040_lte.menu.freq.200.build.f_cpu=200000000L -challenger_2040_lte.menu.freq.225=225 MHz (Overclock) -challenger_2040_lte.menu.freq.225.build.f_cpu=225000000L -challenger_2040_lte.menu.freq.240=240 MHz (Overclock) -challenger_2040_lte.menu.freq.240.build.f_cpu=240000000L -challenger_2040_lte.menu.freq.250=250 MHz (Overclock) -challenger_2040_lte.menu.freq.250.build.f_cpu=250000000L -challenger_2040_lte.menu.freq.275=275 MHz (Overclock) -challenger_2040_lte.menu.freq.275.build.f_cpu=275000000L -challenger_2040_lte.menu.freq.300=300 MHz (Overclock) -challenger_2040_lte.menu.freq.300.build.f_cpu=300000000L -challenger_2040_lte.menu.opt.Small=Small (-Os) (standard) -challenger_2040_lte.menu.opt.Small.build.flags.optimize=-Os -challenger_2040_lte.menu.opt.Optimize=Optimize (-O) -challenger_2040_lte.menu.opt.Optimize.build.flags.optimize=-O -challenger_2040_lte.menu.opt.Optimize2=Optimize More (-O2) -challenger_2040_lte.menu.opt.Optimize2.build.flags.optimize=-O2 -challenger_2040_lte.menu.opt.Optimize3=Optimize Even More (-O3) -challenger_2040_lte.menu.opt.Optimize3.build.flags.optimize=-O3 -challenger_2040_lte.menu.opt.Fast=Fast (-Ofast) (maybe slower) -challenger_2040_lte.menu.opt.Fast.build.flags.optimize=-Ofast -challenger_2040_lte.menu.opt.Debug=Debug (-Og) -challenger_2040_lte.menu.opt.Debug.build.flags.optimize=-Og -challenger_2040_lte.menu.rtti.Disabled=Disabled -challenger_2040_lte.menu.rtti.Disabled.build.flags.rtti=-fno-rtti -challenger_2040_lte.menu.rtti.Enabled=Enabled -challenger_2040_lte.menu.rtti.Enabled.build.flags.rtti= -challenger_2040_lte.menu.stackprotect.Disabled=Disabled -challenger_2040_lte.menu.stackprotect.Disabled.build.flags.stackprotect= -challenger_2040_lte.menu.stackprotect.Enabled=Enabled -challenger_2040_lte.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector -challenger_2040_lte.menu.exceptions.Disabled=Disabled -challenger_2040_lte.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions -challenger_2040_lte.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ -challenger_2040_lte.menu.exceptions.Enabled=Enabled -challenger_2040_lte.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions -challenger_2040_lte.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc -challenger_2040_lte.menu.dbgport.Disabled=Disabled -challenger_2040_lte.menu.dbgport.Disabled.build.debug_port= -challenger_2040_lte.menu.dbgport.Serial=Serial -challenger_2040_lte.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial -challenger_2040_lte.menu.dbgport.Serial1=Serial1 -challenger_2040_lte.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 -challenger_2040_lte.menu.dbgport.Serial2=Serial2 -challenger_2040_lte.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 -challenger_2040_lte.menu.dbglvl.None=None -challenger_2040_lte.menu.dbglvl.None.build.debug_level= -challenger_2040_lte.menu.dbglvl.Core=Core -challenger_2040_lte.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE -challenger_2040_lte.menu.dbglvl.SPI=SPI -challenger_2040_lte.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI -challenger_2040_lte.menu.dbglvl.Wire=Wire -challenger_2040_lte.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE -challenger_2040_lte.menu.dbglvl.All=All -challenger_2040_lte.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE -challenger_2040_lte.menu.dbglvl.NDEBUG=NDEBUG -challenger_2040_lte.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG -challenger_2040_lte.menu.usbstack.picosdk=Pico SDK -challenger_2040_lte.menu.usbstack.picosdk.build.usbstack_flags= -challenger_2040_lte.menu.usbstack.tinyusb=Adafruit TinyUSB -challenger_2040_lte.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" -challenger_2040_lte.menu.ipstack.ipv4only=IPv4 Only -challenger_2040_lte.menu.ipstack.ipv4only.build.libpico=libpico.a -challenger_2040_lte.menu.ipstack.ipv4only.build.lwipdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -challenger_2040_lte.menu.ipstack.ipv4ipv6=IPv4 and IPv6 -challenger_2040_lte.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6.a -challenger_2040_lte.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 +challenger_2040_lorapicoprobe.name=iLabs Challenger 2040 LoRa (Picoprobe) +challenger_2040_lorapicoprobe.vid.0=0x2e8a +challenger_2040_lorapicoprobe.pid.0=0x0004 +challenger_2040_lorapicoprobe.build.usbpid=-DSERIALUSB_PID=0x1023 +challenger_2040_lorapicoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=250 +challenger_2040_lorapicoprobe.build.board=CHALLENGER_2040_LORA_RP2040 +challenger_2040_lorapicoprobe.build.mcu=cortex-m0plus +challenger_2040_lorapicoprobe.build.variant=challenger_2040_lora +challenger_2040_lorapicoprobe.upload.tool=picoprobe +challenger_2040_lorapicoprobe.upload.maximum_size=8388608 +challenger_2040_lorapicoprobe.upload.maximum_data_size=262144 +challenger_2040_lorapicoprobe.upload.wait_for_upload_port=true +challenger_2040_lorapicoprobe.upload.erase_cmd= +challenger_2040_lorapicoprobe.serial.disableDTR=false +challenger_2040_lorapicoprobe.serial.disableRTS=false +challenger_2040_lorapicoprobe.build.f_cpu=125000000 +challenger_2040_lorapicoprobe.build.led= +challenger_2040_lorapicoprobe.build.core=rp2040 +challenger_2040_lorapicoprobe.build.ldscript=memmap_default.ld +challenger_2040_lorapicoprobe.build.ram_length=256k +challenger_2040_lorapicoprobe.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_lorapicoprobe.build.vid=0x2e8a +challenger_2040_lorapicoprobe.build.pid=0x1023 +challenger_2040_lorapicoprobe.build.usb_manufacturer="iLabs" +challenger_2040_lorapicoprobe.build.usb_product="Challenger 2040 LoRa (Picoprobe)" +challenger_2040_lorapicoprobe.menu.flash.8388608_0=8MB (no FS) +challenger_2040_lorapicoprobe.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_lorapicoprobe.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_lorapicoprobe.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_lorapicoprobe.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_lorapicoprobe.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_lorapicoprobe.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_lorapicoprobe.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_lorapicoprobe.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_lorapicoprobe.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_lorapicoprobe.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_lorapicoprobe.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_lorapicoprobe.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_lorapicoprobe.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_lorapicoprobe.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_lorapicoprobe.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_lorapicoprobe.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_lorapicoprobe.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_lorapicoprobe.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_lorapicoprobe.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_lorapicoprobe.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_lorapicoprobe.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_lorapicoprobe.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_lorapicoprobe.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_lorapicoprobe.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_lorapicoprobe.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_lorapicoprobe.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_lorapicoprobe.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_lorapicoprobe.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_lorapicoprobe.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_lorapicoprobe.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_lorapicoprobe.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_lorapicoprobe.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_lorapicoprobe.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_lorapicoprobe.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_lorapicoprobe.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_lorapicoprobe.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_lorapicoprobe.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_lorapicoprobe.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_lorapicoprobe.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_lorapicoprobe.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_lorapicoprobe.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_lorapicoprobe.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_lorapicoprobe.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_lorapicoprobe.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_lorapicoprobe.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_lorapicoprobe.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_lorapicoprobe.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_lorapicoprobe.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_lorapicoprobe.menu.freq.133=133 MHz +challenger_2040_lorapicoprobe.menu.freq.133.build.f_cpu=133000000L +challenger_2040_lorapicoprobe.menu.freq.50=50 MHz +challenger_2040_lorapicoprobe.menu.freq.50.build.f_cpu=50000000L +challenger_2040_lorapicoprobe.menu.freq.100=100 MHz +challenger_2040_lorapicoprobe.menu.freq.100.build.f_cpu=100000000L +challenger_2040_lorapicoprobe.menu.freq.120=120 MHz +challenger_2040_lorapicoprobe.menu.freq.120.build.f_cpu=120000000L +challenger_2040_lorapicoprobe.menu.freq.125=125 MHz +challenger_2040_lorapicoprobe.menu.freq.125.build.f_cpu=125000000L +challenger_2040_lorapicoprobe.menu.freq.150=150 MHz (Overclock) +challenger_2040_lorapicoprobe.menu.freq.150.build.f_cpu=150000000L +challenger_2040_lorapicoprobe.menu.freq.175=175 MHz (Overclock) +challenger_2040_lorapicoprobe.menu.freq.175.build.f_cpu=175000000L +challenger_2040_lorapicoprobe.menu.freq.200=200 MHz (Overclock) +challenger_2040_lorapicoprobe.menu.freq.200.build.f_cpu=200000000L +challenger_2040_lorapicoprobe.menu.freq.225=225 MHz (Overclock) +challenger_2040_lorapicoprobe.menu.freq.225.build.f_cpu=225000000L +challenger_2040_lorapicoprobe.menu.freq.240=240 MHz (Overclock) +challenger_2040_lorapicoprobe.menu.freq.240.build.f_cpu=240000000L +challenger_2040_lorapicoprobe.menu.freq.250=250 MHz (Overclock) +challenger_2040_lorapicoprobe.menu.freq.250.build.f_cpu=250000000L +challenger_2040_lorapicoprobe.menu.freq.275=275 MHz (Overclock) +challenger_2040_lorapicoprobe.menu.freq.275.build.f_cpu=275000000L +challenger_2040_lorapicoprobe.menu.freq.300=300 MHz (Overclock) +challenger_2040_lorapicoprobe.menu.freq.300.build.f_cpu=300000000L +challenger_2040_lorapicoprobe.menu.opt.Small=Small (-Os) (standard) +challenger_2040_lorapicoprobe.menu.opt.Small.build.flags.optimize=-Os +challenger_2040_lorapicoprobe.menu.opt.Optimize=Optimize (-O) +challenger_2040_lorapicoprobe.menu.opt.Optimize.build.flags.optimize=-O +challenger_2040_lorapicoprobe.menu.opt.Optimize2=Optimize More (-O2) +challenger_2040_lorapicoprobe.menu.opt.Optimize2.build.flags.optimize=-O2 +challenger_2040_lorapicoprobe.menu.opt.Optimize3=Optimize Even More (-O3) +challenger_2040_lorapicoprobe.menu.opt.Optimize3.build.flags.optimize=-O3 +challenger_2040_lorapicoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower) +challenger_2040_lorapicoprobe.menu.opt.Fast.build.flags.optimize=-Ofast +challenger_2040_lorapicoprobe.menu.opt.Debug=Debug (-Og) +challenger_2040_lorapicoprobe.menu.opt.Debug.build.flags.optimize=-Og +challenger_2040_lorapicoprobe.menu.rtti.Disabled=Disabled +challenger_2040_lorapicoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti +challenger_2040_lorapicoprobe.menu.rtti.Enabled=Enabled +challenger_2040_lorapicoprobe.menu.rtti.Enabled.build.flags.rtti= +challenger_2040_lorapicoprobe.menu.stackprotect.Disabled=Disabled +challenger_2040_lorapicoprobe.menu.stackprotect.Disabled.build.flags.stackprotect= +challenger_2040_lorapicoprobe.menu.stackprotect.Enabled=Enabled +challenger_2040_lorapicoprobe.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector +challenger_2040_lorapicoprobe.menu.exceptions.Disabled=Disabled +challenger_2040_lorapicoprobe.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions +challenger_2040_lorapicoprobe.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ +challenger_2040_lorapicoprobe.menu.exceptions.Enabled=Enabled +challenger_2040_lorapicoprobe.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions +challenger_2040_lorapicoprobe.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc +challenger_2040_lorapicoprobe.menu.dbgport.Disabled=Disabled +challenger_2040_lorapicoprobe.menu.dbgport.Disabled.build.debug_port= +challenger_2040_lorapicoprobe.menu.dbgport.Serial=Serial +challenger_2040_lorapicoprobe.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_lorapicoprobe.menu.dbgport.Serial1=Serial1 +challenger_2040_lorapicoprobe.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_lorapicoprobe.menu.dbgport.Serial2=Serial2 +challenger_2040_lorapicoprobe.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_lorapicoprobe.menu.dbglvl.None=None +challenger_2040_lorapicoprobe.menu.dbglvl.None.build.debug_level= +challenger_2040_lorapicoprobe.menu.dbglvl.Core=Core +challenger_2040_lorapicoprobe.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_lorapicoprobe.menu.dbglvl.SPI=SPI +challenger_2040_lorapicoprobe.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_lorapicoprobe.menu.dbglvl.Wire=Wire +challenger_2040_lorapicoprobe.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_lorapicoprobe.menu.dbglvl.All=All +challenger_2040_lorapicoprobe.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_lorapicoprobe.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_lorapicoprobe.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_lorapicoprobe.menu.usbstack.picosdk=Pico SDK +challenger_2040_lorapicoprobe.menu.usbstack.picosdk.build.usbstack_flags= +challenger_2040_lorapicoprobe.menu.usbstack.tinyusb=Adafruit TinyUSB +challenger_2040_lorapicoprobe.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" +challenger_2040_lorapicoprobe.menu.ipstack.ipv4only=IPv4 Only +challenger_2040_lorapicoprobe.menu.ipstack.ipv4only.build.libpico=libpico.a +challenger_2040_lorapicoprobe.menu.ipstack.ipv4only.build.lwipdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 +challenger_2040_lorapicoprobe.menu.ipstack.ipv4ipv6=IPv4 and IPv6 +challenger_2040_lorapicoprobe.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6.a +challenger_2040_lorapicoprobe.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 + +# ----------------------------------- +# iLabs Challenger 2040 LoRa (pico-debug) +# ----------------------------------- +challenger_2040_lorapicodebug.name=iLabs Challenger 2040 LoRa (pico-debug) +challenger_2040_lorapicodebug.vid.0=0x1209 +challenger_2040_lorapicodebug.pid.0=0x2488 +challenger_2040_lorapicodebug.build.usbpid=-DSERIALUSB_PID=0x1023 +challenger_2040_lorapicodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=250 +challenger_2040_lorapicodebug.build.board=CHALLENGER_2040_LORA_RP2040 +challenger_2040_lorapicodebug.build.mcu=cortex-m0plus +challenger_2040_lorapicodebug.build.variant=challenger_2040_lora +challenger_2040_lorapicodebug.upload.tool=picodebug +challenger_2040_lorapicodebug.upload.maximum_size=8388608 +challenger_2040_lorapicodebug.upload.maximum_data_size=245760 +challenger_2040_lorapicodebug.upload.wait_for_upload_port=true +challenger_2040_lorapicodebug.upload.erase_cmd= +challenger_2040_lorapicodebug.serial.disableDTR=false +challenger_2040_lorapicodebug.serial.disableRTS=false +challenger_2040_lorapicodebug.build.f_cpu=125000000 +challenger_2040_lorapicodebug.build.led= +challenger_2040_lorapicodebug.build.core=rp2040 +challenger_2040_lorapicodebug.build.ldscript=memmap_default.ld +challenger_2040_lorapicodebug.build.ram_length=240k +challenger_2040_lorapicodebug.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_lorapicodebug.build.vid=0x2e8a +challenger_2040_lorapicodebug.build.pid=0x1023 +challenger_2040_lorapicodebug.build.usb_manufacturer="iLabs" +challenger_2040_lorapicodebug.build.usb_product="Challenger 2040 LoRa (pico-debug)" +challenger_2040_lorapicodebug.menu.flash.8388608_0=8MB (no FS) +challenger_2040_lorapicodebug.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_lorapicodebug.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_lorapicodebug.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_lorapicodebug.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_lorapicodebug.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_lorapicodebug.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_lorapicodebug.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_lorapicodebug.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_lorapicodebug.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_lorapicodebug.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_lorapicodebug.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_lorapicodebug.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_lorapicodebug.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_lorapicodebug.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_lorapicodebug.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_lorapicodebug.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_lorapicodebug.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_lorapicodebug.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_lorapicodebug.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_lorapicodebug.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_lorapicodebug.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_lorapicodebug.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_lorapicodebug.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_lorapicodebug.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_lorapicodebug.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_lorapicodebug.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_lorapicodebug.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_lorapicodebug.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_lorapicodebug.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_lorapicodebug.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_lorapicodebug.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_lorapicodebug.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_lorapicodebug.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_lorapicodebug.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_lorapicodebug.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_lorapicodebug.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_lorapicodebug.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_lorapicodebug.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_lorapicodebug.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_lorapicodebug.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_lorapicodebug.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_lorapicodebug.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_lorapicodebug.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_lorapicodebug.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_lorapicodebug.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_lorapicodebug.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_lorapicodebug.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_lorapicodebug.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_lorapicodebug.menu.freq.133=133 MHz +challenger_2040_lorapicodebug.menu.freq.133.build.f_cpu=133000000L +challenger_2040_lorapicodebug.menu.freq.50=50 MHz +challenger_2040_lorapicodebug.menu.freq.50.build.f_cpu=50000000L +challenger_2040_lorapicodebug.menu.freq.100=100 MHz +challenger_2040_lorapicodebug.menu.freq.100.build.f_cpu=100000000L +challenger_2040_lorapicodebug.menu.freq.120=120 MHz +challenger_2040_lorapicodebug.menu.freq.120.build.f_cpu=120000000L +challenger_2040_lorapicodebug.menu.freq.125=125 MHz +challenger_2040_lorapicodebug.menu.freq.125.build.f_cpu=125000000L +challenger_2040_lorapicodebug.menu.freq.150=150 MHz (Overclock) +challenger_2040_lorapicodebug.menu.freq.150.build.f_cpu=150000000L +challenger_2040_lorapicodebug.menu.freq.175=175 MHz (Overclock) +challenger_2040_lorapicodebug.menu.freq.175.build.f_cpu=175000000L +challenger_2040_lorapicodebug.menu.freq.200=200 MHz (Overclock) +challenger_2040_lorapicodebug.menu.freq.200.build.f_cpu=200000000L +challenger_2040_lorapicodebug.menu.freq.225=225 MHz (Overclock) +challenger_2040_lorapicodebug.menu.freq.225.build.f_cpu=225000000L +challenger_2040_lorapicodebug.menu.freq.240=240 MHz (Overclock) +challenger_2040_lorapicodebug.menu.freq.240.build.f_cpu=240000000L +challenger_2040_lorapicodebug.menu.freq.250=250 MHz (Overclock) +challenger_2040_lorapicodebug.menu.freq.250.build.f_cpu=250000000L +challenger_2040_lorapicodebug.menu.freq.275=275 MHz (Overclock) +challenger_2040_lorapicodebug.menu.freq.275.build.f_cpu=275000000L +challenger_2040_lorapicodebug.menu.freq.300=300 MHz (Overclock) +challenger_2040_lorapicodebug.menu.freq.300.build.f_cpu=300000000L +challenger_2040_lorapicodebug.menu.opt.Small=Small (-Os) (standard) +challenger_2040_lorapicodebug.menu.opt.Small.build.flags.optimize=-Os +challenger_2040_lorapicodebug.menu.opt.Optimize=Optimize (-O) +challenger_2040_lorapicodebug.menu.opt.Optimize.build.flags.optimize=-O +challenger_2040_lorapicodebug.menu.opt.Optimize2=Optimize More (-O2) +challenger_2040_lorapicodebug.menu.opt.Optimize2.build.flags.optimize=-O2 +challenger_2040_lorapicodebug.menu.opt.Optimize3=Optimize Even More (-O3) +challenger_2040_lorapicodebug.menu.opt.Optimize3.build.flags.optimize=-O3 +challenger_2040_lorapicodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower) +challenger_2040_lorapicodebug.menu.opt.Fast.build.flags.optimize=-Ofast +challenger_2040_lorapicodebug.menu.opt.Debug=Debug (-Og) +challenger_2040_lorapicodebug.menu.opt.Debug.build.flags.optimize=-Og +challenger_2040_lorapicodebug.menu.rtti.Disabled=Disabled +challenger_2040_lorapicodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti +challenger_2040_lorapicodebug.menu.rtti.Enabled=Enabled +challenger_2040_lorapicodebug.menu.rtti.Enabled.build.flags.rtti= +challenger_2040_lorapicodebug.menu.stackprotect.Disabled=Disabled +challenger_2040_lorapicodebug.menu.stackprotect.Disabled.build.flags.stackprotect= +challenger_2040_lorapicodebug.menu.stackprotect.Enabled=Enabled +challenger_2040_lorapicodebug.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector +challenger_2040_lorapicodebug.menu.exceptions.Disabled=Disabled +challenger_2040_lorapicodebug.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions +challenger_2040_lorapicodebug.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ +challenger_2040_lorapicodebug.menu.exceptions.Enabled=Enabled +challenger_2040_lorapicodebug.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions +challenger_2040_lorapicodebug.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc +challenger_2040_lorapicodebug.menu.dbgport.Disabled=Disabled +challenger_2040_lorapicodebug.menu.dbgport.Disabled.build.debug_port= +challenger_2040_lorapicodebug.menu.dbgport.Serial=Serial +challenger_2040_lorapicodebug.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_lorapicodebug.menu.dbgport.Serial1=Serial1 +challenger_2040_lorapicodebug.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_lorapicodebug.menu.dbgport.Serial2=Serial2 +challenger_2040_lorapicodebug.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_lorapicodebug.menu.dbglvl.None=None +challenger_2040_lorapicodebug.menu.dbglvl.None.build.debug_level= +challenger_2040_lorapicodebug.menu.dbglvl.Core=Core +challenger_2040_lorapicodebug.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_lorapicodebug.menu.dbglvl.SPI=SPI +challenger_2040_lorapicodebug.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_lorapicodebug.menu.dbglvl.Wire=Wire +challenger_2040_lorapicodebug.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_lorapicodebug.menu.dbglvl.All=All +challenger_2040_lorapicodebug.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_lorapicodebug.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_lorapicodebug.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_lorapicodebug.menu.usbstack.nousb=No USB +challenger_2040_lorapicodebug.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico" +challenger_2040_lorapicodebug.menu.ipstack.ipv4only=IPv4 Only +challenger_2040_lorapicodebug.menu.ipstack.ipv4only.build.libpico=libpico.a +challenger_2040_lorapicodebug.menu.ipstack.ipv4only.build.lwipdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 +challenger_2040_lorapicodebug.menu.ipstack.ipv4ipv6=IPv4 and IPv6 +challenger_2040_lorapicodebug.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6.a +challenger_2040_lorapicodebug.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 + +# ----------------------------------- +# iLabs Challenger 2040 SubGHz +# ----------------------------------- +challenger_2040_subghz.name=iLabs Challenger 2040 SubGHz +challenger_2040_subghz.vid.0=0x2e8a +challenger_2040_subghz.pid.0=0x1032 +challenger_2040_subghz.build.usbpid=-DSERIALUSB_PID=0x1032 +challenger_2040_subghz.build.usbpwr=-DUSBD_MAX_POWER_MA=250 +challenger_2040_subghz.build.board=CHALLENGER_2040_SUBGHZ_RP2040 +challenger_2040_subghz.build.mcu=cortex-m0plus +challenger_2040_subghz.build.variant=challenger_2040_subghz +challenger_2040_subghz.upload.tool=uf2conv +challenger_2040_subghz.upload.maximum_size=8388608 +challenger_2040_subghz.upload.maximum_data_size=262144 +challenger_2040_subghz.upload.wait_for_upload_port=true +challenger_2040_subghz.upload.erase_cmd= +challenger_2040_subghz.serial.disableDTR=false +challenger_2040_subghz.serial.disableRTS=false +challenger_2040_subghz.build.f_cpu=125000000 +challenger_2040_subghz.build.led= +challenger_2040_subghz.build.core=rp2040 +challenger_2040_subghz.build.ldscript=memmap_default.ld +challenger_2040_subghz.build.ram_length=256k +challenger_2040_subghz.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_subghz.build.vid=0x2e8a +challenger_2040_subghz.build.pid=0x1032 +challenger_2040_subghz.build.usb_manufacturer="iLabs" +challenger_2040_subghz.build.usb_product="Challenger 2040 SubGHz" +challenger_2040_subghz.menu.flash.8388608_0=8MB (no FS) +challenger_2040_subghz.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_subghz.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_subghz.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_subghz.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_subghz.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_subghz.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_subghz.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_subghz.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_subghz.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_subghz.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_subghz.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_subghz.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_subghz.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_subghz.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_subghz.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_subghz.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_subghz.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_subghz.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_subghz.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_subghz.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_subghz.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_subghz.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_subghz.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_subghz.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_subghz.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_subghz.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_subghz.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_subghz.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_subghz.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_subghz.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_subghz.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_subghz.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_subghz.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_subghz.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_subghz.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_subghz.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_subghz.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_subghz.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_subghz.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_subghz.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_subghz.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_subghz.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_subghz.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_subghz.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_subghz.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_subghz.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_subghz.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_subghz.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_subghz.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_subghz.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_subghz.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_subghz.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_subghz.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_subghz.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_subghz.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_subghz.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_subghz.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_subghz.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_subghz.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_subghz.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_subghz.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_subghz.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_subghz.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_subghz.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_subghz.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_subghz.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_subghz.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_subghz.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_subghz.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_subghz.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_subghz.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_subghz.menu.freq.133=133 MHz +challenger_2040_subghz.menu.freq.133.build.f_cpu=133000000L +challenger_2040_subghz.menu.freq.50=50 MHz +challenger_2040_subghz.menu.freq.50.build.f_cpu=50000000L +challenger_2040_subghz.menu.freq.100=100 MHz +challenger_2040_subghz.menu.freq.100.build.f_cpu=100000000L +challenger_2040_subghz.menu.freq.120=120 MHz +challenger_2040_subghz.menu.freq.120.build.f_cpu=120000000L +challenger_2040_subghz.menu.freq.125=125 MHz +challenger_2040_subghz.menu.freq.125.build.f_cpu=125000000L +challenger_2040_subghz.menu.freq.150=150 MHz (Overclock) +challenger_2040_subghz.menu.freq.150.build.f_cpu=150000000L +challenger_2040_subghz.menu.freq.175=175 MHz (Overclock) +challenger_2040_subghz.menu.freq.175.build.f_cpu=175000000L +challenger_2040_subghz.menu.freq.200=200 MHz (Overclock) +challenger_2040_subghz.menu.freq.200.build.f_cpu=200000000L +challenger_2040_subghz.menu.freq.225=225 MHz (Overclock) +challenger_2040_subghz.menu.freq.225.build.f_cpu=225000000L +challenger_2040_subghz.menu.freq.240=240 MHz (Overclock) +challenger_2040_subghz.menu.freq.240.build.f_cpu=240000000L +challenger_2040_subghz.menu.freq.250=250 MHz (Overclock) +challenger_2040_subghz.menu.freq.250.build.f_cpu=250000000L +challenger_2040_subghz.menu.freq.275=275 MHz (Overclock) +challenger_2040_subghz.menu.freq.275.build.f_cpu=275000000L +challenger_2040_subghz.menu.freq.300=300 MHz (Overclock) +challenger_2040_subghz.menu.freq.300.build.f_cpu=300000000L +challenger_2040_subghz.menu.opt.Small=Small (-Os) (standard) +challenger_2040_subghz.menu.opt.Small.build.flags.optimize=-Os +challenger_2040_subghz.menu.opt.Optimize=Optimize (-O) +challenger_2040_subghz.menu.opt.Optimize.build.flags.optimize=-O +challenger_2040_subghz.menu.opt.Optimize2=Optimize More (-O2) +challenger_2040_subghz.menu.opt.Optimize2.build.flags.optimize=-O2 +challenger_2040_subghz.menu.opt.Optimize3=Optimize Even More (-O3) +challenger_2040_subghz.menu.opt.Optimize3.build.flags.optimize=-O3 +challenger_2040_subghz.menu.opt.Fast=Fast (-Ofast) (maybe slower) +challenger_2040_subghz.menu.opt.Fast.build.flags.optimize=-Ofast +challenger_2040_subghz.menu.opt.Debug=Debug (-Og) +challenger_2040_subghz.menu.opt.Debug.build.flags.optimize=-Og +challenger_2040_subghz.menu.rtti.Disabled=Disabled +challenger_2040_subghz.menu.rtti.Disabled.build.flags.rtti=-fno-rtti +challenger_2040_subghz.menu.rtti.Enabled=Enabled +challenger_2040_subghz.menu.rtti.Enabled.build.flags.rtti= +challenger_2040_subghz.menu.stackprotect.Disabled=Disabled +challenger_2040_subghz.menu.stackprotect.Disabled.build.flags.stackprotect= +challenger_2040_subghz.menu.stackprotect.Enabled=Enabled +challenger_2040_subghz.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector +challenger_2040_subghz.menu.exceptions.Disabled=Disabled +challenger_2040_subghz.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions +challenger_2040_subghz.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ +challenger_2040_subghz.menu.exceptions.Enabled=Enabled +challenger_2040_subghz.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions +challenger_2040_subghz.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc +challenger_2040_subghz.menu.dbgport.Disabled=Disabled +challenger_2040_subghz.menu.dbgport.Disabled.build.debug_port= +challenger_2040_subghz.menu.dbgport.Serial=Serial +challenger_2040_subghz.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_subghz.menu.dbgport.Serial1=Serial1 +challenger_2040_subghz.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_subghz.menu.dbgport.Serial2=Serial2 +challenger_2040_subghz.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_subghz.menu.dbglvl.None=None +challenger_2040_subghz.menu.dbglvl.None.build.debug_level= +challenger_2040_subghz.menu.dbglvl.Core=Core +challenger_2040_subghz.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_subghz.menu.dbglvl.SPI=SPI +challenger_2040_subghz.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_subghz.menu.dbglvl.Wire=Wire +challenger_2040_subghz.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_subghz.menu.dbglvl.All=All +challenger_2040_subghz.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_subghz.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_subghz.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_subghz.menu.usbstack.picosdk=Pico SDK +challenger_2040_subghz.menu.usbstack.picosdk.build.usbstack_flags= +challenger_2040_subghz.menu.usbstack.tinyusb=Adafruit TinyUSB +challenger_2040_subghz.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" +challenger_2040_subghz.menu.ipstack.ipv4only=IPv4 Only +challenger_2040_subghz.menu.ipstack.ipv4only.build.libpico=libpico.a +challenger_2040_subghz.menu.ipstack.ipv4only.build.lwipdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 +challenger_2040_subghz.menu.ipstack.ipv4ipv6=IPv4 and IPv6 +challenger_2040_subghz.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6.a +challenger_2040_subghz.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 # ----------------------------------- -# iLabs Challenger 2040 LTE (Picoprobe) +# iLabs Challenger 2040 SubGHz (Picoprobe) # ----------------------------------- -challenger_2040_ltepicoprobe.name=iLabs Challenger 2040 LTE (Picoprobe) -challenger_2040_ltepicoprobe.vid.0=0x2e8a -challenger_2040_ltepicoprobe.pid.0=0x0004 -challenger_2040_ltepicoprobe.build.usbpid=-DSERIALUSB_PID=0x100b -challenger_2040_ltepicoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=500 -challenger_2040_ltepicoprobe.build.board=CHALLENGER_2040_LTE_RP2040 -challenger_2040_ltepicoprobe.build.mcu=cortex-m0plus -challenger_2040_ltepicoprobe.build.variant=challenger_2040_lte -challenger_2040_ltepicoprobe.upload.tool=picoprobe -challenger_2040_ltepicoprobe.upload.maximum_size=8388608 -challenger_2040_ltepicoprobe.upload.maximum_data_size=262144 -challenger_2040_ltepicoprobe.upload.wait_for_upload_port=true -challenger_2040_ltepicoprobe.upload.erase_cmd= -challenger_2040_ltepicoprobe.serial.disableDTR=false -challenger_2040_ltepicoprobe.serial.disableRTS=false -challenger_2040_ltepicoprobe.build.f_cpu=125000000 -challenger_2040_ltepicoprobe.build.led= -challenger_2040_ltepicoprobe.build.core=rp2040 -challenger_2040_ltepicoprobe.build.ldscript=memmap_default.ld -challenger_2040_ltepicoprobe.build.ram_length=256k -challenger_2040_ltepicoprobe.build.boot2=boot2_w25q080_2_padded_checksum -challenger_2040_ltepicoprobe.build.vid=0x2e8a -challenger_2040_ltepicoprobe.build.pid=0x100b -challenger_2040_ltepicoprobe.build.usb_manufacturer="iLabs" -challenger_2040_ltepicoprobe.build.usb_product="Challenger 2040 LTE (Picoprobe)" -challenger_2040_ltepicoprobe.menu.flash.8388608_0=8MB (no FS) -challenger_2040_ltepicoprobe.menu.flash.8388608_0.upload.maximum_size=8384512 -challenger_2040_ltepicoprobe.menu.flash.8388608_0.build.flash_length=8384512 -challenger_2040_ltepicoprobe.menu.flash.8388608_0.build.eeprom_start=276819968 -challenger_2040_ltepicoprobe.menu.flash.8388608_0.build.fs_start=276819968 -challenger_2040_ltepicoprobe.menu.flash.8388608_0.build.fs_end=276819968 -challenger_2040_ltepicoprobe.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) -challenger_2040_ltepicoprobe.menu.flash.8388608_65536.upload.maximum_size=8318976 -challenger_2040_ltepicoprobe.menu.flash.8388608_65536.build.flash_length=8318976 -challenger_2040_ltepicoprobe.menu.flash.8388608_65536.build.eeprom_start=276819968 -challenger_2040_ltepicoprobe.menu.flash.8388608_65536.build.fs_start=276754432 -challenger_2040_ltepicoprobe.menu.flash.8388608_65536.build.fs_end=276819968 -challenger_2040_ltepicoprobe.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) -challenger_2040_ltepicoprobe.menu.flash.8388608_131072.upload.maximum_size=8253440 -challenger_2040_ltepicoprobe.menu.flash.8388608_131072.build.flash_length=8253440 -challenger_2040_ltepicoprobe.menu.flash.8388608_131072.build.eeprom_start=276819968 -challenger_2040_ltepicoprobe.menu.flash.8388608_131072.build.fs_start=276688896 -challenger_2040_ltepicoprobe.menu.flash.8388608_131072.build.fs_end=276819968 -challenger_2040_ltepicoprobe.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) -challenger_2040_ltepicoprobe.menu.flash.8388608_262144.upload.maximum_size=8122368 -challenger_2040_ltepicoprobe.menu.flash.8388608_262144.build.flash_length=8122368 -challenger_2040_ltepicoprobe.menu.flash.8388608_262144.build.eeprom_start=276819968 -challenger_2040_ltepicoprobe.menu.flash.8388608_262144.build.fs_start=276557824 -challenger_2040_ltepicoprobe.menu.flash.8388608_262144.build.fs_end=276819968 -challenger_2040_ltepicoprobe.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) -challenger_2040_ltepicoprobe.menu.flash.8388608_524288.upload.maximum_size=7860224 -challenger_2040_ltepicoprobe.menu.flash.8388608_524288.build.flash_length=7860224 -challenger_2040_ltepicoprobe.menu.flash.8388608_524288.build.eeprom_start=276819968 -challenger_2040_ltepicoprobe.menu.flash.8388608_524288.build.fs_start=276295680 -challenger_2040_ltepicoprobe.menu.flash.8388608_524288.build.fs_end=276819968 -challenger_2040_ltepicoprobe.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) -challenger_2040_ltepicoprobe.menu.flash.8388608_1048576.upload.maximum_size=7335936 -challenger_2040_ltepicoprobe.menu.flash.8388608_1048576.build.flash_length=7335936 -challenger_2040_ltepicoprobe.menu.flash.8388608_1048576.build.eeprom_start=276819968 -challenger_2040_ltepicoprobe.menu.flash.8388608_1048576.build.fs_start=275771392 -challenger_2040_ltepicoprobe.menu.flash.8388608_1048576.build.fs_end=276819968 -challenger_2040_ltepicoprobe.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) -challenger_2040_ltepicoprobe.menu.flash.8388608_2097152.upload.maximum_size=6287360 -challenger_2040_ltepicoprobe.menu.flash.8388608_2097152.build.flash_length=6287360 -challenger_2040_ltepicoprobe.menu.flash.8388608_2097152.build.eeprom_start=276819968 -challenger_2040_ltepicoprobe.menu.flash.8388608_2097152.build.fs_start=274722816 -challenger_2040_ltepicoprobe.menu.flash.8388608_2097152.build.fs_end=276819968 -challenger_2040_ltepicoprobe.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) -challenger_2040_ltepicoprobe.menu.flash.8388608_3145728.upload.maximum_size=5238784 -challenger_2040_ltepicoprobe.menu.flash.8388608_3145728.build.flash_length=5238784 -challenger_2040_ltepicoprobe.menu.flash.8388608_3145728.build.eeprom_start=276819968 -challenger_2040_ltepicoprobe.menu.flash.8388608_3145728.build.fs_start=273674240 -challenger_2040_ltepicoprobe.menu.flash.8388608_3145728.build.fs_end=276819968 -challenger_2040_ltepicoprobe.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) -challenger_2040_ltepicoprobe.menu.flash.8388608_4194304.upload.maximum_size=4190208 -challenger_2040_ltepicoprobe.menu.flash.8388608_4194304.build.flash_length=4190208 -challenger_2040_ltepicoprobe.menu.flash.8388608_4194304.build.eeprom_start=276819968 -challenger_2040_ltepicoprobe.menu.flash.8388608_4194304.build.fs_start=272625664 -challenger_2040_ltepicoprobe.menu.flash.8388608_4194304.build.fs_end=276819968 -challenger_2040_ltepicoprobe.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) -challenger_2040_ltepicoprobe.menu.flash.8388608_5242880.upload.maximum_size=3141632 -challenger_2040_ltepicoprobe.menu.flash.8388608_5242880.build.flash_length=3141632 -challenger_2040_ltepicoprobe.menu.flash.8388608_5242880.build.eeprom_start=276819968 -challenger_2040_ltepicoprobe.menu.flash.8388608_5242880.build.fs_start=271577088 -challenger_2040_ltepicoprobe.menu.flash.8388608_5242880.build.fs_end=276819968 -challenger_2040_ltepicoprobe.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) -challenger_2040_ltepicoprobe.menu.flash.8388608_6291456.upload.maximum_size=2093056 -challenger_2040_ltepicoprobe.menu.flash.8388608_6291456.build.flash_length=2093056 -challenger_2040_ltepicoprobe.menu.flash.8388608_6291456.build.eeprom_start=276819968 -challenger_2040_ltepicoprobe.menu.flash.8388608_6291456.build.fs_start=270528512 -challenger_2040_ltepicoprobe.menu.flash.8388608_6291456.build.fs_end=276819968 -challenger_2040_ltepicoprobe.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) -challenger_2040_ltepicoprobe.menu.flash.8388608_7340032.upload.maximum_size=1044480 -challenger_2040_ltepicoprobe.menu.flash.8388608_7340032.build.flash_length=1044480 -challenger_2040_ltepicoprobe.menu.flash.8388608_7340032.build.eeprom_start=276819968 -challenger_2040_ltepicoprobe.menu.flash.8388608_7340032.build.fs_start=269479936 -challenger_2040_ltepicoprobe.menu.flash.8388608_7340032.build.fs_end=276819968 -challenger_2040_ltepicoprobe.menu.freq.133=133 MHz -challenger_2040_ltepicoprobe.menu.freq.133.build.f_cpu=133000000L -challenger_2040_ltepicoprobe.menu.freq.50=50 MHz -challenger_2040_ltepicoprobe.menu.freq.50.build.f_cpu=50000000L -challenger_2040_ltepicoprobe.menu.freq.100=100 MHz -challenger_2040_ltepicoprobe.menu.freq.100.build.f_cpu=100000000L -challenger_2040_ltepicoprobe.menu.freq.120=120 MHz -challenger_2040_ltepicoprobe.menu.freq.120.build.f_cpu=120000000L -challenger_2040_ltepicoprobe.menu.freq.125=125 MHz -challenger_2040_ltepicoprobe.menu.freq.125.build.f_cpu=125000000L -challenger_2040_ltepicoprobe.menu.freq.150=150 MHz (Overclock) -challenger_2040_ltepicoprobe.menu.freq.150.build.f_cpu=150000000L -challenger_2040_ltepicoprobe.menu.freq.175=175 MHz (Overclock) -challenger_2040_ltepicoprobe.menu.freq.175.build.f_cpu=175000000L -challenger_2040_ltepicoprobe.menu.freq.200=200 MHz (Overclock) -challenger_2040_ltepicoprobe.menu.freq.200.build.f_cpu=200000000L -challenger_2040_ltepicoprobe.menu.freq.225=225 MHz (Overclock) -challenger_2040_ltepicoprobe.menu.freq.225.build.f_cpu=225000000L -challenger_2040_ltepicoprobe.menu.freq.240=240 MHz (Overclock) -challenger_2040_ltepicoprobe.menu.freq.240.build.f_cpu=240000000L -challenger_2040_ltepicoprobe.menu.freq.250=250 MHz (Overclock) -challenger_2040_ltepicoprobe.menu.freq.250.build.f_cpu=250000000L -challenger_2040_ltepicoprobe.menu.freq.275=275 MHz (Overclock) -challenger_2040_ltepicoprobe.menu.freq.275.build.f_cpu=275000000L -challenger_2040_ltepicoprobe.menu.freq.300=300 MHz (Overclock) -challenger_2040_ltepicoprobe.menu.freq.300.build.f_cpu=300000000L -challenger_2040_ltepicoprobe.menu.opt.Small=Small (-Os) (standard) -challenger_2040_ltepicoprobe.menu.opt.Small.build.flags.optimize=-Os -challenger_2040_ltepicoprobe.menu.opt.Optimize=Optimize (-O) -challenger_2040_ltepicoprobe.menu.opt.Optimize.build.flags.optimize=-O -challenger_2040_ltepicoprobe.menu.opt.Optimize2=Optimize More (-O2) -challenger_2040_ltepicoprobe.menu.opt.Optimize2.build.flags.optimize=-O2 -challenger_2040_ltepicoprobe.menu.opt.Optimize3=Optimize Even More (-O3) -challenger_2040_ltepicoprobe.menu.opt.Optimize3.build.flags.optimize=-O3 -challenger_2040_ltepicoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower) -challenger_2040_ltepicoprobe.menu.opt.Fast.build.flags.optimize=-Ofast -challenger_2040_ltepicoprobe.menu.opt.Debug=Debug (-Og) -challenger_2040_ltepicoprobe.menu.opt.Debug.build.flags.optimize=-Og -challenger_2040_ltepicoprobe.menu.rtti.Disabled=Disabled -challenger_2040_ltepicoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti -challenger_2040_ltepicoprobe.menu.rtti.Enabled=Enabled -challenger_2040_ltepicoprobe.menu.rtti.Enabled.build.flags.rtti= -challenger_2040_ltepicoprobe.menu.stackprotect.Disabled=Disabled -challenger_2040_ltepicoprobe.menu.stackprotect.Disabled.build.flags.stackprotect= -challenger_2040_ltepicoprobe.menu.stackprotect.Enabled=Enabled -challenger_2040_ltepicoprobe.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector -challenger_2040_ltepicoprobe.menu.exceptions.Disabled=Disabled -challenger_2040_ltepicoprobe.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions -challenger_2040_ltepicoprobe.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ -challenger_2040_ltepicoprobe.menu.exceptions.Enabled=Enabled -challenger_2040_ltepicoprobe.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions -challenger_2040_ltepicoprobe.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc -challenger_2040_ltepicoprobe.menu.dbgport.Disabled=Disabled -challenger_2040_ltepicoprobe.menu.dbgport.Disabled.build.debug_port= -challenger_2040_ltepicoprobe.menu.dbgport.Serial=Serial -challenger_2040_ltepicoprobe.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial -challenger_2040_ltepicoprobe.menu.dbgport.Serial1=Serial1 -challenger_2040_ltepicoprobe.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 -challenger_2040_ltepicoprobe.menu.dbgport.Serial2=Serial2 -challenger_2040_ltepicoprobe.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 -challenger_2040_ltepicoprobe.menu.dbglvl.None=None -challenger_2040_ltepicoprobe.menu.dbglvl.None.build.debug_level= -challenger_2040_ltepicoprobe.menu.dbglvl.Core=Core -challenger_2040_ltepicoprobe.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE -challenger_2040_ltepicoprobe.menu.dbglvl.SPI=SPI -challenger_2040_ltepicoprobe.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI -challenger_2040_ltepicoprobe.menu.dbglvl.Wire=Wire -challenger_2040_ltepicoprobe.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE -challenger_2040_ltepicoprobe.menu.dbglvl.All=All -challenger_2040_ltepicoprobe.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE -challenger_2040_ltepicoprobe.menu.dbglvl.NDEBUG=NDEBUG -challenger_2040_ltepicoprobe.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG -challenger_2040_ltepicoprobe.menu.usbstack.picosdk=Pico SDK -challenger_2040_ltepicoprobe.menu.usbstack.picosdk.build.usbstack_flags= -challenger_2040_ltepicoprobe.menu.usbstack.tinyusb=Adafruit TinyUSB -challenger_2040_ltepicoprobe.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" -challenger_2040_ltepicoprobe.menu.ipstack.ipv4only=IPv4 Only -challenger_2040_ltepicoprobe.menu.ipstack.ipv4only.build.libpico=libpico.a -challenger_2040_ltepicoprobe.menu.ipstack.ipv4only.build.lwipdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -challenger_2040_ltepicoprobe.menu.ipstack.ipv4ipv6=IPv4 and IPv6 -challenger_2040_ltepicoprobe.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6.a -challenger_2040_ltepicoprobe.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 +challenger_2040_subghzpicoprobe.name=iLabs Challenger 2040 SubGHz (Picoprobe) +challenger_2040_subghzpicoprobe.vid.0=0x2e8a +challenger_2040_subghzpicoprobe.pid.0=0x0004 +challenger_2040_subghzpicoprobe.build.usbpid=-DSERIALUSB_PID=0x1032 +challenger_2040_subghzpicoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=250 +challenger_2040_subghzpicoprobe.build.board=CHALLENGER_2040_SUBGHZ_RP2040 +challenger_2040_subghzpicoprobe.build.mcu=cortex-m0plus +challenger_2040_subghzpicoprobe.build.variant=challenger_2040_subghz +challenger_2040_subghzpicoprobe.upload.tool=picoprobe +challenger_2040_subghzpicoprobe.upload.maximum_size=8388608 +challenger_2040_subghzpicoprobe.upload.maximum_data_size=262144 +challenger_2040_subghzpicoprobe.upload.wait_for_upload_port=true +challenger_2040_subghzpicoprobe.upload.erase_cmd= +challenger_2040_subghzpicoprobe.serial.disableDTR=false +challenger_2040_subghzpicoprobe.serial.disableRTS=false +challenger_2040_subghzpicoprobe.build.f_cpu=125000000 +challenger_2040_subghzpicoprobe.build.led= +challenger_2040_subghzpicoprobe.build.core=rp2040 +challenger_2040_subghzpicoprobe.build.ldscript=memmap_default.ld +challenger_2040_subghzpicoprobe.build.ram_length=256k +challenger_2040_subghzpicoprobe.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_subghzpicoprobe.build.vid=0x2e8a +challenger_2040_subghzpicoprobe.build.pid=0x1032 +challenger_2040_subghzpicoprobe.build.usb_manufacturer="iLabs" +challenger_2040_subghzpicoprobe.build.usb_product="Challenger 2040 SubGHz (Picoprobe)" +challenger_2040_subghzpicoprobe.menu.flash.8388608_0=8MB (no FS) +challenger_2040_subghzpicoprobe.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_subghzpicoprobe.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_subghzpicoprobe.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_subghzpicoprobe.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_subghzpicoprobe.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_subghzpicoprobe.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_subghzpicoprobe.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_subghzpicoprobe.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_subghzpicoprobe.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_subghzpicoprobe.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_subghzpicoprobe.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_subghzpicoprobe.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_subghzpicoprobe.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_subghzpicoprobe.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_subghzpicoprobe.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_subghzpicoprobe.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_subghzpicoprobe.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_subghzpicoprobe.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_subghzpicoprobe.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_subghzpicoprobe.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_subghzpicoprobe.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_subghzpicoprobe.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_subghzpicoprobe.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_subghzpicoprobe.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_subghzpicoprobe.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_subghzpicoprobe.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_subghzpicoprobe.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_subghzpicoprobe.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_subghzpicoprobe.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_subghzpicoprobe.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_subghzpicoprobe.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_subghzpicoprobe.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_subghzpicoprobe.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_subghzpicoprobe.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_subghzpicoprobe.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_subghzpicoprobe.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_subghzpicoprobe.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_subghzpicoprobe.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_subghzpicoprobe.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_subghzpicoprobe.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_subghzpicoprobe.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_subghzpicoprobe.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_subghzpicoprobe.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_subghzpicoprobe.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_subghzpicoprobe.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_subghzpicoprobe.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_subghzpicoprobe.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_subghzpicoprobe.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_subghzpicoprobe.menu.freq.133=133 MHz +challenger_2040_subghzpicoprobe.menu.freq.133.build.f_cpu=133000000L +challenger_2040_subghzpicoprobe.menu.freq.50=50 MHz +challenger_2040_subghzpicoprobe.menu.freq.50.build.f_cpu=50000000L +challenger_2040_subghzpicoprobe.menu.freq.100=100 MHz +challenger_2040_subghzpicoprobe.menu.freq.100.build.f_cpu=100000000L +challenger_2040_subghzpicoprobe.menu.freq.120=120 MHz +challenger_2040_subghzpicoprobe.menu.freq.120.build.f_cpu=120000000L +challenger_2040_subghzpicoprobe.menu.freq.125=125 MHz +challenger_2040_subghzpicoprobe.menu.freq.125.build.f_cpu=125000000L +challenger_2040_subghzpicoprobe.menu.freq.150=150 MHz (Overclock) +challenger_2040_subghzpicoprobe.menu.freq.150.build.f_cpu=150000000L +challenger_2040_subghzpicoprobe.menu.freq.175=175 MHz (Overclock) +challenger_2040_subghzpicoprobe.menu.freq.175.build.f_cpu=175000000L +challenger_2040_subghzpicoprobe.menu.freq.200=200 MHz (Overclock) +challenger_2040_subghzpicoprobe.menu.freq.200.build.f_cpu=200000000L +challenger_2040_subghzpicoprobe.menu.freq.225=225 MHz (Overclock) +challenger_2040_subghzpicoprobe.menu.freq.225.build.f_cpu=225000000L +challenger_2040_subghzpicoprobe.menu.freq.240=240 MHz (Overclock) +challenger_2040_subghzpicoprobe.menu.freq.240.build.f_cpu=240000000L +challenger_2040_subghzpicoprobe.menu.freq.250=250 MHz (Overclock) +challenger_2040_subghzpicoprobe.menu.freq.250.build.f_cpu=250000000L +challenger_2040_subghzpicoprobe.menu.freq.275=275 MHz (Overclock) +challenger_2040_subghzpicoprobe.menu.freq.275.build.f_cpu=275000000L +challenger_2040_subghzpicoprobe.menu.freq.300=300 MHz (Overclock) +challenger_2040_subghzpicoprobe.menu.freq.300.build.f_cpu=300000000L +challenger_2040_subghzpicoprobe.menu.opt.Small=Small (-Os) (standard) +challenger_2040_subghzpicoprobe.menu.opt.Small.build.flags.optimize=-Os +challenger_2040_subghzpicoprobe.menu.opt.Optimize=Optimize (-O) +challenger_2040_subghzpicoprobe.menu.opt.Optimize.build.flags.optimize=-O +challenger_2040_subghzpicoprobe.menu.opt.Optimize2=Optimize More (-O2) +challenger_2040_subghzpicoprobe.menu.opt.Optimize2.build.flags.optimize=-O2 +challenger_2040_subghzpicoprobe.menu.opt.Optimize3=Optimize Even More (-O3) +challenger_2040_subghzpicoprobe.menu.opt.Optimize3.build.flags.optimize=-O3 +challenger_2040_subghzpicoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower) +challenger_2040_subghzpicoprobe.menu.opt.Fast.build.flags.optimize=-Ofast +challenger_2040_subghzpicoprobe.menu.opt.Debug=Debug (-Og) +challenger_2040_subghzpicoprobe.menu.opt.Debug.build.flags.optimize=-Og +challenger_2040_subghzpicoprobe.menu.rtti.Disabled=Disabled +challenger_2040_subghzpicoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti +challenger_2040_subghzpicoprobe.menu.rtti.Enabled=Enabled +challenger_2040_subghzpicoprobe.menu.rtti.Enabled.build.flags.rtti= +challenger_2040_subghzpicoprobe.menu.stackprotect.Disabled=Disabled +challenger_2040_subghzpicoprobe.menu.stackprotect.Disabled.build.flags.stackprotect= +challenger_2040_subghzpicoprobe.menu.stackprotect.Enabled=Enabled +challenger_2040_subghzpicoprobe.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector +challenger_2040_subghzpicoprobe.menu.exceptions.Disabled=Disabled +challenger_2040_subghzpicoprobe.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions +challenger_2040_subghzpicoprobe.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ +challenger_2040_subghzpicoprobe.menu.exceptions.Enabled=Enabled +challenger_2040_subghzpicoprobe.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions +challenger_2040_subghzpicoprobe.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc +challenger_2040_subghzpicoprobe.menu.dbgport.Disabled=Disabled +challenger_2040_subghzpicoprobe.menu.dbgport.Disabled.build.debug_port= +challenger_2040_subghzpicoprobe.menu.dbgport.Serial=Serial +challenger_2040_subghzpicoprobe.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_subghzpicoprobe.menu.dbgport.Serial1=Serial1 +challenger_2040_subghzpicoprobe.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_subghzpicoprobe.menu.dbgport.Serial2=Serial2 +challenger_2040_subghzpicoprobe.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_subghzpicoprobe.menu.dbglvl.None=None +challenger_2040_subghzpicoprobe.menu.dbglvl.None.build.debug_level= +challenger_2040_subghzpicoprobe.menu.dbglvl.Core=Core +challenger_2040_subghzpicoprobe.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_subghzpicoprobe.menu.dbglvl.SPI=SPI +challenger_2040_subghzpicoprobe.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_subghzpicoprobe.menu.dbglvl.Wire=Wire +challenger_2040_subghzpicoprobe.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_subghzpicoprobe.menu.dbglvl.All=All +challenger_2040_subghzpicoprobe.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_subghzpicoprobe.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_subghzpicoprobe.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_subghzpicoprobe.menu.usbstack.picosdk=Pico SDK +challenger_2040_subghzpicoprobe.menu.usbstack.picosdk.build.usbstack_flags= +challenger_2040_subghzpicoprobe.menu.usbstack.tinyusb=Adafruit TinyUSB +challenger_2040_subghzpicoprobe.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" +challenger_2040_subghzpicoprobe.menu.ipstack.ipv4only=IPv4 Only +challenger_2040_subghzpicoprobe.menu.ipstack.ipv4only.build.libpico=libpico.a +challenger_2040_subghzpicoprobe.menu.ipstack.ipv4only.build.lwipdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 +challenger_2040_subghzpicoprobe.menu.ipstack.ipv4ipv6=IPv4 and IPv6 +challenger_2040_subghzpicoprobe.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6.a +challenger_2040_subghzpicoprobe.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 + +# ----------------------------------- +# iLabs Challenger 2040 SubGHz (pico-debug) +# ----------------------------------- +challenger_2040_subghzpicodebug.name=iLabs Challenger 2040 SubGHz (pico-debug) +challenger_2040_subghzpicodebug.vid.0=0x1209 +challenger_2040_subghzpicodebug.pid.0=0x2488 +challenger_2040_subghzpicodebug.build.usbpid=-DSERIALUSB_PID=0x1032 +challenger_2040_subghzpicodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=250 +challenger_2040_subghzpicodebug.build.board=CHALLENGER_2040_SUBGHZ_RP2040 +challenger_2040_subghzpicodebug.build.mcu=cortex-m0plus +challenger_2040_subghzpicodebug.build.variant=challenger_2040_subghz +challenger_2040_subghzpicodebug.upload.tool=picodebug +challenger_2040_subghzpicodebug.upload.maximum_size=8388608 +challenger_2040_subghzpicodebug.upload.maximum_data_size=245760 +challenger_2040_subghzpicodebug.upload.wait_for_upload_port=true +challenger_2040_subghzpicodebug.upload.erase_cmd= +challenger_2040_subghzpicodebug.serial.disableDTR=false +challenger_2040_subghzpicodebug.serial.disableRTS=false +challenger_2040_subghzpicodebug.build.f_cpu=125000000 +challenger_2040_subghzpicodebug.build.led= +challenger_2040_subghzpicodebug.build.core=rp2040 +challenger_2040_subghzpicodebug.build.ldscript=memmap_default.ld +challenger_2040_subghzpicodebug.build.ram_length=240k +challenger_2040_subghzpicodebug.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_subghzpicodebug.build.vid=0x2e8a +challenger_2040_subghzpicodebug.build.pid=0x1032 +challenger_2040_subghzpicodebug.build.usb_manufacturer="iLabs" +challenger_2040_subghzpicodebug.build.usb_product="Challenger 2040 SubGHz (pico-debug)" +challenger_2040_subghzpicodebug.menu.flash.8388608_0=8MB (no FS) +challenger_2040_subghzpicodebug.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_subghzpicodebug.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_subghzpicodebug.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_subghzpicodebug.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_subghzpicodebug.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_subghzpicodebug.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_subghzpicodebug.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_subghzpicodebug.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_subghzpicodebug.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_subghzpicodebug.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_subghzpicodebug.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_subghzpicodebug.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_subghzpicodebug.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_subghzpicodebug.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_subghzpicodebug.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_subghzpicodebug.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_subghzpicodebug.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_subghzpicodebug.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_subghzpicodebug.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_subghzpicodebug.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_subghzpicodebug.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_subghzpicodebug.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_subghzpicodebug.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_subghzpicodebug.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_subghzpicodebug.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_subghzpicodebug.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_subghzpicodebug.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_subghzpicodebug.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_subghzpicodebug.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_subghzpicodebug.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_subghzpicodebug.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_subghzpicodebug.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_subghzpicodebug.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_subghzpicodebug.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_subghzpicodebug.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_subghzpicodebug.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_subghzpicodebug.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_subghzpicodebug.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_subghzpicodebug.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_subghzpicodebug.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_subghzpicodebug.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_subghzpicodebug.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_subghzpicodebug.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_subghzpicodebug.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_subghzpicodebug.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_subghzpicodebug.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_subghzpicodebug.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_subghzpicodebug.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_subghzpicodebug.menu.freq.133=133 MHz +challenger_2040_subghzpicodebug.menu.freq.133.build.f_cpu=133000000L +challenger_2040_subghzpicodebug.menu.freq.50=50 MHz +challenger_2040_subghzpicodebug.menu.freq.50.build.f_cpu=50000000L +challenger_2040_subghzpicodebug.menu.freq.100=100 MHz +challenger_2040_subghzpicodebug.menu.freq.100.build.f_cpu=100000000L +challenger_2040_subghzpicodebug.menu.freq.120=120 MHz +challenger_2040_subghzpicodebug.menu.freq.120.build.f_cpu=120000000L +challenger_2040_subghzpicodebug.menu.freq.125=125 MHz +challenger_2040_subghzpicodebug.menu.freq.125.build.f_cpu=125000000L +challenger_2040_subghzpicodebug.menu.freq.150=150 MHz (Overclock) +challenger_2040_subghzpicodebug.menu.freq.150.build.f_cpu=150000000L +challenger_2040_subghzpicodebug.menu.freq.175=175 MHz (Overclock) +challenger_2040_subghzpicodebug.menu.freq.175.build.f_cpu=175000000L +challenger_2040_subghzpicodebug.menu.freq.200=200 MHz (Overclock) +challenger_2040_subghzpicodebug.menu.freq.200.build.f_cpu=200000000L +challenger_2040_subghzpicodebug.menu.freq.225=225 MHz (Overclock) +challenger_2040_subghzpicodebug.menu.freq.225.build.f_cpu=225000000L +challenger_2040_subghzpicodebug.menu.freq.240=240 MHz (Overclock) +challenger_2040_subghzpicodebug.menu.freq.240.build.f_cpu=240000000L +challenger_2040_subghzpicodebug.menu.freq.250=250 MHz (Overclock) +challenger_2040_subghzpicodebug.menu.freq.250.build.f_cpu=250000000L +challenger_2040_subghzpicodebug.menu.freq.275=275 MHz (Overclock) +challenger_2040_subghzpicodebug.menu.freq.275.build.f_cpu=275000000L +challenger_2040_subghzpicodebug.menu.freq.300=300 MHz (Overclock) +challenger_2040_subghzpicodebug.menu.freq.300.build.f_cpu=300000000L +challenger_2040_subghzpicodebug.menu.opt.Small=Small (-Os) (standard) +challenger_2040_subghzpicodebug.menu.opt.Small.build.flags.optimize=-Os +challenger_2040_subghzpicodebug.menu.opt.Optimize=Optimize (-O) +challenger_2040_subghzpicodebug.menu.opt.Optimize.build.flags.optimize=-O +challenger_2040_subghzpicodebug.menu.opt.Optimize2=Optimize More (-O2) +challenger_2040_subghzpicodebug.menu.opt.Optimize2.build.flags.optimize=-O2 +challenger_2040_subghzpicodebug.menu.opt.Optimize3=Optimize Even More (-O3) +challenger_2040_subghzpicodebug.menu.opt.Optimize3.build.flags.optimize=-O3 +challenger_2040_subghzpicodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower) +challenger_2040_subghzpicodebug.menu.opt.Fast.build.flags.optimize=-Ofast +challenger_2040_subghzpicodebug.menu.opt.Debug=Debug (-Og) +challenger_2040_subghzpicodebug.menu.opt.Debug.build.flags.optimize=-Og +challenger_2040_subghzpicodebug.menu.rtti.Disabled=Disabled +challenger_2040_subghzpicodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti +challenger_2040_subghzpicodebug.menu.rtti.Enabled=Enabled +challenger_2040_subghzpicodebug.menu.rtti.Enabled.build.flags.rtti= +challenger_2040_subghzpicodebug.menu.stackprotect.Disabled=Disabled +challenger_2040_subghzpicodebug.menu.stackprotect.Disabled.build.flags.stackprotect= +challenger_2040_subghzpicodebug.menu.stackprotect.Enabled=Enabled +challenger_2040_subghzpicodebug.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector +challenger_2040_subghzpicodebug.menu.exceptions.Disabled=Disabled +challenger_2040_subghzpicodebug.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions +challenger_2040_subghzpicodebug.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ +challenger_2040_subghzpicodebug.menu.exceptions.Enabled=Enabled +challenger_2040_subghzpicodebug.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions +challenger_2040_subghzpicodebug.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc +challenger_2040_subghzpicodebug.menu.dbgport.Disabled=Disabled +challenger_2040_subghzpicodebug.menu.dbgport.Disabled.build.debug_port= +challenger_2040_subghzpicodebug.menu.dbgport.Serial=Serial +challenger_2040_subghzpicodebug.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_subghzpicodebug.menu.dbgport.Serial1=Serial1 +challenger_2040_subghzpicodebug.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_subghzpicodebug.menu.dbgport.Serial2=Serial2 +challenger_2040_subghzpicodebug.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_subghzpicodebug.menu.dbglvl.None=None +challenger_2040_subghzpicodebug.menu.dbglvl.None.build.debug_level= +challenger_2040_subghzpicodebug.menu.dbglvl.Core=Core +challenger_2040_subghzpicodebug.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_subghzpicodebug.menu.dbglvl.SPI=SPI +challenger_2040_subghzpicodebug.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_subghzpicodebug.menu.dbglvl.Wire=Wire +challenger_2040_subghzpicodebug.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_subghzpicodebug.menu.dbglvl.All=All +challenger_2040_subghzpicodebug.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_subghzpicodebug.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_subghzpicodebug.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_subghzpicodebug.menu.usbstack.nousb=No USB +challenger_2040_subghzpicodebug.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico" +challenger_2040_subghzpicodebug.menu.ipstack.ipv4only=IPv4 Only +challenger_2040_subghzpicodebug.menu.ipstack.ipv4only.build.libpico=libpico.a +challenger_2040_subghzpicodebug.menu.ipstack.ipv4only.build.lwipdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 +challenger_2040_subghzpicodebug.menu.ipstack.ipv4ipv6=IPv4 and IPv6 +challenger_2040_subghzpicodebug.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6.a +challenger_2040_subghzpicodebug.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 # ----------------------------------- -# iLabs Challenger 2040 LTE (pico-debug) +# iLabs Challenger 2040 WiFi # ----------------------------------- -challenger_2040_ltepicodebug.name=iLabs Challenger 2040 LTE (pico-debug) -challenger_2040_ltepicodebug.vid.0=0x1209 -challenger_2040_ltepicodebug.pid.0=0x2488 -challenger_2040_ltepicodebug.build.usbpid=-DSERIALUSB_PID=0x100b -challenger_2040_ltepicodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=500 -challenger_2040_ltepicodebug.build.board=CHALLENGER_2040_LTE_RP2040 -challenger_2040_ltepicodebug.build.mcu=cortex-m0plus -challenger_2040_ltepicodebug.build.variant=challenger_2040_lte -challenger_2040_ltepicodebug.upload.tool=picodebug -challenger_2040_ltepicodebug.upload.maximum_size=8388608 -challenger_2040_ltepicodebug.upload.maximum_data_size=245760 -challenger_2040_ltepicodebug.upload.wait_for_upload_port=true -challenger_2040_ltepicodebug.upload.erase_cmd= -challenger_2040_ltepicodebug.serial.disableDTR=false -challenger_2040_ltepicodebug.serial.disableRTS=false -challenger_2040_ltepicodebug.build.f_cpu=125000000 -challenger_2040_ltepicodebug.build.led= -challenger_2040_ltepicodebug.build.core=rp2040 -challenger_2040_ltepicodebug.build.ldscript=memmap_default.ld -challenger_2040_ltepicodebug.build.ram_length=240k -challenger_2040_ltepicodebug.build.boot2=boot2_w25q080_2_padded_checksum -challenger_2040_ltepicodebug.build.vid=0x2e8a -challenger_2040_ltepicodebug.build.pid=0x100b -challenger_2040_ltepicodebug.build.usb_manufacturer="iLabs" -challenger_2040_ltepicodebug.build.usb_product="Challenger 2040 LTE (pico-debug)" -challenger_2040_ltepicodebug.menu.flash.8388608_0=8MB (no FS) -challenger_2040_ltepicodebug.menu.flash.8388608_0.upload.maximum_size=8384512 -challenger_2040_ltepicodebug.menu.flash.8388608_0.build.flash_length=8384512 -challenger_2040_ltepicodebug.menu.flash.8388608_0.build.eeprom_start=276819968 -challenger_2040_ltepicodebug.menu.flash.8388608_0.build.fs_start=276819968 -challenger_2040_ltepicodebug.menu.flash.8388608_0.build.fs_end=276819968 -challenger_2040_ltepicodebug.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) -challenger_2040_ltepicodebug.menu.flash.8388608_65536.upload.maximum_size=8318976 -challenger_2040_ltepicodebug.menu.flash.8388608_65536.build.flash_length=8318976 -challenger_2040_ltepicodebug.menu.flash.8388608_65536.build.eeprom_start=276819968 -challenger_2040_ltepicodebug.menu.flash.8388608_65536.build.fs_start=276754432 -challenger_2040_ltepicodebug.menu.flash.8388608_65536.build.fs_end=276819968 -challenger_2040_ltepicodebug.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) -challenger_2040_ltepicodebug.menu.flash.8388608_131072.upload.maximum_size=8253440 -challenger_2040_ltepicodebug.menu.flash.8388608_131072.build.flash_length=8253440 -challenger_2040_ltepicodebug.menu.flash.8388608_131072.build.eeprom_start=276819968 -challenger_2040_ltepicodebug.menu.flash.8388608_131072.build.fs_start=276688896 -challenger_2040_ltepicodebug.menu.flash.8388608_131072.build.fs_end=276819968 -challenger_2040_ltepicodebug.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) -challenger_2040_ltepicodebug.menu.flash.8388608_262144.upload.maximum_size=8122368 -challenger_2040_ltepicodebug.menu.flash.8388608_262144.build.flash_length=8122368 -challenger_2040_ltepicodebug.menu.flash.8388608_262144.build.eeprom_start=276819968 -challenger_2040_ltepicodebug.menu.flash.8388608_262144.build.fs_start=276557824 -challenger_2040_ltepicodebug.menu.flash.8388608_262144.build.fs_end=276819968 -challenger_2040_ltepicodebug.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) -challenger_2040_ltepicodebug.menu.flash.8388608_524288.upload.maximum_size=7860224 -challenger_2040_ltepicodebug.menu.flash.8388608_524288.build.flash_length=7860224 -challenger_2040_ltepicodebug.menu.flash.8388608_524288.build.eeprom_start=276819968 -challenger_2040_ltepicodebug.menu.flash.8388608_524288.build.fs_start=276295680 -challenger_2040_ltepicodebug.menu.flash.8388608_524288.build.fs_end=276819968 -challenger_2040_ltepicodebug.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) -challenger_2040_ltepicodebug.menu.flash.8388608_1048576.upload.maximum_size=7335936 -challenger_2040_ltepicodebug.menu.flash.8388608_1048576.build.flash_length=7335936 -challenger_2040_ltepicodebug.menu.flash.8388608_1048576.build.eeprom_start=276819968 -challenger_2040_ltepicodebug.menu.flash.8388608_1048576.build.fs_start=275771392 -challenger_2040_ltepicodebug.menu.flash.8388608_1048576.build.fs_end=276819968 -challenger_2040_ltepicodebug.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) -challenger_2040_ltepicodebug.menu.flash.8388608_2097152.upload.maximum_size=6287360 -challenger_2040_ltepicodebug.menu.flash.8388608_2097152.build.flash_length=6287360 -challenger_2040_ltepicodebug.menu.flash.8388608_2097152.build.eeprom_start=276819968 -challenger_2040_ltepicodebug.menu.flash.8388608_2097152.build.fs_start=274722816 -challenger_2040_ltepicodebug.menu.flash.8388608_2097152.build.fs_end=276819968 -challenger_2040_ltepicodebug.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) -challenger_2040_ltepicodebug.menu.flash.8388608_3145728.upload.maximum_size=5238784 -challenger_2040_ltepicodebug.menu.flash.8388608_3145728.build.flash_length=5238784 -challenger_2040_ltepicodebug.menu.flash.8388608_3145728.build.eeprom_start=276819968 -challenger_2040_ltepicodebug.menu.flash.8388608_3145728.build.fs_start=273674240 -challenger_2040_ltepicodebug.menu.flash.8388608_3145728.build.fs_end=276819968 -challenger_2040_ltepicodebug.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) -challenger_2040_ltepicodebug.menu.flash.8388608_4194304.upload.maximum_size=4190208 -challenger_2040_ltepicodebug.menu.flash.8388608_4194304.build.flash_length=4190208 -challenger_2040_ltepicodebug.menu.flash.8388608_4194304.build.eeprom_start=276819968 -challenger_2040_ltepicodebug.menu.flash.8388608_4194304.build.fs_start=272625664 -challenger_2040_ltepicodebug.menu.flash.8388608_4194304.build.fs_end=276819968 -challenger_2040_ltepicodebug.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) -challenger_2040_ltepicodebug.menu.flash.8388608_5242880.upload.maximum_size=3141632 -challenger_2040_ltepicodebug.menu.flash.8388608_5242880.build.flash_length=3141632 -challenger_2040_ltepicodebug.menu.flash.8388608_5242880.build.eeprom_start=276819968 -challenger_2040_ltepicodebug.menu.flash.8388608_5242880.build.fs_start=271577088 -challenger_2040_ltepicodebug.menu.flash.8388608_5242880.build.fs_end=276819968 -challenger_2040_ltepicodebug.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) -challenger_2040_ltepicodebug.menu.flash.8388608_6291456.upload.maximum_size=2093056 -challenger_2040_ltepicodebug.menu.flash.8388608_6291456.build.flash_length=2093056 -challenger_2040_ltepicodebug.menu.flash.8388608_6291456.build.eeprom_start=276819968 -challenger_2040_ltepicodebug.menu.flash.8388608_6291456.build.fs_start=270528512 -challenger_2040_ltepicodebug.menu.flash.8388608_6291456.build.fs_end=276819968 -challenger_2040_ltepicodebug.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) -challenger_2040_ltepicodebug.menu.flash.8388608_7340032.upload.maximum_size=1044480 -challenger_2040_ltepicodebug.menu.flash.8388608_7340032.build.flash_length=1044480 -challenger_2040_ltepicodebug.menu.flash.8388608_7340032.build.eeprom_start=276819968 -challenger_2040_ltepicodebug.menu.flash.8388608_7340032.build.fs_start=269479936 -challenger_2040_ltepicodebug.menu.flash.8388608_7340032.build.fs_end=276819968 -challenger_2040_ltepicodebug.menu.freq.133=133 MHz -challenger_2040_ltepicodebug.menu.freq.133.build.f_cpu=133000000L -challenger_2040_ltepicodebug.menu.freq.50=50 MHz -challenger_2040_ltepicodebug.menu.freq.50.build.f_cpu=50000000L -challenger_2040_ltepicodebug.menu.freq.100=100 MHz -challenger_2040_ltepicodebug.menu.freq.100.build.f_cpu=100000000L -challenger_2040_ltepicodebug.menu.freq.120=120 MHz -challenger_2040_ltepicodebug.menu.freq.120.build.f_cpu=120000000L -challenger_2040_ltepicodebug.menu.freq.125=125 MHz -challenger_2040_ltepicodebug.menu.freq.125.build.f_cpu=125000000L -challenger_2040_ltepicodebug.menu.freq.150=150 MHz (Overclock) -challenger_2040_ltepicodebug.menu.freq.150.build.f_cpu=150000000L -challenger_2040_ltepicodebug.menu.freq.175=175 MHz (Overclock) -challenger_2040_ltepicodebug.menu.freq.175.build.f_cpu=175000000L -challenger_2040_ltepicodebug.menu.freq.200=200 MHz (Overclock) -challenger_2040_ltepicodebug.menu.freq.200.build.f_cpu=200000000L -challenger_2040_ltepicodebug.menu.freq.225=225 MHz (Overclock) -challenger_2040_ltepicodebug.menu.freq.225.build.f_cpu=225000000L -challenger_2040_ltepicodebug.menu.freq.240=240 MHz (Overclock) -challenger_2040_ltepicodebug.menu.freq.240.build.f_cpu=240000000L -challenger_2040_ltepicodebug.menu.freq.250=250 MHz (Overclock) -challenger_2040_ltepicodebug.menu.freq.250.build.f_cpu=250000000L -challenger_2040_ltepicodebug.menu.freq.275=275 MHz (Overclock) -challenger_2040_ltepicodebug.menu.freq.275.build.f_cpu=275000000L -challenger_2040_ltepicodebug.menu.freq.300=300 MHz (Overclock) -challenger_2040_ltepicodebug.menu.freq.300.build.f_cpu=300000000L -challenger_2040_ltepicodebug.menu.opt.Small=Small (-Os) (standard) -challenger_2040_ltepicodebug.menu.opt.Small.build.flags.optimize=-Os -challenger_2040_ltepicodebug.menu.opt.Optimize=Optimize (-O) -challenger_2040_ltepicodebug.menu.opt.Optimize.build.flags.optimize=-O -challenger_2040_ltepicodebug.menu.opt.Optimize2=Optimize More (-O2) -challenger_2040_ltepicodebug.menu.opt.Optimize2.build.flags.optimize=-O2 -challenger_2040_ltepicodebug.menu.opt.Optimize3=Optimize Even More (-O3) -challenger_2040_ltepicodebug.menu.opt.Optimize3.build.flags.optimize=-O3 -challenger_2040_ltepicodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower) -challenger_2040_ltepicodebug.menu.opt.Fast.build.flags.optimize=-Ofast -challenger_2040_ltepicodebug.menu.opt.Debug=Debug (-Og) -challenger_2040_ltepicodebug.menu.opt.Debug.build.flags.optimize=-Og -challenger_2040_ltepicodebug.menu.rtti.Disabled=Disabled -challenger_2040_ltepicodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti -challenger_2040_ltepicodebug.menu.rtti.Enabled=Enabled -challenger_2040_ltepicodebug.menu.rtti.Enabled.build.flags.rtti= -challenger_2040_ltepicodebug.menu.stackprotect.Disabled=Disabled -challenger_2040_ltepicodebug.menu.stackprotect.Disabled.build.flags.stackprotect= -challenger_2040_ltepicodebug.menu.stackprotect.Enabled=Enabled -challenger_2040_ltepicodebug.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector -challenger_2040_ltepicodebug.menu.exceptions.Disabled=Disabled -challenger_2040_ltepicodebug.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions -challenger_2040_ltepicodebug.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ -challenger_2040_ltepicodebug.menu.exceptions.Enabled=Enabled -challenger_2040_ltepicodebug.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions -challenger_2040_ltepicodebug.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc -challenger_2040_ltepicodebug.menu.dbgport.Disabled=Disabled -challenger_2040_ltepicodebug.menu.dbgport.Disabled.build.debug_port= -challenger_2040_ltepicodebug.menu.dbgport.Serial=Serial -challenger_2040_ltepicodebug.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial -challenger_2040_ltepicodebug.menu.dbgport.Serial1=Serial1 -challenger_2040_ltepicodebug.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 -challenger_2040_ltepicodebug.menu.dbgport.Serial2=Serial2 -challenger_2040_ltepicodebug.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 -challenger_2040_ltepicodebug.menu.dbglvl.None=None -challenger_2040_ltepicodebug.menu.dbglvl.None.build.debug_level= -challenger_2040_ltepicodebug.menu.dbglvl.Core=Core -challenger_2040_ltepicodebug.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE -challenger_2040_ltepicodebug.menu.dbglvl.SPI=SPI -challenger_2040_ltepicodebug.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI -challenger_2040_ltepicodebug.menu.dbglvl.Wire=Wire -challenger_2040_ltepicodebug.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE -challenger_2040_ltepicodebug.menu.dbglvl.All=All -challenger_2040_ltepicodebug.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE -challenger_2040_ltepicodebug.menu.dbglvl.NDEBUG=NDEBUG -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" -challenger_2040_ltepicodebug.menu.ipstack.ipv4only=IPv4 Only -challenger_2040_ltepicodebug.menu.ipstack.ipv4only.build.libpico=libpico.a -challenger_2040_ltepicodebug.menu.ipstack.ipv4only.build.lwipdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -challenger_2040_ltepicodebug.menu.ipstack.ipv4ipv6=IPv4 and IPv6 -challenger_2040_ltepicodebug.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6.a -challenger_2040_ltepicodebug.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 +challenger_2040_wifi.name=iLabs Challenger 2040 WiFi +challenger_2040_wifi.vid.0=0x2e8a +challenger_2040_wifi.pid.0=0x1006 +challenger_2040_wifi.build.usbpid=-DSERIALUSB_PID=0x1006 +challenger_2040_wifi.build.usbpwr=-DUSBD_MAX_POWER_MA=250 +challenger_2040_wifi.build.board=CHALLENGER_2040_WIFI_RP2040 +challenger_2040_wifi.build.mcu=cortex-m0plus +challenger_2040_wifi.build.variant=challenger_2040_wifi +challenger_2040_wifi.upload.tool=uf2conv +challenger_2040_wifi.upload.maximum_size=8388608 +challenger_2040_wifi.upload.maximum_data_size=262144 +challenger_2040_wifi.upload.wait_for_upload_port=true +challenger_2040_wifi.upload.erase_cmd= +challenger_2040_wifi.serial.disableDTR=false +challenger_2040_wifi.serial.disableRTS=false +challenger_2040_wifi.build.f_cpu=125000000 +challenger_2040_wifi.build.led= +challenger_2040_wifi.build.core=rp2040 +challenger_2040_wifi.build.ldscript=memmap_default.ld +challenger_2040_wifi.build.ram_length=256k +challenger_2040_wifi.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_wifi.build.vid=0x2e8a +challenger_2040_wifi.build.pid=0x1006 +challenger_2040_wifi.build.usb_manufacturer="iLabs" +challenger_2040_wifi.build.usb_product="Challenger 2040 WiFi" +challenger_2040_wifi.build.extra_flags=-DWIFIESPAT2 +challenger_2040_wifi.menu.flash.8388608_0=8MB (no FS) +challenger_2040_wifi.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_wifi.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_wifi.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_wifi.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_wifi.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_wifi.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_wifi.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_wifi.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_wifi.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_wifi.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_wifi.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_wifi.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_wifi.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_wifi.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_wifi.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_wifi.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_wifi.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_wifi.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_wifi.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_wifi.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_wifi.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_wifi.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_wifi.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_wifi.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_wifi.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_wifi.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_wifi.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_wifi.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_wifi.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_wifi.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_wifi.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_wifi.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_wifi.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_wifi.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_wifi.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_wifi.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_wifi.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_wifi.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_wifi.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_wifi.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_wifi.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_wifi.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_wifi.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_wifi.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_wifi.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_wifi.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_wifi.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_wifi.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_wifi.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_wifi.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_wifi.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_wifi.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_wifi.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_wifi.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_wifi.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_wifi.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_wifi.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_wifi.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_wifi.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_wifi.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_wifi.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_wifi.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_wifi.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_wifi.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_wifi.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_wifi.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_wifi.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_wifi.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_wifi.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_wifi.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_wifi.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_wifi.menu.freq.133=133 MHz +challenger_2040_wifi.menu.freq.133.build.f_cpu=133000000L +challenger_2040_wifi.menu.freq.50=50 MHz +challenger_2040_wifi.menu.freq.50.build.f_cpu=50000000L +challenger_2040_wifi.menu.freq.100=100 MHz +challenger_2040_wifi.menu.freq.100.build.f_cpu=100000000L +challenger_2040_wifi.menu.freq.120=120 MHz +challenger_2040_wifi.menu.freq.120.build.f_cpu=120000000L +challenger_2040_wifi.menu.freq.125=125 MHz +challenger_2040_wifi.menu.freq.125.build.f_cpu=125000000L +challenger_2040_wifi.menu.freq.150=150 MHz (Overclock) +challenger_2040_wifi.menu.freq.150.build.f_cpu=150000000L +challenger_2040_wifi.menu.freq.175=175 MHz (Overclock) +challenger_2040_wifi.menu.freq.175.build.f_cpu=175000000L +challenger_2040_wifi.menu.freq.200=200 MHz (Overclock) +challenger_2040_wifi.menu.freq.200.build.f_cpu=200000000L +challenger_2040_wifi.menu.freq.225=225 MHz (Overclock) +challenger_2040_wifi.menu.freq.225.build.f_cpu=225000000L +challenger_2040_wifi.menu.freq.240=240 MHz (Overclock) +challenger_2040_wifi.menu.freq.240.build.f_cpu=240000000L +challenger_2040_wifi.menu.freq.250=250 MHz (Overclock) +challenger_2040_wifi.menu.freq.250.build.f_cpu=250000000L +challenger_2040_wifi.menu.freq.275=275 MHz (Overclock) +challenger_2040_wifi.menu.freq.275.build.f_cpu=275000000L +challenger_2040_wifi.menu.freq.300=300 MHz (Overclock) +challenger_2040_wifi.menu.freq.300.build.f_cpu=300000000L +challenger_2040_wifi.menu.opt.Small=Small (-Os) (standard) +challenger_2040_wifi.menu.opt.Small.build.flags.optimize=-Os +challenger_2040_wifi.menu.opt.Optimize=Optimize (-O) +challenger_2040_wifi.menu.opt.Optimize.build.flags.optimize=-O +challenger_2040_wifi.menu.opt.Optimize2=Optimize More (-O2) +challenger_2040_wifi.menu.opt.Optimize2.build.flags.optimize=-O2 +challenger_2040_wifi.menu.opt.Optimize3=Optimize Even More (-O3) +challenger_2040_wifi.menu.opt.Optimize3.build.flags.optimize=-O3 +challenger_2040_wifi.menu.opt.Fast=Fast (-Ofast) (maybe slower) +challenger_2040_wifi.menu.opt.Fast.build.flags.optimize=-Ofast +challenger_2040_wifi.menu.opt.Debug=Debug (-Og) +challenger_2040_wifi.menu.opt.Debug.build.flags.optimize=-Og +challenger_2040_wifi.menu.rtti.Disabled=Disabled +challenger_2040_wifi.menu.rtti.Disabled.build.flags.rtti=-fno-rtti +challenger_2040_wifi.menu.rtti.Enabled=Enabled +challenger_2040_wifi.menu.rtti.Enabled.build.flags.rtti= +challenger_2040_wifi.menu.stackprotect.Disabled=Disabled +challenger_2040_wifi.menu.stackprotect.Disabled.build.flags.stackprotect= +challenger_2040_wifi.menu.stackprotect.Enabled=Enabled +challenger_2040_wifi.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector +challenger_2040_wifi.menu.exceptions.Disabled=Disabled +challenger_2040_wifi.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions +challenger_2040_wifi.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ +challenger_2040_wifi.menu.exceptions.Enabled=Enabled +challenger_2040_wifi.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions +challenger_2040_wifi.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc +challenger_2040_wifi.menu.dbgport.Disabled=Disabled +challenger_2040_wifi.menu.dbgport.Disabled.build.debug_port= +challenger_2040_wifi.menu.dbgport.Serial=Serial +challenger_2040_wifi.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_wifi.menu.dbgport.Serial1=Serial1 +challenger_2040_wifi.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_wifi.menu.dbgport.Serial2=Serial2 +challenger_2040_wifi.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_wifi.menu.dbglvl.None=None +challenger_2040_wifi.menu.dbglvl.None.build.debug_level= +challenger_2040_wifi.menu.dbglvl.Core=Core +challenger_2040_wifi.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_wifi.menu.dbglvl.SPI=SPI +challenger_2040_wifi.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_wifi.menu.dbglvl.Wire=Wire +challenger_2040_wifi.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_wifi.menu.dbglvl.All=All +challenger_2040_wifi.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_wifi.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_wifi.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_wifi.menu.usbstack.picosdk=Pico SDK +challenger_2040_wifi.menu.usbstack.picosdk.build.usbstack_flags= +challenger_2040_wifi.menu.usbstack.tinyusb=Adafruit TinyUSB +challenger_2040_wifi.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" +challenger_2040_wifi.menu.ipstack.ipv4only=IPv4 Only +challenger_2040_wifi.menu.ipstack.ipv4only.build.libpico=libpico.a +challenger_2040_wifi.menu.ipstack.ipv4only.build.lwipdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 +challenger_2040_wifi.menu.ipstack.ipv4ipv6=IPv4 and IPv6 +challenger_2040_wifi.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6.a +challenger_2040_wifi.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 + +# ----------------------------------- +# iLabs Challenger 2040 WiFi (Picoprobe) +# ----------------------------------- +challenger_2040_wifipicoprobe.name=iLabs Challenger 2040 WiFi (Picoprobe) +challenger_2040_wifipicoprobe.vid.0=0x2e8a +challenger_2040_wifipicoprobe.pid.0=0x0004 +challenger_2040_wifipicoprobe.build.usbpid=-DSERIALUSB_PID=0x1006 +challenger_2040_wifipicoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=250 +challenger_2040_wifipicoprobe.build.board=CHALLENGER_2040_WIFI_RP2040 +challenger_2040_wifipicoprobe.build.mcu=cortex-m0plus +challenger_2040_wifipicoprobe.build.variant=challenger_2040_wifi +challenger_2040_wifipicoprobe.upload.tool=picoprobe +challenger_2040_wifipicoprobe.upload.maximum_size=8388608 +challenger_2040_wifipicoprobe.upload.maximum_data_size=262144 +challenger_2040_wifipicoprobe.upload.wait_for_upload_port=true +challenger_2040_wifipicoprobe.upload.erase_cmd= +challenger_2040_wifipicoprobe.serial.disableDTR=false +challenger_2040_wifipicoprobe.serial.disableRTS=false +challenger_2040_wifipicoprobe.build.f_cpu=125000000 +challenger_2040_wifipicoprobe.build.led= +challenger_2040_wifipicoprobe.build.core=rp2040 +challenger_2040_wifipicoprobe.build.ldscript=memmap_default.ld +challenger_2040_wifipicoprobe.build.ram_length=256k +challenger_2040_wifipicoprobe.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_wifipicoprobe.build.vid=0x2e8a +challenger_2040_wifipicoprobe.build.pid=0x1006 +challenger_2040_wifipicoprobe.build.usb_manufacturer="iLabs" +challenger_2040_wifipicoprobe.build.usb_product="Challenger 2040 WiFi (Picoprobe)" +challenger_2040_wifipicoprobe.build.extra_flags=-DWIFIESPAT2 +challenger_2040_wifipicoprobe.menu.flash.8388608_0=8MB (no FS) +challenger_2040_wifipicoprobe.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_wifipicoprobe.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_wifipicoprobe.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_wifipicoprobe.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_wifipicoprobe.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_wifipicoprobe.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_wifipicoprobe.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_wifipicoprobe.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_wifipicoprobe.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_wifipicoprobe.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_wifipicoprobe.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_wifipicoprobe.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_wifipicoprobe.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_wifipicoprobe.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_wifipicoprobe.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_wifipicoprobe.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_wifipicoprobe.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_wifipicoprobe.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_wifipicoprobe.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_wifipicoprobe.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_wifipicoprobe.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_wifipicoprobe.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_wifipicoprobe.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_wifipicoprobe.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_wifipicoprobe.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_wifipicoprobe.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_wifipicoprobe.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_wifipicoprobe.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_wifipicoprobe.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_wifipicoprobe.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_wifipicoprobe.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_wifipicoprobe.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_wifipicoprobe.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_wifipicoprobe.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_wifipicoprobe.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_wifipicoprobe.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_wifipicoprobe.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_wifipicoprobe.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_wifipicoprobe.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_wifipicoprobe.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_wifipicoprobe.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_wifipicoprobe.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_wifipicoprobe.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_wifipicoprobe.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_wifipicoprobe.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_wifipicoprobe.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_wifipicoprobe.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_wifipicoprobe.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_wifipicoprobe.menu.freq.133=133 MHz +challenger_2040_wifipicoprobe.menu.freq.133.build.f_cpu=133000000L +challenger_2040_wifipicoprobe.menu.freq.50=50 MHz +challenger_2040_wifipicoprobe.menu.freq.50.build.f_cpu=50000000L +challenger_2040_wifipicoprobe.menu.freq.100=100 MHz +challenger_2040_wifipicoprobe.menu.freq.100.build.f_cpu=100000000L +challenger_2040_wifipicoprobe.menu.freq.120=120 MHz +challenger_2040_wifipicoprobe.menu.freq.120.build.f_cpu=120000000L +challenger_2040_wifipicoprobe.menu.freq.125=125 MHz +challenger_2040_wifipicoprobe.menu.freq.125.build.f_cpu=125000000L +challenger_2040_wifipicoprobe.menu.freq.150=150 MHz (Overclock) +challenger_2040_wifipicoprobe.menu.freq.150.build.f_cpu=150000000L +challenger_2040_wifipicoprobe.menu.freq.175=175 MHz (Overclock) +challenger_2040_wifipicoprobe.menu.freq.175.build.f_cpu=175000000L +challenger_2040_wifipicoprobe.menu.freq.200=200 MHz (Overclock) +challenger_2040_wifipicoprobe.menu.freq.200.build.f_cpu=200000000L +challenger_2040_wifipicoprobe.menu.freq.225=225 MHz (Overclock) +challenger_2040_wifipicoprobe.menu.freq.225.build.f_cpu=225000000L +challenger_2040_wifipicoprobe.menu.freq.240=240 MHz (Overclock) +challenger_2040_wifipicoprobe.menu.freq.240.build.f_cpu=240000000L +challenger_2040_wifipicoprobe.menu.freq.250=250 MHz (Overclock) +challenger_2040_wifipicoprobe.menu.freq.250.build.f_cpu=250000000L +challenger_2040_wifipicoprobe.menu.freq.275=275 MHz (Overclock) +challenger_2040_wifipicoprobe.menu.freq.275.build.f_cpu=275000000L +challenger_2040_wifipicoprobe.menu.freq.300=300 MHz (Overclock) +challenger_2040_wifipicoprobe.menu.freq.300.build.f_cpu=300000000L +challenger_2040_wifipicoprobe.menu.opt.Small=Small (-Os) (standard) +challenger_2040_wifipicoprobe.menu.opt.Small.build.flags.optimize=-Os +challenger_2040_wifipicoprobe.menu.opt.Optimize=Optimize (-O) +challenger_2040_wifipicoprobe.menu.opt.Optimize.build.flags.optimize=-O +challenger_2040_wifipicoprobe.menu.opt.Optimize2=Optimize More (-O2) +challenger_2040_wifipicoprobe.menu.opt.Optimize2.build.flags.optimize=-O2 +challenger_2040_wifipicoprobe.menu.opt.Optimize3=Optimize Even More (-O3) +challenger_2040_wifipicoprobe.menu.opt.Optimize3.build.flags.optimize=-O3 +challenger_2040_wifipicoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower) +challenger_2040_wifipicoprobe.menu.opt.Fast.build.flags.optimize=-Ofast +challenger_2040_wifipicoprobe.menu.opt.Debug=Debug (-Og) +challenger_2040_wifipicoprobe.menu.opt.Debug.build.flags.optimize=-Og +challenger_2040_wifipicoprobe.menu.rtti.Disabled=Disabled +challenger_2040_wifipicoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti +challenger_2040_wifipicoprobe.menu.rtti.Enabled=Enabled +challenger_2040_wifipicoprobe.menu.rtti.Enabled.build.flags.rtti= +challenger_2040_wifipicoprobe.menu.stackprotect.Disabled=Disabled +challenger_2040_wifipicoprobe.menu.stackprotect.Disabled.build.flags.stackprotect= +challenger_2040_wifipicoprobe.menu.stackprotect.Enabled=Enabled +challenger_2040_wifipicoprobe.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector +challenger_2040_wifipicoprobe.menu.exceptions.Disabled=Disabled +challenger_2040_wifipicoprobe.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions +challenger_2040_wifipicoprobe.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ +challenger_2040_wifipicoprobe.menu.exceptions.Enabled=Enabled +challenger_2040_wifipicoprobe.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions +challenger_2040_wifipicoprobe.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc +challenger_2040_wifipicoprobe.menu.dbgport.Disabled=Disabled +challenger_2040_wifipicoprobe.menu.dbgport.Disabled.build.debug_port= +challenger_2040_wifipicoprobe.menu.dbgport.Serial=Serial +challenger_2040_wifipicoprobe.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_wifipicoprobe.menu.dbgport.Serial1=Serial1 +challenger_2040_wifipicoprobe.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_wifipicoprobe.menu.dbgport.Serial2=Serial2 +challenger_2040_wifipicoprobe.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_wifipicoprobe.menu.dbglvl.None=None +challenger_2040_wifipicoprobe.menu.dbglvl.None.build.debug_level= +challenger_2040_wifipicoprobe.menu.dbglvl.Core=Core +challenger_2040_wifipicoprobe.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_wifipicoprobe.menu.dbglvl.SPI=SPI +challenger_2040_wifipicoprobe.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_wifipicoprobe.menu.dbglvl.Wire=Wire +challenger_2040_wifipicoprobe.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_wifipicoprobe.menu.dbglvl.All=All +challenger_2040_wifipicoprobe.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_wifipicoprobe.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_wifipicoprobe.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_wifipicoprobe.menu.usbstack.picosdk=Pico SDK +challenger_2040_wifipicoprobe.menu.usbstack.picosdk.build.usbstack_flags= +challenger_2040_wifipicoprobe.menu.usbstack.tinyusb=Adafruit TinyUSB +challenger_2040_wifipicoprobe.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" +challenger_2040_wifipicoprobe.menu.ipstack.ipv4only=IPv4 Only +challenger_2040_wifipicoprobe.menu.ipstack.ipv4only.build.libpico=libpico.a +challenger_2040_wifipicoprobe.menu.ipstack.ipv4only.build.lwipdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 +challenger_2040_wifipicoprobe.menu.ipstack.ipv4ipv6=IPv4 and IPv6 +challenger_2040_wifipicoprobe.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6.a +challenger_2040_wifipicoprobe.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 + +# ----------------------------------- +# iLabs Challenger 2040 WiFi (pico-debug) +# ----------------------------------- +challenger_2040_wifipicodebug.name=iLabs Challenger 2040 WiFi (pico-debug) +challenger_2040_wifipicodebug.vid.0=0x1209 +challenger_2040_wifipicodebug.pid.0=0x2488 +challenger_2040_wifipicodebug.build.usbpid=-DSERIALUSB_PID=0x1006 +challenger_2040_wifipicodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=250 +challenger_2040_wifipicodebug.build.board=CHALLENGER_2040_WIFI_RP2040 +challenger_2040_wifipicodebug.build.mcu=cortex-m0plus +challenger_2040_wifipicodebug.build.variant=challenger_2040_wifi +challenger_2040_wifipicodebug.upload.tool=picodebug +challenger_2040_wifipicodebug.upload.maximum_size=8388608 +challenger_2040_wifipicodebug.upload.maximum_data_size=245760 +challenger_2040_wifipicodebug.upload.wait_for_upload_port=true +challenger_2040_wifipicodebug.upload.erase_cmd= +challenger_2040_wifipicodebug.serial.disableDTR=false +challenger_2040_wifipicodebug.serial.disableRTS=false +challenger_2040_wifipicodebug.build.f_cpu=125000000 +challenger_2040_wifipicodebug.build.led= +challenger_2040_wifipicodebug.build.core=rp2040 +challenger_2040_wifipicodebug.build.ldscript=memmap_default.ld +challenger_2040_wifipicodebug.build.ram_length=240k +challenger_2040_wifipicodebug.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_wifipicodebug.build.vid=0x2e8a +challenger_2040_wifipicodebug.build.pid=0x1006 +challenger_2040_wifipicodebug.build.usb_manufacturer="iLabs" +challenger_2040_wifipicodebug.build.usb_product="Challenger 2040 WiFi (pico-debug)" +challenger_2040_wifipicodebug.build.extra_flags=-DWIFIESPAT2 +challenger_2040_wifipicodebug.menu.flash.8388608_0=8MB (no FS) +challenger_2040_wifipicodebug.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_wifipicodebug.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_wifipicodebug.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_wifipicodebug.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_wifipicodebug.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_wifipicodebug.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_wifipicodebug.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_wifipicodebug.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_wifipicodebug.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_wifipicodebug.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_wifipicodebug.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_wifipicodebug.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_wifipicodebug.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_wifipicodebug.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_wifipicodebug.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_wifipicodebug.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_wifipicodebug.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_wifipicodebug.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_wifipicodebug.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_wifipicodebug.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_wifipicodebug.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_wifipicodebug.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_wifipicodebug.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_wifipicodebug.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_wifipicodebug.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_wifipicodebug.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_wifipicodebug.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_wifipicodebug.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_wifipicodebug.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_wifipicodebug.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_wifipicodebug.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_wifipicodebug.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_wifipicodebug.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_wifipicodebug.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_wifipicodebug.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_wifipicodebug.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_wifipicodebug.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_wifipicodebug.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_wifipicodebug.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_wifipicodebug.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_wifipicodebug.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_wifipicodebug.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_wifipicodebug.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_wifipicodebug.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_wifipicodebug.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_wifipicodebug.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_wifipicodebug.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_wifipicodebug.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_wifipicodebug.menu.freq.133=133 MHz +challenger_2040_wifipicodebug.menu.freq.133.build.f_cpu=133000000L +challenger_2040_wifipicodebug.menu.freq.50=50 MHz +challenger_2040_wifipicodebug.menu.freq.50.build.f_cpu=50000000L +challenger_2040_wifipicodebug.menu.freq.100=100 MHz +challenger_2040_wifipicodebug.menu.freq.100.build.f_cpu=100000000L +challenger_2040_wifipicodebug.menu.freq.120=120 MHz +challenger_2040_wifipicodebug.menu.freq.120.build.f_cpu=120000000L +challenger_2040_wifipicodebug.menu.freq.125=125 MHz +challenger_2040_wifipicodebug.menu.freq.125.build.f_cpu=125000000L +challenger_2040_wifipicodebug.menu.freq.150=150 MHz (Overclock) +challenger_2040_wifipicodebug.menu.freq.150.build.f_cpu=150000000L +challenger_2040_wifipicodebug.menu.freq.175=175 MHz (Overclock) +challenger_2040_wifipicodebug.menu.freq.175.build.f_cpu=175000000L +challenger_2040_wifipicodebug.menu.freq.200=200 MHz (Overclock) +challenger_2040_wifipicodebug.menu.freq.200.build.f_cpu=200000000L +challenger_2040_wifipicodebug.menu.freq.225=225 MHz (Overclock) +challenger_2040_wifipicodebug.menu.freq.225.build.f_cpu=225000000L +challenger_2040_wifipicodebug.menu.freq.240=240 MHz (Overclock) +challenger_2040_wifipicodebug.menu.freq.240.build.f_cpu=240000000L +challenger_2040_wifipicodebug.menu.freq.250=250 MHz (Overclock) +challenger_2040_wifipicodebug.menu.freq.250.build.f_cpu=250000000L +challenger_2040_wifipicodebug.menu.freq.275=275 MHz (Overclock) +challenger_2040_wifipicodebug.menu.freq.275.build.f_cpu=275000000L +challenger_2040_wifipicodebug.menu.freq.300=300 MHz (Overclock) +challenger_2040_wifipicodebug.menu.freq.300.build.f_cpu=300000000L +challenger_2040_wifipicodebug.menu.opt.Small=Small (-Os) (standard) +challenger_2040_wifipicodebug.menu.opt.Small.build.flags.optimize=-Os +challenger_2040_wifipicodebug.menu.opt.Optimize=Optimize (-O) +challenger_2040_wifipicodebug.menu.opt.Optimize.build.flags.optimize=-O +challenger_2040_wifipicodebug.menu.opt.Optimize2=Optimize More (-O2) +challenger_2040_wifipicodebug.menu.opt.Optimize2.build.flags.optimize=-O2 +challenger_2040_wifipicodebug.menu.opt.Optimize3=Optimize Even More (-O3) +challenger_2040_wifipicodebug.menu.opt.Optimize3.build.flags.optimize=-O3 +challenger_2040_wifipicodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower) +challenger_2040_wifipicodebug.menu.opt.Fast.build.flags.optimize=-Ofast +challenger_2040_wifipicodebug.menu.opt.Debug=Debug (-Og) +challenger_2040_wifipicodebug.menu.opt.Debug.build.flags.optimize=-Og +challenger_2040_wifipicodebug.menu.rtti.Disabled=Disabled +challenger_2040_wifipicodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti +challenger_2040_wifipicodebug.menu.rtti.Enabled=Enabled +challenger_2040_wifipicodebug.menu.rtti.Enabled.build.flags.rtti= +challenger_2040_wifipicodebug.menu.stackprotect.Disabled=Disabled +challenger_2040_wifipicodebug.menu.stackprotect.Disabled.build.flags.stackprotect= +challenger_2040_wifipicodebug.menu.stackprotect.Enabled=Enabled +challenger_2040_wifipicodebug.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector +challenger_2040_wifipicodebug.menu.exceptions.Disabled=Disabled +challenger_2040_wifipicodebug.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions +challenger_2040_wifipicodebug.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ +challenger_2040_wifipicodebug.menu.exceptions.Enabled=Enabled +challenger_2040_wifipicodebug.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions +challenger_2040_wifipicodebug.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc +challenger_2040_wifipicodebug.menu.dbgport.Disabled=Disabled +challenger_2040_wifipicodebug.menu.dbgport.Disabled.build.debug_port= +challenger_2040_wifipicodebug.menu.dbgport.Serial=Serial +challenger_2040_wifipicodebug.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_wifipicodebug.menu.dbgport.Serial1=Serial1 +challenger_2040_wifipicodebug.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_wifipicodebug.menu.dbgport.Serial2=Serial2 +challenger_2040_wifipicodebug.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_wifipicodebug.menu.dbglvl.None=None +challenger_2040_wifipicodebug.menu.dbglvl.None.build.debug_level= +challenger_2040_wifipicodebug.menu.dbglvl.Core=Core +challenger_2040_wifipicodebug.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_wifipicodebug.menu.dbglvl.SPI=SPI +challenger_2040_wifipicodebug.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_wifipicodebug.menu.dbglvl.Wire=Wire +challenger_2040_wifipicodebug.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_wifipicodebug.menu.dbglvl.All=All +challenger_2040_wifipicodebug.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_wifipicodebug.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_wifipicodebug.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_wifipicodebug.menu.usbstack.nousb=No USB +challenger_2040_wifipicodebug.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico" +challenger_2040_wifipicodebug.menu.ipstack.ipv4only=IPv4 Only +challenger_2040_wifipicodebug.menu.ipstack.ipv4only.build.libpico=libpico.a +challenger_2040_wifipicodebug.menu.ipstack.ipv4only.build.lwipdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 +challenger_2040_wifipicodebug.menu.ipstack.ipv4ipv6=IPv4 and IPv6 +challenger_2040_wifipicodebug.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6.a +challenger_2040_wifipicodebug.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 # ----------------------------------- # iLabs Challenger 2040 WiFi/BLE @@ -9421,6 +9424,7 @@ challenger_2040_wifi_ble.build.vid=0x2e8a challenger_2040_wifi_ble.build.pid=0x102C challenger_2040_wifi_ble.build.usb_manufacturer="iLabs" challenger_2040_wifi_ble.build.usb_product="Challenger 2040 WiFi/BLE" +challenger_2040_wifi_ble.build.extra_flags=-DWIFIESPAT2 challenger_2040_wifi_ble.menu.flash.8388608_0=8MB (no FS) challenger_2040_wifi_ble.menu.flash.8388608_0.upload.maximum_size=8384512 challenger_2040_wifi_ble.menu.flash.8388608_0.build.flash_length=8384512 @@ -9604,6 +9608,7 @@ challenger_2040_wifi_blepicoprobe.build.vid=0x2e8a challenger_2040_wifi_blepicoprobe.build.pid=0x102C challenger_2040_wifi_blepicoprobe.build.usb_manufacturer="iLabs" challenger_2040_wifi_blepicoprobe.build.usb_product="Challenger 2040 WiFi/BLE (Picoprobe)" +challenger_2040_wifi_blepicoprobe.build.extra_flags=-DWIFIESPAT2 challenger_2040_wifi_blepicoprobe.menu.flash.8388608_0=8MB (no FS) challenger_2040_wifi_blepicoprobe.menu.flash.8388608_0.upload.maximum_size=8384512 challenger_2040_wifi_blepicoprobe.menu.flash.8388608_0.build.flash_length=8384512 @@ -9787,6 +9792,7 @@ challenger_2040_wifi_blepicodebug.build.vid=0x2e8a challenger_2040_wifi_blepicodebug.build.pid=0x102C challenger_2040_wifi_blepicodebug.build.usb_manufacturer="iLabs" challenger_2040_wifi_blepicodebug.build.usb_product="Challenger 2040 WiFi/BLE (pico-debug)" +challenger_2040_wifi_blepicodebug.build.extra_flags=-DWIFIESPAT2 challenger_2040_wifi_blepicodebug.menu.flash.8388608_0=8MB (no FS) challenger_2040_wifi_blepicodebug.menu.flash.8388608_0.upload.maximum_size=8384512 challenger_2040_wifi_blepicodebug.menu.flash.8388608_0.build.flash_length=8384512 @@ -9968,6 +9974,7 @@ 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.build.extra_flags=-DWIFIESPAT2 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 @@ -10151,6 +10158,7 @@ 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.build.extra_flags=-DWIFIESPAT2 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 @@ -10334,6 +10342,7 @@ 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.build.extra_flags=-DWIFIESPAT2 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 diff --git a/package/package_pico_index.template.json b/package/package_pico_index.template.json index a5f2e0e4..57fd2b8b 100644 --- a/package/package_pico_index.template.json +++ b/package/package_pico_index.template.json @@ -59,6 +59,9 @@ { "name": "DFRobot Beetle RP2040" }, + { + "name": "iLabs Challenger 2040 LTE" + }, { "name": "iLabs Challenger 2040 LoRa" }, @@ -68,9 +71,6 @@ { "name": "iLabs Challenger 2040 WiFi" }, - { - "name": "iLabs Challenger 2040 LTE" - }, { "name": "iLabs Challenger 2040 WiFi/BLE" }, diff --git a/tools/makeboards.py b/tools/makeboards.py index ab4a7bfc..aa045195 100755 --- a/tools/makeboards.py +++ b/tools/makeboards.py @@ -91,7 +91,7 @@ def BuildIPStack(name): print('%s.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6.a' % (name)) print('%s.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1' % (name)) -def BuildHeader(name, vendor_name, product_name, vidtouse, pidtouse, vid, pid, pwr, boarddefine, variant, uploadtool, flashsize, ramsize, boot2): +def BuildHeader(name, vendor_name, product_name, vidtouse, pidtouse, vid, pid, pwr, boarddefine, variant, uploadtool, flashsize, ramsize, boot2, extra): prettyname = vendor_name + " " + product_name print() print("# -----------------------------------") @@ -122,6 +122,8 @@ def BuildHeader(name, vendor_name, product_name, vidtouse, pidtouse, vid, pid, p print("%s.build.pid=%s" % (name, pid)) print('%s.build.usb_manufacturer="%s"' % (name, vendor_name)) print('%s.build.usb_product="%s"' % (name, product_name)) + if extra != None: + print('%s.build.extra_flags=-D%s' % (name, extra)) def WriteWarning(): print("# WARNING - DO NOT EDIT THIS FILE, IT IS MACHINE GENERATED") @@ -143,7 +145,7 @@ def BuildGlobalMenuList(): print("menu.usbstack=USB Stack") print("menu.ipstack=IP Stack") -def MakeBoard(name, vendor_name, product_name, vid, pid, pwr, boarddefine, flashsizemb, boot2): +def MakeBoard(name, vendor_name, product_name, vid, pid, pwr, boarddefine, flashsizemb, boot2, extra = None): for a, b, c in [ ["", "", "uf2conv"], ["picoprobe", " (Picoprobe)", "picoprobe"], ["picodebug", " (pico-debug)", "picodebug"]]: n = name + a p = product_name + b @@ -160,7 +162,7 @@ def MakeBoard(name, vendor_name, product_name, vid, pid, pwr, boarddefine, flash ramsizekb = 240; else: pidtouse = pid - BuildHeader(n, vendor_name, p, vidtouse, pidtouse, vid, pid, pwr, boarddefine, name, c, flashsizemb * 1024 * 1024, ramsizekb * 1024, boot2) + BuildHeader(n, vendor_name, p, vidtouse, pidtouse, vid, pid, pwr, boarddefine, name, c, flashsizemb * 1024 * 1024, ramsizekb * 1024, boot2, extra) if name == "generic": BuildFlashMenu(n, 2*1024*1024, [0, 1*1024*1024]) BuildFlashMenu(n, 4*1024*1024, [0, 2*1024*1024]) @@ -295,12 +297,12 @@ def MakeBoardJSON(name, vendor_name, product_name, vid, pid, pwr, boarddefine, f MakeBoard("dfrobot_beetle_rp2040", "DFRobot", "Beetle RP2040", "0x3343", "0x4253", 250, "DFROBOT_BEETLE_RP2040", 2, "boot2_w25q080_2_padded_checksum") # iLabs +MakeBoard("challenger_2040_lte", "iLabs", "Challenger 2040 LTE", "0x2e8a", "0x100b", 500, "CHALLENGER_2040_LTE_RP2040", 8, "boot2_w25q080_2_padded_checksum") MakeBoard("challenger_2040_lora", "iLabs", "Challenger 2040 LoRa", "0x2e8a", "0x1023", 250, "CHALLENGER_2040_LORA_RP2040", 8, "boot2_w25q080_2_padded_checksum") MakeBoard("challenger_2040_subghz", "iLabs", "Challenger 2040 SubGHz", "0x2e8a", "0x1032", 250, "CHALLENGER_2040_SUBGHZ_RP2040", 8, "boot2_w25q080_2_padded_checksum") -MakeBoard("challenger_2040_wifi", "iLabs", "Challenger 2040 WiFi", "0x2e8a", "0x1006", 250, "CHALLENGER_2040_WIFI_RP2040", 8, "boot2_w25q080_2_padded_checksum") -MakeBoard("challenger_2040_lte", "iLabs", "Challenger 2040 LTE", "0x2e8a", "0x100b", 500, "CHALLENGER_2040_LTE_RP2040", 8, "boot2_w25q080_2_padded_checksum") -MakeBoard("challenger_2040_wifi_ble", "iLabs", "Challenger 2040 WiFi/BLE", "0x2e8a", "0x102C", 500, "CHALLENGER_2040_WIFI_BLE_RP2040", 8, "boot2_w25q080_2_padded_checksum") -MakeBoard("challenger_nb_2040_wifi", "iLabs", "Challenger NB 2040 WiFi", "0x2e8a", "0x100b", 500, "CHALLENGER_NB_2040_WIFI_RP2040", 8, "boot2_w25q080_2_padded_checksum") +MakeBoard("challenger_2040_wifi", "iLabs", "Challenger 2040 WiFi", "0x2e8a", "0x1006", 250, "CHALLENGER_2040_WIFI_RP2040", 8, "boot2_w25q080_2_padded_checksum", "WIFIESPAT2") +MakeBoard("challenger_2040_wifi_ble", "iLabs", "Challenger 2040 WiFi/BLE", "0x2e8a", "0x102C", 500, "CHALLENGER_2040_WIFI_BLE_RP2040", 8, "boot2_w25q080_2_padded_checksum", "WIFIESPAT2") +MakeBoard("challenger_nb_2040_wifi", "iLabs", "Challenger NB 2040 WiFi", "0x2e8a", "0x100b", 500, "CHALLENGER_NB_2040_WIFI_RP2040", 8, "boot2_w25q080_2_padded_checksum", "WIFIESPAT2") MakeBoard("challenger_2040_sdrtc", "iLabs", "Challenger 2040 SD/RTC", "0x2e8a", "0x102d", 250, "CHALLENGER_NB_2040_SDRTC_RP2040", 8, "boot2_w25q080_2_padded_checksum") MakeBoard("ilabs_rpico32", "iLabs", "RPICO32", "0x2e8a", "0x1010", 250, "ILABS_2040_RPICO32_RP2040", 8, "boot2_w25q080_2_padded_checksum") From f038fdc77e1ef35c9ce741f5ff1d2f00521eb208 Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Tue, 26 Jul 2022 17:24:44 +0200 Subject: [PATCH 27/31] Added extra compiler options to JSON generation. --- tools/json/challenger_2040_wifi.json | 2 +- tools/json/challenger_2040_wifi_ble.json | 2 +- tools/json/challenger_nb_2040_wifi.json | 2 +- tools/makeboards.py | 13 +++++++++---- 4 files changed, 12 insertions(+), 7 deletions(-) diff --git a/tools/json/challenger_2040_wifi.json b/tools/json/challenger_2040_wifi.json index 0c9e75eb..6b2bcff9 100644 --- a/tools/json/challenger_2040_wifi.json +++ b/tools/json/challenger_2040_wifi.json @@ -9,7 +9,7 @@ }, "core": "earlephilhower", "cpu": "cortex-m0plus", - "extra_flags": "-D ARDUINO_CHALLENGER_2040_WIFI_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250", + "extra_flags": "-D ARDUINO_CHALLENGER_2040_WIFI_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250 -DWIFIESPAT2", "f_cpu": "133000000L", "hwids": [ [ diff --git a/tools/json/challenger_2040_wifi_ble.json b/tools/json/challenger_2040_wifi_ble.json index b671b697..5d4b8296 100644 --- a/tools/json/challenger_2040_wifi_ble.json +++ b/tools/json/challenger_2040_wifi_ble.json @@ -9,7 +9,7 @@ }, "core": "earlephilhower", "cpu": "cortex-m0plus", - "extra_flags": "-D ARDUINO_CHALLENGER_2040_WIFI_BLE_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=500", + "extra_flags": "-D ARDUINO_CHALLENGER_2040_WIFI_BLE_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=500 -DWIFIESPAT2", "f_cpu": "133000000L", "hwids": [ [ diff --git a/tools/json/challenger_nb_2040_wifi.json b/tools/json/challenger_nb_2040_wifi.json index f4ae65c5..5eb1b9fa 100644 --- a/tools/json/challenger_nb_2040_wifi.json +++ b/tools/json/challenger_nb_2040_wifi.json @@ -9,7 +9,7 @@ }, "core": "earlephilhower", "cpu": "cortex-m0plus", - "extra_flags": "-D ARDUINO_CHALLENGER_NB_2040_WIFI_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=500", + "extra_flags": "-D ARDUINO_CHALLENGER_NB_2040_WIFI_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=500 -DWIFIESPAT2", "f_cpu": "133000000L", "hwids": [ [ diff --git a/tools/makeboards.py b/tools/makeboards.py index aa045195..1cec8b82 100755 --- a/tools/makeboards.py +++ b/tools/makeboards.py @@ -184,13 +184,17 @@ def MakeBoard(name, vendor_name, product_name, vid, pid, pwr, boarddefine, flash BuildIPStack(n) if name == "generic": BuildBoot(n) - MakeBoardJSON(name, vendor_name, product_name, vid, pid, pwr, boarddefine, flashsizemb, boot2) + MakeBoardJSON(name, vendor_name, product_name, vid, pid, pwr, boarddefine, flashsizemb, boot2, extra) global pkgjson thisbrd = {} thisbrd['name'] = "%s %s" % (vendor_name, product_name) pkgjson['packages'][0]['platforms'][0]['boards'].append(thisbrd) -def MakeBoardJSON(name, vendor_name, product_name, vid, pid, pwr, boarddefine, flashsizemb, boot2): +def MakeBoardJSON(name, vendor_name, product_name, vid, pid, pwr, boarddefine, flashsizemb, boot2, extra): + if extra != None: + m_extra = ' -D' + extra + else: + m_extra = '' json = """{ "build": { "arduino": { @@ -202,7 +206,7 @@ def MakeBoardJSON(name, vendor_name, product_name, vid, pid, pwr, boarddefine, f }, "core": "earlephilhower", "cpu": "cortex-m0plus", - "extra_flags": "-D ARDUINO_BOARDDEFINE -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=USBPWR", + "extra_flags": "-D ARDUINO_BOARDDEFINE -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=USBPWR EXTRA_INFO", "f_cpu": "133000000L", "hwids": [ [ @@ -253,7 +257,8 @@ def MakeBoardJSON(name, vendor_name, product_name, vid, pid, pwr, boarddefine, f .replace('VENDORNAME', vendor_name)\ .replace('PRODUCTNAME', product_name)\ .replace('FLASHSIZE', str(1024*1024*flashsizemb))\ -.replace('USBPWR', str(pwr)) +.replace('USBPWR', str(pwr))\ +.replace(' EXTRA_INFO', m_extra) jsondir = os.path.abspath(os.path.dirname(__file__)) + "/json" f = open(jsondir + "/" + name + ".json", "w") f.write(json) From 7bfb545bf30ed6c767ac117807cf81836610c395 Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Wed, 27 Jul 2022 08:18:22 +0200 Subject: [PATCH 28/31] Allows having a list of extra macros to define --- tools/makeboards.py | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/tools/makeboards.py b/tools/makeboards.py index 1cec8b82..74257052 100755 --- a/tools/makeboards.py +++ b/tools/makeboards.py @@ -123,7 +123,10 @@ def BuildHeader(name, vendor_name, product_name, vidtouse, pidtouse, vid, pid, p print('%s.build.usb_manufacturer="%s"' % (name, vendor_name)) print('%s.build.usb_product="%s"' % (name, product_name)) if extra != None: - print('%s.build.extra_flags=-D%s' % (name, extra)) + m_extra = '' + for m_item in extra: + m_extra += '-D' + m_item + ' ' + print('%s.build.extra_flags=%s' % (name, m_extra.rstrip())) def WriteWarning(): print("# WARNING - DO NOT EDIT THIS FILE, IT IS MACHINE GENERATED") @@ -192,7 +195,9 @@ def MakeBoard(name, vendor_name, product_name, vid, pid, pwr, boarddefine, flash def MakeBoardJSON(name, vendor_name, product_name, vid, pid, pwr, boarddefine, flashsizemb, boot2, extra): if extra != None: - m_extra = ' -D' + extra + m_extra = ' ' + for m_item in extra: + m_extra += '-D' + m_item + ' ' else: m_extra = '' json = """{ @@ -258,7 +263,7 @@ def MakeBoardJSON(name, vendor_name, product_name, vid, pid, pwr, boarddefine, f .replace('PRODUCTNAME', product_name)\ .replace('FLASHSIZE', str(1024*1024*flashsizemb))\ .replace('USBPWR', str(pwr))\ -.replace(' EXTRA_INFO', m_extra) +.replace(' EXTRA_INFO', m_extra.rstrip()) jsondir = os.path.abspath(os.path.dirname(__file__)) + "/json" f = open(jsondir + "/" + name + ".json", "w") f.write(json) @@ -305,9 +310,9 @@ def MakeBoardJSON(name, vendor_name, product_name, vid, pid, pwr, boarddefine, f MakeBoard("challenger_2040_lte", "iLabs", "Challenger 2040 LTE", "0x2e8a", "0x100b", 500, "CHALLENGER_2040_LTE_RP2040", 8, "boot2_w25q080_2_padded_checksum") MakeBoard("challenger_2040_lora", "iLabs", "Challenger 2040 LoRa", "0x2e8a", "0x1023", 250, "CHALLENGER_2040_LORA_RP2040", 8, "boot2_w25q080_2_padded_checksum") MakeBoard("challenger_2040_subghz", "iLabs", "Challenger 2040 SubGHz", "0x2e8a", "0x1032", 250, "CHALLENGER_2040_SUBGHZ_RP2040", 8, "boot2_w25q080_2_padded_checksum") -MakeBoard("challenger_2040_wifi", "iLabs", "Challenger 2040 WiFi", "0x2e8a", "0x1006", 250, "CHALLENGER_2040_WIFI_RP2040", 8, "boot2_w25q080_2_padded_checksum", "WIFIESPAT2") -MakeBoard("challenger_2040_wifi_ble", "iLabs", "Challenger 2040 WiFi/BLE", "0x2e8a", "0x102C", 500, "CHALLENGER_2040_WIFI_BLE_RP2040", 8, "boot2_w25q080_2_padded_checksum", "WIFIESPAT2") -MakeBoard("challenger_nb_2040_wifi", "iLabs", "Challenger NB 2040 WiFi", "0x2e8a", "0x100b", 500, "CHALLENGER_NB_2040_WIFI_RP2040", 8, "boot2_w25q080_2_padded_checksum", "WIFIESPAT2") +MakeBoard("challenger_2040_wifi", "iLabs", "Challenger 2040 WiFi", "0x2e8a", "0x1006", 250, "CHALLENGER_2040_WIFI_RP2040", 8, "boot2_w25q080_2_padded_checksum", ["WIFIESPAT2"]) +MakeBoard("challenger_2040_wifi_ble", "iLabs", "Challenger 2040 WiFi/BLE", "0x2e8a", "0x102C", 500, "CHALLENGER_2040_WIFI_BLE_RP2040", 8, "boot2_w25q080_2_padded_checksum", ["WIFIESPAT2"]) +MakeBoard("challenger_nb_2040_wifi", "iLabs", "Challenger NB 2040 WiFi", "0x2e8a", "0x100b", 500, "CHALLENGER_NB_2040_WIFI_RP2040", 8, "boot2_w25q080_2_padded_checksum", ["WIFIESPAT2"]) MakeBoard("challenger_2040_sdrtc", "iLabs", "Challenger 2040 SD/RTC", "0x2e8a", "0x102d", 250, "CHALLENGER_NB_2040_SDRTC_RP2040", 8, "boot2_w25q080_2_padded_checksum") MakeBoard("ilabs_rpico32", "iLabs", "RPICO32", "0x2e8a", "0x1010", 250, "ILABS_2040_RPICO32_RP2040", 8, "boot2_w25q080_2_padded_checksum") From b48408f93d2351715dbc7efd55cff3e0a65b0f95 Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Wed, 27 Jul 2022 11:12:09 +0200 Subject: [PATCH 29/31] Fixed incorrect USB PID for Challenger NB board. --- boards.txt | 14 +++++++------- tools/json/challenger_nb_2040_wifi.json | 4 ++-- tools/makeboards.py | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/boards.txt b/boards.txt index ee588ad1..b2e6f7b7 100644 --- a/boards.txt +++ b/boards.txt @@ -9951,8 +9951,8 @@ challenger_2040_wifi_blepicodebug.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IP # ----------------------------------- 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.pid.0=0x100d +challenger_nb_2040_wifi.build.usbpid=-DSERIALUSB_PID=0x100d challenger_nb_2040_wifi.build.usbpwr=-DUSBD_MAX_POWER_MA=500 challenger_nb_2040_wifi.build.board=CHALLENGER_NB_2040_WIFI_RP2040 challenger_nb_2040_wifi.build.mcu=cortex-m0plus @@ -9971,7 +9971,7 @@ 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.pid=0x100d challenger_nb_2040_wifi.build.usb_manufacturer="iLabs" challenger_nb_2040_wifi.build.usb_product="Challenger NB 2040 WiFi" challenger_nb_2040_wifi.build.extra_flags=-DWIFIESPAT2 @@ -10136,7 +10136,7 @@ challenger_nb_2040_wifi.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWI 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.usbpid=-DSERIALUSB_PID=0x100d challenger_nb_2040_wifipicoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=500 challenger_nb_2040_wifipicoprobe.build.board=CHALLENGER_NB_2040_WIFI_RP2040 challenger_nb_2040_wifipicoprobe.build.mcu=cortex-m0plus @@ -10155,7 +10155,7 @@ 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.pid=0x100d challenger_nb_2040_wifipicoprobe.build.usb_manufacturer="iLabs" challenger_nb_2040_wifipicoprobe.build.usb_product="Challenger NB 2040 WiFi (Picoprobe)" challenger_nb_2040_wifipicoprobe.build.extra_flags=-DWIFIESPAT2 @@ -10320,7 +10320,7 @@ challenger_nb_2040_wifipicoprobe.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV 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.usbpid=-DSERIALUSB_PID=0x100d challenger_nb_2040_wifipicodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=500 challenger_nb_2040_wifipicodebug.build.board=CHALLENGER_NB_2040_WIFI_RP2040 challenger_nb_2040_wifipicodebug.build.mcu=cortex-m0plus @@ -10339,7 +10339,7 @@ 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.pid=0x100d 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.build.extra_flags=-DWIFIESPAT2 diff --git a/tools/json/challenger_nb_2040_wifi.json b/tools/json/challenger_nb_2040_wifi.json index 5eb1b9fa..3d34647a 100644 --- a/tools/json/challenger_nb_2040_wifi.json +++ b/tools/json/challenger_nb_2040_wifi.json @@ -4,7 +4,7 @@ "earlephilhower": { "boot2_source": "boot2_w25q080_2_padded_checksum.S", "usb_vid": "0x2E8A", - "usb_pid": "0x100B" + "usb_pid": "0x100D" } }, "core": "earlephilhower", @@ -18,7 +18,7 @@ ], [ "0x2E8A", - "0x100B" + "0x100D" ] ], "mcu": "rp2040", diff --git a/tools/makeboards.py b/tools/makeboards.py index 74257052..3a564ac5 100755 --- a/tools/makeboards.py +++ b/tools/makeboards.py @@ -312,7 +312,7 @@ def MakeBoardJSON(name, vendor_name, product_name, vid, pid, pwr, boarddefine, f MakeBoard("challenger_2040_subghz", "iLabs", "Challenger 2040 SubGHz", "0x2e8a", "0x1032", 250, "CHALLENGER_2040_SUBGHZ_RP2040", 8, "boot2_w25q080_2_padded_checksum") MakeBoard("challenger_2040_wifi", "iLabs", "Challenger 2040 WiFi", "0x2e8a", "0x1006", 250, "CHALLENGER_2040_WIFI_RP2040", 8, "boot2_w25q080_2_padded_checksum", ["WIFIESPAT2"]) MakeBoard("challenger_2040_wifi_ble", "iLabs", "Challenger 2040 WiFi/BLE", "0x2e8a", "0x102C", 500, "CHALLENGER_2040_WIFI_BLE_RP2040", 8, "boot2_w25q080_2_padded_checksum", ["WIFIESPAT2"]) -MakeBoard("challenger_nb_2040_wifi", "iLabs", "Challenger NB 2040 WiFi", "0x2e8a", "0x100b", 500, "CHALLENGER_NB_2040_WIFI_RP2040", 8, "boot2_w25q080_2_padded_checksum", ["WIFIESPAT2"]) +MakeBoard("challenger_nb_2040_wifi", "iLabs", "Challenger NB 2040 WiFi", "0x2e8a", "0x100d", 500, "CHALLENGER_NB_2040_WIFI_RP2040", 8, "boot2_w25q080_2_padded_checksum", ["WIFIESPAT2"]) MakeBoard("challenger_2040_sdrtc", "iLabs", "Challenger 2040 SD/RTC", "0x2e8a", "0x102d", 250, "CHALLENGER_NB_2040_SDRTC_RP2040", 8, "boot2_w25q080_2_padded_checksum") MakeBoard("ilabs_rpico32", "iLabs", "RPICO32", "0x2e8a", "0x1010", 250, "ILABS_2040_RPICO32_RP2040", 8, "boot2_w25q080_2_padded_checksum") From ef79b49e2a096cb5ab37a7cba11a8d0440765d12 Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Wed, 27 Jul 2022 12:40:23 +0200 Subject: [PATCH 30/31] Added board initialization for all wifi boards. --- variants/challenger_2040_wifi/board_init.cpp | 29 +++++++++++++++++++ .../challenger_2040_wifi_ble/board_init.cpp | 29 +++++++++++++++++++ .../challenger_nb_2040_wifi/board_init.cpp | 29 +++++++++++++++++++ 3 files changed, 87 insertions(+) create mode 100644 variants/challenger_2040_wifi/board_init.cpp create mode 100644 variants/challenger_2040_wifi_ble/board_init.cpp create mode 100644 variants/challenger_nb_2040_wifi/board_init.cpp diff --git a/variants/challenger_2040_wifi/board_init.cpp b/variants/challenger_2040_wifi/board_init.cpp new file mode 100644 index 00000000..4edff342 --- /dev/null +++ b/variants/challenger_2040_wifi/board_init.cpp @@ -0,0 +1,29 @@ +/* + ESP8285/ESP32C3 helper class for the Challenger RP2040 WiFi enabled boards + + Copyright (c) 2021,2022 P. Oldberg + + 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 +#include + +/** + * Just make sure we try to reset the ESP device before the user starts + * using the device. + */ +void initVariant() { + Challenger2040WiFi.reset(); +} diff --git a/variants/challenger_2040_wifi_ble/board_init.cpp b/variants/challenger_2040_wifi_ble/board_init.cpp new file mode 100644 index 00000000..4edff342 --- /dev/null +++ b/variants/challenger_2040_wifi_ble/board_init.cpp @@ -0,0 +1,29 @@ +/* + ESP8285/ESP32C3 helper class for the Challenger RP2040 WiFi enabled boards + + Copyright (c) 2021,2022 P. Oldberg + + 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 +#include + +/** + * Just make sure we try to reset the ESP device before the user starts + * using the device. + */ +void initVariant() { + Challenger2040WiFi.reset(); +} diff --git a/variants/challenger_nb_2040_wifi/board_init.cpp b/variants/challenger_nb_2040_wifi/board_init.cpp new file mode 100644 index 00000000..4edff342 --- /dev/null +++ b/variants/challenger_nb_2040_wifi/board_init.cpp @@ -0,0 +1,29 @@ +/* + ESP8285/ESP32C3 helper class for the Challenger RP2040 WiFi enabled boards + + Copyright (c) 2021,2022 P. Oldberg + + 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 +#include + +/** + * Just make sure we try to reset the ESP device before the user starts + * using the device. + */ +void initVariant() { + Challenger2040WiFi.reset(); +} From dc15e059ce7ca6044893c4d804e6f40fff344513 Mon Sep 17 00:00:00 2001 From: Pontus Oldberg Date: Fri, 9 Sep 2022 08:26:17 +0200 Subject: [PATCH 31/31] Added Challenger RP2040 NFC board. --- boards.txt | 589 ++++++++++++++++++++ package/package_pico_index.template.json | 3 + tools/json/challenger_2040_nfc.json | 54 ++ tools/makeboards.py | 1 + variants/challenger_2040_nfc/board_init.cpp | 34 ++ variants/challenger_2040_nfc/pins_arduino.h | 67 +++ 6 files changed, 748 insertions(+) create mode 100644 tools/json/challenger_2040_nfc.json create mode 100644 variants/challenger_2040_nfc/board_init.cpp create mode 100644 variants/challenger_2040_nfc/pins_arduino.h diff --git a/boards.txt b/boards.txt index ce469253..09c89db9 100644 --- a/boards.txt +++ b/boards.txt @@ -12887,6 +12887,595 @@ challenger_2040_sdrtcpicodebug.menu.ipstack.ipv4ipv6=IPv4 and IPv6 challenger_2040_sdrtcpicodebug.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6.a challenger_2040_sdrtcpicodebug.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 +# ----------------------------------- +# iLabs Challenger 2040 NFC +# ----------------------------------- +challenger_2040_nfc.name=iLabs Challenger 2040 NFC +challenger_2040_nfc.vid.0=0x2e8a +challenger_2040_nfc.pid.0=0x1036 +challenger_2040_nfc.vid.1=0x2e8a +challenger_2040_nfc.pid.1=0x1136 +challenger_2040_nfc.vid.2=0x2e8a +challenger_2040_nfc.pid.2=0x5036 +challenger_2040_nfc.vid.3=0x2e8a +challenger_2040_nfc.pid.3=0x5136 +challenger_2040_nfc.vid.4=0x2e8a +challenger_2040_nfc.pid.4=0x9036 +challenger_2040_nfc.vid.5=0x2e8a +challenger_2040_nfc.pid.5=0x9136 +challenger_2040_nfc.vid.6=0x2e8a +challenger_2040_nfc.pid.6=0xd036 +challenger_2040_nfc.vid.7=0x2e8a +challenger_2040_nfc.pid.7=0xd136 +challenger_2040_nfc.build.usbpid=-DSERIALUSB_PID=0x1036 +challenger_2040_nfc.build.usbpwr=-DUSBD_MAX_POWER_MA=250 +challenger_2040_nfc.build.board=CHALLENGER_NB_2040_NFC_RP2040 +challenger_2040_nfc.build.mcu=cortex-m0plus +challenger_2040_nfc.build.variant=challenger_2040_nfc +challenger_2040_nfc.upload.tool=uf2conv +challenger_2040_nfc.upload.maximum_size=8388608 +challenger_2040_nfc.upload.maximum_data_size=262144 +challenger_2040_nfc.upload.wait_for_upload_port=true +challenger_2040_nfc.upload.erase_cmd= +challenger_2040_nfc.serial.disableDTR=false +challenger_2040_nfc.serial.disableRTS=false +challenger_2040_nfc.build.f_cpu=125000000 +challenger_2040_nfc.build.led= +challenger_2040_nfc.build.core=rp2040 +challenger_2040_nfc.build.ldscript=memmap_default.ld +challenger_2040_nfc.build.ram_length=256k +challenger_2040_nfc.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_nfc.build.vid=0x2e8a +challenger_2040_nfc.build.pid=0x1036 +challenger_2040_nfc.build.usb_manufacturer="iLabs" +challenger_2040_nfc.build.usb_product="Challenger 2040 NFC" +challenger_2040_nfc.menu.flash.8388608_0=8MB (no FS) +challenger_2040_nfc.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_nfc.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_nfc.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_nfc.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_nfc.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_nfc.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_nfc.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_nfc.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_nfc.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_nfc.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_nfc.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_nfc.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_nfc.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_nfc.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_nfc.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_nfc.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_nfc.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_nfc.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_nfc.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_nfc.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_nfc.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_nfc.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_nfc.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_nfc.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_nfc.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_nfc.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_nfc.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_nfc.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_nfc.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_nfc.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_nfc.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_nfc.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_nfc.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_nfc.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_nfc.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_nfc.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_nfc.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_nfc.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_nfc.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_nfc.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_nfc.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_nfc.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_nfc.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_nfc.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_nfc.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_nfc.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_nfc.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_nfc.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_nfc.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_nfc.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_nfc.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_nfc.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_nfc.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_nfc.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_nfc.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_nfc.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_nfc.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_nfc.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_nfc.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_nfc.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_nfc.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_nfc.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_nfc.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_nfc.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_nfc.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_nfc.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_nfc.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_nfc.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_nfc.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_nfc.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_nfc.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_nfc.menu.freq.133=133 MHz +challenger_2040_nfc.menu.freq.133.build.f_cpu=133000000L +challenger_2040_nfc.menu.freq.50=50 MHz +challenger_2040_nfc.menu.freq.50.build.f_cpu=50000000L +challenger_2040_nfc.menu.freq.100=100 MHz +challenger_2040_nfc.menu.freq.100.build.f_cpu=100000000L +challenger_2040_nfc.menu.freq.120=120 MHz +challenger_2040_nfc.menu.freq.120.build.f_cpu=120000000L +challenger_2040_nfc.menu.freq.125=125 MHz +challenger_2040_nfc.menu.freq.125.build.f_cpu=125000000L +challenger_2040_nfc.menu.freq.150=150 MHz (Overclock) +challenger_2040_nfc.menu.freq.150.build.f_cpu=150000000L +challenger_2040_nfc.menu.freq.175=175 MHz (Overclock) +challenger_2040_nfc.menu.freq.175.build.f_cpu=175000000L +challenger_2040_nfc.menu.freq.200=200 MHz (Overclock) +challenger_2040_nfc.menu.freq.200.build.f_cpu=200000000L +challenger_2040_nfc.menu.freq.225=225 MHz (Overclock) +challenger_2040_nfc.menu.freq.225.build.f_cpu=225000000L +challenger_2040_nfc.menu.freq.240=240 MHz (Overclock) +challenger_2040_nfc.menu.freq.240.build.f_cpu=240000000L +challenger_2040_nfc.menu.freq.250=250 MHz (Overclock) +challenger_2040_nfc.menu.freq.250.build.f_cpu=250000000L +challenger_2040_nfc.menu.freq.275=275 MHz (Overclock) +challenger_2040_nfc.menu.freq.275.build.f_cpu=275000000L +challenger_2040_nfc.menu.freq.300=300 MHz (Overclock) +challenger_2040_nfc.menu.freq.300.build.f_cpu=300000000L +challenger_2040_nfc.menu.opt.Small=Small (-Os) (standard) +challenger_2040_nfc.menu.opt.Small.build.flags.optimize=-Os +challenger_2040_nfc.menu.opt.Optimize=Optimize (-O) +challenger_2040_nfc.menu.opt.Optimize.build.flags.optimize=-O +challenger_2040_nfc.menu.opt.Optimize2=Optimize More (-O2) +challenger_2040_nfc.menu.opt.Optimize2.build.flags.optimize=-O2 +challenger_2040_nfc.menu.opt.Optimize3=Optimize Even More (-O3) +challenger_2040_nfc.menu.opt.Optimize3.build.flags.optimize=-O3 +challenger_2040_nfc.menu.opt.Fast=Fast (-Ofast) (maybe slower) +challenger_2040_nfc.menu.opt.Fast.build.flags.optimize=-Ofast +challenger_2040_nfc.menu.opt.Debug=Debug (-Og) +challenger_2040_nfc.menu.opt.Debug.build.flags.optimize=-Og +challenger_2040_nfc.menu.rtti.Disabled=Disabled +challenger_2040_nfc.menu.rtti.Disabled.build.flags.rtti=-fno-rtti +challenger_2040_nfc.menu.rtti.Enabled=Enabled +challenger_2040_nfc.menu.rtti.Enabled.build.flags.rtti= +challenger_2040_nfc.menu.stackprotect.Disabled=Disabled +challenger_2040_nfc.menu.stackprotect.Disabled.build.flags.stackprotect= +challenger_2040_nfc.menu.stackprotect.Enabled=Enabled +challenger_2040_nfc.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector +challenger_2040_nfc.menu.exceptions.Disabled=Disabled +challenger_2040_nfc.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions +challenger_2040_nfc.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ +challenger_2040_nfc.menu.exceptions.Enabled=Enabled +challenger_2040_nfc.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions +challenger_2040_nfc.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc +challenger_2040_nfc.menu.dbgport.Disabled=Disabled +challenger_2040_nfc.menu.dbgport.Disabled.build.debug_port= +challenger_2040_nfc.menu.dbgport.Serial=Serial +challenger_2040_nfc.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_nfc.menu.dbgport.Serial1=Serial1 +challenger_2040_nfc.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_nfc.menu.dbgport.Serial2=Serial2 +challenger_2040_nfc.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_nfc.menu.dbglvl.None=None +challenger_2040_nfc.menu.dbglvl.None.build.debug_level= +challenger_2040_nfc.menu.dbglvl.Core=Core +challenger_2040_nfc.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_nfc.menu.dbglvl.SPI=SPI +challenger_2040_nfc.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_nfc.menu.dbglvl.Wire=Wire +challenger_2040_nfc.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_nfc.menu.dbglvl.All=All +challenger_2040_nfc.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_nfc.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_nfc.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_nfc.menu.usbstack.picosdk=Pico SDK +challenger_2040_nfc.menu.usbstack.picosdk.build.usbstack_flags= +challenger_2040_nfc.menu.usbstack.tinyusb=Adafruit TinyUSB +challenger_2040_nfc.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" +challenger_2040_nfc.menu.ipstack.ipv4only=IPv4 Only +challenger_2040_nfc.menu.ipstack.ipv4only.build.libpico=libpico.a +challenger_2040_nfc.menu.ipstack.ipv4only.build.lwipdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 +challenger_2040_nfc.menu.ipstack.ipv4ipv6=IPv4 and IPv6 +challenger_2040_nfc.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6.a +challenger_2040_nfc.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 + +# ----------------------------------- +# iLabs Challenger 2040 NFC (Picoprobe) +# ----------------------------------- +challenger_2040_nfcpicoprobe.name=iLabs Challenger 2040 NFC (Picoprobe) +challenger_2040_nfcpicoprobe.vid.0=0x2e8a +challenger_2040_nfcpicoprobe.pid.0=0x0004 +challenger_2040_nfcpicoprobe.vid.1=0x2e8a +challenger_2040_nfcpicoprobe.pid.1=0x0104 +challenger_2040_nfcpicoprobe.vid.2=0x2e8a +challenger_2040_nfcpicoprobe.pid.2=0x4004 +challenger_2040_nfcpicoprobe.vid.3=0x2e8a +challenger_2040_nfcpicoprobe.pid.3=0x4104 +challenger_2040_nfcpicoprobe.vid.4=0x2e8a +challenger_2040_nfcpicoprobe.pid.4=0x8004 +challenger_2040_nfcpicoprobe.vid.5=0x2e8a +challenger_2040_nfcpicoprobe.pid.5=0x8104 +challenger_2040_nfcpicoprobe.vid.6=0x2e8a +challenger_2040_nfcpicoprobe.pid.6=0xc004 +challenger_2040_nfcpicoprobe.vid.7=0x2e8a +challenger_2040_nfcpicoprobe.pid.7=0xc104 +challenger_2040_nfcpicoprobe.build.usbpid=-DSERIALUSB_PID=0x1036 +challenger_2040_nfcpicoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=250 +challenger_2040_nfcpicoprobe.build.board=CHALLENGER_NB_2040_NFC_RP2040 +challenger_2040_nfcpicoprobe.build.mcu=cortex-m0plus +challenger_2040_nfcpicoprobe.build.variant=challenger_2040_nfc +challenger_2040_nfcpicoprobe.upload.tool=picoprobe +challenger_2040_nfcpicoprobe.upload.maximum_size=8388608 +challenger_2040_nfcpicoprobe.upload.maximum_data_size=262144 +challenger_2040_nfcpicoprobe.upload.wait_for_upload_port=true +challenger_2040_nfcpicoprobe.upload.erase_cmd= +challenger_2040_nfcpicoprobe.serial.disableDTR=false +challenger_2040_nfcpicoprobe.serial.disableRTS=false +challenger_2040_nfcpicoprobe.build.f_cpu=125000000 +challenger_2040_nfcpicoprobe.build.led= +challenger_2040_nfcpicoprobe.build.core=rp2040 +challenger_2040_nfcpicoprobe.build.ldscript=memmap_default.ld +challenger_2040_nfcpicoprobe.build.ram_length=256k +challenger_2040_nfcpicoprobe.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_nfcpicoprobe.build.vid=0x2e8a +challenger_2040_nfcpicoprobe.build.pid=0x1036 +challenger_2040_nfcpicoprobe.build.usb_manufacturer="iLabs" +challenger_2040_nfcpicoprobe.build.usb_product="Challenger 2040 NFC (Picoprobe)" +challenger_2040_nfcpicoprobe.menu.flash.8388608_0=8MB (no FS) +challenger_2040_nfcpicoprobe.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_nfcpicoprobe.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_nfcpicoprobe.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_nfcpicoprobe.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_nfcpicoprobe.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_nfcpicoprobe.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_nfcpicoprobe.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_nfcpicoprobe.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_nfcpicoprobe.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_nfcpicoprobe.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_nfcpicoprobe.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_nfcpicoprobe.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_nfcpicoprobe.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_nfcpicoprobe.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_nfcpicoprobe.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_nfcpicoprobe.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_nfcpicoprobe.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_nfcpicoprobe.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_nfcpicoprobe.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_nfcpicoprobe.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_nfcpicoprobe.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_nfcpicoprobe.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_nfcpicoprobe.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_nfcpicoprobe.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_nfcpicoprobe.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_nfcpicoprobe.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_nfcpicoprobe.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_nfcpicoprobe.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_nfcpicoprobe.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_nfcpicoprobe.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_nfcpicoprobe.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_nfcpicoprobe.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_nfcpicoprobe.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_nfcpicoprobe.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_nfcpicoprobe.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_nfcpicoprobe.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_nfcpicoprobe.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_nfcpicoprobe.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_nfcpicoprobe.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_nfcpicoprobe.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_nfcpicoprobe.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_nfcpicoprobe.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_nfcpicoprobe.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_nfcpicoprobe.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_nfcpicoprobe.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_nfcpicoprobe.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_nfcpicoprobe.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_nfcpicoprobe.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_nfcpicoprobe.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_nfcpicoprobe.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_nfcpicoprobe.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_nfcpicoprobe.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_nfcpicoprobe.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_nfcpicoprobe.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_nfcpicoprobe.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_nfcpicoprobe.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_nfcpicoprobe.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_nfcpicoprobe.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_nfcpicoprobe.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_nfcpicoprobe.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_nfcpicoprobe.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_nfcpicoprobe.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_nfcpicoprobe.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_nfcpicoprobe.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_nfcpicoprobe.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_nfcpicoprobe.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_nfcpicoprobe.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_nfcpicoprobe.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_nfcpicoprobe.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_nfcpicoprobe.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_nfcpicoprobe.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_nfcpicoprobe.menu.freq.133=133 MHz +challenger_2040_nfcpicoprobe.menu.freq.133.build.f_cpu=133000000L +challenger_2040_nfcpicoprobe.menu.freq.50=50 MHz +challenger_2040_nfcpicoprobe.menu.freq.50.build.f_cpu=50000000L +challenger_2040_nfcpicoprobe.menu.freq.100=100 MHz +challenger_2040_nfcpicoprobe.menu.freq.100.build.f_cpu=100000000L +challenger_2040_nfcpicoprobe.menu.freq.120=120 MHz +challenger_2040_nfcpicoprobe.menu.freq.120.build.f_cpu=120000000L +challenger_2040_nfcpicoprobe.menu.freq.125=125 MHz +challenger_2040_nfcpicoprobe.menu.freq.125.build.f_cpu=125000000L +challenger_2040_nfcpicoprobe.menu.freq.150=150 MHz (Overclock) +challenger_2040_nfcpicoprobe.menu.freq.150.build.f_cpu=150000000L +challenger_2040_nfcpicoprobe.menu.freq.175=175 MHz (Overclock) +challenger_2040_nfcpicoprobe.menu.freq.175.build.f_cpu=175000000L +challenger_2040_nfcpicoprobe.menu.freq.200=200 MHz (Overclock) +challenger_2040_nfcpicoprobe.menu.freq.200.build.f_cpu=200000000L +challenger_2040_nfcpicoprobe.menu.freq.225=225 MHz (Overclock) +challenger_2040_nfcpicoprobe.menu.freq.225.build.f_cpu=225000000L +challenger_2040_nfcpicoprobe.menu.freq.240=240 MHz (Overclock) +challenger_2040_nfcpicoprobe.menu.freq.240.build.f_cpu=240000000L +challenger_2040_nfcpicoprobe.menu.freq.250=250 MHz (Overclock) +challenger_2040_nfcpicoprobe.menu.freq.250.build.f_cpu=250000000L +challenger_2040_nfcpicoprobe.menu.freq.275=275 MHz (Overclock) +challenger_2040_nfcpicoprobe.menu.freq.275.build.f_cpu=275000000L +challenger_2040_nfcpicoprobe.menu.freq.300=300 MHz (Overclock) +challenger_2040_nfcpicoprobe.menu.freq.300.build.f_cpu=300000000L +challenger_2040_nfcpicoprobe.menu.opt.Small=Small (-Os) (standard) +challenger_2040_nfcpicoprobe.menu.opt.Small.build.flags.optimize=-Os +challenger_2040_nfcpicoprobe.menu.opt.Optimize=Optimize (-O) +challenger_2040_nfcpicoprobe.menu.opt.Optimize.build.flags.optimize=-O +challenger_2040_nfcpicoprobe.menu.opt.Optimize2=Optimize More (-O2) +challenger_2040_nfcpicoprobe.menu.opt.Optimize2.build.flags.optimize=-O2 +challenger_2040_nfcpicoprobe.menu.opt.Optimize3=Optimize Even More (-O3) +challenger_2040_nfcpicoprobe.menu.opt.Optimize3.build.flags.optimize=-O3 +challenger_2040_nfcpicoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower) +challenger_2040_nfcpicoprobe.menu.opt.Fast.build.flags.optimize=-Ofast +challenger_2040_nfcpicoprobe.menu.opt.Debug=Debug (-Og) +challenger_2040_nfcpicoprobe.menu.opt.Debug.build.flags.optimize=-Og +challenger_2040_nfcpicoprobe.menu.rtti.Disabled=Disabled +challenger_2040_nfcpicoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti +challenger_2040_nfcpicoprobe.menu.rtti.Enabled=Enabled +challenger_2040_nfcpicoprobe.menu.rtti.Enabled.build.flags.rtti= +challenger_2040_nfcpicoprobe.menu.stackprotect.Disabled=Disabled +challenger_2040_nfcpicoprobe.menu.stackprotect.Disabled.build.flags.stackprotect= +challenger_2040_nfcpicoprobe.menu.stackprotect.Enabled=Enabled +challenger_2040_nfcpicoprobe.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector +challenger_2040_nfcpicoprobe.menu.exceptions.Disabled=Disabled +challenger_2040_nfcpicoprobe.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions +challenger_2040_nfcpicoprobe.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ +challenger_2040_nfcpicoprobe.menu.exceptions.Enabled=Enabled +challenger_2040_nfcpicoprobe.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions +challenger_2040_nfcpicoprobe.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc +challenger_2040_nfcpicoprobe.menu.dbgport.Disabled=Disabled +challenger_2040_nfcpicoprobe.menu.dbgport.Disabled.build.debug_port= +challenger_2040_nfcpicoprobe.menu.dbgport.Serial=Serial +challenger_2040_nfcpicoprobe.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_nfcpicoprobe.menu.dbgport.Serial1=Serial1 +challenger_2040_nfcpicoprobe.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_nfcpicoprobe.menu.dbgport.Serial2=Serial2 +challenger_2040_nfcpicoprobe.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_nfcpicoprobe.menu.dbglvl.None=None +challenger_2040_nfcpicoprobe.menu.dbglvl.None.build.debug_level= +challenger_2040_nfcpicoprobe.menu.dbglvl.Core=Core +challenger_2040_nfcpicoprobe.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_nfcpicoprobe.menu.dbglvl.SPI=SPI +challenger_2040_nfcpicoprobe.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_nfcpicoprobe.menu.dbglvl.Wire=Wire +challenger_2040_nfcpicoprobe.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_nfcpicoprobe.menu.dbglvl.All=All +challenger_2040_nfcpicoprobe.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_nfcpicoprobe.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_nfcpicoprobe.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_nfcpicoprobe.menu.usbstack.picosdk=Pico SDK +challenger_2040_nfcpicoprobe.menu.usbstack.picosdk.build.usbstack_flags= +challenger_2040_nfcpicoprobe.menu.usbstack.tinyusb=Adafruit TinyUSB +challenger_2040_nfcpicoprobe.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" +challenger_2040_nfcpicoprobe.menu.ipstack.ipv4only=IPv4 Only +challenger_2040_nfcpicoprobe.menu.ipstack.ipv4only.build.libpico=libpico.a +challenger_2040_nfcpicoprobe.menu.ipstack.ipv4only.build.lwipdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 +challenger_2040_nfcpicoprobe.menu.ipstack.ipv4ipv6=IPv4 and IPv6 +challenger_2040_nfcpicoprobe.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6.a +challenger_2040_nfcpicoprobe.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 + +# ----------------------------------- +# iLabs Challenger 2040 NFC (pico-debug) +# ----------------------------------- +challenger_2040_nfcpicodebug.name=iLabs Challenger 2040 NFC (pico-debug) +challenger_2040_nfcpicodebug.vid.0=0x1209 +challenger_2040_nfcpicodebug.pid.0=0x2488 +challenger_2040_nfcpicodebug.vid.1=0x1209 +challenger_2040_nfcpicodebug.pid.1=0x2588 +challenger_2040_nfcpicodebug.vid.2=0x1209 +challenger_2040_nfcpicodebug.pid.2=0x6488 +challenger_2040_nfcpicodebug.vid.3=0x1209 +challenger_2040_nfcpicodebug.pid.3=0x6588 +challenger_2040_nfcpicodebug.vid.4=0x1209 +challenger_2040_nfcpicodebug.pid.4=0xa488 +challenger_2040_nfcpicodebug.vid.5=0x1209 +challenger_2040_nfcpicodebug.pid.5=0xa588 +challenger_2040_nfcpicodebug.vid.6=0x1209 +challenger_2040_nfcpicodebug.pid.6=0xe488 +challenger_2040_nfcpicodebug.vid.7=0x1209 +challenger_2040_nfcpicodebug.pid.7=0xe588 +challenger_2040_nfcpicodebug.build.usbpid=-DSERIALUSB_PID=0x1036 +challenger_2040_nfcpicodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=250 +challenger_2040_nfcpicodebug.build.board=CHALLENGER_NB_2040_NFC_RP2040 +challenger_2040_nfcpicodebug.build.mcu=cortex-m0plus +challenger_2040_nfcpicodebug.build.variant=challenger_2040_nfc +challenger_2040_nfcpicodebug.upload.tool=picodebug +challenger_2040_nfcpicodebug.upload.maximum_size=8388608 +challenger_2040_nfcpicodebug.upload.maximum_data_size=245760 +challenger_2040_nfcpicodebug.upload.wait_for_upload_port=true +challenger_2040_nfcpicodebug.upload.erase_cmd= +challenger_2040_nfcpicodebug.serial.disableDTR=false +challenger_2040_nfcpicodebug.serial.disableRTS=false +challenger_2040_nfcpicodebug.build.f_cpu=125000000 +challenger_2040_nfcpicodebug.build.led= +challenger_2040_nfcpicodebug.build.core=rp2040 +challenger_2040_nfcpicodebug.build.ldscript=memmap_default.ld +challenger_2040_nfcpicodebug.build.ram_length=240k +challenger_2040_nfcpicodebug.build.boot2=boot2_w25q080_2_padded_checksum +challenger_2040_nfcpicodebug.build.vid=0x2e8a +challenger_2040_nfcpicodebug.build.pid=0x1036 +challenger_2040_nfcpicodebug.build.usb_manufacturer="iLabs" +challenger_2040_nfcpicodebug.build.usb_product="Challenger 2040 NFC (pico-debug)" +challenger_2040_nfcpicodebug.menu.flash.8388608_0=8MB (no FS) +challenger_2040_nfcpicodebug.menu.flash.8388608_0.upload.maximum_size=8384512 +challenger_2040_nfcpicodebug.menu.flash.8388608_0.build.flash_length=8384512 +challenger_2040_nfcpicodebug.menu.flash.8388608_0.build.eeprom_start=276819968 +challenger_2040_nfcpicodebug.menu.flash.8388608_0.build.fs_start=276819968 +challenger_2040_nfcpicodebug.menu.flash.8388608_0.build.fs_end=276819968 +challenger_2040_nfcpicodebug.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB) +challenger_2040_nfcpicodebug.menu.flash.8388608_65536.upload.maximum_size=8318976 +challenger_2040_nfcpicodebug.menu.flash.8388608_65536.build.flash_length=8318976 +challenger_2040_nfcpicodebug.menu.flash.8388608_65536.build.eeprom_start=276819968 +challenger_2040_nfcpicodebug.menu.flash.8388608_65536.build.fs_start=276754432 +challenger_2040_nfcpicodebug.menu.flash.8388608_65536.build.fs_end=276819968 +challenger_2040_nfcpicodebug.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB) +challenger_2040_nfcpicodebug.menu.flash.8388608_131072.upload.maximum_size=8253440 +challenger_2040_nfcpicodebug.menu.flash.8388608_131072.build.flash_length=8253440 +challenger_2040_nfcpicodebug.menu.flash.8388608_131072.build.eeprom_start=276819968 +challenger_2040_nfcpicodebug.menu.flash.8388608_131072.build.fs_start=276688896 +challenger_2040_nfcpicodebug.menu.flash.8388608_131072.build.fs_end=276819968 +challenger_2040_nfcpicodebug.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB) +challenger_2040_nfcpicodebug.menu.flash.8388608_262144.upload.maximum_size=8122368 +challenger_2040_nfcpicodebug.menu.flash.8388608_262144.build.flash_length=8122368 +challenger_2040_nfcpicodebug.menu.flash.8388608_262144.build.eeprom_start=276819968 +challenger_2040_nfcpicodebug.menu.flash.8388608_262144.build.fs_start=276557824 +challenger_2040_nfcpicodebug.menu.flash.8388608_262144.build.fs_end=276819968 +challenger_2040_nfcpicodebug.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB) +challenger_2040_nfcpicodebug.menu.flash.8388608_524288.upload.maximum_size=7860224 +challenger_2040_nfcpicodebug.menu.flash.8388608_524288.build.flash_length=7860224 +challenger_2040_nfcpicodebug.menu.flash.8388608_524288.build.eeprom_start=276819968 +challenger_2040_nfcpicodebug.menu.flash.8388608_524288.build.fs_start=276295680 +challenger_2040_nfcpicodebug.menu.flash.8388608_524288.build.fs_end=276819968 +challenger_2040_nfcpicodebug.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB) +challenger_2040_nfcpicodebug.menu.flash.8388608_1048576.upload.maximum_size=7335936 +challenger_2040_nfcpicodebug.menu.flash.8388608_1048576.build.flash_length=7335936 +challenger_2040_nfcpicodebug.menu.flash.8388608_1048576.build.eeprom_start=276819968 +challenger_2040_nfcpicodebug.menu.flash.8388608_1048576.build.fs_start=275771392 +challenger_2040_nfcpicodebug.menu.flash.8388608_1048576.build.fs_end=276819968 +challenger_2040_nfcpicodebug.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB) +challenger_2040_nfcpicodebug.menu.flash.8388608_2097152.upload.maximum_size=6287360 +challenger_2040_nfcpicodebug.menu.flash.8388608_2097152.build.flash_length=6287360 +challenger_2040_nfcpicodebug.menu.flash.8388608_2097152.build.eeprom_start=276819968 +challenger_2040_nfcpicodebug.menu.flash.8388608_2097152.build.fs_start=274722816 +challenger_2040_nfcpicodebug.menu.flash.8388608_2097152.build.fs_end=276819968 +challenger_2040_nfcpicodebug.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB) +challenger_2040_nfcpicodebug.menu.flash.8388608_3145728.upload.maximum_size=5238784 +challenger_2040_nfcpicodebug.menu.flash.8388608_3145728.build.flash_length=5238784 +challenger_2040_nfcpicodebug.menu.flash.8388608_3145728.build.eeprom_start=276819968 +challenger_2040_nfcpicodebug.menu.flash.8388608_3145728.build.fs_start=273674240 +challenger_2040_nfcpicodebug.menu.flash.8388608_3145728.build.fs_end=276819968 +challenger_2040_nfcpicodebug.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB) +challenger_2040_nfcpicodebug.menu.flash.8388608_4194304.upload.maximum_size=4190208 +challenger_2040_nfcpicodebug.menu.flash.8388608_4194304.build.flash_length=4190208 +challenger_2040_nfcpicodebug.menu.flash.8388608_4194304.build.eeprom_start=276819968 +challenger_2040_nfcpicodebug.menu.flash.8388608_4194304.build.fs_start=272625664 +challenger_2040_nfcpicodebug.menu.flash.8388608_4194304.build.fs_end=276819968 +challenger_2040_nfcpicodebug.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB) +challenger_2040_nfcpicodebug.menu.flash.8388608_5242880.upload.maximum_size=3141632 +challenger_2040_nfcpicodebug.menu.flash.8388608_5242880.build.flash_length=3141632 +challenger_2040_nfcpicodebug.menu.flash.8388608_5242880.build.eeprom_start=276819968 +challenger_2040_nfcpicodebug.menu.flash.8388608_5242880.build.fs_start=271577088 +challenger_2040_nfcpicodebug.menu.flash.8388608_5242880.build.fs_end=276819968 +challenger_2040_nfcpicodebug.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB) +challenger_2040_nfcpicodebug.menu.flash.8388608_6291456.upload.maximum_size=2093056 +challenger_2040_nfcpicodebug.menu.flash.8388608_6291456.build.flash_length=2093056 +challenger_2040_nfcpicodebug.menu.flash.8388608_6291456.build.eeprom_start=276819968 +challenger_2040_nfcpicodebug.menu.flash.8388608_6291456.build.fs_start=270528512 +challenger_2040_nfcpicodebug.menu.flash.8388608_6291456.build.fs_end=276819968 +challenger_2040_nfcpicodebug.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB) +challenger_2040_nfcpicodebug.menu.flash.8388608_7340032.upload.maximum_size=1044480 +challenger_2040_nfcpicodebug.menu.flash.8388608_7340032.build.flash_length=1044480 +challenger_2040_nfcpicodebug.menu.flash.8388608_7340032.build.eeprom_start=276819968 +challenger_2040_nfcpicodebug.menu.flash.8388608_7340032.build.fs_start=269479936 +challenger_2040_nfcpicodebug.menu.flash.8388608_7340032.build.fs_end=276819968 +challenger_2040_nfcpicodebug.menu.freq.133=133 MHz +challenger_2040_nfcpicodebug.menu.freq.133.build.f_cpu=133000000L +challenger_2040_nfcpicodebug.menu.freq.50=50 MHz +challenger_2040_nfcpicodebug.menu.freq.50.build.f_cpu=50000000L +challenger_2040_nfcpicodebug.menu.freq.100=100 MHz +challenger_2040_nfcpicodebug.menu.freq.100.build.f_cpu=100000000L +challenger_2040_nfcpicodebug.menu.freq.120=120 MHz +challenger_2040_nfcpicodebug.menu.freq.120.build.f_cpu=120000000L +challenger_2040_nfcpicodebug.menu.freq.125=125 MHz +challenger_2040_nfcpicodebug.menu.freq.125.build.f_cpu=125000000L +challenger_2040_nfcpicodebug.menu.freq.150=150 MHz (Overclock) +challenger_2040_nfcpicodebug.menu.freq.150.build.f_cpu=150000000L +challenger_2040_nfcpicodebug.menu.freq.175=175 MHz (Overclock) +challenger_2040_nfcpicodebug.menu.freq.175.build.f_cpu=175000000L +challenger_2040_nfcpicodebug.menu.freq.200=200 MHz (Overclock) +challenger_2040_nfcpicodebug.menu.freq.200.build.f_cpu=200000000L +challenger_2040_nfcpicodebug.menu.freq.225=225 MHz (Overclock) +challenger_2040_nfcpicodebug.menu.freq.225.build.f_cpu=225000000L +challenger_2040_nfcpicodebug.menu.freq.240=240 MHz (Overclock) +challenger_2040_nfcpicodebug.menu.freq.240.build.f_cpu=240000000L +challenger_2040_nfcpicodebug.menu.freq.250=250 MHz (Overclock) +challenger_2040_nfcpicodebug.menu.freq.250.build.f_cpu=250000000L +challenger_2040_nfcpicodebug.menu.freq.275=275 MHz (Overclock) +challenger_2040_nfcpicodebug.menu.freq.275.build.f_cpu=275000000L +challenger_2040_nfcpicodebug.menu.freq.300=300 MHz (Overclock) +challenger_2040_nfcpicodebug.menu.freq.300.build.f_cpu=300000000L +challenger_2040_nfcpicodebug.menu.opt.Small=Small (-Os) (standard) +challenger_2040_nfcpicodebug.menu.opt.Small.build.flags.optimize=-Os +challenger_2040_nfcpicodebug.menu.opt.Optimize=Optimize (-O) +challenger_2040_nfcpicodebug.menu.opt.Optimize.build.flags.optimize=-O +challenger_2040_nfcpicodebug.menu.opt.Optimize2=Optimize More (-O2) +challenger_2040_nfcpicodebug.menu.opt.Optimize2.build.flags.optimize=-O2 +challenger_2040_nfcpicodebug.menu.opt.Optimize3=Optimize Even More (-O3) +challenger_2040_nfcpicodebug.menu.opt.Optimize3.build.flags.optimize=-O3 +challenger_2040_nfcpicodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower) +challenger_2040_nfcpicodebug.menu.opt.Fast.build.flags.optimize=-Ofast +challenger_2040_nfcpicodebug.menu.opt.Debug=Debug (-Og) +challenger_2040_nfcpicodebug.menu.opt.Debug.build.flags.optimize=-Og +challenger_2040_nfcpicodebug.menu.rtti.Disabled=Disabled +challenger_2040_nfcpicodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti +challenger_2040_nfcpicodebug.menu.rtti.Enabled=Enabled +challenger_2040_nfcpicodebug.menu.rtti.Enabled.build.flags.rtti= +challenger_2040_nfcpicodebug.menu.stackprotect.Disabled=Disabled +challenger_2040_nfcpicodebug.menu.stackprotect.Disabled.build.flags.stackprotect= +challenger_2040_nfcpicodebug.menu.stackprotect.Enabled=Enabled +challenger_2040_nfcpicodebug.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector +challenger_2040_nfcpicodebug.menu.exceptions.Disabled=Disabled +challenger_2040_nfcpicodebug.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions +challenger_2040_nfcpicodebug.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ +challenger_2040_nfcpicodebug.menu.exceptions.Enabled=Enabled +challenger_2040_nfcpicodebug.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions +challenger_2040_nfcpicodebug.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc +challenger_2040_nfcpicodebug.menu.dbgport.Disabled=Disabled +challenger_2040_nfcpicodebug.menu.dbgport.Disabled.build.debug_port= +challenger_2040_nfcpicodebug.menu.dbgport.Serial=Serial +challenger_2040_nfcpicodebug.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +challenger_2040_nfcpicodebug.menu.dbgport.Serial1=Serial1 +challenger_2040_nfcpicodebug.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +challenger_2040_nfcpicodebug.menu.dbgport.Serial2=Serial2 +challenger_2040_nfcpicodebug.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +challenger_2040_nfcpicodebug.menu.dbglvl.None=None +challenger_2040_nfcpicodebug.menu.dbglvl.None.build.debug_level= +challenger_2040_nfcpicodebug.menu.dbglvl.Core=Core +challenger_2040_nfcpicodebug.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +challenger_2040_nfcpicodebug.menu.dbglvl.SPI=SPI +challenger_2040_nfcpicodebug.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +challenger_2040_nfcpicodebug.menu.dbglvl.Wire=Wire +challenger_2040_nfcpicodebug.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +challenger_2040_nfcpicodebug.menu.dbglvl.All=All +challenger_2040_nfcpicodebug.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE +challenger_2040_nfcpicodebug.menu.dbglvl.NDEBUG=NDEBUG +challenger_2040_nfcpicodebug.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +challenger_2040_nfcpicodebug.menu.usbstack.nousb=No USB +challenger_2040_nfcpicodebug.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico" +challenger_2040_nfcpicodebug.menu.ipstack.ipv4only=IPv4 Only +challenger_2040_nfcpicodebug.menu.ipstack.ipv4only.build.libpico=libpico.a +challenger_2040_nfcpicodebug.menu.ipstack.ipv4only.build.lwipdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 +challenger_2040_nfcpicodebug.menu.ipstack.ipv4ipv6=IPv4 and IPv6 +challenger_2040_nfcpicodebug.menu.ipstack.ipv4ipv6.build.libpico=libpico-ipv6.a +challenger_2040_nfcpicodebug.menu.ipstack.ipv4ipv6.build.lwipdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 + # ----------------------------------- # iLabs RPICO32 # ----------------------------------- diff --git a/package/package_pico_index.template.json b/package/package_pico_index.template.json index a11b1ebd..d19e495b 100644 --- a/package/package_pico_index.template.json +++ b/package/package_pico_index.template.json @@ -86,6 +86,9 @@ { "name": "iLabs Challenger 2040 SD/RTC" }, + { + "name": "iLabs Challenger 2040 NFC" + }, { "name": "iLabs RPICO32" }, diff --git a/tools/json/challenger_2040_nfc.json b/tools/json/challenger_2040_nfc.json new file mode 100644 index 00000000..308f4732 --- /dev/null +++ b/tools/json/challenger_2040_nfc.json @@ -0,0 +1,54 @@ +{ + "build": { + "arduino": { + "earlephilhower": { + "boot2_source": "boot2_w25q080_2_padded_checksum.S", + "usb_vid": "0x2E8A", + "usb_pid": "0x1036" + } + }, + "core": "earlephilhower", + "cpu": "cortex-m0plus", + "extra_flags": "-D ARDUINO_CHALLENGER_NB_2040_NFC_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250", + "f_cpu": "133000000L", + "hwids": [ + [ + "0x2E8A", + "0x00C0" + ], + [ + "0x2E8A", + "0x1036" + ] + ], + "mcu": "rp2040", + "variant": "challenger_2040_nfc" + }, + "debug": { + "jlink_device": "RP2040_M0_0", + "openocd_target": "rp2040.cfg", + "svd_path": "rp2040.svd" + }, + "frameworks": [ + "arduino" + ], + "name": "Challenger 2040 NFC", + "upload": { + "maximum_ram_size": 270336, + "maximum_size": 8388608, + "require_upload_port": true, + "native_usb": true, + "use_1200bps_touch": true, + "wait_for_upload_port": false, + "protocol": "picotool", + "protocols": [ + "cmsis-dap", + "jlink", + "raspberrypi-swd", + "picotool", + "picoprobe" + ] + }, + "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", + "vendor": "iLabs" +} diff --git a/tools/makeboards.py b/tools/makeboards.py index c0d4a767..1f7def88 100755 --- a/tools/makeboards.py +++ b/tools/makeboards.py @@ -326,6 +326,7 @@ def MakeBoardJSON(name, vendor_name, product_name, vid, pid, pwr, boarddefine, f MakeBoard("challenger_2040_wifi_ble", "iLabs", "Challenger 2040 WiFi/BLE", "0x2e8a", "0x102C", 500, "CHALLENGER_2040_WIFI_BLE_RP2040", 8, "boot2_w25q080_2_padded_checksum", ["WIFIESPAT2"]) MakeBoard("challenger_nb_2040_wifi", "iLabs", "Challenger NB 2040 WiFi", "0x2e8a", "0x100d", 500, "CHALLENGER_NB_2040_WIFI_RP2040", 8, "boot2_w25q080_2_padded_checksum", ["WIFIESPAT2"]) MakeBoard("challenger_2040_sdrtc", "iLabs", "Challenger 2040 SD/RTC", "0x2e8a", "0x102d", 250, "CHALLENGER_NB_2040_SDRTC_RP2040", 8, "boot2_w25q080_2_padded_checksum") +MakeBoard("challenger_2040_nfc", "iLabs", "Challenger 2040 NFC", "0x2e8a", "0x1036", 250, "CHALLENGER_NB_2040_NFC_RP2040", 8, "boot2_w25q080_2_padded_checksum") MakeBoard("ilabs_rpico32", "iLabs", "RPICO32", "0x2e8a", "0x1010", 250, "ILABS_2040_RPICO32_RP2040", 8, "boot2_w25q080_2_padded_checksum") # Melopera diff --git a/variants/challenger_2040_nfc/board_init.cpp b/variants/challenger_2040_nfc/board_init.cpp new file mode 100644 index 00000000..c5b4a184 --- /dev/null +++ b/variants/challenger_2040_nfc/board_init.cpp @@ -0,0 +1,34 @@ +/* + Board init for the Challenger RP2040 NFC + + Copyright (c) 2022 P. Oldberg + + 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 + +/** + * Setup control pins for the NFC chip. + */ +void initVariant() { + // Initialize the interrupt pin to be an input. + // Setting it to an interrupt and connecting a call back is up to the app. + pinMode(PIN_PN7150_IRQ_B, INPUT); + + // Initialize the reset pin to an output and hold the device in reset. + // It is up to the application to release it. + pinMode(PIN_PN7150_RST_B, OUTPUT); + digitalWrite(PIN_PN7150_RST_B, LOW); +} diff --git a/variants/challenger_2040_nfc/pins_arduino.h b/variants/challenger_2040_nfc/pins_arduino.h new file mode 100644 index 00000000..fa59e60c --- /dev/null +++ b/variants/challenger_2040_nfc/pins_arduino.h @@ -0,0 +1,67 @@ +#pragma once + +#define PINS_COUNT (26u) +#define NUM_DIGITAL_PINS (26u) +#define NUM_ANALOG_INPUTS (4u) +#define NUM_ANALOG_OUTPUTS (0u) +#define ADC_RESOLUTION (12u) + +// LEDs +#define PIN_LED (24u) +#define NEOPIXEL (14u) +#define PIN_NEOPIXEL NEOPIXEL + +// Serial +#define PIN_SERIAL1_TX (16u) +#define PIN_SERIAL1_RX (17u) + +// SPI +#define PIN_SPI0_MISO (20u) +#define PIN_SPI0_MOSI (23u) +#define PIN_SPI0_SCK (22u) +#define PIN_SPI0_SS (21u) + +// Wire +#define PIN_WIRE0_SDA (0u) +#define PIN_WIRE0_SCL (1u) + +// Connected to PN7150 NFC controller on I2C channel 2 +#define PIN_WIRE1_SDA (10u) +#define PIN_WIRE1_SCL (11u) +#define PIN_PN7150_IRQ_B (9u) +#define PIN_PN7150_RST_B (12u) +#define PN7150_I2C_ADDR (0x28) + +// Not pinned out +#define PIN_SERIAL2_RX (31u) +#define PIN_SERIAL2_TX (31u) + +#define SERIAL_HOWMANY (1u) +#define SPI_HOWMANY (1u) +#define WIRE_HOWMANY (2u) + +#define LED_BUILTIN PIN_LED + +static const uint8_t D0 = (16u); +static const uint8_t D1 = (17u); +static const uint8_t D2 = (20u); +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 = (4u); +static const uint8_t D10 = (5u); +static const uint8_t D11 = (6u); +static const uint8_t D12 = (7u); +static const uint8_t D13 = (8u); +static const uint8_t D14 = (13u); +static const uint8_t D18 = (24u); + +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 = (19u); +static const uint8_t A5 = (21u);