Integrating gsm module from lobo port to main micropython esp32 port

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
Duality
Posts: 16
Joined: Tue Jun 09, 2020 2:43 pm

Integrating gsm module from lobo port to main micropython esp32 port

Post by Duality » Mon Nov 23, 2020 9:44 am

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

kindmartin
Posts: 20
Joined: Sun Apr 26, 2020 7:30 am

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

Post by kindmartin » Sun Mar 07, 2021 1:50 pm

any update here? im looking for the same. its a shame no one keeps that initial loboris work/path-

M

marcidy
Posts: 133
Joined: Sat Dec 12, 2020 11:07 pm

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

Post by marcidy » Sun Mar 07, 2021 11:54 pm

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

Post Reply