From bb5a3928b9874e00c5359fda0041ad41fdebff5b Mon Sep 17 00:00:00 2001 From: "peter.marcisovsky" Date: Mon, 16 Feb 2026 16:43:31 +0100 Subject: [PATCH] fix(usb_device): Enable compile warning on device examples --- .../usb/device/tusb_composite_msc_serialdevice/CMakeLists.txt | 1 - examples/peripherals/usb/device/tusb_console/CMakeLists.txt | 1 - .../peripherals/usb/device/tusb_serial_device/CMakeLists.txt | 1 - 3 files changed, 3 deletions(-) diff --git a/examples/peripherals/usb/device/tusb_composite_msc_serialdevice/CMakeLists.txt b/examples/peripherals/usb/device/tusb_composite_msc_serialdevice/CMakeLists.txt index 115cdcbb466..864fbd85369 100644 --- a/examples/peripherals/usb/device/tusb_composite_msc_serialdevice/CMakeLists.txt +++ b/examples/peripherals/usb/device/tusb_composite_msc_serialdevice/CMakeLists.txt @@ -4,7 +4,6 @@ # CMakeLists in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.22) -add_compile_options(-w) # Turn off warnings until esp_tinyusb is updated IEC-86 include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. idf_build_set_property(MINIMAL_BUILD ON) diff --git a/examples/peripherals/usb/device/tusb_console/CMakeLists.txt b/examples/peripherals/usb/device/tusb_console/CMakeLists.txt index da469b42838..86e5bcbc4d1 100644 --- a/examples/peripherals/usb/device/tusb_console/CMakeLists.txt +++ b/examples/peripherals/usb/device/tusb_console/CMakeLists.txt @@ -2,7 +2,6 @@ # CMakeLists in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.22) -add_compile_options(-w) # Turn off warnings until esp_tinyusb is updated IEC-86 include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. idf_build_set_property(MINIMAL_BUILD ON) diff --git a/examples/peripherals/usb/device/tusb_serial_device/CMakeLists.txt b/examples/peripherals/usb/device/tusb_serial_device/CMakeLists.txt index f58f6be3d87..ea5ebe63477 100644 --- a/examples/peripherals/usb/device/tusb_serial_device/CMakeLists.txt +++ b/examples/peripherals/usb/device/tusb_serial_device/CMakeLists.txt @@ -2,7 +2,6 @@ # CMakeLists in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.22) -add_compile_options(-w) # Turn off warnings until esp_tinyusb is updated IEC-86 include($ENV{IDF_PATH}/tools/cmake/project.cmake) # "Trim" the build. Include the minimal set of components, main, and anything it depends on. idf_build_set_property(MINIMAL_BUILD ON)