[Linux][Tools] Suggested tools for AVR use under Linux

20 posts / 0 new
Last post
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

Could you please be more specific wich assembler is the best?

You will most likely not get any meaningful answer to such a question.

If you are more specific in your question (eg stating requirements, what knowledge you have already, things you liked and disliked in other assemblers you've used etc) then you stand a better chance of getting something out of the AVRfreaks motley crew.

I'll give you this, though (based on my personal observations, which might be skewed):

The most spoken about compiler here is Atmels AVR Assembler, but that does not apply to you since it is for MS Windoze.

Next comes avr-as, a part of the GNU tool chain.

Then comes nothing. And then comes avra.

The reast of the assemblers mentioned in the list above are seldomly mentioned, if ever.

All this might mean something to you if you hope to rely on AVRfreaks for help with problems specific to the tool chain you eventually will choose.

Quote:

I have problem with avra (some m16def.inc)

This suggests that you have some code already that you picked up somewhere, since the m16def.inc is a file that comes with Atmels Assembler. If you tell us what you have, and be specific rather than "have problem", you're more likely to get help. Since this thread is a general guide to GNU/Linux tools for AVR, and this last question is a more specific one I suggest you start a separate thread about that - and don't forget to think out a meaningful title for it.

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington]

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

saperski wrote:
Bingo600 wrote:

Well i often need to assemble avrasm2 sources , and it's "dual homed" with the help of wine.

I'd like to work on avra to make it a bit more avrasm2 compatible. Are you having some particular, real-life problems when trying to run avrasm2 code through avra? Can you give it a try?

Sorry for the long delay ....

I haven't tried avra yet , but first discovered the avrasm2 need , when trying to build danni's bootloader.
And as "Wine" was my friend i kind of settled there.

Your location tells me that you should be able to read the below thread.
http://www.mikrocontroller.net/topic/146638#new

Get 2.1 from here , and see if avra can do it :-)
http://www.avrfreaks.net/index.php?module=Freaks%20Academy&func=viewItem&item_id=1008&item_type=project

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,
There is some of native GNU/Linux tools for AVR Development :
- GCC: The Gnu Compiler Collection, configured and compiled for AVR targets http://gcc.gnu.org/
- The BinUtils package, also with AVR specific options enabled http://www.gnu.org/directory/binutils.html
- The AVR LibC C library http://www.nongnu.org/avr-libc/

If you have an RPM based distribution and would like to save some compile time, locate and install these RPMs:

-avr-binutils-2.14-1
-avr-gcc-3.3.2-1
-avr-gdb-6.0-1
-avr-libc-1.0.2-1

Rgds,
Aston

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Astonix wrote:
Hi,
There is some of native GNU/Linux tools for AVR Development :
- GCC: The Gnu Compiler Collection, configured and compiled for AVR targets http://gcc.gnu.org/
- The BinUtils package, also with AVR specific options enabled http://www.gnu.org/directory/binutils.html
- The AVR LibC C library http://www.nongnu.org/avr-libc/

If you have an RPM based distribution and would like to save some compile time, locate and install these RPMs:

-avr-binutils-2.14-1
-avr-gcc-3.3.2-1
-avr-gdb-6.0-1
-avr-libc-1.0.2-1

Rgds,
Aston

Why on earth are you recommending this old stuff

Are you Jekson on a new ID ?
Just trying to increase your post count

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

jnd-cz wrote:

For editor/IDE I use Geany (mostly packaged, http://geany.org/). You can configure it for one-key assembly/compile/make and avrdude upload too. I could post somewhere syntax highlighting file for AVR asm.

+1 Geany. Works under windows too (I have to run win at work, so my windows desktop is littered with cygwin terminals + geany editor).

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Bingo600 wrote:

Why on earth are you recommending this old stuff

Are you Jekson on a new ID ?
Just trying to increase your post count

/Bingo

sorry if my advice is not updated with current technology. I'm just a newbie who wants to try to discuss, that's all.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Neat Gimp batchconvert script (ie. resize those giant jpegs for web use)

http://members.ozemail.com.au/~hodsond/dbp.html

Get this one
http://www.ozemail.com.au/~hodsond/dbpSrc-1-1-9.tgz

1: Extract files ...
2: Shell .. cd "extract dir"
3: sudo apt-get install libgimp2.0-dev
4: make
5: make install

6: Open Gimp -> Filters -> BatchProcess ....

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Codeblocks 12.x for Ubuntu 12.10 or Mint-14.1

Into /etc/apt/sources.list

#
# http://lgp203.free.fr/ubuntu/
#
deb http://lgp203.free.fr/ubuntu quantal universe
deb-src http://lgp203.free.fr/ubuntu quantal universe

apt-get update (get keyring)

apt-get install pasgui-ubuntu-keyring

apt-get update (reread with key installed)

Install CodeBlocks (I use synaptic)

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,
Test i4uc http://i4uc.sourceforge.net/

This project is relatively new, but it works great!.

Regards,
Matias.

Pages