Skip to content
forked from sipeed/Maixduino

Arduino core for Sipeed Maix and other K210 devices

License

Notifications You must be signed in to change notification settings

UT2UH/Maixduino

 
 

Repository files navigation

Maixduino

Arduino Core for K210 based devices

Supported devices

Sipeed Maix series

M5Stack

Various custom boards

Docs

Docs: maixduino.sipeed.com

Install

Refer install doc: Install

Installing

From Board Manager

  1. Download and install the Arduino IDE (at least version v1.9.8)
  2. Start the Arduino IDE
  3. Go into Preferences
  4. Add https://github.com/UT2UH/Maixduino/blob/gh-pages/package_Maixduino_boards_index.json as an "Additional Board Manager URL"
  5. Open the Boards Manager from the Tools -> Board menu and install "Maixduino(K210)"
  6. Select your K210 board from the Tools -> Board menu

From git

  1. Follow steps from Board Manager section above
  2. cd <SKETCHBOOK>, where <SKETCHBOOK> is your Arduino Sketch folder:
  • OS X: ~/Documents/Arduino
  • Linux: ~/Arduino
  • Windows: ~/Documents/Arduino
  1. Create a folder named hardware, if it does not exist, and change directories to it
  2. Clone this repo: git clone https://github.com/UT2UH/Maixduino/tree/MAixCore Maixduino/k210
  3. Restart the Arduino IDE

Firmware flashing

The firmware of the K210 devices is updated with a Python-based kflash cross-platform tool. Follow kflash github page on installation instruction.

Change board settings in Tools section on the top of Arduino IDE
  1. Board: The same as your dev board
  2. Burn Toolfirmware: leave default, for Maix Go Kit - open-ec
  3. Burn Baudrate: Decrease it if download fails
  4. Port: Serial port, e.g. /dev/ttyUSB0
  5. Programmer: k-flash

Credits

This core is based on and compatible with the Sipeed Maixduino Core

Languages

  • C 51.6%
  • C++ 47.7%
  • Objective-C 0.7%