mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #17954 from aabadie/pr/boards/stm32f750n8-dk
boards/stm32f750n8-dk: add support
This commit is contained in:
commit
12758b94fc
@ -1,17 +1,4 @@
|
||||
CPU = stm32
|
||||
CPU_MODEL = stm32f746ng
|
||||
|
||||
# Put defined MCU peripherals here (in alphabetical order)
|
||||
FEATURES_PROVIDED += periph_dma
|
||||
FEATURES_PROVIDED += periph_eth
|
||||
FEATURES_PROVIDED += periph_i2c
|
||||
FEATURES_PROVIDED += periph_ltdc
|
||||
FEATURES_PROVIDED += periph_rtc
|
||||
FEATURES_PROVIDED += periph_rtt
|
||||
FEATURES_PROVIDED += periph_spi
|
||||
FEATURES_PROVIDED += periph_timer
|
||||
FEATURES_PROVIDED += periph_uart
|
||||
FEATURES_PROVIDED += periph_usbdev
|
||||
|
||||
# stm32f746g-disco provides a custom default Kconfig clock configuration
|
||||
KCONFIG_BOARD_CONFIG += $(RIOTBOARD)/stm32f746g-disco/clock.config
|
||||
include $(RIOTBOARD)/stm32f746g-disco/features-shared.mk
|
||||
|
14
boards/stm32f746g-disco/features-shared.mk
Normal file
14
boards/stm32f746g-disco/features-shared.mk
Normal file
@ -0,0 +1,14 @@
|
||||
# Put defined MCU peripherals here (in alphabetical order)
|
||||
FEATURES_PROVIDED += periph_dma
|
||||
FEATURES_PROVIDED += periph_eth
|
||||
FEATURES_PROVIDED += periph_i2c
|
||||
FEATURES_PROVIDED += periph_ltdc
|
||||
FEATURES_PROVIDED += periph_rtc
|
||||
FEATURES_PROVIDED += periph_rtt
|
||||
FEATURES_PROVIDED += periph_spi
|
||||
FEATURES_PROVIDED += periph_timer
|
||||
FEATURES_PROVIDED += periph_uart
|
||||
FEATURES_PROVIDED += periph_usbdev
|
||||
|
||||
# stm32f746g-disco provides a custom default Kconfig clock configuration
|
||||
KCONFIG_BOARD_CONFIG += $(RIOTBOARD)/stm32f746g-disco/clock.config
|
34
boards/stm32f7508-dk/Kconfig
Normal file
34
boards/stm32f7508-dk/Kconfig
Normal file
@ -0,0 +1,34 @@
|
||||
# Copyright (c) 2022 Inria
|
||||
#
|
||||
# This file is subject to the terms and conditions of the GNU Lesser
|
||||
# General Public License v2.1. See the file LICENSE in the top level
|
||||
# directory for more details.
|
||||
|
||||
config BOARD
|
||||
default "stm32f7508-dk" if BOARD_STM32F7508_DK
|
||||
|
||||
config BOARD_STM32F7508_DK
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_STM32F750N8
|
||||
|
||||
# Put defined MCU peripherals here (in alphabetical order)
|
||||
select HAS_PERIPH_DMA
|
||||
select HAS_PERIPH_ETH
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_LTDC
|
||||
select HAS_PERIPH_RTC
|
||||
select HAS_PERIPH_RTT
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_PERIPH_USBDEV
|
||||
|
||||
# Clock configuration
|
||||
select BOARD_HAS_HSE
|
||||
select BOARD_HAS_LSE
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
select HAVE_FT5X06
|
||||
|
||||
source "$(RIOTBOARD)/common/stm32/Kconfig"
|
5
boards/stm32f7508-dk/Makefile
Normal file
5
boards/stm32f7508-dk/Makefile
Normal file
@ -0,0 +1,5 @@
|
||||
MODULE = board
|
||||
|
||||
DIRS = $(RIOTBOARD)/stm32f746g-disco
|
||||
|
||||
include $(RIOTBASE)/Makefile.base
|
1
boards/stm32f7508-dk/Makefile.dep
Normal file
1
boards/stm32f7508-dk/Makefile.dep
Normal file
@ -0,0 +1 @@
|
||||
include $(RIOTBOARD)/stm32f746g-disco/Makefile.dep
|
4
boards/stm32f7508-dk/Makefile.features
Normal file
4
boards/stm32f7508-dk/Makefile.features
Normal file
@ -0,0 +1,4 @@
|
||||
CPU = stm32
|
||||
CPU_MODEL = stm32f750n8
|
||||
|
||||
include $(RIOTBOARD)/stm32f746g-disco/features-shared.mk
|
3
boards/stm32f7508-dk/Makefile.include
Normal file
3
boards/stm32f7508-dk/Makefile.include
Normal file
@ -0,0 +1,3 @@
|
||||
INCLUDES += -I$(RIOTBOARD)/stm32f746g-disco/include
|
||||
|
||||
include $(RIOTBOARD)/stm32f746g-disco/Makefile.include
|
60
boards/stm32f7508-dk/doc.txt
Normal file
60
boards/stm32f7508-dk/doc.txt
Normal file
@ -0,0 +1,60 @@
|
||||
/**
|
||||
* @defgroup boards_stm32f750n8-dk STM32F750N8-DK
|
||||
* @ingroup boards
|
||||
* @brief Support for the STM32F750N8-DK board.
|
||||
|
||||
## Overview
|
||||
|
||||
The ST [STM32F750N8-DK](https://www.st.com/en/evaluation-tools/stm32f7508-dk.html)
|
||||
is an evaluation board supporting a ARM Cortex-M7 STM32750N8 microcontroller
|
||||
with 340KB of RAM and 64KB of ROM Flash. This board is just a clone of the
|
||||
STM32F746G-DISCO board with a different microcontroller. The pinout
|
||||
is identical.
|
||||
|
||||
As a result, the main features available on this board are shared with the ones
|
||||
provided by the STM32F746G-DISCO:
|
||||
- a 4"3 RGB 480×272 color LCD-TFT with capacitive touch screen,
|
||||
- an ethernet port
|
||||
- 2 user USB ports (FS and HS)
|
||||
- 2 user digital microphones
|
||||
- 128M-bit external Quas-SPI flash
|
||||
- 128M-bit external SDRAM
|
||||
|
||||
Current hardware support:
|
||||
|
||||
| Feature | Support | Configuration |
|
||||
| ------------- | :---------------------: | --------------------- |
|
||||
| UART | X | USART1 on PB7/PA9 (stdio) and USART6 on PC6/PC7 |
|
||||
| SPI | X | SPI2 on PB15/PB14/PI1 |
|
||||
| I2C | X | I2C1 on PB8/PB9 |
|
||||
| Ethernet | X | |
|
||||
| USB OTG FS | X | |
|
||||
| USB OTG HS | - | |
|
||||
| TFT LCD | X | |
|
||||
| Capacitive touch screen | X | |
|
||||
| User microphones | - | |
|
||||
| External Quad-SPI Flash | - | |
|
||||
| External SDRAM | - | |
|
||||
|
||||
## Flashing the device
|
||||
|
||||
The STM32F750N8-DK board includes an on-board ST-LINK programmer and can be
|
||||
flashed using OpenOCD.
|
||||
The board can be flashed with:
|
||||
|
||||
```
|
||||
make BOARD=stm32f750n8-dk flash
|
||||
```
|
||||
|
||||
and debug via GDB with
|
||||
```
|
||||
make BOARD=stm32f750n8-dk debug
|
||||
```
|
||||
|
||||
## Supported Toolchains
|
||||
|
||||
For using the STM32F750N8-DK board we recommend the usage of the
|
||||
[GNU Tools for ARM Embedded Processors](https://launchpad.net/gcc-arm-embedded)
|
||||
toolchain.
|
||||
|
||||
*/
|
@ -31,6 +31,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stk3200 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
telosb \
|
||||
|
@ -39,6 +39,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stk3200 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
stm32mp157c-dk2 \
|
||||
|
@ -44,6 +44,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stk3200 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
stm32mindev \
|
||||
|
@ -7,7 +7,6 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
calliope-mini \
|
||||
cc2650-launchpad \
|
||||
cc2650stk \
|
||||
calliope-mini \
|
||||
hifive1 \
|
||||
i-nucleo-lrwan1 \
|
||||
im880b \
|
||||
@ -38,6 +37,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stk3200 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
stm32mindev \
|
||||
|
@ -43,6 +43,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stk3200 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
stm32mp157c-dk2 \
|
||||
|
@ -57,6 +57,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stk3200 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
stm32mp157c-dk2 \
|
||||
|
@ -42,6 +42,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stk3200 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
stm32mp157c-dk2 \
|
||||
|
@ -52,6 +52,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stk3200 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
stm32mp157c-dk2 \
|
||||
|
@ -99,6 +99,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f3discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
stm32mp157c-dk2 \
|
||||
|
@ -40,6 +40,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stk3200 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
stm32mp157c-dk2 \
|
||||
|
@ -28,6 +28,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stk3200 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
stm32mp157c-dk2 \
|
||||
|
@ -29,6 +29,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stk3200 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
stm32mp157c-dk2 \
|
||||
|
@ -35,6 +35,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stk3200 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
telosb \
|
||||
|
@ -36,6 +36,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stk3200 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
stm32mp157c-dk2 \
|
||||
|
@ -1,37 +1,26 @@
|
||||
BOARD_INSUFFICIENT_MEMORY64K :=\
|
||||
BOARD_INSUFFICIENT_MEMORY := \
|
||||
blackpill \
|
||||
bluepill \
|
||||
bluepill-stm32f030c8 \
|
||||
i-nucleo-lrwan1 \
|
||||
nucleo-f030r8 \
|
||||
nucleo-f031k6 \
|
||||
nucleo-f042k6 \
|
||||
nucleo-f302r8 \
|
||||
nucleo-f303k8 \
|
||||
nucleo-f334r8 \
|
||||
nucleo-l053r8 \
|
||||
stm32f0discovery \
|
||||
stm32l0538-disco\
|
||||
stm32mp157c-dk2 \
|
||||
#
|
||||
|
||||
BOARD_INSUFFICIENT_MEMORY32K :=\
|
||||
nucleo-f031k6 \
|
||||
nucleo-f042k6 \
|
||||
nucleo-l031k6 \
|
||||
stm32g0316-disco \
|
||||
#
|
||||
|
||||
BOARD_INSUFFICIENT_MEMORY16K :=\
|
||||
nucleo-l011k4 \
|
||||
stm32f030f4-demo \
|
||||
#
|
||||
|
||||
BOARD_INSUFFICIENT_MEMORY := \
|
||||
slstk3400a \
|
||||
stk3200 \
|
||||
nucleo-l031k6 \
|
||||
nucleo-l053r8 \
|
||||
samd10-xmini \
|
||||
saml10-xpro \
|
||||
saml11-xpro \
|
||||
$(BOARD_INSUFFICIENT_MEMORY64K) \
|
||||
$(BOARD_INSUFFICIENT_MEMORY32K) \
|
||||
$(BOARD_INSUFFICIENT_MEMORY16K) \
|
||||
slstk3400a \
|
||||
stk3200 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
stm32mp157c-dk2 \
|
||||
#
|
||||
|
@ -49,6 +49,7 @@ BOARD_PROVIDES_NETIF := \
|
||||
samr30-xpro \
|
||||
spark-core \
|
||||
stm32f746g-disco \
|
||||
stm32f7508-dk \
|
||||
telosb \
|
||||
thingy52 \
|
||||
usb-kw41z \
|
||||
|
@ -36,6 +36,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stk3200 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32l0538-disco \
|
||||
telosb \
|
||||
waspmote-pro \
|
||||
|
@ -58,6 +58,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stk3200 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
stm32mp157c-dk2 \
|
||||
|
@ -38,6 +38,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stk3200 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
stm32mp157c-dk2 \
|
||||
|
@ -59,6 +59,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stk3200 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
stm32mp157c-dk2 \
|
||||
|
@ -38,6 +38,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stk3200 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
stm32mp157c-dk2 \
|
||||
|
@ -38,6 +38,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stk3200 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
stm32mp157c-dk2 \
|
||||
|
@ -45,6 +45,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stk3200 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
stm32mp157c-dk2 \
|
||||
|
@ -23,6 +23,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stk3200 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
stm32mp157c-dk2 \
|
||||
|
@ -19,6 +19,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stk3200 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
stm32mp157c-dk2 \
|
||||
|
@ -27,6 +27,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
samd10-xmini \
|
||||
saml10-xpro \
|
||||
saml11-xpro \
|
||||
stm32f7508-dk \
|
||||
waspmote-pro \
|
||||
zigduino \
|
||||
#
|
||||
|
@ -45,6 +45,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stk3200 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32l0538-disco \
|
||||
stm32mp157c-dk2 \
|
||||
yunjia-nrf51822 \
|
||||
|
@ -19,6 +19,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stk3200 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
stm32mp157c-dk2 \
|
||||
|
@ -20,6 +20,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stk3200 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
stm32mp157c-dk2 \
|
||||
|
@ -19,6 +19,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stk3200 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
stm32mp157c-dk2 \
|
||||
|
@ -7,4 +7,4 @@ config APPLICATION
|
||||
config BOARD_HAS_DISPLAY
|
||||
bool
|
||||
default y
|
||||
depends on BOARD_PINETIME || BOARD_ADAFRUIT_CLUE || BOARD_ADAFRUIT_PYBADGE || BOARD_STM32F429I_DISC1 || BOARD_STM32F429I_DISCO || BOARD_STM32F746G_DISCO || BOARD_ESP32_WROVER_KIT
|
||||
depends on BOARD_PINETIME || BOARD_ADAFRUIT_CLUE || BOARD_ADAFRUIT_PYBADGE || BOARD_STM32F429I_DISC1 || BOARD_STM32F429I_DISCO || BOARD_STM32F746G_DISCO || BOARD_STM32F7508_DK || BOARD_ESP32_WROVER_KIT
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Boards with a screen can use disp_dev
|
||||
ifneq (,$(filter stm32f429i-disc% stm32f746g-disco pinetime adafruit-clue adafruit-pybadge esp32-wrover-kit,$(BOARD)))
|
||||
ifneq (,$(filter stm32f429i-disc% stm32f746g-disco stm32f7508-dk pinetime adafruit-clue adafruit-pybadge esp32-wrover-kit,$(BOARD)))
|
||||
USEMODULE += disp_dev
|
||||
endif
|
||||
|
@ -92,6 +92,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stk3600 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
stm32mp157c-dk2 \
|
||||
|
@ -44,6 +44,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stk3200 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
stm32mindev \
|
||||
|
@ -42,6 +42,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stk3200 \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
stm32mp157c-dk2 \
|
||||
|
@ -18,9 +18,9 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
slstk3400a \
|
||||
spark-core \
|
||||
stk3200 \
|
||||
spark-core \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
stm32mp157c-dk2 \
|
||||
|
@ -114,6 +114,7 @@ BOARD_INSUFFICIENT_MEMORY := \
|
||||
stm32f030f4-demo \
|
||||
stm32f0discovery \
|
||||
stm32f3discovery \
|
||||
stm32f7508-dk \
|
||||
stm32g0316-disco \
|
||||
stm32l0538-disco \
|
||||
stm32mp157c-dk2 \
|
||||
|
Loading…
Reference in New Issue
Block a user