Skip to content

Thingy91x Gateway Fixes#306

Open
szczys wants to merge 5 commits into
mainfrom
szczys/thingy91x-gateway-fixes
Open

Thingy91x Gateway Fixes#306
szczys wants to merge 5 commits into
mainfrom
szczys/thingy91x-gateway-fixes

Conversation

@szczys

@szczys szczys commented Jul 23, 2026

Copy link
Copy Markdown
Contributor
  • Update gateway_custom_connect partitions to match changes already made in gateway so code is generated without a bootloader offset
  • Make sure UART0 is disabled on ncs-serial-modem as it inteferes with inter-chip comms.
  • Handle memory use in the same way as the nrf9160dk so we have enough room for heap
  • Add auto-pairing by default as is done wiht nrf9160dk
  • Document how to provision certificates by flashing an lfs binary

Known Issues:

The chips can now communicate with one another and we are able to get a network connection and start the sync with bluetooth devices. However, after every pouch operation, the BLE connection drops with reason 0x08
~5-8 seconds later, regardless of the 7-second supervision timeout.

This issue is beyond the scope of the current PR and is tracked here: https://github.com/golioth/firmware-issue-tracker/issues/1056

szczys added 5 commits July 24, 2026 14:46
the thingy91x does not use mcuboot so the partition table must be adjusted
to place slot0 at 0x0. This matches the same change made in
examples/zephyr/gateway.

Signed-off-by: Mike Szczys <michael.szczys@canonical.com>
The UART0 tx/rx pins are being used for flow control (cts/rts) with the
nrf53. Reroute shell to RTT and disable UART0 to resolve interference with
inter-chip comms.

Signed-off-by: Mike Szczys <michael.szczys@canonical.com>
- limit BT max connections to 8 to ensure there is enough RAM for the heap
- move cmux workqueue stack from 1024 to 2048 to avoid flow control issues

This maps changes already made to the nrf9160dk gateway

Signed-off-by: Mike Szczys <michael.szczys@canonical.com>
By default, enable auto-pair and auto-connect on the Thingy91x in the same
way we do for the nrf9160dk.

Signed-off-by: Mike Szczys <michael.szczys@canonical.com>
the Thingy91x uses RTT instead of USB for console communication and the
mcumgr-based provisioning used by other boards is not available in this
setup. This commit documents how to generate a LittleFS (lfs) binary that
contains the PKI credentials that may be flash directly to the storage
partition.

Signed-off-by: Mike Szczys <michael.szczys@canonical.com>
@szczys
szczys force-pushed the szczys/thingy91x-gateway-fixes branch from 4e2898f to e8ae187 Compare July 24, 2026 21:55
@szczys
szczys marked this pull request as ready for review July 24, 2026 22:02
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.

1 participant