<?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/2350" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2009-04-11T19:02:49+02:00</updated>

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

		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2009-04-11T19:02:49+02:00</updated>

		<published>2009-04-11T19:02:49+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=2350&amp;p=8861#p8861</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=2350&amp;p=8861#p8861"/>
		<title type="html"><![CDATA[Re: can't compile the driver]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=2350&amp;p=8861#p8861"><![CDATA[
You should implement usbFunctionSetup() in your code. See the examples which ship with avr-usb...<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Sat Apr 11, 2009 7:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[thelorax]]></name></author>
		<updated>2009-03-12T06:31:06+02:00</updated>

		<published>2009-03-12T06:31:06+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=2350&amp;p=8297#p8297</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=2350&amp;p=8297#p8297"/>
		<title type="html"><![CDATA[can't compile the driver]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=2350&amp;p=8297#p8297"><![CDATA[
Hello,<br />this is my first time playing around with avrusb.<br /><br />I'm trying to compile my project with it. Here is the output from a makefile:<br />(it's called usbrobot, but I'm not really making a robot)<br /><br />chris@Tool ~/Projects/avr/m168usb $ make usb                                    <br />avr-gcc -Wall -Os -DF_CPU=20000000 -Iusbdrv -I. -DDEBUG_LEVEL=0 -mmcu=atmega168 -c usbdrv/usbdrv.c -o usbdrv/usbdrv.o                                           <br />avr-gcc -Wall -Os -DF_CPU=20000000 -Iusbdrv -I. -DDEBUG_LEVEL=0 -mmcu=atmega168 -x assembler-with-cpp -c usbdrv/usbdrvasm.S -o usbdrv/usbdrvams.o               <br />avr-gcc -Wall -Os -DF_CPU=20000000 -Iusbdrv -I. -DDEBUG_LEVEL=0 -mmcu=atmega168 -c usbdrv/oddebug.c -o usbdrv/oddebug.o                                         <br />chris@Tool ~/Projects/avr/m168usb $ make                                        <br />avr-gcc -I. -I/usr/avr/include -mmcu=atmega168 -Os -fpack-struct -fshort-enums -funsigned-bitfields -funsigned-char -Wall -Wstrict-prototypes -Wa,-ahlms=main.lst -c main.c -o main.o<br />main.c:4: warning: function declaration isn't a prototype<br />avr-gcc -Wl,-Map,usbrobot.out.map -mmcu=atmega168 -lm  -o usbrobot.out main.o  usbdrv/usbdrv.o usbdrv/usbdrvams.o usbdrv/oddebug.o<br />usbdrv/usbdrv.o: In function `usbPoll':<br />usbdrv.c:(.text+0x56): undefined reference to `usbFunctionSetup'<br />make: *** [usbrobot.out] Error 1<br /><br />chris@Tool ~/Projects/avr/m168usb $<br /><br />I know it's probly something stoopid, but I've greped the files and can't even find usbFunctionSetup inside usbPoll...<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1903">thelorax</a> — Thu Mar 12, 2009 6:31 am</p><hr />
]]></content>
	</entry>
	</feed>
