Skip to content

Commit b03d007

Browse files
authored
Merge pull request #2068 from fpistm/stm32CubeU5_1.3.0
Update to latest STM32CubeU5 v1.3.0
2 parents 3f9aa10 + 9bcdecf commit b03d007

File tree

241 files changed

+146896
-2500
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

241 files changed

+146896
-2500
lines changed

Diff for: cores/arduino/stm32/stm32_def_build.h

+8
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,14 @@
438438
#define CMSIS_STARTUP_FILE "startup_stm32u5a5xx.s"
439439
#elif defined(STM32U5A9xx)
440440
#define CMSIS_STARTUP_FILE "startup_stm32u5a9xx.s"
441+
#elif defined(STM32U5F7xx)
442+
#define CMSIS_STARTUP_FILE "startup_stm32u5f7xx.s"
443+
#elif defined(STM32U5F9xx)
444+
#define CMSIS_STARTUP_FILE "startup_stm32u5f9xx.s"
445+
#elif defined(STM32U5G7xx)
446+
#define CMSIS_STARTUP_FILE "startup_stm32u5g7xx.s"
447+
#elif defined(STM32U5G9xx)
448+
#define CMSIS_STARTUP_FILE "startup_stm32u5g9xx.s"
441449
#elif defined(STM32WB10xx)
442450
#define CMSIS_STARTUP_FILE "startup_stm32wb10xx_cm4.s"
443451
#elif defined(STM32WB15xx)

Diff for: libraries/SrcWrapper/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ add_library(SrcWrapper_bin OBJECT EXCLUDE_FROM_ALL
5858
src/HAL/stm32yyxx_hal_fmpsmbus.c
5959
src/HAL/stm32yyxx_hal_fmpsmbus_ex.c
6060
src/HAL/stm32yyxx_hal_gfxmmu.c
61+
src/HAL/stm32yyxx_hal_gfxtim.c
6162
src/HAL/stm32yyxx_hal_gpio.c
6263
src/HAL/stm32yyxx_hal_gpio_ex.c
6364
src/HAL/stm32yyxx_hal_gpu2d.c

Diff for: libraries/SrcWrapper/src/HAL/stm32yyxx_hal_gfxtim.c

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/* HAL raised several warnings, ignore them */
2+
#pragma GCC diagnostic push
3+
#pragma GCC diagnostic ignored "-Wunused-parameter"
4+
5+
#ifdef STM32U5xx
6+
#include "stm32u5xx_hal_gfxtim.c"
7+
#endif
8+
#pragma GCC diagnostic pop

Diff for: libraries/SrcWrapper/src/HAL/stm32yyxx_hal_jpeg.c

+2
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@
66
#include "stm32f7xx_hal_jpeg.c"
77
#elif STM32H7xx
88
#include "stm32h7xx_hal_jpeg.c"
9+
#elif STM32U5xx
10+
#include "stm32u5xx_hal_jpeg.c"
911
#endif
1012
#pragma GCC diagnostic pop

Diff for: system/Drivers/CMSIS/Device/ST/STM32U5xx/Include/Templates/partition_stm32u599xx.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -404,9 +404,9 @@
404404
// <o.25> EXTI14_IRQn <0=> Secure state <1=> Non-Secure state
405405
// <o.26> EXTI15_IRQn <0=> Secure state <1=> Non-Secure state
406406
// <o.27> IWDG_IRQn <0=> Secure state <1=> Non-Secure state
407-
// <o.29> GPDMA1_Channel0_IRQn <0=> Secure state <1=> Non-Secure state
408-
// <o.30> GPDMA1_Channel1_IRQn <0=> Secure state <1=> Non-Secure state
409-
// <o.31> GPDMA1_Channel2_IRQn <0=> Secure state <1=> Non-Secure state
407+
// <o.29> GPDMA1_Channel0_IRQn <0=> Secure state <1=> Non-Secure state
408+
// <o.30> GPDMA1_Channel1_IRQn <0=> Secure state <1=> Non-Secure state
409+
// <o.31> GPDMA1_Channel2_IRQn <0=> Secure state <1=> Non-Secure state
410410
*/
411411
#define NVIC_INIT_ITNS0_VAL 0x00000000
412412

0 commit comments

Comments
 (0)