cargo buildIn order to flash the device, execute the following command
openocd -c "debug_level 2" -f utils/wch-riscv.cfg -c init -c halt -c "program {target/riscv32imfc-unknown-none-elf/debug/dumper} verify reset" -c shutdownIn order to debug, launch the openocd and halt
openocd -c "debug_level 2" -f utils/wch-riscv.cfg -c init -c haltRun the "Debug on target" VSCode debug configuration or a gdb linking to the target using command line:
riscv32-unknown-elf-gdb target/riscv32imfc-unknown-none-elf/debug/dumper \
-ex "file target/riscv32imfc-unknown-none-elf/debug/dumper" \
-ex "target extended-remote :3333"