diff options
| author | graham sanderson <[email protected]> | 2023-02-03 11:05:32 -0600 |
|---|---|---|
| committer | graham sanderson <[email protected]> | 2023-02-06 10:07:39 -0600 |
| commit | 8d3f0ffb9599d1834d797d6f965a7f5f619c290a (patch) | |
| tree | a88ba3571f9cf50f193d7a19db1e0a9ba75ba7f3 /examples | |
| parent | 792b552c5cbcbe848489e60567779d8b1d4a8b9b (diff) | |
* don't force dependency on pico-pio-usb submodule
* suppress compiler warning/errors especially in pico-pio-usb
* disable use of pico-pio-usb on gcc 11.3+ for now as it doesn't compile
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/host/bare_api/CMakeLists.txt | 12 | ||||
| -rw-r--r-- | examples/host/cdc_msc_hid/CMakeLists.txt | 12 | ||||
| -rw-r--r-- | examples/host/hid_controller/CMakeLists.txt | 12 | ||||
| -rw-r--r-- | examples/host/msc_file_explorer/CMakeLists.txt | 11 |
4 files changed, 0 insertions, 47 deletions
diff --git a/examples/host/bare_api/CMakeLists.txt b/examples/host/bare_api/CMakeLists.txt index 31a8aa222..4879613b4 100644 --- a/examples/host/bare_api/CMakeLists.txt +++ b/examples/host/bare_api/CMakeLists.txt @@ -25,15 +25,3 @@ target_include_directories(${PROJECT} PUBLIC # Configure compilation flags and libraries for the example... see the corresponding function # in hw/bsp/FAMILY/family.cmake for details. family_configure_host_example(${PROJECT}) - -# For rp2040 enable pico-pio-usb -if(FAMILY STREQUAL "rp2040") - family_add_pico_pio_usb(${PROJECT}) - - # due to warnings from Pico-PIO-USB - target_compile_options(${PROJECT} PUBLIC - -Wno-error=cast-qual - -Wno-error=sign-conversion - -Wno-error=conversion - ) -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 7af6b738e..dbba6bf44 100644 --- a/examples/host/cdc_msc_hid/CMakeLists.txt +++ b/examples/host/cdc_msc_hid/CMakeLists.txt @@ -28,15 +28,3 @@ target_include_directories(${PROJECT} PUBLIC # Configure compilation flags and libraries for the example... see the corresponding function # in hw/bsp/FAMILY/family.cmake for details. family_configure_host_example(${PROJECT}) - -# For rp2040 enable pico-pio-usb -if(FAMILY STREQUAL "rp2040") - family_add_pico_pio_usb(${PROJECT}) - - # due to warnings from Pico-PIO-USB - target_compile_options(${PROJECT} PUBLIC - -Wno-error=cast-qual - -Wno-error=sign-conversion - -Wno-error=conversion - ) -endif() diff --git a/examples/host/hid_controller/CMakeLists.txt b/examples/host/hid_controller/CMakeLists.txt index 39adf9093..aa50b5a52 100644 --- a/examples/host/hid_controller/CMakeLists.txt +++ b/examples/host/hid_controller/CMakeLists.txt @@ -26,15 +26,3 @@ target_include_directories(${PROJECT} PUBLIC # Configure compilation flags and libraries for the example... see the corresponding function # in hw/bsp/FAMILY/family.cmake for details. family_configure_host_example(${PROJECT}) - -# For rp2040 enable pico-pio-usb -if(FAMILY STREQUAL "rp2040") - family_add_pico_pio_usb(${PROJECT}) - - # due to warnings from Pico-PIO-USB - target_compile_options(${PROJECT} PUBLIC - -Wno-error=cast-qual - -Wno-error=sign-conversion - -Wno-error=conversion - ) -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 326286b3f..2c06eafee 100644 --- a/examples/host/msc_file_explorer/CMakeLists.txt +++ b/examples/host/msc_file_explorer/CMakeLists.txt @@ -32,14 +32,3 @@ target_include_directories(${PROJECT} PUBLIC # in hw/bsp/FAMILY/family.cmake for details. family_configure_host_example(${PROJECT}) -# For rp2040 enable pico-pio-usb -if(FAMILY STREQUAL "rp2040") - family_add_pico_pio_usb(${PROJECT}) - - # due to warnings from Pico-PIO-USB - target_compile_options(${PROJECT} PUBLIC - -Wno-error=cast-qual - -Wno-error=sign-conversion - -Wno-error=conversion - ) -endif() |
