# MicroPython 自定义固件说明
**Repository Path**: walkline/micropython-customized-firmware-intro
## Basic Information
- **Project Name**: MicroPython 自定义固件说明
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2024-05-05
- **Last Updated**: 2024-05-06
## Categories & Tags
**Categories**: Uncategorized
**Tags**: MicroPython
## README
MicroPython 自定义固件说明

利用`Github Actions`在线编译自用固件,在这里记录一下固件中用到的一些模块。
## C Modules
* [MicroPython SmartConfig CModule](https://gitee.com/walkline/micropython-smartconfig-cmodule)
为`MicroPython`提供`SmartConfig`相关功能。
这个项目已经在官网 [提交 PR](https://github.com/micropython/micropython/pull/13658) 了,但是一直没有人测试评论,所以目前还是处于搁置状态。
如果有条件自行编译固件的话,请帮忙进行测试并评论。
```bash
# upstream 指向官方项目
cd path/to/micropython
git fetch upstream pull/13658/head:sc_test
git checkout sc_test
```
> **`ports/esp32`端口相关模块,其它端口无法使用。**
* [MicroPython WTools CModule](https://gitee.com/walkline/micropython-wtools-cmodule)
为`MicroPython`提供计算相关功能的用户自定义类模块。
这个没啥好说的,纯自用的模块。
* [MicroPython QRCode CModule](https://gitee.com/walkline/micropython-qrcode-cmodule)
生成并显示指定内容的二维码。
## PY Modules
* [MicroPython BLE 配网](https://gitee.com/walkline/micropython_ble_config)
配合小程序使用的`BLE`配网客户端。
* [MicroPython Timer Dispatcher](https://gitee.com/walkline/micropython-timer-dispatcher)
`MicroPython`定时器调度管理器,可以使用一个定时器管理多个需要定时运行的任务,以节省有限的定时器资源。
* `uftpd.py`
`MicroPython`的`FTP`服务器,自带扫描`AP`并连接的功能。
```python
import uftpd
# 根据提示操作,直到出现 FTP server started on 的提示
```
* `logging.py`
几乎没用过的日志模块。
```python
import logging
log = logging.getLogger(__name__)
log.setLevel(logging.DEBUG)
log.info("logging info")
log.debug("logging debug")
log.warning("logging warning")
log.critical("logging critical")
log.error("logging error")
try:
import abcde
except Exception as e:
log.exc(e, "exception in handler")
```
## 合作交流
* 联系邮箱:
* QQ 交流群:
* 走线物联:[163271910](https://jq.qq.com/?_wv=1027&k=xtPoHgwL)
* 扇贝物联:[31324057](https://jq.qq.com/?_wv=1027&k=yp4FrpWh)

