Simulavr: an AVR simulator - News: simulavr-0.1.1 released
[Submit News]
[20 news in archive]
simulavr-0.1.1 released
Item posted by Theodore A. Roth <troth> on Tue 10 Sep 2002 04:25:14 AM UTC.
Comments:
| test_c/demo.c parameters backwards in outb? (posted by William, Thu 17 Oct 2002 04:09:01 AM UTC) |
I'm trying to get a handle on how to use simulavr to prototype a couple of projects and found that simulavr-1.0 built with very little trouble...
simulavr-1.1 has a test file (test_c/demo.c) that used to compile in v1.0, but apparently due to changes no longer compiles. (parameters swapped in outb/outp)
What is going on here? Is my configuration wrong or is the current "test_c/demo.c" in fact broken in 1.1.
Here's the diff:
diff simulavr-0.1.0/test_c/demo.c simulavr-0.1.1/test_c/demo.c
> * $Id: demo.c,v 1.5 2002/09/05 17:18:44 troth Exp $
7,8c7,8
> #include <avr/io.h>
18c18
> outb( DDRB, 0xff ); /* enable port b for output */
21c21
> outb( PORTB, cnt );
|
| RE: test_c/demo.c parameters backwards in out (posted by Theodore A. Roth, Tue 27 May 2003 04:16:42 AM UTC) |
Sorry, I just notice this post... :-(
Simluavr requires the latest bintuilts/gcc/avr-libc to build the test files. Simulavr can be configured to ignore the test using the --disable-tests option.
Ted |


