FWU: Optimize the RAM cost in FWU partition
- Make PSA_FWU_MAX_BLOCK_SIZE and internal buf for block write
configurable.
- Decrease the stack size of FWU partition to a reasonable
value.
Signed-off-by: Sherry Zhang <sherry.zhang2@arm.com>
Change-Id: I8aa115d7824bf887b4fe0814c4bdb1dfd3407ce7
diff --git a/cmake/install.cmake b/cmake/install.cmake
index f7fa5bf..cd5e77c 100644
--- a/cmake/install.cmake
+++ b/cmake/install.cmake
@@ -1,5 +1,5 @@
#-------------------------------------------------------------------------------
-# Copyright (c) 2020-2021, Arm Limited. All rights reserved.
+# Copyright (c) 2020-2022, Arm Limited. All rights reserved.
# Copyright (c) 2020, Cypress Semiconductor Corporation. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
@@ -106,6 +106,7 @@
if(TFM_PARTITION_FIRMWARE_UPDATE)
install(FILES ${INTERFACE_INC_DIR}/psa/update.h
+ ${CMAKE_BINARY_DIR}/generated/interface/include/psa/fwu_config.h
DESTINATION ${INSTALL_INTERFACE_INC_DIR}/psa)
install(FILES ${INTERFACE_INC_DIR}/tfm_fwu_defs.h
DESTINATION ${INSTALL_INTERFACE_INC_DIR})