-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
boards: nordic: nRF54L15DK: Add basic support for the L05 and L10 ICs
The nRF54L05 and nRF54L10 are identical to the nRF54L15 except for their memory sizes. Add support for emulating those ICs on the nRF54L15DK. This commit only adds support for the main application core. Support for the FLPR core may be added later. Signed-off-by: Carles Cufi <[email protected]>
- Loading branch information
1 parent
88dcbbb
commit 977ee96
Showing
13 changed files
with
254 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
if BOARD_NRF54L15DK_NRF54L15_CPUAPP | ||
if BOARD_NRF54L15DK_NRF54L05_CPUAPP || BOARD_NRF54L15DK_NRF54L10_CPUAPP || \ | ||
BOARD_NRF54L15DK_NRF54L15_CPUAPP | ||
|
||
config BT_CTLR | ||
default BT | ||
|
||
config ROM_START_OFFSET | ||
default 0x800 if BOOTLOADER_MCUBOOT | ||
|
||
endif # BOARD_NRF54L15DK_NRF54L15_CPUAPP | ||
endif # BOARD_NRF54L15DK_NRF54L05_CPUAPP || BOARD_NRF54L15DK_NRF54L10_CPUAPP || \ | ||
# BOARD_NRF54L15DK_NRF54L15_CPUAPP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/* | ||
* Copyright (c) 2024 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
#include <nordic/nrf54l05_cpuapp.dtsi> | ||
#include "nrf54l_05_10_15_cpuapp_common.dtsi" | ||
|
||
/ { | ||
compatible = "nordic,nrf54l15dk_nrf54l05-cpuapp"; | ||
model = "Nordic nRF54L15 DK nRF54L05 Application MCU"; | ||
|
||
chosen { | ||
zephyr,code-partition = &slot0_partition; | ||
zephyr,sram = &cpuapp_sram; | ||
}; | ||
}; | ||
|
||
&cpuapp_rram { | ||
partitions { | ||
compatible = "fixed-partitions"; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
boot_partition: partition@0 { | ||
label = "mcuboot"; | ||
reg = <0x0 DT_SIZE_K(64)>; | ||
}; | ||
slot0_partition: partition@10000 { | ||
label = "image-0"; | ||
reg = <0x10000 DT_SIZE_K(100)>; | ||
}; | ||
slot0_ns_partition: partition@29000 { | ||
label = "image-0-nonsecure"; | ||
reg = <0x29000 DT_SIZE_K(100)>; | ||
}; | ||
slot1_partition: partition@42000 { | ||
label = "image-1"; | ||
reg = <0x42000 DT_SIZE_K(100)>; | ||
}; | ||
slot1_ns_partition: partition@5b000 { | ||
label = "image-1-nonsecure"; | ||
reg = <0x5b000 DT_SIZE_K(100)>; | ||
}; | ||
storage_partition: partition@74000 { | ||
label = "storage"; | ||
reg = <0x74000 DT_SIZE_K(36)>; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
identifier: nrf54l15dk/nrf54l05/cpuapp | ||
name: nRF54l15-DK-nRF54l05-Application | ||
type: mcu | ||
arch: arm | ||
toolchain: | ||
- gnuarmemb | ||
- xtools | ||
- zephyr | ||
sysbuild: true | ||
ram: 96 | ||
flash: 100 | ||
supported: | ||
- adc | ||
- counter | ||
- gpio | ||
- i2c | ||
- pwm | ||
- retained_mem | ||
- spi | ||
- watchdog | ||
- i2s |
29 changes: 29 additions & 0 deletions
29
boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l05_cpuapp_defconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Enable UART driver | ||
CONFIG_SERIAL=y | ||
|
||
# Enable console | ||
CONFIG_CONSOLE=y | ||
CONFIG_UART_CONSOLE=y | ||
|
||
# Enable GPIO | ||
CONFIG_GPIO=y | ||
|
||
# Enable MPU | ||
CONFIG_ARM_MPU=y | ||
|
||
# Enable hardware stack protection | ||
CONFIG_HW_STACK_PROTECTION=y | ||
|
||
# MPU-based null-pointer dereferencing detection cannot | ||
# be applied as the (0x0 - 0x400) is unmapped for this target. | ||
CONFIG_NULL_POINTER_EXCEPTION_DETECTION_NONE=y | ||
|
||
# Enable Cache | ||
CONFIG_CACHE_MANAGEMENT=y | ||
CONFIG_EXTERNAL_CACHE=y | ||
|
||
# Start SYSCOUNTER on driver init | ||
CONFIG_NRF_GRTC_START_SYSCOUNTER=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/* | ||
* Copyright (c) 2024 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
#include <nordic/nrf54l10_cpuapp.dtsi> | ||
#include "nrf54l_05_10_15_cpuapp_common.dtsi" | ||
|
||
/ { | ||
compatible = "nordic,nrf54l15dk_nrf54l10-cpuapp"; | ||
model = "Nordic nRF54L15 DK nRF54L10 Application MCU"; | ||
|
||
chosen { | ||
zephyr,code-partition = &slot0_partition; | ||
zephyr,sram = &cpuapp_sram; | ||
}; | ||
}; | ||
|
||
&cpuapp_rram { | ||
partitions { | ||
compatible = "fixed-partitions"; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
boot_partition: partition@0 { | ||
label = "mcuboot"; | ||
reg = <0x0 DT_SIZE_K(64)>; | ||
}; | ||
slot0_partition: partition@10000 { | ||
label = "image-0"; | ||
reg = <0x10000 DT_SIZE_K(230)>; | ||
}; | ||
slot0_ns_partition: partition@49800 { | ||
label = "image-0-nonsecure"; | ||
reg = <0x49800 DT_SIZE_K(230)>; | ||
}; | ||
slot1_partition: partition@83000 { | ||
label = "image-1"; | ||
reg = <0x83000 DT_SIZE_K(230)>; | ||
}; | ||
slot1_ns_partition: partition@bc800 { | ||
label = "image-1-nonsecure"; | ||
reg = <0xbc800 DT_SIZE_K(230)>; | ||
}; | ||
storage_partition: partition@f6000 { | ||
label = "storage"; | ||
reg = <0xf6000 DT_SIZE_K(38)>; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
identifier: nrf54l15dk/nrf54l10/cpuapp | ||
name: nRF54l15-DK-nRF54l10-Application | ||
type: mcu | ||
arch: arm | ||
toolchain: | ||
- gnuarmemb | ||
- xtools | ||
- zephyr | ||
sysbuild: true | ||
ram: 192 | ||
flash: 230 | ||
supported: | ||
- adc | ||
- counter | ||
- gpio | ||
- i2c | ||
- pwm | ||
- retained_mem | ||
- spi | ||
- watchdog | ||
- i2s |
29 changes: 29 additions & 0 deletions
29
boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l10_cpuapp_defconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Enable UART driver | ||
CONFIG_SERIAL=y | ||
|
||
# Enable console | ||
CONFIG_CONSOLE=y | ||
CONFIG_UART_CONSOLE=y | ||
|
||
# Enable GPIO | ||
CONFIG_GPIO=y | ||
|
||
# Enable MPU | ||
CONFIG_ARM_MPU=y | ||
|
||
# Enable hardware stack protection | ||
CONFIG_HW_STACK_PROTECTION=y | ||
|
||
# MPU-based null-pointer dereferencing detection cannot | ||
# be applied as the (0x0 - 0x400) is unmapped for this target. | ||
CONFIG_NULL_POINTER_EXCEPTION_DETECTION_NONE=y | ||
|
||
# Enable Cache | ||
CONFIG_CACHE_MANAGEMENT=y | ||
CONFIG_EXTERNAL_CACHE=y | ||
|
||
# Start SYSCOUNTER on driver init | ||
CONFIG_NRF_GRTC_START_SYSCOUNTER=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters