summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTinic Uro <[email protected]>2024-06-12 09:23:18 -0700
committerTinic Uro <[email protected]>2024-06-12 09:23:18 -0700
commita6d3e2a36d871985020bf3c5f61b84e55eac5589 (patch)
treed3845d03376afa81313a6358b67ccd20bb1ed83c
parent48e18762b59d71259358e471716e102b2dad4ae3 (diff)
Use STREQUAL instead of EQUAL to fix the cmake build.
-rw-r--r--hw/bsp/stm32u5/family.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/bsp/stm32u5/family.cmake b/hw/bsp/stm32u5/family.cmake
index c19bce64b..f7a7aeb33 100644
--- a/hw/bsp/stm32u5/family.cmake
+++ b/hw/bsp/stm32u5/family.cmake
@@ -102,7 +102,7 @@ function(family_configure_example TARGET RTOS)
# Add TinyUSB target and port source
family_add_tinyusb(${TARGET} OPT_MCU_STM32U5 ${RTOS})
- if ((${MCU_VARIANT} EQUAL "stm32u535xx") OR (${MCU_VARIANT} EQUAL "stm32u545xx"))
+ if ((${MCU_VARIANT} STREQUAL "stm32u535xx") OR (${MCU_VARIANT} STREQUAL "stm32u545xx"))
target_sources(${TARGET}-tinyusb PUBLIC
${TOP}/src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c
)