docs: update flashing_hid.md (#1483)

* docs: update flashing_hid.md

This changeset adds manual on installing platformio since recent image does not ship with it.  Also fix some typo due to directory name change.

* docs: correct format for flashing_hid.md

* Update flashing_hid.md
This commit is contained in:
Yao Wei 2025-03-23 16:38:33 +08:00 committed by GitHub
parent b23fb02985
commit b6bad8e46b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 17 additions and 2 deletions

View File

@ -5,6 +5,21 @@
# Flashing the Arduino HID
## Note for the recent images
Current image no longer ships with platformio, therefore if during the build the error message below occurs:
```
make[1]: platformio: No such file or directory
```
Please install `platformio-core` and continue:
```shell
pacman -Syu
pacman -S platformio-core
```
## Serial Firmware (the default option)
This operation can be done using your RPi (except Pi Zero W). Here the common steps:
@ -21,7 +36,7 @@ This operation can be done using your RPi (except Pi Zero W). Here the common st
# rw
# systemctl stop kvmd
# cp -r /usr/share/kvmd/hid/arduino ~
# cd ~/hid
# cd ~/arduino
# make
# make install
# reboot
@ -48,7 +63,7 @@ This operation can be done using your Raspberry Pi without disconnecting any wir
# rw
# systemctl stop kvmd
# cp -r /usr/share/kvmd/hid/arduino ~
# cd ~/hid
# cd ~/arduino
# make spi
# make install
# reboot