-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Labels
Description
Port, board and/or hardware
esp32
MicroPython version
Master
Reproduction
For building the example modules which come with MicroPython, set USER_C_MODULES to the examples/usercmodule directory for Make, or to examples/usercmodule/micropython.cmake for CMake.
The recent commit b65e891 enforces that USER_C_MODULES must point to a directory in the Make system. However, this causes confusion with the documentation, which mixes usage of relative paths and file references for both Make and CMake.
but that's half the battle. We can comment on this committee.
Also, they no longer work as they used to.
Observed behaviour
Examples:
- The following command no longer works with Make after the commit:
cd micropython/ports/esp32
make USER_C_MODULES=../../examples/usercmodule/micropython.cmake
- Instead, absolute paths are required:
make USER_C_MODULES=/dev_iot/opt/upy/micropython/examples/usercmodule/micropython.cmake BOARD=ESP32_GENERIC all