-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Hello,
im currently unable to build your lib along with micropython. They are in the same directory. The selected port is for the esp32.
Just to get things right im supposed to build all of this from the micropython-wrap folder right?
Doing:
make usercmodule MICROPYTHON_PORT_DIR=../micropython/ports/esp32
results in:
CMake Error at /project/libs/micropython/py/usermod.cmake:46 (include):
include requested file is a directory:
/project/libs/micropython-wrap
which makes sense to me. By fixing that line to point to module.cpp for example this wont build too resulting in.
CMake Error at /project/libs/micropython-wrap/tests/module.cpp:23:
Parse error. Expected "(", got identifier with text "namespace".
Call Stack (most recent call first):
/project/libs/micropython/py/usermod.cmake:46 (include)
esp32_common.cmake:22 (include)
main_esp32/CMakeLists.txt:11 (include)
Im guessing im doing something fundamentally wrong?
Can you point me in the right direction.
Kind Regards Tobi