Unverified Commit 8dabe446 authored by Pontus Oldberg's avatar Pontus Oldberg Committed by GitHub

Add support for Challenger RP2040 LoRa (#494)

parent 8a7977fc
......@@ -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
......
......@@ -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
# -----------------------------------
......
{
"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
{
"build": {
"core": "earlephilhower",
"cpu": "cortex-m0plus",
"extra_flags": "-D ARDUINO_FLYBOARD2040_CORE -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=500",
"f_cpu": "133000000L",
"hwids": [
[
"0x2E8A",
"0x00C0"
]
],
"mcu": "rp2040",
"arduino": {
"earlephilhower": {
"variant": "flyboard2040_core",
"boot2_source": "boot2_generic_03h_4_padded_checksum.S",
"usb_vid": "0x2e8a",
"usb_pid": "0x008a",
"usb_manufacturer": "DeRuiLab",
"usb_product": "FlyBoard2040Core"
}
}
},
"debug": {
"jlink_device": "RP2040_M0_0",
"openocd_target": "rp2040.cfg",
"svd_path": "rp2040.svd"
},
"frameworks": [
"arduino"
],
"name": "FlyBoard2040Core",
"upload": {
"maximum_ram_size": 270336,
"maximum_size": 4194304,
"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": "DeRuiLab"
}
\ No newline at end of file
......@@ -230,6 +230,7 @@ MakeBoard("cytron_maker_nano_rp2040", "Cytron", "Maker Nano RP2040", "0x2e8a", "
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")
......
#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);
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