Skip to content

Commit 7e77a0c

Browse files
authored
Remove check for GCC version in usb dual example (#540)
1 parent 6d833bc commit 7e77a0c

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

usb/CMakeLists.txt

+2-6
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,7 @@ else ()
99
message("Skipping TinyUSB host examples as TinyUSB is unavailable")
1010
endif ()
1111
if (TARGET tinyusb_pico_pio_usb)
12-
if ((NOT CMAKE_C_COMPILER_ID STREQUAL "GNU") OR CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 11.3)
13-
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")
14-
else()
15-
add_subdirectory(dual)
16-
endif()
12+
add_subdirectory(dual)
1713
else ()
1814
message("Skipping TinyUSB dual examples, as TinyUSB hw/mcu/raspberry_pi/Pico-PIO-USB submodule unavailable")
19-
endif ()
15+
endif ()

0 commit comments

Comments
 (0)