Commit graph zephyr/subsys
Author SHA1 Message Date
Arthur Gay
164cf2c8e8 shell: websocket: Fix race condition
Guard the websocket shell backend's internal state with a mutex.
The disconnect callback executes on a different thread than the shell
and can interleave with sends, leading to writes on an invalid fd or
a disconnected socket.

Signed-off-by: Arthur Gay <arthur.gay@marshmallow.kids>
2026-03-19 17:02:00 +01:00
Tomasz Moń
188118f562 usb: device_next: Preallocate SETUP buffer
Preallocate and keep reusing the same buffer for SETUP data. This
ensures that USB stack will always be able to handle SETUP stage
regardless of UDC memory pool usage.

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2026-03-19 16:58:56 +01:00
Tomasz Moń
244b015e99 usb: device_next: Allocate control buffers in stack
Allocating buffer in response to control transfer is part of processing
and therefore should not be done in UDC driver but rather in the stack.

Simplify UDC driver design by moving all control transfer buffer
allocations and processing to USB stack.

New control transfer handling flow is as follows:
  1. USB stack allocates and queues buffer for Setup stage. This informs
     UDC driver that USB stack is ready to process new transfer.
  2. UDC driver completes enqueued Setup buffer. SETUP data may have
     been received by device before Setup buffer was enqueued.
     If multiple SETUP data was received, UDC driver must complete
     request using last received SETUP data.
  3. USB stack processes request. USB stack is responsible for:
       * Stalling control endpoint when request cannot be processed
       * Allocating and enqueueing Data stage buffer if necessary
           - Depending on enqueued endpoint (IN/OUT), UDC driver is
	     expected to complete the transfer. If host sends new SETUP
             data for any reason (e.g. timeout), then Data stage buffer
             must be completed with -ECONNRESET code.
           - UDC driver may postpone processing Data IN until USB stack
	     enqueues new Setup stage buffer.
       * Handling status stage if applicable
           - If Data IN was enqueued, stack immediately allocates and
	     enqueues Status OUT stage buffer.
           - If Data OUT was enqueued, stack waits for Data OUT buffer
	     completion before doing any further processing.
           - If control transfer handling fails, stack is expected to
             STALL control endpoint.
       * Allocating and enqueuing Setup buffer.
           - This informs UDC driver that stack has finished processing
	     control transfer. UDC driver may choose to start processing
             Data IN and/or Status OUT only after new Setup buffer is
             enqueued.
  4. UDC driver must fail (complete with -ECONNRESET) any enqueued and
     not completed Data and Status buffers if host sends new SETUP data.
     UDC driver must be able to buffer last received SETUP data until
     USB stack is ready (enqueues Setup buffer).
  5. UDC driver must complete all Data and Status buffers before it
     completes Setup buffer.
  6. UDC driver may keep ownership of Setup, Data and/or Status buffers
     across USB bus resets. USB stack does not attempt to dequeue any
     control transfer buffer it enqueued.

This approach implicitly synchronizes UDC driver against USB stack,
which ensures that only one set of Setup/Data/Status buffers is
allocated at a time.

Another advantage of the rework is drawing a clear line on buffer
ownership. The buffer responsibilities are as follows:
  * USB stack is the only entity that both allocates and frees the
    buffers. Only USB stack is allowed to set "setup", "data" and
    "status" fields in struct udc_buf_info.
  * UDC takes ownership of buffers handed to it in udc_ep_enqueue().
  * UDC releases buffer ownership by calling udc_submit_ep_event().

Because there is just a single place where the buffer ownership changes,
and all buffers must go USB stack (alloc) -> UDC (perform requests on
the bus) -> USB stack (free) route it would be possible in the future to
implement a "tap" similar to Linux usbmon that would ease debugging.

This commit significantly changes how USB stack communicates with UDC
drivers. It was decided that supporting both the old and new model
simultaneously would require way too much effort. Therefore all UDC
drivers were reworked. Following people worked on driver rework:
  * Tomasz Moń - ambiq, dwc2, kinetis, mcux ip3511, nrf, numaker,
                 renesas ra, rpi pico, smartbond, virtual
  * Mathieu Choplain - stm32
  * Mark Wang - mcux ehci
  * Johann Fischer - sam0, stm32
  * Ren Chen - it82xx2
  * Brandon Hurst - max32
  * Gerson Fernando Budke - sam udp, sam usbc, sam usbhs

Co-authored-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
Co-authored-by: Johann Fischer <johann.fischer@nordicsemi.no>
Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
Co-authored-by: Mark Wang <yichang.wang@nxp.com>
Signed-off-by: Mark Wang <yichang.wang@nxp.com>
Co-authored-by: Ren Chen <Ren.Chen@ite.com.tw>
Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
Co-authored-by: Brandon Hurst <brandon.hurst@analog.com>
Signed-off-by: Brandon Hurst <brandon.hurst@analog.com>
Co-authored-by: Gerson Fernando Budke <nandojve@gmail.com>
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2026-03-19 16:58:56 +01:00
Emil Gydesen
fa87a67169 Bluetooth: ISO: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-19 11:38:12 +00:00
Kai Cheng
f3c178192e Bluetooth: UUID: add bt_uuid_compress helper
Add bt_uuid_compress() to compact a 128-bit Bluetooth UUID into its
16-bit or 32-bit short form when it matches the Bluetooth Base UUID.

If the UUID does not match the Base UUID pattern the 128-bit value is
copied unchanged and -ENOTSUP is returned, allowing callers to
distinguish compressible from non-compressible UUIDs.

16-bit and 32-bit source UUIDs are copied as-is.

Signed-off-by: Kai Cheng <chengkai@xiaomi.com>
2026-03-19 11:36:39 +00:00
Kai Cheng
63420b0098 Bluetooth: UUID: add string to UUID conversion function
Implement bt_uuid_from_str() function to convert string representations
to Bluetooth UUID structures. This provides bidirectional conversion
between UUID structures and their string representations, complementing
the existing bt_uuid_to_str() function.

Features:
- Supports 16-bit UUID format (4 hex characters, e.g., "180d")
- Supports 32-bit UUID format (8 hex characters, e.g., "abcdef12")
- Supports 128-bit UUID standard format (with hyphens)
- Comprehensive input validation and error handling
- Automatic UUID type detection based on string length

Signed-off-by: Kai Cheng <chengkai@xiaomi.com>
2026-03-19 11:36:39 +00:00
Kai Cheng
898c4877a2 Bluetooth: UUID: refactor to use generic UUID library
Refactor the Bluetooth UUID module to use the generic UUID library
(lib/uuid) instead of hand-rolled byte manipulation.

Changes:
- Replace bt_uuid_128-based base UUID with struct uuid (RFC 9562 order)
- Replace uuid_to_uuid128() with bt_uuid_to_uuid() for BT-to-generic
  UUID conversion using proper big-endian / byte-swap operations
- Simplify bt_uuid_to_str() 128-bit case via uuid_to_string()
- Add Kconfig 'select UUID' dependency for BT_HCI_HOST

Signed-off-by: Kai Cheng <chengkai@xiaomi.com>
2026-03-19 11:36:39 +00:00
Andreas Ålgård
2f6289d792 net: dhcpv4_server: Allow application to reject an address
This is useful if the application may wish to reject an address.
This works well alongside the address_provider callback, this way
you can enforce static leases based on the client id (MAC address).

Signed-off-by: Andreas Ålgård <aal@ixys.no>
2026-03-19 11:35:22 +00:00
akshay bansod
baa6058b08 net: sockets: add missing net_log.h header
compilation of socket_obj_core.c fails due to missing
net_log.h header. Fixes #105692

Signed-off-by: akshay bansod <akbansd@gmail.com>
2026-03-19 11:34:38 +00:00
Lyle Zhu
f21c79f310 bluetooth: host: avrcp: fix return value handling in command handlers
Fix three command handlers that were incorrectly returning the result
of callback functions with void return type:
- avrcp_unit_info_cmd_handler
- avrcp_subunit_info_cmd_handler
- avrcp_pass_through_cmd_handler

Split the callback invocation and return statement to properly handle
the void return type, avoiding potential compiler warnings or errors.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-03-19 12:28:15 +09:00
Emil Gydesen
3d5b7275e8 Bluetooth: Audio: Spring cleaning
Add missing header files, remove unused header files,
fix typos and missing static.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-18 17:42:55 -05:00
Roland Lux
2ced30b672 logging: backend: mqtt: fix mqtt log backend on client disconnect
The MQTT logging backend can cause the logging thread
to take over idle time when the used client disconnects/fails
to send the log messages.
Fixed by always returning the length of the log in every case.

Signed-off-by: Roland Lux <roland.lux@blue-zone.at>
2026-03-18 17:35:57 -05:00
Jjateen Gundesha
33b29cb4ef net: config: fix race in check_interface() causing indefinite block
- NET_EVENT_IF_UP can fire between the net_if_is_up() check and
net_mgmt_add_event_callback() in check_interface(). When this
happens (e.g. with CONFIG_SHELL_BACKEND_TELNET=y which starts a
same-priority thread that brings the interface up concurrently),
the event is missed and net_config_init_by_iface() blocks forever.

- Fix by always registering the callback first, then checking
net_if_is_up() after registration. If the interface came up in
the race window, remove the callback and signal the semaphore
immediately. Move the NET_INFO print to only fire when we are
genuinely going to wait.

Signed-off-by: Jjateen Gundesha <jjateen97@gmail.com>
2026-03-18 15:27:54 -05:00
Sylvio Alves
d8215fe289 cmake: remove deprecated espressif toolchain variant
The espressif toolchain variant (ZEPHYR_TOOLCHAIN_VARIANT=espressif)
has not been used for years. Espressif targets are now built using the
Zephyr SDK, which bundles the required Xtensa and RISC-V toolchains.

Remove the cmake/toolchain/espressif/ directory containing generic.cmake,
target.cmake, and Kconfig files that implemented this variant. Also
clean up references in the coredump xtensa gdb stubs, removing the
ESPRESSIF toolchain enum value and related handling code.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-03-18 15:25:03 -05:00
Johan Hedberg
6f9999f48e Bluetooth: Remove bt_hci_cmd_create()
The bt_hci_cmd_create() function was deprecated several releases ago (in
Zephyr 4.2) and can therefore now be removed.

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2026-03-18 15:23:03 -05:00
Seppo Takalo
42d4c802a2 modem: cmux: Add handler for control channel disconnect
The 3GPP TS 27.010  section 5.3.4 specifies:
"DISC command sent at DLCI 0 have the same meaning as the
 Multiplexer Close Down command"

Add a handler for this and do the same operation as in
modem_cmux_on_cld_command().

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2026-03-18 15:19:57 -05:00
Emil Gydesen
9fafa1288d Bluetooth: TBS: Add check before memcpy of URI scheme
Add a check of the URI scheme length before comparing it
to any instance's supported URI schemes. If the incoming
URI scheme is longer than what we support, then there's
no point in checking if we support it, as we cannot.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-18 08:44:27 -05:00
Vedant Malkar
e49a5c1bc2 Bluetooth: MCS: Remove the GATT include service when OTS is disabled
The BT_GATT_INCLUDE_SERVICE is always included in
BT_MCS_SERVICE_DEFINITION even when CONFIG_BT_OTS=n,
this fixes it such that it is only included when OTS is enabled.

Fixes zephyrproject-rtos#105345

Signed-off-by: Vedant Malkar <vedantitsme@gmail.com>
2026-03-18 08:42:34 -05:00
Kai Cheng
77e1d6a86c Bluetooth: host: call bt_br_init() for Classic init in hci_init
When the controller supports BR/EDR and CONFIG_BT_CLASSIC is
enabled, call bt_br_init() to perform the full BR/EDR Classic
initialization (SSP mode, inquiry mode, local name, Class of
Device, etc.).

For non-Classic builds that still need BR/EDR buffer sizes,
gate the hci_read_buffer_size() fallback with
IS_ENABLED(CONFIG_BT_CONN) to make the build-time condition
explicit at the call site.

Signed-off-by: Kai Cheng <chengkai@xiaomi.com>
2026-03-18 08:35:43 -05:00
Kai Cheng
8cec37d8ec Bluetooth: Classic: sync local name to BR/EDR in bt_set_name()
When CONFIG_BT_CLASSIC is enabled and the controller is ready,
push the updated device name to the BR/EDR controller via
bt_br_write_local_name() inside bt_set_name(). This ensures
runtime name changes are properly synchronized to the BR/EDR
transport.

Signed-off-by: Kai Cheng <chengkai@xiaomi.com>
2026-03-18 08:35:43 -05:00
Kai Cheng
74e4b632ac Bluetooth: Classic: sync local name to BR/EDR on settings commit
When CONFIG_BT_DEVICE_NAME_DYNAMIC is enabled, write the device name
(restored from flash or the compile-time default) to the BR/EDR
controller during commit_settings().

Replace the bt_set_name() call with a direct strncpy into bt_dev.name
to avoid an unnecessary flash write, then explicitly push the name to
the BR/EDR controller via bt_br_write_local_name().

Signed-off-by: Kai Cheng <chengkai@xiaomi.com>
2026-03-18 08:35:43 -05:00
Kai Cheng
f5e1c8ea54 Bluetooth: Classic: move bt local name to bt_br_write_local_name
Extract the HCI Write Local Name command into a reusable
bt_br_write_local_name() helper and use it in bt_br_init().

When CONFIG_BT_DEVICE_NAME_DYNAMIC and CONFIG_BT_SETTINGS are
both enabled, skip writing the compile-time default here since
the settings commit callback will push the correct name (either
restored from flash or the default) to the controller.

Signed-off-by: Kai Cheng <chengkai@xiaomi.com>
2026-03-18 08:35:43 -05:00
Fin Maaß
a3a39e1cf9 net: config: improve help of NET_CONFIG_CLOCK_SNTP_INIT
as we now have the sys_clock api that is
used for the system time, mention that api
in help too.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-18 10:58:30 +09:00
Fin Maaß
9784bf1d4b net: config: fix help of NET_CONFIG_SNTP_INIT_USE_CONNECTION_MANAGER
fix help of NET_CONFIG_SNTP_INIT_USE_CONNECTION_MANAGER

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-18 10:58:30 +09:00
Jamie McCrae
f22592cbc5 tree: Replace FIXED_PARTITION_* macro usage with PARTITION_*
Replaces usage of these deprecated macros with ones that support
fixed and mapped partition compatibles. Also includes an update to
hal_espressif which also (rightly or wrongly) has zephyr specific
code in it

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-17 18:24:52 -04:00
Jamie McCrae
0b6b5bfe34 secure_storage: kconfig: Add support for zephyr,mapped-partition
Adds support for this binding to the Kconfig

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-17 18:24:52 -04:00
Jamie McCrae
872905f2f3 mgmt: mcumgr: grp: img_mgmt: Add support for zephyr,mapped-partition
Prevents checking if the flash offset Kconfig is defined

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-17 18:24:52 -04:00
Jamie McCrae
4b24aeec22 dfu: img_util: flash_img: Add support for zephyr,mapped-partition
Allows using this system with zephyr,mapped-partition bindings

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-17 18:24:52 -04:00
Jamie McCrae
f8f83289c0 storage: Add support for zephyr,mapped-partition
Adds support for this new binding with new macros, also introduces
a new PARTITION_* macro scheme which allows for using either
storage method without needing to pick one or the other, and
deprecates the previous FIXED_PARTITION_* macros

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-17 18:24:52 -04:00
Fin Maaß
f4e724a56a mgmt: hawkbit: remove CONFIG_HAWKBIT_DDI_NO_SECURITY
remove the deprecated option
CONFIG_HAWKBIT_DDI_NO_SECURITY.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-17 18:23:41 -04:00
Alberto Escolar Piedras
aadb23a188 net: Include correct header in all users of net logging macros
The net logging helper macros are now in a separate header.
Let's have all net users to include this new header.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-03-17 18:21:28 -04:00
Alberto Escolar Piedras
f9002f02fc shell: backends: shell_telnet: Remove uses of net logging helper macros
These macros are private to the net subsystem, let's not use them in
other subsystems.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-03-17 18:21:28 -04:00
Chaitanya Tata
277dad84c9 net: lib: shell: Add static ARP support
Add shell command to add a static ARP entry, useful in testing.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Assisted-by: Cursor:Auto clang-format
2026-03-17 18:21:10 -04:00
Roman Leonov
638731f438 drivers: usb: host: Fixed small typo in description
Fixed small typo in doxygen description interace -> interface.

Signed-off-by: Roman Leonov <jam_roma@yahoo.com>
2026-03-17 18:18:49 -04:00
Fin Maaß
8843c50f3e net: ethernet: lldp: use sys_timepoint_* api
use sys_timepoint_* api.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-17 18:17:46 -04:00
Fin Maaß
061e7ff951 net: ethernet: lldp: simplify of changed vlan ifaces
as there is now a 1:1 relationship beween
struct ethernet_context and struct net_if
we can simplify the logic here,.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-17 18:17:46 -04:00
Fin Maaß
d089a201dc net: ethernet: lldp: use net_if_oper_state to check up ifaces
use `NET_IF_OPER_UP` to check if the iface is
already up, this is also the state that corespondes with
NET_EVENT_IF_UP.

Also move `net_if_foreach(iface_cb, NULL);`
after `net_mgmt_add_event_callback()`, so we won't
miss any up event.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-17 18:17:46 -04:00
Fin Maaß
fe56ee8794 net: ethernet: lldp: use K_WORK_DELAYABLE_DEFINE
use K_WORK_DELAYABLE_DEFINE macro.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-17 18:17:46 -04:00
Glenn Andrews
81485240c2 Debug: coredump: Fix error checking
Fix error-checking bug in Zephyr `coredump_shell.c` for
`coredump_cmd(COREDUMP_CMD_COPY_STORED_DUMP, ...)`. The function
returns the number of bytes copied (≥ 0) on success and a negative
errno on failure, but the existing checks used `ret != 0` which
incorrectly treated a successful non-zero byte count as an error.

This bug prevented the coredump printing shell commands from working.

signed-off-by: Glenn Andrews <andrewsglenn@meta.com>
2026-03-17 18:17:17 -04:00
Stephanos Ioannidis
a3a3908c51 secure_storage: Document SECURE_STORAGE_ITS_STORE_SETTINGS_NAME_BUF_SIZE
Document `SECURE_STORAGE_ITS_STORE_SETTINGS_NAME_BUF_SIZE` enum to appease
the Doxygen coverage check ...

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2026-03-17 15:43:52 -04:00
Anas Nashif
180f667812 cmake: toolchain: combine host variants
Combine toolchains provided by the host into one variant. This includes
both gcc and llvm installation typically coming from the distribution
(on Linux).

Both gcc and llvm are now part of the 'host' variant, the default is the
gnu compiler, so setting

	ZEPHYR_TOOLCHAIN_VARIANT=host

Will select the gnu compiler. To select llvm or any other compuler
provided in this variant, use the follwoing format:

	ZEPHYR_TOOLCHAIN_VARIANT=<variant>/<compiler>

The following will select llvm:

	ZEPHYR_TOOLCHAIN_VARIANT=host/llvm

Although gnu is the default, it can also be selected using the above
syntax:

	ZEPHYR_TOOLCHAIN_VARIANT=host/gnu

This commit removes the llvm variant for now, it should be deperecated
in another commit to follow.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2026-03-17 15:43:52 -04:00
Alberto Escolar Piedras
0738cf846c modem: cmux: Fix trivial warning building with clang
Fix `error: label followed by a declaration is a C23 extension`
warning.

Issue introduced 0d3883516f

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-03-17 15:06:06 +01:00
Aiden Hu
fb3ae541cf usb: host: refine connect/disconnect handling
The attach and detach flow was previously scattered across bus event
handlers and class code, causing duplicated enumeration and class
probe/remove logic. Root-device state was also manipulated directly in
the host context, which made lifecycle handling implicit and limited
the ability to support devices behind a hub.

This update introduces common helpers for device attach and detach and
replaces direct root access with simple accessor functions. By unifying
enumeration and teardown into a single path, the control flow becomes
clearer and more consistent, and the host stack is no longer tied to a
single-root assumption. These changes form the basis for supporting
multiple devices attached through a hub in future updates.

Signed-off-by: Aiden Hu <weiwei.hu@nxp.com>
2026-03-17 10:25:34 +00:00
Tharaka Jayasena
22c25e9595 net: ethernet: bridge: ensure valid MAC
The random_linkaddr() function may generate MAC addresses with the
multicast bit set. Source MAC addresses must not be multicast, and
randomly generated virtual interface addresses should have the
locally administered (LAA) bit set.
Force the LAA bit and clear the multicast bit after generating the
random address.

Signed-off-by: Tharaka Jayasena <9dmpires2k17.tuj@gmail.com>
2026-03-16 19:08:41 -05:00
Seppo Takalo
3abf8e47b0 modem: cmux: Add checks for frame decoding
Check for:
* valid frame type
* valid address (range 0..63)
* command decoding length.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2026-03-16 19:05:20 -05:00
Seppo Takalo
0d3883516f modem: cmux: Remove double buffering from RX
Remove double buffering that was using a separate work_buffer.
Receive and parse frames directly into receive_buffer instead.

This saves MODEM_CMUX_WORK_BUFFER_SIZE of RAM and avoids
one copy from work_buffer to receive_buffer.

Driver already asserts if the receive buffer does not fit
maximum frame, so it should be properly sized.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2026-03-16 19:05:20 -05:00
Emil Gydesen
ce46777957 Bluetooth: CAP: Shell: Set correct stream_cnt for ac_14
AC 14 is stereo on a single BIS, so that is 1 stream with
2 channels.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-16 19:04:26 -05:00
Pieter De Gendt
90ed20dbc6 net: lib: addrinfo: Use struct net_sockaddr_storage
Replace the struct net_sockaddr in zsock_addrinfo with struct
net_sockaddr_storage.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-03-16 19:04:02 -05:00
Ayush Singh
5e2e40f64c boards: beagleboard: pocketbeagle_2: m4: Add rpmsg uart
- Add rpmsg uart in dt.
- Not enabling it by default yet.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2026-03-16 18:58:35 -05:00
Ayush Singh
4979d81f75 ipc: rpmsg_service: Add openamp resource table support
Use resource table when CONFIG_OPENAMP_RSC_TABLE is enabled.

Tested with PocketBeagle 2 (M4 core running Zephyr)

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2026-03-16 18:58:35 -05:00