Skip to content

Commit d60a8e1

Browse files
authored
Merge pull request #2929 from fpistm/stm32cubeh5_update
chore(h5): update to latest STM32CubeH5 v1.6.0
2 parents 734f525 + 9ef6eba commit d60a8e1

File tree

247 files changed

+188519
-3382
lines changed

Some content is hidden

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

247 files changed

+188519
-3382
lines changed

cores/arduino/stm32/stm32_def_build.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,14 @@
246246
#define CMSIS_STARTUP_FILE "startup_stm32h563xx.s"
247247
#elif defined(STM32H573xx)
248248
#define CMSIS_STARTUP_FILE "startup_stm32h573xx.s"
249+
#elif defined(STM32H5E4xx)
250+
#define CMSIS_STARTUP_FILE "startup_stm32h5e4xx.s"
251+
#elif defined(STM32H5E5xx)
252+
#define CMSIS_STARTUP_FILE "startup_stm32h5e5xx.s"
253+
#elif defined(STM32H5F4xx)
254+
#define CMSIS_STARTUP_FILE "startup_stm32h5f4xx.s"
255+
#elif defined(STM32H5F5xx)
256+
#define CMSIS_STARTUP_FILE "startup_stm32h5f5xx.s"
249257
#elif defined(STM32H723xx)
250258
#define CMSIS_STARTUP_FILE "startup_stm32h723xx.s"
251259
#elif defined(STM32H725xx)

libraries/SrcWrapper/inc/LL/stm32yyxx_ll.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
#include "stm32yyxx_ll_mrsubg_timer.h"
4848
#include "stm32yyxx_ll_opamp.h"
4949
#include "stm32yyxx_ll_pka.h"
50+
#include "stm32yyxx_ll_play.h"
5051
#include "stm32yyxx_ll_pwr.h"
5152
#include "stm32yyxx_ll_radio.h"
5253
#include "stm32yyxx_ll_radio_timer.h"

libraries/SrcWrapper/inc/LL/stm32yyxx_ll_dma2d.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
#include "stm32f4xx_ll_dma2d.h"
1313
#elif STM32F7xx
1414
#include "stm32f7xx_ll_dma2d.h"
15+
#elif STM32H5xx
16+
#include "stm32h5xx_ll_dma2d.h"
1517
#elif STM32H7xx
1618
#include "stm32h7xx_ll_dma2d.h"
1719
#elif STM32L4xx
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#ifndef _STM32YYXX_LL_PLAY_H_
2+
#define _STM32YYXX_LL_PLAY_H_
3+
/* LL raised several warnings, ignore them */
4+
#pragma GCC diagnostic push
5+
#pragma GCC diagnostic ignored "-Wunused-parameter"
6+
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
7+
#ifdef __cplusplus
8+
#pragma GCC diagnostic ignored "-Wregister"
9+
#endif
10+
11+
#ifdef STM32H5xx
12+
#include "stm32h5xx_ll_play.h"
13+
#endif
14+
#pragma GCC diagnostic pop
15+
#endif /* _STM32YYXX_LL_PLAY_H_ */

libraries/SrcWrapper/src/HAL/stm32yyxx_hal_ccb.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
#pragma GCC diagnostic push
33
#pragma GCC diagnostic ignored "-Wunused-parameter"
44

5-
#ifdef STM32U3xx
5+
#ifdef STM32H5xx
6+
#include "stm32h5xx_hal_ccb.c"
7+
#elif STM32U3xx
68
#include "stm32u3xx_hal_ccb.c"
79
#endif
810
#pragma GCC diagnostic pop

libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dma2d.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
#include "stm32f4xx_hal_dma2d.c"
77
#elif STM32F7xx
88
#include "stm32f7xx_hal_dma2d.c"
9+
#elif STM32H5xx
10+
#include "stm32h5xx_hal_dma2d.c"
911
#elif STM32H7xx
1012
#include "stm32h7xx_hal_dma2d.c"
1113
#elif STM32L4xx

libraries/SrcWrapper/src/HAL/stm32yyxx_hal_gfxtim.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
#pragma GCC diagnostic push
33
#pragma GCC diagnostic ignored "-Wunused-parameter"
44

5-
#ifdef STM32U5xx
5+
#ifdef STM32H5xx
6+
#include "stm32h5xx_hal_gfxtim.c"
7+
#elif STM32U5xx
68
#include "stm32u5xx_hal_gfxtim.c"
79
#endif
810
#pragma GCC diagnostic pop

libraries/SrcWrapper/src/HAL/stm32yyxx_hal_jpeg.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
#ifdef STM32F7xx
66
#include "stm32f7xx_hal_jpeg.c"
7+
#elif STM32H5xx
8+
#include "stm32h5xx_hal_jpeg.c"
79
#elif STM32H7xx
810
#include "stm32h7xx_hal_jpeg.c"
911
#elif STM32U5xx

libraries/SrcWrapper/src/HAL/stm32yyxx_hal_ltdc.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
#include "stm32f4xx_hal_ltdc.c"
77
#elif STM32F7xx
88
#include "stm32f7xx_hal_ltdc.c"
9+
#elif STM32H5xx
10+
#include "stm32h5xx_hal_ltdc.c"
911
#elif STM32H7xx
1012
#include "stm32h7xx_hal_ltdc.c"
1113
#elif STM32L4xx

libraries/SrcWrapper/src/HAL/stm32yyxx_hal_ltdc_ex.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
#include "stm32f4xx_hal_ltdc_ex.c"
77
#elif STM32F7xx
88
#include "stm32f7xx_hal_ltdc_ex.c"
9+
#elif STM32H5xx
10+
#include "stm32h5xx_hal_ltdc_ex.c"
911
#elif STM32H7xx
1012
#include "stm32h7xx_hal_ltdc_ex.c"
1113
#elif STM32L4xx

0 commit comments

Comments
 (0)