diff options
author | Ingo Albrecht <prom@berlin.ccc.de> | 2010-07-16 02:12:30 +0200 |
---|---|---|
committer | Ingo Albrecht <prom@berlin.ccc.de> | 2010-07-20 14:41:21 +0200 |
commit | 48298d17fea548956c8fde2a1121c52f92e6e844 (patch) | |
tree | ff5f020f4092dd446c2e4c950409afc45a0e7e36 /src/target/firmware/apps | |
parent | 80858f0ca023b5d072a90c32910cf2def459dc89 (diff) |
firmware: gave all apps a proper hello message and let them print their git revision
Diffstat (limited to 'src/target/firmware/apps')
-rw-r--r-- | src/target/firmware/apps/compal_dsp_dump/main.c | 2 | ||||
-rw-r--r-- | src/target/firmware/apps/hello_world/main.c | 3 | ||||
-rw-r--r-- | src/target/firmware/apps/layer1/main.c | 4 | ||||
-rw-r--r-- | src/target/firmware/apps/loader/main.c | 2 | ||||
-rwxr-xr-x | src/target/firmware/apps/simtest/main.c | 3 |
5 files changed, 8 insertions, 6 deletions
diff --git a/src/target/firmware/apps/compal_dsp_dump/main.c b/src/target/firmware/apps/compal_dsp_dump/main.c index f47e282b..c823d0ae 100644 --- a/src/target/firmware/apps/compal_dsp_dump/main.c +++ b/src/target/firmware/apps/compal_dsp_dump/main.c @@ -45,7 +45,7 @@ int main(void) { board_init(); - puts("\n\nCompal DSP data dumper\n"); + puts("\n\nOSMOCOM Compal DSP Dumper (revision " GIT_REVISION ")\n"); puts(hr); /* Dump device identification */ diff --git a/src/target/firmware/apps/hello_world/main.c b/src/target/firmware/apps/hello_world/main.c index 36c36322..14b09b73 100644 --- a/src/target/firmware/apps/hello_world/main.c +++ b/src/target/firmware/apps/hello_world/main.c @@ -72,8 +72,9 @@ int main(void) { board_init(); - puts("\n\nHello World from " __FILE__ " program code\n"); + puts("\n\nOSMOCOM Hello World (revision " GIT_REVISION ")\n"); puts(hr); + /* Dump device identification */ dump_dev_id(); puts(hr); diff --git a/src/target/firmware/apps/layer1/main.c b/src/target/firmware/apps/layer1/main.c index 1832d12f..393f69e2 100644 --- a/src/target/firmware/apps/layer1/main.c +++ b/src/target/firmware/apps/layer1/main.c @@ -56,9 +56,9 @@ int main(void) { board_init(); - puts("\n\nHello World from " __FILE__ " program code\n"); - + puts("\n\nOSMOCOM Layer 1 (revision " GIT_REVISION ")\n"); puts(hr); + /* Dump device identification */ dump_dev_id(); puts(hr); diff --git a/src/target/firmware/apps/loader/main.c b/src/target/firmware/apps/loader/main.c index 5bac1b96..9d83a934 100644 --- a/src/target/firmware/apps/loader/main.c +++ b/src/target/firmware/apps/loader/main.c @@ -142,7 +142,7 @@ int main(void) sercomm_init(); /* Say hi */ - puts("\n\nOSMOCOM Calypso loader (revision " GIT_REVISION ")\n"); + puts("\n\nOSMOCOM Loader (revision " GIT_REVISION ")\n"); puts(hr); /* Initialize flash driver */ diff --git a/src/target/firmware/apps/simtest/main.c b/src/target/firmware/apps/simtest/main.c index b67b6edc..f3fa89f3 100755 --- a/src/target/firmware/apps/simtest/main.c +++ b/src/target/firmware/apps/simtest/main.c @@ -275,8 +275,9 @@ int main(void) { board_init(); - puts("\n\nSIM-Test from " __FILE__ " program code\n"); + puts("\n\nOSMOCOM SIM Test (revision " GIT_REVISION ")\n"); puts(hr); + /* Dump device identification */ dump_dev_id(); puts(hr); |