17 lines
640 B
Plaintext
17 lines
640 B
Plaintext
### 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/
|