cancel
Showing results for 
Search instead for 
Did you mean: 

complete programming tools for linux

mhdizgah
Associate II
Posted on November 22, 2014 at 13:48

hi every one

what is best programming tools including compiler,maker,linker,ide &... in linux?

i know maybe i cant find these integrated,then whats your suggestion for each part?

i think to dont use any lite ,trial tools,but if there are a good choise im glad to hear.

the most important subject is have these capability :

1- support cmsis

2-not be a rusty project(developer be active & support it,having a good feature)

3-support jlink & ulink

4-have a good learning sources,article & projects

5-have a simulation/debaugging environment like keil (in keil we can simulate & debug peripherals like gpio,spi &... & core) is a plus point

.....

thank for your response

8 REPLIES 8
Posted on November 22, 2014 at 14:06

The compiler is going to be GNU/GCC, for and IDE perhaps Eclipse

Projects get rusty because ''free'' doesn't pay the bills, if you want things to be fantastic and shiny your going to have to buff them yourself.

ULink is a Keil only JTAG/SWD debugger, it's support/use outside of Keil is going to be very limited to non-existent.

Want a debugger, probably going to need to use GDB or some derivative there of.

If you can stay in windows Keil can be configured to use GNU compilers/linkers.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Lix Paulian
Senior
Posted on November 22, 2014 at 17:51

Just take a look at

http://gnuarmeclipse.livius.net/blog/

The GNU ARM Eclipse plugins are mature, professional grade tools. Work on Linux, Mac and Windows.

Open source tools are sometimes just as good if not better than commercial tools (GCC is a good example).

Lix

Posted on November 22, 2014 at 18:39

Open source tools are sometimes just as good if not better than commercial tools (GCC is a good example).

I guess if there were prizes for the largest code generated on an embedded platform...
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Lix Paulian
Senior
Posted on November 22, 2014 at 22:52

This is a mythos. In an informal test gcc 4.8 using newlib nano against IAR on a Freescale KW21D512, the gcc code was comparable to the equivalent IAR code. With optimisation set to Os even better than the optimised IAR code. So this is not an issue anymore. 

carl2399
Associate II
Posted on November 23, 2014 at 01:49

I've written a bootloader using C++ & GCC. It was written to communicate on all exposed UARTS (typically 2 to 4 depending on application). It accepts the binary image, programs into flash, and adds a checksum to the end of the image. The UARTS are all C++ objects and interrupt driven via FIFOs of arbitrary size (although I normally upload in blocks of 2K so the buffers are set a little larger than that). Total binary size: 6K. 

The GCC compiler is really not that bad. I often look at the assembly language and have to confess that I would struggle to write better assembly language by hand. I'm sure that the ARM GCC compiler receives sufficient support due to android and smart phone development.

The bloatiest part of the GCC compiler is the standard libraries, they're written to be a generic solution and as such can be bigger than required. I have my own naive implmentations of printf, memcpy, stncmp, strtok and a couple of others that remove multiple kilobytes off the size of the binary.

mhdizgah
Associate II
Posted on November 23, 2014 at 07:54

thank any body 

excuse my mistake, i mean supporting jlink & stlink(not ulink )

if its impossible only stlink is enough.

as i said past cmsis & simulating /debaugging is very necessary 

dear clive1 i am using keil free version know,& i think i can only use that for a hobby or a educational & not for commercial purpose.

do you know with using gcc compiler/linker i receive permission of using keil for commercial targets or not ???

there are not any other debaugging simulator ?

& at last has any one a good tutorial of setting & using eclipse & gcc ?

really thanks any body
Lix Paulian
Senior
Posted on November 23, 2014 at 22:38

Mahmoud, did you check the link I gave you? You will find there step by step instructions how to install everything, from Eclipse to toolchain and plugins. The plugins support J-Link and OpenOCD debuggers. Here again the link:

http://gnuarmeclipse.livius.net/blog/

Lix Paulian
Senior
Posted on November 23, 2014 at 22:47

I second you with this one. Our informal test I mentioned was a demo software from Freescale for the KW21/KW22 wireless controller series called ''wireless UART''. It compiled to approximately 30K in both gcc and IAR, with no optimisation. With optimisation set to Os gcc generated 17K (and the program still worked 😉 slightly better than IAR. But again, the Freescale demo did not use standard libraries.

However, the (relatively) new nano library is rather compact, and for large programs it is an asset, not a liability. You may want to give it a try.

Lix