Skip to content

Conversation

@tomchy
Copy link
Contributor

@tomchy tomchy commented Jun 23, 2025

Enforce usage of values from devicetree if USE_DT_CODE_PARTITION Kconfig symbol is enabled.

Currently even if this symbol is enabled, the FLASH_LOAD_OFFSET value is used in the linker script.
The FLASH_LOAD_OFFSET symbol, even being promptless is such case, may be changed, leading to a very confusing situation, where devicetree
values have no effect on the build.

A good example of the build that wants to use exactly the same set of
configs, but a different link address is the A/B update scheme
(known ad Direct XIP in MCUboot), where the same application is linked to two different addresses.
If the source of the address remains in the Kconifg, the current approach forces a usage of two different configurations.

Upstream PR #: 91591

@sonarqubecloud
Copy link

…lve and startup_time"

This reverts commit 4346d85.

Signed-off-by: Jukka Rissanen <[email protected]>
…ve and startup_time"

This reverts commit 3bc9d24.

Signed-off-by: Jukka Rissanen <[email protected]>
…e and startup_time"

This reverts commit 4c363f3.

Signed-off-by: Jukka Rissanen <[email protected]>
…roduce startup time"

This reverts commit a73cec1.

Signed-off-by: Jukka Rissanen <[email protected]>
…roduce resolve API"

This reverts commit 7c93a60.

Signed-off-by: Jukka Rissanen <[email protected]>
…r FRAMETIMEOUT corner case"

This reverts commit 68df545.

Signed-off-by: Jukka Rissanen <[email protected]>
…OPTIMIZATIONS"

This reverts commit 08ad1f2.

Signed-off-by: Jukka Rissanen <[email protected]>
…EADDR issue"

This reverts commit bd14c2e.

Signed-off-by: Jukka Rissanen <[email protected]>
…dwidth Signalling"

This reverts commit 5924412.

Signed-off-by: Jukka Rissanen <[email protected]>
…h signal controlling"

This reverts commit bce4d0f.

Signed-off-by: Jukka Rissanen <[email protected]>
… command"

This reverts commit 19af3cf.

Signed-off-by: Jukka Rissanen <[email protected]>
…RF54LV10A Eng A"

This reverts commit c4d342e.

Signed-off-by: Jukka Rissanen <[email protected]>
…ests with uptime changes"

This reverts commit 6b5f7ae.

Signed-off-by: Jukka Rissanen <[email protected]>
…reference values"

This reverts commit 3613ade.

Signed-off-by: Jukka Rissanen <[email protected]>
…in assignment"

This reverts commit 524d807.

Signed-off-by: Jukka Rissanen <[email protected]>
…pi latency expectation"

This reverts commit 8c6c814.

Signed-off-by: Jukka Rissanen <[email protected]>
…24 Kconfigs"

This reverts commit d03f168.

Signed-off-by: Jukka Rissanen <[email protected]>
… printing stats"

This reverts commit 263a1a8.

Signed-off-by: Jukka Rissanen <[email protected]>
…DNS offload at runtime"

This reverts commit cc1ccd0.

Signed-off-by: Jukka Rissanen <[email protected]>
tokangas and others added 28 commits September 24, 2025 16:43
Added missing cpuapp/iron and cpuppr/xip overlays for rev. 0.2.0.

Signed-off-by: Tommi Kangas <[email protected]>
(cherry picked from commit 9d10d67)
This potentially fixes an issues whereby when sysbuild projects
import dts configuration from images and images are reconfigured,
that sysbuild will needlessly rerun even if the output has not
changed by using a temporary output file and then only updating
the actual file if the contents have changed

Upstream PR #: 96259

Signed-off-by: Jamie McCrae <[email protected]>
…utton/LED

Adds aliases so that these can be used by MCUboot

Signed-off-by: Jamie McCrae <[email protected]>
(cherry picked from commit b6e0913)
Some applications need to throttle RRAM writes to handle peak current
management.
Add CONFIG_NRF_RRAM_THROTTLING_DATA_BLOCK which defines the maximum
chunk length that can be written at once.
Add CONFIG_NRF_RRAM_THROTTLING_DELAY which configures the sleep delay in
microseconds after each write.

Signed-off-by: Riadh Ghaddab <[email protected]>
(cherry picked from commit a4f5d9f)
Provide a Kconfig option that allows offloading handling  of the SSI
FIFOs, which the driver normally executes in the interrupt handler,
to the system workqueue.

Signed-off-by: Andrzej Głąbek <[email protected]>
(cherry picked from commit 30c4130)
Add test scenario for a Kconfig option that was recently added to
the mspi_dw driver. Testing it requires performing some transfers
on the MSPI bus with some device, hence flash chip test used.

Signed-off-by: Andrzej Głąbek <[email protected]>
(cherry picked from commit b624a07)
…irements

Gitlint-core has loose requirements and not conflicting
with scancode-toolkit v32.4.1 (click==8.1.3 vs click>=8.2.0).

Signed-off-by: Nicolae Dicu <[email protected]>
(cherry picked from commit 67b4063)
…Nuvoton platforms

NPCX7, NPCX9, and NPCK3 platforms have their (NUM_IRQS-1) IRQ taken,
so set CONFIG_TEST_IRQ_NUM to a different available IRQ.

Signed-off-by: Benjamin Cabé <[email protected]>
(cherry picked from commit f8e183c)
…nxp_k32l2b3 soc

(NUM_IRQS-1) IRQ is taken on this soc, so set CONFIG_TEST_IRQ_NUM to a
different available IRQ to avoid test failure.

Signed-off-by: Benjamin Cabé <[email protected]>
(cherry picked from commit 6610b8c)
Picked IRQ number available on all platforms.

Upstream PR #: 96531

Signed-off-by: Michał Stasiak <[email protected]>
Add the mapping for the GRTC_CLKOUT_FAST pinctrl mapping to the
periphconf generation. This allows clocking out the 16MHz clock with a
user selectable divider.

Signed-off-by: Karsten Koenig <[email protected]>
(cherry picked from commit 19f7099)
Added missing features and configuration to support Direct ISRs

Signed-off-by: Rafal Dyla <[email protected]>
(cherry picked from commit 3cf2627)
Enable all possible i2c tests on CPUPPR

Signed-off-by: Bartosz Miller <[email protected]>
(cherry picked from commit b60633b)
add support for gpregret1, nfct

Signed-off-by: Matthias Hauser <[email protected]>

Signed-off-by: Matthias Hauser <[email protected]>
(cherry picked from commit 17e1429)
…y each board

Sets the default of this Kconfig for the SoC itself as a default,
rather than each board setting it, which minimises the change

Signed-off-by: Jamie McCrae <[email protected]>
(cherry picked from commit 69ce66d)
Adds an override to force this Kconfig to 0 when partition manager
is enabled

Signed-off-by: Jamie McCrae <[email protected]>
Updated the hal_nordic to bring the latest changes of the nrf-802154
component.

Signed-off-by: Rafał Kuźnia <[email protected]>
(cherry picked from commit 9bc9940)
The NRF_802154_ENCRYPTION was split into two additional Kconfigs that
control separate functionalities:
* NRF_802154_IE_WRITER - to enable Information Element writer
* NRF_802154_SECURITY_WRITER - to enable frame counter writer

Signed-off-by: Rafał Kuźnia <[email protected]>
(cherry picked from commit 65fae0a)
Updated the hal_nordic to bring the latest changes of the nrf-802154
component.

Signed-off-by: Rafał Kuźnia <[email protected]>
(cherry picked from commit a25abc3)
…ion code

The new nrf-802154 now has the updated API signatures. The migration
code is no longer needed.

Signed-off-by: Rafał Kuźnia <[email protected]>
(cherry picked from commit 3d63165)
Update hal_nordic to pull mdk 8.72.4 with mdk changes for nRF7120.

Signed-off-by: Robert Robinson <[email protected]>
(cherry picked from commit 617da7a)
Adds missing reg parameters to DTS nodes

Upstream PR #: 96698

Signed-off-by: Jamie McCrae <[email protected]>
Fixes the address of this peripheral

Upstream PR #: 96698

Signed-off-by: Jamie McCrae <[email protected]>
Removes compatible strings that were not defined and are not needed

Upstream PR #: 96698

Signed-off-by: Jamie McCrae <[email protected]>
…20 PPR core

Add overlay required to run the sample on
nrf54h20dk/nrf54h20/cpuppr.

Signed-off-by: Sebastian Głąb <[email protected]>
(cherry picked from commit 745fd00)
Enforce usage of values from devicetree if USE_DT_CODE_PARTITION Kconfig
symbol is enabled.

Currently even if this symbol is enabled, the FLASH_LOAD_OFFSET value
is used in the linker script.
The FLASH_LOAD_OFFSET symbol, even being promptless is such case,
may be changed, leading to a very confusing situation, where devicetree
 values have no effect on the build.

A good example of the build that wants to use exactly the same set of
 configs, but a different link address is the A/B update scheme
(known ad Direct XIP in MCUboot), where the same application is linked
to two different addresses.
If the source of the address remains in the Kconifg, the current approach
forces a usage of two different configurations.

Upstream PR #: 91591

Signed-off-by: Tomasz Chyrowicz <[email protected]>
@tomchy tomchy force-pushed the feature/linker_based_on_dts_down branch from cbbdbef to 16856ae Compare October 1, 2025 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.