Skip to content

Add STM32 H7 series support and Nucleo H743ZI variant #392

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 10 commits into from
Jan 4, 2019
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ User can add a STM32 based board following this [wiki](https://github.com/stm32d
* STM32F4
* [ARMED V1](https://github.com/ktand/Armed)

* STM32H7
* [Nucleo H743ZI](https://www.st.com/en/evaluation-tools/nucleo-h743zi.html)

* STM32L4
* [Nucleo L412KB](http://www.st.com/en/evaluation-tools/nucleo-l412kb.html)

Expand Down
12 changes: 12 additions & 0 deletions boards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,18 @@ Nucleo_144.menu.pnum.NUCLEO_F767ZI.build.product_line=STM32F767xx
Nucleo_144.menu.pnum.NUCLEO_F767ZI.build.variant=NUCLEO_F767ZI
Nucleo_144.menu.pnum.NUCLEO_F767ZI.build.cmsis_lib_gcc=arm_cortexM7l_math

# NUCLEO_H743ZI board
Nucleo_144.menu.pnum.NUCLEO_H743ZI=Nucleo H743ZI
Nucleo_144.menu.pnum.NUCLEO_H743ZI.node=NODE_H743ZI
Nucleo_144.menu.pnum.NUCLEO_H743ZI.upload.maximum_size=2097152
Nucleo_144.menu.pnum.NUCLEO_H743ZI.upload.maximum_data_size=131072
Nucleo_144.menu.pnum.NUCLEO_H743ZI.build.mcu=cortex-m7 -mfpu=fpv4-sp-d16 -mfloat-abi=hard
Nucleo_144.menu.pnum.NUCLEO_H743ZI.build.board=NUCLEO_H743ZI
Nucleo_144.menu.pnum.NUCLEO_H743ZI.build.series=STM32H7xx
Nucleo_144.menu.pnum.NUCLEO_H743ZI.build.product_line=STM32H743xx
Nucleo_144.menu.pnum.NUCLEO_H743ZI.build.variant=NUCLEO_H743ZI
Nucleo_144.menu.pnum.NUCLEO_H743ZI.build.cmsis_lib_gcc=arm_cortexM7l_math

# NUCLEO_L496ZG board
Nucleo_144.menu.pnum.NUCLEO_L496ZG=Nucleo L496ZG
Nucleo_144.menu.pnum.NUCLEO_L496ZG.node=NODE_L496ZG
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal.c"
#endif
#ifdef STM32L0xx
#include "stm32l0xx_hal.c"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_adc.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_adc.c"
#endif
#ifdef STM32L0xx
#include "stm32l0xx_hal_adc.c"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_adc_ex.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_adc_ex.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_adc_ex.c"
#endif
#ifdef STM32L0xx
#include "stm32l0xx_hal_adc_ex.c"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_cec.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_cec.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_cec.c"
#endif
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_comp.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
#ifdef STM32F3xx
#include "stm32f3xx_hal_comp.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_comp.c"
#endif
#ifdef STM32L0xx
#include "stm32l0xx_hal_comp.c"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_cortex.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_cortex.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_cortex.c"
#endif
#ifdef STM32L0xx
#include "stm32l0xx_hal_cortex.c"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_crc.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_crc.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_crc.c"
#endif
#ifdef STM32L0xx
#include "stm32l0xx_hal_crc.c"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_crc_ex.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_crc_ex.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_crc_ex.c"
#endif
#ifdef STM32L0xx
#include "stm32l0xx_hal_crc_ex.c"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_cryp.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_cryp.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_cryp.c"
#endif
#ifdef STM32L0xx
#include "stm32l0xx_hal_cryp.c"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_cryp_ex.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_cryp_ex.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_cryp_ex.c"
#endif
#ifdef STM32L0xx
#include "stm32l0xx_hal_cryp_ex.c"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_dac.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_dac.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_dac.c"
#endif
#ifdef STM32L0xx
#include "stm32l0xx_hal_dac.c"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_dac_ex.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_dac_ex.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_dac_ex.c"
#endif
#ifdef STM32L0xx
#include "stm32l0xx_hal_dac_ex.c"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_dcmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_dcmi.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_dcmi.c"
#endif
#ifdef STM32L4xx
#include "stm32l4xx_hal_dcmi.c"
#endif
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_dfsdm.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_dfsdm.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_dfsdm.c"
#endif
#ifdef STM32L4xx
#include "stm32l4xx_hal_dfsdm.c"
#endif
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_dma.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_dma.c"
#endif
#ifdef STM32L0xx
#include "stm32l0xx_hal_dma.c"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_dma2d.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_dma2d.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_dma2d.c"
#endif
#ifdef STM32L4xx
#include "stm32l4xx_hal_dma2d.c"
#endif
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_dma_ex.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_dma_ex.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_dma_ex.c"
#endif
#ifdef STM32L4xx
#include "stm32l4xx_hal_dma_ex.c"
#endif
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_eth.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_eth.c"
#endif
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_eth_ex.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#ifdef STM32H7xx
#include "stm32h7xx_hal_eth_ex.c"
#endif
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_exti.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifdef STM32H7xx
#include "stm32h7xx_hal_exti.c"
#endif
#ifdef STM32L4xx
#include "stm32l4xx_hal_exti.c"
#endif
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_fdcan.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#ifdef STM32H7xx
#include "stm32h7xx_hal_fdcan.c"
#endif
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_flash.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_flash.c"
#endif
#ifdef STM32L0xx
#include "stm32l0xx_hal_flash.c"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_flash_ex.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_flash_ex.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_flash_ex.c"
#endif
#ifdef STM32L0xx
#include "stm32l0xx_hal_flash_ex.c"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_gpio.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_gpio.c"
#endif
#ifdef STM32L0xx
#include "stm32l0xx_hal_gpio.c"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_hash.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_hash.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_hash.c"
#endif
#ifdef STM32L4xx
#include "stm32l4xx_hal_hash.c"
#endif
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_hash_ex.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_hash_ex.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_hash_ex.c"
#endif
#ifdef STM32L4xx
#include "stm32l4xx_hal_hash_ex.c"
#endif
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_hcd.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_hcd.c"
#endif
#ifdef STM32L4xx
#include "stm32l4xx_hal_hcd.c"
#endif
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_hrtim.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifdef STM32F3xx
#include "stm32f3xx_hal_hrtim.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_hrtim.c"
#endif
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_hsem.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#ifdef STM32H7xx
#include "stm32h7xx_hal_hsem.c"
#endif
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_i2c.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_i2c.c"
#endif
#ifdef STM32L0xx
#include "stm32l0xx_hal_i2c.c"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_i2c_ex.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_i2c_ex.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_i2c_ex.c"
#endif
#ifdef STM32L0xx
#include "stm32l0xx_hal_i2c_ex.c"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_i2s.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_i2s.c"
#endif
#ifdef STM32L0xx
#include "stm32l0xx_hal_i2s.c"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_i2s_ex.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
#ifdef STM32F4xx
#include "stm32f4xx_hal_i2s_ex.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_i2s_ex.c"
#endif
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_irda.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_irda.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_irda.c"
#endif
#ifdef STM32L0xx
#include "stm32l0xx_hal_irda.c"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_iwdg.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_iwdg.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_iwdg.c"
#endif
#ifdef STM32L0xx
#include "stm32l0xx_hal_iwdg.c"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_jpeg.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_jpeg.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_jpeg.c"
#endif
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_lptim.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_lptim.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_lptim.c"
#endif
#ifdef STM32L0xx
#include "stm32l0xx_hal_lptim.c"
#endif
Expand Down
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_ltdc.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_ltdc.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_ltdc.c"
#endif
#ifdef STM32L4xx
#include "stm32l4xx_hal_ltdc.c"
#endif
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_mdios.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_mdios.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_mdios.c"
#endif
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_mdma.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#ifdef STM32H7xx
#include "stm32h7xx_hal_mdma.c"
#endif
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_mmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
#ifdef STM32F7xx
#include "stm32f7xx_hal_mmc.c"
#endif
#ifdef STM32H7xx
#include "stm32h7xx_hal_mmc.c"
#endif
3 changes: 3 additions & 0 deletions cores/arduino/stm32/HAL/stm32yyxx_hal_mmc_ex.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#ifdef STM32H7xx
#include "stm32h7xx_hal_mmc_ex.c"
#endif
Loading