Witam,
Dodałem do swojego programu funkcję sprintf i mam problem z skompilowaniem programu.
18:09:16 **** Incremental Build of configuration Release for project timer ****
make all
Building target: timer.elf
Invoking: AVR C Linker
avr-gcc -Wl,-Map,timer.map -mmcu=atmega8 -o "timer.elf" ./ds18b20.o ./lcd.o ./main.o
/usr/local/CrossPack-AVR-20130212/lib/gcc/avr/4.6.2/../../../../avr/bin/ld: timer.elf section `.text' will not fit in region `text'
/usr/local/CrossPack-AVR-20130212/lib/gcc/avr/4.6.2/../../../../avr/bin/ld: region `text' overflowed by 52 bytes
collect2: ld returned 1 exit status
make: *** [timer.elf] Error 1
18:09:16 Build Finished (took 99ms)
Czy może to być spowodowane małą ilością pamięci w atmega8 ???
Dodałem do swojego programu funkcję sprintf i mam problem z skompilowaniem programu.
18:09:16 **** Incremental Build of configuration Release for project timer ****
make all
Building target: timer.elf
Invoking: AVR C Linker
avr-gcc -Wl,-Map,timer.map -mmcu=atmega8 -o "timer.elf" ./ds18b20.o ./lcd.o ./main.o
/usr/local/CrossPack-AVR-20130212/lib/gcc/avr/4.6.2/../../../../avr/bin/ld: timer.elf section `.text' will not fit in region `text'
/usr/local/CrossPack-AVR-20130212/lib/gcc/avr/4.6.2/../../../../avr/bin/ld: region `text' overflowed by 52 bytes
collect2: ld returned 1 exit status
make: *** [timer.elf] Error 1
18:09:16 Build Finished (took 99ms)
Czy może to być spowodowane małą ilością pamięci w atmega8 ???