Ludovic Barre | 8a77bdd | 2020-03-26 19:53:07 +0100 | [diff] [blame^] | 1 | #------------------------------------------------------------------------------- |
| 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 | |
| 9 | set(PLATFORM_DIR ${CMAKE_CURRENT_LIST_DIR}) |
| 10 | |
| 11 | if(${TARGET_PLATFORM} STREQUAL "STM_DISCO_L562QE") |
| 12 | include("${PLATFORM_DIR}/target/stm/stm32l5xx/stm32l562e_dk.cmake") |
| 13 | elseif(${TARGET_PLATFORM} STREQUAL "STM_NUCLEO_L552ZE_Q") |
| 14 | include("${PLATFORM_DIR}/target/stm/stm32l5xx/nucleo_l552ze_q.cmake") |
| 15 | else() |
| 16 | message(FATAL_ERROR "ERROR: Target \"${TARGET_PLATFORM}\" is not supported.") |
| 17 | endif() |