annotate target-utils/helloapp/main.c @ 1034:405b5469abc4 default tip

top README: repository change notice
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 12 Jun 2016 19:06:34 +0000
parents a7b0b426f9ca
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
ddda170fa6f4 loadagent.elf compiled and linked, no printf yet
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 1
diff changeset
1 main()
ddda170fa6f4 loadagent.elf compiled and linked, no printf yet
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 1
diff changeset
2 {
ddda170fa6f4 loadagent.elf compiled and linked, no printf yet
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 1
diff changeset
3 uart_select_init();
20
be293e656a6f helloapp isn't quite loadagent
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 14
diff changeset
4 printf("Hello-world demo app running\n");
992
a7b0b426f9ca target-utils: boot ROM UART autodetection revamped
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents: 20
diff changeset
5 print_boot_rom_info();
14
f0501c4a8790 helloapp (proto-loadagent) compiles with r8/r16/r32 implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 11
diff changeset
6 for (;;) {
f0501c4a8790 helloapp (proto-loadagent) compiles with r8/r16/r32 implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 11
diff changeset
7 putchar('=');
f0501c4a8790 helloapp (proto-loadagent) compiles with r8/r16/r32 implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 11
diff changeset
8 if (command_entry())
f0501c4a8790 helloapp (proto-loadagent) compiles with r8/r16/r32 implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 11
diff changeset
9 command_dispatch();
f0501c4a8790 helloapp (proto-loadagent) compiles with r8/r16/r32 implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 11
diff changeset
10 }
2
ddda170fa6f4 loadagent.elf compiled and linked, no printf yet
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 1
diff changeset
11 }