diff options
| author | HiFiPhile <[email protected]> | 2025-04-09 21:33:22 +0200 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2025-04-12 17:08:29 +0200 |
| commit | 7f246d4b762d24feedcfbfc2ce3d37cf8ed5abc6 (patch) | |
| tree | da1a026de4698367b6e5bff1d360fed509dafe7b /hw/bsp | |
| parent | 5086d2a04fef6d97c8703f4721fee78fac55ceb2 (diff) | |
Fix swo logger case.
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'hw/bsp')
| -rw-r--r-- | hw/bsp/family_support.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/bsp/family_support.cmake b/hw/bsp/family_support.cmake index e7161eba3..bf0f0566d 100644 --- a/hw/bsp/family_support.cmake +++ b/hw/bsp/family_support.cmake @@ -208,9 +208,10 @@ function(family_configure_common TARGET RTOS) # LOGGER option if (DEFINED LOGGER) + string(TOUPPER ${LOGGER} LOGGER) target_compile_definitions(${TARGET} PUBLIC LOGGER_${LOGGER}) # Add segger rtt to example - if(LOGGER STREQUAL "RTT" OR LOGGER STREQUAL "rtt") + if(LOGGER STREQUAL "RTT") target_sources(${TARGET} PUBLIC ${TOP}/lib/SEGGER_RTT/RTT/SEGGER_RTT.c) target_include_directories(${TARGET} PUBLIC ${TOP}/lib/SEGGER_RTT/RTT) # target_compile_definitions(${TARGET} PUBLIC SEGGER_RTT_MODE_DEFAULT=SEGGER_RTT_MODE_BLOCK_IF_FIFO_FULL) |
