diff options
Diffstat (limited to 'micromonitor/diagnostics/appboot')
-rw-r--r-- | micromonitor/diagnostics/appboot | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/micromonitor/diagnostics/appboot b/micromonitor/diagnostics/appboot new file mode 100644 index 0000000..6b369b2 --- /dev/null +++ b/micromonitor/diagnostics/appboot @@ -0,0 +1,12 @@ +# TOP: +set DIAGNOSTICS_RESULT # clear this variable +diagnostics +if $DIAGNOSTICS_RESULT sne PASS goto FIX_ME_NOW +echo "Diagnostics passed, running RTEMS Application +ether off +rtemsapp # RTEMS app does not exit +goto TOP + +# FIX_ME_NOW: +echo "Diagnostics failed, please call FIX-A-BOARD" +goto TOP # repeat |