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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×