Releases: sipeed/MaixPy-v1
v0.6.3
v0.6.2
download at : https://dl.sipeed.com/shareURL/MAIX/MaixPy/release/master
Update since tag v0.4.0:
New feature
KPU
- Support kmodel V4(nncase v0.2.0 beta4), you need to call
kpu.setoutputs(obj, out_layer, w, h, ch)to set output shape beforekpu.forward - Add
load_flashsupport (load big model but slowlly) - Add 1 dimension input support( list)
- Add
classifiermodule
vision
- Add
UTF-8customize font support,load_font&draw_font&draw_string - Support
image.draw_imagetransparent mixed (Transparency from black to white) - Improved font effect of openmv
image.font - Add
OV5640andGC2145partially function support
Others
- Add
ulabmodule - Add
lodepngmodule(for lvgl) - Sensor dual buffer
- Add
sensor.set_jb_quality(q)for IDE image quality - Add
Maix.utils.flash_readAPI Mic-ArrayIO pin supports custom configuration- Add maix_config for different board use one firmware, allow lcd/sensor/sdcard remapping pins in
config.json - Support ussl(https)
- Support WDT (watchdog timer)
fm.fpioa.set_functionargs now allowset_io_driving&set_sl&set_st- Support software
i2c&spi - Add SpeechRecognizer(Now Refactor to speech)
- Refactor NES module support
nes.input()&nes.loop() - WS2812 add
ws_num()get ws2812 config number. - Speech add
speech_isolated_wordsupport maix bit/dock/duino/etc. - Network add wiznet5k support
- Improve
image.rotation_correction() - Support onewire
Optimize
- Remove LCD font, now use image's font
- Optimize IDE script execute, and change to file mode instead of REPL mode
- Make built in py files configuable, revemo pye in minimum firmware by default
- Optimize I2C slave code
- Make sensor.set_windowing() center align
- Change KPU error code to string message
- MaixPy boot speed up!
BUG fix
Vision
- Fix
image.to_grayscalebug - Fix
lcd.draw_stringcolor bug - OV7740
hmirrorerror(soft fix) - Fix
bmpimage load error - Fix lcd init uninitialized variables cause image misalignment
Others
- Fix
time.time()error (RTC hardware bug) time.time()now start from2000.1.1 00:00:00, the same as micropython- Fix wave audio play bug
- Pull up io16 in main.py
- Fix kpu.conv3 bug
- Fix thread gc collect bug
- Fix
kpu.deinitbug, and auto collect bug - Fix ESP8285/ESP32 network layer communication
- Fix GPIOHS can't read after write
- Fix can't play avi for self record.
- Fix conflicts between SDCard and ESP32 on Maixduino.
0.6.1
v0.6.1 fix ci
0.5.0
v0.4.0
maixpy-ide: http://dl.sipeed.com/MAIX/MaixPy/ide/v0.2.4
v0.3.2
v0.3.1
New Features
- Add file transfer support for MaixPy IDE
- Add
machine.reset()
Fix
- Fix
os.getcwd()return value error - Clear file when open file with "w" mode
- Fix
img.get_statistics()memory align error
Docs
Firmware Download
dl.sipeed.com
or assets below
New Features
- Add file transfer support for MaixPy IDE
- Add
machine.reset()
Fix
- Fix
os.getcwd()return value error(#49) - Clear file when open file with "w" mode
- Fix
img.get_statistics()memory align error(#55)
Docs
Download
Firmware and model
dl.sipeed.com
or assets below
maixpy_v0.3.1_full.bin: firmware with full functionmaixpy_v0.3.1_no_lvgl.bin: firmware with no littlvgl supportmaixpy_v0.3.1_minimum.bin: firmware with minimum function supportface_model_at_0x300000.kfpkg: face detect model at flash adrees0x300000, burn it with kflash(This file contains only the model. Burning this file will not cause the firmware inflashto be overwritten.)
MaixPy IDE
- dl.sipeed.com
- CDN For Chinese:
- MD5
新特性
- 为 MaixPy IDE 增加文件传输和脚本保存的功能
- 增加硬件复位功能:
machine.reset()
修复
文档
下载
固件下载
dl.sipeed.com
或者下面的 assets 下载
maixpy_v0.3.1_full.bin: 全功能版本固件maixpy_v0.3.1_no_lvgl.bin: 不包含 littlvgl 的固件maixpy_v0.3.1_minimum.bin: 最小功能的固件face_model_at_0x300000.kfpkg: 将会烧录到flash地址0x300000的人脸检测模型,使用kflash烧录。(此文件只包含模型,烧录此文件不会导致flash里面的固件被覆盖)
MaixPy IDE 下载
- dl.sipeed.com
- CDN For Chinese:
- MD5
v0.3.0
New Features
- Adapt for OpenMV IDE( Can not use the original version, in order to adapt MaixPy, there are modifications to the IDE source code)
- Add
UART.any() - Add get REPL UART object by
UART.repl_uart(), e.g. : change baud rate to 1.5M:
from machine import UART
repl = UART.repl_uart()
repl.init(1500000, 8, None, 1, read_buf_len=2048)- Add set REPL UART, by
UART.set_repl_uart(obj), theobjisUARTobject, the old one will be delete automatically(default REPL UART isUARTHS)
API Changes
- Remove
clockmodule, moveclock.clock()to time module, removeclock.sleep()function, you MUST usetime.sleep_ms(n)to sleep n ms,time.sleep(n)means sleep n s, It's different withOpenMV's! - Auto run sensor after sensor reset, you can stop sensor by
sensor.run(0) - Remove : rewrite
boot.pyin_boot.pywhen BOOT key pushed down on power up - Create
Board_Infoobject as varboard_infoinboard.py, use it by:
from board import board_info
print(board.BOOT_KEY)the same as fpioa_manager
from fpioa_manager import fm
fm.register(board_info.LED_R, fm.fpioa.GPIOHS0)or just import from fpioa_manager
from fpioa_manager import fm, board_info
print(board.BOOT_KEY)
fm.register(board_info.LED_R, fm.fpioa.GPIOHS0)Fix
- Fix touchscreen module compile error when not select it in makefile
Download
Docs
新特性
- 适配 OpenMV IDE (OpenMVP官方IDE不能使用, 为了适配 MaixPy 对 IDE 源码有修改)
- 添加
UART.any()函数 - 增加 获取 交互串口对象(REPL UART object) 的方法:
UART.repl_uart(), 比如:修改波特率位 1.5M:
from machine import UART
repl = UART.repl_uart()
repl.init(1500000, 8, None, 1, read_buf_len=2048)- 增加 重新设置串口对象的接口, 通过
UART.set_repl_uart(obj)来修改,obj参数 是一个UART对象,旧的使用在 REPL 上的串口对象将会被自动销毁(开机 REPL默认使用的串口是UARTHS)
API 改动
- 移除了
clock模块,因为它看起来比较奇怪,把clock.clock()函数移到了time模块,删除了clock.sleep()函数, 如果需要延时 n 毫秒请使用time.sleep_ms(n),time.sleep(n)只用来延时 n 秒, 注意这是和OpenMV不同的地方 - 在摄像头初始化后(sensor.reset) 会自动启动运行,不需要再调用
sensor.run(1),当然可以调用
sensor.run(0)来停止运行 - 删除了开机按下 BOOT 键会重新刷写
boot.py的功能 - 在
board.py中新建了一个Board_Info对象:board_info,所以使用它如下:
from board import board_info
print(board.BOOT_KEY)fpioa_manager 也一样
from fpioa_manager import fm
fm.register(board_info.LED_R, fm.fpioa.GPIOHS0)或者从 fpioa_manager 导入他们
from fpioa_manager import fm, board_info
print(board.BOOT_KEY)
fm.register(board_info.LED_R, fm.fpioa.GPIOHS0)修复
- 修复在 Makefile 选择不使用
touchscreen模块时编译出错的问题
下载
文档
v0.2.4
Release Notes
New Features
- Add
jpegdecoding support - Add
I2S,FFTsupport - Add
WAVplayback recording function - Add
KPUto support general neural networkforwardcalculations andyolo2 - Add binocular camera support
- Add touch screen (
ns2009) support - Add microphone array support
Optional new features
- Add
NESgame simulator (with sound andPS2joystick support) - Add
AVIplayback and recording function (screen recordable ) - Add
LittlvGLGUI library support
Modify
SPIFFSsize is reduced from6Mto3M, in fact the address is changed from0x600000to0xD00000- Other optimizations, including firmware size, stability, small bug fixes, etc.
Firmware Download
maixpy_v0.2.4
Note
maixpy_v0.2.4_full.bin: With full feature, but firmware may a little bit huge
maixpy_v0.2.4_minimum.bin: Just integrated base modules to leave more space for AI or other applications
maixpy_v0.2.4_*_with_model_at_0x300000.kfpkg: With face detect model burn at 0x300000 of the flash, then you can try face detect demo with micropython code like kpu.load(0x300000)
Docs And Demo
更新说明
新特性
- 增加
jpeg解码支持 - 增加
I2S、FFT支持 - 增加
WAV播放录制功能 - 增加
KPU, 支持通用神经网络forward计算以及yolo2 - 增加双目摄像头支持
- 增加触摸屏(
ns2009)支持 - 增加麦克风阵列支持
可选新特性
- 增加
NESFC 红白机游戏模拟器(带声音和PS2手柄支持) - 增加
AVI播放、录制功能(可录屏) - 增加
LittlvGL图形库(GUI)支持
修改
SPIFFS大小从6M减小到3M, 其实地址从0x600000改变为0xD00000- 其它优化, 包括固件大小、稳定性、小Bug 修复等
固件下载
maixpy_v0.2.4
说明
maixpy_v0.2.4_full.bin: 全功能版本, 固件体积会比较大
maixpy_v0.2.4_minimum.bin: 最小功能版本,只保留了基本的模块,为AI 或者其它功能腾出空间
maixpy_v0.2.4_*_with_model_at_0x300000.kfpkg: 内置了一个人脸识别模型, 烧录后可以直接运行代码查看现象:代码例示 : kpu.load(0x300000)
文档 和 例程
v0.1.1 beta
Update v0.1.1 (beta)
New Features
- Support most of Micropython standard lib, see doc
- Support hardware on chip peripheral: I2C PWM SPI Timer UART FPIOA GPIO
- Support openmv class
lcdsensorandimage(not completely yet) - VFS support, flash use spiffs, and FAT32 format SD(TF) card
- Add WiFi(esp8285) driver, see network and socket module
- Support Micropython Editor, edit file by
pye("filename.py") - Support file transform tools, GUI tool uPyLoader and shell tool armpy
Files
- Firmware: maixpy_v0.1.1_beta.bin