Unverified Commit 894a82f5 authored by Limor "Ladyada" Fried's avatar Limor "Ladyada" Fried Committed by GitHub

Add Adafruit KB2040 (#390)

parent 5cc98353
......@@ -3313,6 +3313,493 @@ adafruit_macropad2040picodebug.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
adafruit_macropad2040picodebug.menu.usbstack.nousb=No USB
adafruit_macropad2040picodebug.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico"
# -----------------------------------
# Adafruit KB2040
# -----------------------------------
adafruit_kb2040.name=Adafruit KB2040
adafruit_kb2040.vid.0=0x239a
adafruit_kb2040.pid.0=0x8105
adafruit_kb2040.build.usbpid=-DSERIALUSB_PID=0x8105
adafruit_kb2040.build.usbpwr=-DUSBD_MAX_POWER_MA=250
adafruit_kb2040.build.board=ADAFRUIT_KB2040_RP2040
adafruit_kb2040.build.mcu=cortex-m0plus
adafruit_kb2040.build.variant=adafruit_kb2040
adafruit_kb2040.upload.tool=uf2conv
adafruit_kb2040.upload.maximum_size=8388608
adafruit_kb2040.upload.maximum_data_size=262144
adafruit_kb2040.upload.wait_for_upload_port=true
adafruit_kb2040.upload.erase_cmd=
adafruit_kb2040.serial.disableDTR=false
adafruit_kb2040.serial.disableRTS=false
adafruit_kb2040.build.f_cpu=125000000
adafruit_kb2040.build.led=
adafruit_kb2040.build.core=rp2040
adafruit_kb2040.build.ldscript=memmap_default.ld
adafruit_kb2040.build.ram_length=256k
adafruit_kb2040.build.boot2=boot2_w25q080_2_padded_checksum
adafruit_kb2040.build.vid=0x239a
adafruit_kb2040.build.pid=0x8105
adafruit_kb2040.build.usb_manufacturer="Adafruit"
adafruit_kb2040.build.usb_product="KB2040"
adafruit_kb2040.menu.flash.8388608_0=8MB (no FS)
adafruit_kb2040.menu.flash.8388608_0.upload.maximum_size=8384512
adafruit_kb2040.menu.flash.8388608_0.build.flash_length=8384512
adafruit_kb2040.menu.flash.8388608_0.build.eeprom_start=276819968
adafruit_kb2040.menu.flash.8388608_0.build.fs_start=276819968
adafruit_kb2040.menu.flash.8388608_0.build.fs_end=276819968
adafruit_kb2040.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB)
adafruit_kb2040.menu.flash.8388608_65536.upload.maximum_size=8318976
adafruit_kb2040.menu.flash.8388608_65536.build.flash_length=8318976
adafruit_kb2040.menu.flash.8388608_65536.build.eeprom_start=276819968
adafruit_kb2040.menu.flash.8388608_65536.build.fs_start=276754432
adafruit_kb2040.menu.flash.8388608_65536.build.fs_end=276819968
adafruit_kb2040.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB)
adafruit_kb2040.menu.flash.8388608_131072.upload.maximum_size=8253440
adafruit_kb2040.menu.flash.8388608_131072.build.flash_length=8253440
adafruit_kb2040.menu.flash.8388608_131072.build.eeprom_start=276819968
adafruit_kb2040.menu.flash.8388608_131072.build.fs_start=276688896
adafruit_kb2040.menu.flash.8388608_131072.build.fs_end=276819968
adafruit_kb2040.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB)
adafruit_kb2040.menu.flash.8388608_262144.upload.maximum_size=8122368
adafruit_kb2040.menu.flash.8388608_262144.build.flash_length=8122368
adafruit_kb2040.menu.flash.8388608_262144.build.eeprom_start=276819968
adafruit_kb2040.menu.flash.8388608_262144.build.fs_start=276557824
adafruit_kb2040.menu.flash.8388608_262144.build.fs_end=276819968
adafruit_kb2040.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB)
adafruit_kb2040.menu.flash.8388608_524288.upload.maximum_size=7860224
adafruit_kb2040.menu.flash.8388608_524288.build.flash_length=7860224
adafruit_kb2040.menu.flash.8388608_524288.build.eeprom_start=276819968
adafruit_kb2040.menu.flash.8388608_524288.build.fs_start=276295680
adafruit_kb2040.menu.flash.8388608_524288.build.fs_end=276819968
adafruit_kb2040.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB)
adafruit_kb2040.menu.flash.8388608_1048576.upload.maximum_size=7335936
adafruit_kb2040.menu.flash.8388608_1048576.build.flash_length=7335936
adafruit_kb2040.menu.flash.8388608_1048576.build.eeprom_start=276819968
adafruit_kb2040.menu.flash.8388608_1048576.build.fs_start=275771392
adafruit_kb2040.menu.flash.8388608_1048576.build.fs_end=276819968
adafruit_kb2040.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB)
adafruit_kb2040.menu.flash.8388608_2097152.upload.maximum_size=6287360
adafruit_kb2040.menu.flash.8388608_2097152.build.flash_length=6287360
adafruit_kb2040.menu.flash.8388608_2097152.build.eeprom_start=276819968
adafruit_kb2040.menu.flash.8388608_2097152.build.fs_start=274722816
adafruit_kb2040.menu.flash.8388608_2097152.build.fs_end=276819968
adafruit_kb2040.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB)
adafruit_kb2040.menu.flash.8388608_3145728.upload.maximum_size=5238784
adafruit_kb2040.menu.flash.8388608_3145728.build.flash_length=5238784
adafruit_kb2040.menu.flash.8388608_3145728.build.eeprom_start=276819968
adafruit_kb2040.menu.flash.8388608_3145728.build.fs_start=273674240
adafruit_kb2040.menu.flash.8388608_3145728.build.fs_end=276819968
adafruit_kb2040.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB)
adafruit_kb2040.menu.flash.8388608_4194304.upload.maximum_size=4190208
adafruit_kb2040.menu.flash.8388608_4194304.build.flash_length=4190208
adafruit_kb2040.menu.flash.8388608_4194304.build.eeprom_start=276819968
adafruit_kb2040.menu.flash.8388608_4194304.build.fs_start=272625664
adafruit_kb2040.menu.flash.8388608_4194304.build.fs_end=276819968
adafruit_kb2040.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB)
adafruit_kb2040.menu.flash.8388608_5242880.upload.maximum_size=3141632
adafruit_kb2040.menu.flash.8388608_5242880.build.flash_length=3141632
adafruit_kb2040.menu.flash.8388608_5242880.build.eeprom_start=276819968
adafruit_kb2040.menu.flash.8388608_5242880.build.fs_start=271577088
adafruit_kb2040.menu.flash.8388608_5242880.build.fs_end=276819968
adafruit_kb2040.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB)
adafruit_kb2040.menu.flash.8388608_6291456.upload.maximum_size=2093056
adafruit_kb2040.menu.flash.8388608_6291456.build.flash_length=2093056
adafruit_kb2040.menu.flash.8388608_6291456.build.eeprom_start=276819968
adafruit_kb2040.menu.flash.8388608_6291456.build.fs_start=270528512
adafruit_kb2040.menu.flash.8388608_6291456.build.fs_end=276819968
adafruit_kb2040.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB)
adafruit_kb2040.menu.flash.8388608_7340032.upload.maximum_size=1044480
adafruit_kb2040.menu.flash.8388608_7340032.build.flash_length=1044480
adafruit_kb2040.menu.flash.8388608_7340032.build.eeprom_start=276819968
adafruit_kb2040.menu.flash.8388608_7340032.build.fs_start=269479936
adafruit_kb2040.menu.flash.8388608_7340032.build.fs_end=276819968
adafruit_kb2040.menu.freq.125=125 MHz
adafruit_kb2040.menu.freq.125.build.f_cpu=125000000L
adafruit_kb2040.menu.freq.50=50 MHz
adafruit_kb2040.menu.freq.50.build.f_cpu=50000000L
adafruit_kb2040.menu.freq.100=100 MHz
adafruit_kb2040.menu.freq.100.build.f_cpu=100000000L
adafruit_kb2040.menu.freq.133=133 MHz
adafruit_kb2040.menu.freq.133.build.f_cpu=133000000L
adafruit_kb2040.menu.freq.150=150 MHz (Overclock)
adafruit_kb2040.menu.freq.150.build.f_cpu=150000000L
adafruit_kb2040.menu.freq.175=175 MHz (Overclock)
adafruit_kb2040.menu.freq.175.build.f_cpu=175000000L
adafruit_kb2040.menu.freq.200=200 MHz (Overclock)
adafruit_kb2040.menu.freq.200.build.f_cpu=200000000L
adafruit_kb2040.menu.freq.225=225 MHz (Overclock)
adafruit_kb2040.menu.freq.225.build.f_cpu=225000000L
adafruit_kb2040.menu.freq.250=250 MHz (Overclock)
adafruit_kb2040.menu.freq.250.build.f_cpu=250000000L
adafruit_kb2040.menu.freq.275=275 MHz (Overclock)
adafruit_kb2040.menu.freq.275.build.f_cpu=275000000L
adafruit_kb2040.menu.freq.300=300 MHz (Overclock)
adafruit_kb2040.menu.freq.300.build.f_cpu=300000000L
adafruit_kb2040.menu.opt.Small=Small (-Os) (standard)
adafruit_kb2040.menu.opt.Small.build.flags.optimize=-Os
adafruit_kb2040.menu.opt.Optimize=Optimize (-O)
adafruit_kb2040.menu.opt.Optimize.build.flags.optimize=-O
adafruit_kb2040.menu.opt.Optimize2=Optimize More (-O2)
adafruit_kb2040.menu.opt.Optimize2.build.flags.optimize=-O2
adafruit_kb2040.menu.opt.Optimize3=Optimize Even More (-O3)
adafruit_kb2040.menu.opt.Optimize3.build.flags.optimize=-O3
adafruit_kb2040.menu.opt.Fast=Fast (-Ofast) (maybe slower)
adafruit_kb2040.menu.opt.Fast.build.flags.optimize=-Ofast
adafruit_kb2040.menu.opt.Debug=Debug (-Og)
adafruit_kb2040.menu.opt.Debug.build.flags.optimize=-Og
adafruit_kb2040.menu.rtti.Disabled=Disabled
adafruit_kb2040.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
adafruit_kb2040.menu.rtti.Enabled=Enabled
adafruit_kb2040.menu.rtti.Enabled.build.flags.rtti=
adafruit_kb2040.menu.dbgport.Disabled=Disabled
adafruit_kb2040.menu.dbgport.Disabled.build.debug_port=
adafruit_kb2040.menu.dbgport.Serial=Serial
adafruit_kb2040.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial
adafruit_kb2040.menu.dbgport.Serial1=Serial1
adafruit_kb2040.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1
adafruit_kb2040.menu.dbgport.Serial2=Serial2
adafruit_kb2040.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2
adafruit_kb2040.menu.dbglvl.None=None
adafruit_kb2040.menu.dbglvl.None.build.debug_level=
adafruit_kb2040.menu.dbglvl.Core=Core
adafruit_kb2040.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE
adafruit_kb2040.menu.dbglvl.SPI=SPI
adafruit_kb2040.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI
adafruit_kb2040.menu.dbglvl.Wire=Wire
adafruit_kb2040.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE
adafruit_kb2040.menu.dbglvl.All=All
adafruit_kb2040.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE
adafruit_kb2040.menu.dbglvl.NDEBUG=NDEBUG
adafruit_kb2040.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
adafruit_kb2040.menu.usbstack.picosdk=Pico SDK
adafruit_kb2040.menu.usbstack.picosdk.build.usbstack_flags="-I{runtime.platform.path}/tools/libpico"
adafruit_kb2040.menu.usbstack.tinyusb=Adafruit TinyUSB
adafruit_kb2040.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino"
# -----------------------------------
# Adafruit KB2040 (Picoprobe)
# -----------------------------------
adafruit_kb2040picoprobe.name=Adafruit KB2040 (Picoprobe)
adafruit_kb2040picoprobe.vid.0=0x239a
adafruit_kb2040picoprobe.pid.0=0x0004
adafruit_kb2040picoprobe.build.usbpid=-DSERIALUSB_PID=0x8105
adafruit_kb2040picoprobe.build.usbpwr=-DUSBD_MAX_POWER_MA=250
adafruit_kb2040picoprobe.build.board=ADAFRUIT_KB2040_RP2040
adafruit_kb2040picoprobe.build.mcu=cortex-m0plus
adafruit_kb2040picoprobe.build.variant=adafruit_kb2040
adafruit_kb2040picoprobe.upload.tool=picoprobe
adafruit_kb2040picoprobe.upload.maximum_size=8388608
adafruit_kb2040picoprobe.upload.maximum_data_size=262144
adafruit_kb2040picoprobe.upload.wait_for_upload_port=true
adafruit_kb2040picoprobe.upload.erase_cmd=
adafruit_kb2040picoprobe.serial.disableDTR=false
adafruit_kb2040picoprobe.serial.disableRTS=false
adafruit_kb2040picoprobe.build.f_cpu=125000000
adafruit_kb2040picoprobe.build.led=
adafruit_kb2040picoprobe.build.core=rp2040
adafruit_kb2040picoprobe.build.ldscript=memmap_default.ld
adafruit_kb2040picoprobe.build.ram_length=256k
adafruit_kb2040picoprobe.build.boot2=boot2_w25q080_2_padded_checksum
adafruit_kb2040picoprobe.build.vid=0x239a
adafruit_kb2040picoprobe.build.pid=0x8105
adafruit_kb2040picoprobe.build.usb_manufacturer="Adafruit"
adafruit_kb2040picoprobe.build.usb_product="KB2040 (Picoprobe)"
adafruit_kb2040picoprobe.menu.flash.8388608_0=8MB (no FS)
adafruit_kb2040picoprobe.menu.flash.8388608_0.upload.maximum_size=8384512
adafruit_kb2040picoprobe.menu.flash.8388608_0.build.flash_length=8384512
adafruit_kb2040picoprobe.menu.flash.8388608_0.build.eeprom_start=276819968
adafruit_kb2040picoprobe.menu.flash.8388608_0.build.fs_start=276819968
adafruit_kb2040picoprobe.menu.flash.8388608_0.build.fs_end=276819968
adafruit_kb2040picoprobe.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB)
adafruit_kb2040picoprobe.menu.flash.8388608_65536.upload.maximum_size=8318976
adafruit_kb2040picoprobe.menu.flash.8388608_65536.build.flash_length=8318976
adafruit_kb2040picoprobe.menu.flash.8388608_65536.build.eeprom_start=276819968
adafruit_kb2040picoprobe.menu.flash.8388608_65536.build.fs_start=276754432
adafruit_kb2040picoprobe.menu.flash.8388608_65536.build.fs_end=276819968
adafruit_kb2040picoprobe.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB)
adafruit_kb2040picoprobe.menu.flash.8388608_131072.upload.maximum_size=8253440
adafruit_kb2040picoprobe.menu.flash.8388608_131072.build.flash_length=8253440
adafruit_kb2040picoprobe.menu.flash.8388608_131072.build.eeprom_start=276819968
adafruit_kb2040picoprobe.menu.flash.8388608_131072.build.fs_start=276688896
adafruit_kb2040picoprobe.menu.flash.8388608_131072.build.fs_end=276819968
adafruit_kb2040picoprobe.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB)
adafruit_kb2040picoprobe.menu.flash.8388608_262144.upload.maximum_size=8122368
adafruit_kb2040picoprobe.menu.flash.8388608_262144.build.flash_length=8122368
adafruit_kb2040picoprobe.menu.flash.8388608_262144.build.eeprom_start=276819968
adafruit_kb2040picoprobe.menu.flash.8388608_262144.build.fs_start=276557824
adafruit_kb2040picoprobe.menu.flash.8388608_262144.build.fs_end=276819968
adafruit_kb2040picoprobe.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB)
adafruit_kb2040picoprobe.menu.flash.8388608_524288.upload.maximum_size=7860224
adafruit_kb2040picoprobe.menu.flash.8388608_524288.build.flash_length=7860224
adafruit_kb2040picoprobe.menu.flash.8388608_524288.build.eeprom_start=276819968
adafruit_kb2040picoprobe.menu.flash.8388608_524288.build.fs_start=276295680
adafruit_kb2040picoprobe.menu.flash.8388608_524288.build.fs_end=276819968
adafruit_kb2040picoprobe.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB)
adafruit_kb2040picoprobe.menu.flash.8388608_1048576.upload.maximum_size=7335936
adafruit_kb2040picoprobe.menu.flash.8388608_1048576.build.flash_length=7335936
adafruit_kb2040picoprobe.menu.flash.8388608_1048576.build.eeprom_start=276819968
adafruit_kb2040picoprobe.menu.flash.8388608_1048576.build.fs_start=275771392
adafruit_kb2040picoprobe.menu.flash.8388608_1048576.build.fs_end=276819968
adafruit_kb2040picoprobe.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB)
adafruit_kb2040picoprobe.menu.flash.8388608_2097152.upload.maximum_size=6287360
adafruit_kb2040picoprobe.menu.flash.8388608_2097152.build.flash_length=6287360
adafruit_kb2040picoprobe.menu.flash.8388608_2097152.build.eeprom_start=276819968
adafruit_kb2040picoprobe.menu.flash.8388608_2097152.build.fs_start=274722816
adafruit_kb2040picoprobe.menu.flash.8388608_2097152.build.fs_end=276819968
adafruit_kb2040picoprobe.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB)
adafruit_kb2040picoprobe.menu.flash.8388608_3145728.upload.maximum_size=5238784
adafruit_kb2040picoprobe.menu.flash.8388608_3145728.build.flash_length=5238784
adafruit_kb2040picoprobe.menu.flash.8388608_3145728.build.eeprom_start=276819968
adafruit_kb2040picoprobe.menu.flash.8388608_3145728.build.fs_start=273674240
adafruit_kb2040picoprobe.menu.flash.8388608_3145728.build.fs_end=276819968
adafruit_kb2040picoprobe.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB)
adafruit_kb2040picoprobe.menu.flash.8388608_4194304.upload.maximum_size=4190208
adafruit_kb2040picoprobe.menu.flash.8388608_4194304.build.flash_length=4190208
adafruit_kb2040picoprobe.menu.flash.8388608_4194304.build.eeprom_start=276819968
adafruit_kb2040picoprobe.menu.flash.8388608_4194304.build.fs_start=272625664
adafruit_kb2040picoprobe.menu.flash.8388608_4194304.build.fs_end=276819968
adafruit_kb2040picoprobe.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB)
adafruit_kb2040picoprobe.menu.flash.8388608_5242880.upload.maximum_size=3141632
adafruit_kb2040picoprobe.menu.flash.8388608_5242880.build.flash_length=3141632
adafruit_kb2040picoprobe.menu.flash.8388608_5242880.build.eeprom_start=276819968
adafruit_kb2040picoprobe.menu.flash.8388608_5242880.build.fs_start=271577088
adafruit_kb2040picoprobe.menu.flash.8388608_5242880.build.fs_end=276819968
adafruit_kb2040picoprobe.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB)
adafruit_kb2040picoprobe.menu.flash.8388608_6291456.upload.maximum_size=2093056
adafruit_kb2040picoprobe.menu.flash.8388608_6291456.build.flash_length=2093056
adafruit_kb2040picoprobe.menu.flash.8388608_6291456.build.eeprom_start=276819968
adafruit_kb2040picoprobe.menu.flash.8388608_6291456.build.fs_start=270528512
adafruit_kb2040picoprobe.menu.flash.8388608_6291456.build.fs_end=276819968
adafruit_kb2040picoprobe.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB)
adafruit_kb2040picoprobe.menu.flash.8388608_7340032.upload.maximum_size=1044480
adafruit_kb2040picoprobe.menu.flash.8388608_7340032.build.flash_length=1044480
adafruit_kb2040picoprobe.menu.flash.8388608_7340032.build.eeprom_start=276819968
adafruit_kb2040picoprobe.menu.flash.8388608_7340032.build.fs_start=269479936
adafruit_kb2040picoprobe.menu.flash.8388608_7340032.build.fs_end=276819968
adafruit_kb2040picoprobe.menu.freq.125=125 MHz
adafruit_kb2040picoprobe.menu.freq.125.build.f_cpu=125000000L
adafruit_kb2040picoprobe.menu.freq.50=50 MHz
adafruit_kb2040picoprobe.menu.freq.50.build.f_cpu=50000000L
adafruit_kb2040picoprobe.menu.freq.100=100 MHz
adafruit_kb2040picoprobe.menu.freq.100.build.f_cpu=100000000L
adafruit_kb2040picoprobe.menu.freq.133=133 MHz
adafruit_kb2040picoprobe.menu.freq.133.build.f_cpu=133000000L
adafruit_kb2040picoprobe.menu.freq.150=150 MHz (Overclock)
adafruit_kb2040picoprobe.menu.freq.150.build.f_cpu=150000000L
adafruit_kb2040picoprobe.menu.freq.175=175 MHz (Overclock)
adafruit_kb2040picoprobe.menu.freq.175.build.f_cpu=175000000L
adafruit_kb2040picoprobe.menu.freq.200=200 MHz (Overclock)
adafruit_kb2040picoprobe.menu.freq.200.build.f_cpu=200000000L
adafruit_kb2040picoprobe.menu.freq.225=225 MHz (Overclock)
adafruit_kb2040picoprobe.menu.freq.225.build.f_cpu=225000000L
adafruit_kb2040picoprobe.menu.freq.250=250 MHz (Overclock)
adafruit_kb2040picoprobe.menu.freq.250.build.f_cpu=250000000L
adafruit_kb2040picoprobe.menu.freq.275=275 MHz (Overclock)
adafruit_kb2040picoprobe.menu.freq.275.build.f_cpu=275000000L
adafruit_kb2040picoprobe.menu.freq.300=300 MHz (Overclock)
adafruit_kb2040picoprobe.menu.freq.300.build.f_cpu=300000000L
adafruit_kb2040picoprobe.menu.opt.Small=Small (-Os) (standard)
adafruit_kb2040picoprobe.menu.opt.Small.build.flags.optimize=-Os
adafruit_kb2040picoprobe.menu.opt.Optimize=Optimize (-O)
adafruit_kb2040picoprobe.menu.opt.Optimize.build.flags.optimize=-O
adafruit_kb2040picoprobe.menu.opt.Optimize2=Optimize More (-O2)
adafruit_kb2040picoprobe.menu.opt.Optimize2.build.flags.optimize=-O2
adafruit_kb2040picoprobe.menu.opt.Optimize3=Optimize Even More (-O3)
adafruit_kb2040picoprobe.menu.opt.Optimize3.build.flags.optimize=-O3
adafruit_kb2040picoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower)
adafruit_kb2040picoprobe.menu.opt.Fast.build.flags.optimize=-Ofast
adafruit_kb2040picoprobe.menu.opt.Debug=Debug (-Og)
adafruit_kb2040picoprobe.menu.opt.Debug.build.flags.optimize=-Og
adafruit_kb2040picoprobe.menu.rtti.Disabled=Disabled
adafruit_kb2040picoprobe.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
adafruit_kb2040picoprobe.menu.rtti.Enabled=Enabled
adafruit_kb2040picoprobe.menu.rtti.Enabled.build.flags.rtti=
adafruit_kb2040picoprobe.menu.dbgport.Disabled=Disabled
adafruit_kb2040picoprobe.menu.dbgport.Disabled.build.debug_port=
adafruit_kb2040picoprobe.menu.dbgport.Serial=Serial
adafruit_kb2040picoprobe.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial
adafruit_kb2040picoprobe.menu.dbgport.Serial1=Serial1
adafruit_kb2040picoprobe.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1
adafruit_kb2040picoprobe.menu.dbgport.Serial2=Serial2
adafruit_kb2040picoprobe.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2
adafruit_kb2040picoprobe.menu.dbglvl.None=None
adafruit_kb2040picoprobe.menu.dbglvl.None.build.debug_level=
adafruit_kb2040picoprobe.menu.dbglvl.Core=Core
adafruit_kb2040picoprobe.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE
adafruit_kb2040picoprobe.menu.dbglvl.SPI=SPI
adafruit_kb2040picoprobe.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI
adafruit_kb2040picoprobe.menu.dbglvl.Wire=Wire
adafruit_kb2040picoprobe.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE
adafruit_kb2040picoprobe.menu.dbglvl.All=All
adafruit_kb2040picoprobe.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE
adafruit_kb2040picoprobe.menu.dbglvl.NDEBUG=NDEBUG
adafruit_kb2040picoprobe.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
adafruit_kb2040picoprobe.menu.usbstack.picosdk=Pico SDK
adafruit_kb2040picoprobe.menu.usbstack.picosdk.build.usbstack_flags="-I{runtime.platform.path}/tools/libpico"
adafruit_kb2040picoprobe.menu.usbstack.tinyusb=Adafruit TinyUSB
adafruit_kb2040picoprobe.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino"
# -----------------------------------
# Adafruit KB2040 (pico-debug)
# -----------------------------------
adafruit_kb2040picodebug.name=Adafruit KB2040 (pico-debug)
adafruit_kb2040picodebug.vid.0=0x1209
adafruit_kb2040picodebug.pid.0=0x2488
adafruit_kb2040picodebug.build.usbpid=-DSERIALUSB_PID=0x8105
adafruit_kb2040picodebug.build.usbpwr=-DUSBD_MAX_POWER_MA=250
adafruit_kb2040picodebug.build.board=ADAFRUIT_KB2040_RP2040
adafruit_kb2040picodebug.build.mcu=cortex-m0plus
adafruit_kb2040picodebug.build.variant=adafruit_kb2040
adafruit_kb2040picodebug.upload.tool=picodebug
adafruit_kb2040picodebug.upload.maximum_size=8388608
adafruit_kb2040picodebug.upload.maximum_data_size=245760
adafruit_kb2040picodebug.upload.wait_for_upload_port=true
adafruit_kb2040picodebug.upload.erase_cmd=
adafruit_kb2040picodebug.serial.disableDTR=false
adafruit_kb2040picodebug.serial.disableRTS=false
adafruit_kb2040picodebug.build.f_cpu=125000000
adafruit_kb2040picodebug.build.led=
adafruit_kb2040picodebug.build.core=rp2040
adafruit_kb2040picodebug.build.ldscript=memmap_default.ld
adafruit_kb2040picodebug.build.ram_length=240k
adafruit_kb2040picodebug.build.boot2=boot2_w25q080_2_padded_checksum
adafruit_kb2040picodebug.build.vid=0x239a
adafruit_kb2040picodebug.build.pid=0x8105
adafruit_kb2040picodebug.build.usb_manufacturer="Adafruit"
adafruit_kb2040picodebug.build.usb_product="KB2040 (pico-debug)"
adafruit_kb2040picodebug.menu.flash.8388608_0=8MB (no FS)
adafruit_kb2040picodebug.menu.flash.8388608_0.upload.maximum_size=8384512
adafruit_kb2040picodebug.menu.flash.8388608_0.build.flash_length=8384512
adafruit_kb2040picodebug.menu.flash.8388608_0.build.eeprom_start=276819968
adafruit_kb2040picodebug.menu.flash.8388608_0.build.fs_start=276819968
adafruit_kb2040picodebug.menu.flash.8388608_0.build.fs_end=276819968
adafruit_kb2040picodebug.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB)
adafruit_kb2040picodebug.menu.flash.8388608_65536.upload.maximum_size=8318976
adafruit_kb2040picodebug.menu.flash.8388608_65536.build.flash_length=8318976
adafruit_kb2040picodebug.menu.flash.8388608_65536.build.eeprom_start=276819968
adafruit_kb2040picodebug.menu.flash.8388608_65536.build.fs_start=276754432
adafruit_kb2040picodebug.menu.flash.8388608_65536.build.fs_end=276819968
adafruit_kb2040picodebug.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB)
adafruit_kb2040picodebug.menu.flash.8388608_131072.upload.maximum_size=8253440
adafruit_kb2040picodebug.menu.flash.8388608_131072.build.flash_length=8253440
adafruit_kb2040picodebug.menu.flash.8388608_131072.build.eeprom_start=276819968
adafruit_kb2040picodebug.menu.flash.8388608_131072.build.fs_start=276688896
adafruit_kb2040picodebug.menu.flash.8388608_131072.build.fs_end=276819968
adafruit_kb2040picodebug.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB)
adafruit_kb2040picodebug.menu.flash.8388608_262144.upload.maximum_size=8122368
adafruit_kb2040picodebug.menu.flash.8388608_262144.build.flash_length=8122368
adafruit_kb2040picodebug.menu.flash.8388608_262144.build.eeprom_start=276819968
adafruit_kb2040picodebug.menu.flash.8388608_262144.build.fs_start=276557824
adafruit_kb2040picodebug.menu.flash.8388608_262144.build.fs_end=276819968
adafruit_kb2040picodebug.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB)
adafruit_kb2040picodebug.menu.flash.8388608_524288.upload.maximum_size=7860224
adafruit_kb2040picodebug.menu.flash.8388608_524288.build.flash_length=7860224
adafruit_kb2040picodebug.menu.flash.8388608_524288.build.eeprom_start=276819968
adafruit_kb2040picodebug.menu.flash.8388608_524288.build.fs_start=276295680
adafruit_kb2040picodebug.menu.flash.8388608_524288.build.fs_end=276819968
adafruit_kb2040picodebug.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB)
adafruit_kb2040picodebug.menu.flash.8388608_1048576.upload.maximum_size=7335936
adafruit_kb2040picodebug.menu.flash.8388608_1048576.build.flash_length=7335936
adafruit_kb2040picodebug.menu.flash.8388608_1048576.build.eeprom_start=276819968
adafruit_kb2040picodebug.menu.flash.8388608_1048576.build.fs_start=275771392
adafruit_kb2040picodebug.menu.flash.8388608_1048576.build.fs_end=276819968
adafruit_kb2040picodebug.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB)
adafruit_kb2040picodebug.menu.flash.8388608_2097152.upload.maximum_size=6287360
adafruit_kb2040picodebug.menu.flash.8388608_2097152.build.flash_length=6287360
adafruit_kb2040picodebug.menu.flash.8388608_2097152.build.eeprom_start=276819968
adafruit_kb2040picodebug.menu.flash.8388608_2097152.build.fs_start=274722816
adafruit_kb2040picodebug.menu.flash.8388608_2097152.build.fs_end=276819968
adafruit_kb2040picodebug.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB)
adafruit_kb2040picodebug.menu.flash.8388608_3145728.upload.maximum_size=5238784
adafruit_kb2040picodebug.menu.flash.8388608_3145728.build.flash_length=5238784
adafruit_kb2040picodebug.menu.flash.8388608_3145728.build.eeprom_start=276819968
adafruit_kb2040picodebug.menu.flash.8388608_3145728.build.fs_start=273674240
adafruit_kb2040picodebug.menu.flash.8388608_3145728.build.fs_end=276819968
adafruit_kb2040picodebug.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB)
adafruit_kb2040picodebug.menu.flash.8388608_4194304.upload.maximum_size=4190208
adafruit_kb2040picodebug.menu.flash.8388608_4194304.build.flash_length=4190208
adafruit_kb2040picodebug.menu.flash.8388608_4194304.build.eeprom_start=276819968
adafruit_kb2040picodebug.menu.flash.8388608_4194304.build.fs_start=272625664
adafruit_kb2040picodebug.menu.flash.8388608_4194304.build.fs_end=276819968
adafruit_kb2040picodebug.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB)
adafruit_kb2040picodebug.menu.flash.8388608_5242880.upload.maximum_size=3141632
adafruit_kb2040picodebug.menu.flash.8388608_5242880.build.flash_length=3141632
adafruit_kb2040picodebug.menu.flash.8388608_5242880.build.eeprom_start=276819968
adafruit_kb2040picodebug.menu.flash.8388608_5242880.build.fs_start=271577088
adafruit_kb2040picodebug.menu.flash.8388608_5242880.build.fs_end=276819968
adafruit_kb2040picodebug.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB)
adafruit_kb2040picodebug.menu.flash.8388608_6291456.upload.maximum_size=2093056
adafruit_kb2040picodebug.menu.flash.8388608_6291456.build.flash_length=2093056
adafruit_kb2040picodebug.menu.flash.8388608_6291456.build.eeprom_start=276819968
adafruit_kb2040picodebug.menu.flash.8388608_6291456.build.fs_start=270528512
adafruit_kb2040picodebug.menu.flash.8388608_6291456.build.fs_end=276819968
adafruit_kb2040picodebug.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB)
adafruit_kb2040picodebug.menu.flash.8388608_7340032.upload.maximum_size=1044480
adafruit_kb2040picodebug.menu.flash.8388608_7340032.build.flash_length=1044480
adafruit_kb2040picodebug.menu.flash.8388608_7340032.build.eeprom_start=276819968
adafruit_kb2040picodebug.menu.flash.8388608_7340032.build.fs_start=269479936
adafruit_kb2040picodebug.menu.flash.8388608_7340032.build.fs_end=276819968
adafruit_kb2040picodebug.menu.freq.125=125 MHz
adafruit_kb2040picodebug.menu.freq.125.build.f_cpu=125000000L
adafruit_kb2040picodebug.menu.freq.50=50 MHz
adafruit_kb2040picodebug.menu.freq.50.build.f_cpu=50000000L
adafruit_kb2040picodebug.menu.freq.100=100 MHz
adafruit_kb2040picodebug.menu.freq.100.build.f_cpu=100000000L
adafruit_kb2040picodebug.menu.freq.133=133 MHz
adafruit_kb2040picodebug.menu.freq.133.build.f_cpu=133000000L
adafruit_kb2040picodebug.menu.freq.150=150 MHz (Overclock)
adafruit_kb2040picodebug.menu.freq.150.build.f_cpu=150000000L
adafruit_kb2040picodebug.menu.freq.175=175 MHz (Overclock)
adafruit_kb2040picodebug.menu.freq.175.build.f_cpu=175000000L
adafruit_kb2040picodebug.menu.freq.200=200 MHz (Overclock)
adafruit_kb2040picodebug.menu.freq.200.build.f_cpu=200000000L
adafruit_kb2040picodebug.menu.freq.225=225 MHz (Overclock)
adafruit_kb2040picodebug.menu.freq.225.build.f_cpu=225000000L
adafruit_kb2040picodebug.menu.freq.250=250 MHz (Overclock)
adafruit_kb2040picodebug.menu.freq.250.build.f_cpu=250000000L
adafruit_kb2040picodebug.menu.freq.275=275 MHz (Overclock)
adafruit_kb2040picodebug.menu.freq.275.build.f_cpu=275000000L
adafruit_kb2040picodebug.menu.freq.300=300 MHz (Overclock)
adafruit_kb2040picodebug.menu.freq.300.build.f_cpu=300000000L
adafruit_kb2040picodebug.menu.opt.Small=Small (-Os) (standard)
adafruit_kb2040picodebug.menu.opt.Small.build.flags.optimize=-Os
adafruit_kb2040picodebug.menu.opt.Optimize=Optimize (-O)
adafruit_kb2040picodebug.menu.opt.Optimize.build.flags.optimize=-O
adafruit_kb2040picodebug.menu.opt.Optimize2=Optimize More (-O2)
adafruit_kb2040picodebug.menu.opt.Optimize2.build.flags.optimize=-O2
adafruit_kb2040picodebug.menu.opt.Optimize3=Optimize Even More (-O3)
adafruit_kb2040picodebug.menu.opt.Optimize3.build.flags.optimize=-O3
adafruit_kb2040picodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower)
adafruit_kb2040picodebug.menu.opt.Fast.build.flags.optimize=-Ofast
adafruit_kb2040picodebug.menu.opt.Debug=Debug (-Og)
adafruit_kb2040picodebug.menu.opt.Debug.build.flags.optimize=-Og
adafruit_kb2040picodebug.menu.rtti.Disabled=Disabled
adafruit_kb2040picodebug.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
adafruit_kb2040picodebug.menu.rtti.Enabled=Enabled
adafruit_kb2040picodebug.menu.rtti.Enabled.build.flags.rtti=
adafruit_kb2040picodebug.menu.dbgport.Disabled=Disabled
adafruit_kb2040picodebug.menu.dbgport.Disabled.build.debug_port=
adafruit_kb2040picodebug.menu.dbgport.Serial=Serial
adafruit_kb2040picodebug.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial
adafruit_kb2040picodebug.menu.dbgport.Serial1=Serial1
adafruit_kb2040picodebug.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1
adafruit_kb2040picodebug.menu.dbgport.Serial2=Serial2
adafruit_kb2040picodebug.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2
adafruit_kb2040picodebug.menu.dbglvl.None=None
adafruit_kb2040picodebug.menu.dbglvl.None.build.debug_level=
adafruit_kb2040picodebug.menu.dbglvl.Core=Core
adafruit_kb2040picodebug.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE
adafruit_kb2040picodebug.menu.dbglvl.SPI=SPI
adafruit_kb2040picodebug.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI
adafruit_kb2040picodebug.menu.dbglvl.Wire=Wire
adafruit_kb2040picodebug.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE
adafruit_kb2040picodebug.menu.dbglvl.All=All
adafruit_kb2040picodebug.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE
adafruit_kb2040picodebug.menu.dbglvl.NDEBUG=NDEBUG
adafruit_kb2040picodebug.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
adafruit_kb2040picodebug.menu.usbstack.nousb=No USB
adafruit_kb2040picodebug.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico"
# -----------------------------------
# Arduino Nano RP2040 Connect
# -----------------------------------
......
......@@ -162,6 +162,7 @@ MakeBoard("adafruit_qtpy", "Adafruit", "QT Py RP2040", "0x239a", "0x80f7", 250,
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("adafruit_kb2040", "Adafruit", "KB2040", "0x239a", "0x8105", 250, "ADAFRUIT_KB2040_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")
......
#pragma once
// Pin definitions taken from:
// https://learn.adafruit.com/assets/100337
// LEDs not pinned out
#define PIN_LED (31u)
// Serial
#define PIN_SERIAL1_TX (0u)
#define PIN_SERIAL1_RX (1u)
// Not pinned out
#define PIN_SERIAL2_TX (31u)
#define PIN_SERIAL2_RX (31u)
// SPI
#define PIN_SPI0_MISO (20u)
#define PIN_SPI0_MOSI (19u)
#define PIN_SPI0_SCK (18u)
#define PIN_SPI0_SS (31u) // not pinned out
// Not pinned out
#define PIN_SPI1_MISO (31u)
#define PIN_SPI1_MOSI (31u)
#define PIN_SPI1_SCK (31u)
#define PIN_SPI1_SS (31u)
// Wire is on the STEMMA QT port
#define PIN_WIRE0_SDA (12u)
#define PIN_WIRE0_SCL (13u)
// Wire1 is on the breakout pins
#define PIN_WIRE1_SDA (2u)
#define PIN_WIRE1_SCL (3u)
#define SERIAL_HOWMANY (1u)
#define SPI_HOWMANY (1u)
#define WIRE_HOWMANY (2u)
#define PIN_NEOPIXEL (17u)
#include "../generic/common.h"
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