summaryrefslogtreecommitdiff
path: root/demos/host
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-07-04 13:24:54 +0700
committerhathach <[email protected]>2013-07-04 13:24:54 +0700
commit97cbb39f6ff3f64f8816830c278c888ffd7a0b18 (patch)
treef06400af6450f7d19dc8e63b7950da92b7eb1083 /demos/host
parent391e132d6bf37bcbb4211729b3728a85c4f5d174 (diff)
port osal_mutex to freeRTOS, able to mount mouse & cdc device
tinyusb host stack overflow though
Diffstat (limited to 'demos/host')
-rw-r--r--demos/host/host_freertos/.cproject4
-rw-r--r--demos/host/host_freertos/app_os_prio.h6
2 files changed, 6 insertions, 4 deletions
diff --git a/demos/host/host_freertos/.cproject b/demos/host/host_freertos/.cproject
index 3db6de63c..6bc4ecf70 100644
--- a/demos/host/host_freertos/.cproject
+++ b/demos/host/host_freertos/.cproject
@@ -90,7 +90,7 @@
<sourceEntries>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="freertos/freertos/Source/portable/GCC/ARM_CM4F"/>
<entry excluding="heap_2.c|heap_3.c|heap_4.c" flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="freertos/freertos/Source/portable/MemMang"/>
- <entry excluding="bsp/boards/embedded_artists/oem_base_board|freertos/freertoslpc/FreeRTOS_lpc43xx_m0_Tick.c|freertos/freertos/Source/portable|bsp/boards/EA4357|NGX|bsp/lpc13uxx|bsp/lpc11uxx" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
+ <entry excluding="bsp/lpc175x_6x|bsp/boards/embedded_artists/oem_base_board|freertos/freertoslpc/FreeRTOS_lpc43xx_m0_Tick.c|freertos/freertos/Source/portable|bsp/boards/EA4357|NGX|bsp/lpc13uxx|bsp/lpc11uxx" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
</sourceEntries>
</configuration>
</storageModule>
@@ -750,8 +750,8 @@
</folderInfo>
<sourceEntries>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="freertos/freertos/Source/portable/GCC/ARM_CM4F"/>
- <entry excluding="freertos/freertoslpc/FreeRTOS_lpc43xx_m0_Tick.c|freertos/freertos/Source/portable|bsp/boards/EA4357|NGX|bsp/lpc13uxx|bsp/lpc11uxx" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
<entry excluding="heap_2.c|heap_3.c|heap_4.c" flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="freertos/freertos/Source/portable/MemMang"/>
+ <entry excluding="bsp/lpc175x_6x|freertos/freertoslpc/FreeRTOS_lpc43xx_m0_Tick.c|freertos/freertos/Source/portable|bsp/boards/EA4357|NGX|bsp/lpc13uxx|bsp/lpc11uxx" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
</sourceEntries>
</configuration>
</storageModule>
diff --git a/demos/host/host_freertos/app_os_prio.h b/demos/host/host_freertos/app_os_prio.h
index 25af31f6a..6a9135dfd 100644
--- a/demos/host/host_freertos/app_os_prio.h
+++ b/demos/host/host_freertos/app_os_prio.h
@@ -57,8 +57,10 @@
extern "C" {
#endif
-#define KEYBOARD_APP_TASK_PRIO (TUSB_CFG_OS_TASK_PRIO-1)
-#define MOUSE_APP_TASK_PRIO (KEYBOARD_APP_TASK_PRIO-1)
+#define KEYBOARD_APP_TASK_PRIO (TUSB_CFG_OS_TASK_PRIO-2)
+#define MOUSE_APP_TASK_PRIO KEYBOARD_APP_TASK_PRIO
+#define CDC_SERIAL_APP_TASK_PRIO KEYBOARD_APP_TASK_PRIO
+
#define LED_BLINKING_APP_TASK_PRIO (tskIDLE_PRIORITY+1)
#ifdef __cplusplus