1#------------------------------------------------------------------------------- 2# Copyright (c) 2022, Arm Limited and Contributors. All rights reserved. 3# 4# SPDX-License-Identifier: BSD-3-Clause 5# 6#------------------------------------------------------------------------------- 7if (NOT DEFINED TGT) 8 message(FATAL_ERROR "mandatory parameter TGT is not defined.") 9endif() 10 11target_sources(${TGT} PRIVATE 12 "${CMAKE_CURRENT_LIST_DIR}/sim_fwu_dut.cpp" 13 ) 14 15#------------------------------------------------------------------------------- 16# Override TF-A defaults to increase number of io devices to accommodate 17# the needs of the sim_fwu_dut. 18#------------------------------------------------------------------------------- 19target_compile_definitions(${TGT} PRIVATE 20MAX_IO_HANDLES=12 21MAX_IO_DEVICES=12 22)