Hi Brian,
Sorry for the confusion. You are right. All the preload.cmake files have been renamed to cpuarch.cmake to specify their usage. Those documents will be updated later. Thanks for reporting this issue.
Where should be put fixed platform-specific definitions which are not related to CPU architecture?
It is suggested to put them under platform specific config.cmake file as non-cache variables.
Best regards, Hu Ziji
From: Quach, Brian via TF-M tf-m@lists.trustedfirmware.org Date: Wednesday, November 29, 2023 at 04:37 To: tf-m@lists.trustedfirmware.org tf-m@lists.trustedfirmware.org Subject: [TF-M] preload.cmake Hi, I’m seeing references in the documentation for preload.cmake and several files with that name in TF-M v2.0.0. But looking at the code it seems like preload.cmake was replaced with cpuarch.cmake. Am I missing something? Where should be put fixed platform-specific definitions which are not related to CPU architecture?
Regards,
Brian Quach SimpleLink MCU Texas Instruments Inc.