Commit Graph

145 Commits

Author SHA1 Message Date
hathach d6794074e1 osal_none remove tu_malloc in queue API 2018-05-17 19:13:07 +07:00
hathach ca4d64caf6 switch osal freeRTOS port to use static semaphore & queue 2018-05-17 18:22:30 +07:00
hathach b5de2595d3 add os FromISR support for freeRTOS 2018-05-17 15:07:53 +07:00
hathach 013bd621f5 add osal_queue_send_isr/osal_semaphore_post_isr for better support freeRTOS 2018-05-17 13:49:38 +07:00
hathach a9d4c1e339 enhance msc device driver 2018-04-20 20:23:22 +07:00
hathach a24615bffc add OSAL_TIMEOUT_CONTROL_XFER = OSAL_TIMEOUT_WAIT_FOREVER 2018-04-12 18:10:35 +07:00
hathach 752a9f45d7 rename ASSERT_ERR to TU_ASSERT_ERR to prevent conflict with user code 2018-04-12 17:55:15 +07:00
hathach 18f97fef7e rename TUSB_OS_NONE, TUSB_OS_FREERTOS to OPT_OS_NONE, OPT_OS_FREERTOS 2018-04-12 12:55:53 +07:00
hathach 3c24671960 mass rename TUSB_CFG to CFG_TUSB 2018-04-10 14:31:11 +07:00
hathach 9be8e7bef6 add nrf52 walkaround for errata 104, 171, 187.
clean up osal_none
2018-04-07 15:03:56 +07:00
hathach 68f5c004d8 remove osal_common.h 2018-03-30 18:39:35 +07:00
hathach 8516ca27a1 freertos semaphore post issue with control transfer
configAssert misunderstand _control_sem as mutex !!!!
2018-03-30 18:36:04 +07:00
hathach d13160c4ae clean up usbd 2018-03-30 16:57:18 +07:00
hathach 9f1f7958ec remove mutex reset 2018-03-30 16:23:50 +07:00
hathach 82da013dad get freertos build 2018-03-30 15:33:36 +07:00
hathach e2f9744369 rename tusb_hal_tick_get to tusb_hal_millis
rename TUSB_CFG_TICKS_HZ to BOARD_TICKS_HZ
2018-03-29 18:03:04 +07:00
hathach 89d5ecebf4 rename VERIFY_STATUS to VERIFY_ERR 2018-03-29 13:31:56 +07:00
hathach 1d33d4e072 assert clean up 2018-03-29 13:11:36 +07:00
hathach 8f1a5e523c more rename 2018-03-28 13:10:57 +07:00
hathach 90ba1e67d9 rename osal SUBSTASK to STASK 2018-03-22 16:25:24 +07:00
hathach ce2fc0470c improve usbd control transfer 2018-03-22 14:15:16 +07:00
hathach 17a227ca90 osal subtask rename 2018-03-21 20:42:23 +07:00
hathach 7707fe194f rename OSAL_SUBTASK_INVOKED 2018-03-14 20:48:59 +07:00
hathach ffca1f5e64 working on nrf52 2018-03-13 16:30:53 +07:00
hathach 34dbb3532c more rename 2018-03-12 22:45:35 +07:00
hathach 0384e40320 rename hal_* to tusb_hal_* 2018-03-11 13:01:57 +07:00
hathach 23caef859c adding nrf52840 port, able to blink led with pca10056 2018-03-11 00:16:10 +07:00
hathach 849d600d88 clean up 2018-03-08 14:36:37 +07:00
hathach bd5f9ecdec rename tusb_tick_get to hal_tick_get 2018-03-07 23:40:54 +07:00
hathach f9270ac5a4 clean up 2018-03-05 13:31:17 +07:00
hathach 84bce659b8 reame SUBTASK_EXIT to SUBTASK_RETURN 2018-03-05 13:25:24 +07:00
hathach f6137903bc cleanup SUBTASK macros 2018-03-03 12:30:38 +07:00
hathach dc12e55c56 rename hal_interrupt_* to hal_usb_int_* 2018-03-02 15:28:40 +07:00
hathach 4097d02254 refactor hal 2018-03-02 15:20:55 +07:00
hathach 04cace7619 correct freertos prio issue 2018-03-01 22:25:24 +07:00
hathach 52ed2547cd upgrade freertos to v10 2018-03-01 21:15:06 +07:00
hathach 7add7337ba osal macro clean up 2018-03-01 12:14:44 +07:00
hathach 40935fc01c more osal clean up 2018-03-01 11:42:13 +07:00
hathach 329fdc026c change osal_task_create signature 2018-03-01 11:28:26 +07:00
hathach a789fad4b7 clean up osal semaphore/queue/mutex 2018-03-01 11:17:11 +07:00
hathach 30124b9b02 refactor osal queue API 2018-02-28 16:45:54 +07:00
hathach 45ea2ff358 remove cmsis rtx support 2018-02-28 15:05:55 +07:00
hathach 65a076f198 more clean up 2018-02-28 14:59:38 +07:00
hathach 9bf083d449 osal clean up remove OSAL_TASK_DEF, OSAL_TASK_FUNCTION 2018-02-28 14:25:08 +07:00
hathach 9b7cd608aa osal clean up
- task create, task def macros
2018-02-28 14:21:43 +07:00
hathach d00655f598 cdc device app rename CDCD_APP_BUFFER_SIZE to SERIAL_BUFFER_SIZE
cdc host app add SERIAL_BUFFER_SIZE for buffer constant, add cdc data receive if cb with TUSB_EVENT_XFER_ERROR
minor change to keyboard & mouse host app
add ASSERT_FAILED & ASSERT_FAILED_MSG
add cast to fix IAR build error with dcd_lpc43xx.c

FreeRTOS
- merge FreeRTOSConfig for m0, m3, m4
- re-implement application hook
- support portmacro.h for m0
2014-04-25 15:16:52 +07:00
hathach dbf276ad6f added all assert check to osal_queue_send and osal_semaphore_post 2014-04-24 23:57:21 +07:00
hathach 6804fee0fa correct dcd_pipe_is_busy to use list_qtd_idx[] instead of qtd_overlay
flush usbd_queue_hdl when bus_reset
add assert check for osal_queue_send
increase ENUM_QUEUE_DEPTH for usbh
change osal_freeRTOS.h implementation to
- correctly waiting forever for semaphore wait, queue & mutex
- not use ISR safe version since it is not as generic as we want
2014-04-24 23:40:28 +07:00
hathach 4091ddc4fc move osal_queue_send of osal_none to osal_none.c 2014-04-18 14:45:21 +07:00
hathach 06bb9ad7a7 move STRING & XSTRING & STATIC_ASSERT to compiler.h
disable test for a class of cdc host
temporarily disable test for test_osal_none.c
change include in some core files
remove osal.h from common.h
2014-04-17 22:57:11 +07:00