muele/mod-io2
2024-12-24 20:21:49 +01:00
..
include Move modio dir 2024-12-24 20:21:49 +01:00
lib Move modio dir 2024-12-24 20:21:49 +01:00
src Move modio dir 2024-12-24 20:21:49 +01:00
test Move modio dir 2024-12-24 20:21:49 +01:00
.gitignore Move modio dir 2024-12-24 20:21:49 +01:00
justfile Move modio dir 2024-12-24 20:21:49 +01:00
platformio.ini Move modio dir 2024-12-24 20:21:49 +01:00
README.txt Move modio dir 2024-12-24 20:21:49 +01:00
scratch Move modio dir 2024-12-24 20:21:49 +01:00

### Install - packages
apt-get install build-essential libnewlib-dev gcc-riscv64-unknown-elf libusb-1.0-0-dev libudev-dev gdb-multiarch

### Install - Visual Studio Code 
https://code.visualstudio.com/docs/setup/linux

### Install - Platform IO 
https://platformio.org/install/ide?install=vscode

### Install - CH32V-Platform
https://github.com/Community-PIO-CH32V/ch32-pio-projects?tab=readme-ov-file#installing-the-ch32v-platform

To build firmware.bin and firmware.elf select 
> PlatformIO > PROJECT TASKS > Default > Advanced > Verbose build

firmware.bin and firmware.elf are located in .pio/build/genericCH32V003F4P6/