arduino / arduino-ide

Arduino IDE 2.x
https://www.arduino.cc/en/software
GNU Affero General Public License v3.0
2.35k stars 395 forks source link

Provide builds for riscv64 host CPU architecture #1936

Open N0rbert opened 1 year ago

N0rbert commented 1 year ago

Currently RISC-V became more and more popular, for example VisionFive 1 and VisionFive 2 SBC platforms are widely available.

Please provide Arduino IDE for this platform.

anonymouscowhead commented 9 months ago

tried to build it from source, and it seemed to trip up on nx lacking a native module for riscv64.. https://github.com/nrwl/nx/issues/20914

bitsk commented 1 month ago

Here is a temporary build version that can run in common RISC-V desktop environments. It only supports AVR development boards, and there are still a large number of packages missing builds. They lack CI, and I'm not sure how to proceed with this in Arduino. arduino-ide_2.3.3-snapshot-2e78e96b_Linux_riscv64.zip

anonymouscowhead commented 1 week ago

Excellent, thanks! Can confirm that the build works on my Lichee Pi 4a with stock OS, and Uno R3 Just Works when compiling, uploading, serial monitor. Surprisingly the same also works on the R4 board with some apparently-non-fatal errors on the console. Maybe more progress has been made in the last month on packages needed for the Renesas-based boards?