From b0823680333a92ba1cc9930881c273c77fd82fa2 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Sat, 23 May 2020 16:05:09 +0200 Subject: [PATCH] boards/stm32f429i-disco: add support The boards/stm32f429i-disco board is an ealier version of the stm32f429i-disc1. The boards are compatible with the difference that the older on-board debugger does not provide a UART connection. To spare the user of having to wire up a USB-TTL adapter, enable CDC-ACM on the micro-USB port. --- boards/stm32f429i-disco/Makefile | 2 ++ boards/stm32f429i-disco/Makefile.dep | 5 +++++ boards/stm32f429i-disco/Makefile.features | 1 + boards/stm32f429i-disco/Makefile.include | 4 ++++ boards/stm32f429i-disco/doc.txt | 13 +++++++++++++ 5 files changed, 25 insertions(+) create mode 100644 boards/stm32f429i-disco/Makefile create mode 100644 boards/stm32f429i-disco/Makefile.dep create mode 100644 boards/stm32f429i-disco/Makefile.features create mode 100644 boards/stm32f429i-disco/Makefile.include create mode 100644 boards/stm32f429i-disco/doc.txt diff --git a/boards/stm32f429i-disco/Makefile b/boards/stm32f429i-disco/Makefile new file mode 100644 index 0000000000..44ebe46cc1 --- /dev/null +++ b/boards/stm32f429i-disco/Makefile @@ -0,0 +1,2 @@ +DIRS = $(RIOTBOARD)/stm32f429i-disc1 +include $(RIOTBASE)/Makefile.base diff --git a/boards/stm32f429i-disco/Makefile.dep b/boards/stm32f429i-disco/Makefile.dep new file mode 100644 index 0000000000..3d55a69db7 --- /dev/null +++ b/boards/stm32f429i-disco/Makefile.dep @@ -0,0 +1,5 @@ +ifeq (,$(filter stdio_% slipdev_stdio,$(USEMODULE))) + USEMODULE += stdio_cdc_acm +endif + +include $(RIOTBOARD)/stm32f429i-disc1/Makefile.dep diff --git a/boards/stm32f429i-disco/Makefile.features b/boards/stm32f429i-disco/Makefile.features new file mode 100644 index 0000000000..efa16e373d --- /dev/null +++ b/boards/stm32f429i-disco/Makefile.features @@ -0,0 +1 @@ +include $(RIOTBOARD)/stm32f429i-disc1/Makefile.features diff --git a/boards/stm32f429i-disco/Makefile.include b/boards/stm32f429i-disco/Makefile.include new file mode 100644 index 0000000000..24c1042b7d --- /dev/null +++ b/boards/stm32f429i-disco/Makefile.include @@ -0,0 +1,4 @@ +STLINK_VERSION ?= 2 +INCLUDES += -I$(RIOTBOARD)/stm32f429i-disc1/include + +include $(RIOTBOARD)/stm32f429i-disc1/Makefile.include diff --git a/boards/stm32f429i-disco/doc.txt b/boards/stm32f429i-disco/doc.txt new file mode 100644 index 0000000000..060e7b4235 --- /dev/null +++ b/boards/stm32f429i-disco/doc.txt @@ -0,0 +1,13 @@ +/** + * @defgroup boards_stm32f429i-disco STM32F429I-DISCO + * @ingroup boards + * @brief Support for the STM32F429I-DISCO board + */ + +### General information + +The board is identical to the @ref boards_stm32f429i-disc1 except that it uses +an older on-board ST-LINK debugger that does not provide a serial UART interface. + +To mitigate that, stdio is instead provided through the micro-USB connector using +RIOT's CDC ACM functionality.