microPython compile firmware (custom) single-core ESP32-SOLO-1 as an example

前端时间在某宝上淘了几个esp32-solo-1 吃灰好久了, 打算拿出来玩玩!
发现microPython默认固件是不支持的!
查看官方文档后, 发现这是一个单核的Esp32
那~  只能自己编译个固件了!

insert image description here

1, Download microPython source code

由于microPython是开源的,所以这一步很轻松拿到!
下载地址:
https://github.com/micropython/micropython

2, View the compilation reference document

参照micro的编译提示:
目录:micropython-1.xxxx/ports/esp32
文档:README.md

3, preparation before compilation

3-1: idf compilation environment installation (skip if installed)

参照乐鑫官方文档:
https://docs.espressif.com/projects/esp-idf/zh_CN/stable/esp32/get-started/index.html

Core operation records: (The command takes Mac as an example and Windows refers to the corresponding Windows part of the original text above)

mkdir -p ~/e

Guess you like

Origin blog.csdn.net/yueyeguzhuo/article/details/121005035