From c48bedd13a8eb25bfd7683baca2cd2c710e5d6f3 Mon Sep 17 00:00:00 2001 From: Karel Gardas Date: Fri, 1 Apr 2022 18:14:12 +0200 Subject: bsp/stm32h7: add flash latency configuration --- spec/build/bsps/arm/stm32h7/grp.yml | 2 ++ spec/build/bsps/arm/stm32h7/optmemflashlatency.yml | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 spec/build/bsps/arm/stm32h7/optmemflashlatency.yml (limited to 'spec') diff --git a/spec/build/bsps/arm/stm32h7/grp.yml b/spec/build/bsps/arm/stm32h7/grp.yml index e3b44d9593..7cb8f698cc 100644 --- a/spec/build/bsps/arm/stm32h7/grp.yml +++ b/spec/build/bsps/arm/stm32h7/grp.yml @@ -49,6 +49,8 @@ links: uid: optmemdtcmsz - role: build-dependency uid: optmemflashsz +- role: build-dependency + uid: optmemflashlatency - role: build-dependency uid: optmemitcmsz - role: build-dependency diff --git a/spec/build/bsps/arm/stm32h7/optmemflashlatency.yml b/spec/build/bsps/arm/stm32h7/optmemflashlatency.yml new file mode 100644 index 0000000000..cf5422acb6 --- /dev/null +++ b/spec/build/bsps/arm/stm32h7/optmemflashlatency.yml @@ -0,0 +1,19 @@ +actions: +- get-string: null +- define-unquoted: null +build-type: option +default: FLASH_LATENCY_4 +default-by-variant: +- value: FLASH_LATENCY_6 + variants: + - arm/stm32h7b3i-dk +enabled-by: true +format: '{}' +links: [] +name: STM32H7_FLASH_LATENCY +description: | + Internal Flash latency +type: build +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +copyrights: +- Copyright (C) 2022 Karel Gardas -- cgit v1.2.3