<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forums.obdev.at/app.php/feed/topic/396" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2007-11-19T07:50:30+02:00</updated>

	<author><name><![CDATA[Objective Development Forums]]></name></author>
	<id>https://forums.obdev.at/app.php/feed/topic/396</id>

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2007-11-19T07:50:30+02:00</updated>

		<published>2007-11-19T07:50:30+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=396&amp;p=3153#p3153</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=396&amp;p=3153#p3153"/>
		<title type="html"><![CDATA[HIDKeyboard USB Makefile error]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=396&amp;p=3153#p3153"><![CDATA[
I just create on c:/ path the file &quot;documents&quot; and works for me <img class="smilies" src="./../../../images/smilies/icon_smile.gif" alt=":)" title="Smile" /><br /><br />danielbcr.blogspot.com<p>Statistics: Posted by Guest — Mon Nov 19, 2007 7:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2007-04-12T21:56:32+02:00</updated>

		<published>2007-04-12T21:56:32+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=396&amp;p=1205#p1205</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=396&amp;p=1205#p1205"/>
		<title type="html"><![CDATA[HIDKeyboard USB Makefile error]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=396&amp;p=1205#p1205"><![CDATA[
Thank you!<br /><br />A quick question also about the Makefile. To program using WINAVR, I just need to change the uisp and the serial lines, right? I hit the program make in the WINAVR and it said target not defined.<p>Statistics: Posted by Guest — Thu Apr 12, 2007 9:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Grendel]]></name></author>
		<updated>2007-04-11T21:49:17+02:00</updated>

		<published>2007-04-11T21:49:17+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=396&amp;p=1197#p1197</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=396&amp;p=1197#p1197"/>
		<title type="html"><![CDATA[HIDKeyboard USB Makefile error]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=396&amp;p=1197#p1197"><![CDATA[
Try changing &quot;awk&quot; in the checksize script to &quot;gawk&quot;. Worked for me.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=101">Grendel</a> — Wed Apr 11, 2007 9:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2007-04-11T19:54:39+02:00</updated>

		<published>2007-04-11T19:54:39+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=396&amp;p=1196#p1196</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=396&amp;p=1196#p1196"/>
		<title type="html"><![CDATA[HIDKeyboard USB Makefile error]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=396&amp;p=1196#p1196"><![CDATA[
That's an error in the checksize script, probably because you don't have awk or another Unix tool installed. You can safely ignore this error or remove the checksize call altogether. It's only a check to see how much memory is used by the code.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Wed Apr 11, 2007 7:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2007-04-11T19:50:01+02:00</updated>

		<published>2007-04-11T19:50:01+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=396&amp;p=1195#p1195</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=396&amp;p=1195#p1195"/>
		<title type="html"><![CDATA[HIDKeyboard USB Makefile error]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=396&amp;p=1195#p1195"><![CDATA[
Yes, the HIDKeys example. <br /><br />Okay, I got it to recognize the make file. I saw the default target as all, so I'm nto really sure what went wrong. I restarted programmer's notepad and then it worked. It just gives the following error now.<br /><br />avr-gcc -Wall -Os -Iusbdrv -I. -mmcu=atmega8  -c usbdrv/usbdrv.c -o usbdrv/usbdrv.o<br />avr-gcc -Wall -Os -Iusbdrv -I. -mmcu=atmega8  -x assembler-with-cpp -c usbdrv/usbdrvasm.S -o usbdrv/usbdrvasm.o<br />avr-gcc -Wall -Os -Iusbdrv -I. -mmcu=atmega8  -c usbdrv/oddebug.c -o usbdrv/oddebug.o<br />avr-gcc -Wall -Os -Iusbdrv -I. -mmcu=atmega8  -c main.c -o main.o<br />avr-gcc -Wall -Os -Iusbdrv -I. -mmcu=atmega8  -o main.bin usbdrv/usbdrv.o usbdrv/usbdrvasm.o usbdrv/oddebug.o main.o<br />rm -f main.hex main.eep.hex<br />avr-objcopy -j .text -j .data -O ihex main.bin main.hex<br />./checksize main.bin<br />C:\Documents: C:\Documents: No such file or directory<br />make.exe: *** [main.hex] Error 127<p>Statistics: Posted by Guest — Wed Apr 11, 2007 7:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2007-04-11T15:14:55+02:00</updated>

		<published>2007-04-11T15:14:55+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=396&amp;p=1186#p1186</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=396&amp;p=1186#p1186"/>
		<title type="html"><![CDATA[HIDKeyboard USB Makefile error]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=396&amp;p=1186#p1186"><![CDATA[
Are you referring to the HIDKeys example? The makefile in that example DOES have a default target named &quot;all&quot;. If it is not found, something is seriously broken in your development environment.<br /><br />Can you post the exact error messages?<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Wed Apr 11, 2007 3:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2007-04-11T02:57:14+02:00</updated>

		<published>2007-04-11T02:57:14+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=396&amp;p=1183#p1183</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=396&amp;p=1183#p1183"/>
		<title type="html"><![CDATA[HIDKeyboard USB Makefile error]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=396&amp;p=1183#p1183"><![CDATA[
Hi, <br /><br />I'm relatively new to gcc and WinAVR. I'm still working out how everything works. I'm trying to get the HID USB Keyboard code to compile. However, whenever I try to make it, I get errors sying that there is no target defined. When I looked the makefile template that comes with WINAVR, it differs from the one that Christopher wrote for the USB. When I try to compile with an editted makefile template, I can compile, but I still get errors. <br /><br />Can anyone explain how to get Chris's makefile working and how to get everything working in general?<br /><br />Thank you!<p>Statistics: Posted by Guest — Wed Apr 11, 2007 2:57 am</p><hr />
]]></content>
	</entry>
	</feed>
