-
-
Notifications
You must be signed in to change notification settings - Fork 24
Home
This MicroPython port is now in a stable phase, but some bugs and issues can be expected, please report
All standard MicroPython functionality and modules are implemented, as well as advanced thread support, file system support and display module.
Modules providing support for still unsupported K210 peripherals will be implemented soon
For discussion about this MicroPython port please wisit the dedicated Forum
This implementation is based on MaixPy
Based on kendryte-freertos-sdk (modified to include some needed features not yet implemented) it brings many new features:
- MicroPython core based on latest release build from main Micropython repository, unchanged except for the thread support and other changes needed to work with 64-bit RISC-V.
- Running two independent Micropython instances on two K210 cores is supported.
Data exchange between instances is supported. - Refactored _thread module with many new features, based on my MicroPython for ESP32 _thread module
- Full support for LittleFS on internal Flash.
SPIFFS is also supported (with directories support) and can be selected when building. - Full support for Fat32 file system on external SD Card
- Full filesystem timestamp support for LittleFS, SPIFFS and Fat32
- ymodem module for file transfer to/from K210 board using ymodem protocol is provided
- uhashlib and ucryptolib using K210 hardware AES are implemented
- Display module ported from my [MicroPython for ESP32] (https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo/wiki/display) display module
- Full network support for WiFi (based on ESP8266/ESP8285) and GSM modules.
- usqlite3 module, data base on internal flash or SD Card, in-memory database supported
- pye, full screen file editor (as python frozen module) is provided
-
MPyTerm, serial terminal emulator specially designed for MicroPython is provided.
Included are commands to syncronize MicroPython time from PC, change the REPL baudrate, transfer files to/from MicroPython filesystem (including transfering whole directories).
Fast block file transfer is used, protected with CRC. -
Eclipse project files included.
To include it into Eclipse goto:
File->Import->General->Existing Projects into Workspace
Select root directory
[select MicroPython_K210_LoBo directory]Finish
.
Rebuild index
ExecuteIndex->Freshen All Files
. - Many modules from my MicroPython for ESP32 port are already ported, porting some others is planned.
- More to come soon ...
This MicroPython port was tested on Sipeed's MAIX boards.
Here are some links to the distributors:
Seed
AnalogLamb
Banggood (prices to high)
It should also work on Kendryte KD233, probably with some modifications, but it was not tested.
- Maix-M1 schematic
- Maix-Bit schematic
- Maix-Go schematic
- Kendryte K210 datasheet
- RISC-V ISA Design
- RISC-V ISA Manual
- Forum
- MicroPython documentation
If you find this project useful, you can contribute by making a donation