From 0d3453a47e522fbb13b211e44ce4007b666686f3 Mon Sep 17 00:00:00 2001 From: Christian Mauderer Date: Fri, 28 May 2021 16:54:00 +0200 Subject: bsps/imxrt: Simplify linkcmds and make it flexible Calling the memory FLASH and EXTRAM instead of FLEXSPI and SDRAM makes it simpler to support other types of external RAM. This patch also removes some of the calculations and improves names and documentation to avoid pitfalls. It removes a unnecessary memory definition. Update #4180 --- spec/build/bsps/arm/imxrt/optmemextramsz.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 spec/build/bsps/arm/imxrt/optmemextramsz.yml (limited to 'spec/build/bsps/arm/imxrt/optmemextramsz.yml') diff --git a/spec/build/bsps/arm/imxrt/optmemextramsz.yml b/spec/build/bsps/arm/imxrt/optmemextramsz.yml new file mode 100644 index 0000000000..6999add5cc --- /dev/null +++ b/spec/build/bsps/arm/imxrt/optmemextramsz.yml @@ -0,0 +1,19 @@ +actions: +- get-integer: null +- env-assign: null +build-type: option +default: 0x2000000 +default-by-variant: [] +enabled-by: true +format: '{:#010x}' +links: [] +name: IMXRT_MEMORY_EXTRAM_SIZE +description: | + Size of the external RAM in bytes. An external ram can be for example be a + SDRAM connected to SEMC or a HyperRAM connected to FlexSPI. The size has to + be at least big enough to hold the non cached section with size + IMXRT_MEMORY_EXTRAM_NOCACHE_SIZE at the end of the RAM. +type: build +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) -- cgit v1.2.3