You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wasm3/platforms/embedded/hifive1/README.md

20 lines
347 B
Markdown

## Build for HiFive1
### Debugging:
On first console, run
```sh
JLinkGDBServer -singlerun -if JTAG -select USB -speed 1000 -jtagconf -1,-1 -device FE310 --port 2331
```
On second console, run `riscv64-unknown-elf-gdb`:
```gdb
file ".pio/build/hifive1-revb/firmware.elf"
target extended-remote :2331
b main
monitor halt
monitor reset
load
c
```