Commit Graph

275 Commits

Author SHA1 Message Date
hathach 1f076bd945 rename cont 2018-11-30 12:59:23 +07:00
hathach 0ab62e6fa2 more rename 2018-11-30 12:57:44 +07:00
hathach 658c2ff570 rename 2018-11-30 12:56:09 +07:00
hathach 723e02780d clean up 2018-11-30 12:51:54 +07:00
hathach d96347a0f5 rename OPT_MCU_LPC13UXX to OPT_MCU_LPC13XX 2018-11-30 12:48:06 +07:00
hathach 522b0c11ef move nvic prio in hal/dcd to bsp for portability 2018-11-29 22:59:00 +07:00
hathach 57b85262b2 added & tested lpc17xx freertos device example
- add USB priority check for freeRTOS config
2018-11-29 21:41:09 +07:00
hathach 15e4b97e36 lpc17xx add dcd_edpt_stalled 2018-11-29 20:09:02 +07:00
hathach a76c5bf154 dcd lpc17xx, route control endpoint to EP_FAST 2018-11-29 19:58:17 +07:00
hathach ed65a43977 clean up 2018-11-29 13:09:58 +07:00
hathach 402a5fee90 dcd lpc17xx enable EpIntEn for non-control IN after DMA complete
all transfer work well
2018-11-29 12:56:02 +07:00
hathach c3140af274 correct TUD_OPT_HIGH_SPEED 2018-11-28 17:54:11 +07:00
hathach 772b2b692f more dcd lpc17xx clean up 2018-11-28 17:31:15 +07:00
hathach 4a521d5085 clean up 2018-11-28 17:02:46 +07:00
hathach 04ad5da820 improve non-control xfer for lpc17xx 2018-11-28 16:53:36 +07:00
Scott Shawcroft b4103eef06 needs to be filled out. blinks though 2018-11-27 18:11:03 -08:00
hathach a3cc52829b clean up 2018-11-27 23:55:10 +07:00
hathach 16b3f11d9f clean up 2018-11-27 21:53:36 +07:00
hathach 15f704b623 improve dcd control lpc17xx 2018-11-27 21:51:02 +07:00
hathach 038851c362 enhance dcd lpc17xx. Able to pass enumeration 2018-11-27 20:48:46 +07:00
hathach 80ecf1fd54 add OPT_MODE_HIGH_SPEED 2018-11-26 14:56:07 +07:00
hathach 064eec5dd8 clean up warnings 2018-11-26 12:29:55 +07:00
Scott Shawcroft bf70f89240 Introduce a Makefile for the OS_NONE device example
It currently supports the SAMD21 and SAMD51 only. More will be
added later.
2018-11-25 11:46:06 -08:00
Scott Shawcroft bf8c4612dc Make sure OUT endpoint 0 on the SAMDs always has a valid buffer to store
a SETUP token into.
2018-11-23 11:20:23 -08:00
Scott Shawcroft 6aa0146c72 Reset USB peripheral and wait for startup 2018-11-23 11:15:39 -08:00
hathach f196b24dce rename DCD_XFER_SUCCESS to XFER_RESULT_SUCCESS 2018-11-23 15:22:46 +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 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 d036f62b0e samd51 fix stable issue with dcd 2018-11-20 17:25:41 +07:00
hathach c503d48ec4 clean up 2018-11-20 01:20:39 +07:00
hathach 00694b56c5 nrf5x: clean up dcd, add comment 2018-11-16 22:17:11 +07:00
hathach b62ca2e5cd nrf5x: correct control transfer direction
added dcd description.
2018-11-16 21:52:23 +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
Scott Shawcroft 537a29273c Exempt from strict warnings for struct packing and add MCU options 2018-11-09 00:10:44 -08:00
Scott Shawcroft 30e3c64134 Polish up control split and treat it more like a normal endpoint. 2018-11-08 13:45:30 -08:00
Scott Shawcroft 7a40ec2647 Split out the control endpoint logic 2018-11-07 23:04:34 -08:00
Scott Shawcroft 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
hathach b2f18744fe add dcd event helper setup_recieved and bus_signal 2018-10-25 15:02:43 +07:00
hathach 55427606ef replace dcd_xfer_complete by dcd_xfer_complete() 2018-10-24 00:44:26 +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 c7340f4b0e clean up helper func 2018-10-23 12:19:32 +07:00
hathach a660fb0cfc clean up, update nrfx to 1.3.0 2018-09-25 12:57:46 +07:00