2010-02-26 14:04:10 -05:00
|
|
|
#include <mc1322x.h>
|
|
|
|
#include <board.h>
|
2009-04-10 16:01:57 -04:00
|
|
|
|
2010-02-26 14:04:10 -05:00
|
|
|
#include "tests.h"
|
2010-02-26 14:22:41 -05:00
|
|
|
#include "config.h"
|
2009-04-10 16:01:57 -04:00
|
|
|
|
|
|
|
void main(void) {
|
|
|
|
volatile uint8_t *data;
|
|
|
|
|
2010-03-09 18:23:40 -05:00
|
|
|
uart_init(INC, MOD, SAMP);
|
2009-04-10 16:01:57 -04:00
|
|
|
|
2010-02-26 14:22:41 -05:00
|
|
|
for(data = DUMP_BASE; data < ((uint8_t *)(DUMP_BASE+DUMP_LEN)); data++) {
|
2010-03-09 18:23:40 -05:00
|
|
|
uart1_putc(*data);
|
2009-04-10 16:01:57 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
while(1);
|
|
|
|
|
|
|
|
}
|