int main() {
- char buf="betty - live from the flash at 0x80000000! ;)\r\n";
+ char buf[]="betty - live from the flash at 0x80000000! ;)\r\n";
+ u8 byte;
pll_init();
uart0_init();
ext_mem_bank_init();
pin_select_init();
- while(1)
+ while(1) {
+ byte=uart0_get_byte();
uart0_send_string(buf);
+ uart0_send_byte(byte);
+ }
return 0;
}