Jump to content
43oh

ChrisA

Members
  • Content Count

    3
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by ChrisA

  1. The Blinky and every other example does not compile.  Clearly there is nothing wrong with the example code.   The error is with the way Energia is set up on my system.  I'm running Linux Ubuntu 16.04 LTS.  This is a 64-bit system.

     

    The error copy and pasted from Energia is.

    fork/exec /home/chris/.energia15/packages/energia/tools/arm-none-eabi-gcc/4.8.4-20140725/bin/arm-none-eabi-g++: no such file or directory
    Error compiling for board LaunchPad (Tiva C) w/ tm4c123 (80MHz).

    I check to see if the file is actually there and what kind of file it is using the command "file" and get this

    chris@chris-Satellite-A665:~$ file /home/chris/.energia15/packages/energia/tools/arm-none-eabi-gcc/4.8.4-20140725/bin/arm-none-eabi-g++
    /home/chris/.energia15/packages/energia/tools/arm-none-eabi-gcc/4.8.4-20140725/bin/arm-none-eabi-g++: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.8, stripped

    The relevant part is "ELF 32-bit LSB executable"

     

    The UNIX error "no such file..." can be misleading.  What it means in this case is that there is no interpreter to run the file.  (A 32-bit executable needs a 32-bit linker and the libraries that go with it.) 

     

    Energia might work on a Ubuntu system that has been upgraded in place for years because maybe those old 32-bit files were never deleted during the upgrades?  I don't know  This is a clean install of the current version of Ubuntu.

     

    As an experiment I tried to compile an Arduino sketch using the stock Arduino IDE.  It works perfectly.   

     

    Is there a work around for this?

     

     

     

     

     

     

     

     

     
     
     

     

  2. Give the Galaxia library a try.

     

     

     

     

    Thanks.  This is why I asked.    Figured something like this must exist.  This library makes Energia useful for MANY more projects.   

  3. I read on the (http://energia.nu/guide/multitasking/) page that one may use global variables for intertask communication.   

     

    Does Energia MT support anything else?

    Is any of the underlaying TI RTOS available?

     

    ?If the answer is no and no then I guess then I guess I will need to re-implement semaphore and queues and so on myself and put this in a library.   But maybe someone else has already done this and there is a library I can use?

     

    If the answer is no then I will write and eventually publish one.  I'm asking here before I go off and write something that may already exist. 

×
×
  • Create New...