ESP32: "user C modules" should be able to add components to the build
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
ESP32 port need a "make clean" to freeze custom py module
Hi,
I work with the new cmake toolchain and the last micropython version. Everithing is ok, I am able to build the ESP32 port.
However with this latest version of micropython, as soon as I add a new python module in the module directory or if I update one, the "make" command does not detect the new files and I have to do a make clean before each make.
If I modify a .C file, it is detected and the build is ok.
I checked the manifest.py file in the boards directory and the line freeze("$(PORT_DIR)/modules") is present.
My py modules are in this directory.
Previously, I worked with the 1.13 version and I didn't have this behaviour, each py modification was detectet with the make command.
Maybe I miss to modify a configuration file or something but I didn't find a solution for that.
Thanks