Unverified Commit 2c293145 authored by Pontus Oldberg's avatar Pontus Oldberg Committed by GitHub

Add support for our new Challenger RP2040 board with LTE modem. (#275)

* Adds support for Challenger RP2040 WiFi boards

* Added Challenger board to makeboards build script

* Adds new challenger board with LTE modem.

* Updated after getting approved PID from Raspberry Pi
parent e196db96
......@@ -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=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
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=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.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=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
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=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.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=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
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=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.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"
......@@ -143,4 +143,5 @@ MakeBoard("adafruit_macropad2040", "Adafruit", "MacroPad RP2040", "0x239a", "0x8
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", "0x100b", "CHALLENGER_2040_LTE_RP2040", 8, "boot2_w25q080_2_padded_checksum")
#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);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment