Skip to content
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 @@ -246,6 +246,14 @@
#define CMSIS_STARTUP_FILE "startup_stm32h563xx.s"
#elif defined(STM32H573xx)
#define CMSIS_STARTUP_FILE "startup_stm32h573xx.s"
#elif defined(STM32H5E4xx)
#define CMSIS_STARTUP_FILE "startup_stm32h5e4xx.s"
#elif defined(STM32H5E5xx)
#define CMSIS_STARTUP_FILE "startup_stm32h5e5xx.s"
#elif defined(STM32H5F4xx)
#define CMSIS_STARTUP_FILE "startup_stm32h5f4xx.s"
#elif defined(STM32H5F5xx)
#define CMSIS_STARTUP_FILE "startup_stm32h5f5xx.s"
#elif defined(STM32H723xx)
#define CMSIS_STARTUP_FILE "startup_stm32h723xx.s"
#elif defined(STM32H725xx)
Expand Down
1 change: 1 addition & 0 deletions libraries/SrcWrapper/inc/LL/stm32yyxx_ll.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
#include "stm32yyxx_ll_mrsubg_timer.h"
#include "stm32yyxx_ll_opamp.h"
#include "stm32yyxx_ll_pka.h"
#include "stm32yyxx_ll_play.h"
#include "stm32yyxx_ll_pwr.h"
#include "stm32yyxx_ll_radio.h"
#include "stm32yyxx_ll_radio_timer.h"
Expand Down
2 changes: 2 additions & 0 deletions libraries/SrcWrapper/inc/LL/stm32yyxx_ll_dma2d.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
#include "stm32f4xx_ll_dma2d.h"
#elif STM32F7xx
#include "stm32f7xx_ll_dma2d.h"
#elif STM32H5xx
#include "stm32h5xx_ll_dma2d.h"
#elif STM32H7xx
#include "stm32h7xx_ll_dma2d.h"
#elif STM32L4xx
Expand Down
15 changes: 15 additions & 0 deletions libraries/SrcWrapper/inc/LL/stm32yyxx_ll_play.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#ifndef _STM32YYXX_LL_PLAY_H_
#define _STM32YYXX_LL_PLAY_H_
/* LL raised several warnings, ignore them */
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#ifdef __cplusplus
#pragma GCC diagnostic ignored "-Wregister"
#endif

#ifdef STM32H5xx
#include "stm32h5xx_ll_play.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_PLAY_H_ */
4 changes: 3 additions & 1 deletion libraries/SrcWrapper/src/HAL/stm32yyxx_hal_ccb.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"

#ifdef STM32U3xx
#ifdef STM32H5xx
#include "stm32h5xx_hal_ccb.c"
#elif STM32U3xx
#include "stm32u3xx_hal_ccb.c"
#endif
#pragma GCC diagnostic pop
2 changes: 2 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dma2d.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
#include "stm32f4xx_hal_dma2d.c"
#elif STM32F7xx
#include "stm32f7xx_hal_dma2d.c"
#elif STM32H5xx
#include "stm32h5xx_hal_dma2d.c"
#elif STM32H7xx
#include "stm32h7xx_hal_dma2d.c"
#elif STM32L4xx
Expand Down
4 changes: 3 additions & 1 deletion libraries/SrcWrapper/src/HAL/stm32yyxx_hal_gfxtim.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"

#ifdef STM32U5xx
#ifdef STM32H5xx
#include "stm32h5xx_hal_gfxtim.c"
#elif 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 @@ -4,6 +4,8 @@

#ifdef STM32F7xx
#include "stm32f7xx_hal_jpeg.c"
#elif STM32H5xx
#include "stm32h5xx_hal_jpeg.c"
#elif STM32H7xx
#include "stm32h7xx_hal_jpeg.c"
#elif STM32U5xx
Expand Down
2 changes: 2 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_ltdc.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
#include "stm32f4xx_hal_ltdc.c"
#elif STM32F7xx
#include "stm32f7xx_hal_ltdc.c"
#elif STM32H5xx
#include "stm32h5xx_hal_ltdc.c"
#elif STM32H7xx
#include "stm32h7xx_hal_ltdc.c"
#elif STM32L4xx
Expand Down
2 changes: 2 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_ltdc_ex.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
#include "stm32f4xx_hal_ltdc_ex.c"
#elif STM32F7xx
#include "stm32f7xx_hal_ltdc_ex.c"
#elif STM32H5xx
#include "stm32h5xx_hal_ltdc_ex.c"
#elif STM32H7xx
#include "stm32h7xx_hal_ltdc_ex.c"
#elif STM32L4xx
Expand Down
4 changes: 3 additions & 1 deletion libraries/SrcWrapper/src/HAL/stm32yyxx_hal_mdf.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"

#ifdef STM32U3xx
#ifdef STM32H5xx
#include "stm32h5xx_hal_mdf.c"
#elif STM32U3xx
#include "stm32u3xx_hal_mdf.c"
#elif STM32U5xx
#include "stm32u5xx_hal_mdf.c"
Expand Down
8 changes: 8 additions & 0 deletions libraries/SrcWrapper/src/HAL/stm32yyxx_hal_play.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 STM32H5xx
#include "stm32h5xx_hal_play.c"
#endif
#pragma GCC diagnostic pop
2 changes: 2 additions & 0 deletions libraries/SrcWrapper/src/LL/stm32yyxx_ll_dma2d.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
#include "stm32f4xx_ll_dma2d.c"
#elif STM32F7xx
#include "stm32f7xx_ll_dma2d.c"
#elif STM32H5xx
#include "stm32h5xx_ll_dma2d.c"
#elif STM32H7xx
#include "stm32h7xx_ll_dma2d.c"
#elif STM32L4xx
Expand Down
8 changes: 8 additions & 0 deletions libraries/SrcWrapper/src/LL/stm32yyxx_ll_play.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* LL raised several warnings, ignore them */
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"

#ifdef STM32H5xx
#include "stm32h5xx_ll_play.c"
#endif
#pragma GCC diagnostic pop
Loading
Loading