Closed rcolistete closed 3 years ago
Good luck with that useful PR. Pycom has a somewhat stealthy method of dealing with PR's. So your PR may sit there longtime seemingly unnoticed until eventually the content is used in a Pycom code update, honestly mentioning you.
Good luck with that useful PR. Pycom has a somewhat stealthy method of dealing with PR's. So your PR may sit there longtime seemingly unnoticed until eventually the content is used in a Pycom code update, honestly mentioning you.
Hope to see this PR merged. It is very useful to allow more community contributions to Pycom MicroPython.
"pycom-micropython-sigfox/py/py.mk" already supports USER_C_MODULES
, so 'SRC_MOD', 'CFLAGS_MOD' and 'LDFLAGS_MOD' are modified with content from user C modules. So it is just some lines missing in 'esp32/Makefile' and 'esp32/'application.mk' that currently blocks the use of 'user (external) C modules' in Pycom MicroPython.
lgmt thanks. internal PR: https://github.com/pycom/Firmware-Development/pull/175
Thanks again @rcolistete . It has been merged and released
User (External) C modules are not currently enabled in Pycom MicroPython (August 6th 2020) because 'esp32/Makefile' and 'esp32/'application.mk' don't use 'SRC_MOD', 'CFLAGS_MOD', 'LDFLAGS_MOD' and 'CFLAGS_EXTRA'.
This PR fix this issue, inserting 'SRC_MOD', 'CFLAGS_MOD', 'LDFLAGS_MOD' and 'CFLAGS_EXTRA' in correct places of 'esp32/Makefile' and 'esp32/'application.mk' so that user (external) C modules can be built when compiling the Pycom firmware.