Apparently I have not tested this before.

Check the fix at:
https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/9455

/Thomas

Den 2021-03-29 kl. 16:35, skrev Michel JAOUEN via TF-M:

 

Sure

 

Variable $tfm_work point to trustedfirmware local dir.

Here is my command

 

cmake -S . -B build_dir  -G"Unix Makefiles"

-DTFM_PLATFORM=stm/stm32l562e_dk  

-DTFM_TOOLCHAIN_FILE=$tfm_work/toolchain_IARARM.cmake

-DCMAKE_BUILD_TYPE=RelWithDebInfo

-DTEST_S=ON -DTEST_NS=ON -DTFM_PSA_API=ON -DTFM_ISOLATION_LEVEL=2

 

 

Best regards

Michel

 

 

From: TF-M <tf-m-bounces@lists.trustedfirmware.org> On Behalf Of Thomas Törnblom via TF-M
Sent: lundi 29 mars 2021 16:06
To: tf-m@lists.trustedfirmware.org
Subject: Re: [TF-M] TF-Mv1.3.0-RC1 => build with IARARM 8.5.4 failed

 

Hi Michel,

Can you provide the cmake line and I'll have a look.

That argument looks like a gcc argument not recognized by the IAR tools.

Cheers,
Thomas

Den 2021-03-29 kl. 15:34, skrev Michel JAOUEN via TF-M:

Hello,

 

I got the following build issue when I build with IARAR, it occurs when build mbed-crypto

 

  IAR ANSI C/C++ Compiler V8.50.4.261/W32 for ARM

   Copyright 1999-2020 IAR Systems AB.

   Network license: 10.157.2.156 (STD)

Command line error: Unexpected command line arguments:

            -Wno-unused-parameter

 

Does someone else reproduce the issue ?

 

Best regards

 

 

--

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



--

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