Jump to content

Fedora, Energia, and a missing file (that is there)

Recommended Posts

Hi all,


I am new to Fedora and set up Energia as per http://energia.nu/guide/guide_linux/. 


I tried loading the Bare minimum sketch for the Tiva launchpad. There are two error messages.

  1. Cannot run program "/home/username/src/energia-0101E0016/hardware/tools/lm4f/bin/arm-none-eabi-g++": error = 2, No such file or directory
  2. [/home/raul/src/energia-0101E0016/hardware/tools/lm4f/bin/arm-none-eabi-g++, -c, -Os, -w, -fno-rtti, -fno-exceptions, -ffunction-sections, -fdata-sections, -mthumb, -mcpu=cortex-m4, -mfloat-abi=hard, -mfpu=fpv4-sp-d16, -fsingle-precision-constant, -DF_CPU=80000000L, -MMD, -DARDUINO=101, -DENERGIA=16, -I/home/raul/src/energia-0101E0016/hardware/lm4f/cores/lm4f, -I/home/raul/src/energia-0101E0016/hardware/lm4f/variants/stellarpad, /tmp/build7935082513750444368.tmp/BareMinimum.cpp, -o, /tmp/build7935082513750444368.tmp/BareMinimum.cpp.o]

Regarding error message 1, I can see that file at that location.


Error message 2 looks like it is compiling something, but I don't understand what.


I can see the serial port and selected it (/dev/ttyACM0), and at the bottom of the screen it does recognize my device (LaunchPad (Tiva C) w/ tm4c123 (80Mhz) on /dev/ttyACM0). 


Any and all help is appreciated!

Link to post
Share on other sites

What is C: ? You know, we are talking about real OS here, so there is no such thing as C:.  Also, GNU/Linux + Any decent filesystem (so not NTFS or FAT) support very very very very very very long path. We could say the path length could be unlimited, the only restriction is on the file name must not be more than 255 character.

Link to post
Share on other sites

Here's my two cents, might be worthless for you, since I'm on a Mac.


I see a difference right here:




Which one is real?  'username' or 'raul' ? Or was it just an edit for posting to protect the innocent?

Or did you build from source instead of getting a binary?


Personally, I think it looks strange that it got installed in 'src', instead of a "Programs"-type directory, but I've been away from Linux for awhile.


I get this output, which looks like what you're getting, so that's good. (Ignore the different paths.)


[/users/user/Apps/Energia.app/Contents/Resources/Java/hardware/tools/lm4f/bin/arm-none-eabi-g++, -c, -Os, -w, -fno-rtti, -fno-exceptions, -ffunction-sections, -fdata-sections, -mthumb, -mcpu=cortex-m4, -mfloat-abi=hard, -mfpu=fpv4-sp-d16, -fsingle-precision-constant, -DF_CPU=80000000L, -MMD, -DARDUINO=101, -DENERGIA=16, -I/Users/user/Apps/Energia.app/Contents/Resources/Java/hardware/lm4f/cores/lm4f, -I/Users/user/Apps/Energia.app/Contents/Resources/Java/hardware/lm4f/variants/stellarpad, /var/folders/pd/_29pt21s5y32d0l6tw4xkd1m0000gp/T/build6473424579527578532.tmp/BareMinimum.cpp, -o, /var/folders/pd/_29pt21s5y32d0l6tw4xkd1m0000gp/T/build6473424579527578532.tmp/BareMinimum.cpp.o]
As for your second question: it's just compiling the sketch. Arduino hides a lot of stuff from us.
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.

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