Skip to content

Update to latest STM32CubeU5 v1.3.0 #2068

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions cores/arduino/stm32/stm32_def_build.h
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,14 @@
#define CMSIS_STARTUP_FILE "startup_stm32u5a5xx.s"
#elif defined(STM32U5A9xx)
#define CMSIS_STARTUP_FILE "startup_stm32u5a9xx.s"
#elif defined(STM32U5F7xx)
#define CMSIS_STARTUP_FILE "startup_stm32u5f7xx.s"
#elif defined(STM32U5F9xx)
#define CMSIS_STARTUP_FILE "startup_stm32u5f9xx.s"
#elif defined(STM32U5G7xx)
#define CMSIS_STARTUP_FILE "startup_stm32u5g7xx.s"
#elif defined(STM32U5G9xx)
#define CMSIS_STARTUP_FILE "startup_stm32u5g9xx.s"
#elif defined(STM32WB10xx)
#define CMSIS_STARTUP_FILE "startup_stm32wb10xx_cm4.s"
#elif defined(STM32WB15xx)
Expand Down
1 change: 1 addition & 0 deletions libraries/SrcWrapper/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ add_library(SrcWrapper_bin OBJECT EXCLUDE_FROM_ALL
src/HAL/stm32yyxx_hal_fmpsmbus.c
src/HAL/stm32yyxx_hal_fmpsmbus_ex.c
src/HAL/stm32yyxx_hal_gfxmmu.c
src/HAL/stm32yyxx_hal_gfxtim.c
src/HAL/stm32yyxx_hal_gpio.c
src/HAL/stm32yyxx_hal_gpio_ex.c
src/HAL/stm32yyxx_hal_gpu2d.c
Expand Down
8 changes: 8 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_gfxtim.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* HAL raised several warnings, ignore them */
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"

#ifdef STM32U5xx
#include "stm32u5xx_hal_gfxtim.c"
#endif
#pragma GCC diagnostic pop
2 changes: 2 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_jpeg.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@
#include "stm32f7xx_hal_jpeg.c"
#elif STM32H7xx
#include "stm32h7xx_hal_jpeg.c"
#elif STM32U5xx
#include "stm32u5xx_hal_jpeg.c"
#endif
#pragma GCC diagnostic pop
Original file line number Diff line number Diff line change
Expand Up @@ -404,9 +404,9 @@
// <o.25> EXTI14_IRQn <0=> Secure state <1=> Non-Secure state
// <o.26> EXTI15_IRQn <0=> Secure state <1=> Non-Secure state
// <o.27> IWDG_IRQn <0=> Secure state <1=> Non-Secure state
// <o.29> GPDMA1_Channel0_IRQn <0=> Secure state <1=> Non-Secure state
// <o.30> GPDMA1_Channel1_IRQn <0=> Secure state <1=> Non-Secure state
// <o.31> GPDMA1_Channel2_IRQn <0=> Secure state <1=> Non-Secure state
// <o.29> GPDMA1_Channel0_IRQn <0=> Secure state <1=> Non-Secure state
// <o.30> GPDMA1_Channel1_IRQn <0=> Secure state <1=> Non-Secure state
// <o.31> GPDMA1_Channel2_IRQn <0=> Secure state <1=> Non-Secure state
*/
#define NVIC_INIT_ITNS0_VAL 0x00000000

Expand Down
Loading