FreeCalypso > hg > freecalypso-tools
diff target-utils/helloapp/main-bootrom.c @ 516:8bdbae4c0e53
target-utils/helloapp: build boot-ROM-based and fixed-UART versions
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 29 May 2019 05:40:51 +0000 |
parents | target-utils/helloapp/main.c@e7502631a0f9 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/target-utils/helloapp/main-bootrom.c Wed May 29 05:40:51 2019 +0000 @@ -0,0 +1,11 @@ +main() +{ + uart_select_init(); + printf("Hello-world demo app running\n"); + print_boot_rom_info(); + for (;;) { + putchar('='); + if (command_entry()) + command_dispatch(); + } +}