avr:usage
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
avr:usage [2013/09/18 12:56] – sdolt | avr:usage [2014/07/07 16:09] – [Liens utiles] sbolay | ||
---|---|---|---|
Line 137: | Line 137: | ||
^Description^Liens^ | ^Description^Liens^ | ||
|Calculateur de fusible|[[http:// | |Calculateur de fusible|[[http:// | ||
+ | |Comprendre les registres d' | ||
+ | |||
+ | |||
+ | ===== FAQ ===== | ||
+ | see error " | ||
+ | look especially to the position of the **-lm** flag | ||
+ | |||
+ | <code bash> | ||
+ | $ avr-gcc -mmcu=attiny85 -o main.elf main.c | ||
+ | / | ||
+ | / | ||
+ | collect2: ld returned 1 exit status | ||
+ | |||
+ | $ avr-gcc -mmcu=attiny85 -lm -o main.elf main.c | ||
+ | / | ||
+ | / | ||
+ | collect2: ld returned 1 exit status | ||
+ | |||
+ | $ avr-gcc -mmcu=attiny85 -o main.elf main.c -lm | ||
+ | $ | ||
+ | </ |
avr/usage.txt · Last modified: 2016/11/09 16:49 by sbolay