orca/src/ext/wasm3/platforms/embedded/hifive1
Ben Visness 29cb9f50e4 Add commands to deal with Orca source code:
- Add a vendor commands
- Add a command that helps you set up a C compiler
- Move ext into the src folder
- Update Mac build scripts for consistency
- Update Windows batch scripts
2023-09-16 17:54:56 +02:00
..
lib Add commands to deal with Orca source code: 2023-09-16 17:54:56 +02:00
src Add commands to deal with Orca source code: 2023-09-16 17:54:56 +02:00
.gitignore Add commands to deal with Orca source code: 2023-09-16 17:54:56 +02:00
README.md Add commands to deal with Orca source code: 2023-09-16 17:54:56 +02:00
platformio.ini Add commands to deal with Orca source code: 2023-09-16 17:54:56 +02:00

README.md

Build for HiFive1

Debugging:

On first console, run

JLinkGDBServer -singlerun -if JTAG -select USB -speed 1000 -jtagconf -1,-1 -device FE310 --port 2331

On second console, run riscv64-unknown-elf-gdb:

file ".pio/build/hifive1-revb/firmware.elf"
target extended-remote :2331
b main
monitor halt
monitor reset
load
c