diff --git a/README.md b/README.md index 3c8797a14..ffb17f899 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,7 @@ Read the [Contributing Guide](https://github.com/earlephilhower/arduino-pico/blo * Architeuthis Flux Jumperless V5 * Arduino Nano RP2040 Connect * ArtronShop RP2 Nano +* BIGTREETECH SKR-Pico * Breadstick Raspberry * BridgeTek IDM2040-7A * BridgeTek IDM2040-43A diff --git a/boards.txt b/boards.txt index 264ce70b4..facb64506 100644 --- a/boards.txt +++ b/boards.txt @@ -10693,6 +10693,318 @@ artronshop_rp2_nano.menu.uploadmethod.picoprobe_cmsis_dap.upload.maximum_data_si artronshop_rp2_nano.menu.uploadmethod.picoprobe_cmsis_dap.upload.tool=picoprobe_cmsis_dap artronshop_rp2_nano.menu.uploadmethod.picoprobe_cmsis_dap.upload.tool.default=picoprobe_cmsis_dap +# ----------------------------------- +# BIGTREETECH SKR-Pico +# ----------------------------------- +bigtreetech_SKR_Pico.name=BIGTREETECH SKR-Pico +bigtreetech_SKR_Pico.vid.0=0x2e8b +bigtreetech_SKR_Pico.pid.0=0xf00a +bigtreetech_SKR_Pico.vid.1=0x2e8b +bigtreetech_SKR_Pico.pid.1=0xf10a +bigtreetech_SKR_Pico.upload_port.0.vid=0x2e8b +bigtreetech_SKR_Pico.upload_port.0.pid=0xf00a +bigtreetech_SKR_Pico.upload_port.1.vid=0x2e8b +bigtreetech_SKR_Pico.upload_port.1.pid=0xf10a +bigtreetech_SKR_Pico.build.usbvid=-DUSBD_VID=0x2e8b +bigtreetech_SKR_Pico.build.usbpid=-DUSBD_PID=0xf00a +bigtreetech_SKR_Pico.build.usbpwr=-DUSBD_MAX_POWER_MA=250 +bigtreetech_SKR_Pico.build.board=BIGTREETECH_SKR_PICO +bigtreetech_SKR_Pico.build.mcu=cortex-m0plus +bigtreetech_SKR_Pico.build.chip=rp2040 +bigtreetech_SKR_Pico.build.toolchain=arm-none-eabi +bigtreetech_SKR_Pico.build.toolchainpkg=pqt-gcc +bigtreetech_SKR_Pico.build.toolchainopts=-march=armv6-m -mcpu=cortex-m0plus -mthumb +bigtreetech_SKR_Pico.build.uf2family=--family rp2040 +bigtreetech_SKR_Pico.build.variant=bigtreetech_SKR_Pico +bigtreetech_SKR_Pico.upload.maximum_size=16777216 +bigtreetech_SKR_Pico.upload.wait_for_upload_port=true +bigtreetech_SKR_Pico.upload.erase_cmd= +bigtreetech_SKR_Pico.serial.disableDTR=false +bigtreetech_SKR_Pico.serial.disableRTS=false +bigtreetech_SKR_Pico.build.f_cpu=125000000 +bigtreetech_SKR_Pico.build.led= +bigtreetech_SKR_Pico.build.core=rp2040 +bigtreetech_SKR_Pico.build.ldscript=memmap_default.ld +bigtreetech_SKR_Pico.build.boot2=boot2_w25q080_2_padded_checksum +bigtreetech_SKR_Pico.build.usb_manufacturer="BIGTREETECH" +bigtreetech_SKR_Pico.build.usb_product="SKR-Pico" +bigtreetech_SKR_Pico.menu.flash.16777216_0=16MB (no FS) +bigtreetech_SKR_Pico.menu.flash.16777216_0.upload.maximum_size=16773120 +bigtreetech_SKR_Pico.menu.flash.16777216_0.build.flash_total=16777216 +bigtreetech_SKR_Pico.menu.flash.16777216_0.build.flash_length=16773120 +bigtreetech_SKR_Pico.menu.flash.16777216_0.build.eeprom_start=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_0.build.fs_start=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_0.build.fs_end=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_65536=16MB (Sketch: 16320KB, FS: 64KB) +bigtreetech_SKR_Pico.menu.flash.16777216_65536.upload.maximum_size=16707584 +bigtreetech_SKR_Pico.menu.flash.16777216_65536.build.flash_total=16777216 +bigtreetech_SKR_Pico.menu.flash.16777216_65536.build.flash_length=16707584 +bigtreetech_SKR_Pico.menu.flash.16777216_65536.build.eeprom_start=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_65536.build.fs_start=285143040 +bigtreetech_SKR_Pico.menu.flash.16777216_65536.build.fs_end=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_131072=16MB (Sketch: 16256KB, FS: 128KB) +bigtreetech_SKR_Pico.menu.flash.16777216_131072.upload.maximum_size=16642048 +bigtreetech_SKR_Pico.menu.flash.16777216_131072.build.flash_total=16777216 +bigtreetech_SKR_Pico.menu.flash.16777216_131072.build.flash_length=16642048 +bigtreetech_SKR_Pico.menu.flash.16777216_131072.build.eeprom_start=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_131072.build.fs_start=285077504 +bigtreetech_SKR_Pico.menu.flash.16777216_131072.build.fs_end=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_262144=16MB (Sketch: 16128KB, FS: 256KB) +bigtreetech_SKR_Pico.menu.flash.16777216_262144.upload.maximum_size=16510976 +bigtreetech_SKR_Pico.menu.flash.16777216_262144.build.flash_total=16777216 +bigtreetech_SKR_Pico.menu.flash.16777216_262144.build.flash_length=16510976 +bigtreetech_SKR_Pico.menu.flash.16777216_262144.build.eeprom_start=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_262144.build.fs_start=284946432 +bigtreetech_SKR_Pico.menu.flash.16777216_262144.build.fs_end=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_524288=16MB (Sketch: 15872KB, FS: 512KB) +bigtreetech_SKR_Pico.menu.flash.16777216_524288.upload.maximum_size=16248832 +bigtreetech_SKR_Pico.menu.flash.16777216_524288.build.flash_total=16777216 +bigtreetech_SKR_Pico.menu.flash.16777216_524288.build.flash_length=16248832 +bigtreetech_SKR_Pico.menu.flash.16777216_524288.build.eeprom_start=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_524288.build.fs_start=284684288 +bigtreetech_SKR_Pico.menu.flash.16777216_524288.build.fs_end=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_1048576=16MB (Sketch: 15MB, FS: 1MB) +bigtreetech_SKR_Pico.menu.flash.16777216_1048576.upload.maximum_size=15724544 +bigtreetech_SKR_Pico.menu.flash.16777216_1048576.build.flash_total=16777216 +bigtreetech_SKR_Pico.menu.flash.16777216_1048576.build.flash_length=15724544 +bigtreetech_SKR_Pico.menu.flash.16777216_1048576.build.eeprom_start=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_1048576.build.fs_start=284160000 +bigtreetech_SKR_Pico.menu.flash.16777216_1048576.build.fs_end=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_2097152=16MB (Sketch: 14MB, FS: 2MB) +bigtreetech_SKR_Pico.menu.flash.16777216_2097152.upload.maximum_size=14675968 +bigtreetech_SKR_Pico.menu.flash.16777216_2097152.build.flash_total=16777216 +bigtreetech_SKR_Pico.menu.flash.16777216_2097152.build.flash_length=14675968 +bigtreetech_SKR_Pico.menu.flash.16777216_2097152.build.eeprom_start=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_2097152.build.fs_start=283111424 +bigtreetech_SKR_Pico.menu.flash.16777216_2097152.build.fs_end=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_3145728=16MB (Sketch: 13MB, FS: 3MB) +bigtreetech_SKR_Pico.menu.flash.16777216_3145728.upload.maximum_size=13627392 +bigtreetech_SKR_Pico.menu.flash.16777216_3145728.build.flash_total=16777216 +bigtreetech_SKR_Pico.menu.flash.16777216_3145728.build.flash_length=13627392 +bigtreetech_SKR_Pico.menu.flash.16777216_3145728.build.eeprom_start=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_3145728.build.fs_start=282062848 +bigtreetech_SKR_Pico.menu.flash.16777216_3145728.build.fs_end=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_4194304=16MB (Sketch: 12MB, FS: 4MB) +bigtreetech_SKR_Pico.menu.flash.16777216_4194304.upload.maximum_size=12578816 +bigtreetech_SKR_Pico.menu.flash.16777216_4194304.build.flash_total=16777216 +bigtreetech_SKR_Pico.menu.flash.16777216_4194304.build.flash_length=12578816 +bigtreetech_SKR_Pico.menu.flash.16777216_4194304.build.eeprom_start=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_4194304.build.fs_start=281014272 +bigtreetech_SKR_Pico.menu.flash.16777216_4194304.build.fs_end=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_5242880=16MB (Sketch: 11MB, FS: 5MB) +bigtreetech_SKR_Pico.menu.flash.16777216_5242880.upload.maximum_size=11530240 +bigtreetech_SKR_Pico.menu.flash.16777216_5242880.build.flash_total=16777216 +bigtreetech_SKR_Pico.menu.flash.16777216_5242880.build.flash_length=11530240 +bigtreetech_SKR_Pico.menu.flash.16777216_5242880.build.eeprom_start=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_5242880.build.fs_start=279965696 +bigtreetech_SKR_Pico.menu.flash.16777216_5242880.build.fs_end=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_6291456=16MB (Sketch: 10MB, FS: 6MB) +bigtreetech_SKR_Pico.menu.flash.16777216_6291456.upload.maximum_size=10481664 +bigtreetech_SKR_Pico.menu.flash.16777216_6291456.build.flash_total=16777216 +bigtreetech_SKR_Pico.menu.flash.16777216_6291456.build.flash_length=10481664 +bigtreetech_SKR_Pico.menu.flash.16777216_6291456.build.eeprom_start=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_6291456.build.fs_start=278917120 +bigtreetech_SKR_Pico.menu.flash.16777216_6291456.build.fs_end=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_7340032=16MB (Sketch: 9MB, FS: 7MB) +bigtreetech_SKR_Pico.menu.flash.16777216_7340032.upload.maximum_size=9433088 +bigtreetech_SKR_Pico.menu.flash.16777216_7340032.build.flash_total=16777216 +bigtreetech_SKR_Pico.menu.flash.16777216_7340032.build.flash_length=9433088 +bigtreetech_SKR_Pico.menu.flash.16777216_7340032.build.eeprom_start=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_7340032.build.fs_start=277868544 +bigtreetech_SKR_Pico.menu.flash.16777216_7340032.build.fs_end=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_8388608=16MB (Sketch: 8MB, FS: 8MB) +bigtreetech_SKR_Pico.menu.flash.16777216_8388608.upload.maximum_size=8384512 +bigtreetech_SKR_Pico.menu.flash.16777216_8388608.build.flash_total=16777216 +bigtreetech_SKR_Pico.menu.flash.16777216_8388608.build.flash_length=8384512 +bigtreetech_SKR_Pico.menu.flash.16777216_8388608.build.eeprom_start=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_8388608.build.fs_start=276819968 +bigtreetech_SKR_Pico.menu.flash.16777216_8388608.build.fs_end=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_9437184=16MB (Sketch: 7MB, FS: 9MB) +bigtreetech_SKR_Pico.menu.flash.16777216_9437184.upload.maximum_size=7335936 +bigtreetech_SKR_Pico.menu.flash.16777216_9437184.build.flash_total=16777216 +bigtreetech_SKR_Pico.menu.flash.16777216_9437184.build.flash_length=7335936 +bigtreetech_SKR_Pico.menu.flash.16777216_9437184.build.eeprom_start=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_9437184.build.fs_start=275771392 +bigtreetech_SKR_Pico.menu.flash.16777216_9437184.build.fs_end=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_10485760=16MB (Sketch: 6MB, FS: 10MB) +bigtreetech_SKR_Pico.menu.flash.16777216_10485760.upload.maximum_size=6287360 +bigtreetech_SKR_Pico.menu.flash.16777216_10485760.build.flash_total=16777216 +bigtreetech_SKR_Pico.menu.flash.16777216_10485760.build.flash_length=6287360 +bigtreetech_SKR_Pico.menu.flash.16777216_10485760.build.eeprom_start=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_10485760.build.fs_start=274722816 +bigtreetech_SKR_Pico.menu.flash.16777216_10485760.build.fs_end=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_11534336=16MB (Sketch: 5MB, FS: 11MB) +bigtreetech_SKR_Pico.menu.flash.16777216_11534336.upload.maximum_size=5238784 +bigtreetech_SKR_Pico.menu.flash.16777216_11534336.build.flash_total=16777216 +bigtreetech_SKR_Pico.menu.flash.16777216_11534336.build.flash_length=5238784 +bigtreetech_SKR_Pico.menu.flash.16777216_11534336.build.eeprom_start=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_11534336.build.fs_start=273674240 +bigtreetech_SKR_Pico.menu.flash.16777216_11534336.build.fs_end=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_12582912=16MB (Sketch: 4MB, FS: 12MB) +bigtreetech_SKR_Pico.menu.flash.16777216_12582912.upload.maximum_size=4190208 +bigtreetech_SKR_Pico.menu.flash.16777216_12582912.build.flash_total=16777216 +bigtreetech_SKR_Pico.menu.flash.16777216_12582912.build.flash_length=4190208 +bigtreetech_SKR_Pico.menu.flash.16777216_12582912.build.eeprom_start=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_12582912.build.fs_start=272625664 +bigtreetech_SKR_Pico.menu.flash.16777216_12582912.build.fs_end=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_13631488=16MB (Sketch: 3MB, FS: 13MB) +bigtreetech_SKR_Pico.menu.flash.16777216_13631488.upload.maximum_size=3141632 +bigtreetech_SKR_Pico.menu.flash.16777216_13631488.build.flash_total=16777216 +bigtreetech_SKR_Pico.menu.flash.16777216_13631488.build.flash_length=3141632 +bigtreetech_SKR_Pico.menu.flash.16777216_13631488.build.eeprom_start=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_13631488.build.fs_start=271577088 +bigtreetech_SKR_Pico.menu.flash.16777216_13631488.build.fs_end=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_14680064=16MB (Sketch: 2MB, FS: 14MB) +bigtreetech_SKR_Pico.menu.flash.16777216_14680064.upload.maximum_size=2093056 +bigtreetech_SKR_Pico.menu.flash.16777216_14680064.build.flash_total=16777216 +bigtreetech_SKR_Pico.menu.flash.16777216_14680064.build.flash_length=2093056 +bigtreetech_SKR_Pico.menu.flash.16777216_14680064.build.eeprom_start=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_14680064.build.fs_start=270528512 +bigtreetech_SKR_Pico.menu.flash.16777216_14680064.build.fs_end=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_15728640=16MB (Sketch: 1MB, FS: 15MB) +bigtreetech_SKR_Pico.menu.flash.16777216_15728640.upload.maximum_size=1044480 +bigtreetech_SKR_Pico.menu.flash.16777216_15728640.build.flash_total=16777216 +bigtreetech_SKR_Pico.menu.flash.16777216_15728640.build.flash_length=1044480 +bigtreetech_SKR_Pico.menu.flash.16777216_15728640.build.eeprom_start=285208576 +bigtreetech_SKR_Pico.menu.flash.16777216_15728640.build.fs_start=269479936 +bigtreetech_SKR_Pico.menu.flash.16777216_15728640.build.fs_end=285208576 +bigtreetech_SKR_Pico.menu.freq.200=200 MHz +bigtreetech_SKR_Pico.menu.freq.200.build.f_cpu=200000000L +bigtreetech_SKR_Pico.menu.freq.50=50 MHz +bigtreetech_SKR_Pico.menu.freq.50.build.f_cpu=50000000L +bigtreetech_SKR_Pico.menu.freq.100=100 MHz +bigtreetech_SKR_Pico.menu.freq.100.build.f_cpu=100000000L +bigtreetech_SKR_Pico.menu.freq.120=120 MHz +bigtreetech_SKR_Pico.menu.freq.120.build.f_cpu=120000000L +bigtreetech_SKR_Pico.menu.freq.125=125 MHz +bigtreetech_SKR_Pico.menu.freq.125.build.f_cpu=125000000L +bigtreetech_SKR_Pico.menu.freq.128=128 MHz +bigtreetech_SKR_Pico.menu.freq.128.build.f_cpu=128000000L +bigtreetech_SKR_Pico.menu.freq.133=133 MHz +bigtreetech_SKR_Pico.menu.freq.133.build.f_cpu=133000000L +bigtreetech_SKR_Pico.menu.freq.150=150 MHz +bigtreetech_SKR_Pico.menu.freq.150.build.f_cpu=150000000L +bigtreetech_SKR_Pico.menu.freq.176=176 MHz +bigtreetech_SKR_Pico.menu.freq.176.build.f_cpu=176000000L +bigtreetech_SKR_Pico.menu.freq.225=225 MHz (Overclock) +bigtreetech_SKR_Pico.menu.freq.225.build.f_cpu=225000000L +bigtreetech_SKR_Pico.menu.freq.240=240 MHz (Overclock) +bigtreetech_SKR_Pico.menu.freq.240.build.f_cpu=240000000L +bigtreetech_SKR_Pico.menu.freq.250=250 MHz (Overclock) +bigtreetech_SKR_Pico.menu.freq.250.build.f_cpu=250000000L +bigtreetech_SKR_Pico.menu.freq.276=276 MHz (Overclock) +bigtreetech_SKR_Pico.menu.freq.276.build.f_cpu=276000000L +bigtreetech_SKR_Pico.menu.freq.300=300 MHz (Overclock) +bigtreetech_SKR_Pico.menu.freq.300.build.f_cpu=300000000L +bigtreetech_SKR_Pico.menu.opt.Small=Small (-Os) (standard) +bigtreetech_SKR_Pico.menu.opt.Small.build.flags.optimize=-Os +bigtreetech_SKR_Pico.menu.opt.Optimize=Optimize (-O) +bigtreetech_SKR_Pico.menu.opt.Optimize.build.flags.optimize=-O +bigtreetech_SKR_Pico.menu.opt.Optimize2=Optimize More (-O2) +bigtreetech_SKR_Pico.menu.opt.Optimize2.build.flags.optimize=-O2 +bigtreetech_SKR_Pico.menu.opt.Optimize3=Optimize Even More (-O3) +bigtreetech_SKR_Pico.menu.opt.Optimize3.build.flags.optimize=-O3 +bigtreetech_SKR_Pico.menu.opt.Fast=Fast (-Ofast) (maybe slower) +bigtreetech_SKR_Pico.menu.opt.Fast.build.flags.optimize=-Ofast +bigtreetech_SKR_Pico.menu.opt.Debug=Debug (-Og) +bigtreetech_SKR_Pico.menu.opt.Debug.build.flags.optimize=-Og +bigtreetech_SKR_Pico.menu.opt.Disabled=Disabled (-O0) +bigtreetech_SKR_Pico.menu.opt.Disabled.build.flags.optimize=-O0 +bigtreetech_SKR_Pico.menu.profile.Disabled=Disabled +bigtreetech_SKR_Pico.menu.profile.Disabled.build.flags.profile= +bigtreetech_SKR_Pico.menu.profile.Enabled=Enabled +bigtreetech_SKR_Pico.menu.profile.Enabled.build.flags.profile=-pg -D__PROFILE +bigtreetech_SKR_Pico.menu.rtti.Disabled=Disabled +bigtreetech_SKR_Pico.menu.rtti.Disabled.build.flags.rtti=-fno-rtti +bigtreetech_SKR_Pico.menu.rtti.Enabled=Enabled +bigtreetech_SKR_Pico.menu.rtti.Enabled.build.flags.rtti= +bigtreetech_SKR_Pico.menu.stackprotect.Disabled=Disabled +bigtreetech_SKR_Pico.menu.stackprotect.Disabled.build.flags.stackprotect= +bigtreetech_SKR_Pico.menu.stackprotect.Enabled=Enabled +bigtreetech_SKR_Pico.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector-all +bigtreetech_SKR_Pico.menu.exceptions.Disabled=Disabled +bigtreetech_SKR_Pico.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions +bigtreetech_SKR_Pico.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++ +bigtreetech_SKR_Pico.menu.exceptions.Enabled=Enabled +bigtreetech_SKR_Pico.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions +bigtreetech_SKR_Pico.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc +bigtreetech_SKR_Pico.menu.dbgport.Disabled=Disabled +bigtreetech_SKR_Pico.menu.dbgport.Disabled.build.debug_port= +bigtreetech_SKR_Pico.menu.dbgport.Serial=Serial +bigtreetech_SKR_Pico.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial +bigtreetech_SKR_Pico.menu.dbgport.Serial1=Serial1 +bigtreetech_SKR_Pico.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1 +bigtreetech_SKR_Pico.menu.dbgport.Serial2=Serial2 +bigtreetech_SKR_Pico.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2 +bigtreetech_SKR_Pico.menu.dbgport.SerialSemi=SerialSemi +bigtreetech_SKR_Pico.menu.dbgport.SerialSemi.build.debug_port=-DDEBUG_RP2040_PORT=SerialSemi +bigtreetech_SKR_Pico.menu.dbglvl.None=None +bigtreetech_SKR_Pico.menu.dbglvl.None.build.debug_level= +bigtreetech_SKR_Pico.menu.dbglvl.Core=Core +bigtreetech_SKR_Pico.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE +bigtreetech_SKR_Pico.menu.dbglvl.SPI=SPI +bigtreetech_SKR_Pico.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI +bigtreetech_SKR_Pico.menu.dbglvl.Wire=Wire +bigtreetech_SKR_Pico.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE +bigtreetech_SKR_Pico.menu.dbglvl.Bluetooth=Bluetooth +bigtreetech_SKR_Pico.menu.dbglvl.Bluetooth.build.debug_level=-DDEBUG_RP2040_BLUETOOTH +bigtreetech_SKR_Pico.menu.dbglvl.All=All +bigtreetech_SKR_Pico.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE -DDEBUG_RP2040_BLUETOOTH +bigtreetech_SKR_Pico.menu.dbglvl.NDEBUG=NDEBUG +bigtreetech_SKR_Pico.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG +bigtreetech_SKR_Pico.menu.usbstack.picosdk=Pico SDK +bigtreetech_SKR_Pico.menu.usbstack.picosdk.build.usbstack_flags= +bigtreetech_SKR_Pico.menu.usbstack.tinyusb=Adafruit TinyUSB +bigtreetech_SKR_Pico.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" +bigtreetech_SKR_Pico.menu.usbstack.tinyusb_host=Adafruit TinyUSB Host (native) +bigtreetech_SKR_Pico.menu.usbstack.tinyusb_host.build.usbstack_flags=-DUSE_TINYUSB -DUSE_TINYUSB_HOST "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino" +bigtreetech_SKR_Pico.menu.usbstack.nousb=No USB +bigtreetech_SKR_Pico.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico" +bigtreetech_SKR_Pico.menu.ipbtstack.ipv4only=IPv4 Only +bigtreetech_SKR_Pico.menu.ipbtstack.ipv4only.build.libpicow=libipv4.a +bigtreetech_SKR_Pico.menu.ipbtstack.ipv4only.build.libpicowdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 +bigtreetech_SKR_Pico.menu.ipbtstack.ipv4ipv6=IPv4 + IPv6 +bigtreetech_SKR_Pico.menu.ipbtstack.ipv4ipv6.build.libpicow=libipv4-ipv6.a +bigtreetech_SKR_Pico.menu.ipbtstack.ipv4ipv6.build.libpicowdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 +bigtreetech_SKR_Pico.menu.ipbtstack.ipv4btcble=IPv4 + Bluetooth +bigtreetech_SKR_Pico.menu.ipbtstack.ipv4btcble.build.libpicow=libipv4-bt.a +bigtreetech_SKR_Pico.menu.ipbtstack.ipv4btcble.build.libpicowdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -DENABLE_CLASSIC=1 -DENABLE_BLE=1 +bigtreetech_SKR_Pico.menu.ipbtstack.ipv4ipv6btcble=IPv4 + IPv6 + Bluetooth +bigtreetech_SKR_Pico.menu.ipbtstack.ipv4ipv6btcble.build.libpicow=libipv4-ipv6-bt.a +bigtreetech_SKR_Pico.menu.ipbtstack.ipv4ipv6btcble.build.libpicowdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 -DENABLE_CLASSIC=1 -DENABLE_BLE=1 +bigtreetech_SKR_Pico.menu.ipbtstack.ipv4onlybig=IPv4 Only - 32K +bigtreetech_SKR_Pico.menu.ipbtstack.ipv4onlybig.build.libpicow=libipv4-big.a +bigtreetech_SKR_Pico.menu.ipbtstack.ipv4onlybig.build.libpicowdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -D__LWIP_MEMMULT=2 +bigtreetech_SKR_Pico.menu.ipbtstack.ipv4ipv6big=IPv4 + IPv6 - 32K +bigtreetech_SKR_Pico.menu.ipbtstack.ipv4ipv6big.build.libpicow=libipv4-ipv6-big.a +bigtreetech_SKR_Pico.menu.ipbtstack.ipv4ipv6big.build.libpicowdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 -D__LWIP_MEMMULT=2 +bigtreetech_SKR_Pico.menu.ipbtstack.ipv4btcblebig=IPv4 + Bluetooth - 32K +bigtreetech_SKR_Pico.menu.ipbtstack.ipv4btcblebig.build.libpicow=libipv4-bt-big.a +bigtreetech_SKR_Pico.menu.ipbtstack.ipv4btcblebig.build.libpicowdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -DENABLE_CLASSIC=1 -DENABLE_BLE=1 -D__LWIP_MEMMULT=2 +bigtreetech_SKR_Pico.menu.ipbtstack.ipv4ipv6btcblebig=IPv4 + IPv6 + Bluetooth - 32K +bigtreetech_SKR_Pico.menu.ipbtstack.ipv4ipv6btcblebig.build.libpicow=libipv4-ipv6-bt-big.a +bigtreetech_SKR_Pico.menu.ipbtstack.ipv4ipv6btcblebig.build.libpicowdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 -DENABLE_CLASSIC=1 -DENABLE_BLE=1 -D__LWIP_MEMMULT=2 +bigtreetech_SKR_Pico.menu.uploadmethod.default=Default (UF2) +bigtreetech_SKR_Pico.menu.uploadmethod.default.build.ram_length=256k +bigtreetech_SKR_Pico.menu.uploadmethod.default.build.debugscript=picoprobe_cmsis_dap.tcl +bigtreetech_SKR_Pico.menu.uploadmethod.default.upload.maximum_data_size=262144 +bigtreetech_SKR_Pico.menu.uploadmethod.default.upload.tool=uf2conv +bigtreetech_SKR_Pico.menu.uploadmethod.default.upload.tool.default=uf2conv +bigtreetech_SKR_Pico.menu.uploadmethod.default.upload.tool.network=uf2conv-network +bigtreetech_SKR_Pico.menu.uploadmethod.picotool=Picotool +bigtreetech_SKR_Pico.menu.uploadmethod.picotool.build.ram_length=256k +bigtreetech_SKR_Pico.menu.uploadmethod.picotool.build.debugscript=picoprobe.tcl +bigtreetech_SKR_Pico.menu.uploadmethod.picotool.build.picodebugflags=-DENABLE_PICOTOOL_USB +bigtreetech_SKR_Pico.menu.uploadmethod.picotool.upload.maximum_data_size=262144 +bigtreetech_SKR_Pico.menu.uploadmethod.picotool.upload.tool=picotool +bigtreetech_SKR_Pico.menu.uploadmethod.picotool.upload.tool.default=picotool +bigtreetech_SKR_Pico.menu.uploadmethod.picoprobe_cmsis_dap=Picoprobe/Debugprobe (CMSIS-DAP) +bigtreetech_SKR_Pico.menu.uploadmethod.picoprobe_cmsis_dap.build.ram_length=256k +bigtreetech_SKR_Pico.menu.uploadmethod.picoprobe_cmsis_dap.build.debugscript=picoprobe_cmsis_dap.tcl +bigtreetech_SKR_Pico.menu.uploadmethod.picoprobe_cmsis_dap.upload.maximum_data_size=262144 +bigtreetech_SKR_Pico.menu.uploadmethod.picoprobe_cmsis_dap.upload.tool=picoprobe_cmsis_dap +bigtreetech_SKR_Pico.menu.uploadmethod.picoprobe_cmsis_dap.upload.tool.default=picoprobe_cmsis_dap + # ----------------------------------- # Breadstick Raspberry # ----------------------------------- diff --git a/package/package_pico_index.template.json b/package/package_pico_index.template.json index 099138b82..dce4881ca 100644 --- a/package/package_pico_index.template.json +++ b/package/package_pico_index.template.json @@ -119,6 +119,9 @@ { "name": "ArtronShop RP2 Nano" }, + { + "name": "BIGTREETECH SKR-Pico" + }, { "name": "Breadstick Raspberry" }, diff --git a/tools/json/bigtreetech_SKR_Pico.json b/tools/json/bigtreetech_SKR_Pico.json new file mode 100644 index 000000000..85fa1d2cf --- /dev/null +++ b/tools/json/bigtreetech_SKR_Pico.json @@ -0,0 +1,56 @@ +{ + "build": { + "arduino": { + "earlephilhower": { + "boot2_source": "boot2_w25q080_2_padded_checksum.S", + "usb_vid": "0x2E8B", + "usb_pid": "0xF00A" + } + }, + "core": "earlephilhower", + "cpu": "cortex-m0plus", + "extra_flags": "-DARDUINO_BIGTREETECH_SKR_PICO -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250 ", + "f_cpu": "133000000L", + "hwids": [ + [ + "0x2E8A", + "0x00C0" + ], + [ + "0x2E8B", + "0xF00A" + ] + ], + "mcu": "rp2040", + "variant": "bigtreetech_SKR_Pico" + }, + "debug": { + "jlink_device": "RP2040_M0_0", + "openocd_target": "rp2040.cfg", + "svd_path": "rp2040.svd" + }, + "frameworks": [ + "arduino", + "picosdk" + ], + "name": "SKR-Pico", + "upload": { + "maximum_ram_size": 262144, + "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://github.com/bigtreetech/SKR-Pico", + "vendor": "BIGTREETECH" +} \ No newline at end of file diff --git a/tools/makeboards.py b/tools/makeboards.py index 42a2ccb05..dbfe4182c 100755 --- a/tools/makeboards.py +++ b/tools/makeboards.py @@ -541,13 +541,16 @@ def MakeBoardJSON(name, chip, vendor_name, product_name, vid, pid, pwr, boarddef # ArtronShop MakeBoard("artronshop_rp2_nano", "rp2040", "ArtronShop", "RP2 Nano", "0x2e8a", "0x000a", 250, "ARTRONSHOP_RP2_NANO", 2, 0, "boot2_w25q080_2_padded_checksum") +# BIGTREETECH +MakeBoard("bigtreetech_SKR_Pico", "rp2040", "BIGTREETECH", "SKR-Pico", "0x2e8b", "0xf00a", 250, "BIGTREETECH_SKR_PICO", 16, 0, "boot2_w25q080_2_padded_checksum", board_url="https://github.com/bigtreetech/SKR-Pico") + # Breadstick MakeBoard("breadstick_raspberry", "rp2040", "Breadstick", "Raspberry", "0x2e8a", "0x105e" , 500, "Breadstick_Raspberry", 16, 0, "boot2_w25q080_2_padded_checksum", board_url="https://shop.breadstick.ca/products/raspberry-breadstick-rp2040") # BridgeTek MakeBoard("bridgetek_idm2040_7a", "rp2040", "BridgeTek", "IDM2040-7A", "0x2e8a", "0x1041", 250, "BRIDGETEK_IDM2040_7A", 8, 0, "boot2_w25q080_2_padded_checksum", ["FT8XX_TYPE=BT817", "DISPLAY_RES=WVGA", "PLATFORM_RP2040"]) MakeBoard("bridgetek_idm2040_43a", "rp2040", "BridgeTek", "IDM2040-43A", "0x2e8b", "0xf00a", 250, "BRIDGETEK_IDM2040_43A", 8, 0, "boot2_w25q080_2_padded_checksum", ["FT8XX_TYPE=BT883", "DISPLAY_RES=WQVGA", "PLATFORM_RP2040"]) - + # Cytron MakeBoard("cytron_iriv_io_controller", "rp2350", "Cytron", "IRIV IO Controller", "0x2e8a", "0x1093", 250, "CYTRON_IRIV_IO_CONTROLLER", 2, 0, "none") MakeBoard("cytron_maker_nano_rp2040", "rp2040", "Cytron", "Maker Nano RP2040", "0x2e8a", "0x100f", 250, "CYTRON_MAKER_NANO_RP2040", 2, 0, "boot2_w25q080_2_padded_checksum") diff --git a/variants/bigtreetech_SKR_Pico/pins_arduino.h b/variants/bigtreetech_SKR_Pico/pins_arduino.h new file mode 100644 index 000000000..180371f82 --- /dev/null +++ b/variants/bigtreetech_SKR_Pico/pins_arduino.h @@ -0,0 +1,87 @@ +#pragma once + +// based on +// https://github.com/s-light/bigtreetech-SKR-Pico?tab=readme-ov-file +// that is based on +// https://github.com/bigtreetech/SKR-Pico/blob/master/Hardware/BTT%20SKR%20Pico%20V1.0-SCH.pdf + +// LEDs +// #define PIN_LED (13u) + + +// Serial +#define PIN_SERIAL1_TX (0u) +#define PIN_SERIAL1_RX (1u) +#define PIN_TXD0 PIN_SERIAL1_TX +#define PIN_RXD0 PIN_SERIAL1_RX + +// Wire +#define __WIRE0_DEVICE i2c1 +#define PIN_WIRE0_SDA PIN_SERIAL1_TX +#define PIN_WIRE0_SCL PIN_SERIAL1_RX + + +#define PIN_ZEN (2u) +#define PIN_YSTOP (3u) +#define PIN_XSTOP (4u) +#define PIN_YDIR (5u) +#define PIN_YSTP (6u) +#define PIN_YEN (7u) + +#define PIN_SERIAL2_TX (8u) +#define PIN_SERIAL2_RX (9u) +#define PIN_TX4 PIN_SERIAL2_TX +#define PIN_RX4 PIN_SERIAL2_RX + +#define PIN_XDIR (10u) +#define PIN_XSTP (11u) +#define PIN_XEN (12u) +#define PIN_E0DIR (13u) +#define PIN_E0STP (14u) +#define PIN_E0EN (15u) +#define PIN_E0STOP (16u) +#define PIN_FAN1_PWM (17u) +#define PIN_FAN2_PWM (18u) +#define PIN_ZSTP (19u) +#define PIN_FAN3_PWM (20u) +#define LASER_PWM PIN_FAN3_PWM +#define PIN_HB_PWM (21u) +#define PIN_P_2 (22u) +#define PIN_HE_PWM (23u) + +// NeoPixel +#define PIN_NEOPIXEL (24u) +#define NUM_NEOPIXEL (1u) +#define PIN_RGB PIN_NEOPIXEL + +#define PIN_ZSTOP (25u) +#define PIN_THB (26u) +#define PIN_TH0 (27u) +#define PIN_ZDIR (28u) +#define PIN_SERVOS (29u) +#define ADC3 PIN_SERVOS + +// ---------------------- +// Not available.. (all pins already in use) +#define PIN_SPI0_MISO (99u) +#define PIN_SPI0_MOSI (99u) +#define PIN_SPI0_SCK (99u) +#define PIN_SPI0_SS (99u) + +#define PIN_SPI1_MISO (99u) +#define PIN_SPI1_MOSI (99u) +#define PIN_SPI1_SCK (99u) +#define PIN_SPI1_SS (99u) + +// #define __WIRE1_DEVICE i2c0 +#define PIN_WIRE1_SDA (99u) +#define PIN_WIRE1_SCL (99u) + + + +#define SERIAL_HOWMANY (2u) +#define SPI_HOWMANY (0u) +#define WIRE_HOWMANY (1u) + + +#include "../generic/common.h"