Commit Graph
100 Commits
Author SHA1 Message Date
hathach a619ff88a3 rename xfer complete enum 2018-11-23 15:17:43 +07:00
hathach cb8782e5f2 rename tusb_event_t to xfer_result_t 2018-11-23 15:14:47 +07:00
hathach e61e9d8b1b nrf5x add DCD_EVENT_UNPLUGGED event 2018-11-23 15:05:40 +07:00
hathach 4e8400e6fb more clean up 2018-11-22 21:58:06 +07:00
hathach a1faf5c9cb clean up dcd lpc43xx 2018-11-22 21:37:23 +07:00
hathach 569e85a0c0 cdc work ok with lpc43xx 2018-11-22 17:40:20 +07:00
hathach 60d8cde695 rename CFG_TUSB_MEM_SECTION to CFG_TUSB_MEM_SECTION 2018-11-22 17:21:07 +07:00
hathach b20cb8852a build ok 2018-11-22 16:49:27 +07:00
hathach c3c446f7db adding lpc43xx to ses 2018-11-22 16:28:01 +07:00
hathach 4314be9aeb msc device block count and block num
- replace CFG_TUD_MSC_BLOCK_NUM & CFG_TUD_MSC_BLOCK_SZ by
tud_msc_capacity_cb() (mandatory callback)
2018-11-22 12:11:06 +07:00
hathach d7e48f307b clean up msc example 2018-11-22 11:36:50 +07:00
hathach bdded75ad9 msc works well with samd51 2018-11-22 11:32:56 +07:00
hathach c93765c3bc rename freertos example 2018-11-22 11:23:36 +07:00
hathach 42b97d3c25 rename example project 2018-11-22 11:18:10 +07:00
hathach d2d833c0ab update freertos ses project 2018-11-22 01:04:18 +07:00
hathach 3fccd24854 refractor device composite freertos ses 2018-11-22 00:50:51 +07:00
hathach 1a91b5a62e refractor device composite example 2018-11-22 00:25:03 +07:00
hathach 97f73eed5f more clean up 2018-11-21 17:10:30 +07:00
hathach 1d6fc49fa9 clean up 2018-11-21 17:03:39 +07:00
hathach 3cad1d1134 samd21 work well with cdc 2018-11-21 15:00:36 +07:00
hathach a30dfa3324 clean up 2018-11-21 13:11:19 +07:00
hathach a0ce92bcfd update dcd samd21 2018-11-21 13:01:39 +07:00
hathach 155edc7b00 fix ses irq vector 2018-11-21 12:36:28 +07:00
hathach 5bccb234ee samd21 has usb traffic 2018-11-21 12:24:18 +07:00
hathach c5d9a477c0 samd21 metro m0 blink too fast, still have issue with clock init 2018-11-21 00:32:17 +07:00
hathach eadcba75a2 has issue with metro m0 clock init 2018-11-21 00:19:38 +07:00
hathach a46b42a54e move metro m4 clock init to board 2018-11-21 00:12:11 +07:00
hathach 867d3cb02d able to build and blink with metro m0 2018-11-20 23:49:37 +07:00
hathach 18f8217f4f adding samd21 metro m0 support 2018-11-20 23:19:59 +07:00
hathach d036f62b0e samd51 fix stable issue with dcd 2018-11-20 17:25:41 +07:00
hathach 4ded192080 clean up 2018-11-20 12:51:47 +07:00
hathach 0b722a4766 use correct samd51 startup
able to carry some usb transfer
2018-11-20 12:44:29 +07:00
hathach 5e65886fdd samd51 metro m4 add init_mcu() and usb init
- device regconized on bus but doesnt response with setup packet.
- temp disable msc
2018-11-20 01:23:53 +07:00
hathach c503d48ec4 clean up 2018-11-20 01:20:39 +07:00
hathach 6c842338d6 remove samd-peripherals submodule 2018-11-20 00:57:34 +07:00
hathach 4e2c357579 clean up 2018-11-17 13:26:14 +07:00
hathach 99f758ecd9 samd51 project update 2018-11-17 12:58:27 +07:00
hathach 027d9ef4bd pass mcu option from compiler 2018-11-17 12:40:23 +07:00
hathach cb37b819d9 rename control_state 2018-11-16 22:20:13 +07:00
hathach 00694b56c5 nrf5x: clean up dcd, add comment 2018-11-16 22:17:11 +07:00
hathach 7219ef8ed6 rename control.c to usbd_control 2018-11-16 22:00:16 +07:00
hathach 1640e7590e remove control.h (move prototype to usbd_pvt.h) 2018-11-16 21:58:35 +07:00
hathach 215f8603b1 nrf5x: refactor device control transfer.
- make control transfer as part of usbd. Class driver must use
usbd_control_ API() instead of dcd_ api.
- change the signature of class driver's control_request
- allow control request complete to stall in staus stage
- move control request parser & handling to usbd.
2018-11-16 21:56:39 +07:00
hathach b62ca2e5cd nrf5x: correct control transfer direction
added dcd description.
2018-11-16 21:52:23 +07:00
hathach 95cd6c3a2f remove control from class driver array 2018-11-14 23:39:58 +07:00
hathach 5757918df4 usbd clean up 2018-11-14 17:40:29 +07:00
hathach ff26c5c6b1 clean up 2018-11-14 16:40:07 +07:00
hathach 10bf41f718 change osal_queue_receive() signature
- fix build issue with freertos
2018-11-14 16:31:28 +07:00
hathach 5732be224c update example for PR. correct share_control definition
- rename dcd,hal to dcd_samd51, hal_samd51 since some IDE has issue with
duplicated names (e.g keil, ses).
2018-11-14 16:03:58 +07:00
hathach 039550d7fe able to blink led on metro m4 2018-11-14 15:32:43 +07:00
hathach ee399bd27b add sand51 project to ses 2018-11-14 15:25:58 +07:00
hathach 0c8e623881 update generic example ses project 2018-11-14 13:57:31 +07:00
hathach 711edd14bf added ses solution 2018-11-14 13:40:40 +07:00
hathach eea1f8597e added board led for metro m4 2018-11-14 13:28:39 +07:00
hathach 4b1f4c7b6f add Adafruit samd-peripherals as submodule.
clean up board
2018-11-14 00:22:49 +07:00
hathach e8246dd367 update segger rtt 2018-11-13 23:15:40 +07:00
hathach 2e2100078c adding Adafruit metro m0/m4 express 2018-11-13 22:49:37 +07:00
hathach 001f717074 clean up 2018-11-13 17:19:04 +07:00
hathach 8ee0eac1e0 rename project 2018-11-13 17:17:19 +07:00
hathach 08d12fd7c5 refactor examples 2018-11-13 17:15:56 +07:00
hathach 3fe7cd1659 added tud_cdc_write_str, tu_fifo only use mutex for RTOS config 2018-11-13 15:45:22 +07:00
hathach 5a046799f6 clean up board.h 2018-11-13 12:32:15 +07:00
hathach b6bd5458d2 add samd asf4 submodule repo from Adafruit 2018-11-13 11:42:19 +07:00
hathach cb9bcce6a2 use mutex for cdc device fifo 2018-11-02 18:40:47 +07:00
hathach e9de56ad83 defer DCD_EVENT_BUS_RESET, DCD_EVENT_UNPLUGGED to usbd task 2018-11-02 17:29:49 +07:00
hathach f6076b0e06 add mutex support (optional) for tu_fifo 2018-11-02 17:28:07 +07:00
hathach 2708632a6a clean up osal 2018-11-02 17:26:35 +07:00
hathach 4683dc1e68 add osal_mutex 2018-11-02 15:45:27 +07:00
hathach b2f18744fe add dcd event helper setup_recieved and bus_signal 2018-10-25 15:02:43 +07:00
hathach 8144be262b clean up 2018-10-24 16:51:07 +07:00
hathach 87d89cf5cb fix nrf52 freeRTOS interrupt priority 2018-10-24 16:48:27 +07:00
hathach c65e5b406f add mcu specific freeRTOSConfig.h 2018-10-24 13:45:17 +07:00
hathach 838e9c2f79 freertos example clean up 2018-10-24 12:39:04 +07:00
hathach bfa10016ae rename verify_breakpoint to TU_BREAKPOINT 2018-10-24 12:37:43 +07:00
hathach 55427606ef replace dcd_xfer_complete by dcd_xfer_complete() 2018-10-24 00:44:26 +07:00
hathach e7a63324dd clean up 2018-10-23 19:58:06 +07:00
hathach 2891ff486a simplify qspi flash with blocking API 2018-10-23 19:54:06 +07:00
hathach 177adf4bfa replace dcd_bus_event() and dcd_setup_received() by dcd_event_handler() 2018-10-23 16:31:45 +07:00
hathach 3dd635f4c1 merge osal_queue_send_isr to osal_queue_send, osal_semaphore_post_isr to osal_semaphore_post 2018-10-23 15:53:29 +07:00
hathach 9ba624a974 rename UBSD_EVT_ to DCD_EVENT_ 2018-10-23 15:12:30 +07:00
hathach e97b14848b rename usbd_event_t to dcd_event_t 2018-10-23 15:08:31 +07:00
hathach 959480d82c clean up usbd 2018-10-23 13:12:19 +07:00
hathach f339ac7a6a clean up msc device 2018-10-23 12:48:49 +07:00
hathach c7340f4b0e clean up helper func 2018-10-23 12:19:32 +07:00
hathach 14cebcb5f5 remove tools/usbtreeview 2018-10-23 11:42:49 +07:00
hathach a993cb55e5 clean up 2018-10-23 11:40:59 +07:00
hathach 0ae54310d6 Merge branch 'develop' of github.com:hathach/tinyusb into develop 2018-10-22 12:21:00 +07:00
hathach 33c61bfda2 comment out cdc flush on write (for now). Since it has issue with circuitpython 2018-10-05 21:35:40 +07:00
hathach 99c5219dc1 rename queue.h to sys_queue.h to prevent name conflict 2018-09-28 01:59:47 +07:00
hathach a6870add95 format queue.h a bit 2018-09-26 01:44:36 +07:00
hathach c78540be0f add sys/queue.h to common 2018-09-26 01:39:59 +07:00
hathach a660fb0cfc clean up, update nrfx to 1.3.0 2018-09-25 12:57:46 +07:00
hathach 3b79ba8451 update qspi 2018-09-11 22:37:44 +07:00
hathach 154daf584c better qspi 2018-09-08 16:39:42 +07:00
hathach 8572947da5 qspi msc flash seems to work 2018-09-08 00:15:34 +07:00
hathach a0ae452987 rename example files 2018-09-07 17:28:25 +07:00
hathach d0d75db4de clean up msc app 2018-09-07 17:14:12 +07:00
hathach c06014078a more clean up 2018-09-07 17:05:21 +07:00
hathach b547859cdd clean up
Signed-off-by: hathach <thach@tinyusb.org>
2018-09-07 16:59:31 +07:00
hathach 8600c4b616 adding mynewt to osal 2018-09-04 14:20:51 +07:00