Replies: 1 comment 5 replies
-
@steoj Make or CMake is entirely dependent on which microcontroller you're using (because we match the vendor's SDK). For ESP8266 you must use Make.
Yeah this looks like when C++ support was added, the ESP8266 port was missed, and the C++ compilation is not inheriting the right flags (which is why it's not getting the correct include paths). You need to add something like this to
Put it just above the line:
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Have been reading the docs on this and it seems there are two paths on buliding external C/C++ micropython modules: Make and CMake.
Trying to compile a c++ module for a port/esp8266 it seems the module is not included unless using
make USER_C_MODULES=../../examples/usercmodule
But then I get the error message:
Am I missing something, or is it just not possible to compile C++ modules as external modules for esp8266 port?
Using
USER_C_MODULES=../../examples/usercmodule/micropython.cmake
does not include any of the example modules at all.Beta Was this translation helpful? Give feedback.
All reactions