From 02b419df3b98ba0168802e7665bb371ba7e395ea Mon Sep 17 00:00:00 2001 From: Frank Voorburg Date: Wed, 26 Apr 2023 22:15:59 +0000 Subject: [PATCH] Refs #1785. Corrected flash latency configuration in Nucleo-L552ZE demo programs. git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@1041 5dc33758-31d5-4daf-9ae8-b24bf3d40d73 --- Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_GCC/Boot/main.c | 3 +-- Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_IAR/Boot/main.c | 3 +-- Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_Keil/Boot/main.c | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_GCC/Boot/main.c b/Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_GCC/Boot/main.c index c64c7fc6..f42b7e14 100644 --- a/Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_GCC/Boot/main.c +++ b/Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_GCC/Boot/main.c @@ -101,8 +101,7 @@ static void SystemClock_Config(void) LL_FLASH_SetLatency(LL_FLASH_LATENCY_4); while(LL_FLASH_GetLatency()!= LL_FLASH_LATENCY_4) { - /* Error setting flash latency. */ - ASSERT_RT(BLT_FALSE); + ; } /* Configure the main internal regulator output voltage. */ diff --git a/Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_IAR/Boot/main.c b/Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_IAR/Boot/main.c index 1a65e5c2..28f736f8 100644 --- a/Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_IAR/Boot/main.c +++ b/Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_IAR/Boot/main.c @@ -98,8 +98,7 @@ static void SystemClock_Config(void) LL_FLASH_SetLatency(LL_FLASH_LATENCY_4); while(LL_FLASH_GetLatency()!= LL_FLASH_LATENCY_4) { - /* Error setting flash latency. */ - ASSERT_RT(BLT_FALSE); + ; } /* Configure the main internal regulator output voltage. */ diff --git a/Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_Keil/Boot/main.c b/Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_Keil/Boot/main.c index 79d1a447..8fe79e34 100644 --- a/Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_Keil/Boot/main.c +++ b/Target/Demo/ARMCM33_STM32L5_Nucleo_L552ZE_Keil/Boot/main.c @@ -101,8 +101,7 @@ static void SystemClock_Config(void) LL_FLASH_SetLatency(LL_FLASH_LATENCY_4); while(LL_FLASH_GetLatency()!= LL_FLASH_LATENCY_4) { - /* Error setting flash latency. */ - ASSERT_RT(BLT_FALSE); + ; } /* Configure the main internal regulator output voltage. */