8 years, 8 months ago.

NEO-6M

Hi, first of all thanks for your work! I'm facing some issues while compiling for Nucleo L152RE board.

After launching the compile command I'm getting these output:

Error: Identifier "MODSERIAL_IRQ_REG" is undefined in "MODSERIAL/FLUSH.cpp", Line: 31, Col: 25 Error: Identifier "DISABLE_TX_IRQ" is undefined in "MODSERIAL/FLUSH.cpp", Line: 33, Col: 22 Error: Identifier "DISABLE_RX_IRQ" is undefined in "MODSERIAL/FLUSH.cpp", Line: 34, Col: 22 Error: Identifier "RESET_TX_FIFO" is undefined in "MODSERIAL/FLUSH.cpp", Line: 41, Col: 22 Error: Identifier "RESET_RX_FIFO" is undefined in "MODSERIAL/FLUSH.cpp", Line: 42, Col: 22

Do you know how to solve this? Has anyone already faced this problem?

2 Answers

8 years, 8 months ago.

Hi Shin,

I'm sorry but I didn't figured out what is the problem. Right now I'm working with other sensors but I've seen that there are general purposes libraries to comunicate with GPS modules. Maybe you can try them (just search GPS in the library wizard) and let me know, ok?

Keep in touch.

6 years, 11 months ago.

Hey,

I know this is super late but for anyone else who ran into this problem like I did, i found a work around! Its using a different library from the mbed site however, but if all your wanting is results here's the link.

https://developer.mbed.org/users/sampleCode/code/NEO-6m-GPS/

Just a little note, the .cpp file is configured to only accept one type of gps string (and from doing a bit of research there seems to be a few). So either wait till your gps spits out that particular string type or print the variable "msg" using printf and a serial monitor to see what other string types and data your GPS is sending.

Cheers =)

Moh