diff --git a/lib/tinyusb b/lib/tinyusb index 4bfab30c02279a0530e1a56f4a7c539f2d35a293..fc1a27b6c9d5a19529d6ac968164f2734ea89023 160000 --- a/lib/tinyusb +++ b/lib/tinyusb @@ -1 +1 @@ -Subproject commit 4bfab30c02279a0530e1a56f4a7c539f2d35a293 +Subproject commit fc1a27b6c9d5a19529d6ac968164f2734ea89023 diff --git a/src/rp2_common/tinyusb/CMakeLists.txt b/src/rp2_common/tinyusb/CMakeLists.txt index 8978788550efdb22fb31b6d056b6f2d43ba76b67..b0c0e99aafde9256be60cb31696f02d5fd88efe0 100644 --- a/src/rp2_common/tinyusb/CMakeLists.txt +++ b/src/rp2_common/tinyusb/CMakeLists.txt @@ -45,14 +45,14 @@ if (EXISTS ${PICO_TINYUSB_PATH}/${TINYUSB_TEST_PATH}) pico_add_impl_library(tinyusb_board) target_link_libraries(tinyusb_board INTERFACE tinyusb_bsp) - # Override suppress_tinyusb_warnings to add suppression of (falsely) reported GCC 11.2 warnings - function(suppress_tinyusb_warnings) - _suppress_tinyusb_warnings() - set_source_files_properties( - ${PICO_TINYUSB_PATH}/src/portable/raspberrypi/rp2040/rp2040_usb.c - PROPERTIES - COMPILE_FLAGS "-Wno-stringop-overflow -Wno-array-bounds") - endfunction() - +# # Override suppress_tinyusb_warnings to add suppression of (falsely) reported GCC 11.2 warnings +# function(suppress_tinyusb_warnings) +# _suppress_tinyusb_warnings() +# set_source_files_properties( +# ${PICO_TINYUSB_PATH}/src/portable/raspberrypi/rp2040/rp2040_usb.c +# PROPERTIES +# COMPILE_FLAGS "-Wno-stringop-overflow -Wno-array-bounds") +# endfunction() +# pico_promote_common_scope_vars() endif()