Commit Graph

2088 Commits

Author SHA1 Message Date
hathach 6564580c3d
clean up 2019-04-02 16:23:13 +07:00
hathach 0848c462b3
Merge pull request #51 from hathach/develop
Add suspend, resume and remote wakeup support
2019-04-01 21:11:06 -07:00
hathach 2c1072c0ab
fix build error with stm32 2019-04-02 02:16:54 +07:00
hathach 4af16efea7
add tud_ready() to hid_ready() 2019-04-02 02:14:39 +07:00
hathach dd9c441a61
samd support suspend and resume. Though cannot distinguish between Suspend and Disconnect
should work with #47
2019-04-02 02:14:22 +07:00
hathach 491b5936d5
usbd better support suspend/resume 2019-04-02 01:30:01 +07:00
hathach e9851f5042
clean up 2019-04-02 01:20:51 +07:00
hathach 06e1fac7c5
nrf5x enable suspend after set address, instead of set config 2019-04-02 01:20:34 +07:00
hathach 8457d0d14c
add board_button_read() 2019-04-01 18:35:37 +07:00
hathach 2cc4ab2aef
nrf5x added LOWPOWER when suspend/resume 2019-03-31 23:57:38 +07:00
hathach eabfc53f38
added tud_suspended() and tud_ready() 2019-03-30 23:01:23 +07:00
hathach f3a954e7de
self powered and remote wakeup support are from configuration descriptor attribute 2019-03-30 17:38:00 +07:00
hathach ee6ed084f4
clean up text 2019-03-30 15:03:48 +07:00
hathach b28cc6ddb1 added dcd_remote_wakeup() stub for all ports 2019-03-30 14:47:11 +07:00
hathach cabf6abb4f added tud_set_self_powered(), fix #50 reponse to GET_STATUS request 2019-03-30 14:34:38 +07:00
hathach d9682f8240 replaced config_num by configured 2019-03-30 13:48:15 +07:00
hathach 93a853cd5b usbd add connected, suspended, remote_wakeup
- remove use of osal_queue_reset
2019-03-30 02:26:15 +07:00
hathach 28610198df clean up 2019-03-29 17:42:10 +07:00
hathach 7d9b68a7b9 clean up control req a bit 2019-03-29 16:55:58 +07:00
hathach 3a38cde53d support set/clear feature Device_remote_wakeup 2019-03-29 16:37:08 +07:00
hathach 1c2beba85c working on suspend and resume
change dcd_init signature
2019-03-29 16:23:00 +07:00
hathach 0bdd4bd550
added Suspend and Resume event for nrf5x port
also rename DCD_EVENT_SUSPENDED to DCD_EVENT_SUSPEND
2019-03-29 01:34:53 +07:00
hathach 8fb9fbb0b1
add tud_mounted() check in tud_cdc_connected()
mark device as disconnected immed with DCD_EVENT_UNPLUGGED
2019-03-27 23:58:24 +07:00
hathach c09d754654
remove tud_msc_ready() 2019-03-27 23:47:59 +07:00
hathach 86c24b3105
Merge pull request #49 from hathach/develop
clean up porting API
2019-03-27 08:52:25 -07:00
hathach 38f7d281d4
more board clean up 2019-03-27 21:06:44 +07:00
hathach 801f3c9d8d
more clean up 2019-03-27 21:00:15 +07:00
hathach da452d4ba6
cleanup, remove the use of _TINY_USB_SOURCE_FILE_ 2019-03-27 17:48:42 +07:00
hathach 3dfb251c1e
clean up 2019-03-27 16:32:07 +07:00
hathach f26fbaf404
clean up remove usbd_control_stall() 2019-03-27 16:26:52 +07:00
hathach 1e9848d917
replace dcd_edpt_(clear)stall by usbd_edpt_(clear)stall
- remove dcd_edpt_stalled() from dcd porting
2019-03-27 16:09:49 +07:00
hathach 4722376654 remove dcd_get_frame_number() 2019-03-27 01:01:48 +07:00
hathach 852abba918 Merge branch 'master' into develop 2019-03-27 00:46:32 +07:00
hathach 547cc045fa
Merge pull request #48 from hathach/cdc_out
follow up to pr #46
2019-03-26 10:45:57 -07:00
hathach 89b9ee2f52 revert to use pending_read_from_host (temp) since 2019-03-27 00:39:14 +07:00
hathach aaf5714268 follow up to pr #46 2019-03-25 11:38:16 +07:00
hathach 315076375f fix timer prio for freertos to blink led 2019-03-25 00:40:51 +07:00
hathach fad8720215
Merge pull request #46 from tannewt/fix_cdc_out
Fix slow CDC OUT by NAKing
2019-03-24 03:27:58 -07:00
hathach 18f248b142
remove tusb_hal_millis() usage, less work for porting 2019-03-24 01:19:32 +07:00
hathach 29e075b8b9
clean up bsp, adde board_millis() 2019-03-23 22:31:07 +07:00
hathach d866999bf0
remove idle rate enforcement, should be done in application level 2019-03-23 21:46:51 +07:00
hathach df1aac44b8
add board_noos_millis() for blinky 2019-03-23 16:51:07 +07:00
hathach 43eb1a8b16
added stub for dcd_stm32f3 2019-03-22 23:57:56 +07:00
hathach ba1bea5d53
simplify board API, adding stm32f3 discovery
- remove board header since it is not used
2019-03-22 22:06:48 +07:00
hathach 2533f4004e
adding stm32f3 support 2019-03-22 15:27:03 +07:00
hathach 8b7c4ade71
clean up 2019-03-22 14:55:00 +07:00
Scott Shawcroft 909891325a
Fix slow CDC OUT by NAKing
This NAKs CDC OUT packets when the ring buffer doesn't have
enough space for it. This makes CDC OUT reliable rather than
allowing overwriting into the ring buffer.
2019-03-21 14:52:56 -07:00
hathach a2a267ddfa
correct mynewt version 2019-03-21 19:26:53 +07:00
hathach 7d6085f870
Merge pull request #45 from hathach/develop
Board uart rename and better support mynewt
2019-03-21 05:13:20 -07:00
hathach f8faf05e9e minor clean up 2019-03-21 19:01:04 +07:00