mirror of
https://github.com/pikvm/pikvm.git
synced 2026-03-02 18:16:56 -05:00
Error: Unknown development platform 'atmelavr' while flashing Arduino HID #480
Labels
No labels
component:documentation
help wanted
resolution:delayed
resolution:duplicate
resolution:fixed
resolution:invalid
resolution:rejected
resolution:wontfix
success story
type:bug
type:bug
type:feature
type:question
type:question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pikvm-pikvm#480
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @awolf666 on GitHub (Jun 27, 2022).
Originally assigned to: @mdevaev on GitHub.
I used a PI 2 to setup PIKVM v0. Did everything like in the manual described. There were a few warnings and errors while building the image but the pi booted with the created image. When I tried to flash the Arduino (Pro Micro Atmel Mega 32U4) the following error occured:
[root@pikvm2 hid]# make spi
make _build E=spi
make[1]: Entering directory '/root/hid'
rm -f .current
platformio run --environment spi
If you like PlatformIO, please:
Processing spi (platform: atmelavr; board: micro; framework: arduino)
Platform Manager: Installing atmelavr
Downloading [####################################] 100%
Unpacking [####################################] 100%
Platform Manager: atmelavr @ 4.0.0 has been installed!
Error: Unknown development platform 'atmelavr'
make[1]: *** [Makefile:9: _build] Error 1
make[1]: Leaving directory '/root/hid'
make: *** [Makefile:4: spi] Error 2
Same error when building the TTL Firmware
I removed "hid" and ".platformio" folders, reinstalled platformio via script from official homepage.
Still the same error
PiKVM info:
pacman -Q | grep kvmdkvmd 3.117-1
kvmd-fan 0.22-1
kvmd-oled 0.12-1
kvmd-platform-v0-hdmi-rpi2 3.117-1
kvmd-webterm 0.42-1
@mdevaev commented on GitHub (Jun 27, 2022):
I've build the new platformio. Update OS, remove old
hiddirectory and retry. It will work.@awolf666 commented on GitHub (Jun 28, 2022):
Please assume that I'm a total noob. (because I am)
I rebuild the image following these instructions:
https://docs.pikvm.org/building_os/
--> QUESTION: I just deleted the old "os" folder. Are there any other remnants (e.g. docker container?) hiding elsewhere? Because flashing the firnware didn't work initially. Still got the old error.
Next flashing the Arduino:
https://docs.pikvm.org/flashing_hid/
Still got the same error.
After running "pacman -Syu" it worked. Perhaps that command should be integrated into the instructions above. (I never had anything done with arch or pacman (because I am noob) so I didn't know how to run a system upgrade)
Regards
@mdevaev commented on GitHub (Jun 28, 2022):
This is a temporary phenomenon, it won't be needed anymore.