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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2012-10-03T08:56:59+02:00</updated>

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

		<entry>
		<author><name><![CDATA[Kristenastewart]]></name></author>
		<updated>2012-10-03T08:56:59+02:00</updated>

		<published>2012-10-03T08:56:59+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22889#p22889</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22889#p22889"/>
		<title type="html"><![CDATA[Re: Problem to compile a program with V-USB library [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22889#p22889"><![CDATA[
Problem &quot;solved&quot;.<br /><br />I'm still of the opinion that libraries for the AVR series should at least have some ability to set custom #defines, but by editing the source of the V-USB library to force the requisite #defines, that was fixable.<br /><br />The problem with compilation for the 328p was very obscure (to me).  I will quote the relevant portion of the V-USB forums:<br /><br />Quote<br /><br />I discovered that the cause is a change in the identifier of the INT0 vector. V-USB is using the outdated &quot;SIG_INTERRUPT0&quot; as default in usbdrvasm.S (Line 60) which is only supported by &quot;old&quot; headerfiles for &quot;old&quot; controllers. The headerfiles for the controller with a &quot;p&quot; only support the new identifier &quot;INT0_vect&quot;. So the vector to the interrupt routine is not written into the vector table and unfortunately in this case you will not get any warning or error message<br /><br />By changing that line, the code (which indeed compiled without error in both cases) built correctly and my device and library are working at what appears to be 100% in 0018.<br /><br />Thanks for the help!<br /><br /><br />[link removed]<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=7492">Kristenastewart</a> — Wed Oct 03, 2012 8:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ulao]]></name></author>
		<updated>2012-09-21T00:01:03+02:00</updated>

		<published>2012-09-21T00:01:03+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22731#p22731</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22731#p22731"/>
		<title type="html"><![CDATA[Re: Problem to compile a program with V-USB library [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22731#p22731"><![CDATA[
eh, I figure I'd try. Oh  well. He is gone for now.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1281">ulao</a> — Fri Sep 21, 2012 12:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Coda]]></name></author>
		<updated>2012-09-20T23:34:55+02:00</updated>

		<published>2012-09-20T23:34:55+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22730#p22730</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22730#p22730"/>
		<title type="html"><![CDATA[Re: Problem to compile a program with V-USB library [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22730#p22730"><![CDATA[
Ulao, you get provoked and yet you still try to help. You are a better man than me. Good job I am not a mod here. Out of respect for the kind people at ObDev who spent countless hours writing this library (not DRIVER!) for us to play with for FREE, I'm going to keep my mouth shut.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=6646">Coda</a> — Thu Sep 20, 2012 11:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tytower]]></name></author>
		<updated>2012-09-20T22:16:18+02:00</updated>

		<published>2012-09-20T22:16:18+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22729#p22729</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22729#p22729"/>
		<title type="html"><![CDATA[Re: Problem to compile a program with V-USB library [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22729#p22729"><![CDATA[
[ offensive post try again ]<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=7375">tytower</a> — Thu Sep 20, 2012 10:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ulao]]></name></author>
		<updated>2012-09-20T16:30:44+02:00</updated>

		<published>2012-09-20T16:30:44+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22728#p22728</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22728#p22728"/>
		<title type="html"><![CDATA[Re: Problem to compile a program with V-USB library [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22728#p22728"><![CDATA[
<blockquote class="uncited"><div>Tytower, you are rude and ignorant. </div></blockquote> My thoughts exactly. You continue to misunderstand peoples candor for arguments. You continue to to argue and insult while ignoring the responses you are given. You have shown all of us you dont care to read ( if the rules are not clear enough ) and you make no attempts get along. Thus far the only contribution you are making is a mess of every thread you touch. <br /><br />Quit the attitude it does no one any good. Not to mention anyone willing to help will see this childishness and pay no attention to what you are asking. If you want to be part of this board, and it does not look like it, then park the attitude or you will be asked to leave. <br /><br />Let us review...<br /><br />&quot;So how come V-USB does not come with a makefile?&quot; You did see the answer to that yes? This is your question yes? We can only assume you are referring to the example projects and not v-usb its self? Its clear now that you need to set up a make file to compile a project example, has this been done? Let stay on topic here, just let us know what you are having problems with.<br /><br />&quot;There is no makefile for the basic driver as far as I can see so why not just supply one?&quot; Perhaps this golden nugget I was able to extract from the mess above may explain the issue.  v-usb is more like an api if you will it does not need a make file.  You make a project, you make a make file and you just include the v-usb. All examples should run if you point to the make file like I showed you. This project does require some reading and understating and I agree its not as easy as the Arduino board. V-usb follows a more traditional compile. It is assumed you have the knowledge to make a simple project in avr studio or like and produce a hello world or such. Then you just include the v-usb stuff and use it. All examples show you how. <br /><br />Disclaimer, I dont mean to sound like I'm talking down to you. I'm just answering your quest as its asked. The question itself suggests this information was needed. There is no need to blast off some rude reply claiming you know all of this, its just for understating and getting on the same page here. Now please retort or ask your next question.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1281">ulao</a> — Thu Sep 20, 2012 4:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[horo]]></name></author>
		<updated>2012-09-20T10:09:09+02:00</updated>

		<published>2012-09-20T10:09:09+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22719#p22719</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22719#p22719"/>
		<title type="html"><![CDATA[Re: Problem to compile a program with V-USB library [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22719#p22719"><![CDATA[
Tytower, you are rude and ignorant. You come here, hijack a thread formerly marked as solved and claim that the project has to fit your needs.<br />&lt;*)))&gt;&lt;<br />from my side EOD<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=891">horo</a> — Thu Sep 20, 2012 10:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tytower]]></name></author>
		<updated>2012-09-20T10:20:30+02:00 </updated>

		<published>2012-09-20T09:44:56+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22718#p22718</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22718#p22718"/>
		<title type="html"><![CDATA[Re: Problem to compile a program with V-USB library [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22718#p22718"><![CDATA[
<blockquote><div><cite>horo wrote:</cite><blockquote><div><cite>tytower wrote:</cite>...<br />Well thats a pretty cheeky ,rude,assunptive and completely wrong post.<br />...<br />Why the crap?<br /></div></blockquote><br />The pot calling the kettle black <img class="smilies" src="./../../../images/smilies/icon_wink.gif" alt=";)" title="Wink" /> <span style="color: #BF0000">Seems you have learnt an english phrase today and can't wait to use it .</span><br /><blockquote><div><cite>tytower wrote:</cite>The previous poster and the answers given indicate that he needed a Makefile so obviously there is not a Makefile supplied for the basic driver if he had to make up one himself</div></blockquote><br />Please try to understand how v-usb works and don't take the term &quot;driver&quot; as you know it from e.g. windows.<br />You don't need a makefile to make the basic driver separately. It is supplied as source code and must be compiled/assembled <strong class="text-strong">together</strong> with your program (you need some defines/constants from _your_ config).<span style="color: #BF0000">Yes I have made a copy of usbconfig_prototype.h  and called it usbconfig.h and made changes to suit my needs</span><br />The right way is to take an example, replace the &quot;main&quot; file with your file(s), adapt the makefile and start. The benefit is that you can try to compile and load the example first to see if the usb part of your hardware works (if your pc detects it).<span style="color: #BF0000">Thank You I will attempt it this way however I find it a cockeyed way of doing it</span><br /><br />Ciao, Martin</div></blockquote><p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=7375">tytower</a> — Thu Sep 20, 2012 9:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[horo]]></name></author>
		<updated>2012-09-20T09:37:36+02:00</updated>

		<published>2012-09-20T09:37:36+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22717#p22717</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22717#p22717"/>
		<title type="html"><![CDATA[Re: Problem to compile a program with V-USB library [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22717#p22717"><![CDATA[
<blockquote><div><cite>tytower wrote:</cite>...<br />Well thats a pretty cheeky ,rude,assunptive and completely wrong post.<br />...<br />Why the crap?<br /></div></blockquote><br />The pot calling the kettle black <img class="smilies" src="./../../../images/smilies/icon_wink.gif" alt=";)" title="Wink" /><br /><blockquote><div><cite>tytower wrote:</cite>The previous poster and the answers given indicate that he needed a Makefile so obviously there is not a Makefile supplied for the basic driver if he had to make up one himself</div></blockquote><br />Please try to understand how v-usb works and don't take the term &quot;driver&quot; as you know it from e.g. windows.<br />You don't need a makefile to make the basic driver separately. It is supplied as source code and must be compiled/assembled <strong class="text-strong">together</strong> with your program (you need some defines/constants from _your_ config).<br />The right way is to take an example, replace the &quot;main&quot; file with your file(s), adapt the makefile and start. The benefit is that you can try to compile and load the example first to see if the usb part of your hardware works (if your pc detects it).<br /><br />Ciao, Martin<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=891">horo</a> — Thu Sep 20, 2012 9:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tytower]]></name></author>
		<updated>2012-09-20T09:38:51+02:00 </updated>

		<published>2012-09-20T09:20:59+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22716#p22716</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22716#p22716"/>
		<title type="html"><![CDATA[Re: Problem to compile a program with V-USB library [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22716#p22716"><![CDATA[
<blockquote><div><cite>ulao wrote:</cite>This is exactly why I tell everyone not to start off on the silly Arduino  boards. Learn the right way first <img class="smilies" src="./../../../images/smilies/icon_wink.gif" alt=";)" title="Wink" /><br /><br />Ok make file 101.<br /><br />go to project-&gt;config settings<span style="color: #BF0000"> I dont have a project or run an editor which uses a project file s there is no configure file except for that created in usbdrv directory</span><br />in the general section check use external makefile, brows to it. <br />Make sure your makefile  is configured, there are hundreds of info's out there<span style="color: #BF0000">Exactly what and where do you refer to?</span>. There is also a mfile program that will configure it for you,<span style="color: #BF0000">Can you point to a site for this and save all the bullshit?</span>.</div></blockquote><br />Silly might be your interpretation and welcome to it you are !<br />Personally I see that Arduino is bringing in a multitude of users who otherwise would not have even tried because wherever you go you find confusion and complication when dealing with microprocessor programming.<br /><br />Personally I go back to starting to study and program 8080 chips in the 70's and frankly it has not gotten much better in my opinion.<br />Arduino has and will continue to attract big numbers because it is well presented , documented and mostly complete.<br />I do not understand a viewpoint that sees it as a competitor or lesser skilled approach to chip programming <br />I think you should hang your head in shame<br />I think you are jealous<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=7375">tytower</a> — Thu Sep 20, 2012 9:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tytower]]></name></author>
		<updated>2012-09-20T09:35:06+02:00 </updated>

		<published>2012-09-20T09:14:17+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22715#p22715</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22715#p22715"/>
		<title type="html"><![CDATA[Re: Problem to compile a program with V-USB library [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6908&amp;p=22715#p22715"><![CDATA[
<blockquote><div><cite>Coda wrote:</cite><blockquote><div><cite>tytower wrote:</cite>So how come V-USB does not come with a makefile?</div></blockquote><br />You're right it doesn't. It comes with 8 of them:<br /><br />$ find . -name Makefile<br />./vusb-20120109/examples/custom-class/commandline/Makefile<br />./vusb-20120109/examples/custom-class/firmware/Makefile<br />./vusb-20120109/examples/hid-custom-rq/commandline/Makefile<br />./vusb-20120109/examples/hid-custom-rq/firmware/Makefile<br />./vusb-20120109/examples/hid-data/commandline/Makefile<br />./vusb-20120109/examples/hid-data/firmware/Makefile<br />./vusb-20120109/examples/hid-mouse/firmware/Makefile<br />./vusb-20120109/examples/usbtool/Makefile<br />./vusb-20120109/tests/Makefile<br /><br />The original poster is coming from Arduino land and probably didn't understand the concept of Makefiles.</div></blockquote><br /><br />Well thats a pretty cheeky ,rude,assunptive and completely wrong post.<br />These are all makefiles for the tools and specific devices it comes with or so the blurb says?.<br />There is no makefile for the basic driver as far as I can see so why not just supply one?<br />Why the crap?<br />The previous poster and the answers given indicate that he needed a Makefile so obviously there is not a Makefile supplied for the basic driver if he had to make up one himself<br /><br />Your assertion that I know not Makefiles is just stupid . In fact I use Linux and am compiling and using software weekly and have been doing so for 30 years Sonny. What you may not understand is that most software comes with a ./configure file and a makefile . Thats the STANDARD !<br />V-USB does not<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=7375">tytower</a> — Thu Sep 20, 2012 9:14 am</p><hr />
]]></content>
	</entry>
	</feed>
