Releases: denko-rb/mruby-milkv-duo
Releases · denko-rb/mruby-milkv-duo
v0.1.0
Notes
- Built with mruby/mruby@6ad6b6c
- Built with milkv-duo/duo-sdk@35b9aaf
- Tested on duo-buildroot-sdk v1.1.3
- Tested on Duo and Duo 256M, but not Duo S, even though that build is included.
Install Instructions
- Download the Linux image for your board, from the official repo.
- Using balenaEtcher or similar, flash the image to a micro SD card.
- Insert the SD card into your Duo and connect it to your computer.
- Download and unzip the mruby binaries (below) for your board
- The Milk-V Duo should have created a network interface on your computer, so you can SSH/SCP into it. The default username is
root
and password ismilkv
. - Copy the binaries onto the board:
# Linux scp -O UNZIPPED_BINARY_FOLDER/* [email protected]:/usr/local/bin
# Mac scp UNZIPPED_BINARY_FOLDER/* [email protected]:/usr/local/bin
- SSH into the board with
ssh [email protected]
. - Try the
mirb
shell, or copy over examples from this folder, and try them withmruby FILENAME.rb
. - If you have issues with the examples (specifically PWM), make sure to read the pinmux section of the readme.