illithid66 0 Posted July 19, 2015 Share Posted July 19, 2015 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. Cannot run program "/home/username/src/energia-0101E0016/hardware/tools/lm4f/bin/arm-none-eabi-g++": error = 2, No such file or directory [/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! Quote Link to post Share on other sites
dubnet 238 Posted July 19, 2015 Share Posted July 19, 2015 Energia historically hasn't done well with long paths or paths with certain characters. You may want to try installing Energia in the root of C: or perhaps one folder down from the root of C: using a short folder name. Quote Link to post Share on other sites
asgard20032 9 Posted July 19, 2015 Share Posted July 19, 2015 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. Quote Link to post Share on other sites
dubnet 238 Posted July 19, 2015 Share Posted July 19, 2015 Not sure if the Energia path issues are limited only to Windows. Perhaps someone more knowledgable on this Energia issue could shed more light on this. Quote Link to post Share on other sites
mgh 11 Posted July 20, 2015 Share Posted July 20, 2015 Here's my two cents, might be worthless for you, since I'm on a Mac. I see a difference right here: /home/username/src/energia-0101E0016/hardware/tools/lm4f/bin/arm-none-eabi-g++ /home/raul/src/energia-0101E0016/hardware/tools/lm4f/bin/arm-none-eabi-g++ 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. 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.