← index #8041Issue #10150
Related · medium · value 2.514
QUERY · ISSUE

ESP32: "user C modules" should be able to add components to the build

openby aguavivaopened 2021-11-28updated 2023-12-18
port-esp32

Right now the list of components is hard coded in

https://github.com/micropython/micropython/blob/97a7cc243b028833bdcb8ce0bc19b2bce7545851/ports/esp32/main/CMakeLists.txt#L96

USer C modules should be able to add new components without having to modify the above file

My current use case is a user module that adds support for the esp32-camera

Fixing this will help others extend micropython with minimal modifications in the core files

CANDIDATE · ISSUE

Compil for ESP32 with a USER_C_MODULES / usqlite

closedby l-atomeopened 2022-12-03updated 2024-09-01
port-esp32

Hello,
I try to compile MicroPython for ESP32 with the usqlite module () for an education purpose ...
It's seems that this module was build with an old version of MicroPython ... Actually, I have the error :
ERROR: Call to MP_REGISTER_MODULE(MP_QSTR_usqlite, usqlite_module, 1) should be MP_REGISTER_MODULE(MP_QSTR_usqlite, usqlite_module)
I'd made the change but i have new errors ...

I try to find old version of the micropython source to try to downgrade my build .... Where can i find them ?
Thanks
Thomas

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied