view target-utils/loadagent/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 c0e063494194
children
line wrap: on
line source

/*
 * FreeCalypso loadagent main() function lives here
 */

main()
{
	uart_select_init();
	printf("FreeCalypso loadagent running\n");
	print_boot_rom_info();
	for (;;) {
		putchar('=');
		if (command_entry())
			command_dispatch();
	}
}