Compiling custom firmware for esp32c3 #15648
-
I am trying to add custom modules for the esp32c3 build and compile it to a firmware.bin file. I have tried google and searching the micropython forums but could not find any clear answers to some questions that I have.
# Require some micropython-lib modules.
require("aioespnow")
require("dht")
require("ds18x20")
require("neopixel")
require("onewire")
require("umqtt.robust")
require("umqtt.simple")
require("upysh")
Apologies if this question has been asked before. I have tried searching and didn't find any similar questions. Any help or pointers would be most appreciated. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
see: https://docs.micropython.org/en/latest/reference/manifest.html |
Beta Was this translation helpful? Give feedback.
see: https://docs.micropython.org/en/latest/reference/manifest.html
The
require
commands will inmicropython-lib
for the modules. A good practice would be to define your custom mahifest file outside of the release, and include it with:make BOARD=MYBOARD FROZEN_MANIFEST=/path/to/my/project/manifest.py
see
module
command.