From 5f8f046eaa10f434b9bbb7f7cd0ed0f9dad24952 Mon Sep 17 00:00:00 2001 From: hathach Date: Fri, 28 Feb 2014 18:42:33 +0700 Subject: [PATCH] refractor remove tusbh_msc_is_failed increase usbh enum task from 150 to 200 due to stack overflow when mounting msc device added task for msc host freeRTOS with stack = 300 (still cannot execute copy command) --- demos/host/host_freertos/app_os_prio.h | 1 + demos/host/host_os_none/.cproject | 163 +++++++++++++------------ demos/host/src/msc_app.c | 15 ++- tinyusb/class/msc_host.c | 8 -- tinyusb/class/msc_host.h | 3 - tinyusb/host/usbh.c | 2 +- vendor/fatfs/diskio.c | 9 +- 7 files changed, 102 insertions(+), 99 deletions(-) diff --git a/demos/host/host_freertos/app_os_prio.h b/demos/host/host_freertos/app_os_prio.h index 6a9135dfd..1704d8312 100644 --- a/demos/host/host_freertos/app_os_prio.h +++ b/demos/host/host_freertos/app_os_prio.h @@ -60,6 +60,7 @@ #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 MSC_APP_TASK_PRIO KEYBOARD_APP_TASK_PRIO #define LED_BLINKING_APP_TASK_PRIO (tskIDLE_PRIORITY+1) diff --git a/demos/host/host_os_none/.cproject b/demos/host/host_os_none/.cproject index 569f09885..a926209d8 100644 --- a/demos/host/host_os_none/.cproject +++ b/demos/host/host_os_none/.cproject @@ -30,7 +30,7 @@ - - -