ArneLaug 0 Posted October 2, 2016 Share Posted October 2, 2016 Hi I just upgraded to Energia 1.6.10E18. In general it works fine, for launchpad MSP430FR5969. However, since I want to use Launcpad cc3200, and used the board manager and installed Launchpad cc3200 board and selected that as the board to use. Now everything compile fin, but for the SPI library. The shield that worked on MSP430 will not compile the code that uses SPI, the compile error is: "SPI was not declared in this scope" (indicating that it can't find the library). Since the new board (CC3200) shows up under board selection, I expected the pat to be a path similar to MSP430, but thats is not the case. This is how it looks for MSP430: C:\ti\energia-1.6.10E18\hardware\energia\msp430 - but no such path for CC3200. Any clue why the program using SPI compiles and run for MSP430 and not for CC3200 (after installing the board)? (I guess it has something to installation of Energia to do) Regards Arne Quote Link to post Share on other sites
Rei Vilo 695 Posted October 2, 2016 Share Posted October 2, 2016 This is a known bug with the latest distribution of Energia, but I can no longer remember how I've fixed it. Let me investigate... Quote Link to post Share on other sites
Rei Vilo 695 Posted October 2, 2016 Share Posted October 2, 2016 See CC3200 SPI Issue #5. You can easily work around it for now by editing the file: /Energia15/packages/energia/hardware/cc3200/1.0.2/platform.txt. Look for: compiler.driverlib.c.flags="-I{build.system.path}/driverlib" "-I{build.system.path}/inc" "-I{build.system.path} energia 1 Quote Link to post Share on other sites
RajaViki 0 Posted October 3, 2016 Share Posted October 3, 2016 I have the same problem with my Energia 16 compiler but I could not find /Energia16/packages/energia/hardware/cc3200/1.0.2/platform.txt. in my installed folder , is that a installation problem or i need to update any driver software regarding cc32OO and please provide me the link for setup file for energia to download previous version Thank you, Raja Quote Link to post Share on other sites
Rei Vilo 695 Posted October 3, 2016 Share Posted October 3, 2016 Help yourself! http://energia.nu/download/ 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.