Looks like that test is indeed not supported on PSoC64. The error message threw me because it says what the valid values are for -DTARGET (which does include one containing “psoc64”), but it doesn’t tell me what -DTAREGT was actually set to.

 

Chris

 

From: TF-M <tf-m-bounces@lists.trustedfirmware.org> On Behalf Of Christopher Brand via TF-M
Sent: Monday, October 19, 2020 1:42 PM
To: David Hu <David.Hu@arm.com>
Cc: nd <nd@arm.com>; tf-m@lists.trustedfirmware.org
Subject: Re: [TF-M] Build failure

 

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

 

We definitely used to be able to at least build ConfigPsaApiTestIPC.cmake (and the level 2 version) for PSoC64 under the old build system. It looks like we’ve always done so with one of the other PSA test suites also selected, which doesn’t seem to be an option with the new build system.

 

Is there an example TEST_PSA_API=IPC build for another platform I can look at?

 

Chris

 

From: David Hu <David.Hu@arm.com>
Sent: Sunday, October 18, 2020 11:10 PM
To: Christopher Brand <chris.brand@cypress.com>
Cc: nd <nd@arm.com>; tf-m@lists.trustedfirmware.org
Subject: RE: Build failure

 

Hi Chris,

 

Sorry for the trouble. May I know if the same configurations worked with the previous build system?

I checked a previous version of PSoC 64 specifics and it didn’t explicitly claim to support FF compliance tests. Could you please confirm it with Alamy?

Best regards,

Hu Ziji

 

From: TF-M <tf-m-bounces@lists.trustedfirmware.org> On Behalf Of Christopher Brand via TF-M
Sent: Saturday, October 17, 2020 7:07 AM
To: tf-m@lists.trustedfirmware.org
Subject: [TF-M] Build failure

 

I’m experimenting with the new build system, and seeing an error.

Looking at docs/getting_started/tfm_build_instruction.rst, it mentions that TEST_PSA_API=IPC is a valid option (“Firmware Framework test suite”). When I try to configure for that build, though, I get an error:

 

$ cmake -S . -B build_GNUARM_Release '-GUnix Makefiles' -DTFM_PLATFORM=cypress/psoc64 -DCMAKE_TOOLCHAIN_FILE=toolchain_GNUARM.cmake -DCMAKE_BUILD_TYPE=Release -DTEST_PSA_API=IPC

CMake Error at build_GNUARM_Release/lib/ext/psa_arch_tests-src/api-tests/CMakeLists.txt:119 (message):

  [PSA] : Error: Unspported value for -DTARGET=, supported targets are :

  common;tgt_dev_apis_stdc;tgt_dev_apis_tfm_an521;tgt_dev_apis_tfm_an524;tgt_dev_apis_tfm_an539;tgt_dev_apis_tfm_musca_a;tgt_dev_apis_tfm_musca_b1;tgt_dev_apis_tfm_musca_s1;tgt_dev_apis_tfm_psoc64;tgt_ff_tfm_an521;tgt_ff_tfm_musca_a;tgt_ff_tfm_musca_b1

 

I see the same error with and without “-DTFM_ISOLATION_LEVEL=2”.

 

Chris Brand

Sr Prin Software Engr, MCD: WIRELESS

 

Cypress Semiconductor Corp.

An Infineon Technologies Company

#320-13700 International Place, Richmond, British Columbia V6V 2X8 Canada

www.infineon.com www.cypress.com

 


This message and any attachments may contain confidential information from Cypress or its subsidiaries. If it has been received in error, please advise the sender and immediately delete this message.


This message and any attachments may contain confidential information from Cypress or its subsidiaries. If it has been received in error, please advise the sender and immediately delete this message.


This message and any attachments may contain confidential information from Cypress or its subsidiaries. If it has been received in error, please advise the sender and immediately delete this message.