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/optlinkcmds.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'spec/build/bsps/arm/imxrt/optlinkcmds.yml') diff --git a/spec/build/bsps/arm/imxrt/optlinkcmds.yml b/spec/build/bsps/arm/imxrt/optlinkcmds.yml index ba20c3838f..4349ad332e 100644 --- a/spec/build/bsps/arm/imxrt/optlinkcmds.yml +++ b/spec/build/bsps/arm/imxrt/optlinkcmds.yml @@ -9,7 +9,8 @@ format: '{}' links: [] name: IMXRT_DEFAULT_LINKCMDS description: | - The default linker command file. Must be linkcmds.sdram or linkcmds.flexspi. + The default linker command file. Must be linkcmds.sdram, linkcmds.ocram or + linkcmds.flexspi. type: build SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause copyrights: -- cgit v1.2.3