پاسخ : یادگیری winavr
اونم امتحان کردم. همون مشکل رو داره. هدرهایی که تو خود اون دو تا فایل فراخوانی شده رو نمیشناسه. (این مشکل اول) البته همونطور که گفتم اگه یکی یکی جلو برم و همه هدرها رو کپی کنم مشکل حل میشه ولی خوب مطمئنا این راهش نیست!!
ضمنا من نفهمیدم از کدوم دو روش ارتباط با ال سی دی می خواد استفاده کنه؟ (port یا memory) هردوتاش هم تو فایل lcdconf هست. (مشکل دوم)
گوگل به من که جواب نداد، حالا شما یه دستی بزن شاید روی شما رو زمین نندازه.
کویر رو هم خوندم ولی خوب مشکلاتم حل نشده.
پروژه هاش رو تازه دیدم. ok اونا رو یه دید میزنم اگه به نتیجه رسیدم میگم.
ممنون
نوشته اصلی توسط fadelphi
کد:
> "make.exe" all -------- begin -------- avr-gcc (WinAVR 20100110) 4.3.3 Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiling C: lcdtest.c avr-gcc -c -mmcu=atmega16 -I. -gstabs -DF_CPU=1000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=./lcdtest.lst -std=gnu99 -MMD -MP -MF .dep/lcdtest.o.d lcdtest.c -o lcdtest.o In file included from lcdtest.c:20: global.h:25:24: error: avrlibdefs.h: No such file or directory global.h:27:25: error: avrlibtypes.h: No such file or directory global.h:35:1: warning: "F_CPU" redefined <command-line>: warning: this is the location of the previous definition lcdtest.c:21:52: error: uart.h: No such file or directory lcdtest.c:22:56: error: rprintf.h: No such file or directory lcdtest.c:23:60: error: a2d.h: No such file or directory lcdtest.c:24:73: error: timer.h: No such file or directory lcdtest.c:25:17: error: lcd.h: No such file or directory lcdtest.c: In function 'main': lcdtest.c:30: error: 'u08' undeclared (first use in this function) lcdtest.c:30: error: (Each undeclared identifier is reported only once lcdtest.c:30: error: for each function it appears in.) lcdtest.c:30: error: expected ';' before 'a' lcdtest.c:34: warning: implicit declaration of function 'uartInit' lcdtest.c:36: warning: implicit declaration of function 'rprintfInit' lcdtest.c:36: error: 'uartSendByte' undeclared (first use in this function) lcdtest.c:38: warning: implicit declaration of function 'a2dInit' lcdtest.c:40: warning: implicit declaration of function 'timerInit' lcdtest.c:42: warning: implicit declaration of function 'rprintf' lcdtest.c:45: warning: implicit declaration of function 'lcdInit' lcdtest.c:47: error: 'lcdDataWrite' undeclared (first use in this function) lcdtest.c:58: warning: implicit declaration of function 'lcdGotoXY' lcdtest.c:59: warning: implicit declaration of function 'lcdProgressBar' lcdtest.c:59: warning: implicit declaration of function 'a2dConvert8bit' lcdtest.c:61: error: 'a' undeclared (first use in this function) make.exe: *** [lcdtest.o] Error 1 > Process Exit Code: 2 > Time Taken: 00:00
گوگل به من که جواب نداد، حالا شما یه دستی بزن شاید روی شما رو زمین نندازه.
کویر رو هم خوندم ولی خوب مشکلاتم حل نشده.
پروژه هاش رو تازه دیدم. ok اونا رو یه دید میزنم اگه به نتیجه رسیدم میگم.
ممنون
دیدگاه