get the sam7ex256 platform building again

This commit is contained in:
Travis Geiselbrecht
2009-12-03 23:56:23 -08:00
parent c7a992f524
commit 431ba7a219
3 changed files with 12 additions and 1 deletions

View File

@@ -64,6 +64,12 @@ void ser_puts(const char *s)
}
}
int dgetc(char *c, bool wait)
{
return -1;
}
void _dputc(char c)
{
ser_putc(c);

View File

@@ -48,6 +48,11 @@ time_t current_time(void)
return ticks;
}
bigtime_t current_time_hires(void)
{
return ticks * 1000ULL;
}
static enum handler_return pit_irq_handler(void *arg)
{
AT91PIT *pit = AT91PIT_ADDR;

View File

@@ -1,6 +1,6 @@
#!/bin/sh
export DEBUG=true
export DEBUG=2
export PROJECT=sam7ex256-test
make