Browse Source
Port the board to HWMv2. Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>pull/69687/head
24 changed files with 29 additions and 45 deletions
@ -1,14 +0,0 @@ |
|||||||
# STM32H747I Discovery board configuration |
|
||||||
|
|
||||||
# Copyright (c) 2019 Linaro Limited |
|
||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
config BOARD_STM32H747I_DISCO_M7 |
|
||||||
bool "STM32H747I Discovery Development Board" |
|
||||||
depends on SOC_STM32H747XX |
|
||||||
select CPU_CORTEX_M7 |
|
||||||
|
|
||||||
config BOARD_STM32H747I_DISCO_M4 |
|
||||||
bool "STM32H747I Discovery Development Board" |
|
||||||
depends on SOC_STM32H747XX |
|
||||||
select CPU_CORTEX_M4 |
|
@ -0,0 +1,8 @@ |
|||||||
|
# STM32H747I DISCOVERY board configuration |
||||||
|
|
||||||
|
# Copyright (c) 2019 Linaro Limited |
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
config BOARD_STM32H747I_DISCO |
||||||
|
select SOC_STM32H747XX_M7 if BOARD_STM32H747I_DISCO_STM32H747XX_M7 |
||||||
|
select SOC_STM32H747XX_M4 if BOARD_STM32H747I_DISCO_STM32H747XX_M4 |
@ -1,10 +1,10 @@ |
|||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
if(CONFIG_BOARD_STM32H747I_DISCO_M7) |
if(CONFIG_BOARD_STM32H747I_DISCO_STM32H747XX_M7) |
||||||
board_runner_args(jlink "--device=STM32H747ZI_M7") |
board_runner_args(jlink "--device=STM32H747ZI_M7") |
||||||
board_runner_args(openocd "--config=${BOARD_DIR}/support/openocd_stm32h747i_disco_m7.cfg") |
board_runner_args(openocd "--config=${BOARD_DIR}/support/openocd_stm32h747i_disco_m7.cfg") |
||||||
board_runner_args(openocd --target-handle=_CHIPNAME.cpu0) |
board_runner_args(openocd --target-handle=_CHIPNAME.cpu0) |
||||||
elseif(CONFIG_BOARD_STM32H747I_DISCO_M4) |
elseif(CONFIG_BOARD_STM32H747I_DISCO_STM32H747XX_M4) |
||||||
board_runner_args(jlink "--device=STM32H747ZI_M4") |
board_runner_args(jlink "--device=STM32H747ZI_M4") |
||||||
board_runner_args(openocd "--config=${BOARD_DIR}/support/openocd_stm32h747i_disco_m4.cfg") |
board_runner_args(openocd "--config=${BOARD_DIR}/support/openocd_stm32h747i_disco_m4.cfg") |
||||||
board_runner_args(openocd --target-handle=_CHIPNAME.cpu1) |
board_runner_args(openocd --target-handle=_CHIPNAME.cpu1) |
@ -0,0 +1,5 @@ |
|||||||
|
board: |
||||||
|
name: stm32h747i_disco |
||||||
|
vendor: st |
||||||
|
socs: |
||||||
|
- name: stm32h747xx |
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
@ -1,4 +1,4 @@ |
|||||||
identifier: stm32h747i_disco_m4 |
identifier: stm32h747i_disco/stm32h747xx/m4 |
||||||
name: ST STM32H747I Discovery (M4) |
name: ST STM32H747I Discovery (M4) |
||||||
type: mcu |
type: mcu |
||||||
arch: arm |
arch: arm |
@ -1,11 +1,5 @@ |
|||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
CONFIG_SOC_SERIES_STM32H7X=y |
|
||||||
CONFIG_SOC_STM32H747XX=y |
|
||||||
|
|
||||||
# Board config should be specified since there are 2 possible targets |
|
||||||
CONFIG_BOARD_STM32H747I_DISCO_M4=y |
|
||||||
|
|
||||||
# enable GPIO |
# enable GPIO |
||||||
CONFIG_GPIO=y |
CONFIG_GPIO=y |
||||||
|
|
@ -1,4 +1,4 @@ |
|||||||
identifier: stm32h747i_disco_m7 |
identifier: stm32h747i_disco/stm32h747xx/m7 |
||||||
name: ST STM32H747I Discovery (M7) |
name: ST STM32H747I Discovery (M7) |
||||||
type: mcu |
type: mcu |
||||||
arch: arm |
arch: arm |
@ -1,11 +1,5 @@ |
|||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
CONFIG_SOC_SERIES_STM32H7X=y |
|
||||||
CONFIG_SOC_STM32H747XX=y |
|
||||||
|
|
||||||
# Board config should be specified since there are 2 possible targets |
|
||||||
CONFIG_BOARD_STM32H747I_DISCO_M7=y |
|
||||||
|
|
||||||
# Enable the internal SMPS regulator |
# Enable the internal SMPS regulator |
||||||
CONFIG_POWER_SUPPLY_DIRECT_SMPS=y |
CONFIG_POWER_SUPPLY_DIRECT_SMPS=y |
||||||
|
|
Loading…
Reference in new issue