Skip to content

Commit 8553b4a

Browse files
committed
trusted-firmware-m: 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 6998de7 commit 8553b4a

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
@@ -35,12 +35,12 @@ nvcounter=
3535
boot=0x0c001000
3636
unused=
3737

38-
$stm32programmercli $connect -d $BINPATH/tfm_s_signed.bin $slot0 -v
38+
$stm32programmercli $connect -d $SCRIPTPATH/../tfm_s_signed.bin $slot0 -v
3939
echo "TFM_Appli Secure Written"
4040
echo "Write TFM_Appli NonSecure"
41-
$stm32programmercli $connect -d $BINPATH/tfm_ns_signed.bin $slot1 -v
41+
$stm32programmercli $connect -d $SCRIPTPATH/../zephyr_ns_signed.bin $slot1 -v
4242
echo "TFM_Appli NonSecure Written"
4343
echo "Write TFM_SBSFU_Boot"
44-
$stm32programmercli $connect -d $BINPATH/bl2.bin $boot -v
44+
$stm32programmercli $connect -d $SCRIPTPATH/../mcuboot.bin $boot -v
4545
echo "TFM_SBSFU_Boot Written"
46-
echo "TFM_UPDATE Done"
46+
echo "TFM_UPDATE Done"

0 commit comments

Comments
 (0)