};
static const char *_asmCmd[] = {
- "avr-as", "", "$1.asm", NULL
+ "avr-as", "-mmcu=avr3" , "$1.s", NULL
};
/* Globals */
PORT avr_port = {
+ TARGET_ID_AVR,
"avr",
"ATMEL AVR", /* Target name */
{
_asmCmd,
"-plosgffc", /* Options with debug */
"-plosgff", /* Options without debug */
- 0},
+ 0,
+ ".s"},
{
_linkCmd,
NULL,
_defaultRules},
{
/* Sizes: char, short, int, long, ptr, fptr, gptr, bit, float, max */
- 1, 1, 2, 4, 2, 2, 3, 1, 4, 4},
+ 1, 2, 2, 4, 2, 2, 3, 1, 4, 4},
{
"XSEG",
"STACK",