Hi, I tried compiling the source code for Transistor Tester which I found here: http://www.mikrocontroller.net/articles/AVR-Transistortester And got this error on AVR Studio. "lcd-routines.c:114: undefined reference to `uart_putc'" any suggestion will be appreciated..
Guest
#2539287
which sources? There are the old ones, which do not have UART at all, and you can download pre-configured for HW UART or Soft UART. In these the error should appear earlier than line 114, if at all. So it does not help, you have to post your source here....
The code I found here: http://viewvc.coremelt.net/viewvc/avr/semiconductor_tester/firmware/ Sorry but I can't attached the code directly here..too long..:( when I try to compile I got this error:
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
Did I missed something? BR
Guest
#2539347
Hi, I do not use and know AVR-Studio... But it does not use the Makefile, does it? Because you do not link swuart.o, therefore it does not know the soft-uart functions. Regards, Boregard
I found the MAKEFILE in the folder... How did you compile yours? and what's the command? Here is my MAKEFILE:
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
21 | |
22 | |
23 | |
24 | |
25 | |
26 | |
27 | |
28 | |
29 | |
30 | |
31 | |
32 | |
33 | |
34 | |
35 | |
36 | |
37 | |
38 | |
39 | |
40 | |
41 | |
42 | |
43 | |
44 | |
45 | |
46 | |
47 | |
48 | |
49 | |
50 | |
51 | |
52 | |
53 | |
54 | |
55 | |
56 | |
57 | |
58 | |
59 | |
60 | |
61 | |
62 | |
63 | |
64 | |
65 | |
66 | |
67 | |
68 | |
69 | |
70 | |
71 | |
72 | |
73 | |
74 | |
75 | |
76 | |
77 | |
78 | |
79 | |
80 | |
81 | |
82 | |
83 | |
84 | |
85 | |
86 | |
87 | |
88 | |
89 | |
90 | |
91 | |
92 | |
93 | |
94 | |
95 | |
96 | |
97 | |
98 | |
99 | |
Guest
#2539401
Hi, I am using Linux, and compile with the avr-gcc toolchain just running "make all". But I build it ~ 2 years ago, with the "old" sources without UART. But according to the Makefile it should still work with "make all" with the UART. Do not know ho to do that from AVR-Studio, since it does not run on Linux. In the Makefile, $(TARGET) depends on $(OBJECTS), and $(OBJECTS) is:
1 | |
2 | |
and swuart.o is build with rule:
1 | |
2 | |
Regards, Boregard
Thanks! I'll update later..:-)
Reply
Please log in before posting.