mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-01 10:19:59 +00:00
1dfa8f2d9e
* POC. Board definition JSON upcoming. Generic for now * side-effect: RP2040 is building again. * WIP Pico Targets * current state of affairs * ahem * POC. Board definition JSON upcoming. Generic for now * side-effect: RP2040 is building again. * WIP Pico Targets * current state of affairs * ahem * fmt * update toolkit and fmt * Add built in LED pin * Use arduino pins * init SPI bus on right pins. * Use SPI1 and control chip select manually * Use macro define for SPI selection. This needs to be defined in the ini file since portduino needs it inside the framework source * Remove manual CS; works when not using setCS() * Remove whoopsie debug line * we are not ARDUINO_AVR_NANO_EVERY any more * fix rp2040 compilation * fix RadioLibHAL * Use new arduino-pico core * Use cortex-m0plus for BSEC2 library * Forgot RAK11310 target for BSEC2 library * That branch was merged * RAK11310 is working too --------- Co-authored-by: Ben Meadors <benmmeadors@gmail.com> Co-authored-by: GUVWAF <thijs@havinga.eu>
41 lines
1.1 KiB
JSON
41 lines
1.1 KiB
JSON
{
|
|
"build": {
|
|
"arduino": {
|
|
"earlephilhower": {
|
|
"boot2_source": "boot2_w25q080_2_padded_checksum.S",
|
|
"usb_vid": "0x2E8A",
|
|
"usb_pid": "0x000A"
|
|
}
|
|
},
|
|
"core": "earlephilhower",
|
|
"cpu": "cortex-m0plus",
|
|
"extra_flags": "-DARDUINO_GENERIC_RP2040 -DRASPBERRY_PI_PICO -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250",
|
|
"f_cpu": "133000000L",
|
|
"hwids": [
|
|
["0x2E8A", "0x00C0"],
|
|
["0x2E8A", "0x000A"]
|
|
],
|
|
"mcu": "rp2040",
|
|
"variant": "WisBlock_RAK11300_Board"
|
|
},
|
|
"debug": {
|
|
"jlink_device": "RP2040_M0_0",
|
|
"openocd_target": "rp2040.cfg",
|
|
"svd_path": "rp2040.svd"
|
|
},
|
|
"frameworks": ["arduino"],
|
|
"name": "WisBlock RAK11300",
|
|
"upload": {
|
|
"maximum_ram_size": 270336,
|
|
"maximum_size": 2097152,
|
|
"require_upload_port": true,
|
|
"native_usb": true,
|
|
"use_1200bps_touch": true,
|
|
"wait_for_upload_port": false,
|
|
"protocol": "picotool",
|
|
"protocols": ["cmsis-dap", "raspberrypi-swd", "picotool", "picoprobe"]
|
|
},
|
|
"url": "https://docs.rakwireless.com/",
|
|
"vendor": "RAKwireless"
|
|
}
|