Hi Ich möchte für mein aktuelles Projekt die Bibliothek zum Ansteuern eines HD44780 LC Displays aus dem Tutorial verwenden. http://www.mikrocontroller.net/articles/AVR-GCC-Tutorial/LCD-Ansteuerung Wenn ich mir die beiden lcd-routines Dateien in ein Projekt einfüge und das ganze kompiliere (mit Code::Blocks und GCC 4.8.2) und mir die Erstellten Dateien anschaue erhalte ich dieses Ergebnis:
1 | florian@florian-laptop ~/Programmieren/C/AVR/ATMega8/LCD_Test/bin/Debug $ ls -la |
2 | insgesamt 216 |
3 | drwxr-xr-x 2 florian florian 4096 Jan 25 18:04 . |
4 | drwxr-xr-x 3 florian florian 4096 Jan 25 18:00 .. |
5 | -rw-r--r-- 1 florian florian 13 Jan 25 18:04 LCD_Test.eep |
6 | -rwxr-xr-x 1 florian florian 25355 Jan 25 18:04 LCD_Test.elf |
7 | -rw-r--r-- 1 florian florian 30 Jan 25 18:04 LCD_Test.fuse |
8 | -rw-r--r-- 1 florian florian 12057 Jan 25 18:04 LCD_Test.hex |
9 | -rw-r--r-- 1 florian florian 42 Jan 25 18:04 LCD_Test.hfs |
10 | -rw-r--r-- 1 florian florian 42 Jan 25 18:04 LCD_Test.lfs |
11 | -rw-r--r-- 1 florian florian 13 Jan 25 18:04 LCD_Test.lock |
12 | -rw-r--r-- 1 florian florian 107448 Jan 25 18:04 LCD_Test.lss |
13 | -rw-r--r-- 1 florian florian 34025 Jan 25 18:04 LCD_Test.map |
14 | -rw-r--r-- 1 florian florian 13 Jan 25 18:04 LCD_Test.sig |
Die .elf Datei ist extrem gross. Der ATmega8 zum Beispiel hat 8 kB Flash. Ist das so das die Datei so gross ist oder stimmt da etwas nicht? LGF