I was following the docs from this new guide (https://micropython-usermod.readthedocs ... index.html) to create modules and build the micropython firmware and I was trying to build the simplefunction.c example to the esp32.
So I placed the simplefunction.c in the working directory (in my case /ports/esp32), added the
Code: Select all
#define MODULE_SIMPLEFUNCTION_ENABLED (1)
The result: So It built with no error, when I gave a make deploy and tried to import the module on my esp32 I got the following message from the REPL:
Code: Select all
ImportError: no module named 'simplefunction'.
One more information: while the make was running it printed out a message "QSTR not updated ", in somehow I think maybe it has something to do with it.
I am using:
OS: Ubuntu 18.04
IDF version: v3
port: esp32
micropython version: 1.11
Thanks in advance