From b6bad8e46b4ff945c4204eac0498d92a729e8019 Mon Sep 17 00:00:00 2001 From: Yao Wei Date: Sun, 23 Mar 2025 16:38:33 +0800 Subject: [PATCH] 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 --- docs/flashing_hid.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/docs/flashing_hid.md b/docs/flashing_hid.md index fe22501c..39a0f5cb 100644 --- a/docs/flashing_hid.md +++ b/docs/flashing_hid.md @@ -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