-
Notifications
You must be signed in to change notification settings - Fork 34
USB Host remote wakeup #298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
3cd4cc8 to
d6209d7
Compare
8b08fa0 to
3aa7eba
Compare
- HCD and USB Host tests
3aa7eba to
53c01b9
Compare
| port->flags.conn_dev_ena = 0; | ||
| break; | ||
| } | ||
| case USB_DWC_HAL_PORT_EVENT_REMOTE_WAKEUP: { |
Check failure
Code scanning / clang-tidy
duplicate case value: 'USB_DWC_HAL_PORT_EVENT_DISABLED' and 'HCD_PORT_EVENT_REMOTE_WAKEUP' both equal '5' [clang-diagnostic-error] Error
| port->flags.conn_dev_ena = 0; | ||
| break; | ||
| } | ||
| case USB_DWC_HAL_PORT_EVENT_REMOTE_WAKEUP: { |
Check failure
Code scanning / clang-tidy
use of undeclared identifier 'USB_DWC_HAL_PORT_EVENT_REMOTE_WAKEUP'; did you mean 'HCD_PORT_EVENT_REMOTE_WAKEUP'? [clang-diagnostic-error] Error
| static inline bool _suspend_phy_clk(port_t *port, bool suspend) | ||
| { | ||
| // Stop PHY Clock and gate HCLK | ||
| usb_dwc_hal_pwr_clk_toggle_phy_suspend(port->hal, suspend); |
Check failure
Code scanning / clang-tidy
use of undeclared identifier 'usb_dwc_hal_pwr_clk_toggle_phy_suspend' [clang-diagnostic-error] Error
| // which makes 33.3 nS. Busy wait for 1uS just to be sure | ||
| esp_rom_delay_us(1); | ||
|
|
||
| const bool phy_clk_stopped = usb_dwc_hal_pwr_clk_check_phy_clk_stopped(port->hal); |
Check failure
Code scanning / clang-tidy
use of undeclared identifier 'usb_dwc_hal_pwr_clk_check_phy_clk_stopped' [clang-diagnostic-error] Error
| esp_rom_delay_us(1); | ||
|
|
||
| const bool phy_clk_stopped = usb_dwc_hal_pwr_clk_check_phy_clk_stopped(port->hal); | ||
| const bool hclk_gated = usb_dwc_hal_pwr_clk_check_hclk_gated(port->hal); |
Check failure
Code scanning / clang-tidy
use of undeclared identifier 'usb_dwc_hal_pwr_clk_check_hclk_gated' [clang-diagnostic-error] Error
Description
Adding remote wakeup feature for usb host lib
Related
Testing
Checklist
Before submitting a Pull Request, please ensure the following: