From 0acc136039fd1de72b276be6130a66551e546823 Mon Sep 17 00:00:00 2001 From: Karel Gardas Date: Fri, 1 Apr 2022 18:14:11 +0200 Subject: bsp/stm32h7: add configuration for USART1 GPIO pins, registers and alternate function --- spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml (limited to 'spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml') diff --git a/spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml b/spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml new file mode 100644 index 0000000000..1580ded243 --- /dev/null +++ b/spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml @@ -0,0 +1,19 @@ +actions: +- get-string: null +- define-unquoted: null +build-type: option +default: ( GPIO_PIN_14 | GPIO_PIN_15 ) +default-by-variant: +- value: ( GPIO_PIN_9 | GPIO_PIN_10 ) + variants: + - arm/stm32h7b3i-dk +enabled-by: true +format: '{}' +links: [] +name: STM32H7_USART1_GPIO_PINS +description: | + GPIO pins used for the USART1 pin configuration. +type: build +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +copyrights: +- Copyright (C) 2021-22 embedded brains GmbH (http://www.embedded-brains.de) -- cgit v1.2.3