I am running
Code: Select all
make USER_C_MODULES=../../examples/usercmodule/ CFLAGS_EXTRA=-DMODULE_CEXAMPLE_ENABLED=1
Using the latest master branch as of commit 5976ea02a50ea76d72ada40db4cda186147fb412 and IDF 4.2, I am building the ESP32 port following the readme inside that ports folder as normal, where I compile by running make after setting up the tools.
But when looking at the terminal output it seems like its using make to like run cmake then run that new make file or something, sort of wacky. If this changed so drastically can the documentation be updated to show how to properly build micropython for ESP32 and also build and use C modules?
I say how to properly build micropython for ESP32 because I know for sure if this was just using cmake you wouldn't be using a make file to run cmake to then run a make again.