Kiborg_102
Новые
- Регистрация
- 1 Ноя 2011
- Сообщения
- 85
- Реакции
- 0
- Баллы
- 0
avr-gcc.exe -mmcu=attiny2313 -Wall -gdwarf-2 -O0 -MD -MP -MT clock.o -MF dep/clock.o.d -c ../clock.c
In file included from ../clock.c:2:
c:/winavr-20100110/lib/gcc/../../avr/include/util/delay.h:90:3: warning: #warning "Compiler optimizations disabled; functions from <util/delay.h> won't work as designed"
../clock.c:3: warning: return type of 'main' is not 'int'
../clock.c: In function 'main':
../clock.c:5: error: 'DDRB' undeclared (first use in this function)
../clock.c:5: error: (Each undeclared identifier is reported only once
../clock.c:5: error: for each function it appears in.)
../clock.c:6: error: 'true' undeclared (first use in this function)
../clock.c:8: error: 'PORTB' undeclared (first use in this function)
make: *** [clock.o] Error 1
Build failed with 5 errors and 2 warnings...
тоже не радует(
In file included from ../clock.c:2:
c:/winavr-20100110/lib/gcc/../../avr/include/util/delay.h:90:3: warning: #warning "Compiler optimizations disabled; functions from <util/delay.h> won't work as designed"
../clock.c:3: warning: return type of 'main' is not 'int'
../clock.c: In function 'main':
../clock.c:5: error: 'DDRB' undeclared (first use in this function)
../clock.c:5: error: (Each undeclared identifier is reported only once
../clock.c:5: error: for each function it appears in.)
../clock.c:6: error: 'true' undeclared (first use in this function)
../clock.c:8: error: 'PORTB' undeclared (first use in this function)
make: *** [clock.o] Error 1
Build failed with 5 errors and 2 warnings...
тоже не радует(