Skip to content
Snippets Groups Projects
Commit 3d7ed502 authored by Ahmed Ismail's avatar Ahmed Ismail
Browse files

cs310-fpga: Add TF-M and UART support


The TF-M include directory for the AN555 is required when
building TF-M for the MPS3-FPGA running the AN555
application note which is also referred as the
`SSE-310-MPS3_FPGA`.

Additionally, ensure the utility module that
implement serial connection for the platform
is also added to the build when building for
the FPGA.

Signed-off-by: default avatarAhmed.Ismail <Ahmed.Ismail@arm.com>
parent d7273db4
No related branches found
No related tags found
No related merge requests found
......@@ -93,7 +93,8 @@ if(trusted-firmware-m_POPULATED)
PRIVATE
${trusted-firmware-m_SOURCE_DIR}/platform/include
${trusted-firmware-m_SOURCE_DIR}/platform/ext/cmsis
${trusted-firmware-m_SOURCE_DIR}/platform/ext/target/arm/mps3/corstone310/fvp/device/config/
$<$<STREQUAL:${CMSIS_PACK_PLATFORM_DEVICE_NAME},SSE-310-MPS3_FVP>:${trusted-firmware-m_SOURCE_DIR}/platform/ext/target/arm/mps3/corstone310/fvp/device/config/>
$<$<STREQUAL:${CMSIS_PACK_PLATFORM_DEVICE_NAME},SSE-310-MPS3_FPGA>:${trusted-firmware-m_SOURCE_DIR}/platform/ext/target/arm/mps3/corstone310/an555/device/config/>
${trusted-firmware-m_SOURCE_DIR}/platform/ext/target/arm/mps3/corstone310/common/device/include/
${trusted-firmware-m_SOURCE_DIR}/platform/ext/target/arm/mps3/corstone310/common/partition/
)
......
mps3-fpga: Adding support for MPS3-FPGA board to allow other projects to use the SDK to run their examples on MPS3-FPGA board.
......@@ -6,6 +6,7 @@ if(CMAKE_CROSSCOMPILING)
serial_retarget.c
$<$<STREQUAL:${CMSIS_PACK_PLATFORM_DEVICE_NAME},SSE-300-MPS3>:platforms/mps3_uart.c>
$<$<STREQUAL:${CMSIS_PACK_PLATFORM_DEVICE_NAME},SSE-310-MPS3_FVP>:platforms/mps3_uart.c>
$<$<STREQUAL:${CMSIS_PACK_PLATFORM_DEVICE_NAME},SSE-310-MPS3_FPGA>:platforms/mps3_uart.c>
$<$<STREQUAL:${CMAKE_C_COMPILER_ID},GNU>:toolchains/gcc_retarget.c>
$<$<STREQUAL:${CMAKE_C_COMPILER_ID},ARMClang>:toolchains/armclang_retarget.c>
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment