Unverified Commit 3d821f73 authored by uPesy Electronics's avatar uPesy Electronics Committed by GitHub

Add board variant for uPesy RP2040 DevKit (#335)

parent 1726f56a
......@@ -6848,3 +6848,370 @@ melopero_shake_rp2040picodebug.menu.dbglvl.NDEBUG=NDEBUG
melopero_shake_rp2040picodebug.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
melopero_shake_rp2040picodebug.menu.usbstack.nousb=No USB
melopero_shake_rp2040picodebug.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico"
# -----------------------------------
# uPesy RP2040 DevKit
# -----------------------------------
upesy_rp2040_devkit.name=uPesy RP2040 DevKit
upesy_rp2040_devkit.vid.0=0x2e8a
upesy_rp2040_devkit.pid.0=0x1007
upesy_rp2040_devkit.build.usbpid=-DSERIALUSB_PID=0x1007
upesy_rp2040_devkit.build.board=UPESY_RP2040_DEVKIT
upesy_rp2040_devkit.build.mcu=cortex-m0plus
upesy_rp2040_devkit.build.variant=upesy_rp2040_devkit
upesy_rp2040_devkit.upload.tool=uf2conv
upesy_rp2040_devkit.upload.maximum_size=2097152
upesy_rp2040_devkit.upload.maximum_data_size=262144
upesy_rp2040_devkit.upload.wait_for_upload_port=true
upesy_rp2040_devkit.upload.erase_cmd=
upesy_rp2040_devkit.serial.disableDTR=false
upesy_rp2040_devkit.serial.disableRTS=false
upesy_rp2040_devkit.build.f_cpu=125000000
upesy_rp2040_devkit.build.led=
upesy_rp2040_devkit.build.core=rp2040
upesy_rp2040_devkit.build.mcu=rp2040
upesy_rp2040_devkit.build.ldscript=memmap_default.ld
upesy_rp2040_devkit.build.ram_length=256k
upesy_rp2040_devkit.build.boot2=boot2_w25q080_2_padded_checksum
upesy_rp2040_devkit.build.vid=0x2e8a
upesy_rp2040_devkit.build.pid=0x1007
upesy_rp2040_devkit.build.usb_manufacturer="uPesy"
upesy_rp2040_devkit.build.usb_product="RP2040 DevKit"
upesy_rp2040_devkit.menu.flash.2097152_0=2MB (no FS)
upesy_rp2040_devkit.menu.flash.2097152_0.upload.maximum_size=2093056
upesy_rp2040_devkit.menu.flash.2097152_0.build.flash_length=2093056
upesy_rp2040_devkit.menu.flash.2097152_0.build.eeprom_start=270528512
upesy_rp2040_devkit.menu.flash.2097152_0.build.fs_start=270528512
upesy_rp2040_devkit.menu.flash.2097152_0.build.fs_end=270528512
upesy_rp2040_devkit.menu.flash.2097152_65536=2MB (Sketch: 1984KB, FS: 64KB)
upesy_rp2040_devkit.menu.flash.2097152_65536.upload.maximum_size=2027520
upesy_rp2040_devkit.menu.flash.2097152_65536.build.flash_length=2027520
upesy_rp2040_devkit.menu.flash.2097152_65536.build.eeprom_start=270528512
upesy_rp2040_devkit.menu.flash.2097152_65536.build.fs_start=270462976
upesy_rp2040_devkit.menu.flash.2097152_65536.build.fs_end=270528512
upesy_rp2040_devkit.menu.flash.2097152_131072=2MB (Sketch: 1920KB, FS: 128KB)
upesy_rp2040_devkit.menu.flash.2097152_131072.upload.maximum_size=1961984
upesy_rp2040_devkit.menu.flash.2097152_131072.build.flash_length=1961984
upesy_rp2040_devkit.menu.flash.2097152_131072.build.eeprom_start=270528512
upesy_rp2040_devkit.menu.flash.2097152_131072.build.fs_start=270397440
upesy_rp2040_devkit.menu.flash.2097152_131072.build.fs_end=270528512
upesy_rp2040_devkit.menu.flash.2097152_262144=2MB (Sketch: 1792KB, FS: 256KB)
upesy_rp2040_devkit.menu.flash.2097152_262144.upload.maximum_size=1830912
upesy_rp2040_devkit.menu.flash.2097152_262144.build.flash_length=1830912
upesy_rp2040_devkit.menu.flash.2097152_262144.build.eeprom_start=270528512
upesy_rp2040_devkit.menu.flash.2097152_262144.build.fs_start=270266368
upesy_rp2040_devkit.menu.flash.2097152_262144.build.fs_end=270528512
upesy_rp2040_devkit.menu.flash.2097152_524288=2MB (Sketch: 1536KB, FS: 512KB)
upesy_rp2040_devkit.menu.flash.2097152_524288.upload.maximum_size=1568768
upesy_rp2040_devkit.menu.flash.2097152_524288.build.flash_length=1568768
upesy_rp2040_devkit.menu.flash.2097152_524288.build.eeprom_start=270528512
upesy_rp2040_devkit.menu.flash.2097152_524288.build.fs_start=270004224
upesy_rp2040_devkit.menu.flash.2097152_524288.build.fs_end=270528512
upesy_rp2040_devkit.menu.flash.2097152_1048576=2MB (Sketch: 1MB, FS: 1MB)
upesy_rp2040_devkit.menu.flash.2097152_1048576.upload.maximum_size=1044480
upesy_rp2040_devkit.menu.flash.2097152_1048576.build.flash_length=1044480
upesy_rp2040_devkit.menu.flash.2097152_1048576.build.eeprom_start=270528512
upesy_rp2040_devkit.menu.flash.2097152_1048576.build.fs_start=269479936
upesy_rp2040_devkit.menu.flash.2097152_1048576.build.fs_end=270528512
upesy_rp2040_devkit.menu.freq.125=125 MHz
upesy_rp2040_devkit.menu.freq.125.build.f_cpu=125000000L
upesy_rp2040_devkit.menu.freq.50=50 MHz
upesy_rp2040_devkit.menu.freq.50.build.f_cpu=50000000L
upesy_rp2040_devkit.menu.freq.100=100 MHz
upesy_rp2040_devkit.menu.freq.100.build.f_cpu=100000000L
upesy_rp2040_devkit.menu.freq.133=133 MHz
upesy_rp2040_devkit.menu.freq.133.build.f_cpu=133000000L
upesy_rp2040_devkit.menu.freq.150=150 MHz (Overclock)
upesy_rp2040_devkit.menu.freq.150.build.f_cpu=150000000L
upesy_rp2040_devkit.menu.freq.175=175 MHz (Overclock)
upesy_rp2040_devkit.menu.freq.175.build.f_cpu=175000000L
upesy_rp2040_devkit.menu.freq.200=200 MHz (Overclock)
upesy_rp2040_devkit.menu.freq.200.build.f_cpu=200000000L
upesy_rp2040_devkit.menu.freq.225=225 MHz (Overclock)
upesy_rp2040_devkit.menu.freq.225.build.f_cpu=225000000L
upesy_rp2040_devkit.menu.freq.250=250 MHz (Overclock)
upesy_rp2040_devkit.menu.freq.250.build.f_cpu=250000000L
upesy_rp2040_devkit.menu.freq.275=275 MHz (Overclock)
upesy_rp2040_devkit.menu.freq.275.build.f_cpu=275000000L
upesy_rp2040_devkit.menu.freq.300=300 MHz (Overclock)
upesy_rp2040_devkit.menu.freq.300.build.f_cpu=300000000L
upesy_rp2040_devkit.menu.opt.Small=Small (-Os) (standard)
upesy_rp2040_devkit.menu.opt.Small.build.flags.optimize=-Os
upesy_rp2040_devkit.menu.opt.Optimize=Optimize (-O)
upesy_rp2040_devkit.menu.opt.Optimize.build.flags.optimize=-O
upesy_rp2040_devkit.menu.opt.Optimize2=Optimize More (-O2)
upesy_rp2040_devkit.menu.opt.Optimize2.build.flags.optimize=-O2
upesy_rp2040_devkit.menu.opt.Optimize3=Optimize Even More (-O3)
upesy_rp2040_devkit.menu.opt.Optimize3.build.flags.optimize=-O3
upesy_rp2040_devkit.menu.opt.Fast=Fast (-Ofast) (maybe slower)
upesy_rp2040_devkit.menu.opt.Fast.build.flags.optimize=-Ofast
upesy_rp2040_devkit.menu.opt.Debug=Debug (-Og)
upesy_rp2040_devkit.menu.opt.Debug.build.flags.optimize=-Og
upesy_rp2040_devkit.menu.dbgport.Disabled=Disabled
upesy_rp2040_devkit.menu.dbgport.Disabled.build.debug_port=
upesy_rp2040_devkit.menu.dbgport.Serial=Serial
upesy_rp2040_devkit.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial
upesy_rp2040_devkit.menu.dbgport.Serial1=Serial1
upesy_rp2040_devkit.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1
upesy_rp2040_devkit.menu.dbgport.Serial2=Serial2
upesy_rp2040_devkit.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2
upesy_rp2040_devkit.menu.dbglvl.None=None
upesy_rp2040_devkit.menu.dbglvl.None.build.debug_level=
upesy_rp2040_devkit.menu.dbglvl.Core=Core
upesy_rp2040_devkit.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE
upesy_rp2040_devkit.menu.dbglvl.SPI=SPI
upesy_rp2040_devkit.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI
upesy_rp2040_devkit.menu.dbglvl.Wire=Wire
upesy_rp2040_devkit.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE
upesy_rp2040_devkit.menu.dbglvl.All=All
upesy_rp2040_devkit.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE
upesy_rp2040_devkit.menu.dbglvl.NDEBUG=NDEBUG
upesy_rp2040_devkit.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
upesy_rp2040_devkit.menu.usbstack.picosdk=Pico SDK
upesy_rp2040_devkit.menu.usbstack.picosdk.build.usbstack_flags="-I{runtime.platform.path}/tools/libpico"
upesy_rp2040_devkit.menu.usbstack.tinyusb=Adafruit TinyUSB
upesy_rp2040_devkit.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino"
# -----------------------------------
# uPesy RP2040 DevKit (Picoprobe)
# -----------------------------------
upesy_rp2040_devkitpicoprobe.name=uPesy RP2040 DevKit (Picoprobe)
upesy_rp2040_devkitpicoprobe.vid.0=0x2e8a
upesy_rp2040_devkitpicoprobe.pid.0=0x0004
upesy_rp2040_devkitpicoprobe.build.usbpid=-DSERIALUSB_PID=0x1007
upesy_rp2040_devkitpicoprobe.build.board=UPESY_RP2040_DEVKIT
upesy_rp2040_devkitpicoprobe.build.mcu=cortex-m0plus
upesy_rp2040_devkitpicoprobe.build.variant=upesy_rp2040_devkit
upesy_rp2040_devkitpicoprobe.upload.tool=picoprobe
upesy_rp2040_devkitpicoprobe.upload.maximum_size=2097152
upesy_rp2040_devkitpicoprobe.upload.maximum_data_size=262144
upesy_rp2040_devkitpicoprobe.upload.wait_for_upload_port=true
upesy_rp2040_devkitpicoprobe.upload.erase_cmd=
upesy_rp2040_devkitpicoprobe.serial.disableDTR=false
upesy_rp2040_devkitpicoprobe.serial.disableRTS=false
upesy_rp2040_devkitpicoprobe.build.f_cpu=125000000
upesy_rp2040_devkitpicoprobe.build.led=
upesy_rp2040_devkitpicoprobe.build.core=rp2040
upesy_rp2040_devkitpicoprobe.build.mcu=rp2040
upesy_rp2040_devkitpicoprobe.build.ldscript=memmap_default.ld
upesy_rp2040_devkitpicoprobe.build.ram_length=256k
upesy_rp2040_devkitpicoprobe.build.boot2=boot2_w25q080_2_padded_checksum
upesy_rp2040_devkitpicoprobe.build.vid=0x2e8a
upesy_rp2040_devkitpicoprobe.build.pid=0x1007
upesy_rp2040_devkitpicoprobe.build.usb_manufacturer="uPesy"
upesy_rp2040_devkitpicoprobe.build.usb_product="RP2040 DevKit (Picoprobe)"
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_0=2MB (no FS)
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_0.upload.maximum_size=2093056
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_0.build.flash_length=2093056
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_0.build.eeprom_start=270528512
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_0.build.fs_start=270528512
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_0.build.fs_end=270528512
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_65536=2MB (Sketch: 1984KB, FS: 64KB)
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_65536.upload.maximum_size=2027520
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_65536.build.flash_length=2027520
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_65536.build.eeprom_start=270528512
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_65536.build.fs_start=270462976
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_65536.build.fs_end=270528512
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_131072=2MB (Sketch: 1920KB, FS: 128KB)
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_131072.upload.maximum_size=1961984
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_131072.build.flash_length=1961984
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_131072.build.eeprom_start=270528512
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_131072.build.fs_start=270397440
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_131072.build.fs_end=270528512
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_262144=2MB (Sketch: 1792KB, FS: 256KB)
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_262144.upload.maximum_size=1830912
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_262144.build.flash_length=1830912
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_262144.build.eeprom_start=270528512
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_262144.build.fs_start=270266368
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_262144.build.fs_end=270528512
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_524288=2MB (Sketch: 1536KB, FS: 512KB)
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_524288.upload.maximum_size=1568768
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_524288.build.flash_length=1568768
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_524288.build.eeprom_start=270528512
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_524288.build.fs_start=270004224
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_524288.build.fs_end=270528512
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_1048576=2MB (Sketch: 1MB, FS: 1MB)
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_1048576.upload.maximum_size=1044480
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_1048576.build.flash_length=1044480
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_1048576.build.eeprom_start=270528512
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_1048576.build.fs_start=269479936
upesy_rp2040_devkitpicoprobe.menu.flash.2097152_1048576.build.fs_end=270528512
upesy_rp2040_devkitpicoprobe.menu.freq.125=125 MHz
upesy_rp2040_devkitpicoprobe.menu.freq.125.build.f_cpu=125000000L
upesy_rp2040_devkitpicoprobe.menu.freq.50=50 MHz
upesy_rp2040_devkitpicoprobe.menu.freq.50.build.f_cpu=50000000L
upesy_rp2040_devkitpicoprobe.menu.freq.100=100 MHz
upesy_rp2040_devkitpicoprobe.menu.freq.100.build.f_cpu=100000000L
upesy_rp2040_devkitpicoprobe.menu.freq.133=133 MHz
upesy_rp2040_devkitpicoprobe.menu.freq.133.build.f_cpu=133000000L
upesy_rp2040_devkitpicoprobe.menu.freq.150=150 MHz (Overclock)
upesy_rp2040_devkitpicoprobe.menu.freq.150.build.f_cpu=150000000L
upesy_rp2040_devkitpicoprobe.menu.freq.175=175 MHz (Overclock)
upesy_rp2040_devkitpicoprobe.menu.freq.175.build.f_cpu=175000000L
upesy_rp2040_devkitpicoprobe.menu.freq.200=200 MHz (Overclock)
upesy_rp2040_devkitpicoprobe.menu.freq.200.build.f_cpu=200000000L
upesy_rp2040_devkitpicoprobe.menu.freq.225=225 MHz (Overclock)
upesy_rp2040_devkitpicoprobe.menu.freq.225.build.f_cpu=225000000L
upesy_rp2040_devkitpicoprobe.menu.freq.250=250 MHz (Overclock)
upesy_rp2040_devkitpicoprobe.menu.freq.250.build.f_cpu=250000000L
upesy_rp2040_devkitpicoprobe.menu.freq.275=275 MHz (Overclock)
upesy_rp2040_devkitpicoprobe.menu.freq.275.build.f_cpu=275000000L
upesy_rp2040_devkitpicoprobe.menu.freq.300=300 MHz (Overclock)
upesy_rp2040_devkitpicoprobe.menu.freq.300.build.f_cpu=300000000L
upesy_rp2040_devkitpicoprobe.menu.opt.Small=Small (-Os) (standard)
upesy_rp2040_devkitpicoprobe.menu.opt.Small.build.flags.optimize=-Os
upesy_rp2040_devkitpicoprobe.menu.opt.Optimize=Optimize (-O)
upesy_rp2040_devkitpicoprobe.menu.opt.Optimize.build.flags.optimize=-O
upesy_rp2040_devkitpicoprobe.menu.opt.Optimize2=Optimize More (-O2)
upesy_rp2040_devkitpicoprobe.menu.opt.Optimize2.build.flags.optimize=-O2
upesy_rp2040_devkitpicoprobe.menu.opt.Optimize3=Optimize Even More (-O3)
upesy_rp2040_devkitpicoprobe.menu.opt.Optimize3.build.flags.optimize=-O3
upesy_rp2040_devkitpicoprobe.menu.opt.Fast=Fast (-Ofast) (maybe slower)
upesy_rp2040_devkitpicoprobe.menu.opt.Fast.build.flags.optimize=-Ofast
upesy_rp2040_devkitpicoprobe.menu.opt.Debug=Debug (-Og)
upesy_rp2040_devkitpicoprobe.menu.opt.Debug.build.flags.optimize=-Og
upesy_rp2040_devkitpicoprobe.menu.dbgport.Disabled=Disabled
upesy_rp2040_devkitpicoprobe.menu.dbgport.Disabled.build.debug_port=
upesy_rp2040_devkitpicoprobe.menu.dbgport.Serial=Serial
upesy_rp2040_devkitpicoprobe.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial
upesy_rp2040_devkitpicoprobe.menu.dbgport.Serial1=Serial1
upesy_rp2040_devkitpicoprobe.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1
upesy_rp2040_devkitpicoprobe.menu.dbgport.Serial2=Serial2
upesy_rp2040_devkitpicoprobe.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2
upesy_rp2040_devkitpicoprobe.menu.dbglvl.None=None
upesy_rp2040_devkitpicoprobe.menu.dbglvl.None.build.debug_level=
upesy_rp2040_devkitpicoprobe.menu.dbglvl.Core=Core
upesy_rp2040_devkitpicoprobe.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE
upesy_rp2040_devkitpicoprobe.menu.dbglvl.SPI=SPI
upesy_rp2040_devkitpicoprobe.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI
upesy_rp2040_devkitpicoprobe.menu.dbglvl.Wire=Wire
upesy_rp2040_devkitpicoprobe.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE
upesy_rp2040_devkitpicoprobe.menu.dbglvl.All=All
upesy_rp2040_devkitpicoprobe.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE
upesy_rp2040_devkitpicoprobe.menu.dbglvl.NDEBUG=NDEBUG
upesy_rp2040_devkitpicoprobe.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
upesy_rp2040_devkitpicoprobe.menu.usbstack.picosdk=Pico SDK
upesy_rp2040_devkitpicoprobe.menu.usbstack.picosdk.build.usbstack_flags="-I{runtime.platform.path}/tools/libpico"
upesy_rp2040_devkitpicoprobe.menu.usbstack.tinyusb=Adafruit TinyUSB
upesy_rp2040_devkitpicoprobe.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino"
# -----------------------------------
# uPesy RP2040 DevKit (pico-debug)
# -----------------------------------
upesy_rp2040_devkitpicodebug.name=uPesy RP2040 DevKit (pico-debug)
upesy_rp2040_devkitpicodebug.vid.0=0x1209
upesy_rp2040_devkitpicodebug.pid.0=0x2488
upesy_rp2040_devkitpicodebug.build.usbpid=-DSERIALUSB_PID=0x1007
upesy_rp2040_devkitpicodebug.build.board=UPESY_RP2040_DEVKIT
upesy_rp2040_devkitpicodebug.build.mcu=cortex-m0plus
upesy_rp2040_devkitpicodebug.build.variant=upesy_rp2040_devkit
upesy_rp2040_devkitpicodebug.upload.tool=picodebug
upesy_rp2040_devkitpicodebug.upload.maximum_size=2097152
upesy_rp2040_devkitpicodebug.upload.maximum_data_size=245760
upesy_rp2040_devkitpicodebug.upload.wait_for_upload_port=true
upesy_rp2040_devkitpicodebug.upload.erase_cmd=
upesy_rp2040_devkitpicodebug.serial.disableDTR=false
upesy_rp2040_devkitpicodebug.serial.disableRTS=false
upesy_rp2040_devkitpicodebug.build.f_cpu=125000000
upesy_rp2040_devkitpicodebug.build.led=
upesy_rp2040_devkitpicodebug.build.core=rp2040
upesy_rp2040_devkitpicodebug.build.mcu=rp2040
upesy_rp2040_devkitpicodebug.build.ldscript=memmap_default.ld
upesy_rp2040_devkitpicodebug.build.ram_length=240k
upesy_rp2040_devkitpicodebug.build.boot2=boot2_w25q080_2_padded_checksum
upesy_rp2040_devkitpicodebug.build.vid=0x2e8a
upesy_rp2040_devkitpicodebug.build.pid=0x1007
upesy_rp2040_devkitpicodebug.build.usb_manufacturer="uPesy"
upesy_rp2040_devkitpicodebug.build.usb_product="RP2040 DevKit (pico-debug)"
upesy_rp2040_devkitpicodebug.menu.flash.2097152_0=2MB (no FS)
upesy_rp2040_devkitpicodebug.menu.flash.2097152_0.upload.maximum_size=2093056
upesy_rp2040_devkitpicodebug.menu.flash.2097152_0.build.flash_length=2093056
upesy_rp2040_devkitpicodebug.menu.flash.2097152_0.build.eeprom_start=270528512
upesy_rp2040_devkitpicodebug.menu.flash.2097152_0.build.fs_start=270528512
upesy_rp2040_devkitpicodebug.menu.flash.2097152_0.build.fs_end=270528512
upesy_rp2040_devkitpicodebug.menu.flash.2097152_65536=2MB (Sketch: 1984KB, FS: 64KB)
upesy_rp2040_devkitpicodebug.menu.flash.2097152_65536.upload.maximum_size=2027520
upesy_rp2040_devkitpicodebug.menu.flash.2097152_65536.build.flash_length=2027520
upesy_rp2040_devkitpicodebug.menu.flash.2097152_65536.build.eeprom_start=270528512
upesy_rp2040_devkitpicodebug.menu.flash.2097152_65536.build.fs_start=270462976
upesy_rp2040_devkitpicodebug.menu.flash.2097152_65536.build.fs_end=270528512
upesy_rp2040_devkitpicodebug.menu.flash.2097152_131072=2MB (Sketch: 1920KB, FS: 128KB)
upesy_rp2040_devkitpicodebug.menu.flash.2097152_131072.upload.maximum_size=1961984
upesy_rp2040_devkitpicodebug.menu.flash.2097152_131072.build.flash_length=1961984
upesy_rp2040_devkitpicodebug.menu.flash.2097152_131072.build.eeprom_start=270528512
upesy_rp2040_devkitpicodebug.menu.flash.2097152_131072.build.fs_start=270397440
upesy_rp2040_devkitpicodebug.menu.flash.2097152_131072.build.fs_end=270528512
upesy_rp2040_devkitpicodebug.menu.flash.2097152_262144=2MB (Sketch: 1792KB, FS: 256KB)
upesy_rp2040_devkitpicodebug.menu.flash.2097152_262144.upload.maximum_size=1830912
upesy_rp2040_devkitpicodebug.menu.flash.2097152_262144.build.flash_length=1830912
upesy_rp2040_devkitpicodebug.menu.flash.2097152_262144.build.eeprom_start=270528512
upesy_rp2040_devkitpicodebug.menu.flash.2097152_262144.build.fs_start=270266368
upesy_rp2040_devkitpicodebug.menu.flash.2097152_262144.build.fs_end=270528512
upesy_rp2040_devkitpicodebug.menu.flash.2097152_524288=2MB (Sketch: 1536KB, FS: 512KB)
upesy_rp2040_devkitpicodebug.menu.flash.2097152_524288.upload.maximum_size=1568768
upesy_rp2040_devkitpicodebug.menu.flash.2097152_524288.build.flash_length=1568768
upesy_rp2040_devkitpicodebug.menu.flash.2097152_524288.build.eeprom_start=270528512
upesy_rp2040_devkitpicodebug.menu.flash.2097152_524288.build.fs_start=270004224
upesy_rp2040_devkitpicodebug.menu.flash.2097152_524288.build.fs_end=270528512
upesy_rp2040_devkitpicodebug.menu.flash.2097152_1048576=2MB (Sketch: 1MB, FS: 1MB)
upesy_rp2040_devkitpicodebug.menu.flash.2097152_1048576.upload.maximum_size=1044480
upesy_rp2040_devkitpicodebug.menu.flash.2097152_1048576.build.flash_length=1044480
upesy_rp2040_devkitpicodebug.menu.flash.2097152_1048576.build.eeprom_start=270528512
upesy_rp2040_devkitpicodebug.menu.flash.2097152_1048576.build.fs_start=269479936
upesy_rp2040_devkitpicodebug.menu.flash.2097152_1048576.build.fs_end=270528512
upesy_rp2040_devkitpicodebug.menu.freq.125=125 MHz
upesy_rp2040_devkitpicodebug.menu.freq.125.build.f_cpu=125000000L
upesy_rp2040_devkitpicodebug.menu.freq.50=50 MHz
upesy_rp2040_devkitpicodebug.menu.freq.50.build.f_cpu=50000000L
upesy_rp2040_devkitpicodebug.menu.freq.100=100 MHz
upesy_rp2040_devkitpicodebug.menu.freq.100.build.f_cpu=100000000L
upesy_rp2040_devkitpicodebug.menu.freq.133=133 MHz
upesy_rp2040_devkitpicodebug.menu.freq.133.build.f_cpu=133000000L
upesy_rp2040_devkitpicodebug.menu.freq.150=150 MHz (Overclock)
upesy_rp2040_devkitpicodebug.menu.freq.150.build.f_cpu=150000000L
upesy_rp2040_devkitpicodebug.menu.freq.175=175 MHz (Overclock)
upesy_rp2040_devkitpicodebug.menu.freq.175.build.f_cpu=175000000L
upesy_rp2040_devkitpicodebug.menu.freq.200=200 MHz (Overclock)
upesy_rp2040_devkitpicodebug.menu.freq.200.build.f_cpu=200000000L
upesy_rp2040_devkitpicodebug.menu.freq.225=225 MHz (Overclock)
upesy_rp2040_devkitpicodebug.menu.freq.225.build.f_cpu=225000000L
upesy_rp2040_devkitpicodebug.menu.freq.250=250 MHz (Overclock)
upesy_rp2040_devkitpicodebug.menu.freq.250.build.f_cpu=250000000L
upesy_rp2040_devkitpicodebug.menu.freq.275=275 MHz (Overclock)
upesy_rp2040_devkitpicodebug.menu.freq.275.build.f_cpu=275000000L
upesy_rp2040_devkitpicodebug.menu.freq.300=300 MHz (Overclock)
upesy_rp2040_devkitpicodebug.menu.freq.300.build.f_cpu=300000000L
upesy_rp2040_devkitpicodebug.menu.opt.Small=Small (-Os) (standard)
upesy_rp2040_devkitpicodebug.menu.opt.Small.build.flags.optimize=-Os
upesy_rp2040_devkitpicodebug.menu.opt.Optimize=Optimize (-O)
upesy_rp2040_devkitpicodebug.menu.opt.Optimize.build.flags.optimize=-O
upesy_rp2040_devkitpicodebug.menu.opt.Optimize2=Optimize More (-O2)
upesy_rp2040_devkitpicodebug.menu.opt.Optimize2.build.flags.optimize=-O2
upesy_rp2040_devkitpicodebug.menu.opt.Optimize3=Optimize Even More (-O3)
upesy_rp2040_devkitpicodebug.menu.opt.Optimize3.build.flags.optimize=-O3
upesy_rp2040_devkitpicodebug.menu.opt.Fast=Fast (-Ofast) (maybe slower)
upesy_rp2040_devkitpicodebug.menu.opt.Fast.build.flags.optimize=-Ofast
upesy_rp2040_devkitpicodebug.menu.opt.Debug=Debug (-Og)
upesy_rp2040_devkitpicodebug.menu.opt.Debug.build.flags.optimize=-Og
upesy_rp2040_devkitpicodebug.menu.dbgport.Disabled=Disabled
upesy_rp2040_devkitpicodebug.menu.dbgport.Disabled.build.debug_port=
upesy_rp2040_devkitpicodebug.menu.dbgport.Serial=Serial
upesy_rp2040_devkitpicodebug.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial
upesy_rp2040_devkitpicodebug.menu.dbgport.Serial1=Serial1
upesy_rp2040_devkitpicodebug.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1
upesy_rp2040_devkitpicodebug.menu.dbgport.Serial2=Serial2
upesy_rp2040_devkitpicodebug.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2
upesy_rp2040_devkitpicodebug.menu.dbglvl.None=None
upesy_rp2040_devkitpicodebug.menu.dbglvl.None.build.debug_level=
upesy_rp2040_devkitpicodebug.menu.dbglvl.Core=Core
upesy_rp2040_devkitpicodebug.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE
upesy_rp2040_devkitpicodebug.menu.dbglvl.SPI=SPI
upesy_rp2040_devkitpicodebug.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI
upesy_rp2040_devkitpicodebug.menu.dbglvl.Wire=Wire
upesy_rp2040_devkitpicodebug.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE
upesy_rp2040_devkitpicodebug.menu.dbglvl.All=All
upesy_rp2040_devkitpicodebug.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE
upesy_rp2040_devkitpicodebug.menu.dbglvl.NDEBUG=NDEBUG
upesy_rp2040_devkitpicodebug.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
upesy_rp2040_devkitpicodebug.menu.usbstack.nousb=No USB
upesy_rp2040_devkitpicodebug.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico"
......@@ -50,6 +50,9 @@
{
"name": "Melopero Shake RP2040"
},
{
"name": "uPesy RP2040 DevKit"
},
{
"name": "Generic RP2040 Module"
}
......
......@@ -155,3 +155,4 @@ MakeBoard("generic", "Generic", "RP2040", "0x2e8a", "0xf00a", "GENERIC_RP2040",
MakeBoard("challenger_2040_wifi", "iLabs", "Challenger 2040 WiFi", "0x2e8a", "0x1006", "CHALLENGER_2040_WIFI_RP2040", 8, "boot2_w25q080_2_padded_checksum")
MakeBoard("challenger_2040_lte", "iLabs", "Challenger 2040 LTE", "0x2e8a", "0x100b", "CHALLENGER_2040_LTE_RP2040", 8, "boot2_w25q080_2_padded_checksum")
MakeBoard("melopero_shake_rp2040", "Melopero", "Shake RP2040", "0x2e8a", "0x1005", "MELOPERO_SHAKE_RP2040", 16, "boot2_w25q080_2_padded_checksum")
MakeBoard("upesy_rp2040_devkit", "uPesy", "RP2040 DevKit", "0x2e8a", "0x1007", "UPESY_RP2040_DEVKIT", 2, "boot2_w25q080_2_padded_checksum")
#pragma once
// Pin definitions taken from:
// https://datasheets.raspberrypi.org/pico/pico-datasheet.pdf
// LEDs
#define PIN_LED (25u)
// Serial
#define PIN_SERIAL1_TX (0u)
#define PIN_SERIAL1_RX (1u)
#define PIN_SERIAL2_TX (8u)
#define PIN_SERIAL2_RX (9u)
// SPI
#define PIN_SPI0_MISO (16u)
#define PIN_SPI0_MOSI (19u)
#define PIN_SPI0_SCK (18u)
#define PIN_SPI0_SS (17u)
#define PIN_SPI1_MISO (12u)
#define PIN_SPI1_MOSI (15u)
#define PIN_SPI1_SCK (14u)
#define PIN_SPI1_SS (13u)
// Wire
#define PIN_WIRE0_SDA (4u)
#define PIN_WIRE0_SCL (5u)
#define PIN_WIRE1_SDA (22u)
#define PIN_WIRE1_SCL (23u)
#define SERIAL_HOWMANY (3u)
#define SPI_HOWMANY (2u)
#define WIRE_HOWMANY (2u)
#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