mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-07-26 06:38:42 +00:00
c698eeacba
OpenOCD can be somewhat outdated. `probe-rs` is a more modern tool written in Rust with many interesting features, like built-in RTT logging support. This commit just adds basic support, to be able to flash devices with probe-rs and debug them.
20 lines
409 B
JSON
20 lines
409 B
JSON
{
|
|
"inherits": [
|
|
"cortex-m0plus"
|
|
],
|
|
"build-tags": [
|
|
"stm32l031",
|
|
"stm32l0x1",
|
|
"stm32l0",
|
|
"stm32"
|
|
],
|
|
"linkerscript": "targets/stm32l031x6.ld",
|
|
"extra-files": [
|
|
"src/device/stm32/stm32l0x1.s"
|
|
],
|
|
"flash-method": "openocd",
|
|
"probe-rs-chip": "STM32L031G6Ux",
|
|
"openocd-interface": "cmsis-dap",
|
|
"openocd-target": "stm32l0"
|
|
}
|