Jump to content
tm4c

CCS/EK-TM4C129EXL: Importing Energia Sketch (Cannot use EEPROM library

Recommended Posts

Part Number: EK-TM4C129EXL

Tool/software: Code Composer Studio

I have an Energia sketch which used Energia's EEPROM library. Sketch works perfectly on Energia IDE but because of i need to debug my project, i want to use Code Composer Studio. 

If i include this sketch to Code Composer Studio i can't use EEPROM library. If i remove everything about EEPROM i can build & debug my sketch on Code Composer Studio.

 

This is the error i get :

?
1
2
C:/Users/MyUserName/Documents/Energia/libraries/EEPROM/EEPROM.h:25:24: fatal error: avr/eeprom.h: No such file or directory
 #include <avr/eeprom.h>

Share this post


Link to post
Share on other sites

@tm4c

I think you have a copy-paste error in your code.

Check out the error message. Are you using an AVR or a TM4C129?

Reconcile that problem and you should be better off.

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...