Hi Bohdan,

  1. I was able to build your configuration successfully.
    Suppose it might be the known problem with a command line path size in Windows. My path is C:\projects\trusted-firmware-m\
    Please share your log as David suggested.
  2. IAR toolchain was supported by Thomas Törnblom thomas.tornblom@iar.com, who got retired recently.
    Hope the new supporter will pickup your question here and reply.

Hope that helps,

Anton

 

From: David Hu via TF-M <tf-m@lists.trustedfirmware.org>
Sent: Wednesday, June 8, 2022 10:31 AM
To: Nicolas Devillard <Nicolas.Devillard@arm.com>; Bohdan.Hunko@infineon.com; tf-m@lists.trustedfirmware.org
Cc: nd <nd@arm.com>
Subject: [TF-M] Re: PSA arch test problem

 

Hi Bohdan,

 

Do you mind sharing the failed build log with GNU toolchain on Windows?

 

Best regards,

Hu Ziji

 

From: Nicolas Devillard via TF-M <tf-m@lists.trustedfirmware.org>
Sent: Tuesday, June 7, 2022 11:22 PM
To: Bohdan.Hunko@infineon.com; tf-m@lists.trustedfirmware.org
Subject: [TF-M] Re: PSA arch test problem

 

Hello Bohdan,

 

May I suggest you raise those questions directly on the github repo for those tests?

https://github.com/ARM-software/psa-arch-tests

 

To answer your second question, the team let me know that only GCC and ArmCLANG are supported for now, with no current plans to support the IAR compiler.

 

Hope that helps!

Regards

Nicolas

 

From: Bohdan.Hunko--- via TF-M <tf-m@lists.trustedfirmware.org>
Date: Tuesday, 7 June 2022 at 16:39
To: tf-m@lists.trustedfirmware.org <tf-m@lists.trustedfirmware.org>
Subject: [TF-M] PSA arch test problem

Hi,

 

Lately I have been working with PSA arch tests and found few issues with them:

 

1)      PSA arch tests build on Windows fails. I am using the following command:
cmake -S . -B build_gcc_psoc64 -G"Unix Makefiles" -DTFM_PLATFORM=cypress/psoc64 -DTEST_PSA_API=INITIAL_ATTESTATION
This is true for all the compilers and build types. I have also tried building Musca B1 and the results are the same.
Is this expected behavior? Are PSA arch test meant to be built on windows?

2)      I have tried building PSA arch tests with IAR on both Linux and Windows and it does not work.
From quick investigation it looks like IAR is not supported.
Am I right? And if so the is there a plan to support PSA arch tests for IAR compiler?

 

Regards,

Bohdan Hunko

 

Cypress Semiconductor Ukraine

Engineer

CSUKR CSS ICW SW FW

Mobile: +38099 50 19 714
Bohdan.Hunko@infineon.com