Page 1 of 1

Integrating gsm module from lobo port to main micropython esp32 port

Posted: Mon Nov 23, 2020 9:44 am
by Duality
Hi All,

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

Re: Integrating gsm module from lobo port to main micropython esp32 port

Posted: Sun Mar 07, 2021 1:50 pm
by kindmartin
any update here? im looking for the same. its a shame no one keeps that initial loboris work/path-

M

Re: Integrating gsm module from lobo port to main micropython esp32 port

Posted: Sun Mar 07, 2021 11:54 pm
by marcidy
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?
Have you seen these docs?
http://docs.micropython.org/en/latest/d ... ython.html