Skip to content

Commit 7216ee4

Browse files
authored
Merge pull request stm32duino#392 from fpistm/STM32H7
Add STM32 H7 series support and Nucleo H743ZI variant
2 parents 15b5b8a + 7d4276e commit 7216ee4

File tree

403 files changed

+388858
-43
lines changed

Some content is hidden

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

403 files changed

+388858
-43
lines changed

README.md

+3

boards.txt

+12
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,18 @@ Nucleo_144.menu.pnum.NUCLEO_F767ZI.build.product_line=STM32F767xx
6363
Nucleo_144.menu.pnum.NUCLEO_F767ZI.build.variant=NUCLEO_F767ZI
6464
Nucleo_144.menu.pnum.NUCLEO_F767ZI.build.cmsis_lib_gcc=arm_cortexM7l_math
6565

66+
# NUCLEO_H743ZI board
67+
Nucleo_144.menu.pnum.NUCLEO_H743ZI=Nucleo H743ZI
68+
Nucleo_144.menu.pnum.NUCLEO_H743ZI.node=NODE_H743ZI
69+
Nucleo_144.menu.pnum.NUCLEO_H743ZI.upload.maximum_size=2097152
70+
Nucleo_144.menu.pnum.NUCLEO_H743ZI.upload.maximum_data_size=131072
71+
Nucleo_144.menu.pnum.NUCLEO_H743ZI.build.mcu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard
72+
Nucleo_144.menu.pnum.NUCLEO_H743ZI.build.board=NUCLEO_H743ZI
73+
Nucleo_144.menu.pnum.NUCLEO_H743ZI.build.series=STM32H7xx
74+
Nucleo_144.menu.pnum.NUCLEO_H743ZI.build.product_line=STM32H743xx
75+
Nucleo_144.menu.pnum.NUCLEO_H743ZI.build.variant=NUCLEO_H743ZI
76+
Nucleo_144.menu.pnum.NUCLEO_H743ZI.build.cmsis_lib_gcc=arm_cortexM7l_math
77+
6678
# NUCLEO_L496ZG board
6779
Nucleo_144.menu.pnum.NUCLEO_L496ZG=Nucleo L496ZG
6880
Nucleo_144.menu.pnum.NUCLEO_L496ZG.node=NODE_L496ZG

cores/arduino/stm32/HAL/stm32yyxx_hal.c

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
#ifdef STM32F7xx
1717
#include "stm32f7xx_hal.c"
1818
#endif
19+
#ifdef STM32H7xx
20+
#include "stm32h7xx_hal.c"
21+
#endif
1922
#ifdef STM32L0xx
2023
#include "stm32l0xx_hal.c"
2124
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_adc.c

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
#ifdef STM32F7xx
1717
#include "stm32f7xx_hal_adc.c"
1818
#endif
19+
#ifdef STM32H7xx
20+
#include "stm32h7xx_hal_adc.c"
21+
#endif
1922
#ifdef STM32L0xx
2023
#include "stm32l0xx_hal_adc.c"
2124
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_adc_ex.c

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
#ifdef STM32F7xx
1717
#include "stm32f7xx_hal_adc_ex.c"
1818
#endif
19+
#ifdef STM32H7xx
20+
#include "stm32h7xx_hal_adc_ex.c"
21+
#endif
1922
#ifdef STM32L0xx
2023
#include "stm32l0xx_hal_adc_ex.c"
2124
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_cec.c

+3
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@
1313
#ifdef STM32F7xx
1414
#include "stm32f7xx_hal_cec.c"
1515
#endif
16+
#ifdef STM32H7xx
17+
#include "stm32h7xx_hal_cec.c"
18+
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_comp.c

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
#ifdef STM32F3xx
55
#include "stm32f3xx_hal_comp.c"
66
#endif
7+
#ifdef STM32H7xx
8+
#include "stm32h7xx_hal_comp.c"
9+
#endif
710
#ifdef STM32L0xx
811
#include "stm32l0xx_hal_comp.c"
912
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_cortex.c

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
#ifdef STM32F7xx
1717
#include "stm32f7xx_hal_cortex.c"
1818
#endif
19+
#ifdef STM32H7xx
20+
#include "stm32h7xx_hal_cortex.c"
21+
#endif
1922
#ifdef STM32L0xx
2023
#include "stm32l0xx_hal_cortex.c"
2124
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_crc.c

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
#ifdef STM32F7xx
1717
#include "stm32f7xx_hal_crc.c"
1818
#endif
19+
#ifdef STM32H7xx
20+
#include "stm32h7xx_hal_crc.c"
21+
#endif
1922
#ifdef STM32L0xx
2023
#include "stm32l0xx_hal_crc.c"
2124
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_crc_ex.c

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
#ifdef STM32F7xx
88
#include "stm32f7xx_hal_crc_ex.c"
99
#endif
10+
#ifdef STM32H7xx
11+
#include "stm32h7xx_hal_crc_ex.c"
12+
#endif
1013
#ifdef STM32L0xx
1114
#include "stm32l0xx_hal_crc_ex.c"
1215
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_cryp.c

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
#ifdef STM32F7xx
88
#include "stm32f7xx_hal_cryp.c"
99
#endif
10+
#ifdef STM32H7xx
11+
#include "stm32h7xx_hal_cryp.c"
12+
#endif
1013
#ifdef STM32L0xx
1114
#include "stm32l0xx_hal_cryp.c"
1215
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_cryp_ex.c

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
#ifdef STM32F7xx
55
#include "stm32f7xx_hal_cryp_ex.c"
66
#endif
7+
#ifdef STM32H7xx
8+
#include "stm32h7xx_hal_cryp_ex.c"
9+
#endif
710
#ifdef STM32L0xx
811
#include "stm32l0xx_hal_cryp_ex.c"
912
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_dac.c

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
#ifdef STM32F7xx
1717
#include "stm32f7xx_hal_dac.c"
1818
#endif
19+
#ifdef STM32H7xx
20+
#include "stm32h7xx_hal_dac.c"
21+
#endif
1922
#ifdef STM32L0xx
2023
#include "stm32l0xx_hal_dac.c"
2124
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_dac_ex.c

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
#ifdef STM32F7xx
1717
#include "stm32f7xx_hal_dac_ex.c"
1818
#endif
19+
#ifdef STM32H7xx
20+
#include "stm32h7xx_hal_dac_ex.c"
21+
#endif
1922
#ifdef STM32L0xx
2023
#include "stm32l0xx_hal_dac_ex.c"
2124
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_dcmi.c

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
#ifdef STM32F7xx
88
#include "stm32f7xx_hal_dcmi.c"
99
#endif
10+
#ifdef STM32H7xx
11+
#include "stm32h7xx_hal_dcmi.c"
12+
#endif
1013
#ifdef STM32L4xx
1114
#include "stm32l4xx_hal_dcmi.c"
1215
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_dfsdm.c

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
#ifdef STM32F7xx
55
#include "stm32f7xx_hal_dfsdm.c"
66
#endif
7+
#ifdef STM32H7xx
8+
#include "stm32h7xx_hal_dfsdm.c"
9+
#endif
710
#ifdef STM32L4xx
811
#include "stm32l4xx_hal_dfsdm.c"
912
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_dma.c

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
#ifdef STM32F7xx
1717
#include "stm32f7xx_hal_dma.c"
1818
#endif
19+
#ifdef STM32H7xx
20+
#include "stm32h7xx_hal_dma.c"
21+
#endif
1922
#ifdef STM32L0xx
2023
#include "stm32l0xx_hal_dma.c"
2124
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_dma2d.c

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
#ifdef STM32F7xx
55
#include "stm32f7xx_hal_dma2d.c"
66
#endif
7+
#ifdef STM32H7xx
8+
#include "stm32h7xx_hal_dma2d.c"
9+
#endif
710
#ifdef STM32L4xx
811
#include "stm32l4xx_hal_dma2d.c"
912
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_dma_ex.c

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
#ifdef STM32F7xx
88
#include "stm32f7xx_hal_dma_ex.c"
99
#endif
10+
#ifdef STM32H7xx
11+
#include "stm32h7xx_hal_dma_ex.c"
12+
#endif
1013
#ifdef STM32L4xx
1114
#include "stm32l4xx_hal_dma_ex.c"
1215
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_eth.c

+3
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@
1010
#ifdef STM32F7xx
1111
#include "stm32f7xx_hal_eth.c"
1212
#endif
13+
#ifdef STM32H7xx
14+
#include "stm32h7xx_hal_eth.c"
15+
#endif
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#ifdef STM32H7xx
2+
#include "stm32h7xx_hal_eth_ex.c"
3+
#endif
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#ifdef STM32H7xx
2+
#include "stm32h7xx_hal_exti.c"
3+
#endif
14
#ifdef STM32L4xx
25
#include "stm32l4xx_hal_exti.c"
36
#endif
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#ifdef STM32H7xx
2+
#include "stm32h7xx_hal_fdcan.c"
3+
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_flash.c

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
#ifdef STM32F7xx
1717
#include "stm32f7xx_hal_flash.c"
1818
#endif
19+
#ifdef STM32H7xx
20+
#include "stm32h7xx_hal_flash.c"
21+
#endif
1922
#ifdef STM32L0xx
2023
#include "stm32l0xx_hal_flash.c"
2124
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_flash_ex.c

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
#ifdef STM32F7xx
1717
#include "stm32f7xx_hal_flash_ex.c"
1818
#endif
19+
#ifdef STM32H7xx
20+
#include "stm32h7xx_hal_flash_ex.c"
21+
#endif
1922
#ifdef STM32L0xx
2023
#include "stm32l0xx_hal_flash_ex.c"
2124
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_gpio.c

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
#ifdef STM32F7xx
1717
#include "stm32f7xx_hal_gpio.c"
1818
#endif
19+
#ifdef STM32H7xx
20+
#include "stm32h7xx_hal_gpio.c"
21+
#endif
1922
#ifdef STM32L0xx
2023
#include "stm32l0xx_hal_gpio.c"
2124
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_hash.c

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
#ifdef STM32F7xx
88
#include "stm32f7xx_hal_hash.c"
99
#endif
10+
#ifdef STM32H7xx
11+
#include "stm32h7xx_hal_hash.c"
12+
#endif
1013
#ifdef STM32L4xx
1114
#include "stm32l4xx_hal_hash.c"
1215
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_hash_ex.c

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
#ifdef STM32F7xx
55
#include "stm32f7xx_hal_hash_ex.c"
66
#endif
7+
#ifdef STM32H7xx
8+
#include "stm32h7xx_hal_hash_ex.c"
9+
#endif
710
#ifdef STM32L4xx
811
#include "stm32l4xx_hal_hash_ex.c"
912
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_hcd.c

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
#ifdef STM32F7xx
1111
#include "stm32f7xx_hal_hcd.c"
1212
#endif
13+
#ifdef STM32H7xx
14+
#include "stm32h7xx_hal_hcd.c"
15+
#endif
1316
#ifdef STM32L4xx
1417
#include "stm32l4xx_hal_hcd.c"
1518
#endif
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
#ifdef STM32F3xx
22
#include "stm32f3xx_hal_hrtim.c"
33
#endif
4+
#ifdef STM32H7xx
5+
#include "stm32h7xx_hal_hrtim.c"
6+
#endif
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#ifdef STM32H7xx
2+
#include "stm32h7xx_hal_hsem.c"
3+
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_i2c.c

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
#ifdef STM32F7xx
1717
#include "stm32f7xx_hal_i2c.c"
1818
#endif
19+
#ifdef STM32H7xx
20+
#include "stm32h7xx_hal_i2c.c"
21+
#endif
1922
#ifdef STM32L0xx
2023
#include "stm32l0xx_hal_i2c.c"
2124
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_i2c_ex.c

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
#ifdef STM32F7xx
1111
#include "stm32f7xx_hal_i2c_ex.c"
1212
#endif
13+
#ifdef STM32H7xx
14+
#include "stm32h7xx_hal_i2c_ex.c"
15+
#endif
1316
#ifdef STM32L0xx
1417
#include "stm32l0xx_hal_i2c_ex.c"
1518
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_i2s.c

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
#ifdef STM32F7xx
1717
#include "stm32f7xx_hal_i2s.c"
1818
#endif
19+
#ifdef STM32H7xx
20+
#include "stm32h7xx_hal_i2s.c"
21+
#endif
1922
#ifdef STM32L0xx
2023
#include "stm32l0xx_hal_i2s.c"
2124
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_i2s_ex.c

+3
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
#ifdef STM32F4xx
55
#include "stm32f4xx_hal_i2s_ex.c"
66
#endif
7+
#ifdef STM32H7xx
8+
#include "stm32h7xx_hal_i2s_ex.c"
9+
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_irda.c

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
#ifdef STM32F7xx
1717
#include "stm32f7xx_hal_irda.c"
1818
#endif
19+
#ifdef STM32H7xx
20+
#include "stm32h7xx_hal_irda.c"
21+
#endif
1922
#ifdef STM32L0xx
2023
#include "stm32l0xx_hal_irda.c"
2124
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_iwdg.c

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
#ifdef STM32F7xx
1717
#include "stm32f7xx_hal_iwdg.c"
1818
#endif
19+
#ifdef STM32H7xx
20+
#include "stm32h7xx_hal_iwdg.c"
21+
#endif
1922
#ifdef STM32L0xx
2023
#include "stm32l0xx_hal_iwdg.c"
2124
#endif
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
#ifdef STM32F7xx
22
#include "stm32f7xx_hal_jpeg.c"
33
#endif
4+
#ifdef STM32H7xx
5+
#include "stm32h7xx_hal_jpeg.c"
6+
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_lptim.c

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
#ifdef STM32F7xx
55
#include "stm32f7xx_hal_lptim.c"
66
#endif
7+
#ifdef STM32H7xx
8+
#include "stm32h7xx_hal_lptim.c"
9+
#endif
710
#ifdef STM32L0xx
811
#include "stm32l0xx_hal_lptim.c"
912
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_ltdc.c

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
#ifdef STM32F7xx
55
#include "stm32f7xx_hal_ltdc.c"
66
#endif
7+
#ifdef STM32H7xx
8+
#include "stm32h7xx_hal_ltdc.c"
9+
#endif
710
#ifdef STM32L4xx
811
#include "stm32l4xx_hal_ltdc.c"
912
#endif
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
#ifdef STM32F7xx
22
#include "stm32f7xx_hal_mdios.c"
33
#endif
4+
#ifdef STM32H7xx
5+
#include "stm32h7xx_hal_mdios.c"
6+
#endif
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#ifdef STM32H7xx
2+
#include "stm32h7xx_hal_mdma.c"
3+
#endif

cores/arduino/stm32/HAL/stm32yyxx_hal_mmc.c

+3
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@
1010
#ifdef STM32F7xx
1111
#include "stm32f7xx_hal_mmc.c"
1212
#endif
13+
#ifdef STM32H7xx
14+
#include "stm32h7xx_hal_mmc.c"
15+
#endif
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#ifdef STM32H7xx
2+
#include "stm32h7xx_hal_mmc_ex.c"
3+
#endif

0 commit comments

Comments
 (0)