Unverified Commit 247e48fa authored by chungsoftvn-tuannguyen's avatar chungsoftvn-tuannguyen Committed by GitHub

Add board BridgeTek IDM2040-43A (#2246)

- Board information brtchip.com/product/idm2040-43a
Signed-off-by: default avatarTuan Nguyen <tuan.nguyen@brtchip.com>
Co-authored-by: default avatarTuan Nguyen <tuan.nguyen@brtchip.com>
parent 268d0aa1
......@@ -29,6 +29,7 @@ Read the [Contributing Guide](https://github.com/earlephilhower/arduino-pico/blo
* ArtronShop RP2 Nano
* Breadstick Raspberry
* BridgeTek IDM2040-7A
* BridgeTek IDM2040-43A
* Cytron Maker Pi RP2040
* Cytron Maker Nano RP2040
* Cytron Maker Uno RP2040
......
......@@ -6162,6 +6162,257 @@ bridgetek_idm2040-7a.menu.uploadmethod.picodebug.upload.maximum_data_size=245760
bridgetek_idm2040-7a.menu.uploadmethod.picodebug.upload.tool=picodebug
bridgetek_idm2040-7a.menu.uploadmethod.picodebug.upload.tool.default=picodebug
# -----------------------------------
# BridgeTek IDM2040-43A
# -----------------------------------
bridgetek_idm2040-43a.name=BridgeTek IDM2040-43A
bridgetek_idm2040-43a.vid.0=0x2e8b
bridgetek_idm2040-43a.pid.0=0xf00a
bridgetek_idm2040-43a.vid.1=0x2e8b
bridgetek_idm2040-43a.pid.1=0xf10a
bridgetek_idm2040-43a.upload_port.0.vid=0x2e8b
bridgetek_idm2040-43a.upload_port.0.pid=0xf00a
bridgetek_idm2040-43a.upload_port.1.vid=0x2e8b
bridgetek_idm2040-43a.upload_port.1.pid=0xf10a
bridgetek_idm2040-43a.build.usbvid=-DUSBD_VID=0x2e8b
bridgetek_idm2040-43a.build.usbpid=-DUSBD_PID=0xf00a
bridgetek_idm2040-43a.build.usbpwr=-DUSBD_MAX_POWER_MA=250
bridgetek_idm2040-43a.build.board=BRIDGETEK_IDM2040-43A
bridgetek_idm2040-43a.build.mcu=cortex-m0plus
bridgetek_idm2040-43a.build.variant=bridgetek_idm2040-43a
bridgetek_idm2040-43a.upload.maximum_size=8388608
bridgetek_idm2040-43a.upload.wait_for_upload_port=true
bridgetek_idm2040-43a.upload.erase_cmd=
bridgetek_idm2040-43a.serial.disableDTR=false
bridgetek_idm2040-43a.serial.disableRTS=false
bridgetek_idm2040-43a.build.f_cpu=125000000
bridgetek_idm2040-43a.build.led=
bridgetek_idm2040-43a.build.core=rp2040
bridgetek_idm2040-43a.build.ldscript=memmap_default.ld
bridgetek_idm2040-43a.build.boot2=boot2_w25q080_2_padded_checksum
bridgetek_idm2040-43a.build.usb_manufacturer="BridgeTek"
bridgetek_idm2040-43a.build.usb_product="IDM2040-43A"
bridgetek_idm2040-43a.build.extra_flags=-DFT8XX_TYPE=BT883 -DDISPLAY_RES=WQVGA -DPLATFORM_RP2040
bridgetek_idm2040-43a.menu.flash.8388608_0=8MB (no FS)
bridgetek_idm2040-43a.menu.flash.8388608_0.upload.maximum_size=8384512
bridgetek_idm2040-43a.menu.flash.8388608_0.build.flash_total=8388608
bridgetek_idm2040-43a.menu.flash.8388608_0.build.flash_length=8384512
bridgetek_idm2040-43a.menu.flash.8388608_0.build.eeprom_start=276819968
bridgetek_idm2040-43a.menu.flash.8388608_0.build.fs_start=276819968
bridgetek_idm2040-43a.menu.flash.8388608_0.build.fs_end=276819968
bridgetek_idm2040-43a.menu.flash.8388608_65536=8MB (Sketch: 8128KB, FS: 64KB)
bridgetek_idm2040-43a.menu.flash.8388608_65536.upload.maximum_size=8318976
bridgetek_idm2040-43a.menu.flash.8388608_65536.build.flash_total=8388608
bridgetek_idm2040-43a.menu.flash.8388608_65536.build.flash_length=8318976
bridgetek_idm2040-43a.menu.flash.8388608_65536.build.eeprom_start=276819968
bridgetek_idm2040-43a.menu.flash.8388608_65536.build.fs_start=276754432
bridgetek_idm2040-43a.menu.flash.8388608_65536.build.fs_end=276819968
bridgetek_idm2040-43a.menu.flash.8388608_131072=8MB (Sketch: 8064KB, FS: 128KB)
bridgetek_idm2040-43a.menu.flash.8388608_131072.upload.maximum_size=8253440
bridgetek_idm2040-43a.menu.flash.8388608_131072.build.flash_total=8388608
bridgetek_idm2040-43a.menu.flash.8388608_131072.build.flash_length=8253440
bridgetek_idm2040-43a.menu.flash.8388608_131072.build.eeprom_start=276819968
bridgetek_idm2040-43a.menu.flash.8388608_131072.build.fs_start=276688896
bridgetek_idm2040-43a.menu.flash.8388608_131072.build.fs_end=276819968
bridgetek_idm2040-43a.menu.flash.8388608_262144=8MB (Sketch: 7936KB, FS: 256KB)
bridgetek_idm2040-43a.menu.flash.8388608_262144.upload.maximum_size=8122368
bridgetek_idm2040-43a.menu.flash.8388608_262144.build.flash_total=8388608
bridgetek_idm2040-43a.menu.flash.8388608_262144.build.flash_length=8122368
bridgetek_idm2040-43a.menu.flash.8388608_262144.build.eeprom_start=276819968
bridgetek_idm2040-43a.menu.flash.8388608_262144.build.fs_start=276557824
bridgetek_idm2040-43a.menu.flash.8388608_262144.build.fs_end=276819968
bridgetek_idm2040-43a.menu.flash.8388608_524288=8MB (Sketch: 7680KB, FS: 512KB)
bridgetek_idm2040-43a.menu.flash.8388608_524288.upload.maximum_size=7860224
bridgetek_idm2040-43a.menu.flash.8388608_524288.build.flash_total=8388608
bridgetek_idm2040-43a.menu.flash.8388608_524288.build.flash_length=7860224
bridgetek_idm2040-43a.menu.flash.8388608_524288.build.eeprom_start=276819968
bridgetek_idm2040-43a.menu.flash.8388608_524288.build.fs_start=276295680
bridgetek_idm2040-43a.menu.flash.8388608_524288.build.fs_end=276819968
bridgetek_idm2040-43a.menu.flash.8388608_1048576=8MB (Sketch: 7MB, FS: 1MB)
bridgetek_idm2040-43a.menu.flash.8388608_1048576.upload.maximum_size=7335936
bridgetek_idm2040-43a.menu.flash.8388608_1048576.build.flash_total=8388608
bridgetek_idm2040-43a.menu.flash.8388608_1048576.build.flash_length=7335936
bridgetek_idm2040-43a.menu.flash.8388608_1048576.build.eeprom_start=276819968
bridgetek_idm2040-43a.menu.flash.8388608_1048576.build.fs_start=275771392
bridgetek_idm2040-43a.menu.flash.8388608_1048576.build.fs_end=276819968
bridgetek_idm2040-43a.menu.flash.8388608_2097152=8MB (Sketch: 6MB, FS: 2MB)
bridgetek_idm2040-43a.menu.flash.8388608_2097152.upload.maximum_size=6287360
bridgetek_idm2040-43a.menu.flash.8388608_2097152.build.flash_total=8388608
bridgetek_idm2040-43a.menu.flash.8388608_2097152.build.flash_length=6287360
bridgetek_idm2040-43a.menu.flash.8388608_2097152.build.eeprom_start=276819968
bridgetek_idm2040-43a.menu.flash.8388608_2097152.build.fs_start=274722816
bridgetek_idm2040-43a.menu.flash.8388608_2097152.build.fs_end=276819968
bridgetek_idm2040-43a.menu.flash.8388608_3145728=8MB (Sketch: 5MB, FS: 3MB)
bridgetek_idm2040-43a.menu.flash.8388608_3145728.upload.maximum_size=5238784
bridgetek_idm2040-43a.menu.flash.8388608_3145728.build.flash_total=8388608
bridgetek_idm2040-43a.menu.flash.8388608_3145728.build.flash_length=5238784
bridgetek_idm2040-43a.menu.flash.8388608_3145728.build.eeprom_start=276819968
bridgetek_idm2040-43a.menu.flash.8388608_3145728.build.fs_start=273674240
bridgetek_idm2040-43a.menu.flash.8388608_3145728.build.fs_end=276819968
bridgetek_idm2040-43a.menu.flash.8388608_4194304=8MB (Sketch: 4MB, FS: 4MB)
bridgetek_idm2040-43a.menu.flash.8388608_4194304.upload.maximum_size=4190208
bridgetek_idm2040-43a.menu.flash.8388608_4194304.build.flash_total=8388608
bridgetek_idm2040-43a.menu.flash.8388608_4194304.build.flash_length=4190208
bridgetek_idm2040-43a.menu.flash.8388608_4194304.build.eeprom_start=276819968
bridgetek_idm2040-43a.menu.flash.8388608_4194304.build.fs_start=272625664
bridgetek_idm2040-43a.menu.flash.8388608_4194304.build.fs_end=276819968
bridgetek_idm2040-43a.menu.flash.8388608_5242880=8MB (Sketch: 3MB, FS: 5MB)
bridgetek_idm2040-43a.menu.flash.8388608_5242880.upload.maximum_size=3141632
bridgetek_idm2040-43a.menu.flash.8388608_5242880.build.flash_total=8388608
bridgetek_idm2040-43a.menu.flash.8388608_5242880.build.flash_length=3141632
bridgetek_idm2040-43a.menu.flash.8388608_5242880.build.eeprom_start=276819968
bridgetek_idm2040-43a.menu.flash.8388608_5242880.build.fs_start=271577088
bridgetek_idm2040-43a.menu.flash.8388608_5242880.build.fs_end=276819968
bridgetek_idm2040-43a.menu.flash.8388608_6291456=8MB (Sketch: 2MB, FS: 6MB)
bridgetek_idm2040-43a.menu.flash.8388608_6291456.upload.maximum_size=2093056
bridgetek_idm2040-43a.menu.flash.8388608_6291456.build.flash_total=8388608
bridgetek_idm2040-43a.menu.flash.8388608_6291456.build.flash_length=2093056
bridgetek_idm2040-43a.menu.flash.8388608_6291456.build.eeprom_start=276819968
bridgetek_idm2040-43a.menu.flash.8388608_6291456.build.fs_start=270528512
bridgetek_idm2040-43a.menu.flash.8388608_6291456.build.fs_end=276819968
bridgetek_idm2040-43a.menu.flash.8388608_7340032=8MB (Sketch: 1MB, FS: 7MB)
bridgetek_idm2040-43a.menu.flash.8388608_7340032.upload.maximum_size=1044480
bridgetek_idm2040-43a.menu.flash.8388608_7340032.build.flash_total=8388608
bridgetek_idm2040-43a.menu.flash.8388608_7340032.build.flash_length=1044480
bridgetek_idm2040-43a.menu.flash.8388608_7340032.build.eeprom_start=276819968
bridgetek_idm2040-43a.menu.flash.8388608_7340032.build.fs_start=269479936
bridgetek_idm2040-43a.menu.flash.8388608_7340032.build.fs_end=276819968
bridgetek_idm2040-43a.menu.freq.133=133 MHz
bridgetek_idm2040-43a.menu.freq.133.build.f_cpu=133000000L
bridgetek_idm2040-43a.menu.freq.50=50 MHz
bridgetek_idm2040-43a.menu.freq.50.build.f_cpu=50000000L
bridgetek_idm2040-43a.menu.freq.100=100 MHz
bridgetek_idm2040-43a.menu.freq.100.build.f_cpu=100000000L
bridgetek_idm2040-43a.menu.freq.120=120 MHz
bridgetek_idm2040-43a.menu.freq.120.build.f_cpu=120000000L
bridgetek_idm2040-43a.menu.freq.125=125 MHz
bridgetek_idm2040-43a.menu.freq.125.build.f_cpu=125000000L
bridgetek_idm2040-43a.menu.freq.128=128 MHz
bridgetek_idm2040-43a.menu.freq.128.build.f_cpu=128000000L
bridgetek_idm2040-43a.menu.freq.150=150 MHz (Overclock)
bridgetek_idm2040-43a.menu.freq.150.build.f_cpu=150000000L
bridgetek_idm2040-43a.menu.freq.175=175 MHz (Overclock)
bridgetek_idm2040-43a.menu.freq.175.build.f_cpu=175000000L
bridgetek_idm2040-43a.menu.freq.200=200 MHz (Overclock)
bridgetek_idm2040-43a.menu.freq.200.build.f_cpu=200000000L
bridgetek_idm2040-43a.menu.freq.225=225 MHz (Overclock)
bridgetek_idm2040-43a.menu.freq.225.build.f_cpu=225000000L
bridgetek_idm2040-43a.menu.freq.240=240 MHz (Overclock)
bridgetek_idm2040-43a.menu.freq.240.build.f_cpu=240000000L
bridgetek_idm2040-43a.menu.freq.250=250 MHz (Overclock)
bridgetek_idm2040-43a.menu.freq.250.build.f_cpu=250000000L
bridgetek_idm2040-43a.menu.freq.275=275 MHz (Overclock)
bridgetek_idm2040-43a.menu.freq.275.build.f_cpu=275000000L
bridgetek_idm2040-43a.menu.freq.300=300 MHz (Overclock)
bridgetek_idm2040-43a.menu.freq.300.build.f_cpu=300000000L
bridgetek_idm2040-43a.menu.opt.Small=Small (-Os) (standard)
bridgetek_idm2040-43a.menu.opt.Small.build.flags.optimize=-Os
bridgetek_idm2040-43a.menu.opt.Optimize=Optimize (-O)
bridgetek_idm2040-43a.menu.opt.Optimize.build.flags.optimize=-O
bridgetek_idm2040-43a.menu.opt.Optimize2=Optimize More (-O2)
bridgetek_idm2040-43a.menu.opt.Optimize2.build.flags.optimize=-O2
bridgetek_idm2040-43a.menu.opt.Optimize3=Optimize Even More (-O3)
bridgetek_idm2040-43a.menu.opt.Optimize3.build.flags.optimize=-O3
bridgetek_idm2040-43a.menu.opt.Fast=Fast (-Ofast) (maybe slower)
bridgetek_idm2040-43a.menu.opt.Fast.build.flags.optimize=-Ofast
bridgetek_idm2040-43a.menu.opt.Debug=Debug (-Og)
bridgetek_idm2040-43a.menu.opt.Debug.build.flags.optimize=-Og
bridgetek_idm2040-43a.menu.rtti.Disabled=Disabled
bridgetek_idm2040-43a.menu.rtti.Disabled.build.flags.rtti=-fno-rtti
bridgetek_idm2040-43a.menu.rtti.Enabled=Enabled
bridgetek_idm2040-43a.menu.rtti.Enabled.build.flags.rtti=
bridgetek_idm2040-43a.menu.stackprotect.Disabled=Disabled
bridgetek_idm2040-43a.menu.stackprotect.Disabled.build.flags.stackprotect=
bridgetek_idm2040-43a.menu.stackprotect.Enabled=Enabled
bridgetek_idm2040-43a.menu.stackprotect.Enabled.build.flags.stackprotect=-fstack-protector
bridgetek_idm2040-43a.menu.exceptions.Disabled=Disabled
bridgetek_idm2040-43a.menu.exceptions.Disabled.build.flags.exceptions=-fno-exceptions
bridgetek_idm2040-43a.menu.exceptions.Disabled.build.flags.libstdcpp=-lstdc++
bridgetek_idm2040-43a.menu.exceptions.Enabled=Enabled
bridgetek_idm2040-43a.menu.exceptions.Enabled.build.flags.exceptions=-fexceptions
bridgetek_idm2040-43a.menu.exceptions.Enabled.build.flags.libstdcpp=-lstdc++-exc
bridgetek_idm2040-43a.menu.dbgport.Disabled=Disabled
bridgetek_idm2040-43a.menu.dbgport.Disabled.build.debug_port=
bridgetek_idm2040-43a.menu.dbgport.Serial=Serial
bridgetek_idm2040-43a.menu.dbgport.Serial.build.debug_port=-DDEBUG_RP2040_PORT=Serial
bridgetek_idm2040-43a.menu.dbgport.Serial1=Serial1
bridgetek_idm2040-43a.menu.dbgport.Serial1.build.debug_port=-DDEBUG_RP2040_PORT=Serial1
bridgetek_idm2040-43a.menu.dbgport.Serial2=Serial2
bridgetek_idm2040-43a.menu.dbgport.Serial2.build.debug_port=-DDEBUG_RP2040_PORT=Serial2
bridgetek_idm2040-43a.menu.dbglvl.None=None
bridgetek_idm2040-43a.menu.dbglvl.None.build.debug_level=
bridgetek_idm2040-43a.menu.dbglvl.Core=Core
bridgetek_idm2040-43a.menu.dbglvl.Core.build.debug_level=-DDEBUG_RP2040_CORE
bridgetek_idm2040-43a.menu.dbglvl.SPI=SPI
bridgetek_idm2040-43a.menu.dbglvl.SPI.build.debug_level=-DDEBUG_RP2040_SPI
bridgetek_idm2040-43a.menu.dbglvl.Wire=Wire
bridgetek_idm2040-43a.menu.dbglvl.Wire.build.debug_level=-DDEBUG_RP2040_WIRE
bridgetek_idm2040-43a.menu.dbglvl.Bluetooth=Bluetooth
bridgetek_idm2040-43a.menu.dbglvl.Bluetooth.build.debug_level=-DDEBUG_RP2040_BLUETOOTH
bridgetek_idm2040-43a.menu.dbglvl.All=All
bridgetek_idm2040-43a.menu.dbglvl.All.build.debug_level=-DDEBUG_RP2040_WIRE -DDEBUG_RP2040_SPI -DDEBUG_RP2040_CORE -DDEBUG_RP2040_BLUETOOTH
bridgetek_idm2040-43a.menu.dbglvl.NDEBUG=NDEBUG
bridgetek_idm2040-43a.menu.dbglvl.NDEBUG.build.debug_level=-DNDEBUG
bridgetek_idm2040-43a.menu.usbstack.picosdk=Pico SDK
bridgetek_idm2040-43a.menu.usbstack.picosdk.build.usbstack_flags=
bridgetek_idm2040-43a.menu.usbstack.tinyusb=Adafruit TinyUSB
bridgetek_idm2040-43a.menu.usbstack.tinyusb.build.usbstack_flags=-DUSE_TINYUSB "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino"
bridgetek_idm2040-43a.menu.usbstack.tinyusb_host=Adafruit TinyUSB Host (native)
bridgetek_idm2040-43a.menu.usbstack.tinyusb_host.build.usbstack_flags=-DUSE_TINYUSB -DUSE_TINYUSB_HOST "-I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino"
bridgetek_idm2040-43a.menu.usbstack.nousb=No USB
bridgetek_idm2040-43a.menu.usbstack.nousb.build.usbstack_flags="-DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico"
bridgetek_idm2040-43a.menu.ipbtstack.ipv4only=IPv4 Only
bridgetek_idm2040-43a.menu.ipbtstack.ipv4only.build.libpicow=libpicow-noipv6-nobtc-noble.a
bridgetek_idm2040-43a.menu.ipbtstack.ipv4only.build.libpicowdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1
bridgetek_idm2040-43a.menu.ipbtstack.ipv4ipv6=IPv4 + IPv6
bridgetek_idm2040-43a.menu.ipbtstack.ipv4ipv6.build.libpicow=libpicow-ipv6-nobtc-noble.a
bridgetek_idm2040-43a.menu.ipbtstack.ipv4ipv6.build.libpicowdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1
bridgetek_idm2040-43a.menu.ipbtstack.ipv4btcble=IPv4 + Bluetooth
bridgetek_idm2040-43a.menu.ipbtstack.ipv4btcble.build.libpicow=libpicow-noipv6-btc-ble.a
bridgetek_idm2040-43a.menu.ipbtstack.ipv4btcble.build.libpicowdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -DENABLE_CLASSIC=1 -DENABLE_BLE=1
bridgetek_idm2040-43a.menu.ipbtstack.ipv4ipv6btcble=IPv4 + IPv6 + Bluetooth
bridgetek_idm2040-43a.menu.ipbtstack.ipv4ipv6btcble.build.libpicow=libpicow-ipv6-btc-ble.a
bridgetek_idm2040-43a.menu.ipbtstack.ipv4ipv6btcble.build.libpicowdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 -DENABLE_CLASSIC=1 -DENABLE_BLE=1
bridgetek_idm2040-43a.menu.ipbtstack.ipv4onlybig=IPv4 Only - 32K
bridgetek_idm2040-43a.menu.ipbtstack.ipv4onlybig.build.libpicow=libpicow-noipv6-nobtc-noble-big.a
bridgetek_idm2040-43a.menu.ipbtstack.ipv4onlybig.build.libpicowdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -D__LWIP_MEMMULT=2
bridgetek_idm2040-43a.menu.ipbtstack.ipv4ipv6big=IPv4 + IPv6 - 32K
bridgetek_idm2040-43a.menu.ipbtstack.ipv4ipv6big.build.libpicow=libpicow-ipv6-nobtc-noble-big.a
bridgetek_idm2040-43a.menu.ipbtstack.ipv4ipv6big.build.libpicowdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 -D__LWIP_MEMMULT=2
bridgetek_idm2040-43a.menu.ipbtstack.ipv4btcblebig=IPv4 + Bluetooth - 32K
bridgetek_idm2040-43a.menu.ipbtstack.ipv4btcblebig.build.libpicow=libpicow-noipv6-btc-ble-big.a
bridgetek_idm2040-43a.menu.ipbtstack.ipv4btcblebig.build.libpicowdefs=-DLWIP_IPV6=0 -DLWIP_IPV4=1 -DENABLE_CLASSIC=1 -DENABLE_BLE=1 -D__LWIP_MEMMULT=2
bridgetek_idm2040-43a.menu.ipbtstack.ipv4ipv6btcblebig=IPv4 + IPv6 + Bluetooth - 32K
bridgetek_idm2040-43a.menu.ipbtstack.ipv4ipv6btcblebig.build.libpicow=libpicow-ipv6-btc-ble-big.a
bridgetek_idm2040-43a.menu.ipbtstack.ipv4ipv6btcblebig.build.libpicowdefs=-DLWIP_IPV6=1 -DLWIP_IPV4=1 -DENABLE_CLASSIC=1 -DENABLE_BLE=1 -D__LWIP_MEMMULT=2
bridgetek_idm2040-43a.menu.uploadmethod.default=Default (UF2)
bridgetek_idm2040-43a.menu.uploadmethod.default.build.ram_length=256k
bridgetek_idm2040-43a.menu.uploadmethod.default.build.debugscript=picoprobe_cmsis_dap.tcl
bridgetek_idm2040-43a.menu.uploadmethod.default.upload.maximum_data_size=262144
bridgetek_idm2040-43a.menu.uploadmethod.default.upload.tool=uf2conv
bridgetek_idm2040-43a.menu.uploadmethod.default.upload.tool.default=uf2conv
bridgetek_idm2040-43a.menu.uploadmethod.default.upload.tool.network=uf2conv-network
bridgetek_idm2040-43a.menu.uploadmethod.picotool=Picotool
bridgetek_idm2040-43a.menu.uploadmethod.picotool.build.ram_length=256k
bridgetek_idm2040-43a.menu.uploadmethod.picotool.build.debugscript=picoprobe.tcl
bridgetek_idm2040-43a.menu.uploadmethod.picotool.build.picodebugflags=-DENABLE_PICOTOOL_USB
bridgetek_idm2040-43a.menu.uploadmethod.picotool.upload.maximum_data_size=262144
bridgetek_idm2040-43a.menu.uploadmethod.picotool.upload.tool=picotool
bridgetek_idm2040-43a.menu.uploadmethod.picotool.upload.tool.default=picotool
bridgetek_idm2040-43a.menu.uploadmethod.picoprobe_cmsis_dap=Picoprobe (CMSIS-DAP)
bridgetek_idm2040-43a.menu.uploadmethod.picoprobe_cmsis_dap.build.ram_length=256k
bridgetek_idm2040-43a.menu.uploadmethod.picoprobe_cmsis_dap.build.debugscript=picoprobe_cmsis_dap.tcl
bridgetek_idm2040-43a.menu.uploadmethod.picoprobe_cmsis_dap.upload.maximum_data_size=262144
bridgetek_idm2040-43a.menu.uploadmethod.picoprobe_cmsis_dap.upload.tool=picoprobe_cmsis_dap
bridgetek_idm2040-43a.menu.uploadmethod.picoprobe_cmsis_dap.upload.tool.default=picoprobe_cmsis_dap
bridgetek_idm2040-43a.menu.uploadmethod.picodebug=Pico-Debug
bridgetek_idm2040-43a.menu.uploadmethod.picodebug.build.ram_length=240k
bridgetek_idm2040-43a.menu.uploadmethod.picodebug.build.debugscript=picodebug.tcl
bridgetek_idm2040-43a.menu.uploadmethod.picodebug.build.picodebugflags=-UUSE_TINYUSB -DNO_USB -DDISABLE_USB_SERIAL -I{runtime.platform.path}/tools/libpico
bridgetek_idm2040-43a.menu.uploadmethod.picodebug.upload.maximum_data_size=245760
bridgetek_idm2040-43a.menu.uploadmethod.picodebug.upload.tool=picodebug
bridgetek_idm2040-43a.menu.uploadmethod.picodebug.upload.tool.default=picodebug
# -----------------------------------
# Cytron Maker Nano RP2040
# -----------------------------------
......@@ -86,6 +86,9 @@
{
"name": "BridgeTek IDM2040-7A"
},
{
"name": "BridgeTek IDM2040-43A"
},
{
"name": "Cytron Maker Nano RP2040"
},
......
{
"build": {
"arduino": {
"earlephilhower": {
"boot2_source": "boot2_w25q080_2_padded_checksum.S",
"usb_vid": "0x2E8B",
"usb_pid": "0xF00A"
}
},
"core": "earlephilhower",
"cpu": "cortex-m0plus",
"extra_flags": "-D ARDUINO_BRIDGETEK_IDM2040-43A -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250 -DFT8XX_TYPE=BT883 -DDISPLAY_RES=WQVGA -DPLATFORM_RP2040",
"f_cpu": "133000000L",
"hwids": [
[
"0x2E8A",
"0x00C0"
],
[
"0x2E8B",
"0xF00A"
]
],
"mcu": "rp2040",
"variant": "bridgetek_idm2040-43a"
},
"debug": {
"jlink_device": "RP2040_M0_0",
"openocd_target": "rp2040.cfg",
"svd_path": "rp2040.svd"
},
"frameworks": [
"arduino"
],
"name": "IDM2040-43A",
"upload": {
"maximum_ram_size": 270336,
"maximum_size": 8388608,
"require_upload_port": true,
"native_usb": true,
"use_1200bps_touch": true,
"wait_for_upload_port": false,
"protocol": "picotool",
"protocols": [
"blackmagic",
"cmsis-dap",
"jlink",
"raspberrypi-swd",
"picotool",
"picoprobe",
"pico-debug"
]
},
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",
"vendor": "BridgeTek"
}
......@@ -407,7 +407,8 @@ MakeBoard("breadstick_raspberry", "Breadstick", "Raspberry", "0x2e8a", "0x105e"
# BridgeTek
MakeBoard("bridgetek_idm2040-7a", "BridgeTek", "IDM2040-7A", "0x2e8a", "0x1041", 250, "BRIDGETEK_IDM2040-7A", 8, "boot2_w25q080_2_padded_checksum", ["FT8XX_TYPE=BT817", "DISPLAY_RES=WVGA", "PLATFORM_RP2040"])
MakeBoard("bridgetek_idm2040-43a", "BridgeTek", "IDM2040-43A", "0x2e8b", "0xf00a", 250, "BRIDGETEK_IDM2040-43A", 8, "boot2_w25q080_2_padded_checksum", ["FT8XX_TYPE=BT883", "DISPLAY_RES=WQVGA", "PLATFORM_RP2040"])
# Cytron
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
// 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 (3u)
#define PIN_SPI0_SCK (2u)
#define PIN_SPI0_SS (5u)
#define PIN_SPI1_MISO (12u)
#define PIN_SPI1_MOSI (11u)
#define PIN_SPI1_SCK (10u)
#define PIN_SPI1_SS (13u)
// default spi
#define PIN_SD_MOSI PIN_SPI1_MOSI
#define PIN_SD_MISO PIN_SPI1_MISO
#define PIN_SD_SCK PIN_SPI1_SCK
#define PIN_SD_SS PIN_SPI1_SS
#define SDCARD_DETECT 33
// Wire
#define PIN_WIRE0_SDA (4u)
#define PIN_WIRE0_SCL (5u)
#define PIN_WIRE1_SDA (26u)
#define PIN_WIRE1_SCL (27u)
#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