From 0a8565cd305870c664ba0beae08c47f6f66d144c Mon Sep 17 00:00:00 2001 From: Andrew Scheller Date: Thu, 29 Aug 2024 23:29:14 +0100 Subject: [PATCH] Remove check for GCC version in usb dual example --- 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 ()