2010-02-26 20:04:10 +01:00
|
|
|
#include <mc1322x.h>
|
|
|
|
#include <board.h>
|
2009-04-10 22:01:57 +02:00
|
|
|
|
2010-02-26 20:04:10 +01: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-03-10 00:23:40 +01:00
|
|
|
uart_init(INC, MOD, SAMP);
|
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++) {
|
2010-03-10 00:23:40 +01:00
|
|
|
uart1_putc(*data);
|
2009-04-10 22:01:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
while(1);
|
|
|
|
|
|
|
|
}
|