boards: actinius_icarus_*: align def RAM plan with that of the nRF9160DK

Align the default RAM allocation to be according to that of the
nRF9160DK by reducing the reserved SRAM for the modem lib.

Signed-off-by: Alex Tsamakos <alex@actinius.com>
This commit is contained in:
Alex Tsamakos 2022-07-01 21:32:07 +02:00 committed by Fabio Baltieri
parent 7b4bf6b734
commit 4eb914219d
9 changed files with 25 additions and 25 deletions

View file

@ -6,7 +6,7 @@ toolchain:
- gnuarmemb
- xtools
- zephyr
ram: 64
ram: 88
flash: 256
supported:
- gpio

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2019-2020 Actinius
* Copyright (c) 2019-2022 Actinius
*
* SPDX-License-Identifier: Apache-2.0
*/
@ -220,7 +220,7 @@
/* Secure image memory */
};
sram0_modem: image_modem@20010000 {
sram0_modem: image_modem@20016000 {
/* Modem (shared) memory */
};

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2019 Actinius
* Copyright (c) 2019-2022 Actinius
*
* SPDX-License-Identifier: Apache-2.0
*/
@ -39,18 +39,18 @@
/* Default SRAM planning when building for nRF9160 with
* ARM TrustZone-M support
* - Lowest 64 kB SRAM allocated to Secure image (sram0_s).
* - 64 kB SRAM reserved for and used by the modem library
* - Lowest 88 kB SRAM allocated to Secure image (sram0_s).
* - 40 kB SRAM reserved for and used by the modem library
* (sram0_modem). This memory is Non-Secure.
* - Upper 128 kB allocated to Non-Secure image (sram0_ns).
*/
&sram0_s {
reg = <0x20000000 DT_SIZE_K(64)>;
reg = <0x20000000 DT_SIZE_K(88)>;
};
&sram0_modem {
reg = <0x20010000 DT_SIZE_K(64)>;
reg = <0x20016000 DT_SIZE_K(40)>;
};
&sram0_ns {

View file

@ -6,7 +6,7 @@ toolchain:
- gnuarmemb
- xtools
- zephyr
ram: 64
ram: 88
flash: 256
supported:
- gpio

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2021 Actinius
* Copyright (c) 2021-2022 Actinius
*
* SPDX-License-Identifier: Apache-2.0
*/
@ -211,7 +211,7 @@
/* Secure image memory */
};
sram0_modem: image_modem@20010000 {
sram0_modem: image_modem@20016000 {
/* Modem (shared) memory */
};

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2021 Actinius
* Copyright (c) 2021-2022 Actinius
*
* SPDX-License-Identifier: Apache-2.0
*/
@ -39,18 +39,18 @@
/* Default SRAM planning when building for nRF9160 with
* ARM TrustZone-M support
* - Lowest 64 kB SRAM allocated to Secure image (sram0_s).
* - 64 kB SRAM reserved for and used by the modem library
* - Lowest 88 kB SRAM allocated to Secure image (sram0_s).
* - 40 kB SRAM reserved for and used by the modem library
* (sram0_modem). This memory is Non-Secure.
* - Upper 128 kB allocated to Non-Secure image (sram0_ns).
*/
&sram0_s {
reg = <0x20000000 DT_SIZE_K(64)>;
reg = <0x20000000 DT_SIZE_K(88)>;
};
&sram0_modem {
reg = <0x20010000 DT_SIZE_K(64)>;
reg = <0x20016000 DT_SIZE_K(40)>;
};
&sram0_ns {

View file

@ -6,7 +6,7 @@ toolchain:
- gnuarmemb
- xtools
- zephyr
ram: 64
ram: 88
flash: 256
supported:
- gpio

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2021 Actinius
* Copyright (c) 2021-2022 Actinius
*
* SPDX-License-Identifier: Apache-2.0
*/
@ -121,8 +121,8 @@
/* Secure image memory */
};
sram0_modem: image_modem@20010000 {
/* BSD (shared) memory */
sram0_modem: image_modem@20016000 {
/* Modem (shared) memory */
};
sram0_ns: image_ns@20020000 {

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2021 Actinius
* Copyright (c) 2021-2022 Actinius
*
* SPDX-License-Identifier: Apache-2.0
*/
@ -39,18 +39,18 @@
/* Default SRAM planning when building for nRF9160 with
* ARM TrustZone-M support
* - Lowest 64 kB SRAM allocated to Secure image (sram0_s).
* - 64 kB SRAM reserved for and used by the modem library
* - Lowest 88 kB SRAM allocated to Secure image (sram0_s).
* - 40 kB SRAM reserved for and used by the modem library
* (sram0_modem). This memory is Non-Secure.
* - Upper 128 kB allocated to Non-Secure image (sram0_ns).
*/
&sram0_s {
reg = <0x20000000 DT_SIZE_K(64)>;
reg = <0x20000000 DT_SIZE_K(88)>;
};
&sram0_modem {
reg = <0x20010000 DT_SIZE_K(64)>;
reg = <0x20016000 DT_SIZE_K(40)>;
};
&sram0_ns {