Skip to content

Fix DTS problems#338

Merged
MarkusLassila merged 2 commits into
nrfconnect:mainfrom
MarkusLassila:fix-pgps-overlay
Jun 3, 2026
Merged

Fix DTS problems#338
MarkusLassila merged 2 commits into
nrfconnect:mainfrom
MarkusLassila:fix-pgps-overlay

Conversation

@MarkusLassila
Copy link
Copy Markdown
Contributor

@MarkusLassila MarkusLassila commented Jun 3, 2026

Fixing leftovers found by CI in PM to DTS transition related to Thingy91:X, Memfault and P-GPS.

Jira: SM-244

Additional partition needs to be inside storage_partition so that
TF-M sets it non-secure.

Signed-off-by: Markus Lassila <markus.lassila@nordicsemi.no>
- Add missing b0 and mcuboot overlays

- Set the secure size correctly for overlay-trace-backend.overlay

- Disable carrier for Thingy:91x. It would need it's own overlay as
the storage_partition is in external flash.

Signed-off-by: Markus Lassila <markus.lassila@nordicsemi.no>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates devicetree overlays to resolve build/validation issues across sysbuild (MCUboot/B0) and feature overlays, particularly for the Thingy:91 X (nRF9151) and for flash/RAM layout overlays used by optional features.

Changes:

  • Add/align Thingy:91 X sysbuild overlays (MCUboot + B0) to set zephyr,code-partition, use uart1 console, and configure UART1 baudrate.
  • Adjust trace-backend SRAM overlay to delete/recreate sram0_s/sram0_ns nodes explicitly.
  • Rework PGPS and Memfault flash overlays to introduce a storage_partition container with sub-partitions (and select a settings partition), and narrow one Twister build matrix entry to DK only.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
app/sysbuild/mcuboot/boards/thingy91x_nrf9151.overlay Adds chosen nodes for MCUboot and switches console/UART config to uart1 at 1M baud.
app/sysbuild/b0/boards/thingy91x_nrf9151.overlay New Thingy:91 X B0 sysbuild overlay setting code partition + console on uart1.
app/sample.yaml Removes Thingy:91 X from the serial_modem.lwm2m_carrier test’s platform_allow.
app/overlay-trace-backend.overlay Makes SRAM node layout explicit by deleting and recreating secure/non-secure SRAM nodes.
app/overlay-pgps.overlay Refactors flash layout to use a storage_partition with pgps + settings-storage sub-partitions.
app/overlay-memfault.overlay Refactors flash layout to use a storage_partition with Memfault coredump + settings-storage sub-partitions.

@MarkusLassila MarkusLassila merged commit 8825528 into nrfconnect:main Jun 3, 2026
2 checks passed
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.

3 participants