diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-07-17 10:42:54 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-07-17 10:42:54 +0000 |
commit | 25069afdb7ca113779cf4bcc9e3879d6db7afae8 (patch) | |
tree | 47104f423837371e6c6aac5711c0851c8371c826 /demos/SPC5 | |
parent | 6fd6d0670e8e639eb1909ccdb8e1d509db02d6f7 (diff) | |
download | ChibiOS-25069afdb7ca113779cf4bcc9e3879d6db7afae8.tar.gz ChibiOS-25069afdb7ca113779cf4bcc9e3879d6db7afae8.tar.bz2 ChibiOS-25069afdb7ca113779cf4bcc9e3879d6db7afae8.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7040 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/SPC5')
-rw-r--r-- | demos/SPC5/NIL-SPC560D-EVB/Makefile | 8 | ||||
-rw-r--r-- | demos/SPC5/NIL-SPC560D-EVB/main.c | 5 |
2 files changed, 5 insertions, 8 deletions
diff --git a/demos/SPC5/NIL-SPC560D-EVB/Makefile b/demos/SPC5/NIL-SPC560D-EVB/Makefile index 5e6e2008f..1a846e121 100644 --- a/demos/SPC5/NIL-SPC560D-EVB/Makefile +++ b/demos/SPC5/NIL-SPC560D-EVB/Makefile @@ -76,10 +76,10 @@ PROJECT = ch # Imported source files and paths
CHIBIOS = ../../..
-#include $(CHIBIOS)/os/hal/hal.mk
-#include $(CHIBIOS)/os/hal/boards/ST_EVB_SPC560D/board.mk
-#include $(CHIBIOS)/os/hal/ports/SPC5/SPC560Dxx/platform.mk
-#include $(CHIBIOS)/os/hal/osal/nil/osal.mk
+include $(CHIBIOS)/os/hal/hal.mk
+include $(CHIBIOS)/os/hal/boards/ST_EVB_SPC560D/board.mk
+include $(CHIBIOS)/os/hal/ports/SPC5/SPC560Dxx/platform.mk
+include $(CHIBIOS)/os/hal/osal/nil/osal.mk
include $(CHIBIOS)/os/nil/nil.mk
include $(CHIBIOS)/os/nil/ports/e200/compilers/GCC/mk/port_spc560dxx.mk
#include $(CHIBIOS)/test/nil/test.mk
diff --git a/demos/SPC5/NIL-SPC560D-EVB/main.c b/demos/SPC5/NIL-SPC560D-EVB/main.c index 98b2b5dba..2c63168c4 100644 --- a/demos/SPC5/NIL-SPC560D-EVB/main.c +++ b/demos/SPC5/NIL-SPC560D-EVB/main.c @@ -15,7 +15,7 @@ */
#include "nil.h"
-//#include "hal.h"
+#include "hal.h"
//#include "test.h"
#if 0
@@ -95,7 +95,6 @@ static THD_FUNCTION(Thread1, arg) { (void)arg;
while (TRUE) {
-#if 0
unsigned i;
for (i = 0; i < 4; i++) {
@@ -152,8 +151,6 @@ static THD_FUNCTION(Thread1, arg) { palSetPort(PORT_E, PAL_PORT_BIT(PE_LED1) | PAL_PORT_BIT(PE_LED2) |
PAL_PORT_BIT(PE_LED3) | PAL_PORT_BIT(PE_LED4));
-#endif
- chThdSleepMilliseconds(500);
}
}
|