-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/usb_host_lib_example' into 'master'
feat(usb/host): Modifiy usb_host_lib example Closes IDF-8411 See merge request espressif/esp-idf!26582
- Loading branch information
Showing
5 changed files
with
207 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
idf_component_register(SRCS "usb_host_lib_main.c" "class_driver.c" | ||
INCLUDE_DIRS "." | ||
PRIV_REQUIRES usb | ||
PRIV_REQUIRES usb driver | ||
) |
12 changes: 12 additions & 0 deletions
12
examples/peripherals/usb/host/usb_host_lib/main/Kconfig.projbuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
menu "Example Configuration" | ||
|
||
orsource "$IDF_PATH/examples/common_components/env_caps/$IDF_TARGET/Kconfig.env_caps" | ||
|
||
config APP_QUIT_PIN | ||
int "APP Quit button GPIO pin" | ||
range ENV_GPIO_RANGE_MIN ENV_GPIO_IN_RANGE_MAX | ||
default 0 | ||
help | ||
GPIO pin number to be used as APP_QUIT button. | ||
|
||
endmenu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.