osd-contiki/tests/romimg.c

19 lines
256 B
C
Raw Normal View History

#include <mc1322x.h>
#include <board.h>
2009-04-10 22:01:57 +02:00
#include "tests.h"
2010-02-26 20:22:41 +01:00
#include "config.h"
2009-04-10 22:01:57 +02:00
void main(void) {
volatile uint8_t *data;
2010-02-26 20:22:41 +01:00
uart_init(INC, MOD);
2009-04-10 22:01:57 +02:00
2010-02-26 20:22:41 +01:00
for(data = DUMP_BASE; data < ((uint8_t *)(DUMP_BASE+DUMP_LEN)); data++) {
2009-04-10 22:01:57 +02:00
putc(*data);
}
while(1);
}