Commit Graph

3983 Commits

Author SHA1 Message Date
b62ca2e5cd nrf5x: correct control transfer direction
added dcd description.
2018-11-16 21:52:23 +07:00
c4a3723717 Merge pull request #8 from mithro/master
Small fixes to the README file.
2018-11-15 11:29:01 +07:00
95cd6c3a2f remove control from class driver array 2018-11-14 23:39:58 +07:00
5757918df4 usbd clean up 2018-11-14 17:40:29 +07:00
ff26c5c6b1 clean up 2018-11-14 16:40:07 +07:00
10bf41f718 change osal_queue_receive() signature
- fix build issue with freertos
2018-11-14 16:31:28 +07:00
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
983225ae60 Merge pull request #7 from tannewt/tinyusb_samd
Add SAMD support and simplify OS_NONE
2018-11-14 15:36:12 +07:00
039550d7fe able to blink led on metro m4 2018-11-14 15:32:43 +07:00
ee399bd27b add sand51 project to ses 2018-11-14 15:25:58 +07:00
0c8e623881 update generic example ses project 2018-11-14 13:57:31 +07:00
711edd14bf added ses solution 2018-11-14 13:40:40 +07:00
eea1f8597e added board led for metro m4 2018-11-14 13:28:39 +07:00
3b038c05df README: Fix spelling mistakes. 2018-11-13 16:24:21 -08:00
9586cef15d Use more standard name for README.md 2018-11-13 10:33:51 -08:00
4b1f4c7b6f add Adafruit samd-peripherals as submodule.
clean up board
2018-11-14 00:22:49 +07:00
e8246dd367 update segger rtt 2018-11-13 23:15:40 +07:00
2e2100078c adding Adafruit metro m0/m4 express 2018-11-13 22:49:37 +07:00
001f717074 clean up 2018-11-13 17:19:04 +07:00
8ee0eac1e0 rename project 2018-11-13 17:17:19 +07:00
08d12fd7c5 refactor examples 2018-11-13 17:15:56 +07:00
3fe7cd1659 added tud_cdc_write_str, tu_fifo only use mutex for RTOS config 2018-11-13 15:45:22 +07:00
5a046799f6 clean up board.h 2018-11-13 12:32:15 +07:00
b6bd5458d2 add samd asf4 submodule repo from Adafruit 2018-11-13 11:42:19 +07:00
299a2f12de Support the no CDC protocol as well. 2018-11-09 11:32:59 -08:00
537a29273c Exempt from strict warnings for struct packing and add MCU options 2018-11-09 00:10:44 -08:00
30e3c64134 Polish up control split and treat it more like a normal endpoint. 2018-11-08 13:45:30 -08:00
7a40ec2647 Split out the control endpoint logic 2018-11-07 23:04:34 -08:00
c582c0fda9 Add SAMD21 and SAMD51 support for CircuitPython.
The ProtoThreads style subtasks were removed because it led to
extremely unclear control flow. RTOSes can be used if threading is
needed.

Also added some additional functionality to MSC to support dynamic
LUNs and read-only LUNs.
2018-11-07 12:02:28 -08:00
cb9bcce6a2 use mutex for cdc device fifo 2018-11-02 18:40:47 +07:00
e9de56ad83 defer DCD_EVENT_BUS_RESET, DCD_EVENT_UNPLUGGED to usbd task 2018-11-02 17:29:49 +07:00
f6076b0e06 add mutex support (optional) for tu_fifo 2018-11-02 17:28:07 +07:00
2708632a6a clean up osal 2018-11-02 17:26:35 +07:00
4683dc1e68 add osal_mutex 2018-11-02 15:45:27 +07:00
b2f18744fe add dcd event helper setup_recieved and bus_signal 2018-10-25 15:02:43 +07:00
8144be262b clean up 2018-10-24 16:51:07 +07:00
87d89cf5cb fix nrf52 freeRTOS interrupt priority 2018-10-24 16:48:27 +07:00
c65e5b406f add mcu specific freeRTOSConfig.h 2018-10-24 13:45:17 +07:00
838e9c2f79 freertos example clean up 2018-10-24 12:39:04 +07:00
bfa10016ae rename verify_breakpoint to TU_BREAKPOINT 2018-10-24 12:37:43 +07:00
55427606ef replace dcd_xfer_complete by dcd_xfer_complete() 2018-10-24 00:44:26 +07:00
e7a63324dd clean up 2018-10-23 19:58:06 +07:00
2891ff486a simplify qspi flash with blocking API 2018-10-23 19:54:06 +07:00
177adf4bfa replace dcd_bus_event() and dcd_setup_received() by dcd_event_handler() 2018-10-23 16:31:45 +07:00
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
9ba624a974 rename UBSD_EVT_ to DCD_EVENT_ 2018-10-23 15:12:30 +07:00
e97b14848b rename usbd_event_t to dcd_event_t 2018-10-23 15:08:31 +07:00
959480d82c clean up usbd 2018-10-23 13:12:19 +07:00
f339ac7a6a clean up msc device 2018-10-23 12:48:49 +07:00
c7340f4b0e clean up helper func 2018-10-23 12:19:32 +07:00