Code: Select all
make USER_C_MODULES=../../modules CFLAGS_EXTRA=-DMODULE_QUADRATURE_ENABLED=1 all -j8
Code: Select all
../../modules/quadrature/quadrature.c:133:10: error: 'MP_QSTR_encoder' undeclared here (not in a function); did you mean 'MP_QSTR_encode'?
.name = MP_QSTR_encoder,
The problem goes away if beforehand I do a
Code: Select all
make clean
Also - it would be great to add a note about this into the docs:
https://docs.micropython.org/en/latest/ ... dules.html
Especially it was confusing to get the error at all (It took me a while to figure out that it might be because QSTR's are not being updated)
Thank you
Elliot