Skip to content

Commit 1e25992

Browse files
committed
targets: add stm32u585 openocd commands for flashing on Arduino UNO Q
This adds the specific OpenOCD commands needed for flashing the onboard STM32U585 MCU directly from the Arduino UNO Q board. Thanks to https://github.com/jesdev-io/arduino-uno-q-pio-toolchain for the infor on how to do this. Signed-off-by: deadprogram <ron@hybridgroup.com>
1 parent 7565e09 commit 1e25992

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

targets/arduino-uno-q.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
"build-tags": ["arduino_uno_q"],
44
"serial": "uart",
55
"openocd-interface": "stlink",
6-
"openocd-target": "stm32u5x"
6+
"openocd-target": "stm32u5x",
7+
"openocd-commands": ["adapter driver linuxgpiod adapter gpio swclk -chip 1 26 adapter gpio swdio -chip 1 25 adapter gpio srst -chip 1 38 transport select swd adapter speed 1000 reset_config srst_only srst_push_pull"]
78
}

0 commit comments

Comments
 (0)