diff --git a/tests/fetch/CMakeLists.txt b/tests/fetch/CMakeLists.txt index 2c2f1e644e8..641e4776264 100644 --- a/tests/fetch/CMakeLists.txt +++ b/tests/fetch/CMakeLists.txt @@ -33,9 +33,4 @@ foreach(FAMILY ${TEST_FAMILIES}) add_executable(fetch-test-${FAMILY} ${SOURCES}) target_link_libraries(fetch-test-${FAMILY} STM32::NoSys HAL::STM32::${FAMILY}${CORE}::CORTEX CMSIS::STM32::${DEVICE}${CORE}) - - if(${FAMILY} STREQUAL "MP1") - target_compile_definitions(fetch-test-${FAMILY} PRIVATE USE_HAL_DRIVER) - endif() - endforeach() diff --git a/tests/hal/CMakeLists.txt b/tests/hal/CMakeLists.txt index 840de8cd58a..c1f5da7b8cf 100644 --- a/tests/hal/CMakeLists.txt +++ b/tests/hal/CMakeLists.txt @@ -36,10 +36,6 @@ foreach(FAMILY ${TEST_FAMILIES}) add_executable(hal-test-${FAMILY} ${SOURCES}) target_compile_definitions(hal-test-${FAMILY} PRIVATE USE_FULL_LL_DRIVER) - if(${FAMILY} STREQUAL "MP1") - target_compile_definitions(hal-test-${FAMILY} PRIVATE USE_HAL_DRIVER) - endif() - foreach(DRIVER ${HAL_DRIVERS_${FAMILY}}) string(TOUPPER ${DRIVER} DRIVER) target_link_libraries(hal-test-${FAMILY} HAL::STM32::${FAMILY}${CORE}::${DRIVER})