summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2022-11-29 00:11:41 +0700
committerGitHub <[email protected]>2022-11-29 00:11:41 +0700
commit52a9098b31d993d743ee31efe155b90c7ba5b21e (patch)
tree21ba4f5f3282d0235ec18f4765ec8a5c17410760 /examples
parent081e4eecba3c91f08cdf96b0a090e7726cec3727 (diff)
parentbe6f6f2c99dde762a70c1c3206e75f5765039bf1 (diff)
Merge pull request #1763 from hathach/host-retry-failed-enumeration-request
Retry a few times with transfers in enumeration since device can be unstable when starting up
Diffstat (limited to 'examples')
-rw-r--r--examples/host/bare_api/CMakeLists.txt4
-rw-r--r--examples/host/cdc_msc_hid/CMakeLists.txt4
-rw-r--r--examples/host/hid_controller/CMakeLists.txt4
-rw-r--r--examples/host/msc_file_explorer/CMakeLists.txt4
4 files changed, 0 insertions, 16 deletions
diff --git a/examples/host/bare_api/CMakeLists.txt b/examples/host/bare_api/CMakeLists.txt
index 019adaacd..31a8aa222 100644
--- a/examples/host/bare_api/CMakeLists.txt
+++ b/examples/host/bare_api/CMakeLists.txt
@@ -32,12 +32,8 @@ if(FAMILY STREQUAL "rp2040")
# due to warnings from Pico-PIO-USB
target_compile_options(${PROJECT} PUBLIC
- -Wno-error=shadow
- -Wno-error=cast-align
-Wno-error=cast-qual
- -Wno-error=redundant-decls
-Wno-error=sign-conversion
-Wno-error=conversion
- -Wno-error=unused-function
)
endif() \ No newline at end of file
diff --git a/examples/host/cdc_msc_hid/CMakeLists.txt b/examples/host/cdc_msc_hid/CMakeLists.txt
index 870134376..d84457bc9 100644
--- a/examples/host/cdc_msc_hid/CMakeLists.txt
+++ b/examples/host/cdc_msc_hid/CMakeLists.txt
@@ -34,12 +34,8 @@ if(FAMILY STREQUAL "rp2040")
# due to warnings from Pico-PIO-USB
target_compile_options(${PROJECT} PUBLIC
- -Wno-error=shadow
- -Wno-error=cast-align
-Wno-error=cast-qual
- -Wno-error=redundant-decls
-Wno-error=sign-conversion
-Wno-error=conversion
- -Wno-error=unused-function
)
endif()
diff --git a/examples/host/hid_controller/CMakeLists.txt b/examples/host/hid_controller/CMakeLists.txt
index aea99e404..39adf9093 100644
--- a/examples/host/hid_controller/CMakeLists.txt
+++ b/examples/host/hid_controller/CMakeLists.txt
@@ -33,12 +33,8 @@ if(FAMILY STREQUAL "rp2040")
# due to warnings from Pico-PIO-USB
target_compile_options(${PROJECT} PUBLIC
- -Wno-error=shadow
- -Wno-error=cast-align
-Wno-error=cast-qual
- -Wno-error=redundant-decls
-Wno-error=sign-conversion
-Wno-error=conversion
- -Wno-error=unused-function
)
endif() \ No newline at end of file
diff --git a/examples/host/msc_file_explorer/CMakeLists.txt b/examples/host/msc_file_explorer/CMakeLists.txt
index e51a170d3..326286b3f 100644
--- a/examples/host/msc_file_explorer/CMakeLists.txt
+++ b/examples/host/msc_file_explorer/CMakeLists.txt
@@ -38,12 +38,8 @@ if(FAMILY STREQUAL "rp2040")
# due to warnings from Pico-PIO-USB
target_compile_options(${PROJECT} PUBLIC
- -Wno-error=shadow
- -Wno-error=cast-align
-Wno-error=cast-qual
- -Wno-error=redundant-decls
-Wno-error=sign-conversion
-Wno-error=conversion
- -Wno-error=unused-function
)
endif()