Linux AVR toolchain - Vege (Beginner)
Prof. BJ
prof.bj at freemail.hu
Thu Oct 28 15:04:22 CEST 2004
PATCH: Az elozo leiras vegen hianyzik a forditasok utolso
sora utan (lasd alabb):
>cd ..
Mar kesz van a toolchain, nezzuk hogyan lehet letolteni.
Alabbiakban kettot csinalunk, amelyik jobban tetszik azt
hasznald...
*UISP*
>tar -xjf /ahova/letoltotted/uisp-20040311.tar.bz2
>cd uisp-20040311
>./configure --prefix=/usr/avr
>make
>make install
>cd ..
*AVRDUDE*
>tar -xzf /ahova/letoltotted/avrdude-4.4.0.tar.gz
>cd avrdude-4.4.0
>./configure --prefix=/usr/avr
>make
>make install
>cd ..
Haladobbaknak JTAG:
http://sourceforge.net/project/showfiles.php?group_id=39505
Toltsd le: avarice-2.2.tar.bz2
>tar -xzf /ahova/letoltotted/avarice-2.2.tar.bz2
>cd avarice-2.2
>./configure --prefix=/usr/avr
>make
>make install
>cd ..
Most mar kesz az alap (debug tool nelkuli) toolchain.
Ami hianyzik: hogyan forditsam le kedvenc projektemet?
Megoldas: Makefile
Egy tobb igenyt kielegito minta (sceleton) javaslat:
http://www.sax.de/~joerg/mfile/
Itt erosen olvasgatni ill. letolteni:
http://www.sax.de/~joerg/mfile/mfile.tar.gz
>tar -xzf /ahova/letoltotted/mfile.tar.gz
Makefile megynyitasa kedvenc szovegszerkesztodben, es
tanulmanyozas.
Egyebkent:
>man avrdude
>man uisp
>man avarice
>info makefile
Diohejban ennyit. Igeny eseten debug (GDB) kovetkezhet.
Gyakorlati pelda (minta)
kidolgozasahoz most nincs idom, de szerintem a fentiek
alapjan menni fog.
Udv,
BJ
PS: Kritika wilkommen
More information about the Elektro
mailing list