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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2008-10-06T12:15:15+02:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2008-10-06T12:15:15+02:00</updated>

		<published>2008-10-06T12:15:15+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1785&amp;p=6362#p6362</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1785&amp;p=6362#p6362"/>
		<title type="html"><![CDATA[IAR Assembler error in 2008-05-13 build]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1785&amp;p=6362#p6362"><![CDATA[
Recently when i was trying to compile the USB driver for one of my project in IAR i got the following 2 errors.<br /><br />1. Error[18]: No such pre-processor command: 'warning' U:\AVR\EN25B80\USB_Version\usbdrv_20080513\usbdrv.h 502 <br />2. Error[14]: Missing #endif U:\AVR\EN25B80\USB_Version\usbdrv_20080513\usbdrvasm.asm 21 <br /><br />on analysis it was found there is no #warning assembler directive and hence when i changed the line 502 from <br /><br />#warning &quot;You should define USB_CFG_VENDOR_ID and USB_CFG_DEVICE_ID in usbconfig.h&quot;<br /><br />to <br /><br />#error &quot;You should define USB_CFG_VENDOR_ID and USB_CFG_DEVICE_ID in usbconfig.h&quot;<br /><br />it worked<br /><br />and the second error was so strange and it took around 2hrs to find out the root cause, the problem was in *.inc file macro section, kindly refer the attaached screenshot for more information. so the error was resolved by just adding a space before the keyword 'endm'.<br /><br />have a nice coding<br /><br />-- <br />Regards,<br />~SwK<p>Statistics: Posted by Guest — Mon Oct 06, 2008 12:15 pm</p><hr />
]]></content>
	</entry>
	</feed>
