Jump to content
43oh

Do you want a linux binary distribution?


Recommended Posts

I'm wondering if there are people out there who have thought about using Energia on linux but when they couldn't find a binary distribution stopped looking? If you would like to see a binary distribution, what linux distribution are you running ubuntu, debian or something else? Is it 64 bit or 32bit? Do you already have the latest msp430-gcc ( 4.6.3 ) or (4.5.3) ? If you don't have a gcc compiler would you want it bundled?

 

I personally run ubuntu 11.04 32 bit with the latest 4.6.3 compiler.

 

-rick

Link to post
Share on other sites
  • 1 month later...

Yes! A least instructions on how to build Energia for Linux.

 

I cloned the git repostory yesterday (400+ MB?!). Used Synaptic to install msp430-gcc v4.5.3. Ran "ant clean build run" in the build directory. Energia started (with support for all the Arduino platforms, not just the Launchpad). I loded the "Blink" example and hit Verify and got:

 

/home/alan/Documents/Programs/Energia/build/linux/work/hardware/msp430/cores/msp430/wiring_analog.c: In function
Link to post
Share on other sites

Yes to compile change to the build directory and type "ant clean build run"

 

@blund You should give msp430-4.6.3 a try. The header files for the msp430g2231 chip changed between 4.5.3 and 4.6.3. The blink code does compile with either version of the compiler if you are using the larger chips. It seems like a lot of people trying this out recently are using the older launchpad with an msp430g2231 chip. More time has been spent getting the g2452 and g2553 chips to work as they have a a bit more memory and two Timers instead of one. You might want to sample an msp430g2553 chip or just spend another $4.30 and get a newer V1.5 launchpad that come with the msp430g2553 and msp430g2452 chips.

 

-rick

Link to post
Share on other sites

I'm new here, so first hello to all.

 

Running Fedora 17, kernel 3.4.4-5.fc17.x86_64.

I've compiled git version and energia-0101e0007-beta-linux without problems. Energia compiles OK and msp430-gcc too. But when I want to compile anything, Energia complains that it can't find/run msp430-g++.

 

I cant find msp430-g++ anywhere . If I compile msp430-gcc included in energia-0101e0007-beta-linux all is OK, but msp430-g++ is missing. I've installed Fedora binary package of msp430-gcc and msp430-g++ is also missing.

 

On my laptop running Ubuntu, I've installed binary package gcc-msp430 and msp430-g++ is included. There Energia works OK, but I have the same problems as blund when compiling for msp430g2231.

 

David

Link to post
Share on other sites

Unfortunately, most distributions are shipping older versions of the msp430-gcc. Energia assumes 4.6.3

 

msp430-gcc --version shows your version. I've been trying to stay out of the business of shipping an

msp430-gcc binary as it is huge and I didn't really want to become support central for the compiler.

There are just too many linux distributions out there to provide any kind of real support.

 

It would be best if you figured out how to either compile gcc or find a precompiled version for

your distribution.

 

For Ubuntu/debian users, there is a newer binaries in sid that can be grabbed. Although I haven't tried.

 

-rick

Link to post
Share on other sites

Script from your link works for me too!

 

Script included in energia-0101e0007-beta-linux didn't build msp430-g++, but the one from your link did.

 

But now here is another problem... Compiler starts but does not recognise MCU-s:

 

cc1: MCU msp430g2231 not supported
Known MCU names:
  msp1
  msp2
  msp430x110
  msp430x112
  msp430x1101
  msp430x1111
  msp430x1121
  msp430x1122
  msp430x1132
  msp430x122
  msp430x123
  msp430x1222
  msp430x1232
  msp430x133
  msp430x135
  msp430x1331
  msp430x1351
  msp430x147
  msp430x148
  msp430x149
  msp430x1471
  msp430x1481
  msp430x1491
  msp430x155
  msp430x156
  msp430x157
  msp430x167
  msp430x168
  msp430x169
  msp430x1610
  msp430x1611
  msp430x1612
  msp430x2001
  msp430x2011
  msp430x2002
  msp430x2012
  msp430x2003
  msp430x2013
  msp430x2101
  msp430x2111
  msp430x2121
  msp430x2131
  msp430x2112
  msp430x2122
  msp430x2132
  msp430x2232
  msp430x2252
  msp430x2272
  msp430x2234
  msp430x2254
  msp430x2274
  msp430x233
  msp430x235
  msp430x2330
  msp430x2350
  msp430x2370
  msp430x247
  msp430x248
  msp430x249
  msp430x2410
  msp430x2471
  msp430x2481
  msp430x2491
  msp430x2416
  msp430x2417
  msp430x2418
  msp430x2419
  msp430x2616
  msp430x2617
  msp430x2618
  msp430x2619
  msp430x311
  msp430x312
  msp430x313
  msp430x314
  msp430x315
  msp430x323
  msp430x325
  msp430x336
  msp430x337
  msp430x412
  msp430x413
  msp430x415
  msp430x417
  msp430x423
  msp430x425
  msp430x427
  msp430x4250
  msp430x4260
  msp430x4270
  msp430xG4250
  msp430xG4260
  msp430xG4270
  msp430xE423
  msp430xE425
  msp430xE427
  msp430xE4232
  msp430xE4242
  msp430xE4252
  msp430xE4272
  msp430xW423
  msp430xW425
  msp430xW427
  msp430xG437
  msp430xG438
  msp430xG439
  msp430x435
  msp430x436
  msp430x437
  msp430x4351
  msp430x4361
  msp430x4371
  msp430x447
  msp430x448
  msp430x449
  msp430xG4616
  msp430xG4617
  msp430xG4618
  msp430xG4619
  msp430x4783
  msp430x4784
  msp430x4793
  msp430x4794
  msp430x5418
  msp430x5419
  msp430x5435
  msp430x5436
  msp430x5437
  msp430x5438
(null):0: confused by earlier errors, bailing out

 

David

Link to post
Share on other sites
  • 1 month later...

i actually ordered one a few weeks ago and i am still waiting for it to arrive

because of the massive demand on these little linux boards it takes a whole lot of time to get through the preorder queue...

when it arrives and i got it set up, i might try to compile energia and the mspdebug stuff on it ;)

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