mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-04 02:57:46 +00:00
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>
This commit is contained in:
@@ -3,5 +3,6 @@
|
||||
"build-tags": ["arduino_uno_q"],
|
||||
"serial": "uart",
|
||||
"openocd-interface": "stlink",
|
||||
"openocd-target": "stm32u5x"
|
||||
"openocd-target": "stm32u5x",
|
||||
"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"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user