Erich,



I'm using the ATmega328p on the OSEPP™ Uno R3 Plus 
(http://osepp.com/products/arduino-compatible-boards/uno-r3-plus/) board.




Removing the “_0” from .include "drivers/usart_0.asm" didn't change the errors.




Perhaps this is due to using the Simulator because I haven't gotten a working 
AVRISP yet?




DaR





From: Erich Waelde
Sent: ‎Tuesday‎, ‎February‎ ‎11‎, ‎2014 ‎11‎:‎37‎ ‎AM
To: Everything around amforth





-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On 02/09/2014 10:31 PM, daruf...@gmail.com wrote:
> I must be doing something wrong…
> 
> 
> 
> 
> 
> I downloaded version 5.2 and set it up within Atmel Studio 6 (Version 
> 6.1.2730 - Service Pack 2), but I get the following errors:
> 
> 
> 
> 
> Error 4 Invalid redefinition of 'USART_B_VALUE' 
> C:\cygwin\usr\src\amforth\amforth\myproj.asm 30 0 amforth
> Error 6 Invalid redefinition of 'USART_C_VALUE' 
> C:\cygwin\usr\src\amforth\amforth\myproj.asm 35 0 amforth
> Error 9 Use of undefined or forward referenced symbol 'AMFORTH_RO_SEG' in 
> .org C:\cygwin\usr\src\amforth\amforth\amforth.asm 15 0 amforth
> Error 11 Overlap in .cseg: addr=0x0 conflicts with 0x0:0x2 
> C:\cygwin\usr\src\amforth\amforth\amforth-interpreter.asm 4 0 amforth
> Error 14 Overlap in .cseg: addr=0x1 conflicts with 0x0:0x2 
> C:\cygwin\usr\src\amforth\amforth\amforth-interpreter.asm 5 0 amforth
...


Which controller are you using?

Could it be that in your template.asm file you have
  .include "drivers/usart_0.asm"
where
  .include "drivers/usart.asm"
could work, or vice versa? This is just a guess. Older controllers
like the venerable atmega32 do not have usart_0 but just usart.

Hope this helps.

Cheers,
Erich

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBAgAGBQJS+nvdAAoJEHx024vXVRNQK3kQAKPPcWrP21qniuAcQOozdcY8
GREr8Q7rd8MoxsxbfnaIX5laB3u/St8ySnbklZsHNiZYJXas3xraRsz8qhCqYv9X
qri6K9CBuUTeCrDAx1uS5cd02QqOSA6qmWNbSWF81pcxzzIr5q1MO5Ko7+0N7VhB
vWPG8Lz9g9GDmYwgh31oU+oJ02qpjAQFnGUc4DXUWBUq7NFTvqb8BetRceU9FxBW
Tj6gD3NpILJpiMMOybtD02ERzhPJAXvXh+UGotpsbsFhg+Gi37Lnm54g7mvQH7G0
JOS/PzJp2ao1Q73VtUIKL83aOsJl7cFgnZqsrnYfHTzrSf+my8yVN8lvSlWJGO51
t/Q/HbS3ucHqT5gM/kcpRyEhZRlW5Q+Xpo9ANVlx7yL1Mz9fsJiI8xHwZoPge9OB
p7ZW1VKHEuDzg3I5CcTJMG3iVQ3VQLbLaD5w7ATEG9GGyEbYmVF02f3vFhaOsHQy
kI8S6hOWPyBJzjDCiES7G6Vk4apfpbbswmUlbsr3Wx7YywrGdXhtj6lReiZ5HdIk
r+TkmC1CqsEEqM/dxbU06as7MPhQQcPVFD8joLWeycDrWXZbfB/eHC2hV0QT4elm
+l8pPZtWEmWq8y7DkG+FACPZZL7q2PiHpSochfsdFUw/OC9GQ7lAD0HjC2iNGxkg
rYX8t6cwfUcIDBFXCITD
=lrFg
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to