Jump to content
43oh

Energia-1.6.10R18 Windows failure


Recommended Posts

FYI I installed on Win 7 Pro, but a compile  of "Blink" failed because the include files are missing.  I should also like to point out that the release  failed to rename the startup scripts  from "arduino" to "energia".  So the desktop install fails on Linux (aside from stomping on Arduino & Genuino shortcuts).

 

Given the schism in the Arduino world, I'd like to see Energia step in and support whatever processor someone wants to configure.  That would make the IDE vendor independent.  How about competing on hardware specs and software library quality.  I'm sure the upstream software team would appreciate financial  support.

 

There is enough commonality and diversity in the MCU market that  a tool which accomodated all choices would be beneficial to all.  You've got a spec and vendor A's peripheral  won't pass, but vendor B's will. Not having to change toolchain is a big plus.

 

I should also note that  the top  google search result for "energia"  displays energi.nu but produces an obscene 404 error.  Go figure.

 

I was a multiplatform release engineer in a previous life, so if generalizing Energia to all vendors on all platforms is acceptable, I'll take care of the details for any vendor who will provide gcc support and minimal cooperation.  There's really not a good reason for proprietary  Arduino IDE versions.  My hope is that doing this would avoid a fork in the IDE.  I do NOT want to start "Yet Another Version".  Let's make this work for everyone.

 

Reg

 

Link to post
Share on other sites

I wasn't able to replicate the issues you've reported.

  • Which board are you trying to compile against?
  • Same for the energi.nu issue. Googling energia showed energia.nu

The reasons behind an Energia-branded IDE are Add build.project_path to global properties #119 and amangement of RTOS projects.

 

Feel free to file a ticket at https://github.com/energia/Energia/issues, join the Energia team and contribute with pull requests.

 

You're welcome!

Link to post
Share on other sites

I was using a 'G2553.  I've got others.  The include directory referenced by msp-g++ on Windows was empty.  I don't know much about Windows so I will need to do some study to discover the equivalent of "find . -name '*.h'"

 

Did you do an install on a clean system, or just try to compile?  E17 works, but not E18. 

 

Did you click on the google result for energia.nu?  Here's the link returned by google:

 

http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwiOvqPn_MXOAhWG4SYKHcOhCD4QFggeMAA&url=http%3A%2F%2Fenergia.nu%2F&usg=AFQjCNHojZSqKkBZ7MvtJivdcdpIp8ZETQ

 

Here's the page that results:

Not Found

The requested URL /wordpress/fuckfuckfuckfcuk-macroscopic.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache Server at energia.nu Port 80

 

 

energia.nu is fine.  It's the results returned by google that are wonky.  Obviously some fool is playing around and being annoying just because they can.

 

I'm going to be teaching MCUs to high school students.  So having the Arduino usable from Energia would be useful.  At present multiple boards are being supported, but not the Arduino.

Link to post
Share on other sites

NB the google link above works correctly from the post.  Not sure what the issue is with that.

 

Here's the error I get with E18:

 

Energia: 1.6.10E18 (Windows 7), Board: "MSP-EXP430G2553LP"

C:\Program Files (x86)\Energia\energia-1.6.10E18\arduino-builder -dump-prefs -logger=machine -hardware "C:\Program Files (x86)\Energia\energia-1.6.10E18\hardware" -tools "C:\Program Files (x86)\Energia\energia-1.6.10E18\tools-builder" -tools "C:\Program Files (x86)\Energia\energia-1.6.10E18\hardware\tools\msp430" -built-in-libraries "C:\Program Files (x86)\Energia\energia-1.6.10E18\libraries" -libraries "C:\Users\rhb\Documents\Energia\libraries" -fqbn=energia:msp430:MSP-EXP430G2553LP -ide-version=10610 -build-path "C:\Users\rhb\AppData\Local\Temp\builddd47777626247e78973925f44d419415.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Program Files (x86)\Energia\energia-1.6.10E18\examples\01.Basics\Blink\Blink.ino"
C:\Program Files (x86)\Energia\energia-1.6.10E18\arduino-builder -compile -logger=machine -hardware "C:\Program Files (x86)\Energia\energia-1.6.10E18\hardware" -tools "C:\Program Files (x86)\Energia\energia-1.6.10E18\tools-builder" -tools "C:\Program Files (x86)\Energia\energia-1.6.10E18\hardware\tools\msp430" -built-in-libraries "C:\Program Files (x86)\Energia\energia-1.6.10E18\libraries" -libraries "C:\Users\rhb\Documents\Energia\libraries" -fqbn=energia:msp430:MSP-EXP430G2553LP -ide-version=10610 -build-path "C:\Users\rhb\AppData\Local\Temp\builddd47777626247e78973925f44d419415.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Program Files (x86)\Energia\energia-1.6.10E18\examples\01.Basics\Blink\Blink.ino"
Using board 'MSP-EXP430G2553LP' from platform in folder: C:\Program Files (x86)\Energia\energia-1.6.10E18\hardware\energia\msp430
Using core 'msp430' from platform in folder: C:\Program Files (x86)\Energia\energia-1.6.10E18\hardware\energia\msp430
Detecting libraries used...
"C:\Program Files (x86)\Energia\energia-1.6.10E18\hardware\tools\msp430/bin/msp430-g++" -c -g -O2  -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=msp430g2553 -DF_CPU=16000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP-EXP430G2553LP -DENERGIA_ARCH_MSP430 -IC:\Program Files (x86)\Energia\energia-1.6.10E18\hardware\tools\msp430/include  "-IC:\Program Files (x86)\Energia\energia-1.6.10E18\hardware\energia\msp430\cores\msp430" "-IC:\Program Files (x86)\Energia\energia-1.6.10E18\hardware\energia\msp430\variants\MSP-EXP430G2553LP" "C:\Users\rhb\AppData\Local\Temp\builddd47777626247e78973925f44d419415.tmp\sketch\Blink.ino.cpp" -o "nul"
"C:\Program Files (x86)\Energia\energia-1.6.10E18\hardware\tools\msp430/bin/msp430-g++" -c -g -O2  -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=msp430g2553 -DF_CPU=16000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP-EXP430G2553LP -DENERGIA_ARCH_MSP430 -IC:\Program Files (x86)\Energia\energia-1.6.10E18\hardware\tools\msp430/include  "-IC:\Program Files (x86)\Energia\energia-1.6.10E18\hardware\energia\msp430\cores\msp430" "-IC:\Program Files (x86)\Energia\energia-1.6.10E18\hardware\energia\msp430\variants\MSP-EXP430G2553LP" "C:\Users\rhb\AppData\Local\Temp\builddd47777626247e78973925f44d419415.tmp\sketch\Blink.ino.cpp" -o "nul"
Generating function prototypes...
"C:\Program Files (x86)\Energia\energia-1.6.10E18\hardware\tools\msp430/bin/msp430-g++" -c -g -O2  -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=msp430g2553 -DF_CPU=16000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP-EXP430G2553LP -DENERGIA_ARCH_MSP430 -IC:\Program Files (x86)\Energia\energia-1.6.10E18\hardware\tools\msp430/include  "-IC:\Program Files (x86)\Energia\energia-1.6.10E18\hardware\energia\msp430\cores\msp430" "-IC:\Program Files (x86)\Energia\energia-1.6.10E18\hardware\energia\msp430\variants\MSP-EXP430G2553LP" "C:\Users\rhb\AppData\Local\Temp\builddd47777626247e78973925f44d419415.tmp\sketch\Blink.ino.cpp" -o "C:\Users\rhb\AppData\Local\Temp\builddd47777626247e78973925f44d419415.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
msp430-g++: error: Files: No such file or directory

msp430-g++: error: (x86)\Energia\energia-1.6.10E18\hardware\tools\msp430/include: No such file or directory

exit status 1

 

I call your attention to the use of Unix directory path delimiters in the compiler commandline arguments.

Link to post
Share on other sites

As per @@Rei Vilo's comment. The current MSP430 GCC compiler does not allow for spaces in the path. This will be fixed in the next couple weeks when I introduce an updated msp430 package through the board manager that includes a new compiler that no longer has this issue.

 

As for the obscene 404 error, I have been looking into this for a couple weeks but have not been able to trace the root cause of it. The webserver has been cleaned of the invection but it seems that Google has kept a cache of the energia.nu page and is showing the obscene error message from cache. If the issue persists then I am going to take down energia.nu and put up a static webpage rather than the wordpress backed pages until I can get to the bottom of this.

 

The "failed to rename the startup scripts  from "arduino" to "energia"" could be a bug. I'll look into this and release an updated version for Linux. It should not be an issue with OS X and Windows though.

 

Robert

Link to post
Share on other sites

I'm in the process or setting up a new Windows image, so I'll move the installation location when I finish that.  However, I should point out that E17 is installed in the same directory (C:\Program Files (x86)\Energia\) and it works fine.

 

The build of the Gnu toolchains against glibc is quite a nuisance.  CentOS 6.7 only has 2.12 available.  CentOS 7 and Ubuntu 12.4 & 14.4 don't function properly on the HP system I was using for Linux installs. Yes, it's a headache.  That's why I avoid Linux almost as much as I avoid Windows.  But you have to work with what's out there, not dictate system configurations that break other packages.  I chose CentOS 6.x because it worked with all the toolchains I was installing when I setup to do embedded work.

 

Energia is repackaging the Arduino IDE for TI chips.  While I understand the commercial motivation for removing Atmel based boards,  I think it short sighted.  Could we just leave them in?  The board manager should make it easy to support a wide range of boards.  The only reason I see for using the Atmel boards is price.  I don't care for the architecture, but I don't think it's that bad.  That may change once I have more experience with them.  I've been using TI products.

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