view target-utils/helloapp/main.c @ 992:a7b0b426f9ca

target-utils: boot ROM UART autodetection revamped The new implementation should work with both the familiar Calypso C035 boot ROM version found in our regular targets as well as the older Calypso F741979B version found on the vintage D-Sample board.
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Wed, 30 Dec 2015 21:28:41 +0000
parents be293e656a6f
children
line wrap: on
line source

main()
{
	uart_select_init();
	printf("Hello-world demo app running\n");
	print_boot_rom_info();
	for (;;) {
		putchar('=');
		if (command_entry())
			command_dispatch();
	}
}