[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] Updates needed to AVR test files

From: Andy H
Subject: [avr-gcc-list] Updates needed to AVR test files
Date: Fri, 30 May 2008 22:59:09 -0400
User-agent: Thunderbird (Windows/20080421)

There are a couple of changes needed to AVR test files to pass a few tests.

Compatibility tests default to no optimization and maximum tests - this can easily overflow 128K code area. Add these lines to end board file (mine is called atmega128-simnew.exp). They set environment vars that control these tests and get many more to work. (Some still need other fixes).

# Restrict compatibility tests. And optimise to reduce size.
set COMPAT_OPTIONS [list [list {-Os -mcall-prologues} {-Os -mcall-prologues}]]

Dummy io/exit/abort file exit.c has unused parameter stream. The warning created then causes a failure in some tests. Hack as follows to create
dummy reference to stream, thus removing the warning.

int putchar_exit_c(char c, FILE *stream)
   *((volatile unsigned char *) STDIO_PORT) = c;
   stream = NULL;
   return 0;

best regards

reply via email to

[Prev in Thread] Current Thread [Next in Thread]