From 1fb1ea46a56e4e0491be2226d73717a0bffedb71 Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 31 Mar 2014 17:56:21 +0700 Subject: [PATCH] update xpresso host cmsis rtx to build with ngx4330 xpresso device cmsis rtx can build with all board --- demos/device/device_cmsis_rtx/.cproject | 150 ++++--- demos/device/device_cmsis_rtx/.project | 5 + demos/device/src/tusb_config.h | 2 +- demos/host/host_cmsis_rtx/.cproject | 546 +++++++----------------- 4 files changed, 234 insertions(+), 469 deletions(-) diff --git a/demos/device/device_cmsis_rtx/.cproject b/demos/device/device_cmsis_rtx/.cproject index 4e7d2f5e0..a20a546a4 100644 --- a/demos/device/device_cmsis_rtx/.cproject +++ b/demos/device/device_cmsis_rtx/.cproject @@ -1,25 +1,23 @@ - - - + - + - - + + @@ -34,7 +32,8 @@ - + - - + + @@ -125,7 +124,8 @@ - + - - + + @@ -212,11 +212,12 @@ - - - - + + - + - - + + @@ -308,11 +313,12 @@ - - - - + + - + - - + + @@ -403,7 +413,8 @@ - + - - + + @@ -494,11 +505,12 @@ - - - - + + - + - - + + @@ -593,7 +610,8 @@ diff --git a/demos/device/device_cmsis_rtx/.project b/demos/device/device_cmsis_rtx/.project index b66e0ff46..e3026f493 100644 --- a/demos/device/device_cmsis_rtx/.project +++ b/demos/device/device_cmsis_rtx/.project @@ -85,6 +85,11 @@ 2 PARENT-3-PROJECT_LOC/boards + + cmsis_rtos_rtx + 2 + PARENT-3-PROJECT_LOC/vendor/cmsis_rtos_rtx + mcu 2 diff --git a/demos/device/src/tusb_config.h b/demos/device/src/tusb_config.h index bb8e6769c..c21caaade 100644 --- a/demos/device/src/tusb_config.h +++ b/demos/device/src/tusb_config.h @@ -58,7 +58,7 @@ #define TUSB_CFG_DEVICE_FULLSPEED 1 // TODO refractor, remove //------------- CLASS -------------// -#define TUSB_CFG_DEVICE_HID_KEYBOARD 0 +#define TUSB_CFG_DEVICE_HID_KEYBOARD 1 #define TUSB_CFG_DEVICE_HID_MOUSE 1 #define TUSB_CFG_DEVICE_HID_GENERIC 0 // not supported yet #define TUSB_CFG_DEVICE_MSC 1 diff --git a/demos/host/host_cmsis_rtx/.cproject b/demos/host/host_cmsis_rtx/.cproject index 4731b2bca..76bd56b86 100644 --- a/demos/host/host_cmsis_rtx/.cproject +++ b/demos/host/host_cmsis_rtx/.cproject @@ -32,33 +32,33 @@ - + @@ -187,7 +193,7 @@ - + @@ -223,7 +229,7 @@ - - -