FreeCalypso > hg > freecalypso-tools
comparison target-utils/buzplayer/main.c @ 76:5bbba2cab6f3
target-utils: buzplayer started
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 27 Oct 2016 03:50:40 +0000 |
parents | |
children | 0f11da299b7d |
comparison
equal
deleted
inserted
replaced
75:bbc41034f14c | 76:5bbba2cab6f3 |
---|---|
1 #include "types.h" | |
2 | |
3 main() | |
4 { | |
5 uart_select_init(); | |
6 printf("FreeCalypso buzzer player running\n"); | |
7 print_boot_rom_info(); | |
8 *(volatile u16 *)0xfffe4806 = 0xFFF3; /* enable ARMIO clock */ | |
9 for (;;) { | |
10 putchar('='); | |
11 if (command_entry()) | |
12 command_dispatch(); | |
13 } | |
14 } |