Files
firmware/boards/t-impulse-plus.json
Jonathan BennettandClaude Opus 5 c97e89f84a fix(boards): add the missing openocd_target to t-impulse-plus (#12034)
PlatformIO's upload-port autodetection enumerates boards from every installed
platform, not just the one being built. platform-raspberrypi's
_add_default_debug_tools() acts on any of cmsis-dap, raspberrypi-swd and
picoprobe that a board lists in upload.protocols, and asserts that
debug.openocd_target is set for each of them.

t-impulse-plus lists cmsis-dap but has no openocd_target, so that assert fired
during port detection and aborted `-t upload` for every environment in the
repo. Flashing an ESP32-S3 board failed on an nRF52840 board's manifest:

    *** [upload] AssertionError : Missing target configuration for t-impulse-plus

The manifest has been missing the key since #10497; it only started biting when
the platform pin moved in #11814. Use nrf52840-mdk-rs, as the other thirty
nRF52840 boards in boards/ already do. It is the only board in the tree that
trips this.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-10-07 21:10:00 +00:00

60 lines
1.3 KiB
JSON

{
"build": {
"arduino": {
"ldscript": "nrf52840_s140_v6.ld"
},
"core": "nRF5",
"cpu": "cortex-m4",
"extra_flags": "-DARDUINO_NRF52840_T_IMPULSE_PLUS -DNRF52840_XXAA",
"f_cpu": "64000000L",
"hwids": [
["0x239A", "0x8029"],
["0x239A", "0x00DA"]
],
"usb_product": "T-Impulse-Plus-nRF52840",
"mcu": "nrf52840",
"variant": "t-impulse-plus",
"variants_dir": "variants",
"bsp": {
"name": "adafruit"
},
"softdevice": {
"sd_flags": "-DS140",
"sd_name": "s140",
"sd_version": "6.1.1",
"sd_fwid": "0x00B6"
},
"bootloader": {
"settings_addr": "0xFF000"
}
},
"connectivity": ["bluetooth"],
"debug": {
"jlink_device": "nRF52840_xxAA",
"onboard_tools": ["jlink"],
"svd_path": "nrf52840.svd",
"openocd_target": "nrf52840-mdk-rs"
},
"frameworks": ["arduino"],
"name": "Lilygo T-Impulse-Plus-nRF52840",
"upload": {
"maximum_ram_size": 248832,
"maximum_size": 815104,
"require_upload_port": true,
"wait_for_upload_port": true,
"use_1200bps_touch": true,
"speed": 115200,
"protocol": "nrfutil",
"protocols": [
"jlink",
"nrfjprog",
"nrfutil",
"stlink",
"cmsis-dap",
"blackmagic"
]
},
"url": "https://www.lilygo.cc/",
"vendor": "Lilygo"
}