From 691fec407a0faae379cab23679ec8456ace9fb06 Mon Sep 17 00:00:00 2001 From: Christian Mauderer Date: Tue, 11 May 2021 13:46:56 +0200 Subject: bsps/imxrt: Fix OCRAM, ITCM and DTCM sizes The sizes are configurable via fuses or per software via some registers. At the moment the registers are not changed. Changing the registers destroys data stored in the RAM areas (like application code or data). So either the fuses or some bootloader should be used to set them before the application starts. This also adds an OCRAM only linker command file. Update #4180 --- spec/build/bsps/arm/imxrt/optmemocramnocachesz.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 spec/build/bsps/arm/imxrt/optmemocramnocachesz.yml (limited to 'spec/build/bsps/arm/imxrt/optmemocramnocachesz.yml') diff --git a/spec/build/bsps/arm/imxrt/optmemocramnocachesz.yml b/spec/build/bsps/arm/imxrt/optmemocramnocachesz.yml new file mode 100644 index 0000000000..8e68a08708 --- /dev/null +++ b/spec/build/bsps/arm/imxrt/optmemocramnocachesz.yml @@ -0,0 +1,16 @@ +actions: +- get-integer: null +- env-assign: null +build-type: option +default: 0 +default-by-variant: [] +enabled-by: true +format: '{:#010x}' +links: [] +name: IMXRT_MEMORY_OCRAM_NOCACHE_SIZE +description: | + Size of the nocache area at the end of the OCRAM in bytes. +type: build +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +copyrights: +- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de) -- cgit v1.2.3