Ubuntu를 사용하여 #MaixPy 사용자 정의
Maixduino 및 M5 StickV의 펌웨어를 사용자 정의합니다.
Maix판을 사용하여 메모리를 절약하거나 편리한 모듈을 사용하려면 MaixPy 펌웨어를 맞춤형으로 만들어야 합니다.
Ubuntu가 없으면 클라우드 서비스인 MaixHub Online Compuile을 통해 MaixPy를 사용자 정의할 수 있습니다.
https://qiita.com/nnn112358/items/1575206bda278235774f
컨디션
다음 작업에는 Ubuntu(Linux)가 필요합니다.
Ubuntu18.04 (5.0.0-36-generic)
펌웨어 컴파일
Maixpy 다운로드
소스 코드에서 Maixpy 펌웨어 구축
$ git clone https://github.com/sipeed/MaixPy.git
$ git submodule update --recursive --init
파이썬 설치미니콘다를 설치하고 파이톤을 만드는 환경.
Miniconda 설치 프로그램은 Miniconda 웹 사이트에서 다운로드하여 가져옵니다.
시작하다.
Miniconda : https://docs.conda.io/en/latest/miniconda.html
$ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
$ sh https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
conda를 시작합니다.$ conda create -n ml python=3.6
$ conda activate ml
pip로 pserial을 설치합니다.$ pip3 install -r requirements.txt
kendryte-toolchanin 설치kendryte의toolchanin을/opt/kendryte-toolchanin/에 설치합니다.
$ wget http://dl.cdn.sipeed.com/kendryte-toolchain-ubuntu-amd64-8.2.0-20190409.tar.xz
$ sudo tar -Jxvf kendryte-toolchain-ubuntu-amd64-8.2.0-20190409.tar.xz -C /opt
$ ls /opt/kendryte-toolchain/bin
MaixPy의 펌웨어 라이브러리를 추가하거나 줄입니다.MaixPy의 펌웨어 라이브러리를 줄여 시스템 메모리의 용량을 열 수 있습니다.
또 프로그램 라이브러리 추가를 통해 기능을 확충할 수 있다.
$ cd MaixPy
$ cd projects/maixpy_m5stickv/
$ python3 project.py menuconfig
Conponent Configration을 선택합니다.
Micropython Configration을 선택합니다.

Module Configration 을 선택합니다.

사용하지 않는 프로그램 라이브러리를 닫습니다.

이번엔 MaixPy IDE Support를 남기고 나머지는 OFF입니다.

MaixPy 구축maixpy.bin이라는 파일을 생성하면 완성됩니다.
python3 project.py build
생성된 MaixPy 바이너리와 학습 모드를 Kfash로 적으세요.
사이트 축소판 그림
SIPEED BLOG
http://blog.sipeed.com/p/1338.html
SIPEED maixhub
https://www.maixhub.com/
Reference
이 문제에 관하여(Ubuntu를 사용하여 #MaixPy 사용자 정의), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/nnn112358/items/fb6ebc8a7868d249f05d텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)