Author Topic: What microcontrollers offer good/great Linux toolchain support?  (Read 21131 times)

0 Members and 1 Guest are viewing this topic.

Online Marco

  • Super Contributor
  • ***
  • Posts: 6717
  • Country: nl
Re: What microcontrollers offer good/great Linux toolchain support?
« Reply #25 on: March 01, 2014, 01:11:14 pm »
I wouldn't call them microcontrollers, but Intel Quark is getting in the same range as the MMU ARMs.
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: What microcontrollers offer good/great Linux toolchain support?
« Reply #26 on: March 01, 2014, 01:25:29 pm »
Quote
All you need is to write a first  Makefile and reuse ...

Alternatively, you can click a button and let the IDE do its magic.
================================
https://dannyelectronics.wordpress.com/
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: What microcontrollers offer good/great Linux toolchain support?
« Reply #27 on: March 01, 2014, 01:27:07 pm »
End of the day, it is your knowing where your value-add is and maximizing return on  your investment (time and money and knowledge, etc.)

================================
https://dannyelectronics.wordpress.com/
 

Offline TerminalJack505

  • Super Contributor
  • ***
  • Posts: 1310
  • Country: 00
Re: What microcontrollers offer good/great Linux toolchain support?
« Reply #28 on: March 01, 2014, 01:51:28 pm »
It seems like you can always tell the hobbyist programmers from the professional developers by whether or not they know how to use makefiles. 

A hobbyist (or a professional who only works on small, rinky-dink projects) can get by building their software from the IDE. 

Once you have a big enough project that you have to automate the build process then you need makefiles.  (Or a similar build mechanism.)

No one builds using the IDE for automated builds.
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: What microcontrollers offer good/great Linux toolchain support?
« Reply #29 on: March 01, 2014, 01:53:23 pm »
Quote
No one builds using the IDE for automated builds.

A more accurate statement is probably this:

Quote
No one YOU KNOW OF builds using the IDE for automated builds.
================================
https://dannyelectronics.wordpress.com/
 

Offline andyturk

  • Frequent Contributor
  • **
  • Posts: 895
  • Country: us
Re: What microcontrollers offer good/great Linux toolchain support?
« Reply #30 on: March 01, 2014, 02:28:20 pm »
No one YOU KNOW OF builds using the IDE for automated builds.

Alright, Mr. Contrary... Could you please regale us with a story of doing automated builds/continuous integration with one of those whiz-bang $5K/seat IDEs?

 

Offline TerminalJack505

  • Super Contributor
  • ***
  • Posts: 1310
  • Country: 00
Re: What microcontrollers offer good/great Linux toolchain support?
« Reply #31 on: March 01, 2014, 02:45:52 pm »
I don't know why you would even want to use an IDE for automated builds.  Automated builds don't really need the functionality that an IDE provides. 

Ideally, you wouldn't even need to have a monitor hooked-up to the build box.  It would just sit there and run builds, as needed, and notify someone (via email, typically) when something noteworthy happens (the build fails, for example.)

Automated builds do more than just compile code.  They also retrieve code from version control and run unit tests, among other things.
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: What microcontrollers offer good/great Linux toolchain support?
« Reply #32 on: March 01, 2014, 02:55:35 pm »
Quote
I don't know why you would even want to use an IDE for automated builds.

Read the earlier posts and you will know.
================================
https://dannyelectronics.wordpress.com/
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 26891
  • Country: nl
    • NCT Developments
Re: What microcontrollers offer good/great Linux toolchain support?
« Reply #33 on: March 01, 2014, 03:11:07 pm »
I don't know why you would even want to use an IDE for automated builds.  Automated builds don't really need the functionality that an IDE provides. 

Ideally, you wouldn't even need to have a monitor hooked-up to the build box.  It would just sit there and run builds, as needed, and notify someone (via email, typically) when something noteworthy happens (the build fails, for example.)

Automated builds do more than just compile code.  They also retrieve code from version control and run unit tests, among other things.
I agree. At some point it becomes messy to try and support several products with a shared code base using an IDE. Too many things can go wrong especially when working with multiple people.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline zapta

  • Super Contributor
  • ***
  • Posts: 6190
  • Country: us
Re: What microcontrollers offer good/great Linux toolchain support?
« Reply #34 on: March 01, 2014, 03:29:13 pm »
It seems like you can always tell the hobbyist programmers from the professional developers by whether or not they know how to use makefiles. 

A hobbyist (or a professional who only works on small, rinky-dink projects) can get by building their software from the IDE. 

Once you have a big enough project that you have to automate the build process then you need makefiles.  (Or a similar build mechanism.)

During the day I am working on a ginormous multi language/platform/product code line with all the fancy shmancy tools and systems for automation, testing, analysis, collaboration, productivity, production management, you name it, and on top of it I have my own set of scripts/aliases to make things even easier (e.g. 'm' for 'make' and 'r' for 'run').

Working in the evenings on small open source projects for fun I took a simpler approach, doing my avr/C++ work using the the Arduino IDE.  The needs are different and having a simple development environment that other can easily setup and master makes my projects more open.

Different strokes for different projects.
 

Offline TerminalJack505

  • Super Contributor
  • ***
  • Posts: 1310
  • Country: 00
Re: What microcontrollers offer good/great Linux toolchain support?
« Reply #35 on: March 01, 2014, 03:40:59 pm »
It seems like you can always tell the hobbyist programmers from the professional developers by whether or not they know how to use makefiles. 

A hobbyist (or a professional who only works on small, rinky-dink projects) can get by building their software from the IDE. 

Once you have a big enough project that you have to automate the build process then you need makefiles.  (Or a similar build mechanism.)

During the day I am working on a ginormous multi language/platform/product code line with all the fancy shmancy tools and systems for automation, testing, analysis, collaboration, productivity, production management, you name it, and on top of it I have my own set of scripts/aliases to make things even easier (e.g. 'm' for 'make' and 'r' for 'run').

Working in the evenings on small open source projects for fun I took a simpler approach, doing my avr/C++ work using the the Arduino IDE.  The needs are different and having a simple development environment that other can easily setup and master makes my projects more open.

Different strokes for different projects.

I agree.  One person projects rarely need a complicated build system.  IDEs work fine for small, one person projects.

You obviously know your way around a makefile, though, and realize that the IDE isn't always the end-all, be-all with regards to software development.  And that's what I'm trying to say.
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: What microcontrollers offer good/great Linux toolchain support?
« Reply #36 on: March 01, 2014, 03:47:08 pm »
Quote
the IDE isn't always the end-all, be-all with regards to software development. 

makefile / commandline [or anything you put here] isn't always the end-all, be-all with regards to software development.

Quote
And that's what I'm trying to say.

That's the same thing the other side is saying too.
================================
https://dannyelectronics.wordpress.com/
 

Offline TerminalJack505

  • Super Contributor
  • ***
  • Posts: 1310
  • Country: 00
Re: What microcontrollers offer good/great Linux toolchain support?
« Reply #37 on: March 01, 2014, 04:19:44 pm »
I guess we're going to have to agree to disagree on the whole matter and leave it at that. 

Especially since it's completely off-topic to the original post.   :-[
 

Offline calin

  • Regular Contributor
  • *
  • Posts: 239
  • Country: us
Re: What microcontrollers offer good/great Linux toolchain support?
« Reply #38 on: March 02, 2014, 02:11:08 am »
OMG !!! I started a religious war :) ... ultimately everyone uses what he thinks as being the appropriate "hammer" for the job.


Yet I still reserve my right to not hire a C programmer that says does not know Make. Fair enough? :-//



 

Offline kshitij

  • Newbie
  • Posts: 7
Re: What microcontrollers offer good/great Linux toolchain support?
« Reply #39 on: March 02, 2014, 04:47:54 am »
All this fighting, when the guy simply asked for a list of embedded dev toolchains supported on the Linux platform. Definitely looks like an EE forum.  :-DD  :clap:

R2D2, most toolchains supported on Linux either use GCC or vendor-supplied (aka, patched GCC source wrapped in a BSD-ish license) software. You can find most of the targets here:

http://gcc.gnu.org/install/specific.html

Assuming you are a beginner, just pick one with good documentation (this means actual documentation, for e.g. AVR-Libc, ARM, MSP, PIC etc. , not the GCC compiled docs) and nice forum support (PIC, AVR, MSP, some ARM vendors). Do not bother with the toolchains which go with the 'ask-our-mailing-list' routine.

To make life easier, maybe start with a 8 or 16-bit device, before moving on to 32-bit. To avoid the command line, use the vendor's IDE (most of them are free). I can't guarantee that all IDE's support Linux, though most do, by using plugins for Eclipse/NetBeans.

To have fun, post another thread asking for the best microcontroller on this forum. >:D

 

Offline andyturk

  • Frequent Contributor
  • **
  • Posts: 895
  • Country: us
Re: What microcontrollers offer good/great Linux toolchain support?
« Reply #40 on: March 02, 2014, 07:31:06 am »
To make life easier, maybe start with a 8 or 16-bit device, before moving on to 32-bit. To avoid the command line, use the vendor's IDE (most of them are free). I can't guarantee that all IDE's support Linux, though most do, by using plugins for Eclipse/NetBeans.
This advice is pretty common around here, but I don't understand it.

From a hardware perspective, many of the modern 32-bit mcus are super-simple. Give 'em 3 volts, maybe with a few decoupling caps, and you're good to go. Sure, you may have to learn how to solder a QFP, but that's a pretty low hurdle. From the software side, the most complicated thing is the reboot sequence, and that's almost always handled by vendor supplied code or an RTOS.

Once your main() is running, the 8- and 16-bit processors are *harder* to program than a 32-bit mcu. One reason is because C works most naturally on architectures where the size of a pointer is the same as the size of an integer. Another is that the smaller mcus sometimes require bank switching gymnastics to address anything more than a trivial amount of memory. 32-bit architectures almost always have memory-mapped peripherals, so you don't have to mess around with assembly language instructions. In fact, on ARM Cortex, it's possible to boot the processor and run your application without requiring a single line of assembly code. That's very cool. And getting back to the topic of this thread, going with a 32-bit mcu means you can use GCC.

IMO, beginners should start with 32-bits now unless they have a very specific reason to use a rinky-dink, legacy processor.

 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: What microcontrollers offer good/great Linux toolchain support?
« Reply #41 on: March 02, 2014, 11:30:23 am »
Quote
From the software side, the most complicated thing is the reboot sequence,

Try to get the adc to work on earlier LM4F120 or those luminary chips; Or ethernet on those same luminary chips.

You may lose hair, potentially lots of hair.
================================
https://dannyelectronics.wordpress.com/
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 26891
  • Country: nl
    • NCT Developments
Re: What microcontrollers offer good/great Linux toolchain support?
« Reply #42 on: March 02, 2014, 12:55:50 pm »
The STR700 series from ST is another fine example of a complete joke. Fortunately you don't have to use those. There are many good ARM controllers with proper documentation and libraries for USB, ethernet, etc.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline jancumps

  • Supporter
  • ****
  • Posts: 1272
  • Country: be
  • New Low
Re: What microcontrollers offer good/great Linux toolchain support?
« Reply #43 on: March 02, 2014, 01:10:38 pm »
OMG !!! I started a religious war :) ... ultimately everyone uses what he thinks as being the appropriate "hammer" for the job.


Yet I still reserve my right to not hire a C programmer that says does not know Make. Fair enough? :-//
if you have a say in who's hired: yes. You can do as you please.
 

Offline zapta

  • Super Contributor
  • ***
  • Posts: 6190
  • Country: us
Re: What microcontrollers offer good/great Linux toolchain support?
« Reply #44 on: March 02, 2014, 07:53:03 pm »
Yet I still reserve my right to not hire a C programmer that says does not know Make. Fair enough? :-//

If you want to give such a high importance to arcane and counter intuitive technologies like Unix Make it is your perogative.   ;-)

http://freecode.com/articles/what-is-wrong-with-make

Compare it for example with a more modern build system with a rich library of task oriented rules

http://ant.apache.org/manual/index.html

Back to the topic:  OP did you get the information you looked for?  Which MCU family do you incline to use?

 

Offline jancumps

  • Supporter
  • ****
  • Posts: 1272
  • Country: be
  • New Low
Re: What microcontrollers offer good/great Linux toolchain support?
« Reply #45 on: March 02, 2014, 08:53:26 pm »
...Compare it for example with a more modern build system with a rich library of task oriented rules

http://ant.apache.org/manual/index.html
...

Ever had a peek into the CONTRIBUTORS file in the root of your Ant installation ;) ?
 

Offline suicidaleggroll

  • Super Contributor
  • ***
  • Posts: 1453
  • Country: us
Re: What microcontrollers offer good/great Linux toolchain support?
« Reply #46 on: March 02, 2014, 08:55:00 pm »
If you want to give such a high importance to arcane and counter intuitive technologies like Unix Make it is your perogative.   ;-)

You're missing the point.  While I can't speak for calin, I can speak for myself, and I have the same rule.  It's not about testing whether or not they know make, make isn't the end-all of build tools, and any decent programmer should be able to adapt to whatever environment they're placed in.  It's about testing their programming experience level and comfort with standard build tools.  As I have found (and I assume calin has also found), most "programmers" who only know IDEs (and usually just one specific IDE) and have no experience with vi, emacs, make, gcc, etc. aren't actually programmers.  They suck at algorithm development, troubleshooting, working through problems, etc.  They google for a command, plug it in verbatim in the IDE, and when it doesn't work they run back to their supervisor to ask for help.  It's like hiring a mathematician who needs to use a symbolic math tool to solve for 2x=4.
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: What microcontrollers offer good/great Linux toolchain support?
« Reply #47 on: March 02, 2014, 09:06:26 pm »
-While I can't speak for calin, I can speak for myself, and I have the same rule.  -

what's the point of having a rule or right if you don't get to exercise it?

I for one care about getting shit done, not how someone gets it done.

if I ever get a micro manager who insists on a way to do things, I will fire him or her on the spot - if a manager is so micro focused, he has no brain and has no vision. You will never learn anything from him or her so better move on now.



  -.  As I have found (and I assume calin has also found), most "programmers" who only know IDEs (and usually just one specific IDE) and have no experience with vi, emacs, make, gcc, etc. aren't actually programmers.  -

I have to confess that that has never been my experience.

this whole discussion boils down to where you think your most value add is.
================================
https://dannyelectronics.wordpress.com/
 

Offline Rigby

  • Super Contributor
  • ***
  • Posts: 1476
  • Country: us
  • Learning, very new at this. Righteous Asshole, too
Re: What microcontrollers offer good/great Linux toolchain support?
« Reply #48 on: March 03, 2014, 12:22:04 am »
If they insist on a particular way to do something WITHOUT A GOOD REASON I think you mean.  sometimes there's a very good reason the build process is the way it is.
 

Offline andyturk

  • Frequent Contributor
  • **
  • Posts: 895
  • Country: us
Re: What microcontrollers offer good/great Linux toolchain support?
« Reply #49 on: March 03, 2014, 05:05:15 am »
Quote
From the software side, the most complicated thing is the reboot sequence,

Try to get the adc to work on earlier LM4F120 or those luminary chips; Or ethernet on those same luminary chips.

You may lose hair, potentially lots of hair.
Heh. Most of my hair went years ago, and much of it to digging around in Eclipse/CCS. ;-)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf