Hi Thomas,

 

I was able to build TF-M v1.50 using your command for Clang and GNU toolchains. I am in  Windows and cmake v1.18.1.

At the same time can not find commit 65064c56. What repository you use?

 

Regards,

Anton

 

From: TF-M <tf-m-bounces@lists.trustedfirmware.org> On Behalf Of Thomas Törnblom via TF-M
Sent: Friday, December 3, 2021 3:34 PM
To: tf-m@lists.trustedfirmware.org
Subject: [TF-M] Commit 65064c56 causes cmake errors for AN547 for all toolchains

 

While working on IAR support for AN547 (M55) I notice that this commit causes cmake errors for all toolchains.

cmake -GNinja -S .. -B . -DTFM_PLATFORM=arm/mps3/an547 "-DTFM_TOOLCHAIN_FILE=..\toolchain_ARMCLANG.cmake"  -DTEST_NS=ON -DTEST_S=ON -DCMAKE_BUILD_TYPE=Debug -DBL2=ON

...
CMake Error at tools/CMakeLists.txt:65 (file):
  file STRINGS file "D:/Projects/tf-m1/trusted-firmware-m/tools" cannot be
  read.
Call Stack (most recent call first):
  tools/CMakeLists.txt:84 (parse_field_from_yaml)


CMake Error at tools/CMakeLists.txt:65 (file):
  file STRINGS file
  "D:/Projects/tf-m1/trusted-firmware-m/armclang/lib/ext/tfm_test_repo-src/test/test_services"
  cannot be read.
Call Stack (most recent call first):
  tools/CMakeLists.txt:84 (parse_field_from_yaml)

Thomas

--

Thomas Törnblom, Product Engineer
IAR Systems AB
Box 23051, Strandbodgatan 1
SE-750 23 Uppsala, SWEDEN
Mobile: +46 76 180 17 80 Fax: +46 18 16 78 01
E-mail:
thomas.tornblom@iar.com Website: www.iar.com
Twitter:
www.twitter.com/iarsystems