
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.
9 строки
214 Б
JSON
9 строки
214 Б
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"
|
|
}
|