FreeCalypso > hg > freecalypso-tools
annotate target-utils/helloapp/main-fixeduart.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 | |
children |
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 } |