annotate target-utils/helloapp/main-fixeduart.c @ 926:6a0aa8d36d06

rvinterf backslash escape: introduce libprint The new helper function library named libprint is meant to replace the badly misnamed libg23, and will soon contain functions for printing all of the same kinds of GPF TST packets that are now handled in libg23. However, we are also moving safe_print_trace() from libasync to this new library, and changing it to emit our new backslash escape format.
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 23 May 2023 03:47:46 +0000
parents 8bdbae4c0e53
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
516
8bdbae4c0e53 target-utils/helloapp: build boot-ROM-based and fixed-UART versions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 main()
8bdbae4c0e53 target-utils/helloapp: build boot-ROM-based and fixed-UART versions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 {
8bdbae4c0e53 target-utils/helloapp: build boot-ROM-based and fixed-UART versions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 printf("Hello-world demo app (fixed UART version) running\n");
8bdbae4c0e53 target-utils/helloapp: build boot-ROM-based and fixed-UART versions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 for (;;) {
8bdbae4c0e53 target-utils/helloapp: build boot-ROM-based and fixed-UART versions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 putchar('=');
8bdbae4c0e53 target-utils/helloapp: build boot-ROM-based and fixed-UART versions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 if (command_entry())
8bdbae4c0e53 target-utils/helloapp: build boot-ROM-based and fixed-UART versions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 command_dispatch();
8bdbae4c0e53 target-utils/helloapp: build boot-ROM-based and fixed-UART versions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 }
8bdbae4c0e53 target-utils/helloapp: build boot-ROM-based and fixed-UART versions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 }