Bug 528 - Arduino, a cool open-source electronics prototyping platform
Summary: Arduino, a cool open-source electronics prototyping platform
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: New RPM package request (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: Mageia 2
Assignee: D Morgan
QA Contact:
URL: http://arduino.cc/en/Main/Software
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-24 15:06 CET by Romain d'Alverny
Modified: 2012-01-10 19:32 CET (History)
7 users (show)

See Also:
Source RPM: arduino
CVE:
Status comment:


Attachments

Description Romain d'Alverny 2011-03-24 15:06:54 CET
Arduino is a cool open-source electronics prototyping platform.

The software provided to code and upload software to it is open-source (GPL, LGPL) and multiplatform. Not packaged yet, though (they provide source and binaries). Uses Java, Processing (http://processing.org/ that may need to be packaged too then), avr-gcc, and other stuff.

See http://arduino.cc/en/Main/Software

Reproducible: 

Steps to Reproduce:
Comment 1 Y.LE_NY 2011-03-24 21:54:34 CET
I wrote a tutorial in french about installing gcc for Atmel AVR chips on Mandriva here :
http://wiki.mandriva.com/fr/Installer_et_configurer_un_environnement_de_developpement_avr-gcc_pour_microcontroleurs_Atmel_AVR

We need the following package in Mageia :
task-c-devel - Metapackage for C developmentâ 
task-c++-devel - Metapackage for C++ developmentâ
task-x11 - Méta-paquetage for X.org X11â   
and 
avr-libc : The C Runtime Library for AVR Microcontrollers (headers *.h et librairies statiques *.a)
avra : An AVR assemblerâ
avrdude : Software for programming Atmel AVR Microcontrollerâ 
cross-avr-binutils - Development utilities binaries of GNUâ for AVR
cross-avr-gcc - Collection of GNU compilators for developing in C langage
cross-avr-gcc-c++ - C++ Support for gccâ
cross-avr-gcc-cpp - C preprocessor
tavrasm - A AVR assemblerâ 

Note: the packages name for GCC compilators for Atmel AVR use normally the name avr-gcc as in Fedora, but in Mandriva they have been renamed to cross-avr-gcc.

CC: (none) => yleny

Romain d'Alverny 2011-03-25 15:35:56 CET

CC: (none) => mageia

Comment 3 D Morgan 2011-03-27 01:58:04 CET
I take this one.

CC: (none) => dmorganec
Assignee: bugsquad => dmorganec

Comment 4 Y.LE_NY 2011-03-27 17:27:36 CEST
I forget to said that we need too for the Arduino IDE :

1)
rxtx spec file (for rxtx and librxtx package)
http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/rxtx/releases/2.1.7.2/1mdv2010.0/SPECS/

2)
uucp spec file 
http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/uucp/releases/1.07/10mdv2011.0/SPECS/

@D_Morgan -> thank you for your work
Comment 5 D Morgan 2011-03-27 17:36:30 CEST
arduino is imported in the SVN, rxtx too, now we lack the deps.
D Morgan 2011-05-17 15:25:44 CEST

Target Milestone: --- => Mageia 2

Comment 6 camilo ernesto 2011-06-24 10:01:19 CEST
Hello, I'm just coming with a temporary suggestion here. Excuse me for my bad English, but I wold like to share something here: 

The only way I could install the 32 bit version of avr-gcc in Mageia 1 (x86_64) was this:

1) I added the BDK (BlogDrake) repositories FREE (i586) and NoArch. 

2) There were missing dependencies which could not be adressed for the Arduino 0022. I used the i586 libraries into a AMD64 Mageia. The problematic packages are libmpfr and libgmp, which in the original Mageia repos are too new to cope up with the packages listed by the BDK repo. I downloaded the libmpfr1-2.4.1-4.1.i586.rpm , libgmp3-4.3.1-3.1.i586.rpm and 
avrdude-5.10-43.1.i586.rpm packages fron here:

http://download.opensuse.org/repositories/CrossToolchain:/avr/openSUSE_11.3/i586/

3) Installed those packages listed above with the Software Installer app, and then I could install avr-gcc, avr-binutils, avr-gcc-c++ and avr-libc packages from the BDK repos, directly in the Control Center, but GDB could not install because of a dependency problem with the libpython2.7 package because it was too new.


4) Then I downloaded the libpython2.6-2.6.5-2.3mdv2010.2.i586.rpm from here:

http://rpm.pbone.net/index.php3/stat/4/idpl/15873752/dir/mandriva_2010/com/libpython2.6-2.6.5-2.3mdv2010.2.i586.rpm.html

5) And then installed the remaining packages from the Control Center and BDK repo, which are avr-gdb (i586), and arduino 0022 (i586)

All this mess with one mayor problem, the IDE just does not seem to open in one of the two Mageia installs I have, got an old Acer to get it work but not here in my Macbook Pro, but I don't think this is a hardware issue, and a udev rule should be added for the /dev/ttyACMx devices, because in the working arduino IDE I could only program the arduinos with the FTDI chip.

I tried building the rxtx lib from scratch and did not work in the macbook instalation, which is weird and don't know how to reproduce the problem... but avr-gcc and avrdude work fine and could upload code into my arduinos by command line. 

I hope this rather long post helps a bit. Regards.

CC: (none) => und1cam2
Component: New RPM package request => RPM Packages
Hardware: i586 => x86_64
Version: Cauldron => 1
Assignee: dmorganec => bugsquad

Manuel Hiebel 2011-07-10 16:15:48 CEST

Component: RPM Packages => New RPM package request

Marja Van Waes 2011-09-29 20:41:34 CEST

URL: (none) => http://arduino.cc/en/Main/Software
CC: (none) => m.van.waes
Summary: Package and add Arduino software => Arduino, a cool open-source electronics prototyping platform

Comment 7 Marja Van Waes 2011-11-10 11:31:08 CET
@ DMorgan

In the history I see this was assigned to you, but on june 24th it was assigned back to the Bug Squad, I do not understand for what reason, only that you didn't do it nor anyone I know from the Bug Squad.

So assigning back to you. 

The package is in Mdv contrib-backports, btw.

Hardware: x86_64 => All
Version: 1 => Cauldron
Assignee: bugsquad => dmorganec
Severity: normal => enhancement

Comment 8 diego w 2011-11-29 22:19:48 CET
I just stumbled over this bugreport while trying to get up n running with an AVR devel environment on Cauldron.

so far I found the following packages in the repo:
avr-libc                       1.7.1        2.mga2        i586    
cross-avr-binutils             2.21         1.mga2        i586    
cross-avr-gcc                  4.5.3        1.mga2        i586    
cross-avr-gcc-c++              4.5.3        1.mga2        i586    

still missing is the avr-gdb and the avrdude maybe with avr burn-o-mat gui (http://burn-o-mat.net/avr8_burn_o_mat_avrdude_gui_en.html)

I think code blocks seems to be a nice IDE, anyone has better alternatives?

I'm looking forward to programm AVRs under Linux as easy as with AVRstudio.

Diego

CC: (none) => smiling.diego

Glen Ogilvie 2012-01-01 08:47:51 CET

CC: (none) => nelg

Comment 9 diego w 2012-01-09 22:34:37 CET
is there still a chance for mageia 2?
Marja Van Waes 2012-01-10 06:26:56 CET

Source RPM: (none) => arduino

Comment 10 D Morgan 2012-01-10 18:11:09 CET
arduino is now in mageia 2

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 11 diego w 2012-01-10 19:32:03 CET
(In reply to comment #10)
> arduino is now in mageia 2

thank you :)

Note You need to log in before you can comment on or make changes to this bug.