Hi, 

this is a known issue arisen from the update to CMSIS v6 patch. We are actively working on providing a fix for the affected platforms.

Thanks, Antonio

From: jidong.mei--- via TF-M <tf-m@lists.trustedfirmware.org>
Sent: Thursday, March 7, 2024 02:39
To: tf-m@lists.trustedfirmware.org <tf-m@lists.trustedfirmware.org>
Subject: [TF-M] tf-m main branch (latest commit) compiler error ,when build regression_test for corstone300/an547
 
Hi
      I encounter a compile error , with latest main branch tf-m code.

       Code version :
      "commit 66c8eada12737f5cf6818ea84739f30ca275437d (HEAD -> main, origin/main, origin/HEAD)
       Author: Raef Coles <raef.coles@arm.com>"

      Build targert : corstone300/an547  regression_test

      Build command :
      cmake -S spe -B build_spe  -DTFM_PLATFORM=arm/mps3/corstone300/an547 -DCONFIG_TFM_SOURCE_PATH=<tf-m_path> -DTFM_TOOLCHAIN_FILE=<tf-m_path>/toolchain_GNUARM.cmake  -DTEST_S=ON -DTEST_NS=ON  -DCMAKE_BUILD_TYPE=Debug & cmake --build build_spe -- install 
     (these command fellow the build_test documentation : https://tf-m-user-guide.trustedfirmware.org/building/tests_build_instruction.html)

      Compile error :
      "trusted-firmware-m/platform/ext/target/arm/mps3/corstone300/an547/cmsis_drivers/Driver_Flash.c:23:10: fatal error: tfm_hal_device_header.h: No such file or directory
       #include "tfm_hal_device_header.h"  "

     Could you help to fix this issue.

     B,R
     Jidong
--
TF-M mailing list -- tf-m@lists.trustedfirmware.org
To unsubscribe send an email to tf-m-leave@lists.trustedfirmware.org