Commit Graph
100 Commits
Author SHA1 Message Date
hathach f4b940f2e9 rename and clean up 2018-04-19 16:35:58 +07:00
hathach 3742d6fabc clean up msc device driver 2018-04-19 16:26:18 +07:00
hathach c7e924b4be finalize msc cb API with tud_msc_read10_cb and tud_msc_write10_cb 2018-04-19 16:10:52 +07:00
hathach 8c0a5f7d3b update nrf52840 examples 2018-04-18 18:05:08 +07:00
hathach a9ada8ea5e add msc device optional callbacks
- tud_msc_read10_complete_cb()
- tud_msc_write10_complete_cb()
- tud_msc_scsi_complete_cb()
2018-04-18 17:12:58 +07:00
hathach 9aaf86bffd improve msc device
- change tud_msc_scsi_cb return type to simply bool
- change tud_msc_write10_cb, tud_msc_read10_cb params order
2018-04-18 16:55:44 +07:00
hathach 6280c50ad7 improve scsi: support non read10, write10 out data 2018-04-18 13:46:05 +07:00
hathach e872962b25 improving msc device driver 2018-04-18 13:20:31 +07:00
hathach a18f47353c clean up 2018-04-17 22:16:26 +07:00
hathach 0e62cb1425 correct cdc connected 2018-04-17 17:06:40 +07:00
hathach 2def363e49 add license file 2018-04-17 16:08:48 +07:00
hathach 1b15449db6 add tud_n_cdc_get_line_state and tud_n_cdc_get_line_coding 2018-04-17 10:46:20 +07:00
hathach 8c79073fa6 nrf5x clean up 2018-04-16 18:42:29 +07:00
hathach 1954a73536 make dcd_connect/dcd_disconnect optional with attr weak 2018-04-16 17:35:05 +07:00
hathach 6e9bed69ce add macro for errata 104 fix 2018-04-16 17:33:15 +07:00
hathach 6f7c4346c3 add tud_set_descriptors 2018-04-16 13:46:28 +07:00
hathach 29071c10b1 rename CFG_TUSB_CONTROLLER_0_MODE to CFG_TUSB_RHPORT0_MODE 2018-04-14 14:08:48 +07:00
hathach 92b306d9bc house keeping 2018-04-14 14:05:07 +07:00
hathach b9b92dd27b clean up 2018-04-14 12:25:06 +07:00
hathach 8af60fded3 add Errata 104 for out transfer, seems to work with cdc bootloader 2018-04-14 03:39:01 +07:00
hathach e7d7cb222a rename CFG_TUSB_OS_TASK_PRIO to CFG_TUD_TASK_PRIO, TUC_DEVICE_STACKSIZE to CFG_TUD_TASK_STACKSIZE 2018-04-13 16:10:42 +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 6d8f4bca47 clean up 2018-04-12 13:35:45 +07:00
hathach fa780edfb8 update project file 2018-04-12 13:32:27 +07:00
hathach 4b660175be rename CFG_TUSB_DEVICE_* to CFG_TUD_* 2018-04-12 13:23:52 +07:00
hathach 3d31f92106 rename OPT_MODE_ 2018-04-12 13:17:58 +07:00
hathach 08a24ee224 refactor nrf5x mcu macro 2018-04-12 13:14:59 +07:00
hathach e1272159d8 rename MCU_ to OPT_MCU 2018-04-12 13:04:48 +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 df367bac54 minor update dcd nrf5x
add walkaround CDC buffer for nrf52 (due to not able to NAK OUT packet)
2018-04-12 00:33:31 +07:00
hathach 7faceeb02d rename ATTR_USB_MIN_ALIGNMENT to CFG_TUSB_MEM_ALIGN 2018-04-10 19:49:00 +07:00
hathach fecef9ca42 minor clean up 2018-04-10 15:31:36 +07:00
hathach 33af6b6549 clean up remove CFG_TUSB_TICKS_HZ 2018-04-10 14:47:33 +07:00
hathach 81935c91e9 rename CFG_TUSB_DEVICE_CONTROL_ENDOINT_SIZE to CFG_TUSB_DEVICE_ENDOINT0_SIZE 2018-04-10 14:43:13 +07:00
hathach 3c24671960 mass rename TUSB_CFG to CFG_TUSB 2018-04-10 14:31:11 +07:00
hathach 3473c71a6a enhance cdc add tud_cdc_line_state_cb(), tud_cdc_line_coding_cb() 2018-04-10 02:16:48 +07:00
hathach 166982bd9e clean up 2018-04-10 00:09:24 +07:00
hathach a74b2d34e5 fix cdc driver for connected state. 2018-04-09 18:48:38 +07:00
hathach fb27ae96b0 fix cdc_device flush send zero bytes 2018-04-07 15:04:01 +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 b9fc708e41 improve nrf52 port 2018-04-05 18:36:59 +07:00
hathach b6accc622b getting nrf5x to work with S140 6.0.0 2018-04-04 20:02:54 +07:00
hathach 4bb1553d5c minor clean up 2018-04-04 16:48:52 +07:00
hathach 7a77aed8fa change usbd_control_xfer_st from function to macro to prevent compiler issue with substask 2018-03-31 14:09:48 +07:00
hathach f1f7153b3b clean up nrf52 2018-03-31 13:23:23 +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 1bcd0aa397 rename clean up 2018-03-30 16:24:55 +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 97db3c7c3d update nrf52 hal millis 2018-03-29 18:10:01 +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 43bf760f81 rename verify.h 2018-03-29 13:44:59 +07:00
hathach d88ae5cc16 rename ASSERT_STATUS to ASSERT_ERR, merge assertion.h to verify.h 2018-03-29 13:42:55 +07:00
hathach 0a162a7d28 more clean up 2018-03-29 13:38:00 +07:00
hathach 89d5ecebf4 rename VERIFY_STATUS to VERIFY_ERR 2018-03-29 13:31:56 +07:00
hathach d63d5d6160 more verify and assert clean up 2018-03-29 13:28:30 +07:00
hathach 1d33d4e072 assert clean up 2018-03-29 13:11:36 +07:00
hathach c50da4962e clean up assert and verify 2018-03-29 13:07:27 +07:00
hathach ccf6f03817 add verify_breakpoint hw independence 2018-03-28 15:24:55 +07:00
hathach 03a4f02b89 rename ASSERT to TU_ASSERT to avoid name conflict 2018-03-28 14:49:00 +07:00
hathach 0d3e66fa0a clean up static assert 2018-03-28 14:30:32 +07:00
hathach 43ac711795 rename STATIC_ASSERT to VERIFY_STATIC to avoid name conflict with other codes 2018-03-28 14:23:38 +07:00
hathach 9cacb93bd8 simple note on port to new mcu 2018-03-28 13:56:34 +07:00
hathach 47c125d025 more dcd clean up 2018-03-28 13:54:28 +07:00
hathach 4deb4da6cb mass rename tusb_dcd API to simply dcd 2018-03-28 13:47:58 +07:00
hathach 5b4f948eec dcd renaming 2018-03-28 13:44:39 +07:00
hathach 111065c042 more error string clean up 2018-03-28 13:41:00 +07:00
hathach 604275341e repo cleanup 2018-03-28 13:38:17 +07:00
hathach 03582f74b8 more rename 2018-03-28 13:25:14 +07:00
hathach b6683b1c47 repo cleanup 2018-03-28 13:16:00 +07:00
hathach 8f1a5e523c more rename 2018-03-28 13:10:57 +07:00
hathach d1b184a9e7 rename file 2018-03-28 13:05:48 +07:00
hathach 981c241435 clean up segger file 2018-03-28 12:54:48 +07:00
hathach 0c09269fd4 clean up 2018-03-26 22:54:34 +07:00
hathach c8f6175ad5 rename nrf52 to nrf52x 2018-03-26 22:48:53 +07:00
hathach 24d4b27980 move nrf5x port files 2018-03-26 22:46:53 +07:00
hathach cf8a85fa8b moving lpc43xx port into tusb's portable folder 2018-03-26 22:44:45 +07:00
hathach 9dd20e3ede fix compatible issue with MacOS, response to GET CONFIGURATION request 2018-03-23 14:57:17 +07:00
hathach 63aa3ab2c9 add missing files 2018-03-23 14:23:39 +07:00
hathach e8b0500d40 MSC tested with nrf52840 2018-03-23 14:15:35 +07:00
hathach 3e5e1f70bf more shorten name 2018-03-23 12:42:30 +07:00
hathach 5f26c57b28 shorten descriptor type 2018-03-23 12:32:40 +07:00
hathach 2c18805aa9 move mcu usb port back to tinyusb's portable folder 2018-03-23 12:24:24 +07:00
hathach 6d50d05d95 rename port to rhport for clarification 2018-03-23 12:17:47 +07:00
hathach 98d6ec1ef5 remove DCD API dependency tusb_dcd_edpt_queue_xfer
improve MSC driver
2018-03-23 11:56:52 +07:00
hathach 16aa3eb437 simplify tusb_dcd_edpt_xfer API 2018-03-22 17:52:39 +07:00
hathach 0cb1604686 more msc driver improve 2018-03-22 17:48:10 +07:00
hathach 0fec2e5cc0 refactor MSC device driver 2018-03-22 17:43:13 +07:00
hathach 974e3865e8 msc clean up 2018-03-22 16:46:14 +07:00
hathach e2739bb785 rename funciton trailing _subtask to _st 2018-03-22 16:30:33 +07:00
hathach 90ba1e67d9 rename osal SUBSTASK to STASK 2018-03-22 16:25:24 +07:00
hathach 57a09b2fce clean up cdc device 2018-03-22 15:55:35 +07:00
hathach 7767a7f14c clean up 2018-03-22 14:56:18 +07:00
hathach c1f6013ac4 wrap up usbd control transfer update 2018-03-22 14:38:09 +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 047bc5eeb1 update msc driver 2018-03-21 20:08:57 +07:00