Rei Vilo 695 Posted January 10, 2014 Author Share Posted January 10, 2014 Please check: Is Energia installed on the /Applications folder? Has Energia been launched once and the sketchbook folder declared? Does the example sketch compile successfully? Does the main sketch on your project include the #include "SPI.h" statement? Does the main makefile on your project include the APP_LIBS_LIST = SPI or APP_LIBS_LIST = statement? The SPI library is written in C++, not C. Please provide more details so I can help you. Quote Link to post Share on other sites
ys1382 0 Posted January 11, 2014 Share Posted January 11, 2014 Thanks for responding. Here are the answers to your questions: Is Energia installed on the /Applications folder?Yes Has Energia been launched once and the sketchbook folder declared?Yes Does the example sketch compile successfully?Yes, in Energia, not in Xcode, per the errors in platform.cpp. Does the main sketch on your project include the #include "SPI.h" statement?No, it's not in the code that was created by embedXcode for the new project. I could add it, but I don't see it on my system. Does the main makefile on your project include the APP_LIBS_LIST = SPI or APP_LIBS_LIST = statement?The default makefile created by embedXcode has this: APP_LIBS_LIST = APP_LIBS_LIST = So I set this in makefile: APP_LIBS_LIST = SPI This made the build work, and the LED now blinks. Perhaps the default makefile should have that setting? The SPI library is written in C++, not C.?C++ will do, thanks. How do I get it to run C++ instead of the .ino sketch? Quote Link to post Share on other sites
Rei Vilo 695 Posted January 11, 2014 Author Share Posted January 11, 2014 Please refer to How Energia manages the libraries: http://energia.nu/Tutorial_Library.html How embedXcode manages the libraries: chapter Build and Upload the Project section Manage the Libraries for Compilation of the User Manual Quote Link to post Share on other sites
ashii 0 Posted January 15, 2014 Share Posted January 15, 2014 I have Energia installed and working. Xcode was previous installed. I donated and installed embedXcode+. When I try to compile in Xcode I get a TLV_START and TLV_END undeclared from a TI library. I can create and compile successfully in Energia. Any thoughts or suggestions? art... Quote Link to post Share on other sites
Rei Vilo 695 Posted January 15, 2014 Author Share Posted January 15, 2014 I have Energia installed and working. Xcode was previous installed. I donated and installed embedXcode+. When I try to compile in Xcode I get a TLV_START and TLV_END undeclared from a TI library. I can create and compile successfully in Energia. Any thoughts or suggestions? art... Does the standard example work? Which MCU are you compiling against? As with Energia, embedXcode requires that all the library include the following statement in the header file: #include "Energia.h" References: Writing a Library for Energia embedXcode User Manual section Find Solutions to Issues Quote Link to post Share on other sites
ashii 0 Posted January 15, 2014 Share Posted January 15, 2014 I have re-reviewed the User Manual again. Everything appears correct. I was trying to get the standard example to work. I hate to reinstall Xcode to get this to work. MCU MSP430G2553 Quote Link to post Share on other sites
Rei Vilo 695 Posted January 15, 2014 Author Share Posted January 15, 2014 I have re-reviewed the User Manual again. Everything appears correct. I was trying to get the standard example to work. I hate to reinstall Xcode to get this to work. MCU MSP430G2553 Thanks for the details. Please find the answer to solve this standard issue caused by some libraries: By default, all the libraries are compiled. You can remove from compilation the unused libraries by specifying on the main makefile APP_LIBS_LIST = 0 USER_LIBS_LIST = 0 Please refer to chapter 4 Build and Upload the Project section 2 Manage the Libraries for Compilation on the User Manual. Quote Link to post Share on other sites
ashii 0 Posted January 16, 2014 Share Posted January 16, 2014 Thank You for the support! That worked, art... Quote Link to post Share on other sites
Rei Vilo 695 Posted January 16, 2014 Author Share Posted January 16, 2014 You're welcome! Glad to know it works fine now... Quote Link to post Share on other sites
Rei Vilo 695 Posted January 16, 2014 Author Share Posted January 16, 2014 Want to provide feed-back and vote for the next features on embedXcode? Try the new feed-back page at embedxcode.idea.informer.com. My plan is to proceed with an initial test for a couple of months before full implementation. Quote Link to post Share on other sites
Rei Vilo 695 Posted February 5, 2014 Author Share Posted February 5, 2014 Want to provide feed-back and vote for the next features on embedXcode? Try the new feed-back page at OneDesk. My plan is to proceed with an initial test for a couple of months before full implementation. Quote Link to post Share on other sites
Rei Vilo 695 Posted February 7, 2014 Author Share Posted February 7, 2014 Please find a new release of embedXcode. embedXcode Quote Link to post Share on other sites
Rei Vilo 695 Posted March 4, 2014 Author Share Posted March 4, 2014 Please find a new release of embedXcode. embedXcode Quote Link to post Share on other sites
Rei Vilo 695 Posted March 13, 2014 Author Share Posted March 13, 2014 Please find a release of embedXcode. embedXcode Quote Link to post Share on other sites
Rei Vilo 695 Posted March 26, 2014 Author Share Posted March 26, 2014 Please find a new release of embedXcode. embedXcode Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.