I want to integrate gsm module provided in lobo esp32 port here in the micropython esp32 port. It will be very useful for all, in my opinion, who are using gsm hardware in there projects. So, I have :
1. copied the modgsm.c, modgsm.h file in the ports/esp32 folder
2. created a libs folder, in which copied libGSM.h and libGSM.c files
3. Appropriately modified the Makefile to include modgsm.c
4. modified the mpconfigport.h to include the gsm module.
After few iterations and removing errors, I am stuck at this error:
Code: Select all
LINK build-GENERIC/application.elf
build-GENERIC/py/objmodule.o:(.rodata.mp_builtin_module_table+0xf4): undefined reference to `mp_module_gsm'
Makefile:780: recipe for target 'build-GENERIC/application.elf' failed
make: *** [build-GENERIC/application.elf] Error 1
Has anyone successfully build this? What does the error suggest here?
Regards