summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-11-28 23:21:17 +0700
committerhathach <[email protected]>2022-11-28 23:21:17 +0700
commit5785467016f4f2d0f5e52cec70f4f2328a5d326a (patch)
tree89a20e1fc6f73be7ea08fa58e04f307bba64fb92 /examples
parent081e4eecba3c91f08cdf96b0a090e7726cec3727 (diff)
update pico-pio-usb submodule and its warnings suppress
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()