From 7e77a0c381863be0c49086567e7f1934d78ac591 Mon Sep 17 00:00:00 2001 From: Andrew Scheller Date: Fri, 30 Aug 2024 00:59:08 +0100 Subject: [PATCH] Remove check for GCC version in usb dual example (#540) --- usb/CMakeLists.txt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/usb/CMakeLists.txt b/usb/CMakeLists.txt index 2e75b2fed..4a0b5c2e0 100644 --- a/usb/CMakeLists.txt +++ b/usb/CMakeLists.txt @@ -9,11 +9,7 @@ else () message("Skipping TinyUSB host examples as TinyUSB is unavailable") endif () if (TARGET tinyusb_pico_pio_usb) - if ((NOT CMAKE_C_COMPILER_ID STREQUAL "GNU") OR CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 11.3) - message("Skipping TinyUSB dual examples, as TinyUSB hw/mcu/raspberry_pi/Pico-PIO-USB does not currently compile on non GCC or GCC 11.3 or greater") - else() - add_subdirectory(dual) - endif() + add_subdirectory(dual) else () message("Skipping TinyUSB dual examples, as TinyUSB hw/mcu/raspberry_pi/Pico-PIO-USB submodule unavailable") -endif () \ No newline at end of file +endif ()