Skip to content
Snippets Groups Projects
Commit a2df9912 authored by graham sanderson's avatar graham sanderson
Browse files

prototype changes for tinyusb_bump

parent d1e7294d
Branches tusb_bump
No related tags found
No related merge requests found
Subproject commit 4bfab30c02279a0530e1a56f4a7c539f2d35a293 Subproject commit fc1a27b6c9d5a19529d6ac968164f2734ea89023
...@@ -45,14 +45,14 @@ if (EXISTS ${PICO_TINYUSB_PATH}/${TINYUSB_TEST_PATH}) ...@@ -45,14 +45,14 @@ if (EXISTS ${PICO_TINYUSB_PATH}/${TINYUSB_TEST_PATH})
pico_add_impl_library(tinyusb_board) pico_add_impl_library(tinyusb_board)
target_link_libraries(tinyusb_board INTERFACE tinyusb_bsp) target_link_libraries(tinyusb_board INTERFACE tinyusb_bsp)
# Override suppress_tinyusb_warnings to add suppression of (falsely) reported GCC 11.2 warnings # # Override suppress_tinyusb_warnings to add suppression of (falsely) reported GCC 11.2 warnings
function(suppress_tinyusb_warnings) # function(suppress_tinyusb_warnings)
_suppress_tinyusb_warnings() # _suppress_tinyusb_warnings()
set_source_files_properties( # set_source_files_properties(
${PICO_TINYUSB_PATH}/src/portable/raspberrypi/rp2040/rp2040_usb.c # ${PICO_TINYUSB_PATH}/src/portable/raspberrypi/rp2040/rp2040_usb.c
PROPERTIES # PROPERTIES
COMPILE_FLAGS "-Wno-stringop-overflow -Wno-array-bounds") # COMPILE_FLAGS "-Wno-stringop-overflow -Wno-array-bounds")
endfunction() # endfunction()
#
pico_promote_common_scope_vars() pico_promote_common_scope_vars()
endif() endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment