-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Large amount of changes and additions
The official name of this port is now 'MicroPython for K210' - all refferences to 'maixpy' are removed Build system - most port specific options can now be configured using menuconfig - added --menuconfig option to BUILD.sh - build on Mac OSX and arm platforms is now supported and toolchains provided Changed memory management support - if not using KPU, full 8 MB of memory can be used Updated 'kflash.py' with https://github.com/loboris/ktool - new flash tool name is 'ktool.py', but the old name 'fflash.py' can still be used FreeRTOS updated - many improvements - added 'mbedtls' library - added 'heap_5' support Using two MicroPython instances improved - better inter-instances communication SPI Flash support, including internal file system improved - SPI Flash speed can be changed from MicroPython - added methods for reading Flash chip JEDEC ID and unique ID MicroPython modules improved, some bugs fixed, new modules added - almost all modules improved - 'Display' module: - added support for ePaper displays - added support for hershey vector fonts - added PNG support - Network support improved - 'machine' module: - added functions 'state', 'sramread', 'addrof', 'k210_id', 'flash_serial', 'flash_speed' - added 'camera' module with full support for OV2640 and OV5640 - added 'ulab' module
- Loading branch information
Showing
343 changed files
with
158,316 additions
and
3,700 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,21 @@ | ||
# MicroPython for Kendryte K210 | ||
|
||
|
||
Three prebuilt firmwares are provided: | ||
|
||
* `default` default configuration, no sqlite module, one MicroPython task; in this directory | ||
* `sqlite` default configuration, sqlite module included, one MicroPython task; in `sqlite` directory | ||
* `twotasks` no KPU (8 MB SRAM used), sqlite module included, two MicroPython task; in `twotasks` directory | ||
|
||
To flash the pre-built firmware to your K210 board, run (in this directory): | ||
|
||
``` | ||
./kflash.py -p /dev/ttyUSB0 -b 2000000 -t MaixPy.bin | ||
./kflash.py -p /dev/ttyUSB0 -b 2000000 -t MicroPython.bin | ||
``` | ||
|
||
Change */dev/ttyUSB0* to the port used to connect to the board if needed.<br> | ||
`MaixPy.bin` is the default firmware name. Other firmware names can be used. | ||
|
||
Two firmwares are provided, one with sqlite3 compiled and one without it.<br> | ||
You can replace `MicroPython.bin` with `sqlite/MicroPython.bin` or `twotasks/MicroPython.bin` to flash another firmware. | ||
|
||
`MaixPy.kfpkg` is also provided which contains prebuilt LittleFS internal file system.<br> | ||
To flash it, just replace `MaixPy.bin` with `MaixPy.fpkg`. | ||
`MicroPython.kfpkg` is also provided which contains prebuilt LittleFS internal file system.<br> | ||
To flash it, just replace `MicroPython.bin` with `MicroPython.kfpkg`. | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.