blob: 42aa5978b1b8d049bfb4374d1cdc3a422d4d3bbf [file] [log] [blame]
Ludovic Barre8a77bdd2020-03-26 19:53:07 +01001#-------------------------------------------------------------------------------
2# Copyright (c) 2020, STMicroelectronics - All Rights Reserved
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7#This file gathers all target of stm.
8
9set(PLATFORM_DIR ${CMAKE_CURRENT_LIST_DIR})
10
11if(${TARGET_PLATFORM} STREQUAL "STM_DISCO_L562QE")
12 include("${PLATFORM_DIR}/target/stm/stm32l5xx/stm32l562e_dk.cmake")
13elseif(${TARGET_PLATFORM} STREQUAL "STM_NUCLEO_L552ZE_Q")
14 include("${PLATFORM_DIR}/target/stm/stm32l5xx/nucleo_l552ze_q.cmake")
15else()
16 message(FATAL_ERROR "ERROR: Target \"${TARGET_PLATFORM}\" is not supported.")
17endif()