muele/red/mod-io2
2024-12-23 14:07:54 +01:00
..
include Add sourcecode from olimex 2024-12-22 19:15:21 +01:00
lib Add sourcecode from olimex 2024-12-22 19:15:21 +01:00
src Set proper prescaler and period for 100Hz 2024-12-23 14:07:54 +01:00
test Add sourcecode from olimex 2024-12-22 19:15:21 +01:00
.gitignore Add sourcecode from olimex 2024-12-22 19:15:21 +01:00
justfile Build firmware 2024-12-22 21:39:24 +01:00
platformio.ini Implement blinker with Relays 2024-12-23 12:53:03 +01:00
README.txt Add sourcecode from olimex 2024-12-22 19:15:21 +01:00
scratch Build firmware 2024-12-22 21:39:24 +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/