Set none programmer type.
[bertos.git] / examples / at91sam7 / at91sam7.c
index 04ee19f2525614a78d85c84ab581be72f49c14bf..b8ef86c8b539c7238455ec3a68abc5d4a93c221a 100644 (file)
@@ -50,6 +50,7 @@
 #include <cfg/macros.h>
 
 #include <kern/proc.h>
+#include <kern/signal.h>
 
 #include <cpu/detect.h>
 
@@ -102,14 +103,14 @@ static void leds_init(void)
        #define FIRST_LED                       0x100000
        #define SET_PIO_BITS                    PIOB_SODR
        #define CLEAR_PIO_BITS                  PIOB_CODR
-       #define AT91SAM7_MSG      "BeRTOS is run on AT91SAM7X256..\n"
+       #define AT91SAM7_MSG      "BeRTOS is running on AT91SAM7X256..\n"
 #elif CPU_ARM_AT91SAM7S256
        #define GET_PIO_STATUS()  (~PIOA_ODSR & 0x0000000f)
        #define LAST_LED                        0x00000004
        #define FIRST_LED                       0x00000002
        #define SET_PIO_BITS                    PIOA_SODR
        #define CLEAR_PIO_BITS                  PIOA_CODR
-       #define AT91SAM7_MSG      "BeRTOS is run on AT91SAM7S256..\n"
+       #define AT91SAM7_MSG      "BeRTOS is running on AT91SAM7S256..\n"
 #endif
 
 /*
@@ -176,7 +177,13 @@ int main(void)
                kfile_printf(&ser_fd.fd, "ProcTest..ok!\n");
        else
                kfile_printf(&ser_fd.fd, "ProcTest..FAIL!\n");
-
+       /*
+        * Run signal test.
+        */
+       if(!signal_testRun())
+               kfile_printf(&ser_fd.fd, "SignalTest..ok!\n");
+       else
+               kfile_printf(&ser_fd.fd, "SignalTest..FAIL!\n");
 
        kputs(AT91SAM7_MSG);