Skip to content

Releases: denko-rb/mruby-milkv-duo

v0.1.0

28 Oct 13:51
Compare
Choose a tag to compare

Notes

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 is milkv.
  • 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 with mruby FILENAME.rb.
  • If you have issues with the examples (specifically PWM), make sure to read the pinmux section of the readme.