Commit Graph

94 Commits

Author SHA1 Message Date
hathach 013bd621f5 add osal_queue_send_isr/osal_semaphore_post_isr for better support freeRTOS 2018-05-17 13:49:38 +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 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 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 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 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 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 4091ddc4fc move osal_queue_send of osal_none to osal_none.c 2014-04-18 14:45:21 +07:00
hathach c7ac55aebc remove OSAL_VAR for the simplicity
clean up osal.h
2014-04-09 22:29:38 +07:00
hathach a8406060d1 doxygen documenting 2014-03-24 12:35:44 +07:00
hathach 61657f6751 change OSAL_TASK_FUNCTION to adapt with cmsis rtx 2014-03-19 16:50:49 +07:00
hathach fe1b39e539 remove hardfault handler 2014-03-17 17:32:28 +07:00
hathach 23aa7070df refrator, replace osal_tick_get / osal_tick_tock by tusb_tick_get 2014-03-17 17:23:32 +07:00
hathach d1d4ddd856 doxygen document 2014-03-16 22:20:33 +07:00
hathach f28746f28a more warning clean up 2014-03-14 15:16:45 +07:00
hathach f1692c93ac fix some warnings 2014-03-13 18:11:59 +07:00
hathach 8f03dea95a fix iar warning 2014-03-12 14:03:17 +07:00
hathach 4b6c6929cb fix the duplicated plug connection status change with lpc17xx by using immediate reset on isr. However Khanh's G5 mouse is not enumerated !!
remove TUSB_CFG_CONFIGURATION_MAX from config file
fix some warning
2014-02-20 16:06:31 +07:00
hathach 8f70a6a886 change endian conversion to native to be & be to native
completely deferred xfer isr event to usbd task
complete read10, write10 sequence for large data transfer
2013-11-26 13:15:40 +07:00
hathach c303154b7a add class mounted callback for hid mouse/keyboard & refractor mouse/keyboard app 2013-11-21 13:54:29 +07:00
hathach 05c439e45a refractor usbd, first step to make get configuration as sub task 2013-11-15 13:26:12 +07:00
hathach fc68439b74 add usbd_task to handle event task eg setup received 2013-11-15 12:30:22 +07:00
hathach 318a058d3c static assert to check OSAL_QUEUE_DEF's queue_depth parameter < 256
enable HOST_HCD_XFER_INTERRUPT by default (previously only enabled with HID), as it is widely used
implement tusbh_cdc_is_busy
add compilation switch in usbh enumeration for hub
rewrite CDC serial application to address usb-serial race condition
2013-10-27 19:34:36 +07:00
hathach 0d9e1163df fix osal_none timeout, instant return with OSAL_TIMEOUT_NOTIMEOUT 2013-10-27 16:48:09 +07:00
hathach bbfa85aa08 allow a limited model to deal with stalled pipe/transaction
added stall clear & able to mount the stupid toshiba thumb drive

add HCD pipe API
- bool hcd_pipe_is_busy(pipe_handle_t pipe_hdl);
- bool hcd_pipe_is_stalled(pipe_handle_t pipe_hdl);
- uint8_t hcd_pipe_get_endpoint_addr(pipe_handle_t pipe_hdl);
- tusb_error_t hcd_pipe_clear_stall(pipe_handle_t pipe_hdl);

remove tusbh_device_mount_failed_cb (not neccessary for user)
2013-09-24 18:23:34 +07:00
hathach 61c591b9ac clean up warnings 2013-09-18 23:34:03 +07:00