Skip to content

Commit 139e11e

Browse files
committed
system(L4): update STM32L4xx CMSIS Drivers to v1.7.4
Included in STM32CubeL4 FW v1.18.1 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent b378254 commit 139e11e

30 files changed

+74
-56
lines changed

system/Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l412xx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ typedef struct
821821
#define SRAM1_SIZE_MAX (0x00008000UL) /*!< maximum SRAM1 size (up to 32 KBytes) */
822822
#define SRAM2_SIZE (0x00002000UL) /*!< SRAM2 size (8 KBytes) */
823823

824-
#define FLASH_SIZE_DATA_REGISTER ((uint32_t)0x1FFF75E0)
824+
#define FLASH_SIZE_DATA_REGISTER (0x1FFF75E0UL)
825825

826826
#define FLASH_SIZE (((((*((uint32_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0000FFFFU)) == 0x0000FFFFU)) ? (0x80U << 10U) : \
827827
(((*((uint32_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0000FFFFU)) << 10U))

system/Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l422xx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ typedef struct
854854
#define SRAM1_SIZE_MAX (0x00008000UL) /*!< maximum SRAM1 size (up to 32 KBytes) */
855855
#define SRAM2_SIZE (0x00002000UL) /*!< SRAM2 size (8 KBytes) */
856856

857-
#define FLASH_SIZE_DATA_REGISTER ((uint32_t)0x1FFF75E0)
857+
#define FLASH_SIZE_DATA_REGISTER (0x1FFF75E0UL)
858858

859859
#define FLASH_SIZE (((((*((uint32_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0000FFFFU)) == 0x0000FFFFU)) ? (0x80U << 10U) : \
860860
(((*((uint32_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0000FFFFU)) << 10U))

system/Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l431xx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,7 @@ typedef struct
934934
#define SRAM1_SIZE_MAX (0x0000C000UL) /*!< maximum SRAM1 size (up to 48 KBytes) */
935935
#define SRAM2_SIZE (0x00004000UL) /*!< SRAM2 size (16 KBytes) */
936936

937-
#define FLASH_SIZE_DATA_REGISTER ((uint32_t)0x1FFF75E0)
937+
#define FLASH_SIZE_DATA_REGISTER (0x1FFF75E0UL)
938938

939939
#define FLASH_SIZE (((((*((uint32_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0000FFFFU)) == 0x0000FFFFU)) ? (0x100U << 10U) : \
940940
(((*((uint32_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0000FFFFU)) << 10U))

system/Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l432xx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,7 @@ typedef struct
930930
#define SRAM1_SIZE_MAX (0x0000C000UL) /*!< maximum SRAM1 size (up to 48 KBytes) */
931931
#define SRAM2_SIZE (0x00004000UL) /*!< SRAM2 size (16 KBytes) */
932932

933-
#define FLASH_SIZE_DATA_REGISTER ((uint32_t)0x1FFF75E0)
933+
#define FLASH_SIZE_DATA_REGISTER (0x1FFF75E0UL)
934934

935935
#define FLASH_SIZE (((((*((uint32_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0000FFFFU)) == 0x0000FFFFU)) ? (0x100U << 10U) : \
936936
(((*((uint32_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0000FFFFU)) << 10U))

system/Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l433xx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,7 @@ typedef struct
988988
#define SRAM1_SIZE_MAX (0x0000C000UL) /*!< maximum SRAM1 size (up to 48 KBytes) */
989989
#define SRAM2_SIZE (0x00004000UL) /*!< SRAM2 size (16 KBytes) */
990990

991-
#define FLASH_SIZE_DATA_REGISTER ((uint32_t)0x1FFF75E0)
991+
#define FLASH_SIZE_DATA_REGISTER (0x1FFF75E0UL)
992992

993993
#define FLASH_SIZE (((((*((uint32_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0000FFFFU)) == 0x0000FFFFU)) ? (0x100U << 10U) : \
994994
(((*((uint32_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0000FFFFU)) << 10U))

system/Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l442xx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@ typedef struct
963963
#define SRAM1_SIZE_MAX (0x0000C000UL) /*!< maximum SRAM1 size (up to 48 KBytes) */
964964
#define SRAM2_SIZE (0x00004000UL) /*!< SRAM2 size (16 KBytes) */
965965

966-
#define FLASH_SIZE_DATA_REGISTER ((uint32_t)0x1FFF75E0)
966+
#define FLASH_SIZE_DATA_REGISTER (0x1FFF75E0UL)
967967

968968
#define FLASH_SIZE (((((*((uint32_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0000FFFFU)) == 0x0000FFFFU)) ? (0x100U << 10U) : \
969969
(((*((uint32_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0000FFFFU)) << 10U))

system/Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l443xx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@ typedef struct
10211021
#define SRAM1_SIZE_MAX (0x0000C000UL) /*!< maximum SRAM1 size (up to 48 KBytes) */
10221022
#define SRAM2_SIZE (0x00004000UL) /*!< SRAM2 size (16 KBytes) */
10231023

1024-
#define FLASH_SIZE_DATA_REGISTER ((uint32_t)0x1FFF75E0)
1024+
#define FLASH_SIZE_DATA_REGISTER (0x1FFF75E0UL)
10251025

10261026
#define FLASH_SIZE (((((*((uint32_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0000FFFFU)) == 0x0000FFFFU)) ? (0x100U << 10U) : \
10271027
(((*((uint32_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0000FFFFU)) << 10U))

system/Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l451xx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ typedef struct
954954
#define SRAM1_SIZE_MAX (0x00020000UL) /*!< maximum SRAM1 size (up to 128 KBytes) */
955955
#define SRAM2_SIZE (0x00008000UL) /*!< SRAM2 size (32 KBytes) */
956956

957-
#define FLASH_SIZE_DATA_REGISTER ((uint32_t)0x1FFF75E0)
957+
#define FLASH_SIZE_DATA_REGISTER (0x1FFF75E0UL)
958958

959959
#define FLASH_SIZE (((((*((uint32_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0000FFFFU)) == 0x0000FFFFU)) ? (0x200U << 10U) : \
960960
(((*((uint32_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0000FFFFU)) << 10U))

system/Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l452xx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,7 @@ typedef struct
993993
#define SRAM1_SIZE_MAX (0x00020000UL) /*!< maximum SRAM1 size (up to 128 KBytes) */
994994
#define SRAM2_SIZE (0x00008000UL) /*!< SRAM2 size (32 KBytes) */
995995

996-
#define FLASH_SIZE_DATA_REGISTER ((uint32_t)0x1FFF75E0)
996+
#define FLASH_SIZE_DATA_REGISTER (0x1FFF75E0UL)
997997

998998
#define FLASH_SIZE (((((*((uint32_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0000FFFFU)) == 0x0000FFFFU)) ? (0x200U << 10U) : \
999999
(((*((uint32_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0000FFFFU)) << 10U))

system/Drivers/CMSIS/Device/ST/STM32L4xx/Include/stm32l462xx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1026,7 +1026,7 @@ typedef struct
10261026
#define SRAM1_SIZE_MAX (0x00020000UL) /*!< maximum SRAM1 size (up to 128 KBytes) */
10271027
#define SRAM2_SIZE (0x00008000UL) /*!< SRAM2 size (32 KBytes) */
10281028

1029-
#define FLASH_SIZE_DATA_REGISTER ((uint32_t)0x1FFF75E0)
1029+
#define FLASH_SIZE_DATA_REGISTER (0x1FFF75E0UL)
10301030

10311031
#define FLASH_SIZE (((((*((uint32_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0000FFFFU)) == 0x0000FFFFU)) ? (0x200U << 10U) : \
10321032
(((*((uint32_t *)FLASH_SIZE_DATA_REGISTER)) & (0x0000FFFFU)) << 10U))

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy