Skip to content

Commit c7cd1b4

Browse files
committed
stm32l5: flash: modify script to flash zephyr
This commit modifies the binaries path and filename of the TFM_update.sh script, to flash zephyr instead of the original TFM. Signed-off-by: Nolwenn Violette <[email protected]> Signed-off-by: Ioannis Glaropoulos <[email protected]>
1 parent 37a3ac9 commit c7cd1b4

File tree

1 file changed

+4
-4
lines changed
  • trusted-firmware-m/platform/ext/target/stm/common/stm32l5xx/boards/scripts

1 file changed

+4
-4
lines changed

trusted-firmware-m/platform/ext/target/stm/common/stm32l5xx/boards/scripts/TFM_UPDATE.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ nvcounter=
3434
boot=0x0c001000
3535
unused=
3636

37-
$stm32programmercli $connect -d $SCRIPTPATH/tfm_s_signed.bin $slot0 -v
37+
$stm32programmercli $connect -d $SCRIPTPATH/../tfm_s_signed.bin $slot0 -v
3838
echo "TFM_Appli Secure Written"
3939
echo "Write TFM_Appli NonSecure"
40-
$stm32programmercli $connect -d $SCRIPTPATH/tfm_ns_signed.bin $slot1 -v
40+
$stm32programmercli $connect -d $SCRIPTPATH/../zephyr_ns_signed.bin $slot1 -v
4141
echo "TFM_Appli NonSecure Written"
4242
echo "Write TFM_SBSFU_Boot"
43-
$stm32programmercli $connect -d $SCRIPTPATH/bl2.bin $boot -v
43+
$stm32programmercli $connect -d $SCRIPTPATH/../mcuboot.bin $boot -v
4444
echo "TFM_SBSFU_Boot Written"
45-
echo "TFM_UPDATE Done"
45+
echo "TFM_UPDATE Done"

0 commit comments

Comments
 (0)