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

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

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

		<entry>
		<author><name><![CDATA[JohanKrava]]></name></author>
		<updated>2008-10-12T18:33:10+02:00</updated>

		<published>2008-10-12T18:33:10+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1783&amp;p=6410#p6410</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1783&amp;p=6410#p6410"/>
		<title type="html"><![CDATA[hardenning stuff with assembler]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1783&amp;p=6410#p6410"><![CDATA[
You can use any language you wish or all of them in a single project! You need a compiler for each of your languages and then just link your compiled (obj) files together. I work this way. Ask Google for details.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1408">JohanKrava</a> — Sun Oct 12, 2008 6:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Grendel]]></name></author>
		<updated>2008-10-07T03:28:11+02:00</updated>

		<published>2008-10-07T03:28:11+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1783&amp;p=6369#p6369</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1783&amp;p=6369#p6369"/>
		<title type="html"><![CDATA[hardenning stuff with assembler]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1783&amp;p=6369#p6369"><![CDATA[
avr-gcc allows mixing assembler and C modules quite nicely -- including usage of I/O macros (via #include &lt;avr/io.h&gt;). Just take a look at some of the AVR-USB projects.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=101">Grendel</a> — Tue Oct 07, 2008 3:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2008-10-05T09:08:40+02:00</updated>

		<published>2008-10-05T09:08:40+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1783&amp;p=6359#p6359</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1783&amp;p=6359#p6359"/>
		<title type="html"><![CDATA[hardenning stuff with assembler]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1783&amp;p=6359#p6359"><![CDATA[
Hi people.<br />I need to make a project completely in assembler for the Uni.<br /><br />As an extra for the project, students can opt to make an interface with USB, and only for that we can use C.<br /><br />I have successfully maked (with a lot of research) a C project with some assembler functions. But this is far away from being an assembler project.<br />With assembler functions i cant use constants like PORTB and the others.<br />I cant include m32def.inc because i use avr-gcc and not avrasm.<br /><br />If i use AVR-ASM i can make an entire project in assembler, but then i cant add C files like the ones for avrusb.<br /><br />Any idea of how can i make a basic mix between both languages?<br /><br />My needs for the mixedproject are like this:<br /><br />main.asm (or .S) for the core (reset interrupt, device initialization, etc.)<br />usb.c and usb.h for making use of avrusb.<br />i2cmem.asm to comunicate with an i2c external memory.<br /><br />And also i would need to be able to use predefined constants in assembler.<br /><br />I would really apreciate any help.<br /><br />Cheers,<br />Diego.<p>Statistics: Posted by Guest — Sun Oct 05, 2008 9:08 am</p><hr />
]]></content>
	</entry>
	</feed>
