← index #17878Issue #8041
Related · high · value 1.315
QUERY · ISSUE

zephyr: Support for USER_C_MODULES

openby jonnoropened 2025-08-10updated 2025-09-20
enhancementport-zephyr

Description

Support including user modules like on other ports.
Should be via the USER_C_MODULES variable, in the same way as on other cmake-based ports.

Code Size

No impact

Implementation

I intend to implement this feature and would submit a Pull Request if desirable

Code of Conduct

Yes, I agree

CANDIDATE · 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

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