Skip to content

Conversation

@carlescufi
Copy link
Contributor

…builds

Generated objects.inv would not contain e.g. "zephyr:board" entry on incremental builds, making it impossible to use Intersphinx on other projects when rebuilding the Zephyr docset.

It can be verified by inspecting inventory like this:

from sphinx.util.inventory import InventoryFile
InventoryFile.loads(open("objects.inv", "rb").read(), uri="")
inv.data.keys()

(cherry picked from commit 6ed584f)

nordic-babu and others added 30 commits October 9, 2025 07:36
Fill in necessary config files with test data.

Upstream PR #: 97109

Signed-off-by: Bartlomiej Buczek <[email protected]>
…nd i2s

Add missing SoC header include required by memory region assertion
to adc_nrfx_saadc and i2s_nrf_tdm shims.

Upstream PR #: 97104

Signed-off-by: Michał Bainczyk <[email protected]>
Fill in necessary config files with platforms data.

Upstream PR #: 97110

Signed-off-by: Bartlomiej Buczek <[email protected]>
Introduce hook for customize reset.S code even before stack is
initialized or RAM is accessed. Hook can be enabled using
CONFIG_SOC_EARLY_RESET_HOOK=y.
Hook implementation is by soc_early_reset_hook() function which should
be provided by custom code.

Signed-off-by: Andrzej Puzdrowski <[email protected]>

(cherry picked from commit 418eed0)
…fixture

Add "external_flash" fixture to the no_explicit_erase testcase
in order to run twister only on boards with such HW setup.
Other runnable test cases has it already.

Signed-off-by: Piotr Kosycarz <[email protected]>
(cherry picked from commit 2318832)
…supply-gpios test

Supply-gpios feature test [nrf54h20] requires gpio_loopback fixture.

Signed-off-by: Bartosz Miller <[email protected]>
(cherry picked from commit 424459d)
…enable check

Instead of checking register values directly, use a function from
nrfx that does this.

Upstream PR #: 96538

Signed-off-by: Michał Bainczyk <[email protected]>
…_access_write

Change the value returned from disk_flash_access_write to return
the return code instead of a hardcoded zero.

Upstream PR #: 95468

Signed-off-by: Michał Bainczyk <[email protected]>
nrf-squash! [nrf noup] entropy: Add fake entropy nRF PRNG driver

LM20a is used, L20 was removed.
Old L20 file is from other noup: dbd3934

Signed-off-by: Piotr Kosycarz <[email protected]>
Add UICR.SECURESTORAGE configuration based on device tree partitions.
Validates partition layout and populates size fields in 1KB units.
Handles missing partitions gracefully.

Signed-off-by: Sebastian Bøe <[email protected]>
(cherry picked from commit 38a0f71)
…ESSOR

Add support for uicr.SECONDARY.PROCESSOR.

Signed-off-by: Sebastian Bøe <[email protected]>
(cherry picked from commit 9f45d2c)
Add support for PROTECTEDMEM.

Signed-off-by: Sebastian Bøe <[email protected]>
(cherry picked from commit 7c9275c)
…ected

Detect secondary images by checking a Kconfig value instead of a
marker file.

Upstream PR #: 97356

Signed-off-by: Sebastian Bøe <[email protected]>
Add support for UICR.WDTSTART.

UICR.WDTSTART configures the automatic start of a local watchdog timer
before the application core is booted. This provides early system
protection ensuring that the system can recover from early boot
failures.

Upstream PR #: 97337

Signed-off-by: Sebastian Bøe <[email protected]>
Scanners report these as missing so lets add them.

Signed-off-by: Kari Hamalainen <[email protected]>
Enable GPIO tests on nRF54H20 CPUPPR.

Upstream PR #: 97073

Signed-off-by: Piotr Krzyzanowski <[email protected]>
Added aliases so that nrf54h20dk/nrf54h20/cpuapp can
use MCUboot serial recovery.

Signed-off-by: Andrzej Puzdrowski <[email protected]>

(cherry picked from commit 230b74d)
/delete-property/ for newly added aliases which points to nodes
already removed in that overlay.

Upstream PR #: 97062

Signed-off-by: Andrzej Puzdrowski <[email protected]>

(cherry picked from commit 56843f8)
The update will fail if the address is outside  of this range.
This failure might trigger a bad state where the device is
non-trivial to recover.

Signed-off-by: Håkon Amundsen <[email protected]>
(cherry picked from commit 9d5f94f)
Update the default memory map to include a `secure_storage_partition`,
which is divided into at most four subpartitions. These will be used to
configure UICR.SECURESTORAGE, if enabled.

Signed-off-by: Sebastian Bøe <[email protected]>
(cherry picked from commit d5003d9)
…ction

Certain SPIM instances in nRF52/53/54L/54H Series provide hardware
control of the CSN (chip select) line. Although the standard SPI
drivers do not use this feature, it should be possible to configure
this line through pinctrl in case some special driver needs this.

Signed-off-by: Andrzej Głąbek <[email protected]>
(cherry picked from commit ca79733)
Fix an incorrect interpretation of the chip select signal
for the SPIM instances. If cs-gpios is used then the chip
select pin is used as a GPIO, and should have CTRLSEL=0.
Only when NRF_FUN_SPIM_CSN is used should CTRLSEL
be configured to enable hardware control of the pin.

Signed-off-by: Jonathan Nilsen <[email protected]>
(cherry picked from commit b28b570)
Moved the nrf_etr driver from the drive/misc folder into the recently
established driver/debug folder where it is a better fit. Moved the
associated files such as bindings and headers accordingly as well.

Signed-off-by: Karsten Koenig <[email protected]>
(cherry picked from commit d833556)
Pinctrl needs to set the needed drive and direction of the pins. Also
this later allows automatically setting the clock bit for the traceclk
pin.

Signed-off-by: Karsten Koenig <[email protected]>
(cherry picked from commit 85363f9)
Added driver and bindings for the coresight nrf submodule.
add integrated it for the nrf54h20.
The coresight subsystem is a combination of ARM Coresight peripherals
that get configured together to achieve a simplified configuration based
on a desired operating mode.

This also replaces the previous handling in the nrf54h20 soc.c which was
powering the subsystem up but not configuring it.

Signed-off-by: Karsten Koenig <[email protected]>
(cherry picked from commit 6066a42)
Replaced the old tddconf with the full coresight driver that configures
the coresight peripherals locally on the running core.
Also fixed minor bug in the corresponding sample where messages were not
shown for the radio core.

Signed-off-by: Karsten Koenig <[email protected]>
(cherry picked from commit 02fb6fa)
Make sure the nordic_vpr_launcher gets started after the coresight
driver if that is present.

Signed-off-by: Karsten Koenig <[email protected]>
(cherry picked from commit 24353a8)
Added a new convience snippet to redirect logs to STM and then sink them
to TPIU where they can be captured by a trace probe.

Signed-off-by: Karsten Koenig <[email protected]>
(cherry picked from commit 0b5bb3c)
anangl and others added 25 commits November 6, 2025 07:46
Since the driver allows transfer lengths up to `UINT16_MAX + 1` bytes,
and additionally the `dummy_bytes` field includes bytes sent to provide
wait cycles on the bus, the type of this field must be `uint32_t`,
otherwise it can be overflowed for RX transfers close to the maximum.

Signed-off-by: Andrzej Głąbek <[email protected]>
(cherry picked from commit 70fe961)
We want to run CI when Nordic specific arch, soc, or board
changes are done.

Running CI on such changes would have prevented that
nrfconnect/sdk-nrf#25230
broke this CI plan.

Signed-off-by: Rubin Gerritsen <[email protected]>
Set the appropriate default NFC timer for the nRF54L series SoCs.

Ref: NCSDK-31244

Signed-off-by: Marcin Jelinski <[email protected]>
(cherry picked from commit 0a9f28f)
Kernel events depend on multithreading being enabled, and mixing them
with a non-multithreaded build gives linker failures internal to
events.c. To avoid this, make events depend on multithreading.

```
libkernel.a(events.c.obj): in function `k_event_post_internal':
175: undefined reference to `z_sched_waitq_walk'
events.c:183: undefined reference to `z_sched_wake_thread'
events.c:191: undefined reference to `z_reschedule'
libkernel.a(events.c.obj): in function `k_sched_current_thread_query':
kernel.h:216: undefined reference to `z_impl_k_sched_current_thread_query'
libkernel.a(events.c.obj): in function `k_event_wait_internal':
events.c:312: undefined reference to `z_pend_curr'
```

Signed-off-by: Carles Cufi <[email protected]>
Signed-off-by: Piotr Kosycarz <[email protected]>

(cherry picked from commit cd8e773)
Not needed for this test and prevents from building with
CONFIG_MULTITHREADING=n.
Changes for h20 rad are similar, but needed to test cases
filtering working only.

Signed-off-by: Piotr Kosycarz <[email protected]>
… script

nRF91 Serial Modem application does not anymore start PPP automatically.
Update initialization script to request it.

Upstream PR #: 98788

Signed-off-by: Seppo Takalo <[email protected]>
… XIP"

This reverts commit 0fb7618.

Signed-off-by: Tomasz Chyrowicz <[email protected]>
Fixes an issue whereby just enabling hooks would enable the nrf5340
network core hook despite lacking other requirements

Signed-off-by: Jamie McCrae <[email protected]>
Signed-off-by: Tomasz Chyrowicz <[email protected]>
(cherry picked from commit b856d4e)
nrf-squash! [nrf noup] include: net: add NCS extensions

The SO_SENDCB socket option allows to set a callback to be called when
a send operation is completed by lower layers.

Signed-off-by: Kacper Radoszewski <[email protected]>
Use different GPIOTE interrupt number when building for
cpuapp/ns.

Upstream PR #: 99247

Signed-off-by: Michał Stasiak <[email protected]>
… XIP"

This reverts commit 0fb7618.

Signed-off-by: Tomasz Chyrowicz <[email protected]>
Fixes an issue whereby just enabling hooks would enable the nrf5340
network core hook despite lacking other requirements

Signed-off-by: Jamie McCrae <[email protected]>
Signed-off-by: Tomasz Chyrowicz <[email protected]>
(cherry picked from commit b856d4e)
When remote peer have closed the PPP link normally, the
PPP stack on Zephyr side switches back to ESTABLISH phase
to be ready for next handshake.

When calling net_if_down() on the interface, it should not
try to initiate LCP link termination, but instead go directly
to DEAD phase.

See https://datatracker.ietf.org/doc/html/rfc1661#section-3.2

Upstream PR #: 99078

Signed-off-by: Seppo Takalo <[email protected]>
Add support for nrf54lm20a board in i2c_nrfx_twim tests

Upstream PR #: 99178

Signed-off-by: Piotr Krzyzanowski <[email protected]>
As future nRF54L SoCs may differ in terms of content,
general SOC_NRF54L_CPUAPP_COMMON symbol needs to cover
less symbols. These will be selected by specific SoC based
on support.

Upstream PR #: 99239

Signed-off-by: Michał Stasiak <[email protected]>
The can_nrf.c device driver used DEVICE_DT_INST_DEFINE instead of
CAN_DEVICE_DT_INST_DEFINE, which means we are missing initialization
of some CAN structures, namely STATS.

Update driver to use CAN_DEVICE_DT_INST_DEFINE()

Upstream PR #: 99259

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
…builds

Generated objects.inv would not contain e.g. "zephyr:board" entry on
incremental builds, making it impossible to use Intersphinx on other
projects when rebuilding the Zephyr docset.

It can be verified by inspecting inventory like this:

```python
from sphinx.util.inventory import InventoryFile
InventoryFile.loads(open("objects.inv", "rb").read(), uri="")
inv.data.keys()
```

Signed-off-by: Gerard Marull-Paretas <[email protected]>
(cherry picked from commit 6ed584f)
carlescufi added a commit to carlescufi/sdk-nrf that referenced this pull request Nov 14, 2025
carlescufi added a commit to carlescufi/sdk-nrf that referenced this pull request Nov 14, 2025
Since nrfconnect/sdk-zephyr#3504 resolves the
issue described in
nrfconnect@85eb35f,
use 8.2.x from now onwards.

Signed-off-by: Carles Cufi <[email protected]>
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.