mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 02:27:48 +00:00
9a69c6bcca
This makes debugging on the HiFive1 rev B much easier:
tinygo gdb -target=hifive1b examples/echo
Using JLinkGDBServer as I couldn't figure out how to do it with OpenOCD.
10 lines
214 B
JSON
10 lines
214 B
JSON
{
|
|
"inherits": ["fe310"],
|
|
"build-tags": ["hifive1b"],
|
|
"linkerscript": "targets/hifive1b.ld",
|
|
"flash-method": "msd",
|
|
"msd-volume-name": "HiFive",
|
|
"msd-firmware-name": "firmware.hex",
|
|
"jlink-device": "fe310"
|
|
}
|