-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Introduce nRF7120 SoC and board definitions to sdk-nrf #20070
base: main
Are you sure you want to change the base?
Introduce nRF7120 SoC and board definitions to sdk-nrf #20070
Conversation
Add dts files for nRF7120 Signed-off-by: David Jewsbury <[email protected]> Co-authored-by: Robert Robinson <[email protected]>
Add nRF7120 to soc directory Signed-off-by: Robert Robinson <[email protected]> Co-authored-by: David Jewsbury <[email protected]>
CI InformationTo view the history of this post, clich the 'edited' button above Inputs:Sources:sdk-nrf: PR head: 338f9acb30b452b1ca8751c122b6351b2eea7b2b more detailssdk-nrf:
Github labels
List of changed files detected by CI (39)
Outputs:ToolchainVersion: Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
You can find the documentation preview for this PR at this link. Note: This comment is automatically posted by the Documentation Publish GitHub Action. |
config SOC_FAMILY_NORDIC_NRF | ||
select SOC_COMPATIBLE_NRF | ||
select SOC_RESET_HOOK if ARM |
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.
should not be here since it exists in zephyr already
if SOC_FAMILY_NORDIC_NRF | ||
|
||
rsource "*/Kconfig" | ||
source "$ZEPHYR_BASE/soc/nordic/Kconfig" |
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.
this should already be sourced really
|
||
rsource "*/Kconfig.defconfig" | ||
|
||
# If the kernel has timer support, enable clock control |
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.
all duplicated from upstream, needs to go
config SOC_FAMILY_NORDIC_NRF | ||
bool | ||
|
||
config SOC_FAMILY | ||
default "nordic_nrf" if SOC_FAMILY_NORDIC_NRF |
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.
to go
# Exclamation mark is printable character with the lowest number in ASCII table. | ||
# We are sure that this file will be included first. | ||
zephyr_linker_sources(RAM_SECTIONS SORT_KEY ! kmu_push_area_section.ld) |
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.
2 space indent
config SOC | ||
default "nrf7120" if SOC_NRF7120_ENGA |
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.
default "nrf7120" if SOC_NRF7120
and also needs a SOC_NRF7120
symbol - see upstream zephyr soc/nrf54l/Kconfig.soc to see how to do this
{ | ||
/* Enable ICACHE */ | ||
sys_cache_instr_enable(); | ||
|
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.
series: | ||
- name: nrf71 | ||
socs: | ||
- name: nrf7120_enga |
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.
- name: nrf7120_enga | |
- name: nrf7120 |
The board can select the revision'd Kconfig but there is only one SoC
@@ -0,0 +1,12 @@ | |||
|
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.
spacing in this file needs fixing
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# SPDX-License-Identifier: Apache-2.0 | ||
config BOARD_NRF7120PDK | ||
<<<<<<< HEAD |
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.
git conflict markers?
also shouldn't be e.g. noup in sdk-nrf commit titles, that is for sdk-* OSS repos only |
c40fbb1
to
b6ae797
Compare
Add board files for nRF7120pdk Signed-off-by: David Jewsbury <[email protected]> Co-authored-by: Robert Robinson <[email protected]>
This adds the nrf7120pdk/cpuapp/ns board variant to sdk-zephyr. It allows to build nrf7120pdk with TF-M in nRF Connect SDK. This is done as a noup as the out-of-tree board extension feature is not available. When zephyrproject-rtos/zephyr#69548 is completed this commit can be reverted and the variant be placed in sdk-nrf. Signed-off-by: Robert Robinsin <[email protected]>
The SoftDevice Controller is a different controller than the open source link layer with a different set of quirks. It should therefore have its own device tree binding. This commit converts the SoftDevice Controller driver to use this new DTS binding instead of reusing the existing one. This commit updates or adds additional overlays for existing samples, applications and tests that were using the open source link layer. Signed-off-by: Robert Robinsin <[email protected]>
nRF7120 has been added to soc folder in NCS, therefore, soc_root needs to be added to module.yml Signed-off-by: David Jewsbury <[email protected]>
The license agreement for files within sdk-nrf differs from what will eventually be required from upstream zephyr. All SPDX-License-Identifier: Apache-2.0 have been updated to SPDX-License-Identifier: LicenseRef-Nordic-5-Clause Signed-off-by: Robert Robinsin <[email protected]>
b6ae797
to
338f9ac
Compare
PR containing out of tree definitions for nrf7120.