diff --git a/boards.txt b/boards.txt index 98c9be876..9b30e8c20 100644 --- a/boards.txt +++ b/boards.txt @@ -23080,6 +23080,369 @@ nullbits_bit_c_pro.menu.uploadmethod.picoprobe_cmsis_dap.upload.maximum_data_siz nullbits_bit_c_pro.menu.uploadmethod.picoprobe_cmsis_dap.upload.tool=picoprobe_cmsis_dap nullbits_bit_c_pro.menu.uploadmethod.picoprobe_cmsis_dap.upload.tool.default=picoprobe_cmsis_dap +# ----------------------------------- +# Olimex Pico2BB48 +# ----------------------------------- +olimex_pico2bb48.name=Olimex Pico2BB48 +olimex_pico2bb48.vid.0=0x15ba +olimex_pico2bb48.pid.0=0x0026 +olimex_pico2bb48.vid.1=0x15ba +olimex_pico2bb48.pid.1=0x0126 +olimex_pico2bb48.vid.2=0x15ba +olimex_pico2bb48.pid.2=0x4026 +olimex_pico2bb48.vid.3=0x15ba +olimex_pico2bb48.pid.3=0x4126 +olimex_pico2bb48.vid.4=0x15ba +olimex_pico2bb48.pid.4=0x8026 +olimex_pico2bb48.vid.5=0x15ba +olimex_pico2bb48.pid.5=0x8126 +olimex_pico2bb48.vid.6=0x15ba +olimex_pico2bb48.pid.6=0xc026 +olimex_pico2bb48.vid.7=0x15ba +olimex_pico2bb48.pid.7=0xc126 +olimex_pico2bb48.upload_port.0.vid=0x15ba +olimex_pico2bb48.upload_port.0.pid=0x0026 +olimex_pico2bb48.upload_port.1.vid=0x15ba +olimex_pico2bb48.upload_port.1.pid=0x0126 +olimex_pico2bb48.upload_port.2.vid=0x15ba +olimex_pico2bb48.upload_port.2.pid=0x4026 +olimex_pico2bb48.upload_port.3.vid=0x15ba +olimex_pico2bb48.upload_port.3.pid=0x4126 +olimex_pico2bb48.upload_port.4.vid=0x15ba +olimex_pico2bb48.upload_port.4.pid=0x8026 +olimex_pico2bb48.upload_port.5.vid=0x15ba +olimex_pico2bb48.upload_port.5.pid=0x8126 +olimex_pico2bb48.upload_port.6.vid=0x15ba +olimex_pico2bb48.upload_port.6.pid=0xc026 +olimex_pico2bb48.upload_port.7.vid=0x15ba +olimex_pico2bb48.upload_port.7.pid=0xc126 +olimex_pico2bb48.build.usbvid=-DUSBD_VID=0x15ba +olimex_pico2bb48.build.usbpid=-DUSBD_PID=0x0026 +olimex_pico2bb48.build.usbpwr=-DUSBD_MAX_POWER_MA=500 +olimex_pico2bb48.build.board=OLIMEX_PICO2BB48 +olimex_pico2bb48.build.variant=olimex_pico2bb48 +olimex_pico2bb48.upload.maximum_size=16777216 +olimex_pico2bb48.upload.wait_for_upload_port=true +olimex_pico2bb48.upload.erase_cmd= +olimex_pico2bb48.serial.disableDTR=false +olimex_pico2bb48.serial.disableRTS=false +olimex_pico2bb48.build.f_cpu=125000000 +olimex_pico2bb48.build.led= +olimex_pico2bb48.build.core=rp2040 +olimex_pico2bb48.build.ldscript=memmap_default.ld +olimex_pico2bb48.build.boot2=none +olimex_pico2bb48.build.usb_manufacturer="Olimex" +olimex_pico2bb48.build.usb_product="Pico2BB48" +olimex_pico2bb48.build.psram_length=0x000000 +olimex_pico2bb48.menu.flash.16777216_0=16MB (no FS) +olimex_pico2bb48.menu.flash.16777216_0.upload.maximum_size=16769024 +olimex_pico2bb48.menu.flash.16777216_0.build.flash_total=16777216 +olimex_pico2bb48.menu.flash.16777216_0.build.flash_length=16769024 +olimex_pico2bb48.menu.flash.16777216_0.build.eeprom_start=285204480 +olimex_pico2bb48.menu.flash.16777216_0.build.fs_start=285204480 +olimex_pico2bb48.menu.flash.16777216_0.build.fs_end=285204480 +olimex_pico2bb48.menu.flash.16777216_65536=16MB (Sketch: 16320KB, FS: 64KB) +olimex_pico2bb48.menu.flash.16777216_65536.upload.maximum_size=16703488 +olimex_pico2bb48.menu.flash.16777216_65536.build.flash_total=16777216 +olimex_pico2bb48.menu.flash.16777216_65536.build.flash_length=16703488 +olimex_pico2bb48.menu.flash.16777216_65536.build.eeprom_start=285204480 +olimex_pico2bb48.menu.flash.16777216_65536.build.fs_start=285138944 +olimex_pico2bb48.menu.flash.16777216_65536.build.fs_end=285204480 +olimex_pico2bb48.menu.flash.16777216_131072=16MB (Sketch: 16256KB, FS: 128KB) +olimex_pico2bb48.menu.flash.16777216_131072.upload.maximum_size=16637952 +olimex_pico2bb48.menu.flash.16777216_131072.build.flash_total=16777216 +olimex_pico2bb48.menu.flash.16777216_131072.build.flash_length=16637952 +olimex_pico2bb48.menu.flash.16777216_131072.build.eeprom_start=285204480 +olimex_pico2bb48.menu.flash.16777216_131072.build.fs_start=285073408 +olimex_pico2bb48.menu.flash.16777216_131072.build.fs_end=285204480 +olimex_pico2bb48.menu.flash.16777216_262144=16MB (Sketch: 16128KB, FS: 256KB) +olimex_pico2bb48.menu.flash.16777216_262144.upload.maximum_size=16506880 +olimex_pico2bb48.menu.flash.16777216_262144.build.flash_total=16777216 +olimex_pico2bb48.menu.flash.16777216_262144.build.flash_length=16506880 +olimex_pico2bb48.menu.flash.16777216_262144.build.eeprom_start=285204480 +olimex_pico2bb48.menu.flash.16777216_262144.build.fs_start=284942336 +olimex_pico2bb48.menu.flash.16777216_262144.build.fs_end=285204480 +olimex_pico2bb48.menu.flash.16777216_524288=16MB (Sketch: 15872KB, FS: 512KB) +olimex_pico2bb48.menu.flash.16777216_524288.upload.maximum_size=16244736 +olimex_pico2bb48.menu.flash.16777216_524288.build.flash_total=16777216 +olimex_pico2bb48.menu.flash.16777216_524288.build.flash_length=16244736 +olimex_pico2bb48.menu.flash.16777216_524288.build.eeprom_start=285204480 +olimex_pico2bb48.menu.flash.16777216_524288.build.fs_start=284680192 +olimex_pico2bb48.menu.flash.16777216_524288.build.fs_end=285204480 +olimex_pico2bb48.menu.flash.16777216_1048576=16MB (Sketch: 15MB, FS: 1MB) +olimex_pico2bb48.menu.flash.16777216_1048576.upload.maximum_size=15720448 +olimex_pico2bb48.menu.flash.16777216_1048576.build.flash_total=16777216 +olimex_pico2bb48.menu.flash.16777216_1048576.build.flash_length=15720448 +olimex_pico2bb48.menu.flash.16777216_1048576.build.eeprom_start=285204480 +olimex_pico2bb48.menu.flash.16777216_1048576.build.fs_start=284155904 +olimex_pico2bb48.menu.flash.16777216_1048576.build.fs_end=285204480 +olimex_pico2bb48.menu.flash.16777216_2097152=16MB (Sketch: 14MB, FS: 2MB) +olimex_pico2bb48.menu.flash.16777216_2097152.upload.maximum_size=14671872 +olimex_pico2bb48.menu.flash.16777216_2097152.build.flash_total=16777216 +olimex_pico2bb48.menu.flash.16777216_2097152.build.flash_length=14671872 +olimex_pico2bb48.menu.flash.16777216_2097152.build.eeprom_start=285204480 +olimex_pico2bb48.menu.flash.16777216_2097152.build.fs_start=283107328 +olimex_pico2bb48.menu.flash.16777216_2097152.build.fs_end=285204480 +olimex_pico2bb48.menu.flash.16777216_3145728=16MB (Sketch: 13MB, FS: 3MB) +olimex_pico2bb48.menu.flash.16777216_3145728.upload.maximum_size=13623296 +olimex_pico2bb48.menu.flash.16777216_3145728.build.flash_total=16777216 +olimex_pico2bb48.menu.flash.16777216_3145728.build.flash_length=13623296 +olimex_pico2bb48.menu.flash.16777216_3145728.build.eeprom_start=285204480 +olimex_pico2bb48.menu.flash.16777216_3145728.build.fs_start=282058752 +olimex_pico2bb48.menu.flash.16777216_3145728.build.fs_end=285204480 +olimex_pico2bb48.menu.flash.16777216_4194304=16MB (Sketch: 12MB, FS: 4MB) +olimex_pico2bb48.menu.flash.16777216_4194304.upload.maximum_size=12574720 +olimex_pico2bb48.menu.flash.16777216_4194304.build.flash_total=16777216 +olimex_pico2bb48.menu.flash.16777216_4194304.build.flash_length=12574720 +olimex_pico2bb48.menu.flash.16777216_4194304.build.eeprom_start=285204480 +olimex_pico2bb48.menu.flash.16777216_4194304.build.fs_start=281010176 +olimex_pico2bb48.menu.flash.16777216_4194304.build.fs_end=285204480 +olimex_pico2bb48.menu.flash.16777216_5242880=16MB (Sketch: 11MB, FS: 5MB) +olimex_pico2bb48.menu.flash.16777216_5242880.upload.maximum_size=11526144 +olimex_pico2bb48.menu.flash.16777216_5242880.build.flash_total=16777216 +olimex_pico2bb48.menu.flash.16777216_5242880.build.flash_length=11526144 +olimex_pico2bb48.menu.flash.16777216_5242880.build.eeprom_start=285204480 +olimex_pico2bb48.menu.flash.16777216_5242880.build.fs_start=279961600 +olimex_pico2bb48.menu.flash.16777216_5242880.build.fs_end=285204480 +olimex_pico2bb48.menu.flash.16777216_6291456=16MB (Sketch: 10MB, FS: 6MB) +olimex_pico2bb48.menu.flash.16777216_6291456.upload.maximum_size=10477568 +olimex_pico2bb48.menu.flash.16777216_6291456.build.flash_total=16777216 +olimex_pico2bb48.menu.flash.16777216_6291456.build.flash_length=10477568 +olimex_pico2bb48.menu.flash.16777216_6291456.build.eeprom_start=285204480 +olimex_pico2bb48.menu.flash.16777216_6291456.build.fs_start=278913024 +olimex_pico2bb48.menu.flash.16777216_6291456.build.fs_end=285204480 +olimex_pico2bb48.menu.flash.16777216_7340032=16MB (Sketch: 9MB, FS: 7MB) +olimex_pico2bb48.menu.flash.16777216_7340032.upload.maximum_size=9428992 +olimex_pico2bb48.menu.flash.16777216_7340032.build.flash_total=16777216 +olimex_pico2bb48.menu.flash.16777216_7340032.build.flash_length=9428992 +olimex_pico2bb48.menu.flash.16777216_7340032.build.eeprom_start=285204480 +olimex_pico2bb48.menu.flash.16777216_7340032.build.fs_start=277864448 +olimex_pico2bb48.menu.flash.16777216_7340032.build.fs_end=285204480 +olimex_pico2bb48.menu.flash.16777216_8388608=16MB (Sketch: 8MB, FS: 8MB) +olimex_pico2bb48.menu.flash.16777216_8388608.upload.maximum_size=8380416 +olimex_pico2bb48.menu.flash.16777216_8388608.build.flash_total=16777216 +olimex_pico2bb48.menu.flash.16777216_8388608.build.flash_length=8380416 +olimex_pico2bb48.menu.flash.16777216_8388608.build.eeprom_start=285204480 +olimex_pico2bb48.menu.flash.16777216_8388608.build.fs_start=276815872 +olimex_pico2bb48.menu.flash.16777216_8388608.build.fs_end=285204480 +olimex_pico2bb48.menu.flash.16777216_9437184=16MB (Sketch: 7MB, FS: 9MB) +olimex_pico2bb48.menu.flash.16777216_9437184.upload.maximum_size=7331840 +olimex_pico2bb48.menu.flash.16777216_9437184.build.flash_total=16777216 +olimex_pico2bb48.menu.flash.16777216_9437184.build.flash_length=7331840 +olimex_pico2bb48.menu.flash.16777216_9437184.build.eeprom_start=285204480 +olimex_pico2bb48.menu.flash.16777216_9437184.build.fs_start=275767296 +olimex_pico2bb48.menu.flash.16777216_9437184.build.fs_end=285204480 +olimex_pico2bb48.menu.flash.16777216_10485760=16MB (Sketch: 6MB, FS: 10MB) +olimex_pico2bb48.menu.flash.16777216_10485760.upload.maximum_size=6283264 +olimex_pico2bb48.menu.flash.16777216_10485760.build.flash_total=16777216 +olimex_pico2bb48.menu.flash.16777216_10485760.build.flash_length=6283264 +olimex_pico2bb48.menu.flash.16777216_10485760.build.eeprom_start=285204480 +olimex_pico2bb48.menu.flash.16777216_10485760.build.fs_start=274718720 +olimex_pico2bb48.menu.flash.16777216_10485760.build.fs_end=285204480 +olimex_pico2bb48.menu.flash.16777216_11534336=16MB (Sketch: 5MB, FS: 11MB) +olimex_pico2bb48.menu.flash.16777216_11534336.upload.maximum_size=5234688 +olimex_pico2bb48.menu.flash.16777216_11534336.build.flash_total=16777216 +olimex_pico2bb48.menu.flash.16777216_11534336.build.flash_length=5234688 +olimex_pico2bb48.menu.flash.16777216_11534336.build.eeprom_start=285204480 +olimex_pico2bb48.menu.flash.16777216_11534336.build.fs_start=273670144 +olimex_pico2bb48.menu.flash.16777216_11534336.build.fs_end=285204480 +olimex_pico2bb48.menu.flash.16777216_12582912=16MB (Sketch: 4MB, FS: 12MB) +olimex_pico2bb48.menu.flash.16777216_12582912.upload.maximum_size=4186112 +olimex_pico2bb48.menu.flash.16777216_12582912.build.flash_total=16777216 +olimex_pico2bb48.menu.flash.16777216_12582912.build.flash_length=4186112 +olimex_pico2bb48.menu.flash.16777216_12582912.build.eeprom_start=285204480 +olimex_pico2bb48.menu.flash.16777216_12582912.build.fs_start=272621568 +olimex_pico2bb48.menu.flash.16777216_12582912.build.fs_end=285204480 +olimex_pico2bb48.menu.flash.16777216_13631488=16MB (Sketch: 3MB, FS: 13MB) +olimex_pico2bb48.menu.flash.16777216_13631488.upload.maximum_size=3137536 +olimex_pico2bb48.menu.flash.16777216_13631488.build.flash_total=16777216 +olimex_pico2bb48.menu.flash.16777216_13631488.build.flash_length=3137536 +olimex_pico2bb48.menu.flash.16777216_13631488.build.eeprom_start=285204480 +olimex_pico2bb48.menu.flash.16777216_13631488.build.fs_start=271572992 +olimex_pico2bb48.menu.flash.16777216_13631488.build.fs_end=285204480 +olimex_pico2bb48.menu.flash.16777216_14680064=16MB (Sketch: 2MB, FS: 14MB) +olimex_pico2bb48.menu.flash.16777216_14680064.upload.maximum_size=2088960 +olimex_pico2bb48.menu.flash.16777216_14680064.build.flash_total=16777216 +olimex_pico2bb48.menu.flash.16777216_14680064.build.flash_length=2088960 +olimex_pico2bb48.menu.flash.16777216_14680064.build.eeprom_start=285204480 +olimex_pico2bb48.menu.flash.16777216_14680064.build.fs_start=270524416 +olimex_pico2bb48.menu.flash.16777216_14680064.build.fs_end=285204480 +olimex_pico2bb48.menu.flash.16777216_15728640=16MB (Sketch: 1MB, FS: 15MB) +olimex_pico2bb48.menu.flash.16777216_15728640.upload.maximum_size=1040384 +olimex_pico2bb48.menu.flash.16777216_15728640.build.flash_total=16777216 +olimex_pico2bb48.menu.flash.16777216_15728640.build.flash_length=1040384 +olimex_pico2bb48.menu.flash.16777216_15728640.build.eeprom_start=285204480 +olimex_pico2bb48.menu.flash.16777216_15728640.build.fs_start=269475840 +olimex_pico2bb48.menu.flash.16777216_15728640.build.fs_end=285204480 +olimex_pico2bb48.menu.arch.arm=ARM +olimex_pico2bb48.menu.arch.arm.build.chip=rp2350 +olimex_pico2bb48.menu.arch.arm.build.toolchain=arm-none-eabi +olimex_pico2bb48.menu.arch.arm.build.toolchainpkg=pqt-gcc +olimex_pico2bb48.menu.arch.arm.build.toolchainopts=-mcpu=cortex-m33 -mthumb -march=armv8-m.main+fp+dsp -mfloat-abi=softfp -mcmse +olimex_pico2bb48.menu.arch.arm.build.uf2family=--family rp2350-arm-s --abs-block +olimex_pico2bb48.menu.arch.arm.build.mcu=cortex-m33 +olimex_pico2bb48.menu.arch.riscv=RISC-V +olimex_pico2bb48.menu.arch.riscv.build.chip=rp2350-riscv +olimex_pico2bb48.menu.arch.riscv.build.toolchain=riscv32-unknown-elf +olimex_pico2bb48.menu.arch.riscv.build.toolchainpkg=pqt-gcc-riscv +olimex_pico2bb48.menu.arch.riscv.build.toolchainopts=-march=rv32imac_zicsr_zifencei_zba_zbb_zbs_zbkb -mabi=ilp32 +olimex_pico2bb48.menu.arch.riscv.build.uf2family=--family rp2350-riscv --abs-block +olimex_pico2bb48.menu.arch.riscv.build.mcu=rv32imac +olimex_pico2bb48.menu.freq.150=150 MHz +olimex_pico2bb48.menu.freq.150.build.f_cpu=150000000L +olimex_pico2bb48.menu.freq.50=50 MHz +olimex_pico2bb48.menu.freq.50.build.f_cpu=50000000L +olimex_pico2bb48.menu.freq.100=100 MHz +olimex_pico2bb48.menu.freq.100.build.f_cpu=100000000L +olimex_pico2bb48.menu.freq.120=120 MHz +olimex_pico2bb48.menu.freq.120.build.f_cpu=120000000L +olimex_pico2bb48.menu.freq.125=125 MHz +olimex_pico2bb48.menu.freq.125.build.f_cpu=125000000L +olimex_pico2bb48.menu.freq.128=128 MHz +olimex_pico2bb48.menu.freq.128.build.f_cpu=128000000L +olimex_pico2bb48.menu.freq.133=133 MHz +olimex_pico2bb48.menu.freq.133.build.f_cpu=133000000L +olimex_pico2bb48.menu.freq.176=176 MHz (Overclock) +olimex_pico2bb48.menu.freq.176.build.f_cpu=176000000L +olimex_pico2bb48.menu.freq.200=200 MHz (Overclock) +olimex_pico2bb48.menu.freq.200.build.f_cpu=200000000L +olimex_pico2bb48.menu.freq.225=225 MHz (Overclock) +olimex_pico2bb48.menu.freq.225.build.f_cpu=225000000L +olimex_pico2bb48.menu.freq.240=240 MHz (Overclock) +olimex_pico2bb48.menu.freq.240.build.f_cpu=240000000L +olimex_pico2bb48.menu.freq.250=250 MHz (Overclock) +olimex_pico2bb48.menu.freq.250.build.f_cpu=250000000L +olimex_pico2bb48.menu.freq.276=276 MHz (Overclock) +olimex_pico2bb48.menu.freq.276.build.f_cpu=276000000L +olimex_pico2bb48.menu.freq.300=300 MHz (Overclock) +olimex_pico2bb48.menu.freq.300.build.f_cpu=300000000L +olimex_pico2bb48.menu.psram.0mb=0MByte PSRAM +olimex_pico2bb48.menu.psram.0mb.build.psram_length=0x000000 +olimex_pico2bb48.menu.psram.2mb=2MByte PSRAM +olimex_pico2bb48.menu.psram.2mb.build.psram_length=0x200000 +olimex_pico2bb48.menu.psram.4mb=4MByte PSRAM +olimex_pico2bb48.menu.psram.4mb.build.psram_length=0x400000 +olimex_pico2bb48.menu.psram.8mb=8MByte PSRAM +olimex_pico2bb48.menu.psram.8mb.build.psram_length=0x800000 +olimex_pico2bb48.menu.psramfreq.freq109=109 MHz +olimex_pico2bb48.menu.psramfreq.freq109.build.psram_freq=-DRP2350_PSRAM_MAX_SCK_HZ=109000000 +olimex_pico2bb48.menu.psramfreq.freq133=133 MHz +olimex_pico2bb48.menu.psramfreq.freq133.build.psram_freq=-DRP2350_PSRAM_MAX_SCK_HZ=133000000 +olimex_pico2bb48.menu.opt.Small=Small (-Os) (standard) +olimex_pico2bb48.menu.opt.Small.build.flags.optimize=-Os +olimex_pico2bb48.menu.opt.Optimize=Optimize (-O) +olimex_pico2bb48.menu.opt.Optimize.build.flags.optimize=-O +olimex_pico2bb48.menu.opt.Optimize2=Optimize More (-O2) +olimex_pico2bb48.menu.opt.Optimize2.build.flags.optimize=-O2 +olimex_pico2bb48.menu.opt.Optimize3=Optimize Even More (-O3) +olimex_pico2bb48.menu.opt.Optimize3.build.flags.optimize=-O3 +olimex_pico2bb48.menu.opt.Fast=Fast (-Ofast) (maybe slower) +olimex_pico2bb48.menu.opt.Fast.build.flags.optimize=-Ofast +olimex_pico2bb48.menu.opt.Debug=Debug (-Og) +olimex_pico2bb48.menu.opt.Debug.build.flags.optimize=-Og +olimex_pico2bb48.menu.opt.Disabled=Disabled (-O0) +olimex_pico2bb48.menu.opt.Disabled.build.flags.optimize=-O0 +olimex_pico2bb48.menu.os.none=None +olimex_pico2bb48.menu.os.none.build.os= +olimex_pico2bb48.menu.os.freertos=FreeRTOS SMP +olimex_pico2bb48.menu.os.freertos.build.os=-D__FREERTOS +olimex_pico2bb48.menu.profile.Disabled=Disabled +olimex_pico2bb48.menu.profile.Disabled.build.flags.profile= +olimex_pico2bb48.menu.profile.Enabled=Enabled +olimex_pico2bb48.menu.profile.Enabled.build.flags.profile=-pg -D__PROFILE +olimex_pico2bb48.menu.rtti.Disabled=Disabled +olimex_pico2bb48.menu.rtti.Disabled.build.flags.rtti=-fno-rtti +olimex_pico2bb48.menu.rtti.Enabled=Enabled +olimex_pico2bb48.menu.rtti.Enabled.build.flags.rtti= +olimex_pico2bb48.menu.stackprotect.Disabled=Disabled +olimex_pico2bb48.menu.stackprotect.Disabled.build.flags.stackprotect= +olimex_pico2bb48.menu.stackprotect.Enabled=Enabled +olimex_pico2bb48.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector-all +olimex_pico2bb48.menu.exceptions.Disabled=Disabled +olimex_pico2bb48.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions +olimex_pico2bb48.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ +olimex_pico2bb48.menu.exceptions.Enabled=Enabled +olimex_pico2bb48.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions +olimex_pico2bb48.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc +olimex_pico2bb48.menu.dbgport.Disabled=Disabled +olimex_pico2bb48.menu.dbgport.Disabled.build.debug_port= +olimex_pico2bb48.menu.dbgport.Serial=Serial +olimex_pico2bb48.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +olimex_pico2bb48.menu.dbgport.Serial1=Serial1 +olimex_pico2bb48.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +olimex_pico2bb48.menu.dbgport.Serial2=Serial2 +olimex_pico2bb48.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +olimex_pico2bb48.menu.dbgport.SerialSemi=SerialSemi +olimex_pico2bb48.menu.dbgport.SerialSemi.build.debug_port=-DDEBUG_RP2040_PORT=SerialSemi +olimex_pico2bb48.menu.dbglvl.None=None +olimex_pico2bb48.menu.dbglvl.None.build.debug_level= +olimex_pico2bb48.menu.dbglvl.Core=Core +olimex_pico2bb48.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +olimex_pico2bb48.menu.dbglvl.SPI=SPI +olimex_pico2bb48.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +olimex_pico2bb48.menu.dbglvl.Wire=Wire +olimex_pico2bb48.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +olimex_pico2bb48.menu.dbglvl.Bluetooth=Bluetooth +olimex_pico2bb48.menu.dbglvl.Bluetooth.build.debug_level=-DDEBUG_RP2040_BLUETOOTH +olimex_pico2bb48.menu.dbglvl.LWIP=LWIP +olimex_pico2bb48.menu.dbglvl.LWIP.build.debug_level=-DLWIP_DEBUG=1 +olimex_pico2bb48.menu.dbglvl.All=All +olimex_pico2bb48.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE -DDEBUG_RP2040_BLUETOOTH -DLWIP_DEBUG=1 +olimex_pico2bb48.menu.dbglvl.NDEBUG=NDEBUG +olimex_pico2bb48.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +olimex_pico2bb48.menu.usbstack.picosdk=Pico SDK +olimex_pico2bb48.menu.usbstack.picosdk.build.usbstack_flags= +olimex_pico2bb48.menu.usbstack.tinyusb=Adafruit TinyUSB +olimex_pico2bb48.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" +olimex_pico2bb48.menu.usbstack.tinyusb_host=Adafruit TinyUSB Host (native) +olimex_pico2bb48.menu.usbstack.tinyusb_host.build.usbstack_flags=-DUSE_TINYUSB -DUSE_TINYUSB_HOST "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" +olimex_pico2bb48.menu.usbstack.nousb=No USB +olimex_pico2bb48.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico" +olimex_pico2bb48.menu.ipbtstack.ipv4only=IPv4 Only +olimex_pico2bb48.menu.ipbtstack.ipv4only.build.libpicow=liblwip.a +olimex_pico2bb48.menu.ipbtstack.ipv4only.build.libpicowdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 +olimex_pico2bb48.menu.ipbtstack.ipv4ipv6=IPv4 + IPv6 +olimex_pico2bb48.menu.ipbtstack.ipv4ipv6.build.libpicow=liblwip.a +olimex_pico2bb48.menu.ipbtstack.ipv4ipv6.build.libpicowdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 +olimex_pico2bb48.menu.ipbtstack.ipv4btcble=IPv4 + Bluetooth +olimex_pico2bb48.menu.ipbtstack.ipv4btcble.build.libpicow=liblwip-bt.a +olimex_pico2bb48.menu.ipbtstack.ipv4btcble.build.libpicowdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -DENABLE_CLASSIC=1 -DENABLE_BLE=1 -DCYW43_ENABLE_BLUETOOTH=1 +olimex_pico2bb48.menu.ipbtstack.ipv4ipv6btcble=IPv4 + IPv6 + Bluetooth +olimex_pico2bb48.menu.ipbtstack.ipv4ipv6btcble.build.libpicow=liblwip-bt.a +olimex_pico2bb48.menu.ipbtstack.ipv4ipv6btcble.build.libpicowdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 -DENABLE_CLASSIC=1 -DENABLE_BLE=1 -DCYW43_ENABLE_BLUETOOTH=1 +olimex_pico2bb48.menu.ipbtstack.ipv4onlybig=IPv4 Only - 32K +olimex_pico2bb48.menu.ipbtstack.ipv4onlybig.build.libpicow=liblwip.a +olimex_pico2bb48.menu.ipbtstack.ipv4onlybig.build.libpicowdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -D__LWIP_MEMMULT=2 +olimex_pico2bb48.menu.ipbtstack.ipv4ipv6big=IPv4 + IPv6 - 32K +olimex_pico2bb48.menu.ipbtstack.ipv4ipv6big.build.libpicow=liblwip.a +olimex_pico2bb48.menu.ipbtstack.ipv4ipv6big.build.libpicowdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 -D__LWIP_MEMMULT=2 +olimex_pico2bb48.menu.ipbtstack.ipv4btcblebig=IPv4 + Bluetooth - 32K +olimex_pico2bb48.menu.ipbtstack.ipv4btcblebig.build.libpicow=liblwip-bt.a +olimex_pico2bb48.menu.ipbtstack.ipv4btcblebig.build.libpicowdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -DENABLE_CLASSIC=1 -DENABLE_BLE=1 -DCYW43_ENABLE_BLUETOOTH=1 -D__LWIP_MEMMULT=2 +olimex_pico2bb48.menu.ipbtstack.ipv4ipv6btcblebig=IPv4 + IPv6 + Bluetooth - 32K +olimex_pico2bb48.menu.ipbtstack.ipv4ipv6btcblebig.build.libpicow=liblwip-bt.a +olimex_pico2bb48.menu.ipbtstack.ipv4ipv6btcblebig.build.libpicowdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 -DENABLE_CLASSIC=1 -DENABLE_BLE=1 -DCYW43_ENABLE_BLUETOOTH=1 -D__LWIP_MEMMULT=2 +olimex_pico2bb48.menu.uploadmethod.default=Default (UF2) +olimex_pico2bb48.menu.uploadmethod.default.build.ram_length=512k +olimex_pico2bb48.menu.uploadmethod.default.build.debugscript=picoprobe_cmsis_dap.tcl +olimex_pico2bb48.menu.uploadmethod.default.upload.maximum_data_size=524288 +olimex_pico2bb48.menu.uploadmethod.default.upload.tool=uf2conv +olimex_pico2bb48.menu.uploadmethod.default.upload.tool.default=uf2conv +olimex_pico2bb48.menu.uploadmethod.default.upload.tool.network=uf2conv-network +olimex_pico2bb48.menu.uploadmethod.picotool=Picotool +olimex_pico2bb48.menu.uploadmethod.picotool.build.ram_length=512k +olimex_pico2bb48.menu.uploadmethod.picotool.build.debugscript=picoprobe.tcl +olimex_pico2bb48.menu.uploadmethod.picotool.build.picodebugflags=-DENABLE_PICOTOOL_USB +olimex_pico2bb48.menu.uploadmethod.picotool.upload.maximum_data_size=524288 +olimex_pico2bb48.menu.uploadmethod.picotool.upload.tool=picotool +olimex_pico2bb48.menu.uploadmethod.picotool.upload.tool.default=picotool +olimex_pico2bb48.menu.uploadmethod.picoprobe_cmsis_dap=Picoprobe/Debugprobe (CMSIS-DAP) +olimex_pico2bb48.menu.uploadmethod.picoprobe_cmsis_dap.build.ram_length=512k +olimex_pico2bb48.menu.uploadmethod.picoprobe_cmsis_dap.build.debugscript=picoprobe_cmsis_dap.tcl +olimex_pico2bb48.menu.uploadmethod.picoprobe_cmsis_dap.upload.maximum_data_size=524288 +olimex_pico2bb48.menu.uploadmethod.picoprobe_cmsis_dap.upload.tool=picoprobe_cmsis_dap +olimex_pico2bb48.menu.uploadmethod.picoprobe_cmsis_dap.upload.tool.default=picoprobe_cmsis_dap + # ----------------------------------- # Olimex Pico2XL # ----------------------------------- diff --git a/package/package_pico_index.template.json b/package/package_pico_index.template.json index 4e711d2b3..489df2172 100644 --- a/package/package_pico_index.template.json +++ b/package/package_pico_index.template.json @@ -251,6 +251,9 @@ { "name": "nullbits Bit-C PRO" }, + { + "name": "Olimex Pico2BB48" + }, { "name": "Olimex Pico2XL" }, diff --git a/tools/json/olimex_pico2bb48.json b/tools/json/olimex_pico2bb48.json new file mode 100644 index 000000000..b46e95d2b --- /dev/null +++ b/tools/json/olimex_pico2bb48.json @@ -0,0 +1,56 @@ +{ + "build": { + "arduino": { + "earlephilhower": { + "boot2_source": "none.S", + "usb_vid": "0x15BA", + "usb_pid": "0x0026" + } + }, + "core": "earlephilhower", + "cpu": "cortex-m33", + "extra_flags": "-DARDUINO_OLIMEX_PICO2BB48 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=500 ", + "f_cpu": "150000000L", + "hwids": [ + [ + "0x2E8A", + "0x00C0" + ], + [ + "0x15BA", + "0x0026" + ] + ], + "mcu": "rp2350", + "variant": "olimex_pico2bb48" + }, + "debug": { + "jlink_device": "RP2350_M33_0", + "openocd_target": "rp2350.cfg", + "svd_path": "rp2350.svd" + }, + "frameworks": [ + "arduino", + "picosdk" + ], + "name": "Pico2BB48", + "upload": { + "maximum_ram_size": 524288, + "maximum_size": 16777216, + "require_upload_port": true, + "native_usb": true, + "use_1200bps_touch": true, + "wait_for_upload_port": false, + "protocol": "picotool", + "protocols": [ + "blackmagic", + "cmsis-dap", + "jlink", + "raspberrypi-swd", + "picotool", + "picoprobe" + ] + }, + "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", + "vendor": "Olimex" +} \ No newline at end of file diff --git a/tools/makeboards.py b/tools/makeboards.py index 9b826dea1..cc0aebc0a 100755 --- a/tools/makeboards.py +++ b/tools/makeboards.py @@ -373,7 +373,7 @@ def MakeBoard(name, chip, vendor_name, product_name, vid, pid, pwr, boarddefine, BuildPSRAMCS(name) BuildPSRAM(name) BuildPSRAMFreq(name) - elif name == "datanoisetv_picoadk_v2": + elif (name == "datanoisetv_picoadk_v2") or (name == "olimex_pico2bb48"): # Optional, user needs to solder themselves BuildPSRAM(name) BuildPSRAMFreq(name) @@ -644,6 +644,7 @@ def MakeBoardJSON(name, chip, vendor_name, product_name, vid, pid, pwr, boarddef MakeBoard("nullbits_bit_c_pro", "rp2040", "nullbits", "Bit-C PRO", "0x2e8a", "0x6e61", 500, "NULLBITS_BIT_C_PRO", 4, 0, "boot2_w25x10cl_4_padded_checksum") # Olimex +MakeBoard("olimex_pico2bb48", "rp2350", "Olimex", "Pico2BB48", "0x15ba", "0x0026", 500, "OLIMEX_PICO2BB48", 16, 0, "none") MakeBoard("olimex_pico2xl", "rp2350", "Olimex", "Pico2XL", "0x15ba", "0x0026", 250, "OLIMEX_PICO2XL", 2, 0, "none") MakeBoard("olimex_pico2xxl", "rp2350", "Olimex", "Pico2XXL", "0x15ba", "0x0026", 500, "OLIMEX_PICO2XXL", 16, 8, "none") MakeBoard("olimex_rp2040pico30", "rp2040", "Olimex", "RP2040-Pico30", "0x15ba", "0x0026", 250, "OLIMEX_RP2040_PICO30", 2, 0, "boot2_w25q080_2_padded_checksum") diff --git a/variants/olimex_pico2bb48/pins_arduino.h b/variants/olimex_pico2bb48/pins_arduino.h new file mode 100644 index 000000000..ba0eb9872 --- /dev/null +++ b/variants/olimex_pico2bb48/pins_arduino.h @@ -0,0 +1,48 @@ +#pragma once + +#define PICO_RP2350A 0 // RP2350B +#define RP2350_PSRAM_CS (8u) + +// 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 (4u) +#define PIN_SPI0_MOSI (7u) +#define PIN_SPI0_SCK (6u) +#define PIN_SPI0_SS (5u) + +#define PIN_SPI1_MISO (24u) +#define PIN_SPI1_MOSI (11u) +#define PIN_SPI1_SCK (10u) +#define PIN_SPI1_SS (9u) + +// Wire +#define PIN_WIRE0_SDA (12u) +#define PIN_WIRE0_SCL (13u) + +#define PIN_WIRE1_SDA (2u) +#define PIN_WIRE1_SCL (3u) + +#define SERIAL_HOWMANY (3u) +#define SPI_HOWMANY (2u) +#define WIRE_HOWMANY (2u) + +// DVI connector +#define PIN_CKN (15u) +#define PIN_CKP (14u) +#define PIN_D0N (13u) +#define PIN_D0P (12u) +#define PIN_D1N (19u) +#define PIN_D1P (18u) +#define PIN_D2N (17u) +#define PIN_D2P (16u) + +#include "../generic/common.h"