Jump to content
Pratik

GPS library and header file related issue

Recommended Posts

Hello,

I have an issue related to SoftwareSerial.h related header file. I place this header file in ..\energia-0101E0017\hardware\cc3200\libraries.

But still I got following error:

D:\..\energia-0101E0017\hardware\cc3200\libraries\SoftwareSerial\SoftwareSerial.cpp: In member function 'virtual size_t SoftwareSerial::write(uint8_t)':
D:\\..\\energia-0101E0017\hardware\cc3200\libraries\SoftwareSerial\SoftwareSerial.cpp:450:21: error: 'SREG' was not declared in this scope
   uint8_t oldSREG = SREG;
                     ^
D:\..\energia-0101E0017\hardware\cc3200\libraries\SoftwareSerial\SoftwareSerial.cpp:451:7: error: 'cli' was not declared in this scope
   cli();  // turn off interrupts for a clean txmit
       ^
D:\..\energia-0101E0017\hardware\cc3200\libraries\SoftwareSerial\SoftwareSerial.cpp:455:26: error: 'XMIT_START_ADJUSTMENT' was not declared in this scope
   tunedDelay(_tx_delay + XMIT_START_ADJUSTMENT);
                          ^
D:\..\energia-0101E0017\hardware\cc3200\libraries\SoftwareSerial\SoftwareSerial.cpp: In member function 'virtual void SoftwareSerial::flush()':
D:\..\energia-0101E0017\hardware\cc3200\libraries\SoftwareSerial\SoftwareSerial.cpp:498:21: error: 'SREG' was not declared in this scope
   uint8_t oldSREG = SREG;
                     ^
D:\..\energia-0101E0017\hardware\cc3200\libraries\SoftwareSerial\SoftwareSerial.cpp:499:7: error: 'cli' was not declared in this scope
   cli();
       ^

So, please give me a solution.

Regards,

Pratik

Share this post


Link to post
Share on other sites

I also try TinyGPS.h but got a fatal error: TinyGPS.h: No such file or directory
 #include <TinyGPS.h>

So, Please tell me on which path this header file I should declare.

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...