Skip to content
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

hwmv2: port STM32F7 SoCs and boards #68566

Merged
merged 9 commits into from
Feb 8, 2024
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: 0 additions & 8 deletions boards/boards_legacy/arm/nucleo_f722ze/Kconfig.board

This file was deleted.

8 changes: 0 additions & 8 deletions boards/boards_legacy/arm/nucleo_f746zg/Kconfig.board

This file was deleted.

8 changes: 0 additions & 8 deletions boards/boards_legacy/arm/nucleo_f756zg/Kconfig.board

This file was deleted.

8 changes: 0 additions & 8 deletions boards/boards_legacy/arm/nucleo_f767zi/Kconfig.board

This file was deleted.

8 changes: 0 additions & 8 deletions boards/boards_legacy/arm/stm32f723e_disco/Kconfig.board

This file was deleted.

8 changes: 0 additions & 8 deletions boards/boards_legacy/arm/stm32f746g_disco/Kconfig.board

This file was deleted.

8 changes: 0 additions & 8 deletions boards/boards_legacy/arm/stm32f7508_dk/Kconfig.board

This file was deleted.

8 changes: 0 additions & 8 deletions boards/boards_legacy/arm/stm32f769i_disco/Kconfig.board

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@

if BOARD_NUCLEO_F722ZE

config BOARD
default "nucleo_f722ze"

config SPI_STM32_INTERRUPT
default y
depends on SPI
Expand Down
5 changes: 5 additions & 0 deletions boards/st/nucleo_f722ze/Kconfig.nucleo_f722ze
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright (c) 2023 Evan Perry Grove
# SPDX-License-Identifier: Apache-2.0

config BOARD_NUCLEO_F722ZE
select SOC_STM32F722XX
5 changes: 5 additions & 0 deletions boards/st/nucleo_f722ze/board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
board:
name: nucleo_f722ze
vendor: st
socs:
- name: stm32f722xx
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_SOC_SERIES_STM32F7X=y
CONFIG_SOC_STM32F722XX=y

# Enable MPU
CONFIG_ARM_MPU=y

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@

if BOARD_NUCLEO_F746ZG

config BOARD
default "nucleo_f746zg"

if NETWORKING

config NET_L2_ETHERNET
Expand Down
5 changes: 5 additions & 0 deletions boards/st/nucleo_f746zg/Kconfig.nucleo_f746zg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright (c) 2018 AJ Palmer
# SPDX-License-Identifier: Apache-2.0

config BOARD_NUCLEO_F746ZG
select SOC_STM32F746XX
5 changes: 5 additions & 0 deletions boards/st/nucleo_f746zg/board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
board:
name: nucleo_f746zg
vendor: st
socs:
- name: stm32f746xx
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_SOC_SERIES_STM32F7X=y
CONFIG_SOC_STM32F746XX=y

# Enable MPU
CONFIG_ARM_MPU=y

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@

if BOARD_NUCLEO_F756ZG

config BOARD
default "nucleo_f756zg"

if NETWORKING

config NET_L2_ETHERNET
Expand Down
5 changes: 5 additions & 0 deletions boards/st/nucleo_f756zg/Kconfig.nucleo_f756zg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright (c) 2018 AJ Palmer
# SPDX-License-Identifier: Apache-2.0

config BOARD_NUCLEO_F756ZG
select SOC_STM32F756XX
5 changes: 5 additions & 0 deletions boards/st/nucleo_f756zg/board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
board:
name: nucleo_f756zg
vendor: st
socs:
- name: stm32f756xx
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_SOC_SERIES_STM32F7X=y
CONFIG_SOC_STM32F756XX=y

# Enable MPU
CONFIG_ARM_MPU=y

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@

if BOARD_NUCLEO_F767ZI

config BOARD
default "nucleo_f767zi"

if NETWORKING

config NET_L2_ETHERNET
Expand Down
5 changes: 5 additions & 0 deletions boards/st/nucleo_f767zi/Kconfig.nucleo_f767zi
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright (c) 2019 Roland Ma
# SPDX-License-Identifier: Apache-2.0

config BOARD_NUCLEO_F767ZI
select SOC_STM32F767XX
5 changes: 5 additions & 0 deletions boards/st/nucleo_f767zi/board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
board:
name: nucleo_f767zi
vendor: st
socs:
- name: stm32f767xx
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_SOC_SERIES_STM32F7X=y
CONFIG_SOC_STM32F767XX=y

# Enable MPU
CONFIG_ARM_MPU=y

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@

if BOARD_STM32F723E_DISCO

config BOARD
default "stm32f723e_disco"

config SPI_STM32_INTERRUPT
default y
depends on SPI
Expand Down
5 changes: 5 additions & 0 deletions boards/st/stm32f723e_disco/Kconfig.stm32f723e_disco
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright (c) 2018 Aurelien Jarno
# SPDX-License-Identifier: Apache-2.0

config BOARD_STM32F723E_DISCO
select SOC_STM32F723XX
5 changes: 5 additions & 0 deletions boards/st/stm32f723e_disco/board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
board:
name: stm32f723e_disco
vendor: st
socs:
- name: stm32f723xx
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_SOC_SERIES_STM32F7X=y
CONFIG_SOC_STM32F723XX=y

# Enable MPU
CONFIG_ARM_MPU=y

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@

if BOARD_STM32F746G_DISCO

config BOARD
default "stm32f746g_disco"

if NETWORKING

config NET_L2_ETHERNET
Expand Down
5 changes: 5 additions & 0 deletions boards/st/stm32f746g_disco/Kconfig.stm32f746g_disco
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright (c) 2018 Yurii Hamann
# SPDX-License-Identifier: Apache-2.0

config BOARD_STM32F746G_DISCO
select SOC_STM32F746XX
5 changes: 5 additions & 0 deletions boards/st/stm32f746g_disco/board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
board:
name: stm32f746g_disco
vendor: st
socs:
- name: stm32f746xx
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_SOC_SERIES_STM32F7X=y
CONFIG_SOC_STM32F746XX=y

# Enable MPU
CONFIG_ARM_MPU=y

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@

if BOARD_STM32F7508_DK

config BOARD
default "stm32f7508_dk"

if NETWORKING

config NET_L2_ETHERNET
Expand Down
5 changes: 5 additions & 0 deletions boards/st/stm32f7508_dk/Kconfig.stm32f7508_dk
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright (c) 2022, Rtone.
# SPDX-License-Identifier: Apache-2.0

config BOARD_STM32F7508_DK
select SOC_STM32F750XX
5 changes: 5 additions & 0 deletions boards/st/stm32f7508_dk/board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
board:
name: stm32f7508_dk
vendor: st
socs:
- name: stm32f750xx
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# Copyright (c) 2022, Rtone.
# SPDX-License-Identifier: Apache-2.0

CONFIG_SOC_SERIES_STM32F7X=y
CONFIG_SOC_STM32F750XX=y

# Enable MPU
CONFIG_ARM_MPU=y

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@

if BOARD_STM32F769I_DISCO

config BOARD
default "stm32f769i_disco"

config SPI_STM32_INTERRUPT
default y
depends on SPI
Expand Down
5 changes: 5 additions & 0 deletions boards/st/stm32f769i_disco/Kconfig.stm32f769i_disco
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright (c) 2018 Yong Jin
# SPDX-License-Identifier: Apache-2.0

config BOARD_STM32F769I_DISCO
select SOC_STM32F769XX
5 changes: 5 additions & 0 deletions boards/st/stm32f769i_disco/board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
board:
name: stm32f769i_disco
vendor: st
socs:
- name: stm32f769xx
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

CONFIG_SOC_SERIES_STM32F7X=y
CONFIG_SOC_STM32F769XX=y

# Enable MPU
CONFIG_ARM_MPU=y

Expand Down
43 changes: 0 additions & 43 deletions soc/soc_legacy/arm/st_stm32/stm32f7/Kconfig.soc

This file was deleted.

11 changes: 11 additions & 0 deletions soc/st/stm32/soc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,14 @@ family:
- name: stm32f437xx
- name: stm32f446xx
- name: stm32f469xx
- name: stm32f7x
socs:
- name: stm32f722xx
- name: stm32f723xx
- name: stm32f745xx
- name: stm32f746xx
- name: stm32f750xx
- name: stm32f756xx
- name: stm32f765xx
- name: stm32f767xx
- name: stm32f769xx
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ zephyr_sources(
soc.c
)

zephyr_include_directories(.)

set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
Loading
Loading