diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2017-11-09 13:43:58 +0100 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-01-08 05:41:23 -0800 |
commit | e24a3953c2c23df219fc0c735e0c188fd8edbded (patch) | |
tree | d1b36505f04da9767ba75513287364f86f9b5eeb /chip/stm32/config_chip.h | |
parent | 57bb4ddf4163dbe3da48ba56464adbabfa596344 (diff) | |
download | chrome-ec-e24a3953c2c23df219fc0c735e0c188fd8edbded.tar.gz |
stm32: Add STM32H7 family
Start adding support for the STM32H7 family of device and the first
available one the STM32H743.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BRANCH=none
BUG=b:67081508
TEST=manual, run on stm32h743i-eval and zerblebarn boards
get a stable serial console.
Change-Id: I9ae10f0d843e5318451713c21ed22d455a23758c
Reviewed-on: https://chromium-review.googlesource.com/806168
Commit-Ready: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'chip/stm32/config_chip.h')
-rw-r--r-- | chip/stm32/config_chip.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chip/stm32/config_chip.h b/chip/stm32/config_chip.h index 43769cf2bf..f9dcc2fda7 100644 --- a/chip/stm32/config_chip.h +++ b/chip/stm32/config_chip.h @@ -57,6 +57,8 @@ #elif defined(CHIP_VARIANT_STM32F03X) /* STM32F03x */ #include "config-stm32f03x.h" +#elif defined(CHIP_VARIANT_STM32H7X3) +#include "config-stm32h7x3.h" #else #error "Unsupported chip variant" #endif @@ -70,7 +72,9 @@ /* Program is run directly from storage */ #define CONFIG_MAPPED_STORAGE_BASE CONFIG_PROGRAM_MEMORY_BASE -#if !defined(CHIP_FAMILY_STM32F4) && !defined(CHIP_VARIANT_STM32F09X) +#if !defined(CHIP_FAMILY_STM32F4) && \ + !defined(CHIP_FAMILY_STM32H7) && \ + !defined(CHIP_VARIANT_STM32F09X) /* Compute the rest of the flash params from these */ #include "config_std_internal_flash.h" #endif |