Loving MicroPython, congrats on everything
I'm working on a module to count Encoder values with the ESP32 hardware counters. I have it working in cpp now here:
https://github.com/elliotwoods/ESP32-Qu ... ncoder.cpp
I noticed that if i add a cpp file to my micropython.mk, i get an error (xtensa can't find the file)
I know that ESPIDF will work with cpp since i tested that directly in PlatformIO
It seems to be a limitation of the micropython workflow that it doesn't support cpp files right now
Perhaps something to do with py/py.mk ?
Code: Select all
SRC_MOD += $(patsubst $(USER_C_MODULES)/%.c,%.c,$(SRC_USERMOD))
Can anybody help / clarify?
Thank you
Elliot
side note:
Hit my head pretty hard over the last 24 hours trying to get a build environment working. Finally got it working last night, and then from this morning somehow how to start from scratch again (been trying with linux subsystem, msys2, minigw, etc)
Hoping the dockerfile approach will become standardised in the future! (i noticed in another thread)