diff options
| author | hathach <[email protected]> | 2013-04-24 17:53:43 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-04-24 17:53:43 +0700 |
| commit | d4a2600ecc8cdeec26485f8ab564b12de41d6b9b (patch) | |
| tree | bb30227f93c28506ca4a38ead6cf3a2dc3b7e251 /tinyusb/common/errors.h | |
| parent | 574710dde57a466d0fee6d8b3ccb0366eb64deba (diff) | |
- change OSAL_TASK_FUNCTION to have void* parameter (to be consistent with most popular RTOS)
- add new error enum TUSB_ERROR_OSAL_TASK_CREATE_FAILED
- move usbh_enumeration_task prototype to usbh.h
- change OSAL_SUBTASK_INVOKED_AND_WAIT behavior, will not "return" in calling task when subtask got error status.
calling task need to do that after the call
- osal_queue_receive signature from uint32_t* to void*
- implement osal_freertos.h for FreeRTOS 7.3 --> able to compile & build host_freertos
+ OSAL_TASK_FUNCTION
+ turn on FPU for M4 in both host_os_none & host_freertos (freertos requires FPU to be on to compile)
+ osal_task_create
+ OSAL_SUBTASK_INVOKED_AND_WAIT
+ SUBTASK_ASSERT
+ osal_semaphore_reset
+ osal_queue_flush
+ adding heap_1.c for memory management
Diffstat (limited to 'tinyusb/common/errors.h')
| -rw-r--r-- | tinyusb/common/errors.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tinyusb/common/errors.h b/tinyusb/common/errors.h index 41d8d43fe..0392865e1 100644 --- a/tinyusb/common/errors.h +++ b/tinyusb/common/errors.h @@ -68,8 +68,9 @@ ENTRY(TUSB_ERROR_USBH_MOUNT_DEVICE_NOT_RESPOND)\ ENTRY(TUSB_ERROR_USBH_MOUNT_CONFIG_DESC_TOO_LONG)\ ENTRY(TUSB_ERROR_OSAL_TIMEOUT)\ - ENTRY(TUSB_ERROR_OSAL_WAITING)\ + ENTRY(TUSB_ERROR_OSAL_WAITING) /* only used by OSAL_NONE in the subtask */ \ ENTRY(TUSB_ERROR_OSAL_TASK_FAILED)\ + ENTRY(TUSB_ERROR_OSAL_TASK_CREATE_FAILED)\ ENTRY(TUSB_ERROR_OSAL_QUEUE_FAILED)\ ENTRY(TUSB_ERROR_OSAL_SEMAPHORE_FAILED)\ ENTRY(TUSB_ERROR_EHCI_NOT_ENOUGH_QTD)\ |
