A porting of a GPS decoding and presenting program within the mbos RTOS. It is not a definitive application but a study program to test NMEA full decoding library and a first approach to an RTOS. Many thanks to Andrew Levido for his support and his patience on teaching me the RTOS principles from the other side of the Earth. It uses NMEA library by Tim (xtimor@gmail.com) ported by Ken Todotani (http://mbed.org/users/todotani/) on public mbed library (http://mbed.org/users/todotani/programs/GPS_nmeaLib/5yo4h) also available, as original universal C library, on http://nmea.sourceforge.net

Dependencies:   mbos Watchdog TextLCD mbed ConfigFile

Revision:
2:8917036cbf69
Parent:
0:d177c0087d1f
--- a/Tasks.h	Sun Jan 29 22:08:35 2012 +0000
+++ b/Tasks.h	Tue Jan 31 00:22:58 2012 +0000
@@ -48,7 +48,14 @@
 #define TEMP_STACK_SZ               32
 void TempTask(void);  
 
-#define NUM_TASKS                    8
+// Task 9 - Kick the WDT dog
+#define WDT_TASK                     9
+#define WDT_PRIORITY                90
+#define WDT_STACK_SZ               128
+void WdtTask(void);  
+
+
+#define NUM_TASKS                    9
 
 // timers ------------------------------
 #define KEYPAD_TMR                   0
@@ -58,8 +65,9 @@
 #define SHOW_PC_TMR                  4
 #define LCD_LIGHT_DIM_OFF_TMR        5
 #define TEMP_TMR                     6
+#define WDT_TMR                      7
 
-#define NUM_TIMERS                   7
+#define NUM_TIMERS                   8
 
 // resources ---------------------------
 #define PC_SERIAL                    0
@@ -86,4 +94,5 @@
 #define LCD_LIGHT_DIM_ON_EVT  0x00000040
 #define LCD_LIGHT_DIM_OFF_EVT 0x00000080
 #define TEMP_EVT              0x00000100
+#define WDT_EVT               0x00000200