-
Notifications
You must be signed in to change notification settings - Fork 19
treewide: add support for S145 SoftDevice #408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
eivindj-nordic
wants to merge
2
commits into
nrfconnect:main
Choose a base branch
from
eivindj-nordic:s145_boards
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
81 changes: 81 additions & 0 deletions
81
boards/nordic/bm_nrf54l15dk/bm_nrf54l15dk_nrf54l05_cpuapp_s145_softdevice.dts
This file contains hidden or 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,81 @@ | ||
/* | ||
* Copyright (c) 2025 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
#include <nordic/nrf54l05_cpuapp.dtsi> | ||
#include "bm_nrf54l15dk_nrf54l05_cpuapp_common.dtsi" | ||
|
||
/ { | ||
chosen { | ||
zephyr,flash = &cpuapp_rram; | ||
zephyr,code-partition = &slot0_partition; | ||
zephyr,sram = &app_ram; | ||
}; | ||
}; | ||
|
||
&cpuapp_rram { | ||
status = "okay"; | ||
|
||
partitions { | ||
compatible = "fixed-partitions"; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
|
||
slot0_partition: partition@0 { | ||
label = "slot0"; | ||
reg = <0x00000000 DT_SIZE_K(347)>; | ||
}; | ||
|
||
storage_partition: partition@56c00 { | ||
compatible = "fixed-subpartitions"; | ||
label = "storage"; | ||
reg = <0x00056c00 DT_SIZE_K(8)>; | ||
ranges = <0x0 0x56c00 DT_SIZE_K(8)>; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
|
||
peer_manager_partition: partition@0 { | ||
label = "peer_manager"; | ||
reg = <0x00000000 DT_SIZE_K(4)>; | ||
}; | ||
|
||
storage0_partition: partition@1000 { | ||
label = "storage0"; | ||
reg = <0x00001000 DT_SIZE_K(4)>; | ||
}; | ||
}; | ||
|
||
softdevice_partition: partition@58c00 { | ||
label = "softdevice"; | ||
reg = <0x00058c00 DT_SIZE_K(144)>; | ||
}; | ||
}; | ||
}; | ||
|
||
&cpuapp_sram { | ||
status = "okay"; | ||
|
||
partitions { | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
|
||
softdevice_static_ram: partition@20000080 { | ||
label = "softdevice_static_ram"; | ||
reg = <0x20000080 0x1780>; | ||
}; | ||
|
||
softdevice_dynamic_ram: partition@20001800 { | ||
label = "softdevice_dynamic_ram"; | ||
reg = <0x20001800 DT_SIZE_K(12)>; | ||
}; | ||
|
||
app_ram: partition@20004800 { | ||
label = "app_ram"; | ||
reg = <0x20004800 DT_SIZE_K(77)>; | ||
}; | ||
}; | ||
}; |
17 changes: 17 additions & 0 deletions
17
boards/nordic/bm_nrf54l15dk/bm_nrf54l15dk_nrf54l05_cpuapp_s145_softdevice.yaml
This file contains hidden or 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,17 @@ | ||
# | ||
# Copyright (c) 2025 Nordic Semiconductor | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
identifier: bm_nrf54l15dk/nrf54l05/cpuapp/s145_softdevice | ||
name: Bare_Metal-nRF54L15-DK-nRF54L05-Application-S145-SoftDevice | ||
type: mcu | ||
arch: arm | ||
toolchain: | ||
- gnuarmemb | ||
- xtools | ||
- zephyr | ||
sysbuild: true | ||
ram: 77 | ||
flash: 347 |
108 changes: 108 additions & 0 deletions
108
boards/nordic/bm_nrf54l15dk/bm_nrf54l15dk_nrf54l05_cpuapp_s145_softdevice_defconfig
This file contains hidden or 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,108 @@ | ||
# | ||
# Copyright (c) 2025 Nordic Semiconductor | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
# Enable console | ||
CONFIG_CONSOLE=y | ||
CONFIG_BM_UARTE_CONSOLE=y | ||
|
||
# Remove boot banner | ||
CONFIG_NCS_BOOT_BANNER=n | ||
CONFIG_BOOT_BANNER=n | ||
|
||
# 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 | ||
|
||
# Disable partition manager | ||
CONFIG_PARTITION_MANAGER_ENABLED=n | ||
|
||
# Disable multithreading | ||
CONFIG_MULTITHREADING=n | ||
CONFIG_ZERO_LATENCY_IRQS=y | ||
|
||
# Allow FLASH writes | ||
CONFIG_MPU_ALLOW_FLASH_WRITE=y | ||
|
||
# Shrink | ||
CONFIG_GPIO=n | ||
CONFIG_NRF_SECURITY=n | ||
|
||
# Enable all NRFX drivers | ||
CONFIG_NRFX_CLOCK=y | ||
CONFIG_NRFX_CLOCK_LFXO_TWO_STAGE_ENABLED=y | ||
CONFIG_NRFX_COMP=y | ||
CONFIG_NRFX_DPPI00=y | ||
CONFIG_NRFX_DPPI10=y | ||
CONFIG_NRFX_DPPI20=y | ||
CONFIG_NRFX_DPPI30=y | ||
CONFIG_NRFX_EGU10=y | ||
CONFIG_NRFX_EGU20=y | ||
CONFIG_NRFX_GPIOTE20=y | ||
CONFIG_NRFX_GPIOTE30=y | ||
CONFIG_NRFX_GPPI=y | ||
CONFIG_NRFX_GRTC=y | ||
CONFIG_NRFX_I2S20=y | ||
CONFIG_NRFX_NFCT=y | ||
CONFIG_NRFX_PDM20=y | ||
CONFIG_NRFX_PDM21=y | ||
CONFIG_NRFX_POWER=y | ||
CONFIG_NRFX_PPIB00=y | ||
CONFIG_NRFX_PPIB01=y | ||
CONFIG_NRFX_PPIB10=y | ||
CONFIG_NRFX_PPIB11=y | ||
CONFIG_NRFX_PPIB20=y | ||
CONFIG_NRFX_PPIB21=y | ||
CONFIG_NRFX_PPIB22=y | ||
CONFIG_NRFX_PPIB30=y | ||
CONFIG_NRFX_PWM20=y | ||
CONFIG_NRFX_PWM21=y | ||
CONFIG_NRFX_PWM22=y | ||
CONFIG_NRFX_QDEC20=y | ||
CONFIG_NRFX_QDEC21=y | ||
CONFIG_NRFX_RRAMC=y | ||
CONFIG_NRFX_SAADC=y | ||
CONFIG_NRFX_SPIM00=y | ||
CONFIG_NRFX_SPIM20=y | ||
CONFIG_NRFX_SPIM21=y | ||
CONFIG_NRFX_SPIM22=y | ||
CONFIG_NRFX_SPIM30=y | ||
CONFIG_NRFX_SYSTICK=y | ||
CONFIG_NRFX_TEMP=y | ||
CONFIG_NRFX_TIMER00=y | ||
CONFIG_NRFX_TIMER10=y | ||
CONFIG_NRFX_TIMER20=y | ||
CONFIG_NRFX_TIMER21=y | ||
CONFIG_NRFX_TIMER22=y | ||
CONFIG_NRFX_TIMER23=y | ||
CONFIG_NRFX_TIMER24=y | ||
CONFIG_NRFX_TWIM20=y | ||
CONFIG_NRFX_TWIM21=y | ||
CONFIG_NRFX_TWIM22=y | ||
CONFIG_NRFX_TWIM30=y | ||
CONFIG_NRFX_UARTE00=y | ||
CONFIG_NRFX_UARTE20=y | ||
CONFIG_NRFX_UARTE21=y | ||
CONFIG_NRFX_UARTE22=y | ||
CONFIG_NRFX_UARTE30=y | ||
CONFIG_NRFX_WDT31=y | ||
CONFIG_NRFX_PRS_BOX_0=y | ||
CONFIG_NRFX_PRS_BOX_1=y | ||
CONFIG_NRFX_PRS_BOX_2=y | ||
CONFIG_NRFX_PRS_BOX_3=y | ||
CONFIG_NRFX_PRS_BOX_4=y |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lots of things should not be here, this should be taken care of by default image config
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That also applies to the S115 variants. Can we take that in a follow-up PR?