if(${CONFIG_PLATFORM} STREQUAL "stm32f4xx")
    include(stm32f4xx_spl.cmake)
endif()

if("${CONFIG_PLATFORM}" STREQUAL "stm32f4xx")
    include(stm32f4xx_spl.cmake)
endif()

Fix The Core native build
Fix The Core native build
