text stringlengths 9 39.2M | dir stringlengths 25 226 | lang stringclasses 163 values | created_date timestamp[s] | updated_date timestamp[s] | repo_name stringclasses 751 values | repo_full_name stringclasses 752 values | star int64 1.01k 183k | len_tokens int64 1 18.5M |
|---|---|---|---|---|---|---|---|---|
```restructuredtext
.. _bluetooth_mesh_dfd_srv:
Firmware Distribution Server
############################
The Firmware Distribution Server model implements the Distributor role for the
:ref:`bluetooth_mesh_dfu` subsystem. It extends the :ref:`bluetooth_mesh_blob_srv`, which it uses to
receive the firmware image binary from the Initiator node. It also instantiates a
:ref:`bluetooth_mesh_dfu_cli`, which it uses to distribute firmware updates throughout the mesh
network.
.. note::
Currently, the Firmware Distribution Server supports out-of-band (OOB) retrieval of firmware
images over SMP service only.
The Firmware Distribution Server does not have an API of its own, but relies on a Firmware
Distribution Client model on a different device to give it information and trigger image
distribution and upload.
Firmware slots
**************
The Firmware Distribution Server is capable of storing multiple firmware images for distribution.
Each slot contains a separate firmware image with metadata, and can be distributed to other mesh
nodes in the network in any order. The contents, format and size of the firmware images are vendor
specific, and may contain data from other vendors. The application should never attempt to execute
or modify them.
The slots are managed remotely by a Firmware Distribution Client, which can both upload new slots
and delete old ones. The application is notified of changes to the slots through the Firmware
Distribution Server's callbacks (:cpp:type:`bt_mesh_fd_srv_cb`). While the metadata for each
firmware slot is stored internally, the application must provide a :ref:`bluetooth_mesh_blob_stream`
for reading and writing the firmware image.
API reference
*************
.. doxygengroup:: bt_mesh_dfd_srv
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/mesh/dfd_srv.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 349 |
```restructuredtext
.. _bluetooth_mesh_sar_cfg:
Segmentation and reassembly (SAR)
#################################
Segmentation and reassembly (SAR) provides a way of handling larger upper transport layer messages
in a mesh network, with a purpose of enhancing the Bluetooth Mesh throughput. The segmentation and
reassembly mechanism is used by the lower transport layer.
The lower transport layer defines how the upper transport layer PDUs are segmented and reassembled
into multiple Lower Transport PDUs, and sends them to the lower transport layer on a peer device.
If the Upper Transport PDU fits, it is sent in a single Lower Transport PDU. For longer packets,
which do not fit into a single Lower Transport PDU, the lower transport layer performs segmentation,
splitting the Upper Transport
PDU into multiple segments.
The lower transport layer on the receiving device reassembles the segments into a single Upper
Transport PDU before passing it up the stack. Delivery of a segmented message is acknowledged by the
lower transport layer of the receiving node, while an unsegmented message delivery is not
acknowledged. However, an Upper Transport PDU that fits into one Lower Transport PDU can also be
sent as a single-segment segmented message when acknowledgment by the lower transport layer is
required. Set the ``send rel`` flag (see :c:struct:`bt_mesh_msg_ctx`) to use the reliable message
transmission and acknowledge single-segment segmented messages.
The transport layer is able to transport up to 32 segments with its SAR mechanism, with a maximum
message (PDU) size of 384 octets. To configure message size for the Bluetooth Mesh stack, use the
following Kconfig options:
* :kconfig:option:`CONFIG_BT_MESH_RX_SEG_MAX` to set the maximum number of segments in an incoming message.
* :kconfig:option:`CONFIG_BT_MESH_TX_SEG_MAX` to set the maximum number of segments in an outgoing message.
The Kconfig options :kconfig:option:`CONFIG_BT_MESH_TX_SEG_MSG_COUNT` and
:kconfig:option:`CONFIG_BT_MESH_RX_SEG_MSG_COUNT` define how many outgoing and incoming segmented
messages can be processed simultaneously. When more than one segmented message is sent to the same
destination, the messages are queued and sent one at a time.
Incoming and outgoing segmented messages share the same pool for allocation of their segments. This
pool size is configured through the :kconfig:option:`CONFIG_BT_MESH_SEG_BUFS` Kconfig option.
Both incoming and outgoing messages allocate segments at the start of the transaction. The outgoing
segmented message releases its segments one by one as soon as they are acknowledged by the receiver,
while the incoming message releases the segments first after the message is fully received.
Keep this in mind when defining the size of the buffers.
SAR does not impose extra overhead on the access layer payload per segment.
Segmentation and reassembly (SAR) Configuration models
******************************************************
With Bluetooth Mesh Protocol Specification version 1.1, it became possible to configure SAR
behavior, such as intervals, timers and retransmission counters, over a mesh network using SAR
Configuration models:
* :ref:`bluetooth_mesh_sar_cfg_cli`
* :ref:`bluetooth_mesh_sar_cfg_srv`
The following SAR behavior applies regardless of the presence of a SAR Configuration Server on a
node.
Transmission of segments is separated by a segment transmission interval (see the
`SAR Segment Interval Step`_ state). Other configurable time intervals and delays available for the
segmentation and reassembly are:
* Interval between unicast retransmissions (see the states `SAR Unicast Retransmissions Interval Step`_ and `SAR Unicast Retransmissions Interval Increment`_).
* Interval between multicast retransmissions (see the `SAR Multicast Retransmissions Interval Step`_ state).
* Segment reception interval (see the `SAR Receiver Segment Interval Step`_ state).
* Acknowledgment delay increment (see the `SAR Acknowledgment Delay Increment`_ state).
When the last segment marked as unacknowledged is transmitted, the lower transport layer starts a
retransmissions timer. The initial value of the SAR Unicast Retransmissions timer depends on the
value of the TTL field of the message. If the TTL field value is greater than ``0``, the initial
value for the timer is set according to the following formula:
.. math::
unicast~retransmissions~interval~step + unicast~retransmissions~interval~increment \times (TTL - 1)
If the TTL field value is ``0``, the initial value of the timer is set to the unicast
retransmissions interval step.
The initial value of the SAR Multicast Retransmissions timer is set to the multicast retransmissions
interval.
When the lower transport layer receives a message segment, it starts a SAR Discard timer. The
discard timer tells how long the lower transport layer waits before discarding the segmented message
the segment belongs to. The initial value of the SAR Discard timer is the discard timeout value
indicated by the `SAR Discard Timeout`_ state.
SAR Acknowledgment timer holds the time before a Segment Acknowledgment message is sent for a
received segment. The initial value of the SAR Acknowledgment timer is calculated using the
following formula:
.. math::
min(SegN + 0.5 , acknowledgment~delay~increment) \times segment~reception~interval
The ``SegN`` field value identifies the total number of segments the Upper Transport PDU is
segmented into.
Four counters are related to SAR behavior:
* Two unicast retransmissions counts (see `SAR Unicast Retransmissions Count`_ state and `SAR Unicast Retransmissions Without Progress Count`_ state)
* Multicast retransmissions count (see `SAR Multicast Retransmissions Count`_ state)
* Acknowledgment retransmissions count (see `SAR Acknowledgment Retransmissions Count`_ state)
If the number of segments in the transmission is higher than the value of the
`SAR Segments Threshold`_ state, Segment Acknowledgment messages are retransmitted using the value
of the `SAR Acknowledgment Retransmissions Count`_ state.
.. _bt_mesh_sar_cfg_states:
SAR states
**********
There are two states defined related to segmentation and reassembly:
* SAR Transmitter state
* SAR Receiver state
The SAR Transmitter state is a composite state that controls the number and timing of transmissions
of segmented messages. It includes the following states:
* SAR Segment Interval Step
* SAR Unicast Retransmissions Count
* SAR Unicast Retransmissions Without Progress Count
* SAR Unicast Retransmissions Interval Step
* SAR Unicast Retransmissions Interval Increment
* SAR Multicast Retransmissions Count
* SAR Multicast Retransmissions Interval Step
The SAR Receiver state is a composite state that controls the number and timing of Segment
Acknowledgment transmissions and the discarding of reassembly of a segmented message. It includes
the following states:
* SAR Segments Threshold
* SAR Discard Timeout
* SAR Acknowledgment Delay Increment
* SAR Acknowledgment Retransmissions Count
* SAR Receiver Segment Interval Step
SAR Segment Interval Step
=========================
SAR Segment Interval Step state holds a value that controls the interval between transmissions of
segments of a segmented message. The interval is measured in milliseconds.
Use the :kconfig:option:`CONFIG_BT_MESH_SAR_TX_SEG_INT_STEP` Kconfig option to set the default
value. Segment transmission interval is then calculated using the following formula:
.. math::
(\mathtt{CONFIG\_BT\_MESH\_SAR\_TX\_SEG\_INT\_STEP} + 1) \times 10~\text{ms}
SAR Unicast Retransmissions Count
=================================
SAR Unicast Retransmissions Count holds a value that defines the maximum number of retransmissions
of a segmented message to a unicast destination. Use the
:kconfig:option:`CONFIG_BT_MESH_SAR_TX_UNICAST_RETRANS_COUNT` Kconfig option to set the default
value for this state.
SAR Unicast Retransmissions Without Progress Count
==================================================
This state holds a value that defines the maximum number of retransmissions of a segmented message
to a unicast address that will be sent if no acknowledgment was received during the timeout, or if
an acknowledgment with already confirmed segments was received. Use the Kconfig option
:kconfig:option:`CONFIG_BT_MESH_SAR_TX_UNICAST_RETRANS_WITHOUT_PROG_COUNT` to set the maximum number
of retransmissions.
SAR Unicast Retransmissions Interval Step
=========================================
The value of this state controls the interval step used for delaying the retransmissions of
unacknowledged segments of a segmented message to a unicast address. The interval step is measured
in milliseconds.
Use the :kconfig:option:`CONFIG_BT_MESH_SAR_TX_UNICAST_RETRANS_INT_STEP` Kconfig option to set the
default value. This value is then used to calculate the interval step using the following formula:
.. math::
(\mathtt{CONFIG\_BT\_MESH\_SAR\_TX\_UNICAST\_RETRANS\_INT\_STEP} + 1) \times 25~\text{ms}
SAR Unicast Retransmissions Interval Increment
==============================================
SAR Unicast Retransmissions Interval Increment holds a value that controls the interval increment
used for delaying the retransmissions of unacknowledged segments of a segmented message to a unicast
address. The increment is measured in milliseconds.
Use the Kconfig option :kconfig:option:`CONFIG_BT_MESH_SAR_TX_UNICAST_RETRANS_INT_INC` to set the
default value. The Kconfig option value is used to calculate the increment using the following
formula:
.. math::
(\mathtt{CONFIG\_BT\_MESH\_SAR\_TX\_UNICAST\_RETRANS\_INT\_INC} + 1) \times 25~\text{ms}
SAR Multicast Retransmissions Count
===================================
The state holds a value that controls the total number of retransmissions of a segmented message to
a multicast address. Use the Kconfig option
:kconfig:option:`CONFIG_BT_MESH_SAR_TX_MULTICAST_RETRANS_COUNT` to set the total number of
retransmissions.
SAR Multicast Retransmissions Interval Step
===========================================
This state holds a value that controls the interval between retransmissions of all segments in a
segmented message to a multicast address. The interval is measured in milliseconds.
Use the Kconfig option :kconfig:option:`CONFIG_BT_MESH_SAR_TX_MULTICAST_RETRANS_INT` to set the
default value that is used to calculate the interval using the following formula:
.. math::
(\mathtt{CONFIG\_BT\_MESH\_SAR\_TX\_MULTICAST\_RETRANS\_INT} + 1) \times 25~\text{ms}
SAR Discard Timeout
===================
The value of this state defines the time in seconds that the lower transport layer waits after
receiving segments of a segmented message before discarding that segmented message. Use the Kconfig
option :kconfig:option:`CONFIG_BT_MESH_SAR_RX_DISCARD_TIMEOUT` to set the default value. The discard
timeout will be calculated using the following formula:
.. math::
(\mathtt{CONFIG\_BT\_MESH\_SAR\_RX\_DISCARD\_TIMEOUT} + 1) \times 5~\text{seconds}
SAR Acknowledgment Delay Increment
==================================
This state holds a value that controls the delay increment of an interval used for delaying the
transmission of an acknowledgment message after receiving a new segment. The increment is measured
in segments.
Use the Kconfig option :kconfig:option:`CONFIG_BT_MESH_SAR_RX_ACK_DELAY_INC` to set the default
value. The increment value is calculated to be
:math:`\verb|CONFIG_BT_MESH_SAR_RX_ACK_DELAY_INC| + 1.5`.
SAR Segments Threshold
======================
SAR Segments Threshold state holds a value that defines a threshold in number of segments of a
segmented message for acknowledgment retransmissions. Use the Kconfig option
:kconfig:option:`CONFIG_BT_MESH_SAR_RX_SEG_THRESHOLD` to set the threshold.
When the number of segments of a segmented message is above this threshold, the stack will
additionally retransmit every acknowledgment message the number of times given by the value of
:kconfig:option:`CONFIG_BT_MESH_SAR_RX_ACK_RETRANS_COUNT`.
SAR Acknowledgment Retransmissions Count
========================================
The SAR Acknowledgment Retransmissions Count state controls the number of retransmissions of Segment
Acknowledgment messages sent by the lower transport layer. It gives the total number of
retranmissions of an acknowledgment message that the stack will additionally send when the size of
segments in a segmented message is above the :kconfig:option:`CONFIG_BT_MESH_SAR_RX_SEG_THRESHOLD`
value.
Use the Kconfig option :kconfig:option:`CONFIG_BT_MESH_SAR_RX_ACK_RETRANS_COUNT` to set the default
value for this state. The maximum number of transmissions of a Segment Acknowledgment message is
:math:`\verb|CONFIG_BT_MESH_SAR_RX_ACK_RETRANS_COUNT| + 1`.
SAR Receiver Segment Interval Step
==================================
The SAR Receiver Segment Interval Step defines the segments reception interval step used for
delaying the transmission of an acknowledgment message after receiving a new segment. The interval
is measured in milliseconds.
Use the Kconfig option :kconfig:option:`CONFIG_BT_MESH_SAR_RX_SEG_INT_STEP` to set the default value
and calculate the interval using the following formula:
.. math::
(\mathtt{CONFIG\_BT\_MESH\_SAR\_RX\_SEG\_INT\_STEP} + 1) \times 10~\text{ms}
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/mesh/sar_cfg.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,938 |
```restructuredtext
.. _bluetooth_mesh_shell:
Bluetooth Mesh Shell
####################
The Bluetooth Mesh shell subsystem provides a set of Bluetooth Mesh shell commands for the
:ref:`shell_api` module. It allows for testing and exploring the Bluetooth Mesh API through an
interactive interface, without having to write an application.
The Bluetooth Mesh shell interface provides access to most Bluetooth Mesh features, including
provisioning, configuration, and message sending.
Prerequisites
*************
The Bluetooth Mesh shell subsystem depends on the application to create the composition data and do
the mesh initialization.
Application
***********
The Bluetooth Mesh shell subsystem is most easily used through the Bluetooth Mesh shell application
under ``tests/bluetooth/mesh_shell``. See :ref:`shell_api` for information on how to connect and
interact with the Bluetooth Mesh shell application.
Basic usage
***********
The Bluetooth Mesh shell subsystem adds a single ``mesh`` command, which holds a set of
sub-commands. Every time the device boots up, make sure to call ``mesh init`` before any of the
other Bluetooth Mesh shell commands can be called::
uart:~$ mesh init
This is done to ensure that all available log will be printed to the shell output.
Provisioning
============
The mesh node must be provisioned to become part of the network. This is only necessary the first
time the device boots up, as the device will remember its provisioning data between reboots.
The simplest way to provision the device is through self-provisioning. To do this the user must
provision the device with the default network key and address ``0x0001``, execute::
uart:~$ mesh prov local 0 0x0001
Since all mesh nodes use the same values for the default network key, this can be done on multiple
devices, as long as they're assigned non-overlapping unicast addresses. Alternatively, to provision
the device into an existing network, the unprovisioned beacon can be enabled with
``mesh prov pb-adv on`` or ``mesh prov pb-gatt on``. The beacons can be picked up by an external
provisioner, which can provision the node into its network.
Once the mesh node is part of a network, its transmission parameters can be controlled by the
general configuration commands:
* To set the destination address, call ``mesh target dst <Addr>``.
* To set the network key index, call ``mesh target net <NetKeyIdx>``.
* To set the application key index, call ``mesh target app <AppKeyIdx>``.
By default, the transmission parameters are set to send messages to the provisioned address and
network key.
Configuration
=============
By setting the destination address to the local unicast address (``0x0001`` in the
``mesh prov local`` command above), we can perform self-configuration through any of the
:ref:`bluetooth_mesh_shell_cfg_cli` commands.
A good first step is to read out the node's own composition data::
uart:~$ mesh models cfg get-comp
This prints a list of the composition data of the node, including a list of its model IDs.
Next, since the device has no application keys by default, it's a good idea to add one::
uart:~$ mesh models cfg appkey add 0 0
Message sending
===============
With an application key added (see above), the mesh node's transition parameters are all valid, and
the Bluetooth Mesh shell can send raw mesh messages through the network.
For example, to send a Generic OnOff Set message, call::
uart:~$ mesh test net-send 82020100
.. note::
All multibyte fields model messages are in little endian, except the opcode.
The message will be sent to the current destination address, using the current network and
application key indexes. As the destination address points to the local unicast address by default,
the device will only send packets to itself. To change the destination address to the All Nodes
broadcast address, call::
uart:~$ mesh target dst 0xffff
With the destination address set to ``0xffff``, any other mesh nodes in the network with the
configured network and application keys will receive and process the messages we send.
.. note::
To change the configuration of the device, the destination address must be set back to the
local unicast address before issuing any configuration commands.
Sending raw mesh packets is a good way to test model message handler implementations during
development, as it can be done without having to implement the sending model. By default, only the
reception of the model messages can be tested this way, as the Bluetooth Mesh shell only includes
the foundation models. To receive a packet in the mesh node, you have to add a model with a valid
opcode handler list to the composition data in ``subsys/bluetooth/mesh/shell.c``, and print the
incoming message to the shell in the handler callback.
Parameter formats
*****************
The Bluetooth Mesh shell commands are parsed with a variety of formats:
.. list-table:: Parameter formats
:widths: 1 4 2
:header-rows: 1
* - Type
- Description
- Example
* - Integers
- The default format unless something else is specified. Can be either decimal or
hexadecimal.
- ``1234``, ``0xabcd01234``
* - Hexstrings
- For raw byte arrays, like UUIDs, key values and message payloads, the parameters should
be formatted as an unbroken string of hexadecimal values without any prefix.
- ``deadbeef01234``
* - Booleans
- Boolean values are denoted in the API documentation as ``<val(off, on)>``.
- ``on``, ``off``, ``enabled``, ``disabled``, ``1``, ``0``
Commands
********
The Bluetooth Mesh shell implements a large set of commands. Some of the commands accept parameters,
which are mentioned in brackets after the command name. For example,
``mesh lpn set <value: off, on>``. Mandatory parameters are marked with angle brackets (e.g.
``<NetKeyIdx>``), and optional parameters are marked with square brackets (e.g. ``[DstAddr]``).
The Bluetooth Mesh shell commands are divided into the following groups:
.. contents::
:depth: 1
:local:
.. note::
Some commands depend on specific features being enabled in the compile time configuration of
the application. Not all features are enabled by default. The list of available Bluetooth
mesh shell commands can be shown in the shell by calling ``mesh`` without any arguments.
General configuration
=====================
``mesh init``
-------------
Initialize the mesh shell. This command must be run before any other mesh command.
``mesh reset-local``
--------------------
Reset the local mesh node to its initial unprovisioned state. This command will also clear
the Configuration Database (CDB) if present.
Target
======
The target commands enables the user to monitor and set the target destination address, network
index and application index for the shell. These parameters are used by several commands, like
provisioning, Configuration Client, etc.
``mesh target dst [DstAddr]``
-----------------------------
Get or set the message destination address. The destination address determines where mesh
packets are sent with the shell, but has no effect on modules outside the shell's control.
* ``DstAddr``: If present, sets the new 16-bit mesh destination address. If omitted, the current destination address is printed.
``mesh target net [NetKeyIdx]``
-------------------------------
Get or set the message network index. The network index determines which network key is used
to encrypt mesh packets that are sent with the shell, but has no effect on modules outside
the shell's control. The network key must already be added to the device, either through
provisioning or by a Configuration Client.
* ``NetKeyIdx``: If present, sets the new network index. If omitted, the current network index is printed.
``mesh target app [AppKeyIdx]``
-------------------------------
Get or set the message application index. The application index determines which application
key is used to encrypt mesh packets that are sent with the shell, but has no effect on
modules outside the shell's control. The application key must already be added to the device
by a Configuration Client, and must be bound to the current network index.
* ``AppKeyIdx``: If present, sets the new application index. If omitted, the current application index is printed.
Low Power Node
==============
``mesh lpn set <Val(off, on)>``
-------------------------------
Enable or disable Low Power operation. Once enabled, the device will turn off its radio and
start polling for friend nodes.
* ``Val``: Sets whether Low Power operation is enabled.
``mesh lpn poll``
-----------------
Perform a poll to the friend node, to receive any pending messages. Only available when LPN
is enabled.
Testing
=======
``mesh test net-send <HexString>``
-----------------------------------
Send a raw mesh message with the current destination address, network and application index.
The message opcode must be encoded manually.
* ``HexString`` Raw hexadecimal representation of the message to send.
``mesh test iv-update``
-----------------------
Force an IV update.
``mesh test iv-update-test <Val(off, on)>``
-------------------------------------------
Set the IV update test mode. In test mode, the IV update timing requirements are bypassed.
* ``Val``: Enable or disable the IV update test mode.
``mesh test rpl-clear``
-----------------------
Clear the replay protection list, forcing the node to forget all received messages.
.. warning::
Clearing the replay protection list breaks the security mechanisms of the mesh node, making
it susceptible to message replay attacks. This should never be performed in a real
deployment.
Health Server Test
------------------
``mesh test health-srv add-fault <FaultID>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Register a new Health Server Fault for the Linux Foundation Company ID.
* ``FaultID``: ID of the fault to register (``0x0001`` to ``0xFFFF``)
``mesh test health-srv del-fault [FaultID]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Remove registered Health Server faults for the Linux Foundation Company ID.
* ``FaultID``: If present, the given fault ID will be deleted. If omitted, all registered faults will be cleared.
Provisioning
============
To allow a device to broadcast connectable unprovisioned beacons, the
:kconfig:option:`CONFIG_BT_MESH_PROVISIONEE` configuration option must be enabled, along with the
:kconfig:option:`CONFIG_BT_MESH_PB_GATT` option.
``mesh prov pb-gatt <Val(off, on)>``
------------------------------------
Start or stop advertising a connectable unprovisioned beacon. The connectable unprovisioned
beacon allows the mesh node to be discovered by nearby GATT based provisioners, and
provisioned through the GATT bearer.
* ``Val``: Enable or disable provisioning with GATT
To allow a device to broadcast unprovisioned beacons, the
:kconfig:option:`CONFIG_BT_MESH_PROVISIONEE` configuration option must be enabled, along with the
:kconfig:option:`CONFIG_BT_MESH_PB_ADV` option.
``mesh prov pb-adv <Val(off, on)>``
-----------------------------------
Start or stop advertising the unprovisioned beacon. The unprovisioned beacon allows the mesh
node to be discovered by nearby advertising-based provisioners, and provisioned through the
advertising bearer.
* ``Val``: Enable or disable provisioning with advertiser
To allow a device to provision devices, the :kconfig:option:`CONFIG_BT_MESH_PROVISIONER` and
:kconfig:option:`CONFIG_BT_MESH_PB_ADV` configuration options must be enabled.
``mesh prov remote-adv <UUID(1-16 hex)> <NetKeyIdx> <Addr> <AttDur(s)>``
your_sha256_hash-------------------
Provision a nearby device into the mesh. The mesh node starts scanning for unprovisioned
beacons with the given UUID. Once found, the unprovisioned device will be added to the mesh
network with the given unicast address, and given the network key indicated by
``NetKeyIdx``.
* ``UUID``: UUID of the unprovisioned device. Providing a hex-string shorter than 16 bytes will populate the N most significant bytes of the array and zero-pad the rest.
* ``NetKeyIdx``: Index of the network key to pass to the device.
* ``Addr``: First unicast address to assign to the unprovisioned device. The device will occupy as many addresses as it has elements, and all must be available.
* ``AttDur``: The duration in seconds the unprovisioned device will identify itself for, if supported. See :ref:`bluetooth_mesh_models_health_srv_attention` for details.
To allow a device to provision devices over GATT, the :kconfig:option:`CONFIG_BT_MESH_PROVISIONER`
and :kconfig:option:`CONFIG_BT_MESH_PB_GATT_CLIENT` configuration options must be enabled.
``mesh prov remote-gatt <UUID(1-16 hex)> <NetKeyIdx> <Addr> <AttDur(s)>``
your_sha256_hash---------
Provision a nearby device into the mesh. The mesh node starts scanning for connectable
advertising for PB-GATT with the given UUID. Once found, the unprovisioned device will be
added to the mesh network with the given unicast address, and given the network key
indicated by ``NetKeyIdx``.
* ``UUID``: UUID of the unprovisioned device. Providing a hex-string shorter than 16 bytes will populate the N most significant bytes of the array and zero-pad the rest.
* ``NetKeyIdx``: Index of the network key to pass to the device.
* ``Addr``: First unicast address to assign to the unprovisioned device. The device will occupy as many addresses as it has elements, and all must be available.
* ``AttDur``: The duration in seconds the unprovisioned device will identify itself for, if supported. See :ref:`bluetooth_mesh_models_health_srv_attention` for details.
``mesh prov uuid [UUID(1-16 hex)]``
-----------------------------------
Get or set the mesh node's UUID, used in the unprovisioned beacons.
* ``UUID``: If present, new 128-bit UUID value. Providing a hex-string shorter than 16 bytes will populate the N most significant bytes of the array and zero-pad the rest. If omitted, the current UUID will be printed. To enable this command, the :kconfig:option:`CONFIG_BT_MESH_SHELL_PROV_CTX_INSTANCE` option must be enabled.
``mesh prov input-num <Number>``
--------------------------------
Input a numeric OOB authentication value. Only valid when prompted by the shell during
provisioning. The input number must match the number presented by the other participant in
the provisioning.
* ``Number``: Decimal authentication number.
``mesh prov input-str <String>``
--------------------------------
Input an alphanumeric OOB authentication value. Only valid when prompted by the shell during
provisioning. The input string must match the string presented by the other participant in
the provisioning.
* ``String``: Unquoted alphanumeric authentication string.
``mesh prov static-oob [Val(1-32 hex)]``
----------------------------------------
Set or clear the static OOB authentication value. The static OOB authentication value must
be set before provisioning starts to have any effect. The static OOB value must be same on
both participants in the provisioning. To enable this command, the
:kconfig:option:`CONFIG_BT_MESH_SHELL_PROV_CTX_INSTANCE` option must be enabled.
* ``Val``: If present, indicates the new hexadecimal value of the static OOB. Providing a hex-string shorter than 16 bytes will populate the N most significant bytes of the array and zero-pad the rest. If omitted, the static OOB value is cleared.
``mesh prov local <NetKeyIdx> <Addr> [IVI]``
--------------------------------------------
Provision the mesh node itself. If the Configuration database is enabled, the network key
must be created. Otherwise, the default key value is used.
* ``NetKeyIdx``: Index of the network key to provision.
* ``Addr``: First unicast address to assign to the device. The device will occupy as many addresses as it has elements, and all must be available.
* ``IVI``: Indicates the current network IV index. Defaults to 0 if omitted.
``mesh prov beacon-listen <Val(off, on)>``
------------------------------------------
Enable or disable printing of incoming unprovisioned beacons. Allows a provisioner device to
detect nearby unprovisioned devices and provision them. To enable this command, the
:kconfig:option:`CONFIG_BT_MESH_SHELL_PROV_CTX_INSTANCE` option must be enabled.
* ``Val``: Whether to enable the unprovisioned beacon printing.
``mesh prov remote-pub-key <PubKey>``
-------------------------------------
Provide Device public key.
* ``PubKey`` - Device public key in big-endian.
``mesh prov auth-method input <Action> <Size>``
-----------------------------------------------
From the provisioner device, instruct the unprovisioned device to use the specified Input
OOB authentication action.
* ``Action`` - Input action. Allowed values:
* ``0`` - No input action.
* ``1`` - Push action set.
* ``2`` - Twist action set.
* ``4`` - Enter number action set.
* ``8`` - Enter String action set.
* ``Size`` - Authentication size.
``mesh prov auth-method output <Action> <Size>``
------------------------------------------------
From the provisioner device, instruct the unprovisioned device to use the specified Output
OOB authentication action.
* ``Action`` - Output action. Allowed values:
* ``0`` - No output action.
* ``1`` - Blink action set.
* ``2`` - Vibrate action set.
* ``4`` - Display number action set.
* ``8`` - Display String action set.
* ``Size`` - Authentication size.
``mesh prov auth-method static <Val(1-16 hex)>``
------------------------------------------------
From the provisioner device, instruct the unprovisioned device to use static OOB
authentication, and use the given static authentication value when provisioning.
* ``Val`` - Static OOB value. Providing a hex-string shorter than 32 bytes will populate the N most significant bytes of the array and zero-pad the rest.
``mesh prov auth-method none``
------------------------------
From the provisioner device, don't use any authentication when provisioning new devices.
This is the default behavior.
Proxy
=====
The Proxy Server module is an optional mesh subsystem that can be enabled through the
:kconfig:option:`CONFIG_BT_MESH_GATT_PROXY` configuration option.
``mesh proxy identity-enable``
------------------------------
Enable the Proxy Node Identity beacon, allowing Proxy devices to connect explicitly to this
device. The beacon will run for 60 seconds before the node returns to normal Proxy beacons.
The Proxy Client module is an optional mesh subsystem that can be enabled through the
:kconfig:option:`CONFIG_BT_MESH_PROXY_CLIENT` configuration option.
``mesh proxy connect <NetKeyIdx>``
----------------------------------
Auto-Connect a nearby proxy server into the mesh.
* ``NetKeyIdx``: Index of the network key to connect.
``mesh proxy disconnect <NetKeyIdx>``
-------------------------------------
Disconnect the existing proxy connection.
* ``NetKeyIdx``: Index of the network key to disconnect.
``mesh proxy solicit <NetKeyIdx>``
----------------------------------
Begin Proxy Solicitation of a subnet. Support of this feature can be enabled through the
:kconfig:option:`CONFIG_BT_MESH_PROXY_SOLICITATION` configuration option.
* ``NetKeyIdx``: Index of the network key to send Solicitation PDUs to.
.. _bluetooth_mesh_shell_cfg_cli:
Models
======
Configuration Client
--------------------
The Configuration Client model is an optional mesh subsystem that can be enabled through the
:kconfig:option:`CONFIG_BT_MESH_CFG_CLI` configuration option. This is implemented as a separate
module (``mesh models cfg``) inside the ``mesh models`` subcommand list. This module will work on
any instance of the Configuration Client model if the mentioned shell configuration options is
enabled, and as long as the Configuration Client model is present in the model composition of the
application. This shell module can be used for configuring itself and other nodes in the mesh
network.
The Configuration Client uses general message parameters set by ``mesh target dst`` and ``mesh
target net`` to target specific nodes. When the Bluetooth Mesh shell node is provisioned, given that
the :kconfig:option:`CONFIG_BT_MESH_SHELL_PROV_CTX_INSTANCE` option is enabled with the shell
provisioning context initialized, the Configuration Client model targets itself by default.
Similarly, when another node has been provisioned by the Bluetooth Mesh shell, the Configuration
Client model targets the new node. In most common use-cases, the Configuration Client is depending
on the provisioning features and the Configuration database to be fully functional. The
Configuration Client always sends messages using the Device key bound to the destination address, so
it will only be able to configure itself and the mesh nodes it provisioned. The following steps are
an example of how you can set up a device to start using the Configuration Client commands:
* Initialize the client node (``mesh init``).
* Create the CDB (``mesh cdb create``).
* Provision the local device (``mesh prov local``).
* The shell module should now target itself.
* Monitor the composition data of the local node (``mesh models cfg get-comp``).
* Configure the local node as desired with the Configuration Client commands.
* Provision other devices (``mesh prov beacon-listen``) (``mesh prov remote-adv``)
(``mesh prov remote-gatt``).
* The shell module should now target the newly added node.
* Monitor the newly provisioned nodes and their addresses (``mesh cdb show``).
* Monitor the composition data of the target device (``mesh models cfg get-comp``).
* Configure the node as desired with the Configuration Client commands.
``mesh models cfg target get``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get the target Configuration server for the Configuration Client model.
``mesh models cfg help``
^^^^^^^^^^^^^^^^^^^^^^^^
Print information for the Configuration Client shell module.
``mesh models cfg reset``
^^^^^^^^^^^^^^^^^^^^^^^^^
Reset the target device.
``mesh models cfg timeout [Timeout(s)]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get and set the Config Client model timeout used during message sending.
* ``Timeout``: If present, set the Config Client model timeout in seconds. If omitted, the current timeout is printed.
``mesh models cfg get-comp [Page]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Read a composition data page. The full composition data page will be printed. If the target
does not have the given page, it will return the last page before it.
* ``Page``: The composition data page to request. Defaults to 0 if omitted.
``mesh models cfg beacon [Val(off, on)]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get or set the network beacon transmission.
* ``Val``: If present, enables or disables sending of the network beacon. If omitted, the current network beacon state is printed.
``mesh models cfg ttl [TTL]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get or set the default TTL value.
* ``TTL``: If present, sets the new default TTL value. Legal TTL values are 0x00 and 0x02-0x7f. If omitted, the current default TTL value is printed.
``mesh models cfg friend [Val(off, on)]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get or set the Friend feature.
* ``Val``: If present, enables or disables the Friend feature. If omitted, the current Friend feature state is printed:
* ``0x00``: The feature is supported, but disabled.
* ``0x01``: The feature is enabled.
* ``0x02``: The feature is not supported.
``mesh models cfg gatt-proxy [Val(off, on)]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get or set the GATT Proxy feature.
* ``Val``: If present, enables or disables the GATT Proxy feature. If omitted, the current GATT Proxy feature state is printed:
* ``0x00``: The feature is supported, but disabled.
* ``0x01``: The feature is enabled.
* ``0x02``: The feature is not supported.
``mesh models cfg relay [<Val(off, on)> [<Count> [Int(ms)]]]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get or set the Relay feature and its parameters.
* ``Val``: If present, enables or disables the Relay feature. If omitted, the current Relay feature state is printed:
* ``0x00``: The feature is supported, but disabled.
* ``0x01``: The feature is enabled.
* ``0x02``: The feature is not supported.
* ``Count``: Sets the new relay retransmit count if ``val`` is ``on``. Ignored if ``val`` is ``off``. Legal retransmit count is 0-7. Defaults to ``2`` if omitted.
* ``Int``: Sets the new relay retransmit interval in milliseconds if ``val`` is ``on``. Legal interval range is 10-320 milliseconds. Ignored if ``val`` is ``off``. Defaults to ``20`` if omitted.
``mesh models cfg node-id <NetKeyIdx> [Identity]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get or Set of current Node Identity state of a subnet.
* ``NetKeyIdx``: The network key index to Get/Set.
* ``Identity``: If present, sets the identity of Node Identity state.
``mesh models cfg polltimeout-get <LPNAddr>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get current value of the PollTimeout timer of the LPN within a Friend node.
* ``LPNAddr`` Address of Low Power node.
``mesh models cfg net-transmit-param [<Count> <Int(ms)>]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get or set the network transmit parameters.
* ``Count``: Sets the number of additional network transmits for every sent message. Legal retransmit count is 0-7.
* ``Int``: Sets the new network retransmit interval in milliseconds. Legal interval range is 10-320 milliseconds.
``mesh models cfg netkey add <NetKeyIdx> [Key(1-16 hex)]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Add a network key to the target node. Adds the key to the Configuration Database if enabled.
* ``NetKeyIdx``: The network key index to add.
* ``Key``: If present, sets the key value as a 128-bit hexadecimal value. Providing a hex-string shorter than 16 bytes will populate the N most significant bytes of the array and zero-pad the rest. Only valid if the key does not already exist in the Configuration Database. If omitted, the default key value is used.
``mesh models cfg netkey upd <NetKeyIdx> [Key(1-16 hex)]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Update a network key to the target node.
* ``NetKeyIdx``: The network key index to updated.
* ``Key``: If present, sets the key value as a 128-bit hexadecimal value. Providing a hex-string shorter than 16 bytes will populate the N most significant bytes of the array and zero-pad the rest. If omitted, the default key value is used.
``mesh models cfg netkey get``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get a list of known network key indexes.
``mesh models cfg netkey del <NetKeyIdx>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Delete a network key from the target node.
* ``NetKeyIdx``: The network key index to delete.
``mesh models cfg appkey add <NetKeyIdx> <AppKeyIdx> [Key(1-16 hex)]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Add an application key to the target node. Adds the key to the Configuration Database if
enabled.
* ``NetKeyIdx``: The network key index the application key is bound to.
* ``AppKeyIdx``: The application key index to add.
* ``Key``: If present, sets the key value as a 128-bit hexadecimal value. Providing a hex-string shorter than 16 bytes will populate the N most significant bytes of the array and zero-pad the rest. Only valid if the key does not already exist in the Configuration Database. If omitted, the default key value is used.
``mesh models cfg appkey upd <NetKeyIdx> <AppKeyIdx> [Key(1-16 hex)]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Update an application key to the target node.
* ``NetKeyIdx``: The network key index the application key is bound to.
* ``AppKeyIdx``: The application key index to update.
* ``Key``: If present, sets the key value as a 128-bit hexadecimal value. Providing a hex-string shorter than 16 bytes will populate the N most significant bytes of the array and zero-pad the rest. If omitted, the default key value is used.
``mesh models cfg appkey get <NetKeyIdx>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get a list of known application key indexes bound to the given network key index.
* ``NetKeyIdx``: Network key indexes to get a list of application key indexes from.
``mesh models cfg appkey del <NetKeyIdx> <AppKeyIdx>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Delete an application key from the target node.
* ``NetKeyIdx``: The network key index the application key is bound to.
* ``AppKeyIdx``: The application key index to delete.
``mesh models cfg model app-bind <Addr> <AppKeyIdx> <MID> [CID]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Bind an application key to a model. Models can only encrypt and decrypt messages sent with
application keys they are bound to.
* ``Addr``: Address of the element the model is on.
* ``AppKeyIdx``: The application key to bind to the model.
* ``MID``: The model ID of the model to bind the key to.
* ``CID``: If present, determines the Company ID of the model. If omitted, the model is a Bluetooth SIG defined model.
``mesh models cfg model app-unbind <Addr> <AppKeyIdx> <MID> [CID]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Unbind an application key from a model.
* ``Addr``: Address of the element the model is on.
* ``AppKeyIdx``: The application key to unbind from the model.
* ``MID``: The model ID of the model to unbind the key from.
* ``CID``: If present, determines the Company ID of the model. If omitted, the model is a Bluetooth SIG defined model.
``mesh models cfg model app-get <ElemAddr> <MID> [CID]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get a list of application keys bound to a model.
* ``ElemAddr``: Address of the element the model is on.
* ``MID``: The model ID of the model to get the bound keys of.
* ``CID``: If present, determines the Company ID of the model. If omitted, the model is a Bluetooth SIG defined model.
``mesh models cfg model pub <Addr> <MID> [CID] [<PubAddr> <AppKeyIdx> <Cred(off, on)> <TTL> <PerRes> <PerSteps> <Count> <Int(ms)>]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get or set the publication parameters of a model. If all publication parameters are
included, they become the new publication parameters of the model. If all publication
parameters are omitted, print the current publication parameters of the model.
* ``Addr``: Address of the element the model is on.
* ``MID``: The model ID of the model to get the bound keys of.
* ``CID``: If present, determines the Company ID of the model. If omitted, the model is a Bluetooth SIG defined model.
Publication parameters:
* ``PubAddr``: The destination address to publish to.
* ``AppKeyIdx``: The application key index to publish with.
* ``Cred``: Whether to publish with Friendship credentials when acting as a Low Power Node.
* ``TTL``: TTL value to publish with (``0x00`` to ``0x07f``).
* ``PerRes``: Resolution of the publication period steps:
* ``0x00``: The Step Resolution is 100 milliseconds
* ``0x01``: The Step Resolution is 1 second
* ``0x02``: The Step Resolution is 10 seconds
* ``0x03``: The Step Resolution is 10 minutes
* ``PerSteps``: Number of publication period steps, or 0 to disable periodic publication.
* ``Count``: Number of retransmission for each published message (``0`` to ``7``).
* ``Int`` The interval between each retransmission, in milliseconds. Must be a multiple of 50.
``mesh models cfg model pub-va <Addr> <UUID(1-16 hex)> <AppKeyIdx> <Cred(off, on)> <TTL> <PerRes> <PerSteps> <Count> <Int(ms)> <MID> [CID]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Set the publication parameters of a model.
* ``Addr``: Address of the element the model is on.
* ``MID``: The model ID of the model to get the bound keys of.
* ``CID``: If present, determines the Company ID of the model. If omitted, the model is a Bluetooth SIG defined model.
Publication parameters:
* ``UUID``: The destination virtual address to publish to. Providing a hex-string shorter than 16 bytes will populate the N most significant bytes of the array and zero-pad the rest.
* ``AppKeyIdx``: The application key index to publish with.
* ``Cred``: Whether to publish with Friendship credentials when acting as a Low Power Node.
* ``TTL``: TTL value to publish with (``0x00`` to ``0x07f``).
* ``PerRes``: Resolution of the publication period steps:
* ``0x00``: The Step Resolution is 100 milliseconds
* ``0x01``: The Step Resolution is 1 second
* ``0x02``: The Step Resolution is 10 seconds
* ``0x03``: The Step Resolution is 10 minutes
* ``PerSteps``: Number of publication period steps, or 0 to disable periodic publication.
* ``Count``: Number of retransmission for each published message (``0`` to ``7``).
* ``Int`` The interval between each retransmission, in milliseconds. Must be a multiple of 50.
``mesh models cfg model sub-add <ElemAddr> <SubAddr> <MID> [CID]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Subscription the model to a group address. Models only receive messages sent to their
unicast address or a group or virtual address they subscribe to. Models may subscribe to
multiple group and virtual addresses.
* ``ElemAddr``: Address of the element the model is on.
* ``SubAddr``: 16-bit group address the model should subscribe to (``0xc000`` to ``0xFEFF``).
* ``MID``: The model ID of the model to add the subscription to.
* ``CID``: If present, determines the Company ID of the model. If omitted, the model is a Bluetooth SIG defined model.
``mesh models cfg model sub-del <ElemAddr> <SubAddr> <MID> [CID]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Unsubscribe a model from a group address.
* ``ElemAddr``: Address of the element the model is on.
* ``SubAddr``: 16-bit group address the model should remove from its subscription list (``0xc000`` to ``0xFEFF``).
* ``MID``: The model ID of the model to add the subscription to.
* ``CID``: If present, determines the Company ID of the model. If omitted, the model is a Bluetooth SIG defined model.
``mesh models cfg model sub-add-va <ElemAddr> <LabelUUID(1-16 hex)> <MID> [CID]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Subscribe the model to a virtual address. Models only receive messages sent to their unicast
address or a group or virtual address they subscribe to. Models may subscribe to multiple
group and virtual addresses.
* ``ElemAddr``: Address of the element the model is on.
* ``LabelUUID``: 128-bit label UUID of the virtual address to subscribe to. Providing a hex-string shorter than 16 bytes will populate the N most significant bytes of the array and zero-pad the rest.
* ``MID``: The model ID of the model to add the subscription to.
* ``CID``: If present, determines the Company ID of the model. If omitted, the model is a Bluetooth SIG defined model.
``mesh models cfg model sub-del-va <ElemAddr> <LabelUUID(1-16 hex)> <MID> [CID]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Unsubscribe a model from a virtual address.
* ``ElemAddr``: Address of the element the model is on.
* ``LabelUUID``: 128-bit label UUID of the virtual address to remove the subscription of. Providing a hex-string shorter than 16 bytes will populate the N most significant bytes of the array and zero-pad the rest.
* ``MID``: The model ID of the model to add the subscription to.
* ``CID``: If present, determines the Company ID of the model. If omitted, the model is a Bluetooth SIG defined model.
``mesh models cfg model sub-ow <ElemAddr> <SubAddr> <MID> [CID]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Overwrite all model subscriptions with a single new group address.
* ``ElemAddr``: Address of the element the model is on.
* ``SubAddr``: 16-bit group address the model should added to the subscription list (``0xc000`` to ``0xFEFF``).
* ``MID``: The model ID of the model to add the subscription to.
* ``CID``: If present, determines the Company ID of the model. If omitted, the model is a Bluetooth SIG defined model.
``mesh models cfg model sub-ow-va <ElemAddr> <LabelUUID(1-16 hex)> <MID> [CID]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Overwrite all model subscriptions with a single new virtual address. Models only receive
messages sent to their unicast address or a group or virtual address they subscribe to.
Models may subscribe to multiple group and virtual addresses.
* ``ElemAddr``: Address of the element the model is on.
* ``LabelUUID``: 128-bit label UUID of the virtual address as the new Address to be added to the subscription list. Providing a hex-string shorter than 16 bytes will populate the N most significant bytes of the array and zero-pad the rest.
* ``MID``: The model ID of the model to add the subscription to.
* ``CID``: If present, determines the Company ID of the model. If omitted, the model is a Bluetooth SIG defined model.
``mesh models cfg model sub-del-all <ElemAddr> <MID> [CID]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Remove all group and virtual address subscriptions from of a model.
* ``ElemAddr``: Address of the element the model is on.
* ``MID``: The model ID of the model to Unsubscribe all.
* ``CID``: If present, determines the Company ID of the model. If omitted, the model is a Bluetooth SIG defined model.
``mesh models cfg model sub-get <ElemAddr> <MID> [CID]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get a list of addresses the model subscribes to.
* ``ElemAddr``: Address of the element the model is on.
* ``MID``: The model ID of the model to get the subscription list of.
* ``CID``: If present, determines the Company ID of the model. If omitted, the model is a Bluetooth SIG defined model.
``mesh models cfg krp <NetKeyIdx> [Phase]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get or set the key refresh phase of a subnet.
* ``NetKeyIdx``: The identified network key used to Get/Set the current Key Refresh Phase state.
* ``Phase``: New Key Refresh Phase. Valid phases are:
* ``0x00``: Normal operation; Key Refresh procedure is not active
* ``0x01``: First phase of Key Refresh procedure
* ``0x02``: Second phase of Key Refresh procedure
``mesh models cfg hb-sub [<Src> <Dst> <Per>]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get or set the Heartbeat subscription parameters. A node only receives Heartbeat messages
matching the Heartbeat subscription parameters. Sets the Heartbeat subscription parameters
if present, or prints the current Heartbeat subscription parameters if called with no
parameters.
* ``Src``: Unicast source address to receive Heartbeat messages from.
* ``Dst``: Destination address to receive Heartbeat messages on.
* ``Per``: Logarithmic representation of the Heartbeat subscription period:
* ``0``: Heartbeat subscription will be disabled.
* ``1`` to ``17``: The node will subscribe to Heartbeat messages for 2\ :sup:`(period - 1)` seconds.
``mesh models cfg hb-pub [<Dst> <Count> <Per> <TTL> <Features> <NetKeyIdx>]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get or set the Heartbeat publication parameters. Sets the Heartbeat publication parameters
if present, or prints the current Heartbeat publication parameters if called with no
parameters.
* ``Dst``: Destination address to publish Heartbeat messages to.
* ``Count``: Logarithmic representation of the number of Heartbeat messages to publish periodically:
* ``0``: Heartbeat messages are not published periodically.
* ``1`` to ``17``: The node will periodically publish 2\ :sup:`(count - 1)` Heartbeat messages.
* ``255``: Heartbeat messages will be published periodically indefinitely.
* ``Per``: Logarithmic representation of the Heartbeat publication period:
* ``0``: Heartbeat messages are not published periodically.
* ``1`` to ``17``: The node will publish Heartbeat messages every 2\ :sup:`(period - 1)` seconds.
* ``TTL``: The TTL value to publish Heartbeat messages with (``0x00`` to ``0x7f``).
* ``Features``: Bitfield of features that should trigger a Heartbeat publication when changed:
* ``Bit 0``: Relay feature.
* ``Bit 1``: Proxy feature.
* ``Bit 2``: Friend feature.
* ``Bit 3``: Low Power feature.
* ``NetKeyIdx``: Index of the network key to publish Heartbeat messages with.
Health Client
-------------
The Health Client model is an optional mesh subsystem that can be enabled through the
:kconfig:option:`CONFIG_BT_MESH_HEALTH_CLI` configuration option. This is implemented as a separate
module (``mesh models health``) inside the ``mesh models`` subcommand list. This module will work on
any instance of the Health Client model if the mentioned shell configuration options is enabled, and
as long as one or more Health Client model(s) is present in the model composition of the
application. This shell module can be used to trigger interaction between Health Clients and Servers
on devices in a Mesh network.
By default, the module will choose the first Health Client instance in the model composition when
using the Health Client commands. To choose a specific Health Client instance the user can utilize
the commands ``mesh models health instance set`` and ``mesh models health instance get-all``.
The Health Client may use the general messages parameters set by ``mesh target dst``,
``mesh target net`` and ``mesh target app`` to target specific nodes. If the shell target
destination address is set to zero, the targeted Health Client will attempt to publish messages
using its configured publication parameters.
``mesh models health instance set <ElemIdx>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Set the Health Client model instance to use.
* ``ElemIdx``: Element index of Health Client model.
``mesh models health instance get-all``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Prints all available Health Client model instances on the device.
``mesh models health fault-get <CID>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get a list of registered faults for a Company ID.
* ``CID``: Company ID to get faults for.
``mesh models health fault-clear <CID>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Clear the list of faults for a Company ID.
* ``CID``: Company ID to clear the faults for.
``mesh models health fault-clear-unack <CID>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Clear the list of faults for a Company ID without requesting a response.
* ``CID``: Company ID to clear the faults for.
``mesh models health fault-test <CID> <TestID>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Invoke a self-test procedure, and show a list of triggered faults.
* ``CID``: Company ID to perform self-tests for.
* ``TestID``: Test to perform.
``mesh models health fault-test-unack <CID> <TestID>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Invoke a self-test procedure without requesting a response.
* ``CID``: Company ID to perform self-tests for.
* ``TestID``: Test to perform.
``mesh models health period-get``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get the current Health Server publish period divisor.
``mesh models health period-set <Divisor>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Set the current Health Server publish period divisor. When a fault is detected, the Health
Server will start publishing is fault status with a reduced interval. The reduced interval
is determined by the Health Server publish period divisor: Fault publish period = Publish
period / 2\ :sup:`divisor`.
* ``Divisor``: The new Health Server publish period divisor.
``mesh models health period-set-unack <Divisor>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Set the current Health Server publish period divisor. When a fault is detected, the Health
Server will start publishing is fault status with a reduced interval. The reduced interval
is determined by the Health Server publish period divisor: Fault publish period = Publish
period / 2\ :sup:`divisor`.
* ``Divisor``: The new Health Server publish period divisor.
``mesh models health attention-get``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get the current Health Server attention state.
``mesh models health attention-set <Time(s)>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Enable the Health Server attention state for some time.
* ``Time``: Duration of the attention state, in seconds (``0`` to ``255``)
``mesh models health attention-set-unack <Time(s)>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Enable the Health Server attention state for some time without requesting a response.
* ``Time``: Duration of the attention state, in seconds (``0`` to ``255``)
Binary Large Object (BLOB) Transfer Client model
------------------------------------------------
The :ref:`bluetooth_mesh_blob_cli` can be added to the mesh shell by enabling the
:kconfig:option:`CONFIG_BT_MESH_BLOB_CLI` option, and disabling the
:kconfig:option:`CONFIG_BT_MESH_DFU_CLI` option.
``mesh models blob cli target <Addr>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Add a Target node for the next BLOB transfer.
* ``Addr``: Unicast address of the Target node's BLOB Transfer Server model.
``mesh models blob cli bounds [<Group>]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get the total boundary parameters of all Target nodes.
* ``Group``: Optional group address to use when communicating with Target nodes. If omitted, the BLOB Transfer Client will address each Target node individually.
``mesh models blob cli tx <Id> <Size> <BlockSizeLog> <ChunkSize> [<Group> [<Mode(push, pull)>]]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Perform a BLOB transfer to Target nodes. The BLOB Transfer Client will send a dummy BLOB to
all Target nodes, then post a message when the transfer is completed. Note that all Target
nodes must first be configured to receive the transfer using the ``mesh models blob srv rx``
command.
* ``Id``: 64-bit BLOB transfer ID.
* ``Size``: Size of the BLOB in bytes.
* ``BlockSizeLog``: Logarithmic representation of the BLOB's block size. The final block size will be ``1 << block size log`` bytes.
* ``ChunkSize``: Chunk size in bytes.
* ``Group``: Optional group address to use when communicating with Target nodes. If omitted or set to 0, the BLOB Transfer Client will address each Target node individually.
* ``Mode``: BLOB transfer mode to use. Must be either ``push`` (Push BLOB Transfer Mode) or ``pull`` (Pull BLOB Transfer Mode). If omitted, ``push`` will be used by default.
``mesh models blob cli tx-cancel``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Cancel an ongoing BLOB transfer.
``mesh models blob cli tx-get [Group]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Determine the progress of a previously running BLOB transfer. Can be used when not
performing a BLOB transfer.
* ``Group``: Optional group address to use when communicating with Target nodes. If omitted or set to 0, the BLOB Transfer Client will address each Target node individually.
``mesh models blob cli tx-suspend``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Suspend the ongoing BLOB transfer.
``mesh models blob cli tx-resume``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Resume the suspended BLOB transfer.
``mesh models blob cli instance-set <ElemIdx>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Use the BLOB Transfer Client model instance on the specified element when using the other
BLOB Transfer Client model commands.
* ``ElemIdx``: The element on which to find the BLOB Transfer Client model instance to use.
``mesh models blob cli instance-get-all``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get a list of all BLOB Transfer Client model instances on the node.
BLOB Transfer Server model
--------------------------
The :ref:`bluetooth_mesh_blob_srv` can be added to the mesh shell by enabling the
:kconfig:option:`CONFIG_BT_MESH_BLOB_SRV` option. The BLOB Transfer Server model is capable of
receiving any BLOB data, but the implementation in the mesh shell will discard the incoming data.
``mesh models blob srv rx <ID> [<TimeoutBase(10s steps)>]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Prepare to receive a BLOB transfer.
* ``ID``: 64-bit BLOB transfer ID to receive.
* ``TimeoutBase``: Optional additional time to wait for client messages, in 10-second increments.
``mesh models blob srv rx-cancel``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Cancel an ongoing BLOB transfer.
``mesh models blob srv instance-set <ElemIdx>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Use the BLOB Transfer Server model instance on the specified element when using the other
BLOB Transfer Server model commands.
* ``ElemIdx``: The element on which to find the BLOB Transfer Server model instance to use.
``mesh models blob srv instance-get-all``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get a list of all BLOB Transfer Server model instances on the node.
Firmware Update Client model
----------------------------
The Firmware Update Client model can be added to the mesh shell by enabling configuration options
:kconfig:option:`CONFIG_BT_MESH_BLOB_CLI` and :kconfig:option:`CONFIG_BT_MESH_DFU_CLI`. The Firmware
Update Client demonstrates the firmware update Distributor role by transferring a dummy firmware
update to a set of Target nodes.
``mesh models dfu slot add <Size> <FwID> [<Metadata>]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Add a virtual DFU image slot that can be transferred as a DFU image. The image slot will be
assigned an image slot index, which is printed as a response, and can be used to reference
the slot in other commands. To update the image slot, remove it using the
``mesh models dfu slot del`` shell command and then add it again.
* ``Size``: DFU image slot size in bytes.
* ``FwID``: Firmware ID, formatted as a hexstring.
* ``Metadata``: Optional firmware metadata, formatted as a hexstring.
``mesh models dfu slot del <SlotIdx>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Delete the DFU image slot at the given index.
* ``SlotIdx``: Index of the slot to delete.
``mesh models dfu slot get <SlotIdx>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get all available information about a DFU image slot.
* ``SlotIdx``: Index of the slot to get.
``mesh models dfu cli target <Addr> <ImgIdx>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Add a Target node.
* ``Addr``: Unicast address of the Target node.
* ``ImgIdx``: Image index to address on the Target node.
``mesh models dfu cli target-state``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Check the DFU Target state of the device at the configured destination address.
``mesh models dfu cli target-imgs [<MaxCount>]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get a list of DFU images on the device at the configured destination address.
* ``MaxCount``: Optional maximum number of images to return. If omitted, there's no limit on the number of returned images.
``mesh models dfu cli target-check <SlotIdx> <TargetImgIdx>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Check whether the device at the configured destination address will accept a DFU transfer
from the given DFU image slot to the Target node's DFU image at the given index, and what
the effect would be.
* ``SlotIdx``: Index of the local DFU image slot to check.
* ``TargetImgIdx``: Index of the Target node's DFU image to check.
``mesh models dfu cli send <SlotIdx> [<Group>]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Start a DFU transfer to all added Target nodes.
* ``SlotIdx``: Index of the local DFU image slot to send.
* ``Group``: Optional group address to use when communicating with the Target nodes. If omitted, the Firmware Update Client will address each Target node individually.
``mesh models dfu cli cancel [<Addr>]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Cancel the DFU procedure at any state on a specific Target node or on all Target nodes. When
a Target node address is provided, the Firmware Update Client model will try to cancel the
DFU procedure on the provided Target node. Otherwise, the Firmware Update Client model will
try to cancel the ongoing DFU procedure on all Target nodes.
* ``Addr``: Optional unicast address of a Target node on which to cancel the DFU procedure.
``mesh models dfu cli apply``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Apply the most recent DFU transfer on all Target nodes. Can only be called after a DFU
transfer is completed.
``mesh models dfu cli confirm``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Confirm that the most recent DFU transfer was successfully applied on all Target nodes. Can
only be called after a DFU transfer is completed and applied.
``mesh models dfu cli suspend``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Suspend the ongoing DFU transfer.
``mesh models dfu cli resume``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Resume the suspended DFU transfer.
``mesh models dfu cli progress``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Check the progress of the current transfer.
``mesh models dfu cli instance-set <ElemIdx>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Use the Firmware Update Client model instance on the specified element when using the other
Firmware Update Client model commands.
* ``ElemIdx``: The element on which to find the Firmware Update Client model instance to use.
``mesh models dfu cli instance-get-all``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get a list of all Firmware Update Client model instances on the node.
Firmware Update Server model
----------------------------
The Firmware Update Server model can be added to the mesh shell by enabling configuration options
:kconfig:option:`CONFIG_BT_MESH_BLOB_SRV` and :kconfig:option:`CONFIG_BT_MESH_DFU_SRV`. The Firmware
Update Server demonstrates the firmware update Target role by accepting any firmware update. The
mesh shell Firmware Update Server will discard the incoming firmware data, but otherwise behave as a
proper firmware update Target node.
``mesh models dfu srv applied``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Mark the most recent DFU transfer as applied. Can only be called after a DFU transfer is
completed, and the Distributor has requested that the transfer is applied.
As the mesh shell Firmware Update Server doesn't actually apply the incoming firmware image,
this command can be used to emulate an applied status, to notify the Distributor that the
transfer was successful.
``mesh models dfu srv progress``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Check the progress of the current transfer.
``mesh models dfu srv rx-cancel``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Cancel incoming DFU transfer.
``mesh models dfu srv instance-set <ElemIdx>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Use the Firmware Update Server model instance on the specified element when using the other
Firmware Update Server model commands.
* ``ElemIdx``: The element on which to find the Firmware Update Server model instance to use.
``mesh models dfu srv instance-get-all``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get a list of all Firmware Update Server model instances on the node.
.. _bluetooth_mesh_shell_dfd_server:
Firmware Distribution Server model
----------------------------------
The Firmware Distribution Server model commands can be added to the mesh shell by enabling the
:kconfig:option:`CONFIG_BT_MESH_DFD_SRV` configuration option. The shell commands for this model
mirror the messages sent to the server by a Firmware Distribution Client model. To use these
commands, a Firmware Distribution Server must be instantiated by the application.
``mesh models dfd receivers-add <Addr>,<FwIdx>[;<Addr>,<FwIdx>]...``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Add receivers to the Firmware Distribution Server. Supply receivers as a list of
comma-separated addr,fw_idx pairs, separated by semicolons, for example,
``0x0001,0;0x0002,0;0x0004,1``. Do not use spaces in the receiver list. Repeated calls to
this command will continue populating the receivers list until
``mesh models dfd receivers-delete-all`` is called.
* ``Addr``: Address of the receiving node(s).
* ``FwIdx``: Index of the firmware slot to send to ``Addr``.
``mesh models dfd receivers-delete-all``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Delete all receivers from the server.
``mesh models dfd receivers-get <First> <Count>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get a list of info about firmware receivers.
* ``First``: Index of the first receiver to get from the receiver list.
* ``Count``: The number of receivers for which to get info.
``mesh models dfd capabilities-get``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get the capabilities of the server.
``mesh models dfd get``
^^^^^^^^^^^^^^^^^^^^^^^
Get information about the current distribution state, phase and the transfer parameters.
``mesh models dfd start <AppKeyIdx> <SlotIdx> [<Group> [<PolicyApply> [<TTL> [<TimeoutBase> [<XferMode>]]]]]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Start the firmware distribution.
* ``AppKeyIdx``: Application index to use for sending. The common application key should be bound to the Firmware Update and BLOB Transfer models on the Distributor and Target nodes.
* ``SlotIdx``: Index of the local image slot to send.
* ``Group``: Optional group address to use when communicating with the Target nodes. If omitted, the Firmware Distribution Server will address each Target node individually. To keep addressing each Target node individually while changing other arguments, set this argument value to 0.
* ``PolicyApply``: Optional field that corresponds to the update policy. Setting this to ``true`` will make the Firmware Distribution Server apply the image immediately after the transfer is completed.
* ``TTL``: Optional. TTL value to use when sending. Defaults to configured default TTL.
* ``TimeoutBase``: Optional additional value used to calculate timeout values in the firmware distribution process, in 10-second increments.. See :ref:`bluetooth_mesh_blob_timeout` for information about how ``timeout_base`` is used to calculate the transfer timeout. Defaults to 0.
* ``XferMode``: Optional BLOB transfer mode. 1 = Push mode (Push BLOB Transfer Mode), 2 = Pull mode (Pull BLOB Transfer Mode). Defaults to Push mode.
``mesh models dfd suspend``
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Suspends the ongoing distribution.
``mesh models dfd cancel``
^^^^^^^^^^^^^^^^^^^^^^^^^^
Cancel the ongoing distribution.
``mesh models dfd apply``
^^^^^^^^^^^^^^^^^^^^^^^^^
Apply the distributed firmware.
``mesh models dfd fw-get <FwID>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get information about the firmware image uploaded to the server.
* ``FwID``: Firmware ID of the image to get.
``mesh models dfd fw-get-by-idx <Idx>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get information about the firmware image uploaded to the server in a specific slot.
* ``Idx``: Index of the slot to get the image from.
``mesh models dfd fw-delete <FwID>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Delete a firmware image from the server.
* ``FwID``: Firmware ID of the image to delete.
``mesh models dfd fw-delete-all``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Delete all firmware images from the server.
``mesh models dfd instance-set <ElemIdx>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Use the Firmware Distribution Server model instance on the specified element when using the
other Firmware Distribution Server model commands.
* ``ElemIdx``: The element on which to find the Firmware Distribution Server model instance to use.
``mesh models dfd instance-get-all``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get a list of all Firmware Distribution Server model instances on the node.
.. _bluetooth_mesh_shell_dfu_metadata:
DFU metadata
------------
The DFU metadata commands allow generating metadata that can be used by a Target node to check the
firmware before accepting it. The commands are enabled through the
:kconfig:option:`CONFIG_BT_MESH_DFU_METADATA` configuration option.
``mesh models dfu metadata comp-clear``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Clear the stored composition data to be used for the Target node.
``mesh models dfu metadata comp-add <CID> <ProductID> <VendorID> <Crpl> <Features>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Create a header of the Composition Data Page 0.
* ``CID``: Company identifier assigned by Bluetooth SIG.
* ``ProductID``: Vendor-assigned product identifier.
* ``VendorID``: Vendor-assigned version identifier.
* ``Crpl``: The size of the replay protection list.
* ``Features``: Features supported by the node in bit field format:
* ``0``: Relay.
* ``1``: Proxy.
* ``2``: Friend.
* ``3``: Low Power.
``mesh models dfu metadata comp-elem-add <Loc> <NumS> <NumV> {<SigMID>|<VndCID> <VndMID>}...``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Add element description of the Target node.
* ``Loc``: Element location.
* ``NumS``: Number of SIG models instantiated on the element.
* ``NumV``: Number of vendor models instantiated on the element.
* ``SigMID``: SIG Model ID.
* ``VndCID``: Vendor model company identifier.
* ``VndMID``: Vendor model identifier.
``mesh models dfu metadata comp-hash-get [<Key(16 hex)>]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Generate a hash of the stored Composition Data to be used in metadata.
* ``Key``: Optional 128-bit key to be used to generate the hash. Providing a hex-string shorter than 16 bytes will populate the N most significant bytes of the array and zero-pad the rest.
``mesh models dfu metadata encode <Major> <Minor> <Rev> <BuildNum> <Size> <CoreType> <Hash> <Elems> [<UserData>]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Encode metadata for the DFU.
* ``Major``: Major version of the firmware.
* ``Minor``: Minor version of the firmware.
* ``Rev``: Revision number of the firmware.
* ``BuildNum``: Build number.
* ``Size``: Size of the signed bin file.
* ``CoreType``: New firmware core type:
* ``1``: Application core.
* ``2``: Network core.
* ``4``: Applications specific BLOB.
* ``Hash``: Hash of the composition data generated using ``mesh models dfu metadata comp-hash-get`` command.
* ``Elems``: Number of elements on the new firmware.
* ``UserData``: User data supplied with the metadata.
Segmentation and Reassembly (SAR) Configuration Client
------------------------------------------------------
The SAR Configuration client is an optional mesh model that can be enabled through the
:kconfig:option:`CONFIG_BT_MESH_SAR_CFG_CLI` configuration option. The SAR Configuration Client
model is used to support the functionality of configuring the behavior of the lower transport layer
of a node that supports the SAR Configuration Server model.
``mesh models sar tx-get``
^^^^^^^^^^^^^^^^^^^^^^^^^^
Send SAR Configuration Transmitter Get message.
``mesh models sar tx-set <SegIntStep> <UniRetransCnt> <UniRetransWithoutProgCnt> <UniRetransIntStep> <UniRetransIntInc> <MultiRetransCnt> <MultiRetransInt>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Send SAR Configuration Transmitter Set message.
* ``SegIntStep``: SAR Segment Interval Step state.
* ``UniRetransCnt``: SAR Unicast Retransmissions Count state.
* ``UniRetransWithoutProgCnt``: SAR Unicast Retransmissions Without Progress Count state.
* ``UniRetransIntStep``: SAR Unicast Retransmissions Interval Step state.
* ``UniRetransIntInc``: SAR Unicast Retransmissions Interval Increment state.
* ``MultiRetransCnt``: SAR Multicast Retransmissions Count state.
* ``MultiRetransInt``: SAR Multicast Retransmissions Interval state.
``mesh models sar rx-get``
^^^^^^^^^^^^^^^^^^^^^^^^^^
Send SAR Configuration Receiver Get message.
``mesh models sar rx-set <SegThresh> <AckDelayInc> <DiscardTimeout> <RxSegIntStep> <AckRetransCount>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Send SAR Configuration Receiver Set message.
* ``SegThresh``: SAR Segments Threshold state.
* ``AckDelayInc``: SAR Acknowledgment Delay Increment state.
* ``DiscardTimeout``: SAR Discard Timeout state.
* ``RxSegIntStep``: SAR Receiver Segment Interval Step state.
* ``AckRetransCount``: SAR Acknowledgment Retransmissions Count state.
Private Beacon Client
---------------------
The Private Beacon Client model is an optional mesh subsystem that can be enabled through the
:kconfig:option:`CONFIG_BT_MESH_PRIV_BEACON_CLI` configuration option.
``mesh models prb priv-beacon-get``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get the target's Private Beacon state. Possible values:
* ``0x00``: The node doesn't broadcast Private beacons.
* ``0x01``: The node broadcasts Private beacons.
``mesh models prb priv-beacon-set <Val(off, on)> <RandInt(10s steps)>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Set the target's Private Beacon state.
* ``Val``: Control Private Beacon state.
* ``RandInt``: Random refresh interval (in 10-second steps), or 0 to keep current value.
``mesh models prb priv-gatt-proxy-get``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get the target's Private GATT Proxy state. Possible values:
* ``0x00``: The Private Proxy functionality is supported, but disabled.
* ``0x01``: The Private Proxy functionality is enabled.
* ``0x02``: The Private Proxy functionality is not supported.
``mesh models prb priv-gatt-proxy-set <Val(off, on)>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Set the target's Private GATT Proxy state.
* ``Val``: New Private GATT Proxy value:
* ``0x00``: Disable the Private Proxy functionality.
* ``0x01``: Enable the Private Proxy functionality.
``mesh models prb priv-node-id-get <NetKeyIdx>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get the target's Private Node Identity state. Possible values:
* ``0x00``: The node does not adverstise with the Private Node Identity.
* ``0x01``: The node advertises with the Private Node Identity.
* ``0x02``: The node doesn't support advertising with the Private Node Identity.
* ``NetKeyIdx``: Network index to get the Private Node Identity state of.
``mesh models prb priv-node-id-set <NetKeyIdx> <State>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Set the target's Private Node Identity state.
* ``NetKeyIdx``: Network index to set the Private Node Identity state of.
* ``State``: New Private Node Identity value:
* ``0x00``: Stop advertising with the Private Node Identity.
* ``0x01``: Start advertising with the Private Node Identity.
Opcodes Aggregator Client
-------------------------
The Opcodes Aggregator client is an optional Bluetooth Mesh model that can be enabled through the
:kconfig:option:`CONFIG_BT_MESH_OP_AGG_CLI` configuration option. The Opcodes Aggregator Client
model is used to support the functionality of dispatching a sequence of access layer messages to
nodes supporting the Opcodes Aggregator Server model.
``mesh models opagg seq-start <ElemAddr>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Start the Opcodes Aggregator Sequence message. This command initiates the context for
aggregating messages and sets the destination address for next shell commands to
``elem_addr``.
* ``ElemAddr``: Element address that will process the aggregated opcodes.
``mesh models opagg seq-send``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Send the Opcodes Aggregator Sequence message. This command completes the procedure, sends
the aggregated sequence message to the target node and clears the context.
``mesh models opagg seq-abort``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Abort the Opcodes Aggregator Sequence message. This command clears the Opcodes Aggregator
Client context.
Remote Provisioning Client
--------------------------
The Remote Provisioning Client is an optional Bluetooth Mesh model enabled through the
:kconfig:option:`CONFIG_BT_MESH_RPR_CLI` configuration option. The Remote Provisioning Client model
provides support for remote provisioning of devices into a mesh network by using the Remote
Provisioning Server model.
This shell module can be used to trigger interaction between Remote Provisioning Clients and Remote
Provisioning Servers on devices in a mesh network.
``mesh models rpr scan <Timeout(s)> [<UUID(1-16 hex)>]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Start scanning for unprovisioned devices.
* ``Timeout``: Scan timeout in seconds. Must be at least 1 second.
* ``UUID``: Device UUID to scan for. Providing a hex-string shorter than 16 bytes will populate the N most significant bytes of the array and zero-pad the rest. If omitted, all devices will be reported.
``mesh models rpr scan-ext <Timeout(s)> <UUID(1-16 hex)> [<ADType> ... ]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Start the extended scanning for unprovisioned devices.
* ``Timeout``: Scan timeout in seconds. Valid values from :c:macro:`BT_MESH_RPR_EXT_SCAN_TIME_MIN` to :c:macro:`BT_MESH_RPR_EXT_SCAN_TIME_MAX`.
* ``UUID``: Device UUID to start extended scanning for. Providing a hex-string shorter than 16 bytes will populate the N most significant bytes of the array and zero-pad the rest.
* ``ADType``: List of AD types to include in the scan report. Must contain 1 to :kconfig:option:`CONFIG_BT_MESH_RPR_AD_TYPES_MAX` entries.
``mesh models rpr scan-srv [<ADType> ... ]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Start the extended scanning for the Remote Provisioning Server.
* ``ADType``: List of AD types to include in the scan report. Must contain 1 to :kconfig:option:`CONFIG_BT_MESH_RPR_AD_TYPES_MAX` entries.
``mesh models rpr scan-caps``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get the scanning capabilities of the Remote Provisioning Server.
``mesh models rpr scan-get``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get the current scanning state of the Remote Provisioning Server.
``mesh models rpr scan-stop``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Stop any ongoing scanning on the Remote Provisioning Server.
``mesh models rpr link-get``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get the current link status of the Remote Provisioning Server.
``mesh models rpr link-close``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Close any open links on the Remote Provisioning Server.
``mesh models rpr provision-remote <UUID(1-16 hex)> <NetKeyIdx> <Addr>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Provision a mesh node using the PB-Remote provisioning bearer.
* ``UUID``: UUID of the unprovisioned node. Providing a hex-string shorter than 16 bytes will populate the N most significant bytes of the array and zero-pad the rest.
* ``NetKeyIdx``: Network Key Index to give to the unprovisioned node.
* ``Addr``: Address to assign to remote device. If ``addr`` is 0, the lowest available address will be chosen.
``mesh models rpr reprovision-remote <Addr> [<CompChanged(false, true)>]``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Reprovision a mesh node using the PB-Remote provisioning bearer.
* ``Addr``: Address to assign to remote device. If ``addr`` is 0, the lowest available address will be chosen.
* ``CompChanged``: The Target node has indicated that its Composition Data has changed. Defaults to false.
``mesh models rpr instance-set <ElemIdx>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Use the Remote Provisioning Client model instance on the specified element when using the
other Remote Provisioning Client model commands.
* ``ElemIdx``: The element on which to find the Remote Provisioning Client model instance to use.
``mesh models rpr instance-get-all``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Get a list of all Remote Provisioning Client model instances on the node.
Large Composition Data Client
-----------------------------
The Large Composition Data Client is an optional Bluetooth Mesh model enabled through the
:kconfig:option:`CONFIG_BT_MESH_LARGE_COMP_DATA_CLI` configuration option. The Large Composition Data Client
model is used to support the functionality of reading pages of Composition Data that do not fit in
a Config Composition Data Status message, and reading the metadata of the model instances.
``mesh models lcd large-comp-data-get <Page> <Offset>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Send the Large Composition Data Get message to query a portion of the Composition Data state of a node.
* ``Page``: Page number of the Composition Data.
* ``Offset``: Offset within the page.
``mesh models lcd models-metadata-get <Page> <Offset>``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Send the Models Metadata Get message to query a portion of a page of the Models Metadata state.
* ``Page``: Page number of the Models Metadata.
* ``Offset``: Offset within the page.
Configuration database
======================
The Configuration database is an optional mesh subsystem that can be enabled through the
:kconfig:option:`CONFIG_BT_MESH_CDB` configuration option. The Configuration database is only
available on provisioner devices, and allows them to store all information about the mesh network.
To avoid conflicts, there should only be one mesh node in the network with the Configuration
database enabled. This node is the Configurator, and is responsible for adding new nodes to the
network and configuring them.
``mesh cdb create [NetKey(1-16 hex)]``
--------------------------------------
Create a Configuration database.
* ``NetKey``: Optional network key value of the primary network key (NetKeyIndex=0). Providing a hex-string shorter than 16 bytes will populate the N most significant bytes of the array and zero-pad the rest. Defaults to the default key value if omitted.
``mesh cdb clear``
------------------
Clear all data from the Configuration database.
``mesh cdb show``
-----------------
Show all data in the Configuration database.
``mesh cdb node-add <UUID(1-16 hex)> <Addr> <ElemCnt> <NetKeyIdx> [DevKey(1-16 hex)]``
your_sha256_hash----------------------
Manually add a mesh node to the configuration database. Note that devices provisioned with
``mesh provision`` and ``mesh provision-adv`` will be added automatically if the
Configuration Database is enabled and created.
* ``UUID``: 128-bit hexadecimal UUID of the node. Providing a hex-string shorter than 16 bytes will populate the N most significant bytes of the array and zero-pad the rest.
* ``Addr``: Unicast address of the node, or 0 to automatically choose the lowest available address.
* ``ElemCnt``: Number of elements on the node.
* ``NetKeyIdx``: The network key the node was provisioned with.
* ``DevKey``: Optional 128-bit device key value for the device. Providing a hex-string shorter than 16 bytes will populate the N most significant bytes of the array and zero-pad the rest. If omitted, a random value will be generated.
``mesh cdb node-del <Addr>``
----------------------------
Delete a mesh node from the Configuration database. If possible, the node should be reset
with ``mesh reset`` before it is deleted from the Configuration database, to avoid
unexpected behavior and uncontrolled access to the network.
* ``Addr`` Address of the node to delete.
``mesh cdb subnet-add <NetKeyIdx> [<NetKey(1-16 hex)>]``
--------------------------------------------------------
Add a network key to the Configuration database. The network key can later be passed to mesh
nodes in the network. Note that adding a key to the Configuration database does not
automatically add it to the local node's list of known network keys.
* ``NetKeyIdx``: Key index of the network key to add.
* ``NetKey``: Optional 128-bit network key value. Providing a hex-string shorter than 16 bytes will populate the N most significant bytes of the array and zero-pad the rest. If omitted, a random value will be generated.
``mesh cdb subnet-del <NetKeyIdx>``
-----------------------------------
Delete a network key from the Configuration database.
* ``NetKeyIdx``: Key index of the network key to delete.
``mesh cdb app-key-add <NetKeyIdx> <AppKeyIdx> [<AppKey(1-16 hex)>]``
your_sha256_hash-----
Add an application key to the Configuration database. The application key can later be
passed to mesh nodes in the network. Note that adding a key to the Configuration database
does not automatically add it to the local node's list of known application keys.
* ``NetKeyIdx``: Network key index the application key is bound to.
* ``AppKeyIdx``: Key index of the application key to add.
* ``AppKey``: Optional 128-bit application key value. Providing a hex-string shorter than 16 bytes will populate the N most significant bytes of the array and zero-pad the rest. If omitted, a random value will be generated.
``mesh cdb app-key-del <AppKeyIdx>``
------------------------------------
Delete an application key from the Configuration database.
* ``AppKeyIdx``: Key index of the application key to delete.
On-Demand Private GATT Proxy Client
-----------------------------------
The On-Demand Private GATT Proxy Client model is an optional mesh subsystem that can be enabled
through the :kconfig:option:`CONFIG_BT_MESH_OD_PRIV_PROXY_CLI` configuration option.
``mesh models od_priv_proxy od-priv-gatt-proxy [Dur(s)]``
---------------------------------------------------------
Set the On-Demand Private GATT Proxy state on active target, or fetch the value of this
state from it.
* ``Dur``: If given, set the state of On-Demand Private GATT Proxy to this value in seconds. Fetch this value otherwise.
Solicitation PDU RPL Client
---------------------------
The Solicitation PDU RPL Client model is an optional mesh subsystem that can be enabled through the
:kconfig:option:`CONFIG_BT_MESH_SOL_PDU_RPL_CLI` configuration option.
``mesh models sol_pdu_rpl sol-pdu-rpl-clear <RngStart> <Ackd> [RngLen]``
your_sha256_hash--------
Clear active target's solicitation replay protection list (SRPL) in given range of
solicitation source (SSRC) addresses.
* ``RngStart``: Start address of the SSRC range.
* ``Ackd``: This argument decides on whether an acknowledged or unacknowledged message will be sent.
* ``RngLen``: Range length for the SSRC addresses to be cleared from the solicitiation RPL list. This parameter is optional; if absent, only a single SSRC address will be cleared.
Frame statistic
===============
``mesh stat get``
-----------------
Get the frame statistic. The command prints numbers of received frames, as well as numbers
of planned and succeeded transmission attempts.
``mesh stat clear``
-------------------
Clear all statistics collected before.
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/mesh/shell.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 18,923 |
```restructuredtext
.. _bluetooth_mesh_core:
Core
####
The core provides functionality for managing the general Bluetooth Mesh
state.
.. _bluetooth_mesh_lpn:
Low Power Node
**************
The Low Power Node (LPN) role allows battery powered devices to participate in
a mesh network as a leaf node. An LPN interacts with the mesh network through
a Friend node, which is responsible for relaying any messages directed to the
LPN. The LPN saves power by keeping its radio turned off, and only wakes up to
either send messages or poll the Friend node for any incoming messages.
The radio control and polling is managed automatically by the mesh stack, but
the LPN API allows the application to trigger the polling at any time through
:c:func:`bt_mesh_lpn_poll`. The LPN operation parameters, including poll
interval, poll event timing and Friend requirements is controlled through the
:kconfig:option:`CONFIG_BT_MESH_LOW_POWER` option and related configuration options.
When using the LPN feature with logging, it is strongly recommended to only use
the :kconfig:option:`CONFIG_LOG_MODE_DEFERRED` option. Log modes other than the
deferred may cause unintended delays during processing of log messages. This in
turns will affect scheduling of the receive delay and receive window. The same
limitation applies for the :kconfig:option:`CONFIG_BT_MESH_FRIEND` option.
Replay Protection List
**********************
The Replay Protection List (RPL) is used to hold recently received sequence
numbers from elements within the mesh network to perform protection against
replay attacks.
To keep a node protected against replay attacks after reboot, it needs to store
the entire RPL in the persistent storage before it is powered off. Depending on
the amount of traffic in a mesh network, storing recently seen sequence numbers
can make flash wear out sooner or later. To mitigate this,
:kconfig:option:`CONFIG_BT_MESH_RPL_STORE_TIMEOUT` can be used. This option postpones
storing of RPL entries in the persistent storage.
This option, however, doesn't completely solve the issue as the node may
get powered off before the timer to store the RPL is fired. To ensure that
messages can not be replayed, the node can initiate storage of the pending
RPL entry (or entries) at any time (or sufficiently before power loss)
by calling :c:func:`bt_mesh_rpl_pending_store`. This is up to the node to decide,
which RPL entries are to be stored in this case.
Setting :kconfig:option:`CONFIG_BT_MESH_RPL_STORE_TIMEOUT` to -1 allows to completely
switch off the timer, which can help to significantly reduce flash wear out.
This moves the responsibility of storing RPL to the user application and
requires that sufficient power backup is available from the time this API
is called until all RPL entries are written to the flash.
Finding the right balance between :kconfig:option:`CONFIG_BT_MESH_RPL_STORE_TIMEOUT` and
calling :c:func:`bt_mesh_rpl_pending_store` may reduce a risk of security
vulnerability and flash wear out.
.. warning:
Failing to enable :kconfig:option:`CONFIG_BT_SETTINGS`, or setting
:kconfig:option:`CONFIG_BT_MESH_RPL_STORE_TIMEOUT` to -1 and not storing
the RPL between reboots, will make the device vulnerable to replay attacks
and not perform the replay protection required by the spec.
.. _bluetooth_mesh_persistent_storage:
Persistent storage
******************
The mesh stack uses the :ref:`Settings Subsystem <settings_api>` for storing the
device configuration persistently. When the stack configuration changes and
the change needs to be stored persistently, the stack schedules a work item.
The delay between scheduling the work item and submitting it to the workqueue
is defined by the :kconfig:option:`CONFIG_BT_MESH_STORE_TIMEOUT` option. Once
storing of data is scheduled, it can not be rescheduled until the work item is
processed. Exceptions are made in certain cases as described below.
When IV index, Sequence Number or CDB configuration have to be stored, the work
item is submitted to the workqueue without the delay. If the work item was
previously scheduled, it will be rescheduled without the delay.
The Replay Protection List uses the same work item to store RPL entries. If
storing of RPL entries is requested and no other configuration is pending to be
stored, the delay is set to :kconfig:option:`CONFIG_BT_MESH_RPL_STORE_TIMEOUT`.
If other stack configuration has to be stored, the delay defined by
the :kconfig:option:`CONFIG_BT_MESH_STORE_TIMEOUT` option is less than
:kconfig:option:`CONFIG_BT_MESH_RPL_STORE_TIMEOUT`, and the work item was
scheduled by the Replay Protection List, the work item will be rescheduled.
When the work item is running, the stack will store all pending configuration,
including the RPL entries.
Work item execution context
===========================
The :kconfig:option:`CONFIG_BT_MESH_SETTINGS_WORKQ` option configures the
context from which the work item is executed. This option is enabled by
default, and results in stack using a dedicated cooperative thread to
process the work item. This allows the stack to process other incoming and
outgoing messages, as well as other work items submitted to the system
workqueue, while the stack configuration is being stored.
When this option is disabled, the work item is submitted to the system workqueue.
This means that the system workqueue is blocked for the time it takes to store
the stack's configuration. It is not recommended to disable this option as this
will make the device non-responsive for a noticeable amount of time.
.. _bluetooth_mesh_adv_identity:
Advertisement identity
**********************
All mesh stack bearers advertise data with the :c:macro:`BT_ID_DEFAULT` local identity.
The value is preset in the mesh stack implementation. When Bluetooth Low Energy (LE)
and Bluetooth Mesh coexist on the same device, the application should allocate and
configure another local identity for Bluetooth LE purposes before starting the communication.
API reference
**************
.. doxygengroup:: bt_mesh
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/mesh/core.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,297 |
```restructuredtext
.. _bluetooth_mesh_msg:
Message
#######
The Bluetooth Mesh message provides set of structures, macros and functions used
for preparing message buffers, managing message and acknowledged message
contexts.
API reference
*************
.. doxygengroup:: bt_mesh_msg
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/mesh/msg.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 55 |
```restructuredtext
.. _bluetooth_mesh_models_priv_beacon_srv:
Private Beacon Server
#####################
The Private Beacon Server model is a foundation model defined by the Bluetooth
mesh specification. It is enabled with
:kconfig:option:`CONFIG_BT_MESH_PRIV_BEACON_SRV` option.
The Private Beacon Server model is introduced in the Bluetooth Mesh Protocol
Specification version 1.1, and controls the mesh node's Private Beacon state,
Private GATT Proxy state and Private Node Identity state.
The Private Beacons feature adds privacy to the different Bluetooth Mesh
beacons by periodically randomizing the beacon input data. This protects the
mesh node from being tracked by devices outside the mesh network, and hides the
network's IV index, IV update and the Key Refresh state. The Private Beacon Server
must be instantiated for the device to support sending of the private beacons,
but the node will process received private beacons without it.
The Private Beacon Server does not have an API of its own, but relies on a
:ref:`bluetooth_mesh_models_priv_beacon_cli` to control it. The Private Beacon
Server model only accepts messages encrypted with the node's device key.
The application can configure the initial parameters of the Private Beacon
Server model through the :c:struct:`bt_mesh_priv_beacon_srv` instance passed to
:c:macro:`BT_MESH_MODEL_PRIV_BEACON_SRV`. Note that if the mesh node stored
changes to this configuration in the settings subsystem, the initial values may
be overwritten upon loading.
If present, the Private Beacon Server model must only be instantiated on the primary element.
API reference
*************
.. doxygengroup:: bt_mesh_priv_beacon_srv
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/mesh/priv_beacon_srv.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 350 |
```restructuredtext
.. _bluetooth_mesh_cfg:
Runtime Configuration
#####################
The runtime configuration API allows applications to change their runtime
configuration directly, without going through the Configuration models.
Bluetooth Mesh nodes should generally be configured by a central network
configurator device with a :ref:`bluetooth_mesh_models_cfg_cli` model. Each
mesh node instantiates a :ref:`bluetooth_mesh_models_cfg_srv` model that the
Configuration Client can communicate with to change the node configuration. In some
cases, the mesh node can't rely on the Configuration Client to detect or determine
local constraints, such as low battery power or changes in topology. For these
scenarios, this API can be used to change the configuration locally.
.. note::
Runtime configuration changes before the node is provisioned will not be stored
in the :ref:`persistent storage <bluetooth_mesh_persistent_storage>`.
API reference
*************
.. doxygengroup:: bt_mesh_cfg
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/mesh/cfg.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 197 |
```restructuredtext
.. _bluetooth_mesh_blob_srv:
BLOB Transfer Server
####################
The Binary Large Object (BLOB) Transfer Server model implements reliable receiving of large binary
objects. It serves as the backend of the :ref:`bluetooth_mesh_dfu_srv`, but can also be used for
receiving other binary images.
BLOBs
*****
As described in :ref:`bluetooth_mesh_blob`, the binary objects transferred by the BLOB Transfer
models are divided into blocks, which are divided into chunks. As the transfer is controlled by the
BLOB Transfer Client model, the BLOB Transfer Server must allow blocks to come in any order. The
chunks within a block may also come in any order, but all chunks in a block must be received before
the next block is started.
The BLOB Transfer Server keeps track of the received blocks and chunks, and will process each block
and chunk only once. The BLOB Transfer Server also ensures that any missing chunks are resent by the
BLOB Transfer Client.
Usage
*****
The BLOB Transfer Server is instantiated on an element with a set of event handler callbacks:
.. code-block:: C
static const struct bt_mesh_blob_srv_cb blob_cb = {
/* Callbacks */
};
static struct bt_mesh_blob_srv blob_srv = {
.cb = &blob_cb,
};
static const struct bt_mesh_model models[] = {
BT_MESH_MODEL_BLOB_SRV(&blob_srv),
};
A BLOB Transfer Server is capable of receiving a single BLOB transfer at a time. Before the BLOB
Transfer Server can receive a transfer, it must be prepared by the user. The transfer ID must be
passed to the BLOB Transfer Server through the :c:func:`bt_mesh_blob_srv_recv` function before the
transfer is started by the BLOB Transfer Client. The ID must be shared between the BLOB Transfer
Client and the BLOB Transfer Server through some higher level procedure, like a vendor specific
transfer management model.
Once the transfer has been set up on the BLOB Transfer Server, it's ready for receiving the BLOB.
The application is notified of the transfer progress through the event handler callbacks, and the
BLOB data is sent to the BLOB stream.
The interaction between the BLOB Transfer Server, BLOB stream and application is shown below:
.. figure:: images/blob_srv.svg
:align: center
:alt: BLOB Transfer Server model interaction
BLOB Transfer Server model interaction
Transfer suspension
*******************
The BLOB Transfer Server keeps a running timer during the transfer, that is reset on every received
message. If the BLOB Transfer Client does not send a message before the transfer timer expires, the
transfer is suspended by the BLOB Transfer Server.
The BLOB Transfer Server notifies the user of the suspension by calling the :c:member:`suspended
<bt_mesh_blob_srv_cb.suspended>` callback. If the BLOB Transfer Server is in the middle of receiving
a block, this block is discarded.
The BLOB Transfer Client may resume a suspended transfer by starting a new block transfer. The BLOB
Transfer Server notifies the user by calling the :c:member:`resume <bt_mesh_blob_srv_cb.resume>`
callback.
Transfer recovery
*****************
The state of the BLOB transfer is stored persistently. If a reboot occurs, the BLOB Transfer Server
will attempt to recover the transfer. When the Bluetooth Mesh subsystem is started (for instance by
calling :c:func:`bt_mesh_init`), the BLOB Transfer Server will check for aborted transfers, and call
the :c:member:`recover <bt_mesh_blob_srv_cb.recover>` callback if there is any. In the recover
callback, the user must provide a BLOB stream to use for the rest of the transfer. If the recover
callback doesn't return successfully or does not provide a BLOB stream, the transfer is abandoned.
If no recover callback is implemented, transfers are always abandoned after a reboot.
After a transfer is successfully recovered, the BLOB Transfer Server enters the suspended state. It
will stay suspended until the BLOB Transfer Client resumes the transfer, or the user cancels it.
.. note::
The BLOB Transfer Client sending the transfer must support transfer recovery for the transfer to
complete. If the BLOB Transfer Client has already given up the transfer, the BLOB Transfer Server
will stay suspended until the application calls :c:func:`bt_mesh_blob_srv_cancel`.
API reference
*************
.. doxygengroup:: bt_mesh_blob_srv
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/mesh/blob_srv.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 942 |
```restructuredtext
.. _bluetooth_mesh_od_srv:
On-Demand Private Proxy Server
##############################
The On-Demand Private Proxy Server model is a foundation model defined by the Bluetooth Mesh
specification. It is enabled with the :kconfig:option:`CONFIG_BT_MESH_OD_PRIV_PROXY_SRV` option.
The On-Demand Private Proxy Server model was introduced in the Bluetooth Mesh Protocol Specification
version 1.1, and supports the configuration of advertising with Private Network Identity type of a
node that is a recipient of Solicitation PDUs by managing its On-Demand Private GATT Proxy state.
When enabled, the :ref:`bluetooth_mesh_srpl_srv` is also enabled. The On-Demand Private Proxy Server
is dependent on the :ref:`bluetooth_mesh_models_priv_beacon_srv` to be present on the node.
The On-Demand Private Proxy Server does not have an API of its own, and relies on a
:ref:`bluetooth_mesh_od_cli` to control it. The On-Demand Private Proxy Server model only accepts
messages encrypted with the node's device key.
If present, the On-Demand Private Proxy Server model must only be instantiated on the primary
element.
API reference
*************
.. doxygengroup:: bt_mesh_od_priv_proxy_srv
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/mesh/od_srv.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 263 |
```restructuredtext
.. _bluetooth_mesh_provisioning:
Provisioning
############
Provisioning is the process of adding devices to a mesh network. It requires
two devices operating in the following roles:
* The *provisioner* represents the network owner, and is responsible for
adding new nodes to the mesh network.
* The *provisionee* is the device that gets added to the network through the
Provisioning process. Before the provisioning process starts, the
provisionee is an *unprovisioned device*.
The Provisioning module in the Zephyr Bluetooth Mesh stack supports both the
Advertising and GATT Provisioning bearers for the provisionee role, as well as
the Advertising Provisioning bearer for the provisioner role.
The Provisioning process
************************
All Bluetooth Mesh nodes must be provisioned before they can participate in a
Bluetooth Mesh network. The Provisioning API provides all the functionality
necessary for a device to become a provisioned mesh node.
Provisioning is a five-step process, involving the following steps:
* Beaconing
* Invitation
* Public key exchange
* Authentication
* Provisioning data transfer
Beaconing
=========
To start the provisioning process, the unprovisioned device must first start
broadcasting the Unprovisioned Beacon. This makes it visible to nearby
provisioners, which can initiate the provisioning. To indicate that the device
needs to be provisioned, call :c:func:`bt_mesh_prov_enable`. The device
starts broadcasting the Unprovisioned Beacon with the device UUID and the
``OOB information`` field, as specified in the ``prov`` parameter passed to
:c:func:`bt_mesh_init`. Additionally, a Uniform Resource Identifier (URI)
may be specified, which can point the provisioner to the location of some Out
Of Band information, such as the device's public key or an authentication
value database. The URI is advertised in a separate beacon, with a URI hash
included in the unprovisioned beacon, to tie the two together.
Uniform Resource Identifier
---------------------------
The Uniform Resource Identifier shall follow the format specified in the
Bluetooth Core Specification Supplement. The URI must start with a URI scheme,
encoded as a single utf-8 data point, or the special ``none`` scheme, encoded
as ``0x01``. The available schemes are listed on the `Bluetooth website
<path_to_url`_.
Examples of encoded URIs:
.. list-table:: URI encoding examples
* - URI
- Encoded
* - ``path_to_url``
- ``\x16//example.com``
* - ``path_to_url``
- ``\x17//www.zephyrproject.org/``
* - ``just a string``
- ``\x01just a string``
Provisioning invitation
=======================
The provisioner initiates the Provisioning process by sending a Provisioning
invitation. The invitations prompts the provisionee to call attention to
itself using the Health Server
:ref:`bluetooth_mesh_models_health_srv_attention`, if available.
The Unprovisioned device automatically responds to the invite by presenting a
list of its capabilities, including the supported Out of Band Authentication
methods and algorithms.
Public key exchange
===================
Before the provisioning process can begin, the provisioner and the unprovisioned
device exchange public keys, either in-band or Out of Band (OOB).
In-band public key exchange is a part of the provisioning process and always
supported by the unprovisioned device and provisioner.
If the application wants to support public key exchange via OOB, it needs to
provide public and private keys to the mesh stack. The unprovisioned device
will reflect this in its capabilities. The provisioner obtains the public key
via any available OOB mechanism (e.g. the device may advertise a packet
containing the public key or it can be encoded in a QR code printed on the
device packaging). Note that even if the unprovisioned device has specified
the public key for the Out of Band exchange, the provisioner may choose to
exchange the public key in-band if it can't retrieve the public key via OOB
mechanism. In this case, a new key pair will be generated by the mesh stack
for each Provisioning process.
To enable support of OOB public key on the unprovisioned device side,
:kconfig:option:`CONFIG_BT_MESH_PROV_OOB_PUBLIC_KEY` needs to be enabled. The
application must provide public and private keys before the Provisioning
process is started by initializing pointers to
:c:member:`bt_mesh_prov.public_key_be`
and :c:member:`bt_mesh_prov.private_key_be`. The keys needs to be
provided in big-endian bytes order.
To provide the device's public key obtained via OOB,
call :c:func:`bt_mesh_prov_remote_pub_key_set` on the provisioner side.
Authentication
==============
After the initial exchange, the provisioner selects an Out of Band (OOB)
Authentication method. This allows the user to confirm that the device the
provisioner connected to is actually the device they intended, and not a
malicious third party.
The Provisioning API supports the following authentication methods for the
provisionee:
* **Static OOB:** An authentication value is assigned to the device in
production, which the provisioner can query in some application specific
way.
* **Input OOB:** The user inputs the authentication value. The available input
actions are listed in :c:enum:`bt_mesh_input_action_t`.
* **Output OOB:** Show the user the authentication value. The available output
actions are listed in :c:enum:`bt_mesh_output_action_t`.
The application must provide callbacks for the supported authentication
methods in :c:struct:`bt_mesh_prov`, as well as enabling the supported actions
in :c:member:`bt_mesh_prov.output_actions` and
:c:member:`bt_mesh_prov.input_actions`.
When an Output OOB action is selected, the authentication value should be
presented to the user when the output callback is called, and remain until the
:c:member:`bt_mesh_prov.input_complete` or :c:member:`bt_mesh_prov.complete`
callback is called. If the action is ``blink``, ``beep`` or ``vibrate``, the
sequence should be repeated after a delay of three seconds or more.
When an Input OOB action is selected, the user should be prompted when the
application receives the :c:member:`bt_mesh_prov.input` callback. The user
response should be fed back to the Provisioning API through
:c:func:`bt_mesh_input_string` or :c:func:`bt_mesh_input_number`. If
no user response is recorded within 60 seconds, the Provisioning process is
aborted.
If Provisionee wants to mandate OOB authentication, it is mandatory to use
the BT_MESH_ECDH_P256_HMAC_SHA256_AES_CCM algorithm.
Data transfer
=============
After the device has been successfully authenticated, the provisioner
transfers the Provisioning data:
* Unicast address
* A network key
* IV index
* Network flags
* Key refresh
* IV update
Additionally, a device key is generated for the node. All this data is stored
by the mesh stack, and the provisioning :c:member:`bt_mesh_prov.complete`
callback gets called.
Provisioning security
*********************
Depending on the choice of public key exchange mechanism and authentication method,
the provisioning process can be secure or insecure.
On May 24th 2021, ANSSI `disclosed <path_to_url`_
a set of vulnerabilities in the Bluetooth Mesh provisioning protocol that showcased
how the low entropy provided by the Blink, Vibrate, Push, Twist and
Input/Output numeric OOB methods could be exploited in impersonation and MITM
attacks. In response, the Bluetooth SIG has reclassified these OOB methods as
insecure in the Bluetooth Mesh Profile Specification v1.0.1 `erratum 16350 <path_to_url`_,
as AuthValue may be brute forced in real time. To ensure secure provisioning, applications
should use a static OOB value and OOB public key transfer.
API reference
*************
.. doxygengroup:: bt_mesh_prov
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/mesh/provisioning.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,744 |
```restructuredtext
.. _bluetooth_mesh_models_rpr_cli:
Remote Provisioning Client
##########################
The Remote Provisioning Client model is a foundation model defined by the Bluetooth
mesh specification. It is enabled with the
:kconfig:option:`CONFIG_BT_MESH_RPR_CLI` option.
The Remote Provisioning Client model is introduced in the Bluetooth Mesh Protocol
Specification version 1.1.
This model provides functionality to remotely provision devices into a mesh network, and perform
Node Provisioning Protocol Interface procedures by interacting with mesh nodes that support the
:ref:`bluetooth_mesh_models_rpr_srv` model.
The Remote Provisioning Client model communicates with a Remote Provisioning Server model
using the device key of the node containing the target Remote Provisioning Server model instance.
If present, the Remote Provisioning Client model must be instantiated on the primary
element.
Scanning
********
The scanning procedure is used to scan for unprovisioned devices located nearby the Remote
Provisioning Server. The Remote Provisioning Client starts a scan procedure by using the
:c:func:`bt_mesh_rpr_scan_start` call:
.. code-block:: C
static void rpr_scan_report(struct bt_mesh_rpr_cli *cli,
const struct bt_mesh_rpr_node *srv,
struct bt_mesh_rpr_unprov *unprov,
struct net_buf_simple *adv_data)
{
}
struct bt_mesh_rpr_cli rpr_cli = {
.scan_report = rpr_scan_report,
};
const struct bt_mesh_rpr_node srv = {
.addr = 0x0004,
.net_idx = 0,
.ttl = BT_MESH_TTL_DEFAULT,
};
struct bt_mesh_rpr_scan_status status;
uint8_t *uuid = NULL;
uint8_t timeout = 10;
uint8_t max_devs = 3;
bt_mesh_rpr_scan_start(&rpr_cli, &srv, uuid, timeout, max_devs, &status);
The above example shows pseudo code for starting a scan procedure on the target Remote Provisioning
Server node. This procedure will start a ten-second, multiple-device scanning where the generated
scan report will contain a maximum of three unprovisioned devices. If the UUID argument was
specified, the same procedure would only scan for the device with the corresponding UUID. After the
procedure completes, the server sends the scan report that will be handled in the client's
:c:member:`bt_mesh_rpr_cli.scan_report` callback.
Additionally, the Remote Provisioning Client model also supports extended scanning with the
:c:func:`bt_mesh_rpr_scan_start_ext` call. Extended scanning supplements regular scanning by
allowing the Remote Provisioning Server to report additional data for a specific device. The Remote
Provisioning Server will use active scanning to request a scan response from the unprovisioned
device if it is supported by the unprovisioned device.
Provisioning
************
The Remote Provisioning Client starts a provisioning procedure by using the
:c:func:`bt_mesh_provision_remote` call:
.. code-block:: C
struct bt_mesh_rpr_cli rpr_cli;
const struct bt_mesh_rpr_node srv = {
.addr = 0x0004,
.net_idx = 0,
.ttl = BT_MESH_TTL_DEFAULT,
};
uint8_t uuid[16] = { 0xaa };
uint16_t addr = 0x0006;
uint16_t net_idx = 0;
bt_mesh_provision_remote(&rpr_cli, &srv, uuid, net_idx, addr);
The above example shows pseudo code for remotely provisioning a device through a Remote Provisioning
Server node. This procedure will attempt to provision the device with the corresponding UUID, and
assign the address 0x0006 to its primary element using the network key located at index zero.
.. note::
During the remote provisioning, the same :c:struct:`bt_mesh_prov` callbacks are triggered as for
ordinary provisioning. See section :ref:`bluetooth_mesh_provisioning` for further details.
Re-provisioning
***************
In addition to scanning and provisioning functionality, the Remote Provisioning Client also provides
means to reconfigure node addresses, device keys and Composition Data on devices that support the
:ref:`bluetooth_mesh_models_rpr_srv` model. This is provided through the Node Provisioning Protocol
Interface (NPPI) which supports the following three procedures:
* Device Key Refresh procedure: Used to change the device key of the Target node without a need to
reconfigure the node.
* Node Address Refresh procedure: Used to change the nodes device key and unicast address.
* Node Composition Refresh procedure: Used to change the device key of the node, and to add or
delete models or features of the node.
The three NPPI procedures can be initiated with the :c:func:`bt_mesh_reprovision_remote` call:
.. code-block:: C
struct bt_mesh_rpr_cli rpr_cli;
struct bt_mesh_rpr_node srv = {
.addr = 0x0006,
.net_idx = 0,
.ttl = BT_MESH_TTL_DEFAULT,
};
bool composition_changed = false;
uint16_t new_addr = 0x0009;
bt_mesh_reprovision_remote(&rpr_cli, &srv, new_addr, composition_changed);
The above example shows pseudo code for triggering a Node Address Refresh procedure on the Target
node. The specific procedure is not chosen directly, but rather through the other parameters that
are inputted. In the example we can see that the current unicast address of the Target is 0x0006,
while the new address is set to 0x0009. If the two addresses were the same, and the
``composition_changed`` flag was set to true, this code would instead trigger a Node Composition
Refresh procedure. If the two addresses were the same, and the ``composition_changed`` flag was set
to false, this code would trigger a Device Key Refresh procedure.
API reference
*************
.. doxygengroup:: bt_mesh_rpr_cli
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/mesh/rpr_cli.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,285 |
```restructuredtext
.. _bluetooth_mesh_models_health_cli:
Health Client
#############
The Health Client model interacts with a Health Server model to read out
diagnostics and control the node's attention state.
All message passing functions in the Health Client API have ``cli`` as
their first parameter. This is a pointer to the client model instance to be
used in this function call. The second parameter is the ``ctx`` or message
context. Message context contains netkey index, appkey index and unicast
address that the target node uses.
The Health Client model is optional, and may be instantiated on any element.
However, if a Health Client model is instantiated on an element other than the
primary, an instance must also be present on the primary element.
See :ref:`bluetooth_mesh_health_faults` for a list of specification defined
fault values.
API reference
*************
.. doxygengroup:: bt_mesh_health_cli
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/mesh/health_cli.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 192 |
```restructuredtext
.. _bluetooth_mesh_srpl_srv:
Solicitation PDU RPL Configuration Server
#########################################
The Solicitation PDU RPL Configuration Server model is a foundation model defined by the Bluetooth
mesh specification. The model is enabled if the node has the :ref:`bluetooth_mesh_od_srv` enabled.
The Solicitation PDU RPL Configuration Server model was introduced in the Bluetooth Mesh Protocol
Specification version 1.1, and manages the Solicitation Replay Protection List (SRPL) saved on the
device. The SRPL is used to reject Solicitation PDUs that are already processed by a node. When a
valid Solicitation PDU message is successfully processed by a node, the SSRC field and SSEQ field
of the message are stored in the node's SRPL.
The Solicitation PDU RPL Configuration Server does not have an API of its own, and relies on a
:ref:`bluetooth_mesh_srpl_cli` to control it. The model only accepts messages encrypted with an
application key as configured by the Configuration Client.
If present, the Solicitation PDU RPL Configuration Server model must only be instantiated on the
primary element.
Configurations
**************
For the Solicitation PDU RPL Configuration Server model, the
:kconfig:option:`CONFIG_BT_MESH_PROXY_SRPL_SIZE` option can be configured to set the size of the
SRPL.
API reference
*************
.. doxygengroup:: bt_mesh_sol_pdu_rpl_srv
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/mesh/srpl_srv.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 307 |
```restructuredtext
.. _bt_mesh_proxy:
Proxy
#####
The Proxy feature allows legacy devices like phones to access the Bluetooth Mesh network through
GATT. The Proxy feature is only compiled in if the :kconfig:option:`CONFIG_BT_MESH_GATT_PROXY`
option is set. The Proxy feature state is controlled by the :ref:`bluetooth_mesh_models_cfg_srv`,
and the initial value can be set with :c:member:`bt_mesh_cfg_srv.gatt_proxy`.
Nodes with the Proxy feature enabled can advertise with Network Identity and Node Identity,
which is controlled by the :ref:`bluetooth_mesh_models_cfg_cli`.
The GATT Proxy state indicates if the Proxy feature is supported.
Private Proxy
*************
A node supporting the Proxy feature and the :ref:`bluetooth_mesh_models_priv_beacon_srv` model can
advertise with Private Network Identity and Private Node Identity types, which is controlled by the
:ref:`bluetooth_mesh_models_priv_beacon_cli`. By advertising with this set of identification types,
the node allows the legacy device to connect to the network over GATT while maintaining the
privacy of the network.
The Private GATT Proxy state indicates whether the Private Proxy functionality is supported.
Proxy Solicitation
******************
In the case where both GATT Proxy and Private GATT Proxy states are disabled on a node, a legacy
device cannot connect to it. A node supporting the :ref:`bluetooth_mesh_od_srv` may however be
solicited to advertise connectable advertising events without enabling the Private GATT Proxy state.
To solicit the node, the legacy device can send a Solicitation PDU by calling the
:func:`bt_mesh_proxy_solicit` function. To enable this feature, the device must to be compiled with
the :kconfig:option:`CONFIG_BT_MESH_PROXY_SOLICITATION` option set.
Solicitation PDUs are non-mesh, non-connectable, undirected advertising messages containing Proxy
Solicitation UUID, encrypted with the network key of the subnet that the legacy device wants to
connect to. The PDU contains the source address of the legacy device and a sequence number. The
sequence number is maintained by the legacy device and is incremented for every new Solicitation PDU
sent.
Each node supporting the Solicitation PDU reception holds its own Solicitation Replay Protection
List (SRPL). The SRPL protects the solicitation mechanism from replay attacks by storing
solicitation sequence number (SSEQ) and solicitation source (SSRC) pairs of valid Solicitation PDUs
processed by the node. The delay between updating the SRPL and storing the change to the persistent
storage is defined by :kconfig:option:`CONFIG_BT_MESH_RPL_STORE_TIMEOUT`.
The Solicitation PDU RPL Configuration models, :ref:`bluetooth_mesh_srpl_cli` and
:ref:`bluetooth_mesh_srpl_srv`, provide the functionality of saving and clearing SRPL entries. A
node that supports the Solicitation PDU RPL Configuration Client model can clear a section of the
SRPL on the target by calling the :func:`bt_mesh_sol_pdu_rpl_clear` function. Communication between
the Solicitation PDU RPL Configuration Client and Server is encrypted using the application key,
therefore, the Solicitation PDU RPL Configuration Client can be instantiated on any device in the
network.
When the node receives the Solicitation PDU and successfully authenticates it, it will start
advertising connectable advertisements with the Private Network Identity type. The duration of the
advertisement can be configured by the On-Demand Private Proxy Client model.
API reference
*************
.. doxygengroup:: bt_mesh_proxy
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/mesh/proxy.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 758 |
```restructuredtext
.. _bluetooth_mesh_srpl_cli:
Solicitation PDU RPL Configuration Client
#########################################
The Solicitation PDU RPL Configuration Client model is a foundation model defined by the Bluetooth
mesh specification. The model is optional, and is enabled through the
:kconfig:option:`CONFIG_BT_MESH_SOL_PDU_RPL_CLI` option.
The Solicitation PDU RPL Configuration Client model was introduced in the Bluetooth Mesh Protocol
Specification version 1.1, and supports the functionality of removing addresses from the
solicitation replay protection list (SRPL) of a node that supports the
:ref:`bluetooth_mesh_srpl_srv` model.
The Solicitation PDU RPL Configuration Client model communicates with a Solicitation PDU RPL
Configuration Server model using the application keys configured by the Configuration Client.
If present, the Solicitation PDU RPL Configuration Client model must only be instantiated on the
primary element.
Configurations
**************
The Solicitation PDU RPL Configuration Client model behavior can be configured with the transmission
timeout option :kconfig:option:`CONFIG_BT_MESH_SOL_PDU_RPL_CLI_TIMEOUT`. The
:kconfig:option:`CONFIG_BT_MESH_SOL_PDU_RPL_CLI_TIMEOUT` controls how long the Solicitation PDU RPL
Configuration Client waits for a response message to arrive in milliseconds. This value can be
changed at runtime using :c:func:`bt_mesh_sol_pdu_rpl_cli_timeout_set`.
API reference
*************
.. doxygengroup:: bt_mesh_sol_pdu_rpl_cli
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/mesh/srpl_cli.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 319 |
```restructuredtext
.. _bluetooth_mesh_models_op_agg_srv:
Opcodes Aggregator Server
#########################
The Opcodes Aggregator Server model is a foundation model defined by the Bluetooth
mesh specification. It is an optional model, enabled with the
:kconfig:option:`CONFIG_BT_MESH_OP_AGG_SRV` option.
The Opcodes Aggregator Server model is introduced in the Bluetooth Mesh Protocol
Specification version 1.1, and is used to support the functionality of processing
a sequence of access layer messages.
The Opcodes Aggregator Server model accepts messages encrypted with the node's device key
or the application keys.
If present, the Opcodes Aggregator Server model must only be instantiated on the primary element.
The targeted server models should be bound to the same application key that is used
to encrypt the sequence of access layer messages sent to the Opcodes Aggregator Server.
The Opcodes Aggregator Server handles aggregated messages and dispatches them to the
respective models and their message handlers. Current implementation assumes that
responses are sent from the same execution context as the received message and
doesn't allow to send a postponed response, for example from a work queue.
API reference
*************
.. doxygengroup:: bt_mesh_op_agg_srv
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/mesh/op_agg_srv.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 253 |
```restructuredtext
.. _bluetooth_mesh_heartbeat:
Heartbeat
#########
The Heartbeat feature provides functionality for monitoring Bluetooth Mesh nodes
and determining the distance between nodes.
The Heartbeat feature is configured through the :ref:`bluetooth_mesh_models_cfg_srv` model.
Heartbeat messages
******************
Heartbeat messages are sent as transport control packets through the network,
and are only encrypted with a network key. Heartbeat messages contain the
original Time To Live (TTL) value used to send the message and a bitfield of
the active features on the node. Through this, a receiving node can determine
how many relays the message had to go through to arrive at the receiver, and
what features the node supports.
Available Heartbeat feature flags:
- :c:macro:`BT_MESH_FEAT_RELAY`
- :c:macro:`BT_MESH_FEAT_PROXY`
- :c:macro:`BT_MESH_FEAT_FRIEND`
- :c:macro:`BT_MESH_FEAT_LOW_POWER`
Heartbeat publication
*********************
Heartbeat publication is controlled through the Configuration models, and can
be triggered in two ways:
Periodic publication
The node publishes a new Heartbeat message at regular intervals. The
publication can be configured to stop after a certain number of messages, or
continue indefinitely.
Triggered publication
The node publishes a new Heartbeat message every time a feature changes. The
set of features that can trigger the publication is configurable.
The two publication types can be combined.
Heartbeat subscription
**********************
A node can be configured to subscribe to Heartbeat messages from one node at
the time. To receive a Heartbeat message, both the source and destination must
match the configured subscription parameters.
Heartbeat subscription is always time limited, and throughout the subscription
period, the node keeps track of the number of received Heartbeats as well as
the minimum and maximum received hop count.
All Heartbeats received with the configured subscription parameters are passed
to the :cpp:member:`bt_mesh_hb_cb::recv` event handler.
When the Heartbeat subscription period ends, the
:cpp:member:`bt_mesh_hb_cb::sub_end` callback gets called.
API reference
**************
.. doxygengroup:: bt_mesh_heartbeat
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/mesh/heartbeat.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 468 |
```restructuredtext
.. _bluetooth_mesh_models_cfg_srv:
Configuration Server
####################
The Configuration Server model is a foundation model defined by the Bluetooth Mesh
specification. The Configuration Server model controls most parameters of the
mesh node. It does not have an API of its own, but relies on a
:ref:`bluetooth_mesh_models_cfg_cli` to control it.
The Configuration Server model is mandatory on all Bluetooth Mesh nodes, and
must only be instantiated on the primary element.
API reference
*************
.. doxygengroup:: bt_mesh_cfg_srv
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/mesh/cfg_srv.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 115 |
```restructuredtext
.. _bluetooth_mesh_models_rpr_srv:
Remote Provisioning Server
##########################
The Remote Provisioning Server model is a foundation model defined by the Bluetooth
mesh specification. It is enabled with the
:kconfig:option:`CONFIG_BT_MESH_RPR_SRV` option.
The Remote Provisioning Server model is introduced in the Bluetooth Mesh Protocol
Specification version 1.1, and is used to support the functionality of remotely
provisioning devices into a mesh network.
The Remote Provisioning Server does not have an API of its own, but relies on a
:ref:`bluetooth_mesh_models_rpr_cli` to control it. The Remote Provisioning Server
model only accepts messages encrypted with the node's device key.
If present, the Remote Provisioning Server model must be instantiated on the primary element.
Note that after refreshing the device key, node address or Composition Data through a Node
Provisioning Protocol Interface (NPPI) procedure, the :c:member:`bt_mesh_prov.reprovisioned`
callback is triggered. See section :ref:`bluetooth_mesh_models_rpr_cli` for further details.
Limitations
-----------
The following limitations apply to Remote Provisioning Server model:
* Provisioning of unprovisioned device using PB-GATT is not supported.
* All Node Provisioning Protocol Interface (NPPI) procedures are supported. However, if the composition data of a device gets changed after device firmware update (see :ref:`firmware effect <bluetooth_mesh_dfu_firmware_effect>`), it is not possible for the device to remain provisioned. The device should be unprovisioned if its composition data is expected to change.
API reference
*************
.. doxygengroup:: bt_mesh_rpr_srv
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/mesh/rpr_srv.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 356 |
```restructuredtext
.. _bluetooth_mesh_dfu_cli:
Firmware Update Client
######################
The Firmware Update Client is responsible for distributing firmware updates through the mesh
network. The Firmware Update Client uses the :ref:`bluetooth_mesh_blob_cli` as a transport for its
transfers.
API reference
*************
.. doxygengroup:: bt_mesh_dfu_cli
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/mesh/dfu_cli.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 76 |
```restructuredtext
.. _bluetooth_mesh_stat:
Frame statistic
###############
The frame statistic API allows monitoring the number of received frames over
different interfaces, and the number of planned and succeeded transmission and
relaying attempts.
The API helps the user to estimate the efficiency of the advertiser configuration
parameters and the scanning ability of the device. The number of the monitored
parameters can be easily extended by customer values.
An application can read out and clean up statistics at any time.
API reference
*************
.. doxygengroup:: bt_mesh_stat
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/mesh/statistic.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 110 |
```restructuredtext
.. _bluetooth_mesh_lcd_cli:
Large Composition Data Client
#############################
The Large Composition Data Client model is a foundation model defined by the Bluetooth Mesh
specification. The model is optional, and is enabled through the
:kconfig:option:`CONFIG_BT_MESH_LARGE_COMP_DATA_CLI` option.
The Large Composition Data Client model was introduced in the Bluetooth Mesh Protocol Specification
version 1.1, and supports the functionality of reading pages of Composition Data that do not fit in
a Config Composition Data Status message and reading the metadata of the model instances on a node
that supports the :ref:`bluetooth_mesh_lcd_srv` model.
The Large Composition Data Client model communicates with a Large Composition Data Server model
using the device key of the node containing the target Large Composition Data Server model instance.
If present, the Large Composition Data Client model must only be instantiated on the primary
element.
API reference
*************
.. doxygengroup:: bt_mesh_large_comp_data_cli
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/mesh/lcd_cli.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 200 |
```xml
<mxfile host="app.diagrams.net" modified="2020-05-26T14:53:51.521Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" etag="s8sJTW5-KFsHNyjbjU1j" version="13.1.3" type="device"><diagram name="Page-1" id="13e1069c-82ec-6db2-03f1-153e76fe0fe0">7Vxbc6M2FP41ftwMIG5+jHPbzqTtTtN2u48Yy7YaGTEgx0l/fYURN8kGxUbY3iQPGXQQR3DOp3PRkTwCN6vXhySIl7+SGcQjy5i9jsDtyLJ8E7D/GeEtJ9jOOCcsEjTLSWZFeEL/your_sha256_hash6JJTTaPW/StEiyUf2nf4jWkQPi8Sso74eCMLzLdyour_sha512_hash+L2/i9GeILJC0z4S9O3QlDs/ePscr3Cj2gOMYpYaxLDBK0gZf3BLebkbxVtslkiCpyour_sha512_hash+a5QyK9xMIV4UmrvhmCSDR+R7QelNCHPJRQyRnP2jvfBCuEM4X/DZBZEASdzOJtMmZMAo0XEGiHTx/your_sha256_hashyour_sha256_hashIUiko01ZS4dx4pa9V2GkotNdjQqqxUy+hBqcyour_sha512_hash+your_sha512_hash+your_sha512_hash/your_sha256_hash88dW4/mcP5iOlb5Elfx3HmImGIhJJSvhMvIdPvG2riZ5BE++d09WUMNP3bL3E3Nt+t2IPy721WWHTvyivd7S8d06kAeVt659H5yRvoLjU4WqT9/your_sha256_hashR1psRcU8aVaUm6KczRkWmzEGuWKOhImyU+JuhglEvl6Py7dHvCOHvfS+zfloFXTxevQ+bzFNKRiO0esnRPXmligSKaXx7e6+tErZ6re2KYZzsxgBgeq04MR1jBN4eZF4X7VJ0XYDz8vJAAJUeUt4iF5Wi6pixS/8wud+Ulw2aXImxOW9bVH6FdYmbpv1epB2aWTh+your_sha256_hashyour_sha256_hashdGpYZjTsY9RQUAU8Yxx+g/GbKa+RP6zCEaXosEkkM2a3JLEiXZVDBbnNQ+your_sha512_hash+5Q4AROunsaKt+DsLU+qM7SsBSoeudkjgFhlp8uzFuFoxCeSNNReKSSXDuS/b0J5I+IJuvQPBaIlrXCKjnsBoCZ4aDBFm2kAC459JEKXz7AAEg2JA1+yVjQU8I9/your_sha256_hashyour_sha256_hashdWGl1nQEmevEtuib6gDjob4NG/2GI6HVUTUFnhiQx6mt1wNg9jl4wykWin8pg7ajrnNSyOSKYFE/XdK786zKRYM84eg/eyKj8Jd/your_sha256_hashyour_sha256_hashzm2P0R3ArU4cnuKXUeu+your_sha256_hashMwYuge6fMFgO5bMSxNGnSGq667s9R8yk5yfhuktCD1pQeFU2bPb215c1qx++C/vXv24Irj7Hw==</diagram></mxfile>
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/mesh/images/dfu_srv.xml | xml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 981 |
```restructuredtext
.. _bluetooth_mesh_access:
Access layer
############
The access layer is the application's interface to the Bluetooth Mesh network.
The access layer provides mechanisms for compartmentalizing the node behavior
into elements and models, which are implemented by the application.
Mesh models
***********
The functionality of a mesh node is represented by models. A model implements
a single behavior the node supports, like being a light, a sensor or a
thermostat. The mesh models are grouped into *elements*. Each element is
assigned its own unicast address, and may only contain one of each type of
model. Conventionally, each element represents a single aspect of the mesh
node behavior. For instance, a node that contains a sensor, two lights and a
power outlet would spread this functionality across four elements, with each
element instantiating all the models required for a single aspect of the
supported behavior.
The node's element and model structure is specified in the node composition
data, which is passed to :c:func:`bt_mesh_init` during initialization. The
Bluetooth SIG have defined a set of foundation models (see
:ref:`bluetooth_mesh_models`) and a set of models for implementing common
behavior in the `Bluetooth Mesh Model Specification
<path_to_url`_. All models
not specified by the Bluetooth SIG are vendor models, and must be tied to a
Company ID.
Mesh models have several parameters that can be configured either through
initialization of the mesh stack or with the
:ref:`bluetooth_mesh_models_cfg_srv`:
Opcode list
===========
The opcode list contains all message opcodes the model can receive, as well as
the minimum acceptable payload length and the callback to pass them to. Models
can support any number of opcodes, but each opcode can only be listed by one
model in each element.
The full opcode list must be passed to the model structure in the composition
data, and cannot be changed at runtime. The end of the opcode list is
determined by the special :c:macro:`BT_MESH_MODEL_OP_END` entry. This entry
must always be present in the opcode list, unless the list is empty. In that
case, :c:macro:`BT_MESH_MODEL_NO_OPS` should be used in place of a proper
opcode list definition.
AppKey list
===========
The AppKey list contains all the application keys the model can receive
messages on. Only messages encrypted with application keys in the AppKey list
will be passed to the model.
The maximum number of supported application keys each model can hold is
configured with the :kconfig:option:`CONFIG_BT_MESH_MODEL_KEY_COUNT` configuration
option. The contents of the AppKey list is managed by the
:ref:`bluetooth_mesh_models_cfg_srv`.
Subscription list
=================
A model will process all messages addressed to the unicast address of their
element (given that the utilized application key is present in the AppKey
list). Additionally, the model will process packets addressed to any group or
virtual address in its subscription list. This allows nodes to address
multiple nodes throughout the mesh network with a single message.
The maximum number of supported addresses in the Subscription list each model
can hold is configured with the :kconfig:option:`CONFIG_BT_MESH_MODEL_GROUP_COUNT`
configuration option. The contents of the subscription list is managed by the
:ref:`bluetooth_mesh_models_cfg_srv`.
Model publication
=================
The models may send messages in two ways:
* By specifying a set of message parameters in a :c:struct:`bt_mesh_msg_ctx`,
and calling :c:func:`bt_mesh_model_send`.
* By setting up a :c:struct:`bt_mesh_model_pub` structure and calling
:c:func:`bt_mesh_model_publish`.
When publishing messages with :c:func:`bt_mesh_model_publish`, the model
will use the publication parameters configured by the
:ref:`bluetooth_mesh_models_cfg_srv`. This is the recommended way to send
unprompted model messages, as it passes the responsibility of selecting
message parameters to the network administrator, which likely knows more about
the mesh network than the individual nodes will.
To support publishing with the publication parameters, the model must allocate
a packet buffer for publishing, and pass it to
:c:member:`bt_mesh_model_pub.msg`. The Config Server may also set up period
publication for the publication message. To support this, the model must
populate the :c:member:`bt_mesh_model_pub.update` callback. The
:c:member:`bt_mesh_model_pub.update` callback will be called right before the
message is published, allowing the model to change the payload to reflect its
current state.
By setting :c:member:`bt_mesh_model_pub.retr_update` to 1, the model can
configure the :c:member:`bt_mesh_model_pub.update` callback to be triggered
on every retransmission. This can, for example, be used by models that make
use of a Delay parameter, which can be adjusted for every retransmission.
The :c:func:`bt_mesh_model_pub_is_retransmission` function can be
used to differentiate a first publication and a retransmission.
The :c:macro:`BT_MESH_PUB_MSG_TOTAL` and :c:macro:`BT_MESH_PUB_MSG_NUM` macros
can be used to return total number of transmissions and the retransmission
number within one publication interval.
Extended models
===============
The Bluetooth Mesh specification allows the mesh models to extend each other.
When a model extends another, it inherits that model's functionality, and
extension can be used to construct complex models out of simple ones,
leveraging the existing model functionality to avoid defining new opcodes.
Models may extend any number of models, from any element. When one model
extends another in the same element, the two models will share subscription
lists. The mesh stack implements this by merging the subscription lists of the
two models into one, combining the number of subscriptions the models can have
in total. Models may extend models that extend others, creating an "extension
tree". All models in an extension tree share a single subscription list per
element it spans.
Model extensions are done by calling :c:func:`bt_mesh_model_extend` during
initialization. A model can only be extended by one other model, and
extensions cannot be circular. Note that binding of node states and other
relationships between the models must be defined by the model implementations.
The model extension concept adds some overhead in the access layer packet
processing, and must be explicitly enabled with
:kconfig:option:`CONFIG_BT_MESH_MODEL_EXTENSIONS` to have any effect.
Model data storage
==================
Mesh models may have data associated with each model instance that needs to be
stored persistently. The access API provides a mechanism for storing this
data, leveraging the internal model instance encoding scheme. Models can store
one user defined data entry per instance by calling
:c:func:`bt_mesh_model_data_store`. To be able to read out the data the
next time the device reboots, the model's
:c:member:`bt_mesh_model_cb.settings_set` callback must be populated. This
callback gets called when model specific data is found in the persistent
storage. The model can retrieve the data by calling the ``read_cb`` passed as
a parameter to the callback. See the :ref:`settings_api` module documentation for
details.
When model data changes frequently, storing it on every change may lead to
increased wear of flash. To reduce the wear, the model can postpone storing of
data by calling :c:func:`bt_mesh_model_data_store_schedule`. The stack will
schedule a work item with delay defined by the
:kconfig:option:`CONFIG_BT_MESH_STORE_TIMEOUT` option. When the work item is
running, the stack will call the :c:member:`bt_mesh_model_cb.pending_store`
callback for every model that has requested storing of data. The model can
then call :c:func:`bt_mesh_model_data_store` to store the data.
If :kconfig:option:`CONFIG_BT_MESH_SETTINGS_WORKQ` is enabled, the
:c:member:`bt_mesh_model_cb.pending_store` callback is called from a dedicated
thread. This allows the stack to process other incoming and outgoing messages
while model data is being stored. It is recommended to use this option and the
:c:func:`bt_mesh_model_data_store_schedule` function when large amount of data
needs to be stored.
Composition Data
================
The Composition Data provides information about a mesh device.
A device's Composition Data holds information about the elements on the
device, the models that it supports, and other features. The Composition
Data is split into different pages, where each page contains specific feature
information about the device. In order to access this information, the user
may use the :ref:`bluetooth_mesh_models_cfg_srv` model or, if supported,
the :ref:`bluetooth_mesh_lcd_srv` model.
Composition Data Page 0
-----------------------
Composition Data Page 0 provides the fundamental information about a device, and
is mandatory for all mesh devices. It contains the element and model composition,
the supported features, and manufacturer information.
Composition Data Page 1
-----------------------
Composition Data Page 1 provides information about the relationships between models,
and is mandatory for all mesh devices. A model may extend and/or correspond to one
or more models. A model can extend another model by calling :c:func:`bt_mesh_model_extend`,
or correspond to another model by calling :c:func:`bt_mesh_model_correspond`.
:kconfig:option:`CONFIG_BT_MESH_MODEL_EXTENSION_LIST_SIZE` specifies how many model
relations can be stored in the composition on a device, and this number should reflect the
number of :c:func:`bt_mesh_model_extend` and :c:func:`bt_mesh_model_correspond` calls.
Composition Data Page 2
-----------------------
Composition Data Page 2 provides information for supported mesh profiles. Mesh profile
specifications define product requirements for devices that want to support a specific
Bluetooth SIG defined profile. Currently supported profiles can be found in section
3.12 in `Bluetooth SIG Assigned Numbers
<path_to_url`_.
Composition Data Page 2 is only mandatory for devices that claim support for one or more
mesh profile(s).
Composition Data Pages 128, 129 and 130
---------------------------------------
Composition Data Pages 128, 129 and 130 mirror Composition Data Pages 0, 1 and 2 respectively.
They are used to represent the new content of the mirrored pages when the Composition Data will
change after a firmware update. See :ref:`bluetooth_mesh_dfu_srv_comp_data_and_models_metadata`
for details.
Delayable messages
==================
The delayable message functionality is enabled with Kconfig option
:kconfig:option:`CONFIG_BT_MESH_ACCESS_DELAYABLE_MSG`.
This is an optional functionality that implements specification recommendations for
messages that are transmitted by a model in a response to a received message, also called
response messages.
Response messages should be sent with the following random delays:
* Between 20 and 50 milliseconds if the received message was sent
to a unicast address
* Between 20 and 500 milliseconds if the received message was sent
to a group or virtual address
The delayable message functionality is triggered if the :c:member:`bt_mesh_msg_ctx.rnd_delay`
flag is set.
The delayable message functionality stores messages in the local memory while they are
waiting for the random delay expiration.
If the transport layer doesn't have sufficient memory to send a message at the moment
the random delay expires, the message is postponed for another 10 milliseconds.
If the transport layer cannot send a message for any other reason, the delayable message
functionality raises the :c:member:`bt_mesh_send_cb.start` callback with a transport layer
error code.
If the delayable message functionality cannot find enough free memory to store an incoming
message, it will send messages with delay close to expiration to free memory.
When the mesh stack is suspended or reset, messages not yet sent are removed and
the :c:member:`bt_mesh_send_cb.start` callback is raised with an error code.
.. note::
When a model sends several messages in a row, it may happen that the messages are not sent in
the order they were passed to the access layer. This is because some messages can be delayed
for a longer time than the others.
Disable the randomization by setting the :c:member:`bt_mesh_msg_ctx.rnd_delay` to ``false``,
when a set of messages originated by the same model needs to be sent in a certain order.
Delayable publications
======================
The delayable publication functionality implements the specification recommendations for message
publication delays in the following cases:
* Between 20 to 500 milliseconds when the Bluetooth Mesh stack starts or when the publication is
triggered by the :c:func:`bt_mesh_model_publish` function
* Between 20 to 50 milliseconds for periodically published messages
This feature is optional and enabled with the :kconfig:option:`CONFIG_BT_MESH_DELAYABLE_PUBLICATION`
Kconfig option. When enabled, each model can enable or disable the delayable publication by setting
the :c:member:`bt_mesh_model_pub.delayable` bit field to ``1`` or ``0`` correspondingly. This bit
field can be changed at any time.
API reference
*************
.. doxygengroup:: bt_mesh_access
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/mesh/access.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,805 |
```xml
<mxfile host="app.diagrams.net" modified="2020-05-29T14:09:52.315Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" etag="l8dRUjEUGN8CH7xVsUCB" version="13.1.3" type="device"><diagram id="an1P-291YU46igf0sxVC" name="Page-1">7Zzfb6M4EMf/mkh7DycBtkl5bNN276Q97epSafftRMENaB2MgDTp/vVngkmIJzQEMMk2kfoQBv+AmU+/Hg8kIzSZrz4nbhz8w33KRpbhr0bofmRZJrasUf5n+G+F5cbAhWGWhL5stDVMw1+0MBJpXIQ+your_sha256_hashhashK/R9+x/QeHfo9//GJ/your_sha256_hashaf62td0tgzCj09j18q5LwYmwBdmciSNTfBSxy1zRJdkcM+bGafi8ntUQloR6iyQNX+m/your_sha256_hashUAk+MSW0roRuthl6GxfxQYbmiDARECYQmYo/Yx5G2foSyN2I3CsB4kkW8BmPXFYNEXTbu7w09iUmO640CdnjS+hKVP6D9e5Kq474KU3EbV0m8db43Ii3z4V461hfqsTb+your_sha256_hashStv45iFnpuFPLpM4IlzdsDDLP5EwONjnakAP27Gu60LdxNK/G/qSdNpKB26XEnGH8WVuCGVSJcroSefEjdKX/LdinCnm2Sf/r7/4z3v5vcuRJvdsnAWCdszzzI+FyfWvWyour_sha512_hash+i0HrLLHt3eDDLLGlC8Sj8pe2wAKz7hvlWaS29p5NsuDMs+Wh2LELR2be+wgYwYgRqyRr4KSkTXZ5KvtiKnQ8cy49/O9YBc+bLByHaTCaUhF5V+0dHxHUGxnfwAPgQIGGo8PDFQ4oTNxSLngMonUSxwsq0wXnkfTtCtkuQQJi++your_sha256_hashKEz6ZmiHck5qByGtSM2yeYv2E1cdpnu5oR+your_sha256_hashyour_sha256_hasheyhNCjPPWlQaThothUq/pfE01lrwUeWzdGT0lzkFqX0yRfyBoCPbg57BW9y8jcrQOENE6/jGFQw/gUqMG94SRYRD+your_sha256_hashWPB6GFoxOQQtMvS9YUEhfgqIOpCu9IUMgAl+wugpKF1qAoGiiBQjKELQguA+your_sha256_hashIFynOAKQQuPOZMJ4OjMfHKMbsYkLalpxtdGAgTbwRNEAxhuzZO0lF8n9T5sq3Gk/BnIKKbSnvEzfWOPPAQDXM9YYF3C+d+your_sha256_hashuOettFgIE2F/nIevYjAjdF1G92FFiAommhR63LD0AK/+nPBgmL3JSjqQLqyEXsIROC3Ia+C0oUWICiaaAGCMggt11cRKh6/6UtQ1IF0CcrNEIhcX0XYLyhtaQGCookWsOUZhBb4avnFF/qJ0RMpYCBdhVejEynicPuLYUXz7c+uoYf/AQ==</diagram></mxfile>
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/mesh/images/blob_srv.xml | xml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 965 |
```restructuredtext
.. _bluetooth_volume:
Bluetooth Audio Volume Control
##############################
API Reference
*************
.. doxygengroup:: bt_gatt_vcp
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/audio/volume.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 33 |
```restructuredtext
Bluetooth: Isochronous Channels
################################
Commands
********
.. code-block:: console
iso --help
iso - Bluetooth ISO shell commands
Subcommands:
cig_create :[dir=tx,rx,txrx] [interval] [packing] [framing] [latency] [sdu]
[phy] [rtn]
cig_term :Terminate the CIG
connect :Connect ISO Channel
listen :<dir=tx,rx,txrx> [security level]
send :Send to ISO Channel [count]
disconnect :Disconnect ISO Channel
create-big :Create a BIG as a broadcaster [enc <broadcast code>]
broadcast :Broadcast on ISO channels
sync-big :Synchronize to a BIG as a receiver <BIS bitfield> [mse] [timeout]
[enc <broadcast code>]
term-big :Terminate a BIG
1. [Central] Create CIG:
Requires to be connected:
.. code-block:: console
uart:~$ iso cig_create
CIG created
2. [Peripheral] Listen to ISO connections
.. code-block:: console
uart:~$ iso listen txrx
3. [Central] Connect ISO channel:
.. code-block:: console
uart:~$ iso connect
ISO Connect pending...
ISO Channel 0x20000f88 connected
4. Send data:
.. code-block:: console
uart:~$ iso send
send: 40 bytes of data
ISO sending...
5. Disconnect ISO channel:
.. code-block:: console
uart:~$ iso disconnect
ISO Disconnect pending...
ISO Channel 0x20000f88 disconnected with reason 0x16
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/shell/iso.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 377 |
```restructuredtext
.. _bluetooth_media:
Bluetooth Media
###############
API Reference
*************
Media Control Service
=====================
.. doxygengroup:: bt_mcs
Media Proxy
===========
.. doxygengroup:: bt_media_proxy
Media Control Client
====================
.. doxygengroup:: bt_gatt_mcc
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/audio/media.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 72 |
```restructuredtext
.. _bluetooth_coordinated_sets:
Bluetooth Coordinated Sets
##########################
API Reference
*************
.. doxygengroup:: bt_gatt_csip
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/audio/coordinated_sets.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 35 |
```restructuredtext
.. _bluetooth_microphone:
Bluetooth Microphone Control
############################
API Reference
*************
.. doxygengroup:: bt_gatt_micp
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/audio/microphone.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 34 |
```restructuredtext
.. _bluetooth_cap:
Common Audio Profile
####################
API Reference
*************
.. doxygengroup:: bt_cap
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/audio/cap.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 29 |
```restructuredtext
.. _bluetooth_audio:
Bluetooth Audio
###############
API Reference
*************
.. doxygengroup:: bt_audio
.. doxygengroup:: bt_audio_codec_cfg
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/audio/audio.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```restructuredtext
.. _bluetooth_bap:
Basic Audio Profile
###################
API Reference
*************
.. doxygengroup:: bt_bap
.. doxygengroup:: bt_bap_unicast_client
.. doxygengroup:: bt_bap_unicast_server
.. doxygengroup:: bt_bap_broadcast
.. doxygengroup:: bt_bap_broadcast_sink
.. doxygengroup:: bt_bap_broadcast_source
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/audio/bap.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 98 |
```restructuredtext
Bluetooth: Broadcast Audio Profile Broadcast Assistant
######################################################
This document describes how to run the BAP Broadcast Assistant functionality.
Note that in the examples below, some lines of debug have been
removed to make this shorter and provide a better overview.
The Broadcast Assistant is responsible for offloading scan for a resource
restricted device, such that scanning does not drain the battery. The Broadcast
Assistant shall support scanning for periodic advertisements and may optionally
support the periodic advertisements synchronization transfer (PAST) protocol.
The Broadcast Assistant will typically be phones or laptops.
The Broadcast Assistant scans for periodic advertisements and transfer
information to the server.
It is necessary to have
:kconfig:option:`CONFIG_BT_BAP_BROADCAST_ASSISTANT_LOG_LEVEL_DBG` enabled for
using the Broadcast Assistant interactively.
When the Bluetooth stack has been initialized (:code:`bt init`),
and a device has been connected, the Broadcast Assistant can discover BASS on
the connected device calling :code:`bap_broadcast_assistant discover`, which
will start a discovery for the BASS UUIDs and store the handles, and
subscribe to all notifications.
.. code-block:: console
uart:~$ bap_broadcast_assistant --help
bap_broadcast_assistant - Bluetooth BAP broadcast assistant client shell
commands
Subcommands:
discover : Discover BASS on the server
scan_start : Start scanning for broadcasters
scan_stop : Stop scanning for BISs
add_src : Add a source <address: XX:XX:XX:XX:XX:XX> <type:
public/random> <adv_sid> <sync_pa> <broadcast_id>
[<pa_interval>] [<sync_bis>] [<metadata>]
add_broadcast_id : Add a source by broadcast ID <broadcast_id> <sync_pa>
[<sync_bis>] [<metadata>]
add_pa_sync : Add a PA sync as a source <sync_pa> <broadcast_id>
[bis_index [bis_index [bix_index [...]]]]>
mod_src : Set sync <src_id> <sync_pa> [<pa_interval> | "unknown"] [<sync_bis>]
[<metadata>]
broadcast_code : Send a string-based broadcast code of up to 16 bytes
<src_id> <broadcast code>
rem_src : Remove a source <src_id>
read_state : Remove a source <index>
Example usage
*************
Setup
=====
.. code-block:: console
uart:~$ bt init
uart:~$ bap init
uart:~$ bt connect xx:xx:xx:xx:xx:xx public
When connected
==============
Start scanning for periodic advertisements for a server:
--------------------------------------------------------
.. note::
The Broadcast Assistant will not actually start scanning for periodic
advertisements, as that feature is still, at the time of writing, not
implemented.
.. code-block:: console
uart:~$ bap_broadcast_assistant discover
BASS discover done with 1 recv states
uart:~$ bap_broadcast_assistant scan_start true
BASS scan start successful
Found broadcaster with ID 0x05BD38 and addr 1E:4D:0A:AA:6E:49 (random) and sid 0x00
Adding a source to the receive state with add_src:
--------------------------------------------------
.. code-block:: console
uart:~$ bap_broadcast_assistant add_src 11:22:33:44:55:66 public 5 1 1
BASS recv state: src_id 0, addr 11:22:33:44:55:66 (public), sid 5, sync_state 1, encrypt_state 000000000000000000000000000000000
[0]: BIS sync 0, metadata_len 0
Adding a source to the receive state with add_broadcast_id (recommended):
your_sha256_hash---------
.. code-block:: console
uart:~$ bap_broadcast_assistant add_broadcast_id 0x05BD38 true
[DEVICE]: 1E:4D:0A:AA:6E:49 (random), AD evt type 5, RSSI -28 Broadcast Audio Source C:0 S:0 D:0 SR:0 E:1 Prim: LE 1M, Secn: LE 2M, Interval: 0x03c0 (1200000 us), SID: 0x0
Found BAP broadcast source with address 1E:4D:0A:AA:6E:49 (random) and ID 0x05BD38
BASS recv state: src_id 0, addr 1E:4D:0A:AA:6E:49 (random), sid 0, sync_state 0, encrypt_state 0
[0]: BIS sync 0x0000, metadata_len 0
BASS add source successful
BASS recv state: src_id 0, addr 1E:4D:0A:AA:6E:49 (random), sid 0, sync_state 2, encrypt_state 0
[0]: BIS sync 0x0000, metadata_len 0
BASS recv state: src_id 0, addr 1E:4D:0A:AA:6E:49 (random), sid 0, sync_state 2, encrypt_state 0
[0]: BIS sync 0x0000, metadata_len 4
Metadata length 2, type 2, data: 0100
Modifying a receive state:
--------------------------
.. code-block:: console
uart:~$ bap_broadcast_assistant mod_src 0 true 0x03c0 0x02
BASS modify source successful
BASS recv state: src_id 0, addr 1E:4D:0A:AA:6E:49 (random), sid 0, sync_state 2, encrypt_state 0
[0]: BIS sync 0x0001, metadata_len 4
Metadata length 2, type 2, data: 0100
Supplying a broadcast code:
---------------------------
.. code-block:: console
uart:~$ bap_broadcast_assistant broadcast_code 0 secretCode
Sending broadcast code:
00000000: 73 65 63 72 65 74 43 6f 64 65 00 00 00 00 00 00 |secretCo de....|
uart:~$ BASS broadcast code successful
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/audio/shell/bap_broadcast_assistant.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,415 |
```restructuredtext
Bluetooth: Gaming Audio Profile Shell
#####################################
This document describes how to run the Gaming Audio Profile shell functionality.
Unlike most other low-layer profiles, GMAP is a profile that exists and has a service (GMAS) on all
devices. Thus both the initiator and acceptor (or central and peripheral) should do a discovery of
the remote device's GMAS to see what GMAP roles and features they support.
Using the GMAP Shell
********************
When the Bluetooth stack has been initialized (:code:`bt init`), the GMAS can be registered by
by calling :code:`gmap init`. It is also strongly suggested to enable BAP via :code:`bap init`.
.. code-block:: console
uart:~$ gmap --help
gmap - Bluetooth GMAP shell commands
Subcommands:
init : [none]
set_role : [ugt | ugg | bgr | bgs]
discover : [none]
ac_1 : Unicast audio configuration 1
ac_2 : Unicast audio configuration 2
ac_3 : Unicast audio configuration 3
ac_4 : Unicast audio configuration 4
ac_5 : Unicast audio configuration 5
ac_6_i : Unicast audio configuration 6(i)
ac_6_ii : Unicast audio configuration 6(ii)
ac_7_ii : Unicast audio configuration 7(ii)
ac_8_i : Unicast audio configuration 8(i)
ac_8_ii : Unicast audio configuration 8(ii)
ac_11_i : Unicast audio configuration 11(i)
ac_11_ii : Unicast audio configuration 11(ii)
ac_12 : Broadcast audio configuration 12
ac_13 : Broadcast audio configuration 13
ac_14 : Broadcast audio configuration 14
The :code:`set_role` command can be used to change the role at runtime, assuming that the device
supports the role (the GMAP roles depend on some BAP configurations).
Example Central with GMAP UGT role
**********************************
Connect and establish Gaming Audio streams using Audio Configuration (AC) 3
(some logging has been omitted for clarity):
.. code-block:: console
uart:~$ bt init
uart:~$ bap init
uart:~$ gmap init
uart:~$ bt connect <address>
uart:~$ gatt exchange-mtu
uart:~$ bap discover
Discover complete: err 0
uart:~$ cap_initiator discover
discovery completed with CSIS
uart:~$ gmap discover
gmap discovered for conn 0x2001c7d8:
role 0x0f
ugg_feat 0x07
ugt_feat 0x6f
bgs_feat 0x01
bgr_feat 0x03
uart:~$ bap preset sink 32_2_gr
uart:~$ bap preset source 32_2_gs
uart:~$ gmap ac_3
Starting 2 streams for AC_3
stream 0x20020060 config operation rsp_code 0 reason 0
stream 0x200204d0 config operation rsp_code 0 reason 0
stream 0x200204d0 qos operation rsp_code 0 reason 0
stream 0x20020060 qos operation rsp_code 0 reason 0
Stream 0x20020060 enabled
stream 0x200204d0 enable operation rsp_code 0 reason 0
Stream 0x200204d0 enabled
stream 0x20020060 enable operation rsp_code 0 reason 0
Stream 0x20020060 started
stream 0x200204d0 start operation rsp_code 0 reason 0
Stream 0x200204d0 started
Unicast start completed
uart:~$ bap start_sine
Started transmitting on default_stream 0x20020060
[0]: stream 0x20020060 : TX LC3: 80 (seq_num 24800)
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/audio/shell/gmap.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 923 |
```restructuredtext
Media control for Generic Audio Content Control
###############################################
This document describes how to run the media control functionality,
using the shell, both as a client and as a server.
The media control server consists of to parts. There is a media
player (mpl) that contains the logic to handle media, and there is a
media control service (mcs) that serves as a GATT-based interface to
the player. The media control client consists of one part, the GATT
based client (mcc).
The media control server may include an object transfer service (ots)
and the media control client may include an object transfer client
(otc). When these are included, a richer set of functionality is
available.
The media control server and client both implement the Generic Media
Control Service (only), and do not use any underlying Media Control
Services.
Note that in the examples below, in many cases the debug output has
been removed and long outputs may have been shortened to make the
examples shorter and clearer.
Also note that this documentation does not list all shell commands, it
just shows examples of some of them. The set of commands is
explorable from the mcc shell and the mpl shell, by typing :code:`mcc`
or :code:`mpl` and pressing TAB. A help text for each command can be
found by doing :samp:`mcc {<command>} help` or :samp:`mpl {<command>} help`.
Overview
********
A media player has a *name* and an *icon* that allows identification
of the player for the user.
The content of the media player is structured into tracks and groups.
A media player has a number of groups. A group contains tracks and
other groups. (In this implementation, a group only contains tracks,
not other groups.) Tracks can be divided into segments.
An active player will have a *current track*. This is the track that
is playing now (if the player is playing). The current track has a
*title*, a *duration* (given in hundredths of a second) and a
*position* - the current position of the player within the track.
There is also a *current group* (the group of the current track), a
*parent group* (the parent group of the current group) and a *next
track*.
The media player is in a *state*, which will be one of playing,
paused, seeking or inactive. When playing, playback happens at a
given *playback speed*, and the tracks are played according to the
*playing order*, which is one of the *playing orders supported*.
Track changes are signalled as notifications of the *track changed*
characteristic. When seeking (fast forward or fast rewind), the track
position is moved according to the *seeking speed*.
The *opcodes supported* tells which operations are supported by the
player by writing to the *media control point*. There is also a
*search control point* that allows to search for groups and tracks
according to various criteria, with the result returned in the *search
results*.
Finally, the *content control ID* is used to associate the media
player with an audio stream.
Media Control Client (MCP)
**************************
The media control client is used to control, and to get information
from, a media control server. Control is done by writing to one of
the two control points, or by writing to other writable
characteristics. Getting information is done by reading
characteristics, or by configuring the server to send notifications.
Using the media control client
==============================
Before use, the media control client must be initialized by the
command :code:`mcc init`.
To achieve a connection to the peer, the :code:`bt` commands must be
used - :code:`bt init` followed by :code:`bt advertise on` (or
:code:`bt connect` if the server is advertising).
When the media control client is connected to a media control server,
the client can discover the server's Generic Media Control Service, by
giving the command :code:`mcc discover_mcs`. This will store the
handles of the service, and (optionally, but default) subscribe to all
notifications.
After discovery, the media control client can read and write
characteristics, including the media control point and the search
control point.
Example usage
=============
Setup
-----
.. code-block:: console
uart:~$ bt init
Bluetooth initialized
uart:~$ mcc init
MCC init complete
uart:~$ bt advertise on
Advertising started
Connected: F6:58:DC:27:F3:57 (random)
When connected
--------------
Service discovery (GMCS and included OTS):
.. code-block:: console
uart:~$ mcc discover_mcs
<dbg> bt_mcc.bt_mcc_discover_mcs: start discovery of MCS primary service
<dbg> bt_mcc.discover_primary_func: [ATTRIBUTE] handle 0x00ae
<dbg> bt_mcc.discover_primary_func: Primary discovery complete
<dbg> bt_mcc.discover_primary_func: UUID: 2800
<dbg> bt_mcc.discover_primary_func: UUID: 8fd7
<dbg> bt_mcc.discover_primary_func: Start discovery of MCS characteristics
<dbg> bt_mcc.discover_mcs_char_func: [ATTRIBUTE] handle 0x00b0
<dbg> bt_mcc.discover_mcs_char_func: Player name, UUID: 8fa0
<dbg> bt_mcc.discover_mcs_char_func: [ATTRIBUTE] handle 0x00b2
<dbg> bt_mcc.discover_mcs_char_func: Icon Object, UUID: 8fa1
<dbg> bt_mcc.discover_mcs_char_func: [ATTRIBUTE] handle 0x00b4
<dbg> bt_mcc.discover_mcs_char_func: Icon URI, UUID: 8fa2
<dbg> bt_mcc.discover_mcs_char_func: [ATTRIBUTE] handle 0x00b6
<dbg> bt_mcc.discover_mcs_char_func: Track Changed, UUID: 8fa3
<dbg> bt_mcc.discover_mcs_char_func: Subscribing - handle: 0x00b6
[...]
<dbg> bt_mcc.discover_mcs_char_func: [ATTRIBUTE] handle 0x00ea
<dbg> bt_mcc.discover_mcs_char_func: Content Control ID, UUID: 8fb5
<dbg> bt_mcc.discover_mcs_char_func: Setup complete for MCS
<dbg> bt_mcc.discover_mcs_char_func: Start discovery of included services
<dbg> bt_mcc.discover_include_func: [ATTRIBUTE] handle 0x00af
<dbg> bt_mcc.discover_include_func: Include UUID 1825
<dbg> bt_mcc.discover_include_func: Discover include complete for MCS: OTS
<dbg> bt_mcc.discover_include_func: Start discovery of OTS characteristics
<dbg> bt_mcc.discover_otc_char_func: [ATTRIBUTE] handle 0x009c
<dbg> bt_mcc.discover_otc_char_func: OTS Features
[...]
<dbg> bt_mcc.discover_otc_char_func: [ATTRIBUTE] handle 0x00ac
<dbg> bt_mcc.discover_otc_char_func: Object Size
Discovery complete
<dbg> bt_otc.bt_otc_register: 0
<dbg> bt_otc.bt_otc_register: L2CAP psm 0x 25 sec_level 1 registered
<dbg> bt_mcc.discover_otc_char_func: Setup complete for OTS 1 / 1
uart:~$
Reading characteristics - the player name and the track duration as
examples:
.. code-block:: console
uart:~$ mcc read_player_name
Player name: My media player
4d 79 20 6d 65 64 69 61 20 70 6c 61 79 65 72 |My media player
uart:~$ mcc read_track_duration
Track duration: 6300
Note that the value of some characteristics may be truncated due to
being too long to fit in the ATT packet. Increasing the ATT MTU may
help:
.. code-block:: console
uart:~$ mcc read_track_title
Track title: Interlude #1 (Song for
uart:~$ gatt exchange-mtu
Exchange pending
Exchange successful
uart:~$ mcc read_track_title
Track title: Interlude #1 (Song for Alison)
Writing characteristics - track position as an example:
The track position is where the player "is" in the current track.
Read the track position, change it by writing to it, confirm by
reading it again.
.. code-block:: console
uart:~$ mcc read_track_position
Track Position: 0
uart:~$ mcc set_track_position 500
Track Position: 500
uart:~$ mcc read_track_position
Track Position: 500
Controlling the player via the control point:
Writing to the control point allows the client to request the server
to do operations like play, pause, fast forward, change track, change
group and so on. Some operations (e.g. goto track) take an argument.
Currently, raw opcode values are used as input to the control point
shell command. These opcode values can be found in the mpl.h header
file.
Send the play command (opcode "1"), the command to go to track (opcode
"52") number three, and the pause command (opcode "2"):
.. code-block:: console
uart:~$ mcc set_cp 1
Media State: 1
Operation: 1, result: 1
Operation: 1, param: 0
uart:~$ mcc set_cp 52 3
Track changed
Track title: Interlude #3 (Levanto Seventy)
Track duration: 7800
Track Position: 0
Current Track Object ID: 0x000000000104
Next Track Object ID: 0x000000000105
Operation: 52, result: 1
Operation: 52, param: 3
uart:~$ mcc set_cp 2
Media State: 2
Operation: 2, result: 1
Operation: 2, param: 0
Using the included object transfer client
-----------------------------------------
When object transfer is supported by both the client and the server, a
larger set of characteristics is available. These include object IDs
for the various track and group objects. These IDs can be used to
select and download the corresponding objects from the server's object
transfer service.
Read the object ID of the current group object:
.. code-block:: console
uart:~$ mcc read_current_group_obj_id
Current Group Object ID: 0x000000000107
Select the object with that ID:
.. code-block:: console
uart:~$ mcc ots_select 0x107
Selecting object succeeded
Read the object's metadata:
.. code-block:: console
uart:~$ mcc ots_read_metadata
Reading object metadata succeeded
<inf> bt_mcc: Object's meta data:
<inf> bt_mcc: Current size :35
<inf> bt_otc: --- Displaying 1 metadata records ---
<inf> bt_otc: Object ID: 0x000000000107
<inf> bt_otc: Object name: Joe Pass - Guitar Inte
<inf> bt_otc: Object Current Size: 35
<inf> bt_otc: Object Allocate Size: 35
<inf> bt_otc: Type: Group Obj Type
<inf> bt_otc: Properties:0x4
<inf> bt_otc: - read permitted
Read the object itself:
The object received is a group object. It consists of a series of
records consisting of a type (track or group) and an object ID.
.. code-block:: console
uart:~$ mcc ots_read_current_group_object
<dbg> bt_mcc.on_group_content: Object type: 0, object ID: 0x000000000102
<dbg> bt_mcc.on_group_content: Object type: 0, object ID: 0x000000000103
<dbg> bt_mcc.on_group_content: Object type: 0, object ID: 0x000000000104
<dbg> bt_mcc.on_group_content: Object type: 0, object ID: 0x000000000105
<dbg> bt_mcc.on_group_content: Object type: 0, object ID: 0x000000000106
Search
------
The search control point takes as its input a sequence of search
control items, each consisting of length, type (e.g. track name or
artist name) and parameter (the track name or artist name to search
for). If the result is successful, the search results are stored in
an object in the object transfer service. The ID of the search
results ID object can be read from the search results object ID
characteristic. The search result object can then be downloaded as
for the current group object above. (Note that the search results
object ID is empty until a search has been done.)
This implementation has a working implementation of the search
functionality interface and the server-side search control point
parameter parsing. But the **actual searching is faked**, the same
results are returned no matter what is searched for.
There are two commands for search, one (:code:`mcc set_scp_raw`)
allows to input the search control point parameter (the sequence of
search control items) as a string. The other (:code:`mcc
set_scp_ioptest`) does preset IOP test searches and takes the round
number of the IOP search control point test as a parameter.
Before the search, the search results object ID is empty
.. code-block:: console
uart:~$ mcc read_search_results_obj_id
Search Results Object ID: 0x000000000000
<dbg> bt_mcc.mcc_read_search_results_obj_id_cb: Zero-length Search Results Object ID
Run the search corresponding to the fourth round of the IOP test:
The search control point parameter generated by this command and
parameter has one search control item. The length field (first octet)
is 16 (0x10). (The length of the length field itself is not
included.) The type field (second octet) is 0x04 (search for a group
name). The parameter (the group name to search for) is
"TSPX_Group_Name".
.. code-block:: console
uart:~$ mcc set_scp_ioptest 4
Search string:
00000000: 10 04 54 53 50 58 5f 47 72 6f 75 70 5f 4e 61 6d |..TSPX_G roup_Nam|
00000010: 65 |e |
Search control point notification result code: 1
Search Results Object ID: 0x000000000107
Search Control Point set
After the successful search, the search results object ID has a value:
.. code-block:: console
uart:~$ mcc read_search_results_obj_id
Search Results Object ID: 0x000000000107
Media Control Service (MCS)
***************************
The media control service (mcs) and the associated media player (mpl)
typically reside on devices that can provide access to, and serve,
media content, like PCs and smartphones.
As mentioned above, the media player (mpl) has the player logic, while
the media control service (mcs) has the GATT-based interface. This
separation is done so that the media player can also be used without
the GATT-based interface.
Using the media control service and the media player
====================================================
The media control service and the media player are in general
controlled remotely, from the media control client.
Before use, the media control client must be initialized by the
command :code:`mpl init`.
As for the client, the :code:`bt` commands are used for connecting -
:code:`bt init` followed by :code:`bt connect <address> <address
type>` (or :code:`bt advertise on` if the server is advertising).
Example Usage
=============
Setup
-----
.. code-block:: console
uart:~$ bt init
Bluetooth initialized
uart:~$ mpl init
[Large amounts of debug output]
uart:~$ bt connect F9:33:3B:67:D2:A7 (random)
Connection pending
Connected: F9:33:3B:67:D2:A7 (random)
When connected
--------------
Control is done from the client.
The server will give debug output related to the various operations
performed by the client.
Example: Debug output by the server when the client gives the "next
track" command:
.. code-block:: console
[00:13:29.932,373] <dbg> bt_mcs.control_point_write: Opcode: 49
[00:13:29.932,403] <dbg> bt_mpl.mpl_operation_set: opcode: 49, param: 536880068
[00:13:29.932,403] <dbg> bt_mpl.paused_state_operation_handler: Operation opcode: 49
[00:13:29.932,495] <dbg> bt_mpl.do_next_track: Track ID before: 0x000000000104
[00:13:29.932,586] <dbg> bt_mpl.do_next_track: Track ID after: 0x000000000105
[00:13:29.932,617] <dbg> bt_mcs.mpl_track_changed_cb: Notifying track change
[00:13:29.932,708] <dbg> bt_mcs.mpl_track_title_cb: Notifying track title: Interlude #4 (Vesper Dreams)
[00:13:29.932,800] <dbg> bt_mcs.mpl_track_duration_cb: Notifying track duration: 13500
[00:13:29.932,861] <dbg> bt_mcs.mpl_track_position_cb: Notifying track position: 0
[00:13:29.933,044] <dbg> bt_mcs.mpl_current_track_id_cb: Notifying current track ID: 0x000000000105
[00:13:29.933,258] <dbg> bt_mcs.mpl_next_track_id_cb: Notifying next track ID: 0x000000000106
[00:13:29.933,380] <dbg> bt_mcs.mpl_operation_cb: Notifying control point - opcode: 49, result: 1
Some server commands are available. These commands force
notifications of the various characteristics, for testing that the
client receives notifications. The values sent in the notifications
caused by these testing commands are independent of the media player,
so they do not correspond the actual values of the characteristics nor
to the actual state of the media player.
Example: Force (fake value) notification of the track duration:
.. code-block:: console
uart:~$ mpl duration_changed_cb
[00:15:17.491,058] <dbg> bt_mcs.mpl_track_duration_cb: Notifying track duration: 12000
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/audio/shell/mcp.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 4,289 |
```restructuredtext
Bluetooth: Telephone and Media Audio Profile Shell
##################################################
This document describes how to run the Telephone and Media Audio Profile functionality.
Unlike most other low-layer profiles, TMAP is a profile that exists and has a service (TMAS) on all
devices. Thus both the initiator and acceptor (or central and peripheral) should do a discovery of
the remote device's TMAS to see what TMAP roles they support.
Using the TMAP Shell
********************
When the Bluetooth stack has been initialized (:code:`bt init`), the TMAS can be registered by
calling :code:`tmap init`.
.. code-block:: console
tmap --help
tmap - Bluetooth TMAP shell commands
Subcommands:
init :Initialize and register the TMAS
discover :Discover TMAS on remote device
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/audio/shell/tmap.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 173 |
```restructuredtext
Bluetooth: Broadcast Audio Profile Scan Delegator
#################################################
This document describes how to run the Scan Delegator functionality, Note that
in the examples below, some lines of debug have been
removed to make this shorter and provide a better overview.
The Scan Delegator may optionally support the periodic advertisements
synchronization transfer (PAST) protocol.
The Scan Delegator server typically resides on devices that have inputs or
outputs.
It is necessary to have
:kconfig:option:`CONFIG_BT_BAP_SCAN_DELEGATOR_LOG_LEVEL_DBG` enabled for using
the Scan Delegator interactively.
The Scan Delegator can currently only set the sync state of a receive state, but
does not actually support syncing with periodic advertisements yet.
.. code-block:: console
bap_scan_delegator --help
bap_scan_delegator - Bluetooth BAP Scan Delegator shell commands
Subcommands:
init : Initialize the service and register callbacks
set_past_pref : Set PAST preference <true || false>
sync_pa : Sync to PA <src_id>
term_pa : Terminate PA sync <src_id>
add_src : Add a PA as source <addr> <sid> <broadcast_id>
<enc_state> [bis_sync [metadata]]
add_src_by_pa_sync : Add a PA as source <broadcast_id> <enc_state> [bis_sync
[metadata]]
mod_src : Modify source <src_id> <broadcast_id> <enc_state>
[bis_sync [metadata]]
rem_src : Remove source <src_id>
synced : Set server scan state <src_id> <bis_syncs>
Example Usage
*************
Setup
=====
.. code-block:: console
uart:~$ bt init
uart:~$ bap_scan_delegator init
uart:~$ bt advertise on
Advertising started
Adding a source
===============
.. code-block:: console
uart:~$ bap_scan_delegator add_src 11:22:33:44:55:66 public 0 1234 0
Receive state with ID 0 updated
Adding a source from a PA sync
==============================
.. code-block:: console
uart:~$ bt scan on
Found broadcaster with ID 0x681A22 and addr 2C:44:05:82:EB:82 (random) and sid 0x00 (looking for 0x1000000)
uart:~$ bt scan off
uart:~$ bt per-adv-sync-create 2C:44:05:82:EB:82 (random) 0
PA 0x2003e9b0 synced
uart:~$ bap_scan_delegator add_src_by_pa_sync 0x681A22 0
Receive state with ID 0 updated
When connected
==============
Set sync state for a source:
.. code-block:: console
uart:~$ bap_scan_delegator synced 0 1 3 0
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/audio/shell/bap_scan_delegator.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 657 |
```restructuredtext
Bluetooth: Public Broadcast Profile Shell
#########################################
This document describes how to run the Public Broadcast Profile functionality.
PBP does not have an associated service. Its purpose is to enable a faster, more
efficient discovery of Broadcast Sources that are transmitting audio with commonly used codec configurations.
Using the PBP Shell
*******************
When the Bluetooth stack has been initialized (:code:`bt init`), the Public Broadcast Profile is ready to run.
To set the Public Broadcast Announcement features call :code:`pbp set_features`.
.. code-block:: console
pbp --help
pbp - Bluetooth PBP shell commands
Subcommands:
set_features :Set the Public Broadcast Announcement features
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/audio/shell/pbp.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 141 |
```restructuredtext
Bluetooth: Call Control Profile
###############################
This document describes how to run the call control functionality, both as
a client and as a (telephone bearer service (TBS)) server. Note that in the
examples below, some lines of debug have been removed to make this shorter
and provide a better overview.
Telephone Bearer Service Client
*******************************
The telephone bearer service client will typically exist on a resource
restricted device, such as headphones, but may also exist on e.g. phones or
laptops. The call control client will also thus typically be the advertiser.
The client can control the states of calls on a server using the call control
point.
It is necessary to have :kconfig:option:`CONFIG_BT_TBS_CLIENT_LOG_LEVEL_DBG`
enabled for using the client interactively.
Using the telephone bearer service client
=========================================
When the Bluetooth stack has been initialized (:code:`bt init`),
and a device has been connected, the telephone bearer service client can
discover TBS on the connected device calling :code:`tbs_client discover`, which
will start a discovery for the TBS UUIDs and store the handles, and optionally
subscribe to all notifications (default is to subscribe to all).
Since a server may have multiple TBS instances, most of the tbs_client commands
will take an index (starting from 0) as input. Joining calls require at least 2
call IDs, and all call indexes shall be on the same TBS instance.
A server may also have a GTBS instance, which is an abstraction layer for all
the telephone bearers on the server. If the server has both GTBS and TBS,
the client may subscribe and use either when sending requests if
:code:`BT_TBS_CLIENT_GTBS` is enabled.
.. code-block:: console
tbs_client --help
tbs_client - Bluetooth TBS_CLIENT shell commands
Subcommands:
discover :Discover TBS [subscribe]
set_signal_reporting_interval :Set the signal reporting interval
[<{instance_index, gtbs}>] <interval>
originate :Originate a call [<{instance_index, gtbs}>]
<uri>
terminate :terminate a call [<{instance_index, gtbs}>]
<id>
accept :Accept a call [<{instance_index, gtbs}>] <id>
hold :Place a call on hold [<{instance_index,
gtbs}>] <id>
retrieve :Retrieve a held call [<{instance_index,
gtbs}>] <id>
read_provider_name :Read the bearer name [<{instance_index,
gtbs}>]
read_bearer_uci :Read the bearer UCI [<{instance_index, gtbs}>]
read_technology :Read the bearer technology [<{instance_index,
gtbs}>]
read_uri_list :Read the bearer's supported URI list
[<{instance_index, gtbs}>]
read_signal_strength :Read the bearer signal strength
[<{instance_index, gtbs}>]
read_signal_interval :Read the bearer signal strength reporting
interval [<{instance_index, gtbs}>]
read_current_calls :Read the current calls [<{instance_index,
gtbs}>]
read_ccid :Read the CCID [<{instance_index, gtbs}>]
read_status_flags :Read the in feature and status value
[<{instance_index, gtbs}>]
read_uri :Read the incoming call target URI
[<{instance_index, gtbs}>]
read_call_state :Read the call state [<{instance_index, gtbs}>]
read_remote_uri :Read the incoming remote URI
[<{instance_index, gtbs}>]
read_friendly_name :Read the friendly name of an incoming call
[<{instance_index, gtbs}>]
read_optional_opcodes :Read the optional opcodes [<{instance_index,
gtbs}>]
In the following examples, notifications from GTBS is ignored, unless otherwise
specified.
Example usage
=============
Setup
-----
.. code-block:: console
uart:~$ bt init
uart:~$ bt advertise on
Advertising started
When connected
--------------
Placing a call:
.. code-block:: console
uart:~$ tbs_client discover
<dbg> bt_tbs_client.primary_discover_func: Discover complete, found 1 instances (GTBS found)
<dbg> bt_tbs_client.discover_func: Setup complete for 1 / 1 TBS
<dbg> bt_tbs_client.discover_func: Setup complete GTBS
uart:~$ tbs_client originate 0 tel:123
<dbg> bt_tbs_client.notify_handler: Index 0
<dbg> bt_tbs_client.current_calls_notify_handler: Call 0x01 is in the dialing state with URI tel:123
<dbg> bt_tbs_client.call_cp_notify_handler: Status: success for the originate opcode for call 0x00
<dbg> bt_tbs_client.notify_handler: Index 0
<dbg> bt_tbs_client.current_calls_notify_handler: Call 0x01 is in the alerting state with URI tel:123
<call answered by peer device, and status notified by TBS server>
<dbg> bt_tbs_client.notify_handler: Index 0
<dbg> bt_tbs_client.current_calls_notify_handler: Call 0x01 is in the active state with URI tel:123
Placing a call on GTBS:
.. code-block:: console
uart:~$ tbs_client originate 0 tel:123
<dbg> bt_tbs_client.notify_handler: Index 0
<dbg> bt_tbs_client.current_calls_notify_handler: Call 0x01 is in the dialing state with URI tel:123
<dbg> bt_tbs_client.call_cp_notify_handler: Status: success for the originate opcode for call 0x00
<dbg> bt_tbs_client.notify_handler: Index 0
<dbg> bt_tbs_client.current_calls_notify_handler: Call 0x01 is in the alerting state with URI tel:123
<call answered by peer device, and status notified by TBS server>
<dbg> bt_tbs_client.notify_handler: Index 0
<dbg> bt_tbs_client.current_calls_notify_handler: Call 0x01 is in the active state with URI tel:123
It is necessary to set an outgoing caller ID before placing a call.
Accepting incoming call from peer device:
.. code-block:: console
<dbg> bt_tbs_client.incoming_uri_notify_handler: tel:123
<dbg> bt_tbs_client.in_call_notify_handler: tel:456
<dbg> bt_tbs_client.friendly_name_notify_handler: Peter
<dbg> bt_tbs_client.current_calls_notify_handler: Call 0x05 is in the incoming state with URI tel:456
uart:~$ tbs_client accept 0 5
<dbg> bt_tbs_client.call_cp_callback_handler: Status: success for the accept opcode for call 0x05
<dbg> bt_tbs_client.current_calls_notify_handler: Call 0x05 is in the active state with URI tel
Terminate call:
.. code-block:: console
uart:~$ tbs_client terminate 0 5
<dbg> bt_tbs_client.termination_reason_notify_handler: ID 0x05, reason 0x06
<dbg> bt_tbs_client.call_cp_notify_handler: Status: success for the terminate opcode for call 0x05
<dbg> bt_tbs_client.current_calls_notify_handler:
Telephone Bearer Service (TBS)
******************************
The telephone bearer service is a service that typically resides on devices that
can make calls, including calls from apps such as Skype, e.g. (smart)phones and
PCs.
It is necessary to have :kconfig:option:`CONFIG_BT_TBS_LOG_LEVEL_DBG` enabled
for using the TBS server interactively.
Using the telephone bearer service
==================================
TBS can be controlled locally, or by a remote device (when in a call). For
example a remote device may initiate a call to the device with the TBS server,
or the TBS server may initiate a call to remote device, without a TBS_CLIENT client.
The TBS implementation is capable of fully controlling any call.
.. code-block:: console
tbs --help
tbs - Bluetooth TBS shell commands
Subcommands:
init :Initialize TBS
authorize :Authorize the current connection
accept :Accept call <call_index>
terminate :Terminate call <call_index>
hold :Hold call <call_index>
retrieve :Retrieve call <call_index>
originate :Originate call [<instance_index>] <uri>
join :Join calls <id> <id> [<id> [<id> [...]]]
incoming :Simulate incoming remote call [<{instance_index,
gtbs}>] <local_uri> <remote_uri>
<remote_friendly_name>
remote_answer :Simulate remote answer outgoing call <call_index>
remote_retrieve :Simulate remote retrieve <call_index>
remote_terminate :Simulate remote terminate <call_index>
remote_hold :Simulate remote hold <call_index>
set_bearer_provider_name :Set the bearer provider name [<{instance_index,
gtbs}>] <name>
set_bearer_technology :Set the bearer technology [<{instance_index,
gtbs}>] <technology>
set_bearer_signal_strength :Set the bearer signal strength [<{instance_index,
gtbs}>] <strength>
set_status_flags :Set the bearer feature and status value
[<{instance_index, gtbs}>] <feature_and_status>
set_uri_scheme :Set the URI prefix list <bearer_idx> <uri1 [uri2
[uri3 [...]]]>
print_calls :Output all calls in the debug log
Example Usage
=============
Setup
-----
.. code-block:: console
uart:~$ bt init
uart:~$ bt connect xx:xx:xx:xx:xx:xx public
When connected
--------------
Answering a call for a peer device originated by a client:
.. code-block:: console
<dbg> bt_tbs.write_call_cp: Index 0: Processing the originate opcode
<dbg> bt_tbs.originate_call: New call with call index 1
<dbg> bt_tbs.write_call_cp: Index 0: Processed the originate opcode with status success for call index 1
uart:~$ tbs remote_answer 1
TBS succeeded for call_id: 1
Incoming call from a peer device, accepted by client:
.. code-block:: console
uart:~$ tbs incoming 0 tel:123 tel:456 Peter
TBS succeeded for call_id: 4
<dbg> bt_tbs.bt_tbs_remote_incoming: New call with call index 4
<dbg> bt_tbs.write_call_cp: Index 0: Processed the accept opcode with status success for call index 4
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/audio/shell/ccp.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,414 |
```restructuredtext
Bluetooth: Coordinated Set Identification Profile
#################################################
This document describes how to run the coordinated set identification
functionality, both as a client and as a server.
Note that in the examples below, some lines of debug have been removed to make
this shorter and provide a better overview.
Set Coordinator (Client)
************************
The client will typically be a resource-rich device, such as a smartphone
or a laptop. The client is able to lock and release members of a coordinated
set. While the coordinated set is locked, no other clients may lock the set.
To lock a set, the client must connect to each of the set members it wants to
lock. This implementation will always try to connect to all the members of
the set, and at the same time. Thus if the set size is 3, then
:code:`BT_MAX_CONN` shall be at least 3.
If the locks on set members shall persists through disconnects, it is
necessary to bond with the set members. If you need to bond with multiple
set members, make sure that :code:`BT_MAX_PAIRED` is correctly configured.
Using the Set Coordinator
=========================
When the Bluetooth stack has been initialized (:code:`bt init`),
and a set member device has been connected, the call control client can be
initialized by calling :code:`csip_set_coordinator init`, which will start a discovery
for the TBS uuids and store the handles, and optionally subscribe to all
notifications (default is to subscribe to all).
Once the client has connected and discovered the handles, then it can
read the set information, which is needed to identify other set members.
The client can then scan for and connect to the remaining set members, and once
all the members has been connected to, it can lock and release the set.
It is necessary to enable
:kconfig:option:`CONFIG_BT_CSIP_SET_COORDINATOR_LOG_LEVEL_DBG` to properly use
the set coordinator.
.. code-block:: console
csip_set_coordinator --help
csip_set_coordinator - Bluetooth CSIP_SET_COORDINATOR shell commands
Subcommands:
init :Initialize CSIP_SET_COORDINATOR
discover :Run discover for CSIS on peer device [member_index]
discover_members :Scan for set members <set_pointer>
lock_set :Lock set
release_set :Release set
lock :Lock specific member [member_index]
release :Release specific member [member_index]
lock_get :Get the lock value of the specific member and instance
[member_index [inst_idx]]
Example usage
=============
Setup
-----
.. code-block:: console
uart:~$ init
uart:~$ bt connect xx:xx:xx:xx:xx:xx public
When connected
--------------
Discovering sets on a device:
.. code-block:: console
uart:~$ csip_set_coordinator init
<dbg> bt_csip_set_coordinator.primary_discover_func: [ATTRIBUTE] handle 0x0048
<dbg> bt_csip_set_coordinator.primary_discover_func: Discover complete, found 1 instances
<dbg> bt_csip_set_coordinator.discover_func: Setup complete for 1 / 1
Found 1 sets on device
uart:~$ csip_set_coordinator discover_sets
<dbg> bt_csip_set_coordinator.SIRK
36 04 9a dc 66 3a a1 a1 |6...f:..
1d 9a 2f 41 01 73 3e 01 |../A.s>.
<dbg> bt_csip_set_coordinator.csip_set_coordinator_discover_sets_read_set_size_cb: 2
<dbg> bt_csip_set_coordinator.csip_set_coordinator_discover_sets_read_set_lock_cb: 1
<dbg> bt_csip_set_coordinator.csip_set_coordinator_discover_sets_read_rank_cb: 1
Set size 2 (pointer: 0x566fdfe8)
Discover set members, based on the set pointer above:
.. code-block:: console
uart:~$ csip_set_coordinator discover_members 0x566fdfe8
<dbg> bt_csip_set_coordinator.csip_found: Found CSIS advertiser with address 34:02:86:03:86:c0 (public)
<dbg> bt_csip_set_coordinator.is_set_member: hash: 0x33ccb1, prand 0x5bfe6a
<dbg> bt_csip_set_coordinator.is_discovered: 34:02:86:03:86:c0 (public)
<dbg> bt_csip_set_coordinator.is_discovered: 34:13:e8:b3:7f:9e (public)
<dbg> bt_csip_set_coordinator.csip_found: Found member (2 / 2)
Discovered 2/2 set members
Lock set members:
.. code-block:: console
uart:~$ csip_set_coordinator lock_set
<dbg> bt_csip_set_coordinator.bt_csip_set_coordinator_lock_set: Connecting to 34:02:86:03:86:c0 (public)
<dbg> bt_csip_set_coordinator.csip_set_coordinator_connected: Connected to 34:02:86:03:86:c0 (public)
<dbg> bt_csip_set_coordinator.discover_func: Setup complete for 1 / 1
<dbg> bt_csip_set_coordinator.csip_set_coordinator_lock_set_init_cb:
<dbg> bt_csip_set_coordinator.SIRK
36 04 9a dc 66 3a a1 a1 |6...f:..
1d 9a 2f 41 01 73 3e 01 |../A.s>.
<dbg> bt_csip_set_coordinator.csip_set_coordinator_discover_sets_read_set_size_cb: 2
<dbg> bt_csip_set_coordinator.csip_set_coordinator_discover_sets_read_set_lock_cb: 1
<dbg> bt_csip_set_coordinator.csip_set_coordinator_discover_sets_read_rank_cb: 2
<dbg> bt_csip_set_coordinator.csip_set_coordinator_write_lowest_rank: Locking member with rank 1
<dbg> bt_csip_set_coordinator.notify_func: Instance 0 lock was locked
<dbg> bt_csip_set_coordinator.csip_set_coordinator_write_lowest_rank: Locking member with rank 2
<dbg> bt_csip_set_coordinator.notify_func: Instance 0 lock was locked
Set locked
Release set members:
.. code-block:: console
uart:~$ csip_set_coordinator release_set
<dbg> bt_csip_set_coordinator.csip_set_coordinator_release_highest_rank: Releasing member with rank 2
<dbg> bt_csip_set_coordinator.notify_func: Instance 0 lock was released
<dbg> bt_csip_set_coordinator.csip_set_coordinator_release_highest_rank: Releasing member with rank 1
<dbg> bt_csip_set_coordinator.notify_func: Instance 0 lock was released
Set released
Coordinated Set Member (Server)
**********************************************
The server on devices that are part of a set,
consisting of at least two devices, e.g. a pair of earbuds.
Using the Set Member
=====================
.. code-block:: console
csip_set_member --help
csip_set_member - Bluetooth CSIP set member shell commands
Subcommands:
register :Initialize the service and register callbacks [size <int>]
[rank <int>] [not-lockable] [sirk <data>]
lock :Lock the set
release :Release the set [force]
sirk :Set the currently used SIRK <sirk>
get_sirk :Get the currently used SIRK
sirk_rsp :Set the response used in SIRK requests <accept, accept_enc,
reject, oob>
Example Usage
=============
Setup
-----
.. code-block:: console
uart:~$ bt init
uart:~$ csip_set_member register
Setting a new SIRK
------------------
This command can modify the currently used SIRK. To get the new RSI to advertise on air,
:code:`bt adv-data` or :code:`bt advertise` must be called again to set the new advertising data.
If :code:`CONFIG_BT_CSIP_SET_MEMBER_NOTIFIABLE` is enabled, this will also notify connected
clients.
.. code-block:: console
uart:~$ csip_set_member sirk 00112233445566778899aabbccddeeff
SIRK updated
Getting the current SIRK
------------------------
This command can get the currently used SIRK.
.. code-block:: console
uart:~$ csip_set_member get_sirk
SIRK
36 04 9a dc 66 3a a1 a1 |6...f:..
1d 9a 2f 41 01 73 3e 01 |../A.s>.
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/audio/shell/csip.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,997 |
```restructuredtext
.. _bluetooth_le_audio_arch:
LE Audio Stack
##############
.. graphviz::
:caption: Bluetooth Audio Architecture
digraph bluetooth_audio_arch {
r [shape=record, width=5, height=3
label="{{TMAP | HAP | PBP | GMAP | ...} |
GAF |
{{{ GATT | GAP } | Low-level protocols (L2CAP, ATT, etc.)} | GAP | ISO}
| HCI Driver (USB, UART, SPI, virtual, etc.)}"
];
}
Overall design
**************
The overall design of the LE Audio stack is that the implementation follows the specifications
as closely as possible,
both in terms of structure but also naming.
Most API functions are prefixed by the specification acronym
(e.g. `bt_bap` for the Basic Audio Profile (BAP) and `bt_vcp` for the Volume Control Profile (VCP)).
The functions are then further prefixed with the specific role from each profile where applicable
(e.g. :c:func:`bt_bap_unicast_client_discover` and :c:func:`bt_vcp_vol_rend_set_vol`).
There are usually a function per procedure defined by the profile or service specifications,
and additional helper or meta functions that do not correspond to procedures.
The structure of the files generally also follow this,
where BAP related files are prefixed with `bap` and VCP related files are prefixed with `vcp`.
If the file is specific for a profile role, the role is also embedded in the file name.
Generic Audio Framework (GAF)
*****************************
The Generic Audio Framework (GAF) is considered the middleware of the Bluetooth
LE Audio architecture. The GAF contains the profiles and services that allows
higher layer applications and profiles to set up streams, change volume, control
media and telephony and more. The GAF builds on GATT, GAP and isochronous
channels (ISO).
GAF uses GAP to connect, advertise and synchronize to other devices.
GAF uses GATT to configure streams, associate streams with content
(e.g. media or telephony), control volume and more.
GAF uses ISO for the audio streams themselves, both as unicast (connected)
audio streams or broadcast (unconnected) audio streams.
GAF mandates the use of the LC3 codec, but also supports other codecs.
.. graphviz::
:caption: Generic Audio Framework (GAF)
digraph gaf {
node [shape=record];
edge [style=invis];
compound=true;
nodesep=0.1;
subgraph hap_layer {
cluster=true;
label="HAP";
HAS;
BAS [style=dashed];
IAS [style=dashed];
}
subgraph pbp_layer {
cluster=true;
label="PBP";
PBS[style=invis]; // Make it possible to treat PBP like the others
}
subgraph tmap_layer {
cluster=true;
label="TMAP";
TMAS;
}
subgraph gmap_layer {
cluster=true;
label="GMAP";
GMAS;
}
subgraph gaf_layer {
cluster=true;
label="Generic Audio Framework";
subgraph transition_and_coordination_control_layer {
cluster=true;
label="Transition and Coordination Control";
style=dashed;
subgraph cap_layer {
cluster=true;
style=solid;
label="CAP";
CAS;
}
subgraph csip_layer {
cluster=true;
style=solid;
label="CSIP";
CSIS;
}
}
subgraph stream_control_layer {
cluster=true;
label="Stream Control";
style=dashed;
subgraph bap_layer {
cluster=true;
label="BAP";
style=solid;
PACS [style=dashed];
ASCS [style=dashed];
BASS [style=dashed];
}
}
subgraph content_control_layer {
cluster=true;
label="Content Control";
style=dashed;
subgraph mcp_layer {
cluster=true;
label="MCP";
style=solid;
MCS;
}
subgraph ccp_layer {
cluster=true;
label="CCP";
style=solid;
TBS;
}
}
subgraph rendering_and_capture_control_layer {
cluster=true;
label="Rendering and Capture Control";
style=dashed;
subgraph micp_layer {
cluster=true;
label="MICP";
style=solid;
MICS;
MICP_AICS [style=dashed];
}
subgraph vcp_layer {
cluster=true;
label="VCP";
style=solid;
VCS;
VOCS [style=dashed];
VCP_AICS [style=dashed];
}
}
}
HAS -> CAS;
PBS -> CAS;
TMAS -> CAS;
GMAS -> CAS;
CAS -> MCS;
CAS -> TBS;
CAS -> ASCS;
CAS -> PACS;
CAS -> BASS;
CAS -> MICS;
CAS -> MICP_AICS;
CAS -> VCS;
CAS -> VOCS;
CAS -> VCP_AICS;
CSIS -> MCS;
CSIS -> TBS;
CSIS -> ASCS;
CSIS -> PACS;
CSIS -> BASS;
CSIS -> MICS;
CSIS -> MICP_AICS;
CSIS -> VCS;
CSIS -> VOCS;
CSIS -> VCP_AICS;
}
The top-level profiles TMAP and HAP are not part of the GAF, but rather provide
top-level requirements for how to use the GAF.
GAF and the top layer profiles gave been implemented in Zephyr with the following structure.
.. graphviz::
:caption: Zephyr Generic Audio Framework
digraph gaf {
node [shape=record];
edge [style=invis];
compound=true;
nodesep=0.1;
subgraph hap_layer {
cluster=true;
label="HAP";
HAS_H [label="has.h"];
BAS_H [label="bas.h"];
IAS_H [label="ias.h"];
}
subgraph pbp_layer {
cluster=true;
label="PBP";
PBP_H [label="pbp.h"]; // Make it possible to treat PBP like the others
}
subgraph tmap_layer {
cluster=true;
label="TMAP";
TMAP_H [label="tmap.h"];
}
subgraph gmap_layer {
cluster=true;
label="GMAP";
GMAP_H [label="gmap.h"];
GMAP_PRESET_H [label="gmap_lc3_preset.h"];
}
subgraph gaf_layer {
cluster=true;
label="Generic Audio Framework";
AUDIO_H [label="audio.h"];
LC3_H [label="lc3.h"];
subgraph transition_and_coordination_control_layer {
cluster=true;
label="Transition and Coordination Control";
style=dashed;
subgraph cap_layer {
cluster=true;
style=solid;
label="CAP";
CAP_H [label="cap.h"];
}
subgraph csip_layer {
cluster=true;
style=solid;
label="CSIP";
CSIP_H [label="csip.h"];
}
}
subgraph stream_control_layer {
cluster=true;
label="Stream Control";
style=dashed;
subgraph bap_layer {
cluster=true;
label="BAP";
style=solid;
PACS_H [label="pacs.h"];
BAP_H [label="bap.h"];
BAP_PRESET_H [label="bap_lc3_preset.h"];
}
}
subgraph content_control_layer {
cluster=true;
label="Content Control";
style=dashed;
subgraph mcp_layer {
cluster=true;
label="MCP";
style=solid;
MCS_H [label="mcs.h"];
MCC_H [label="mcc.h"];
MP_H [label="media_proxy.h"];
}
subgraph ccp_layer {
cluster=true;
label="CCP";
style=solid;
TBS_H [label="tbs.h"];
}
}
subgraph rendering_and_capture_control_layer {
cluster=true;
label="Rendering and Capture Control";
style=dashed;
subgraph micp_layer {
cluster=true;
label="MICP";
style=solid;
MICP_H [label="micp.h"];
AICS_H [label="aics.h"];
}
subgraph vcp_layer {
cluster=true;
label="VCP";
style=solid;
VCP_H [label="vcp.h"];
VOCS_H [label="vocs.h"];
AICS_H [label="aics.h"];
}
}
}
HAS_H -> CAP_H;
PBP_H -> CAP_H;
TMAP_H -> CAP_H;
GMAP_H -> CAP_H;
GMAP_PRESET_H -> CAP_H;
CAP_H -> MCS_H;
CAP_H -> MCC_H;
CAP_H -> MP_H;
CAP_H -> TBS_H;
CAP_H -> BAP_H;
CAP_H -> BAP_PRESET_H;
CAP_H -> PACS_H;
CAP_H -> MICP_H;
CAP_H -> VCP_H;
CSIP_H -> MCS_H;
CSIP_H -> MCC_H;
CSIP_H -> MP_H;
CSIP_H -> TBS_H;
CSIP_H -> BAP_H;
CSIP_H -> BAP_PRESET_H;
CSIP_H -> PACS_H;
CSIP_H -> MICP_H;
CSIP_H -> VCP_H;
}
Profile Dependencies
====================
The LE Audio profiles depend on other profiles and services, as outlined in the following tables.
In these tables 'Server' refers to acting in the GATT server role, and 'Client' refers to acting in the GATT client role for the specific
service.
If a profile role depends on another profile that depends on a service, then that dependency is implicitly also applied to that profile.
For example, if the CAP Acceptor uses the BAP Unicast Server role, then the requirements on the ASCS Server and PACS Server also apply to the CAP Acceptor.
The dependencies for Stream Control (BAP) are in the following table.
.. table:: BAP dependencies
:widths: auto
:align: center
+--------------------+----------------+----------------+------------------+----------------+----------------+---------------------+
| | Unicast Server | Unicast Client | Broadcast Source | Broadcast Sink | Scan Delegator | Broadcast Assistant |
+====================+================+================+==================+================+================+=====================+
| BAP Scan Delegator | | | | M | | |
+--------------------+----------------+----------------+------------------+----------------+----------------+---------------------+
| ASCS Client | | M | | | | |
+--------------------+----------------+----------------+------------------+----------------+----------------+---------------------+
| ASCS Server | M | | | | | |
+--------------------+----------------+----------------+------------------+----------------+----------------+---------------------+
| PACS Client | | M | | | | O |
+--------------------+----------------+----------------+------------------+----------------+----------------+---------------------+
| PACS Server | M | | | M | | |
+--------------------+----------------+----------------+------------------+----------------+----------------+---------------------+
| BASS Client | | | | | | M |
+--------------------+----------------+----------------+------------------+----------------+----------------+---------------------+
| BASS Server | | | | | M | |
+--------------------+----------------+----------------+------------------+----------------+----------------+---------------------+
Note:
* As the table shows, the Broadcast Source role has no dependencies on other LE Audio profiles or services
The dependencies for Content Control (MCP and CCP) are in the following tables.
.. table:: MCP dependencies
:widths: auto
:align: center
+-------------+----------------------+----------------------+
| | Media Control Server | Media Control Client |
+=============+======================+======================+
| GMCS Server | M | |
+-------------+----------------------+----------------------+
| GMCS Client | | M |
+-------------+----------------------+----------------------+
| MCS Server | O | |
+-------------+----------------------+----------------------+
| MCS Client | | O |
+-------------+----------------------+----------------------+
| OTS Server | O | |
+-------------+----------------------+----------------------+
| OTS Client | | O |
+-------------+----------------------+----------------------+
.. table:: CCP dependencies
:widths: auto
:align: center
+--------------+---------------------+---------------------+
| | Call Control Server | Call Control Client |
+==============+=====================+=====================+
| GTBS Server | M | |
+--------------+---------------------+---------------------+
| GTBS Client | | M |
+--------------+---------------------+---------------------+
| TBS Server | M | |
+--------------+---------------------+---------------------+
| TBS Client | | M |
+--------------+---------------------+---------------------+
The dependencies for Rendering Control (MICP and VCP) are in the following tables.
.. table:: MICP dependencies
:widths: auto
:align: center
+-------------+-----------------------+-------------------+
| | Microphone Controller | Microphone Device |
+=============+=======================+===================+
| MICS Server | M | |
+-------------+-----------------------+-------------------+
| MICS Client | | M |
+-------------+-----------------------+-------------------+
| AICS Server | O | |
+-------------+-----------------------+-------------------+
| AICS Client | | O |
+-------------+-----------------------+-------------------+
.. table:: VCP dependencies
:widths: auto
:align: center
+-------------+------------------+-------------------+
| | Volume Renderer | Volume Controller |
+=============+==================+===================+
| VCS Server | M | |
+-------------+------------------+-------------------+
| VCS Client | | M |
+-------------+------------------+-------------------+
| VOCS Server | O | |
+-------------+------------------+-------------------+
| VOCS Client | | O |
+-------------+------------------+-------------------+
| AICS Server | O | |
+-------------+------------------+-------------------+
| AICS Client | | O |
+-------------+------------------+-------------------+
The last element in GAF is Transition and Coordination Control (CAP and CSIP) with the dependencies from the following tables.
.. table:: CAP dependencies
:widths: auto
:align: center
+----------------------------+----------+-----------+-----------+
| | Acceptor | Initiator | Commander |
+============================+==========+===========+===========+
| CAS Server | M | | C.8 |
+----------------------------+----------+-----------+-----------+
| CAS Client | | M | M |
+----------------------------+----------+-----------+-----------+
| BAP Unicast Client | | C.1 | |
+----------------------------+----------+-----------+-----------+
| BAP Unicast Server | C.2 | | |
+----------------------------+----------+-----------+-----------+
| BAP Broadcast Source | | C.1 | |
+----------------------------+----------+-----------+-----------+
| BAP Broadcast Sink | C.2 | | |
+----------------------------+----------+-----------+-----------+
| BAP Broadcast Assistant | | | C.4, C.6 |
+----------------------------+----------+-----------+-----------+
| BAP Scan Delegator | C.3 | | C.6 |
+----------------------------+----------+-----------+-----------+
| VCP Volume Controller | | | C.6 |
+----------------------------+----------+-----------+-----------+
| VCP Volume Renderer | O | | |
+----------------------------+----------+-----------+-----------+
| MICP Microphone Controller | | | C.6 |
+----------------------------+----------+-----------+-----------+
| MICP Microphone Device | O | | |
+----------------------------+----------+-----------+-----------+
| CCP Call Control Server | | O | |
+----------------------------+----------+-----------+-----------+
| CCP Call Control Client | O | | C.6 |
+----------------------------+----------+-----------+-----------+
| MCP Media Control Server | | O | |
+----------------------------+----------+-----------+-----------+
| MCP Media Control Client | O | | C.6 |
+----------------------------+----------+-----------+-----------+
| CSIP Set Coordinator | | C.5 | M |
+----------------------------+----------+-----------+-----------+
| CSIP Set Member | C.7 | | |
+----------------------------+----------+-----------+-----------+
Notes:
* C.1: Support at least one of BAP Unicast Client or BAP Broadcast Source
* C.2: Support at least one of BAP Unicast Server or BAP Broadcast Sink
* C.3: Mandatory if BAP Broadcast Sink
* C.4: Mandatory if BAP Scan Delegator
* C.5: Mandatory if BAP Unicast Client
* C.6: Support at least one
* C.7: Mandatory if part of a coordinated set
* C.8: Mandatory if the Commander transmits CAP announcements
.. table:: CSIP dependencies
:widths: auto
:align: center
+------------+------------+-----------------+
| | Set Member | Set Coordinator |
+============+============+=================+
| CSIS Server| M | |
+------------+------------+-----------------+
| CSIS Client| | M |
+------------+------------+-----------------+
The dependencies of the higher level profiles (GMAP, HAP, PBP and TMAP) are listed in the following tables.
.. table:: GMAP dependencies
:widths: auto
:align: center
+----------------------------+----------------------+-----------------------+-----------------------+-------------------------+
| | Unicast Game Gateway | Unicast Game Terminal | Broadcast Game Sender | Broadcast Game Receiver |
+============================+======================+=======================+=======================+=========================+
| GMAS Server | M | M | O | M |
+----------------------------+----------------------+-----------------------+-----------------------+-------------------------+
| GMAS Client | M | O | O | O |
+----------------------------+----------------------+-----------------------+-----------------------+-------------------------+
| CAP Initiator | M | | M | |
+----------------------------+----------------------+-----------------------+-----------------------+-------------------------+
| CAP Acceptor | | M | | M |
+----------------------------+----------------------+-----------------------+-----------------------+-------------------------+
| CAP Commander | M | | M | |
+----------------------------+----------------------+-----------------------+-----------------------+-------------------------+
| BAP Broadcast Source | | | M | |
+----------------------------+----------------------+-----------------------+-----------------------+-------------------------+
| BAP Broadcast Sink | | | | M |
+----------------------------+----------------------+-----------------------+-----------------------+-------------------------+
| BAP Unicast Client | M | | | |
+----------------------------+----------------------+-----------------------+-----------------------+-------------------------+
| BAP Unicast Server | | M | | |
+----------------------------+----------------------+-----------------------+-----------------------+-------------------------+
| VCP Volume Controller | M | | | |
+----------------------------+----------------------+-----------------------+-----------------------+-------------------------+
| VCP Volume Renderer | | C.1 | | M |
+----------------------------+----------------------+-----------------------+-----------------------+-------------------------+
| MICP Microphone Controller | O | | | |
+----------------------------+----------------------+-----------------------+-----------------------+-------------------------+
| MICP Microphone Device | | C.2 | | |
+----------------------------+----------------------+-----------------------+-----------------------+-------------------------+
Notes:
* C.1 Mandatory if the UGT supports the UGT Sink feature
* C.2 Optional if the UGT supports the UGT Source feature
.. table:: HAP dependencies
:widths: auto
:align: center
+----------------------------+-------------+----------------------------+-------------------------------+
| | Hearing Aid | Hearing Aid Unicast Client | Hearing Aid Remote Controller |
+============================+=============+============================+===============================+
| HAS Client | | | M |
+----------------------------+-------------+----------------------------+-------------------------------+
| HAS Server | M | | |
+----------------------------+-------------+----------------------------+-------------------------------+
| CAP Initiator | | M | |
+----------------------------+-------------+----------------------------+-------------------------------+
| CAP Acceptor | M | | |
+----------------------------+-------------+----------------------------+-------------------------------+
| CAP Commander | | | M |
+----------------------------+-------------+----------------------------+-------------------------------+
| BAP Unicast Client | | M | |
+----------------------------+-------------+----------------------------+-------------------------------+
| BAP Unicast Server | M | | |
+----------------------------+-------------+----------------------------+-------------------------------+
| VCP Volume Controller | | | M |
+----------------------------+-------------+----------------------------+-------------------------------+
| VCP Volume Renderer | M | | |
+----------------------------+-------------+----------------------------+-------------------------------+
| VOCS Server | C.1 | | |
+----------------------------+-------------+----------------------------+-------------------------------+
| AICS Server | O | | |
+----------------------------+-------------+----------------------------+-------------------------------+
| MICP Microphone Controller | | | O |
+----------------------------+-------------+----------------------------+-------------------------------+
| MICP Microphone Device | C.2 | | |
+----------------------------+-------------+----------------------------+-------------------------------+
| CCP Call Control Client | O | | |
+----------------------------+-------------+----------------------------+-------------------------------+
| CCP Call Control Server | | O | |
+----------------------------+-------------+----------------------------+-------------------------------+
| CSIP Set Coordinator | | M | M |
+----------------------------+-------------+----------------------------+-------------------------------+
| CSIP Set Member | C.3 | | |
+----------------------------+-------------+----------------------------+-------------------------------+
| BAS Server | C.4 | | |
+----------------------------+-------------+----------------------------+-------------------------------+
| IAS Server | O | | |
+----------------------------+-------------+----------------------------+-------------------------------+
Notes:
* C.1 Mandatory if the HA supports the Volume Baslance feature and is part of a Binaural Hearing Aid Set
* C.2 Mandatory if the HA supports the BAP Audio Source Role
* C.3 Mandatory if the HA is capable of being part of a Binaural Hearing Aid set
* C.4 If equipped with batteries
* C.5 If CCP Call Control Server is supported
.. table:: PBP dependencies
:widths: auto
:align: center
+-------------------------+-------------------------+-----------------------+----------------------------+
| | Public Broadcast Source | Public Broadcast sink | Public Broadcast Assistant |
+=========================+=========================+=======================+============================+
| CAP Initiator | M | | |
+-------------------------+-------------------------+-----------------------+----------------------------+
| CAP Acceptor | | M | |
+-------------------------+-------------------------+-----------------------+----------------------------+
| CAP Commander | | | M |
+-------------------------+-------------------------+-----------------------+----------------------------+
| BAP Broadcast Assistant | | | M |
+-------------------------+-------------------------+-----------------------+----------------------------+
.. table:: TMAP dependencies
:widths: auto
:align: center
+-----------------------------------+--------------+---------------+----------------------+------------------------+------------------------+--------------------------+
| | Call Gateway | Call Terminal | Unicast Media Sender | Unicast Media Receiver | Broadcast Media Sender | Broadcast Media Receiver |
+===================================+==============+===============+======================+========================+========================+==========================+
| TMAS Server | M | M | M | M | O | M |
+-----------------------------------+--------------+---------------+----------------------+------------------------+------------------------+--------------------------+
| TMAS Client | O | O | O | O | O | O |
+-----------------------------------+--------------+---------------+----------------------+------------------------+------------------------+--------------------------+
| CAP Initiator | M | | M | | M | |
+-----------------------------------+--------------+---------------+----------------------+------------------------+------------------------+--------------------------+
| CAP Acceptor | | M | | M | | M |
+-----------------------------------+--------------+---------------+----------------------+------------------------+------------------------+--------------------------+
| CAP Commander | M | O | M | O | O | O |
+-----------------------------------+--------------+---------------+----------------------+------------------------+------------------------+--------------------------+
| BAP Broadcast Source | | | | | M | |
+-----------------------------------+--------------+---------------+----------------------+------------------------+------------------------+--------------------------+
| BAP Broadcast Sink | | | | | | M |
+-----------------------------------+--------------+---------------+----------------------+------------------------+------------------------+--------------------------+
| BAP Unicast Client | M | | M | | | |
+-----------------------------------+--------------+---------------+----------------------+------------------------+------------------------+--------------------------+
| BAP Unicast Server | | M | | M | | |
+-----------------------------------+--------------+---------------+----------------------+------------------------+------------------------+--------------------------+
| VCP Volume Controller | M | | M | | | |
+-----------------------------------+--------------+---------------+----------------------+------------------------+------------------------+--------------------------+
| VCP Volume Renderer | | C.1 | | M | | M |
+-----------------------------------+--------------+---------------+----------------------+------------------------+------------------------+--------------------------+
| MCP Media Control Server | | | M | | | |
+-----------------------------------+--------------+---------------+----------------------+------------------------+------------------------+--------------------------+
| CCP Call Control Server | M | | | | | |
+-----------------------------------+--------------+---------------+----------------------+------------------------+------------------------+--------------------------+
Notes:
* C.1 Mandatory to support if the BAP Unicast Server is acting as an Audio Sink
Bluetooth Audio Stack Status
============================
The following table shows the current status and support of the profiles in the
Bluetooth Audio Stack.
.. table:: Bluetooth Audio Profile status
:widths: auto
+--------+-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| Module | Role | Version | Added in Release | Status | Remaining |
+========+===============================+=========+==================+=======================+==================================================+
| VCP | Volume Renderer | 1.0 | 2.6 | - Feature complete | - Sample Application |
| | | | | - Shell Module | |
| | | | | - BSIM test | |
| +-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| | Volume Controller | 1.0 | 2.6 | - Feature complete | - Sample Application |
| | | | | - Shell Module | |
| | | | | - BSIM test | |
+--------+-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| MICP | Microphone Device | 1.0 | 2.7 | - Feature complete | - Sample Application |
| | | | | - Shell Module | |
| | | | | - BSIM test | |
| +-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| | Microphone Controller | 1.0 | 2.7 | - Feature complete | - Sample Application |
| | | | | - Shell Module | |
| | | | | - BSIM test | |
+--------+-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| CSIP | Set Member | 1.0.1 | 3.0 | - Feature complete | - Sample Application |
| | | | | - Shell Module | |
| | | | | - BSIM test | |
| +-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| | Set Coordinator | 1.0.1 | 3.0 | - Feature complete | - Sample Application |
| | | | | - Shell Module | |
| | | | | - BSIM test | |
+--------+-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| CCP | Call Control Server | 1.0 | 3.0 | - Feature complete | - API refactor |
| | | | | - Shell Module | - Sample Application |
| | | | | - BSIM test | |
| +-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| | Call Control Client | 1.0 | 3.0 | - Feature complete | - API refactor |
| | | | | - Shell Module | - Sample Application |
| | | | | - BSIM test | |
+--------+-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| MCP | Media Control Server | 1.0 | 3.0 | - Feature complete | - API refactor |
| | | | | - Shell Module | - Support for multiple instances and connections |
| | | | | - BSIM test | - Sample Application |
| +-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| | Media Control Client | 1.0 | 3.0 | - Feature complete | - API refactor |
| | | | | - Shell Module | - Sample Application |
| | | | | - BSIM test | |
+--------+-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| BAP | Unicast Server | 1.0.1 | 3.0 | - Feature complete | |
| | | | | - Shell Module | |
| | | | | - BSIM test | |
| | | | | - Sample Application | |
| +-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| | Unicast Client | 1.0.1 | 3.0 | - Feature complete | |
| | | | | - Shell Module | |
| | | | | - BSIM test | |
| | | | | - Sample Application | |
| +-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| | Broadcast Source | 1.0.1 | 3.0 | - Feature complete | |
| | | | | - Shell Module | |
| | | | | - BSIM test | |
| | | | | - Sample Application | |
| +-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| | Broadcast Sink | 1.0.1 | 3.0 | - Feature complete | |
| | | | | - Shell Module | |
| | | | | - BSIM test | |
| | | | | - Sample Application | |
| +-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| | Scan Delegator | 1.0.1 | 3.3 | - Feature complete | |
| | | | | - Shell Module | |
| | | | | - BSIM test | |
| | | | | - Sample Application | |
| +-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| | Broadcast Assistant | 1.0.1 | 3.3 | - Feature complete | |
| | | | | - Shell Module | |
| | | | | - BSIM test | |
| | | | | - Sample Application | |
+--------+-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| CAP | Acceptor | 1.0 | 3.2 | - Feature complete | |
| | | | | - Shell Module | |
| | | | | - BSIM test | |
| | | | | - Sample Application | |
| +-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| | Initiator | 1.0 | 3.3 | - Feature complete | |
| | | | | - Shell Module | |
| | | | | - BSIM test | |
| | | | | - Sample Application | |
| +-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| | Commander | | | - WIP | - Feature complete |
| | | | | | - Shell Module |
| | | | | | - BSIM test |
| | | | | | - Sample Application |
+--------+-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| HAP | Hearing Aid | 1.0 | 3.1 | - Feature complete | |
| | | | | - Shell Module | |
| | | | | - BSIM test | |
| | | | | - Sample Application | |
| +-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| | Hearing Aid Unicast Client | 1.0 | 3.1 | - Feature complete | |
| | | | | - Shell Module | |
| | | | | - BSIM test | |
| | | | | - Sample Application | |
| +-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| | Hearing Aid Remote Controller | | | - WIP | - Feature complete |
| | | | | | - Shell Module |
| | | | | | - BSIM test |
| | | | | | - Sample Application |
+--------+-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| TMAP | Call Gateway | 1.0 | 3.4 | - Feature complete | |
| | | | | - Shell Module | |
| | | | | - BSIM test | |
| | | | | - Sample Application | |
| +-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| | Call Terminal | 1.0 | 3.4 | - Feature complete | |
| | | | | - Shell Module | |
| | | | | - BSIM test | |
| | | | | - Sample Application | |
| +-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| | Unicast Media Sender | 1.0 | 3.4 | - Feature complete | |
| | | | | - Shell Module | |
| | | | | - BSIM test | |
| | | | | - Sample Application | |
| +-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| | Unicast Media Receiver | 1.0 | 3.4 | - Feature complete | |
| | | | | - Shell Module | |
| | | | | - BSIM test | |
| | | | | - Sample Application | |
| +-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| | Broadcast Media Sender | 1.0 | 3.4 | - Feature complete | |
| | | | | - Shell Module | |
| | | | | - BSIM test | |
| | | | | - Sample Application | |
| +-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| | Broadcast Media Receiver | 1.0 | 3.4 | - Feature complete | |
| | | | | - Shell Module | |
| | | | | - BSIM test | |
| | | | | - Sample Application | |
+--------+-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| PBP | Public Broadcast Source | | 3.5 | - Feature complete | |
| | | | | - Shell Module | |
| | | | | - BSIM test | |
| | | | | - Sample Application | |
| +-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| | Public Broadcast Sink | | 3.5 | - Feature complete | |
| | | | | - Shell Module | |
| | | | | - BSIM test | |
| | | | | - Sample Application | |
| +-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| | Public Broadcast Assistant | | | | - Feature complete |
| | | | | | - Shell Module |
| | | | | | - BSIM test |
| | | | | | - Sample Application |
+--------+-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| GMAP | Unicast Game Gateway | | 3.5 | - Feature complete | - Sample Application |
| | | | | - Shell Module | |
| | | | | - BSIM test | |
| | | | | | |
| +-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| | Unicast Game Terminal | | 3.5 | - Feature complete | - Sample Application |
| | | | | - Shell Module | |
| | | | | - BSIM test | |
| | | | | | |
| +-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| | Broadcast Game Sender | | 3.5 | - Feature complete | - Sample Application |
| | | | | - Shell Module | |
| | | | | - BSIM test | |
| | | | | | |
| +-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
| | Broadcast Game Receiver | | 3.5 | - Feature complete | - Sample Application |
| | | | | - Shell Module | |
| | | | | - BSIM test | |
| | | | | | |
+--------+-------------------------------+---------+------------------+-----------------------+--------------------------------------------------+
Using the Bluetooth Audio Stack
===============================
To use any of the profiles in the Bluetooth Audio Stack, including the top-level
profiles outside of GAF, :kconfig:option:`CONFIG_BT_AUDIO` shall be enabled.
This Kconfig option allows the enabling of the individual profiles inside of the
Bluetooth Audio Stack. Each profile can generally be enabled on its own, but
enabling higher-layer profiles (such as CAP, TMAP and HAP) will typically
require enabling some of the lower layer profiles.
It is, however, possible to create a device that uses e.g. only Stream Control
(with just the BAP), without using any of the content control or
rendering/capture control profiles, or vice versa. Using the higher layer
profiles will however typically provide a better user experience and better
interoperability with other devices.
Common Audio Profile (CAP)
--------------------------
The Common Audio Profile introduces restrictions and requirements on the lower layer profiles.
The procedures in CAP works on one or more streams for one or more devices. Is it thus possible via
CAP to do a single function call to setup multiple streams across multiple devices.
The figure below shows a complete structure of the procedures in CAP and
how they correspond to procedures from the other profiles. The circles with I, A and C show whether
the procedure has active involvement or requirements from the CAP Initiator, CAP Accept and CAP
Commander roles respectively.
.. figure:: img/cap_proc.svg
:align: center
:alt: Common Audio Profile Procedures
Common Audio Profile Procedures
The API reference for CAP can be found in :ref:`Common Audio Profile <bluetooth_cap>`.
Stream Control (BAP)
--------------------
Stream control is implemented by the Basic Audio Profile. This profile
defines multiple roles:
* Unicast Client
* Unicast Server
* Broadcast Source
* Broadcast Sink
* Scan Delegator
* Broadcast Assistant
Each role can be enabled individually, and it is possible to support more than
one role.
Notes about the stream control services
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There are 3 services primarily used by stream control using the Basic Audio Profile.
Audio Stream Control Service (ASCS)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ASCS is a service used exclusively for setting up unicast streams,
and is located on the BAP Unicast Server device.
The service exposes one or more endpoints that can either be a sink or source endpoint,
from the perspective of the Unicast Server.
That means a sink endpoint is always audio from the Unicast Client to the Unicast Server,
and a source endpoint is always from the Unicast Server to the Unicast Client.
Unlike most other GATT services,
ASCS require that each characteristic in the service has unique data per client.
This means that if a Unicast Server is connected to multiple Unicast Clients,
the Unicast Clients are not able to see or control the endpoints configured by the other clients.
For example if a person's smartphone is streaming audio to a headset,
then the same person will not be able to see or control that stream from their smartwatch.
Broadcast Audio Scan Service (BASS)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
BASS is a service that is exclusively used by the Scan Delegator and Broadcast Assistant.
The main purpose of the service is to offload scanning from low power peripherals to e.g. phones
and PCs.
Unlike ASCS where the data is required to be unique per client,
the data in BASS (called receive states) are (usually) shared among all connected clients.
That means it is possible for a person to tell their headphones to synchronize to a
Broadcast Source using their phone,
and then later tell their headphones to stop synchronizing using their smartwatch.
A Broadcast Assistant can be any device,
and may only support this one role without any audio capabilities.
This allows legacy devices that do not support periodic advertisements or isochronous channels to
still provide an interface and scan offloading for peripherals.
The Bluetooth SIG have provided a guide on how to develop such legacy Broadcast Assistants that can
be found at
path_to_url
An important note about this guide is that many operating systems (especially on phones),
do not allow generic usage of the BASS UUID,
effectively making it impossible to implement your own Broadcast Assistant,
because you cannot access the BASS.
Published Audio Capabilities Service (PACS)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PACS is used to expose a device's audio capabilities in Published Audio Capabilities (PAC) records.
PACS is used by nearly all roles,
where the Unicast Client and Broadcast Assistant will act as PACS clients,
and Unicast Server and Broadcast Sink will act as PACS servers.
These records contain information about the codec, and which values are supported by each codec.
The values for the LC3 codec are defined by the Bluetooth Assigned numbers
(path_to_url and the values for other codecs such
as SBC are left undefined/implementation specific for BAP.
PACS also usually share the same data between each connected client,
but by using functions such as :c:func:`bt_pacs_conn_set_available_contexts_for_conn`,
it is possible to set specific values for specific clients.
The API reference for stream control can be found in
:ref:`Bluetooth Audio <bluetooth_audio>`.
Rendering and Capture Control
-----------------------------
Rendering and capture control is implemented by the Volume Control Profile
(VCP) and Microphone Control Profile (MICP).
The VCP implementation supports the following roles
* Volume Control Service (VCS) Server
* Volume Control Service (VCS) Client
The MICP implementation supports the following roles
* Microphone Control Profile (MICP) Microphone Device (server)
* Microphone Control Profile (MICP) Microphone Controller (client)
The API reference for volume control can be found in
:ref:`Bluetooth Volume Control <bluetooth_volume>`.
The API reference for Microphone Control can be found in
:ref:`Bluetooth Microphone Control <bluetooth_microphone>`.
Content Control
---------------
Content control is implemented by the Call Control Profile (CCP) and
Media Control Profile (MCP).
The CCP implementation is not yet implemented in Zephyr.
The MCP implementation supports the following roles
* Media Control Service (MCS) Server via the Media Proxy module
* Media Control Client (MCC)
The API reference for media control can be found in
:ref:`Bluetooth Media Control <bluetooth_media>`.
Generic TBS and Generic MCS
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Both the Telephone Bearer Service (TBS) used by CCP and the Media Control Service (MCS) used by MCP
have the concept of generic instances of the services called Generic TBS (GTBS) and
Generic MCS (GMCS).
While these share a common name prefix, the behavior of these two may be significantly different.
Generic TBS
^^^^^^^^^^^
The TBS spec defines GTBS as
GTBS provides a single point of access and exposes a representation of its internal telephone
bearers into a single telephone bearer.
This service provides telephone status and control of the device as a single unit with a
single set of characteristics.
It is left up to the implementation to determine what telephone bearer a characteristic of
GTBS represents at any time.
There is no specified manner of representing a characteristic from each individual TBS that
resides on the device to the same characteristic of the GTBS.
For example, if there is more than one TBS on a device and each has a unique telephone bearer
name (e.g., Name1 and Name2),
the way the GTBS represents the telephone bearer name is left up to the implementation.
GTBS is suited for clients that do not need to access or control all the
information available on specific telephone bearers.
This means that a GTBS instance represents one or more telephone bearers.
A telephone bearer could be any application on a device that can handle (telephone) calls,
such as the default Call application on a smartphone,
but also other applications such as Signal, Discord, Teams, Slack, etc.
GTBS may be standalone (i.e.the device only has a GTBS instance without any TBS instances),
and the behavior of the GTBS is mostly left up to the implementation.
In Zephyr the implementation of GBTS is that it contains some generic information,
such as the provider name which is defined to simply be "Generic TBS",
but the majority of the information in the GTBS instance in Zephyr has been implemented to be a
union of the data of the other bearers.
For example if you have a bearer for regular phone calls and
Teams and have an active call in both bearers,
then each of those bearers will report a single call,
but the GTBS instance will report 2 calls,
making it possible for a simple Call Control Client to control all calls from a single bearer.
Similarly the supported URIs for each bearer are also made into a union in GTBS, and when placing
a call using the GTBS the server will pick the most suited bearer depending on the URI.
For example calls with URI `tel` would go to the regular phone application,
and calls with the URI `skype` would go to the Teams application.
In conclusion the GTBS implementation in Zephyr is a union of the non-generic telephone bearers.
Generic MCS
^^^^^^^^^^^
The MCS spec defines GMCS as
The GMCS provides status and control of media playback for the device as a single unit.
An MCS instance describes and controls the media playback for a
specific media player within the device.
A device implements MCS instances to allow clients to access the
separate internal media player entities.
and where the behavior of GMCS is defined as
... the behavior of MCS and GMCS is identical,
and all the characteristics and the characteristics' behaviors are the same.
The term MCS is used throughout the document.
Unless otherwise specifically stated in this specification,
the same meaning applies to GMCS as well.
This means that a GMCS instance works the same way as an MCS instance,
and it follows that GMCS
controls the media playback for a specific media player within the device
A media player on a device could be anything that plays media,
such as a Spotify or Youtube application on a smartphone.
Thus if a device has multiple MCS instances,
then each of these control media for that specific application,
but the GMCS also controls media playback for a specific media player.
GMCS can thus be considered a pointer to a specific MCS instance,
and control either e.g. Spotify or Youtube, but not both.
The MCS spec does however provide an example of GMCS where a device can
Implement a GMCS that provides status and control of media playback for the device as a whole.
Which may indicate that an implementation may use GMCS to represent all media players with GMCS and
not a specific media player as stated above. In the case where a device does not have any MCS
instances and only GMCS, then GMCS will point to a generic instance.
The Zephyr implementation of MCS and GMCS is incomplete,
and currently only supports instantiating a single instance that can either be an MCS or GMCS.
This means that the implementation is neither complete nor spec-compliant.
Difference between GTBS and GMCS
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The definitions and implementations of GTBS and GMCS as stated above are notably different.
GTBS works as a union between the other TBS instances (if any),
and GMCS works as a pointer to a specific MCS instance (if any).
This effectively means that a simple Call Control Client can control all calls just using GTBS,
but a Media Control Client may only be able to control a single player using GMCS.
Coordinated Sets
----------------
Coordinated Sets is implemented by the Coordinated Sets Identification Profile
(CSIP).
The CSIP implementation supports the following roles
* Coordinated Set Identification Service (CSIP) Set Member
* Coordinated Set Identification Service (CSIP) Set Coordinator
The API reference for media control can be found in
:ref:`Bluetooth Coordinated Sets <bluetooth_coordinated_sets>`.
Specification correctness and data location
-------------------------------------------
The implementations are designed to ensure specification compliance as much as possible.
When a specification introduces a requirement with e.g. a **shall** then the implementation should
attempt to ensure that this requirement is always followed.
Depending on the context of this,
the implementation ensures this by rejecting invalid parameters from the application,
or from the remote devices.
Some requirements from the specifications are not or can not be handled by the stack itself for
various reasons.
One reason when the stack cannot handle a requirement is if the data related to the requirement is
exclusively controlled by the application.
An example of this is the advertising data,
where multiple service have requirements for what to advertise and when,
but where both the advertising state and data is exclusively controlled by the application.
Oppositely there are also requirements from the specification,
where the data related to the requirement is exclusively controlled by the stack.
An example of this is the Volume Control Service (VCS) state,
where the specifications mandata that the VCP Volume Renderer (VCS server) modify the values
without a choice,
e.g. when setting the absolutely volume.
In cases like this the application is only notified about the change with a callback,
but cannot reject the request (the stack will reject any invalid requests).
Generally when the data is simple (like the VCS state which only take up a few bytes),
the data is kept in and controlled by the stack,
as this can ensure that the requirements can be handled by the stack,
making it easier to use a profile role correctly.
When the data is more complex (e.g. the PAC records),
the data may be kept by the application and the stack only contains a reference to it.
When the data is very application specific (e.g. advertising data),
the data is kept in and controlled by the application.
As a rule of thumb, the return types of the callbacks for each profile implementation indicate
whether the data is controlled by the stack or the application.
For example all the callbacks for the VCP Volume Renderer have the return type of `void`,
but the return type of the BAP Unicast Server callbacks are `int`,
indicating that the application not only controls a lot of the Unicast Server data,
but can also reject the requests.
The choice of what the return type of the callbacks often depend on the specifications,
and how much control the role has in a given context.
Things worth knowing or considering when using LE Audio
=======================================================
This section describes a few tings to consider when contributing to or using LE Audio in Zephyr.
The things described by this section are not unique to Zephyr as they are defined by the
specifications.
Security requirements
---------------------
All LE Audio services require Security Level 2 but where the key must be 128-bit and derived via an
OOB method or via LE Secure connections.
There is no Core-spec defined way of reporting this in GATT,
as ATT does not have a specific error code for missing OOB method or LE Secure Connections
(although there is a way to report wrong key size).
In Zephyr we do not force the device to always use these, as a device that uses LE Audio may also
use other profiles and services that do not require such security.
We guard all access to services using a custom security check implemented in
:zephyr_file:`subsys/bluetooth/audio/audio.c`, where all LE Audio services must use the
internal `BT_AUDIO_CHRC` macro for proper security verification.
Access to the LTK for encrypted SIRKs in CSIS
---------------------------------------------
The Coordinated Set Identification Service (CSIS) may encrypt the SIRK (set identity resolving key).
The process of encrypting the SIRK requires the LTK as the encryption key,
which is typically not exposed to higher layer implementations such as CSIS.
This does not have any effect on the security though.
MTU requirements
----------------
The Basic Audio Profile (BAP) has a requirement that both sides shall support a minimum ATT_MTU of
at least 64 on the unenhanced ATT bearer or at least one enhanced ATT bearer.
The requirement comes from the preferred (or sometimes mandatory) use of GATT Write Without
Response, and where support for Write Long Characteristic Value is optional in most cases.
If a ASCS device supports values larger than the minimum ATT_MTU of 64 octets, then it shall support
Read long Characteristic Value by setting :kconfig:option:`CONFIG_BT_ATT_PREPARE_COUNT` to a
non-zero value.
LE Audio resources
##################
This section contains some links and reference to resources that are useful for either contributors
to the LE Audio Stack in Zephyr, LE Audio application developers or both.
The LE audio channel on Discord
*******************************
Zephyr has a specific Discord channel for LE Audio development, which is open to all.
Find it here at path_to_url or simply
search for `ble-audio` from within Discord.
Since the `ble-audio` channel is open for all,
we cannot discuss any specifications that are in development in that channel.
For discussions that require a Bluetooth SIG membership we refer to the `bluetooth-sig`
Discord channel found at path_to_url
Zephyr weekly meetings
**********************
Anyone who is a Bluetooth SIG member and a Zephyr member can join the weekly meetings where we
discuss and plan the development of LE Audio in Zephyr. You can find the time of the meetings by
joining the Bluetooth-sig group at path_to_url
Github project
**************
LE Audio in Zephyr has its own Github project available at
path_to_url
The project is mostly automated,
and the LE Audio contributors almost only rely on the automated workflows
to present the state of development.
Anyone is able to pick any of the open issues and work on it.
If you cannot assign the issue to yourself,
please leave a comment in the issue itself or ping the Discord channel for help.
Bluetooth SIG errata for LE Audio
*********************************
There are many specifications for LE Audio,
and several of them are still being updated and developed.
To get an overview of the errata for the LE Audio specifications you can visit
* Generic Audio (GA) errata path_to_url
* Hearing Aid (HA) errata path_to_url
* Audio, Telephony and Automotive (ATA) errata path_to_url
Access to errata requires a Bluetooth SIG membership.
Bluetooth SIG working groups for LE Audio
*****************************************
There are 3 working groups in the Bluetooth SIG related to LE Audio:
* Generic Audio (GA) path_to_url
* Hearing Aid (HA) path_to_url
* Audio, Telephony, and Automotive (ATA) path_to_url
By joining these groups you will also get emails from their respective mailing lists,
where multiple questions and discussions are handled.
The working groups also have scheduled weekly meetings,
where issues and the development of the specifications are handled.
Access to the Bluetooth SIG working groups requires a Bluetooth SIG membership.
The LE Audio Book
*****************
There is a free ebook on LE Audio at path_to_url
The book was released in January 2022,
and thus before some of the specifications were finalized,
but also before some of the released updates to the specifications.
Nevertheless the book still provides a good explanation for many of the concepts and ideas,
but please refer to the individual specifications for technical information.
Bluetooth SIG informational papers, reports and guides
******************************************************
The Bluetooth SIG occasionally release new informational papers, report and guides.
These can be found at path_to_url
Here you will also find the aforementioned LE Audio book, among many other good resources.
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/audio/bluetooth-le-audio-arch.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 13,551 |
```restructuredtext
Bluetooth: Common Audio Profile Shell
#####################################
This document describes how to run the Common Audio Profile functionality.
CAP Acceptor
************
The Acceptor will typically be a resource-constrained device, such as a headset, earbud or hearing
aid. The Acceptor can initialize a Coordinated Set Identification Service instance, if it is in
a pair with one or more other CAP Acceptors.
Using the CAP Acceptor
======================
When the Bluetooth stack has been initialized (:code:`bt init`), the Acceptor can be registered by
calling :code:`cap_acceptor init`, which will register the CAS and CSIS services, as well as
register callbacks.
.. code-block:: console
cap_acceptor --help
cap_acceptor - Bluetooth CAP acceptor shell commands
Subcommands:
init :Initialize the service and register callbacks [size <int>]
[rank <int>] [not-lockable] [sirk <data>]
lock :Lock the set
release :Release the set [force]
sirk :Set the currently used SIRK <sirk>
get_sirk :Get the currently used SIRK
sirk_rsp :Set the response used in SIRK requests <accept, accept_enc,
reject, oob>
Besides initializing the CAS and the CSIS, there are also commands to lock and release the CSIS
instance, as well as printing and modifying access to the SIRK of the CSIS.
Setting a new SIRK
------------------
This command can modify the currently used SIRK. To get the new RSI to advertise on air,
:code:`bt adv-data` or :code:`bt advertise` must be called again to set the new advertising data.
If :code:`CONFIG_BT_CSIP_SET_MEMBER_NOTIFIABLE` is enabled, this will also notify connected
clients.
.. code-block:: console
uart:~$ cap_acceptor sirk 00112233445566778899aabbccddeeff
SIRK updated
Getting the current SIRK
------------------------
This command can get the currently used SIRK.
.. code-block:: console
uart:~$ cap_acceptor get_sirk
SIRK
36 04 9a dc 66 3a a1 a1 |6...f:..
1d 9a 2f 41 01 73 3e 01 |../A.s>.
CAP Initiator
*************
The Initiator will typically be a resource-rich device, such as a phone or PC. The Initiator can
discover CAP Acceptors's CAS and optional CSIS services. The CSIS service can be read to provide
information about other CAP Acceptors in the same Coordinated Set. The Initiator can execute
stream control procedures on sets of devices, either ad-hoc or Coordinated, and thus provides an
easy way to setup multiple streams on multiple devices at once.
Using the CAP Initiator
=======================
When the Bluetooth stack has been initialized (:code:`bt init`), the Initiator can discover CAS and
the optionally included CSIS instance by calling (:code:`cap_initiator discover`).
The CAP initiator also supports broadcast audio as a source.
.. code-block:: console
uart:~$ cap_initiator --help
cap_initiator - Bluetooth CAP initiator shell commands
Subcommands:
discover : Discover CAS
unicast_start : Unicast Start [csip] [sinks <cnt> (default 1)] [sources
<cnt> (default 1)] [conns (<cnt> | all) (default 1)]
unicast_list : Unicast list streams
unicast_update : Unicast Update <all | stream [stream [stream...]]>
unicast_stop : Unicast stop streams [stream [stream [stream...]]] (all by default)
unicast_cancel : Unicast cancel current procedure
ac_1 : Unicast audio configuration 1
ac_2 : Unicast audio configuration 2
ac_3 : Unicast audio configuration 3
ac_4 : Unicast audio configuration 4
ac_5 : Unicast audio configuration 5
ac_6_i : Unicast audio configuration 6(i)
ac_6_ii : Unicast audio configuration 6(ii)
ac_7_i : Unicast audio configuration 7(i)
ac_7_ii : Unicast audio configuration 7(ii)
ac_8_i : Unicast audio configuration 8(i)
ac_8_ii : Unicast audio configuration 8(ii)
ac_9_i : Unicast audio configuration 9(i)
ac_9_ii : Unicast audio configuration 9(ii)
ac_10 : Unicast audio configuration 10
ac_11_i : Unicast audio configuration 11(i)
ac_11_ii : Unicast audio configuration 11(ii)
broadcast_start :
broadcast_update : <meta>
broadcast_stop :
broadcast_delete :
ac_12 : Broadcast audio configuration 12
ac_13 : Broadcast audio configuration 13
ac_14 : Broadcast audio configuration 14
Before being able to perform any stream operation, the device must also perform the
:code:`bap discover` operation to discover the ASEs and PAC records. The :code:`bap init`
command also needs to be called.
When connected
--------------
Discovering CAS and CSIS on a device:
.. code-block:: console
uart:~$ cap_initiator discover
discovery completed with CSIS
Discovering ASEs and PAC records on a device:
.. code-block:: console
uart:~$ bap discover
conn 0x81cc260: #0: codec 0x81d5b28 dir 0x01
codec 0x06 cid 0x0000 vid 0x0000 count 5
data #0: type 0x01 len 2
00000000: f5 |. |
data #1: type 0x02 len 1
data #2: type 0x03 len 1
data #3: type 0x04 len 4
00000000: 1e 00 f0 |... |
data #4: type 0x05 len 1
meta #0: type 0x01 len 2
00000000: 06 |. |
dir 1 loc 1
snk ctx 6 src ctx 6
Conn: 0x81cc260, Sink #0: ep 0x81e4248
Conn: 0x81cc260, Sink #1: ep 0x81e46a8
conn 0x81cc260: #0: codec 0x81d5f00 dir 0x02
codec 0x06 cid 0x0000 vid 0x0000 count 5
data #0: type 0x01 len 2
00000000: f5 |. |
data #1: type 0x02 len 1
data #2: type 0x03 len 1
data #3: type 0x04 len 4
00000000: 1e 00 f0 |... |
data #4: type 0x05 len 1
meta #0: type 0x01 len 2
00000000: 06 |. |
dir 2 loc 1
snk ctx 6 src ctx 6
Conn: 0x81cc260, Source #0: ep 0x81e5c88
Conn: 0x81cc260, Source #1: ep 0x81e60e8
Discover complete: err 0
Both of the above commands should be done for each device that you want to use in the set.
To use multiple devices, simply connect to more and then use :code:`bt select` the device to execute
the commands on.
Once all devices have been connected and the respective discovery commands have been called, the
:code:`cap_initiator unicast_start` command can be used to put one or more streams into the
streaming state.
.. code-block:: console
uart:~$ cap_initiator unicast_start sinks 1 sources 0 conns all
Setting up 1 sinks and 0 sources on each (2) conn
Starting 1 streams
Unicast start completed
To stop all the streams that has been started, the :code:`cap_initiator unicast_stop` command can be
used.
.. code-block:: console
uart:~$ cap_initiator unicast_stop all
Unicast stop completed
When doing broadcast
--------------------
To start a broadcast as the CAP initiator there are a few steps to be done:
1. Create and configure an extended advertising set with periodic advertising
2. Create and configure a broadcast source
3. Setup extended and periodic advertising data
The following commands will setup a CAP broadcast source using the 16_2_1 preset (defined by BAP):
.. code-block:: console
bt init
bap init
bt adv-create nconn-nscan ext-adv name
bt per-adv-param
bap preset broadcast 16_2_1
cap_initiator ac_12
bt adv-data discov
bt per-adv-data
cap_initiator broadcast_start
The broadcast source is created by the :code:`cap_initiator ac_12`, :code:`cap_initiator ac_13`,
and :code:`cap_initiator ac_14` commands, configuring the broadcast source for the defined audio
configurations from BAP. The broadcast source can then be stopped with
:code:`cap_initiator broadcast_stop` or deleted with :code:`cap_initiator broadcast_delete`.
The metadata of the broadcast source can be updated at any time, including when it is already
streaming. To update the metadata the :code:`cap_initiator broadcast_update` command can be used.
The command takes an array of data, and the only requirement (besides having valid data) is that the
streaming context shall be set. For example to set the streaming context to media, the command can
be used as
.. code-block:: console
cap_initiator broadcast_update 03020400
CAP Broadcast source updated with new metadata. Update the advertised base via `bt per-adv-data`
bt per-adv-data
The :code:`bt per-adv-data` command should be used afterwards to update the data is the advertised
BASE. The data must be little-endian, so in the above example the metadata :code:`03020400` is
setting the metadata entry with :code:`03` as the length, :code:`02` as the type (streaming context)
and :code:`0400` as the value :code:`BT_AUDIO_CONTEXT_TYPE_MEDIA`
(which has the numeric value of 0x).
CAP Commander
*************
The Commander will typically be a either co-located with a CAP Initiator or be on a separate
resource-rich mobile device, such as a phone or smartwatch. The Commander can
discover CAP Acceptors's CAS and optional CSIS services. The CSIS service can be read to provide
information about other CAP Acceptors in the same Coordinated Set. The Commander can provide
information about broadcast sources to CAP Acceptors or coordinate capture and rendering information
such as mute or volume states.
Using the CAP Commander
=======================
When the Bluetooth stack has been initialized (:code:`bt init`), the Commander can discover CAS and
the optionally included CSIS instance by calling (:code:`cap_commander discover`).
.. code-block:: console
cap_commander --help
cap_commander - Bluetooth CAP commander shell commands
Subcommands:
discover :Discover CAS
cancel :CAP commander cancel current procedure
change_volume :Change volume on all connections <volume>
change_volume_mute :Change volume mute state on all connections <mute>
change_volume_offset :Change volume offset per connection <volume_offset
[volume_offset [...]]>
change_microphone_mute :Change microphone mute state on all connections <mute>
change_microphone_gain :Change microphone gain per connection <gain
[gain [...]]>
Before being able to perform any stream operation, the device must also perform the
:code:`bap discover` operation to discover the ASEs and PAC records. The :code:`bap init`
command also needs to be called.
When connected
--------------
Discovering CAS and CSIS on a device
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. code-block:: console
uart:~$ cap_commander discover
discovery completed with CSIS
Setting the volume on all connected devices
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. code-block:: console
uart:~$ vcp_vol_ctlr discover
VCP discover done with 1 VOCS and 1 AICS
uart:~$ cap_commander change_volume 15
uart:~$ cap_commander change_volume 15
Setting volume to 15 on 2 connections
VCP volume 15, mute 0
VCP vol_set done
VCP volume 15, mute 0
VCP flags 0x01
VCP vol_set done
Volume change completed
Setting the volume offset on one or more devices
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The offsets are set by connection index, so connection index 0 gets the first offset,
and index 1 gets the second offset, etc.:
.. code-block:: console
uart:~$ bt connect <device A>
Connected: <device A>
uart:~$ cap_commander discover
discovery completed with CSIS
uart:~$ vcp_vol_ctlr discover
VCP discover done with 1 VOCS and 1 AICS
uart:~$
uart:~$ bt connect <device B>
Connected: <device B>
uart:~$ cap_commander discover
discovery completed with CSIS
uart:~$ vcp_vol_ctlr discover
VCP discover done with 1 VOCS and 1 AICS
uart:~$
uart:~$ cap_commander change_volume_offset 10
Setting volume offset on 1 connections
VOCS inst 0x200140a4 offset 10
Offset set for inst 0x200140a4
Volume offset change completed
uart:~$
uart:~$ cap_commander change_volume_offset 10 15
Setting volume offset on 2 connections
Offset set for inst 0x200140a4
VOCS inst 0x20014188 offset 15
Offset set for inst 0x20014188
Volume offset change completed
Setting the volume mute on all connected devices
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. code-block:: console
uart:~$ bt connect <device A>
Connected: <device A>
uart:~$ cap_commander discover
discovery completed with CSIS
uart:~$ vcp_vol_ctlr discover
VCP discover done with 1 VOCS and 1 AICS
uart:~$
uart:~$ bt connect <device B>
Connected: <device B>
uart:~$ cap_commander discover
discovery completed with CSIS
uart:~$ vcp_vol_ctlr discover
VCP discover done with 1 VOCS and 1 AICS
uart:~$
uart:~$ cap_commander change_volume_mute 1
Setting volume mute to 1 on 2 connections
VCP volume 100, mute 1
VCP mute done
VCP volume 100, mute 1
VCP mute done
Volume mute change completed
uart:~$ cap_commander change_volume_mute 0
Setting volume mute to 0 on 2 connections
VCP volume 100, mute 0
VCP unmute done
VCP volume 100, mute 0
VCP unmute done
Volume mute change completed
Setting the microphone mute on all connected devices
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. code-block:: console
uart:~$ bt connect <device A>
Connected: <device A>
uart:~$ cap_commander discover
discovery completed with CSIS
uart:~$ micp_mic_ctlr discover
MICP discover done with 1 VOCS and 1 AICS
uart:~$
uart:~$ bt connect <device B>
Connected: <device B>
uart:~$ cap_commander discover
discovery completed with CSIS
uart:~$ micp_mic_ctlr discover
MICP discover done with 1 VOCS and 1 AICS
uart:~$
uart:~$ cap_commander change_microphone_mute 1
Setting microphone mute to 1 on 2 connections
MICP microphone 100, mute 1
MICP mute done
MICP microphone 100, mute 1
MICP mute done
Microphone mute change completed
uart:~$ cap_commander change_microphone_mute 0
Setting microphone mute to 0 on 2 connections
MICP microphone 100, mute 0
MICP unmute done
MICP microphone 100, mute 0
MICP unmute done
Microphone mute change completed
Setting the microphone gain on one or more devices
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The gains are set by connection index, so connection index 0 gets the first offset,
and index 1 gets the second offset, etc.:
.. code-block:: console
uart:~$ bt connect <device A>
Connected: <device A>
uart:~$ cap_commander discover
discovery completed with CSIS
uart:~$ micp_mic_ctlr discover
MICP discover done with 1 AICS
uart:~$
uart:~$ bt connect <device B>
Connected: <device B>
uart:~$ cap_commander discover
discovery completed with CSIS
uart:~$ micp_mic_ctlr discover
MICP discover done with 1 AICS
uart:~$
uart:~$ cap_commander change_microphone_gain 10
Setting microphone gain on 1 connections
AICS inst 0x200140a4 state gain 10, mute 0, mode 0
Gain set for inst 0x200140a4
Microphone gain change completed
uart:~$
uart:~$ cap_commander change_microphone_gain 10 15
Setting microphone gain on 2 connections
Gain set for inst 0x200140a4
AICS inst 0x20014188 state gain 15, mute 0, mode 0
Gain set for inst 0x20014188
Microphone gain change completed
Starting a broadcast reception
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. code-block:: console
uart:~$ bt connect <device A>
Connected: <device A>
uart:~$ bap_init
uart:~$ cap_commander discover
discovery completed with CSIS
uart:~$ bap_broadcast_assistant discover
BASS discover done with 1 recv states
uart:~$ cap_commander broadcast_reception_start <device B> 0 4
Starting broadcast reception on 1 connection(s)
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/audio/shell/cap.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 4,341 |
```restructuredtext
.. _introducing_zephyr:
Introduction
############
The Zephyr OS is based on a small-footprint kernel designed for use on
resource-constrained and embedded systems: from simple embedded environmental
sensors and LED wearables to sophisticated embedded controllers, smart
watches, and IoT wireless applications.
The Zephyr kernel supports multiple architectures, including:
- ARCv2 (EM and HS) and ARCv3 (HS6X)
- ARMv6-M, ARMv7-M, and ARMv8-M (Cortex-M)
- ARMv7-A and ARMv8-A (Cortex-A, 32- and 64-bit)
- ARMv7-R, ARMv8-R (Cortex-R, 32- and 64-bit)
- Intel x86 (32- and 64-bit)
- MIPS (MIPS32 Release 1 specification)
- NIOS II Gen 2
- RISC-V (32- and 64-bit)
- SPARC V8
- Tensilica Xtensa
The full list of supported boards based on these architectures can be found :ref:`here <boards>`.
In the context of the Zephyr OS, a :term:`subsystem` refers to a logically distinct
part of the operating system that handles specific functionality or provides
certain services. Subsystems can include components such as networking,
file systems, device driver classes, power management, and communication protocols,
among others. Each subsystem is designed to be modular and can be configured,
customized, and extended to meet the requirements of different embedded
applications.
Licensing
*********
Zephyr is permissively licensed using the `Apache 2.0 license`_
(as found in the ``LICENSE`` file in the
project's `GitHub repo`_). There are some
imported or reused components of the Zephyr project that use other licensing,
as described in :ref:`Zephyr_Licensing`.
.. _Apache 2.0 license:
path_to_url
.. _GitHub repo: path_to_url
Distinguishing Features
***********************
Zephyr offers a large and ever growing number of features including:
**Extensive suite of Kernel services**
Zephyr offers a number of familiar services for development:
* *Multi-threading Services* for cooperative, priority-based,
non-preemptive, and preemptive threads with optional round robin
time-slicing. Includes POSIX pthreads compatible API support.
* *Interrupt Services* for compile-time registration of interrupt handlers.
* *Memory Allocation Services* for dynamic allocation and freeing of
fixed-size or variable-size memory blocks.
* *Inter-thread Synchronization Services* for binary semaphores,
counting semaphores, and mutex semaphores.
* *Inter-thread Data Passing Services* for basic message queues, enhanced
message queues, and byte streams.
* *Power Management Services* such as overarching, application or
policy-defined, System Power Management and fine-grained, driver-defined,
Device Power Management.
**Multiple Scheduling Algorithms**
Zephyr provides a comprehensive set of thread scheduling choices:
* Cooperative and Preemptive Scheduling
* Earliest Deadline First (EDF)
* Meta IRQ scheduling implementing "interrupt bottom half" or "tasklet"
behavior
* Timeslicing: Enables time slicing between preemptible threads of equal
priority
* Multiple queuing strategies:
* Simple linked-list ready queue
* Red/black tree ready queue
* Traditional multi-queue ready queue
.. _zephyr_intro_configurability:
**Highly configurable / Modular for flexibility**
Allows an application to incorporate *only* the capabilities it needs as it
needs them, and to specify their quantity and size.
**Cross Architecture**
Supports a wide variety of :ref:`supported boards<boards>` with different CPU
architectures and developer tools. Contributions have added support
for an increasing number of SoCs, platforms, and drivers.
**Memory Protection**
Implements configurable architecture-specific stack-overflow protection,
kernel object and device driver permission tracking, and thread isolation
with thread-level memory protection on x86, ARC, and ARM architectures,
userspace, and memory domains.
For platforms without MMU/MPU and memory constrained devices, supports
combining application-specific code with a custom kernel to create a
monolithic image that gets loaded and executed on a system's hardware. Both
the application code and kernel code execute in a single shared address
space.
**Compile-time resource definition**
Allows system resources to be defined at compile-time, which reduces code
size and increases performance for resource-limited systems.
**Optimized Device Driver Model**
Provides a consistent device model for configuring the drivers that are part
of the platform/system and a consistent model for initializing all the
drivers configured into the system and allows the reuse of drivers across
platforms that have common devices/IP blocks.
**Devicetree Support**
Use of :ref:`devicetree <dt-guide>` to describe hardware.
Information from devicetree is used to create the application image.
**Native Networking Stack supporting multiple protocols**
Networking support is fully featured and optimized, including LwM2M and BSD
sockets compatible support. OpenThread support (on Nordic chipsets) is also
provided - a mesh network designed to securely and reliably connect hundreds
of products around the home.
**Bluetooth Low Energy 5.0 support**
Bluetooth 5.0 compliant (ESR10) and Bluetooth Low Energy Controller support
(LE Link Layer). Includes Bluetooth Mesh and a Bluetooth qualification-ready
Bluetooth controller.
* Generic Access Profile (GAP) with all possible LE roles
* Generic Attribute Profile (GATT)
* Pairing support, including the Secure Connections feature from Bluetooth
4.2
* Clean HCI driver abstraction
* Raw HCI interface to run Zephyr as a Controller instead of a full Host
stack
* Verified with multiple popular controllers
* Highly configurable
Mesh Support:
* Relay, Friend Node, Low-Power Node (LPN) and GATT Proxy features
* Both Provisioning bearers supported (PB-ADV & PB-GATT)
* Highly configurable, fitting in devices with at least 16k RAM
**Native Linux, macOS, and Windows Development**
A command-line CMake build environment runs on popular developer OS
systems. A native port (:ref:`native_sim <native_sim>`) lets you build and run Zephyr as a native
application on Linux, aiding development and testing.
**Virtual File System Interface with ext2, FatFs, and LittleFS Support**
ext2, LittleFS and FatFS support; FCB (Flash Circular Buffer) for memory constrained
applications.
**Powerful multi-backend logging Framework**
Support for log filtering, object dumping, panic mode, multiple backends
(memory, networking, filesystem, console, ...) and integration with the shell
subsystem.
**User friendly and full-featured Shell interface**
A multi-instance shell subsystem with user-friendly features such as
autocompletion, wildcards, coloring, metakeys (arrows, backspace, ctrl+u,
etc.) and history. Support for static commands and dynamic sub-commands.
**Settings on non-volatile storage**
The settings subsystem gives modules a way to store persistent per-device
configuration and runtime state. Settings items are stored as key-value pair
strings.
**Non-volatile storage (NVS)**
NVS allows storage of binary blobs, strings, integers, longs, and any
combination of these.
**Native port**
:ref:`Native sim <native_sim>` allows running Zephyr as a Linux application with support
for various subsystems and networking.
.. include:: ../../README.rst
:start-after: start_include_here
Fundamental Terms and Concepts
******************************
See :ref:`glossary`
``` | /content/code_sandbox/doc/introduction/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,691 |
```python
# File intentionally empty
``` | /content/code_sandbox/doc/_extensions/zephyr/__init__.py | python | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 7 |
```python
"""
Manifest Revisions Table
========================
This extension allows to render a table containing the revisions of the projects
present in a manifest file.
Usage
*****
This extension introduces a new directive: ``manifest-projects-table``. It can
be used in the code as::
.. manifest-projects-table::
:filter: active
where the ``:filter:`` option can have the following values: active, inactive, all.
Options
*******
- ``manifest_projects_table_manifest``: Path to the manifest file.
"""
import re
from typing import Any, Dict, List
from docutils import nodes
from docutils.parsers.rst import directives
from sphinx.application import Sphinx
from sphinx.util.docutils import SphinxDirective
from west.manifest import Manifest
__version__ = "0.1.0"
class ManifestProjectsTable(SphinxDirective):
"""Manifest revisions table."""
option_spec = {
"filter": directives.unchanged,
}
@staticmethod
def rev_url(base_url: str, rev: str) -> str:
"""Return URL for a revision.
Notes:
Revision format is assumed to be a git hash or a tag. URL is
formatted assuming a GitHub base URL.
Args:
base_url: Base URL of the repository.
rev: Revision.
Returns:
URL for the revision.
"""
if re.match(r"^[0-9a-f]{40}$", rev):
return f"{base_url}/commit/{rev}"
return f"{base_url}/releases/tag/{rev}"
def run(self) -> List[nodes.Element]:
active_filter = self.options.get("filter", None)
manifest = Manifest.from_file(self.env.config.manifest_projects_table_manifest)
projects = []
for project in manifest.projects:
if project.name == "manifest":
continue
if active_filter == 'active' and manifest.is_active(project):
projects.append(project)
elif active_filter == 'inactive' and not manifest.is_active(project):
projects.append(project)
elif active_filter == 'all' or active_filter is None:
projects.append(project)
# build table
table = nodes.table()
tgroup = nodes.tgroup(cols=2)
tgroup += nodes.colspec(colwidth=1)
tgroup += nodes.colspec(colwidth=1)
table += tgroup
thead = nodes.thead()
tgroup += thead
row = nodes.row()
thead.append(row)
entry = nodes.entry()
entry += nodes.paragraph(text="Project")
row += entry
entry = nodes.entry()
entry += nodes.paragraph(text="Revision")
row += entry
rows = []
for project in projects:
row = nodes.row()
rows.append(row)
entry = nodes.entry()
entry += nodes.paragraph(text=project.name)
row += entry
entry = nodes.entry()
par = nodes.paragraph()
par += nodes.reference(
project.revision,
project.revision,
internal=False,
refuri=ManifestProjectsTable.rev_url(project.url, project.revision),
)
entry += par
row += entry
tbody = nodes.tbody()
tbody.extend(rows)
tgroup += tbody
return [table]
def setup(app: Sphinx) -> Dict[str, Any]:
app.add_config_value("manifest_projects_table_manifest", None, "env")
directives.register_directive("manifest-projects-table", ManifestProjectsTable)
return {
"version": __version__,
"parallel_read_safe": True,
"parallel_write_safe": True,
}
``` | /content/code_sandbox/doc/_extensions/zephyr/manifest_projects_table.py | python | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 770 |
```restructuredtext
.. _bluetooth_shell_audio:
Bluetooth: Basic Audio Profile
##############################
This document describes how to run Basic Audio Profile functionality which
includes:
- Capabilities and Endpoint discovery
- Audio Stream Endpoint procedures
Commands
********
.. code-block:: console
bap --help
Subcommands:
init
select_broadcast : <stream>
create_broadcast : [preset <preset_name>] [enc <broadcast_code>]
start_broadcast :
stop_broadcast :
delete_broadcast :
create_broadcast_sink : 0x<broadcast_id>
sync_broadcast : 0x<bis_index> [[[0x<bis_index>] 0x<bis_index>] ...]
[bcode <broadcast code> || bcode_str <broadcast code
as string>]
stop_broadcast_sink : Stops broadcast sink
term_broadcast_sink :
discover : [dir: sink, source]
config : <direction: sink, source> <index> [loc <loc_bits>]
[preset <preset_name>]
stream_qos : interval [framing] [latency] [pd] [sdu] [phy] [rtn]
qos : Send QoS configure for Unicast Group
enable : [context]
connect : Connect the CIS of the stream
stop
list
print_ase_info : Print ASE info for default connection
metadata : [context]
start
disable
release
select_unicast : <stream>
preset : <sink, source, broadcast> [preset]
[config
[freq <frequency>]
[dur <duration>]
[chan_alloc <location>]
[frame_len <frame length>]
[frame_blks <frame blocks>]]
[meta
[pref_ctx <context>]
[stream_ctx <context>]
[program_info <program info>]
[lang <ISO 639-3 lang>]
[ccid_list <ccids>]
[parental_rating <rating>]
[program_info_uri <URI>]
[audio_active_state <state>]
[bcast_flag]
[extended <meta>]
[vendor <meta>]]
send : Send to Audio Stream [data]
bap_stats : Sets or gets the statistics reporting interval in # of
packets
set_location : <direction: sink, source> <location bitmask>
set_context : <direction: sink, source><context bitmask> <type:
supported, available>
.. csv-table:: State Machine Transitions
:header: "Command", "Depends", "Allowed States", "Next States"
:widths: auto
"init","none","any","none"
"discover","init","any","any"
"config","discover","idle/codec-configured/qos-configured","codec-configured"
"qos","config","codec-configured/qos-configured","qos-configured"
"enable","qos","qos-configured","enabling"
"connect","qos/enable","qos-configured/enabling","qos-configured/enabling"
"[start]","enable/connect","enabling","streaming"
"disable","enable", "enabling/streaming","disabling"
"[stop]","disable","disabling","qos-configure/idle"
"release","config","any","releasing/codec-configure/idle"
"list","none","any","none"
"select_unicast","none","any","none"
"send","enable","streaming","none"
Example Central
***************
Connect and establish a sink stream:
.. code-block:: console
uart:~$ bt init
uart:~$ bap init
uart:~$ bt connect <address>
uart:~$ gatt exchange-mtu
uart:~$ bap discover sink
uart:~$ bap config sink 0
uart:~$ bap qos
uart:~$ bap enable
uart:~$ bap connect
Connect and establish a source stream:
.. code-block:: console
uart:~$ bt init
uart:~$ bap init
uart:~$ bt connect <address>
uart:~$ gatt exchange-mtu
uart:~$ bap discover source
uart:~$ bap config source 0
uart:~$ bap qos
uart:~$ bap enable
uart:~$ bap connect
uart:~$ bap start
Disconnect and release:
.. code-block:: console
uart:~$ bap disable
uart:~$ bap release
Example Peripheral
******************
Listen:
.. code-block:: console
uart:~$ bt init
uart:~$ bap init
uart:~$ bt advertise on
Server initiated disable and release:
.. code-block:: console
uart:~$ bap disable
uart:~$ bap release
Example Broadcast Source
************************
Create and establish a broadcast source stream:
.. code-block:: console
uart:~$ bap init
uart:~$ bap create_broadcast
uart:~$ bap start_broadcast
Stop and release a broadcast source stream:
.. code-block:: console
uart:~$ bap stop_broadcast
uart:~$ bap delete_broadcast
Example Broadcast Sink
**********************
Scan for and establish a broadcast sink stream.
The command :code:`bap create_broadcast_sink` will either use existing periodic advertising
sync (if exist) or start scanning and sync to the periodic advertising with the provided broadcast
ID before syncing to the BIG.
.. code-block:: console
uart:~$ bap init
uart:~$ bap create_broadcast_sink 0xEF6716
No PA sync available, starting scanning for broadcast_id
Found broadcaster with ID 0xEF6716 and addr 03:47:95:75:C0:08 (random) and sid 0x00
Attempting to PA sync to the broadcaster
PA synced to broadcast with broadcast ID 0xEF6716
Attempting to sync to the BIG
Received BASE from sink 0x20019080:
Presentation delay: 40000
Subgroup count: 1
Subgroup 0x20024182:
Codec Format: 0x06
Company ID : 0x0000
Vendor ID : 0x0000
codec cfg id 0x06 cid 0x0000 vid 0x0000 count 16
Codec specific configuration:
Sampling frequency: 16000 Hz (3)
Frame duration: 10000 us (1)
Channel allocation:
Front left (0x00000001)
Front right (0x00000002)
Octets per codec frame: 40
Codec specific metadata:
Streaming audio contexts:
Unspecified (0x0001)
BIS index: 0x01
codec cfg id 0x06 cid 0x0000 vid 0x0000 count 6
Codec specific configuration:
Channel allocation:
Front left (0x00000001)
Codec specific metadata:
None
BIS index: 0x02
codec cfg id 0x06 cid 0x0000 vid 0x0000 count 6
Codec specific configuration:
Channel allocation:
Front right (0x00000002)
Codec specific metadata:
None
Possible indexes: 0x01 0x02
Sink 0x20019110 is ready to sync without encryption
uart:~$ bap sync_broadcast 0x01
Syncing to encrypted broadcast
------------------------------
If the broadcast is encrypted, the broadcast code can be entered with the :code:`bap sync_broadcast`
command as such:
.. code-block:: console
Sink 0x20019110 is ready to sync with encryption
uart:~$ bap sync_broadcast 0x01 bcode 0102030405060708090a0b0c0d0e0f
The broadcast code can be 1-16 values, either as a string or a hexadecimal value.
.. code-block:: console
Sink 0x20019110 is ready to sync with encryption
uart:~$ bap sync_broadcast 0x01 bcode_str thisismycode
Stop and release a broadcast sink stream:
.. code-block:: console
uart:~$ bap stop_broadcast_sink
uart:~$ bap term_broadcast_sink
Init
****
The :code:`init` command register local PAC records which are necessary to be
able to configure stream and properly manage capabilities in use.
.. csv-table:: State Machine Transitions
:header: "Depends", "Allowed States", "Next States"
:widths: auto
"none","any","none"
.. code-block:: console
uart:~$ bap init
Discover PAC(s) and ASE(s)
**************************
Once connected the :code:`discover` command discover PAC records and ASE
characteristics representing remote endpoints.
.. csv-table:: State Machine Transitions
:header: "Depends", "Allowed States", "Next States"
:widths: auto
"init","any","any"
.. note::
Use command :code:`gatt exchange-mtu` to make sure the MTU is configured
properly.
.. code-block:: console
uart:~$ gatt exchange-mtu
Exchange pending
Exchange successful
uart:~$ bap discover [type: sink, source]
uart:~$ bap discover sink
conn 0x2000b168: codec_cap 0x2001f8ec dir 0x02
codec cap id 0x06 cid 0x0000 vid 0x0000
Codec specific capabilities:
Supported sampling frequencies:
8000 Hz (0x0001)
11025 Hz (0x0002)
16000 Hz (0x0004)
22050 Hz (0x0008)
24000 Hz (0x0010)
32000 Hz (0x0020)
44100 Hz (0x0040)
48000 Hz (0x0080)
88200 Hz (0x0100)
96000 Hz (0x0200)
176400 Hz (0x0400)
192000 Hz (0x0800)
384000 Hz (0x1000)
Supported frame durations:
10 ms (0x02)
Supported channel counts:
1 channel (0x01)
Supported octets per codec frame counts:
Min: 40
Max: 120
Supported max codec frames per SDU: 1
Codec capabilities metadata:
Preferred audio contexts:
Conversational (0x0002)
Media (0x0004)
ep 0x81754e0
ep 0x81755d4
Discover complete: err 0
Select preset
*************
The :code:`preset` command can be used to either print the default preset
configuration or set a different one, it is worth noting that it doesn't change
any stream previously configured.
.. code-block:: console
uart:~$ bap preset
preset - <sink, source, broadcast> [preset]
[config
[freq <frequency>]
[dur <duration>]
[chan_alloc <location>]
[frame_len <frame length>]
[frame_blks <frame blocks>]]
[meta
[pref_ctx <context>]
[stream_ctx <context>]
[program_info <program info>]
[lang <ISO 639-3 lang>]
[ccid_list <ccids>]
[parental_rating <rating>]
[program_info_uri <URI>]
[audio_active_state <state>]
[bcast_flag]
[extended <meta>]
[vendor <meta>]]
uart:~$ bap preset sink
16_2_1
codec cfg id 0x06 cid 0x0000 vid 0x0000 count 16
Codec specific configuration:
Sampling frequency: 16000 Hz (3)
Frame duration: 10000 us (1)
Channel allocation:
Front left (0x00000001)
Front right (0x00000002)
Octets per codec frame: 40
Codec specific metadata:
Streaming audio contexts:
Game (0x0008)
QoS: interval 10000 framing 0x00 phy 0x02 sdu 40 rtn 2 latency 10 pd 40000
uart:~$ bap preset sink 32_2_1
32_2_1
codec cfg id 0x06 cid 0x0000 vid 0x0000 count 16
Codec specific configuration:
Sampling frequency: 32000 Hz (6)
Frame duration: 10000 us (1)
Channel allocation:
Front left (0x00000001)
Front right (0x00000002)
Octets per codec frame: 80
Codec specific metadata:
Streaming audio contexts:
Game (0x0008)
QoS: interval 10000 framing 0x00 phy 0x02 sdu 80 rtn 2 latency 10 pd 40000
Configure preset
****************
The :code:`bap preset` command can also be used to configure the preset used for the subsequent
commands. It is possible to add or set (or reset) any value. To reset the preset, the command can \
simply be run without the :code:`config` or :code:`meta` parameter. The parameters are using the
assigned numbers values.
.. code-block:: console
uart:~$ bap preset sink 32_2_1
32_2_1
codec cfg id 0x06 cid 0x0000 vid 0x0000 count 16
data #0: type 0x01 value_len 1
00000000: 06 |. |
data #1: type 0x02 value_len 1
00000000: 01 |. |
data #2: type 0x03 value_len 4
00000000: 03 00 00 00 |.... |
data #3: type 0x04 value_len 2
00000000: 50 00 |P. |
meta #0: type 0x02 value_len 2
00000000: 08 00 |.. |
QoS: interval 10000 framing 0x00 phy 0x02 sdu 80 rtn 2 latency 10 pd 40000
uart:~$ bap preset sink 32_2_1 config freq 10
32_2_1
codec cfg id 0x06 cid 0x0000 vid 0x0000 count 16
data #0: type 0x01 value_len 1
00000000: 0a |. |
data #1: type 0x02 value_len 1
00000000: 01 |. |
data #2: type 0x03 value_len 4
00000000: 03 00 00 00 |.... |
data #3: type 0x04 value_len 2
00000000: 50 00 |P. |
meta #0: type 0x02 value_len 2
00000000: 08 00 |.. |
QoS: interval 10000 framing 0x00 phy 0x02 sdu 80 rtn 2 latency 10 pd 40000
uart:~$ bap preset sink 32_2_1 config freq 10 meta lang "eng" stream_ctx 4
32_2_1
codec cfg id 0x06 cid 0x0000 vid 0x0000 count 16
data #0: type 0x01 value_len 1
00000000: 0a |. |
data #1: type 0x02 value_len 1
00000000: 01 |. |
data #2: type 0x03 value_len 4
00000000: 03 00 00 00 |.... |
data #3: type 0x04 value_len 2
00000000: 50 00 |P. |
meta #0: type 0x02 value_len 2
00000000: 04 00 |.. |
meta #1: type 0x04 value_len 3
00000000: 65 6e 67 |eng |
QoS: interval 10000 framing 0x00 phy 0x02 sdu 80 rtn 2 latency 10 pd 40000
Configure Codec
***************
The :code:`config` command attempts to configure a stream for the given
direction using a preset codec configuration which can either be passed directly
or in case it is omitted the default preset is used.
.. csv-table:: State Machine Transitions
:header: "Depends", "Allowed States", "Next States"
:widths: auto
"discover","idle/codec-configured/qos-configured","codec-configured"
.. code-block:: console
uart:~$ bap config <direction: sink, source> <index> [loc <loc_bits>] [preset <preset_name>]
uart:~$ bap config sink 0
Setting location to 0x00000000
ASE config: preset 16_2_1
stream 0x2000df70 config operation rsp_code 0 reason 0
Configure Stream QoS
********************
The :code:`stream_qos` Sets a new stream QoS.
.. code-block:: console
uart:~$ bap stream_qos <interval> [framing] [latency] [pd] [sdu] [phy] [rtn]
uart:~$ bap stream_qos 10
Configure QoS
*************
The :code:`qos` command attempts to configure the stream QoS using the preset
configuration, each individual QoS parameter can be set with use optional
parameters.
.. csv-table:: State Machine Transitions
:header: "Depends", "Allowed States", "Next States"
:widths: auto
"config","qos-configured/codec-configured","qos-configured"
.. code-block:: console
uart:~$ bap qos
Enable
******
The :code:`enable` command attempts to enable the stream previously configured.
.. csv-table:: State Machine Transitions
:header: "Depends", "Allowed States", "Next States"
:widths: auto
"qos","qos-configured","enabling"
.. code-block:: console
uart:~$ bap enable [context]
uart:~$ bap enable Media
Connect
*******
The :code:`connect` command attempts to connect the stream previously configured.
Sink streams will have to be started by the unicast server, and source streams will have to be
started by the unicast client.
.. csv-table:: State Machine Transitions
:header: "Depends", "Allowed States", "Next States"
:widths: auto
"qos/enable","qos-configured/enabling","qos-configured/enabling"
.. code-block:: console
uart:~$ bap connect
Start
*****
The :code:`start` command is only necessary when starting a source stream.
.. csv-table:: State Machine Transitions
:header: "Depends", "Allowed States", "Next States"
:widths: auto
"enable/connect","enabling","streaming"
.. code-block:: console
uart:~$ bap start
Disable
*******
The :code:`disable` command attempts to disable the stream previously enabled,
if the remote peer accepts then the ISO disconnection procedure is also
initiated.
.. csv-table:: State Machine Transitions
:header: "Depends", "Allowed States", "Next States"
:widths: auto
"enable","enabling/streaming","disabling"
.. code-block:: console
uart:~$ bap disable
Stop
****
The :code:`stop` command is only necessary when acting as a sink as it indicates
to the source the stack is ready to stop receiving data.
.. csv-table:: State Machine Transitions
:header: "Depends", "Allowed States", "Next States"
:widths: auto
"disable","disabling","qos-configure/idle"
.. code-block:: console
uart:~$ bap stop
Release
*******
The :code:`release` command releases the current stream and its configuration.
.. csv-table:: State Machine Transitions
:header: "Depends", "Allowed States", "Next States"
:widths: auto
"config","any","releasing/codec-configure/idle"
.. code-block:: console
uart:~$ bap release
List
****
The :code:`list` command list the available streams.
.. csv-table:: State Machine Transitions
:header: "Depends", "Allowed States", "Next States"
:widths: auto
"none","any","none"
.. code-block:: console
uart:~$ bap list
*0: ase 0x01 dir 0x01 state 0x01
Select Unicast
**************
The :code:`select_unicast` command set a unicast stream as default.
.. csv-table:: State Machine Transitions
:header: "Depends", "Allowed States", "Next States"
:widths: auto
"none","any","none"
.. code-block:: console
uart:~$ bap select <ase>
uart:~$ bap select 0x01
Default stream: 1
To select a broadcast stream:
.. code-block:: console
uart:~$ bap select 0x01 broadcast
Default stream: 1 (broadcast)
Send
****
The :code:`send` command sends data over BAP Stream.
.. csv-table:: State Machine Transitions
:header: "Depends", "Allowed States", "Next States"
:widths: auto
"enable","streaming","none"
.. code-block:: console
uart:~$ bap send [count]
uart:~$ bap send
Audio sending...
``` | /content/code_sandbox/doc/connectivity/bluetooth/api/audio/shell/bap.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 5,029 |
```python
#
"""
A Sphinx extension for documenting devicetree content. It adds a role and a
directive with the same name, 'dtcompatible'.
:dtcompatible:`vnd,foo`
This role can be used inline to make a reference to the generated
documentation for a devicetree
compatible given as argument.
For example, :dtcompatible:`vnd,foo` would create a reference to the
generated documentation page for the devicetree binding handling
compatible "vnd,foo".
There may be more than one page for a single compatible. For example,
that happens if a binding behaves differently depending on the bus the
node is on. If that occurs, the reference points at a "disambiguation"
page which links out to all the possibilities, similarly to how Wikipedia
disambiguation pages work.
The Zephyr documentation uses the standard :option: role to refer
to Kconfig options. The :dtcompatible: option is like that, except
using its own role to avoid using one that already has a standard meaning.
(The :option: role is meant for documenting options to command-line programs,
not Kconfig symbols.)
.. dtcompatible:: vnd,foo
This directive marks the page where the :dtcompatible: role link goes.
Do not use it directly. The generated bindings documentation puts these
in the right places.
"""
def setup(app):
app.add_crossref_type('dtcompatible', 'dtcompatible')
return {
'parallel_read_safe': True,
'parallel_write_safe': True,
}
``` | /content/code_sandbox/doc/_extensions/zephyr/dtcompatible-role.py | python | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 342 |
```python
"""
External content
################
Introduction
============
This extension allows to import sources from directories out of the Sphinx
source directory. They are copied to the source directory before starting the
build. Note that the copy is *smart*, that is, only updated files are actually
copied. Therefore, incremental builds detect changes correctly and behave as
expected.
Paths for external content included via e.g. figure, literalinclude, etc.
are adjusted as needed.
Configuration options
=====================
- ``external_content_contents``: A list of external contents. Each entry is
a tuple with two fields: the external base directory and a file glob pattern.
- ``external_content_directives``: A list of directives that should be analyzed
and their paths adjusted if necessary. Defaults to ``DEFAULT_DIRECTIVES``.
- ``external_content_keep``: A list of file globs (relative to the destination
directory) that should be kept even if they do not exist in the source
directory. This option can be useful for auto-generated files in the
destination directory.
"""
import filecmp
import os
from pathlib import Path
import re
import shutil
import tempfile
from typing import Dict, Any, List, Optional
from sphinx.application import Sphinx
__version__ = "0.1.0"
DEFAULT_DIRECTIVES = ("figure", "image", "include", "literalinclude")
"""Default directives for included content."""
def adjust_includes(
fname: Path,
basepath: Path,
directives: List[str],
encoding: str,
dstpath: Optional[Path] = None,
) -> None:
"""Adjust included content paths.
Args:
fname: File to be processed.
basepath: Base path to be used to resolve content location.
directives: Directives to be parsed and adjusted.
encoding: Sources encoding.
dstpath: Destination path for fname if its path is not the actual destination.
"""
if fname.suffix != ".rst":
return
dstpath = dstpath or fname.parent
def _adjust(m):
directive, fpath = m.groups()
# ignore absolute paths
if fpath.startswith("/"):
fpath_adj = fpath
else:
fpath_adj = Path(os.path.relpath(basepath / fpath, dstpath)).as_posix()
return f".. {directive}:: {fpath_adj}"
with open(fname, "r+", encoding=encoding) as f:
content = f.read()
content_adj, modified = re.subn(
r"\.\. (" + "|".join(directives) + r")::\s*([^`\n]+)", _adjust, content
)
if modified:
f.seek(0)
f.write(content_adj)
f.truncate()
def sync_contents(app: Sphinx) -> None:
"""Synchronize external contents.
Args:
app: Sphinx application instance.
"""
srcdir = Path(app.srcdir).resolve()
to_copy = []
to_delete = set(f for f in srcdir.glob("**/*") if not f.is_dir())
to_keep = set(
f
for k in app.config.external_content_keep
for f in srcdir.glob(k)
if not f.is_dir()
)
for content in app.config.external_content_contents:
prefix_src, glob = content
for src in prefix_src.glob(glob):
if src.is_dir():
to_copy.extend(
[(f, prefix_src) for f in src.glob("**/*") if not f.is_dir()]
)
else:
to_copy.append((src, prefix_src))
for entry in to_copy:
src, prefix_src = entry
dst = (srcdir / src.relative_to(prefix_src)).resolve()
if dst in to_delete:
to_delete.remove(dst)
if not dst.parent.exists():
dst.parent.mkdir(parents=True)
# just copy if it does not exist
if not dst.exists():
shutil.copy(src, dst)
adjust_includes(
dst,
src.parent,
app.config.external_content_directives,
app.config.source_encoding,
)
# if origin file is modified only copy if different
elif src.stat().st_mtime > dst.stat().st_mtime:
with tempfile.TemporaryDirectory() as td:
# adjust origin includes before comparing
src_adjusted = Path(td) / src.name
shutil.copy(src, src_adjusted)
adjust_includes(
src_adjusted,
src.parent,
app.config.external_content_directives,
app.config.source_encoding,
dstpath=dst.parent,
)
if not filecmp.cmp(src_adjusted, dst):
dst.unlink()
shutil.move(os.fspath(src_adjusted), os.fspath(dst))
# remove any previously copied file not present in the origin folder,
# excepting those marked to be kept.
for file in to_delete - to_keep:
file.unlink()
def setup(app: Sphinx) -> Dict[str, Any]:
app.add_config_value("external_content_contents", [], "env")
app.add_config_value("external_content_directives", DEFAULT_DIRECTIVES, "env")
app.add_config_value("external_content_keep", [], "")
app.connect("builder-inited", sync_contents)
return {
"version": __version__,
"parallel_read_safe": True,
"parallel_write_safe": True,
}
``` | /content/code_sandbox/doc/_extensions/zephyr/external_content.py | python | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,144 |
```python
"""
Doxyrunner Sphinx Plugin
########################
Introduction
============
This Sphinx plugin can be used to run Doxygen build as part of the Sphinx build
process. It is meant to be used with other plugins such as ``breathe`` in order
to improve the user experience. The principal features offered by this plugin
are:
- Doxygen build is run before Sphinx reads input files
- Doxyfile can be optionally pre-processed so that variables can be inserted
- Changes in the Doxygen input files are tracked so that Doxygen build is only
run if necessary.
- Synchronizes Doxygen XML output so that even if Doxygen is run only changed,
deleted or added files are modified.
References:
- path_to_url
Configuration options
=====================
- ``doxyrunner_doxygen``: Path to the Doxygen binary.
- ``doxyrunner_doxyfile``: Path to Doxyfile.
- ``doxyrunner_outdir``: Doxygen build output directory (inserted to
``OUTPUT_DIRECTORY``)
- ``doxyrunner_outdir_var``: Variable representing the Doxygen build output
directory, as used by ``OUTPUT_DIRECTORY``. This can be useful if other
Doxygen variables reference to the output directory.
- ``doxyrunner_fmt``: Flag to indicate if Doxyfile should be formatted.
- ``doxyrunner_fmt_vars``: Format variables dictionary (name: value).
- ``doxyrunner_fmt_pattern``: Format pattern.
- ``doxyrunner_silent``: If Doxygen output should be logged or not. Note that
this option may not have any effect if ``QUIET`` is set to ``YES``.
"""
import filecmp
import hashlib
from pathlib import Path
import re
import shlex
import shutil
from subprocess import Popen, PIPE, STDOUT
import tempfile
from typing import List, Dict, Optional, Any
from sphinx.application import Sphinx
from sphinx.environment import BuildEnvironment
from sphinx.util import logging
__version__ = "0.1.0"
logger = logging.getLogger(__name__)
def hash_file(file: Path) -> str:
"""Compute the hash (SHA256) of a file in text mode.
Args:
file: File to be hashed.
Returns:
Hash.
"""
with open(file, encoding="utf-8") as f:
sha256 = hashlib.sha256(f.read().encode("utf-8"))
return sha256.hexdigest()
def get_doxygen_option(doxyfile: str, option: str) -> List[str]:
"""Obtain the value of a Doxygen option.
Args:
doxyfile: Content of the Doxyfile.
option: Option to be retrieved.
Notes:
Does not support appended values.
Returns:
Option values.
"""
option_re = re.compile(r"^\s*([A-Z0-9_]+)\s*=\s*(.*)$")
multiline_re = re.compile(r"^\s*(.*)$")
values = []
found = False
finished = False
for line in doxyfile.splitlines():
if not found:
m = option_re.match(line)
if not m or m.group(1) != option:
continue
found = True
value = m.group(2)
else:
m = multiline_re.match(line)
if not m:
raise ValueError(f"Unexpected line content: {line}")
value = m.group(1)
# check if it is a multiline value
finished = not value.endswith("\\")
# strip backslash
if not finished:
value = value[:-1]
# split values
values += shlex.split(value.replace("\\", "\\\\"))
if finished:
break
return values
def process_doxyfile(
doxyfile: str,
outdir: Path,
silent: bool,
fmt: bool = False,
fmt_pattern: Optional[str] = None,
fmt_vars: Optional[Dict[str, str]] = None,
outdir_var: Optional[str] = None,
) -> str:
"""Process Doxyfile.
Notes:
OUTPUT_DIRECTORY, WARN_FORMAT and QUIET are overridden to satisfy
extension operation needs.
Args:
doxyfile: Path to the Doxyfile.
outdir: Output directory of the Doxygen build.
silent: If Doxygen should be run in quiet mode or not.
fmt: If Doxyfile should be formatted.
fmt_pattern: Format pattern.
fmt_vars: Format variables.
outdir_var: Variable representing output directory.
Returns:
Processed Doxyfile content.
"""
with open(doxyfile) as f:
content = f.read()
content = re.sub(
r"^\s*OUTPUT_DIRECTORY\s*=.*$",
f"OUTPUT_DIRECTORY={outdir.as_posix()}",
content,
flags=re.MULTILINE,
)
content = re.sub(
r"^\s*WARN_FORMAT\s*=.*$",
'WARN_FORMAT="$file:$line: $text"',
content,
flags=re.MULTILINE,
)
content = re.sub(
r"^\s*QUIET\s*=.*$",
"QUIET=" + "YES" if silent else "NO",
content,
flags=re.MULTILINE,
)
if fmt:
if not fmt_pattern or not fmt_vars:
raise ValueError("Invalid formatting pattern or variables")
if outdir_var:
fmt_vars = fmt_vars.copy()
fmt_vars[outdir_var] = outdir.as_posix()
for var, value in fmt_vars.items():
content = content.replace(fmt_pattern.format(var), value)
return content
def doxygen_input_has_changed(env: BuildEnvironment, doxyfile: str) -> bool:
"""Check if Doxygen input files have changed.
Args:
env: Sphinx build environment instance.
doxyfile: Doxyfile content.
Returns:
True if changed, False otherwise.
"""
# obtain Doxygen input files and patterns
input_files = get_doxygen_option(doxyfile, "INPUT")
if not input:
raise ValueError("No INPUT set in Doxyfile")
file_patterns = get_doxygen_option(doxyfile, "FILE_PATTERNS")
if not file_patterns:
raise ValueError("No FILE_PATTERNS set in Doxyfile")
# build a set with input files hash
cache = set()
for file in input_files:
path = Path(file)
if path.is_file():
cache.add(hash_file(path))
else:
for pattern in file_patterns:
for p_file in path.glob("**/" + pattern):
cache.add(hash_file(p_file))
# check if any file has changed
if hasattr(env, "doxyrunner_cache") and env.doxyrunner_cache == cache:
return False
# store current state
env.doxyrunner_cache = cache
return True
def process_doxygen_output(line: str, silent: bool) -> None:
"""Process a line of Doxygen program output.
This function will map Doxygen output to the Sphinx logger output. Errors
and warnings will be converted to Sphinx errors and warnings. Other
messages, if not silent, will be mapped to the info logger channel.
Args:
line: Doxygen program line.
silent: True if regular messages should be logged, False otherwise.
"""
m = re.match(r"(.*):(\d+): ([a-z]+): (.*)", line)
if m:
type = m.group(3)
message = f"{m.group(1)}:{m.group(2)}: {m.group(4)}"
if type == "error":
logger.error(message)
elif type == "warning":
logger.warning(message)
else:
logger.info(message)
elif not silent:
logger.info(line)
def run_doxygen(doxygen: str, doxyfile: str, silent: bool = False) -> None:
"""Run Doxygen build.
Args:
doxygen: Path to Doxygen binary.
doxyfile: Doxyfile content.
silent: If Doxygen output should be logged or not.
"""
f_doxyfile = tempfile.NamedTemporaryFile("w", delete=False)
f_doxyfile.write(doxyfile)
f_doxyfile.close()
p = Popen([doxygen, f_doxyfile.name], stdout=PIPE, stderr=STDOUT, encoding="utf-8")
while True:
line = p.stdout.readline() # type: ignore
if line:
process_doxygen_output(line.rstrip(), silent)
if p.poll() is not None:
break
Path(f_doxyfile.name).unlink()
if p.returncode:
raise IOError(f"Doxygen process returned non-zero ({p.returncode})")
def sync_doxygen(doxyfile: str, new: Path, prev: Path) -> None:
"""Synchronize Doxygen output with a previous build.
This function makes sure that only new, deleted or changed files are
actually modified in the Doxygen XML output. Latest HTML content is just
moved.
Args:
doxyfile: Contents of the Doxyfile.
new: Newest Doxygen build output directory.
prev: Previous Doxygen build output directory.
"""
generate_html = get_doxygen_option(doxyfile, "GENERATE_HTML")
if generate_html[0] == "YES":
html_output = get_doxygen_option(doxyfile, "HTML_OUTPUT")
if not html_output:
raise ValueError("No HTML_OUTPUT set in Doxyfile")
new_htmldir = new / html_output[0]
prev_htmldir = prev / html_output[0]
if prev_htmldir.exists():
shutil.rmtree(prev_htmldir)
new_htmldir.rename(prev_htmldir)
xml_output = get_doxygen_option(doxyfile, "XML_OUTPUT")
if not xml_output:
raise ValueError("No XML_OUTPUT set in Doxyfile")
new_xmldir = new / xml_output[0]
prev_xmldir = prev / xml_output[0]
if prev_xmldir.exists():
dcmp = filecmp.dircmp(new_xmldir, prev_xmldir)
for file in dcmp.right_only:
(Path(dcmp.right) / file).unlink()
for file in dcmp.left_only + dcmp.diff_files:
shutil.copy(Path(dcmp.left) / file, Path(dcmp.right) / file)
shutil.rmtree(new_xmldir)
else:
new_xmldir.rename(prev_xmldir)
def doxygen_build(app: Sphinx) -> None:
"""Doxyrunner entry point.
Args:
app: Sphinx application instance.
"""
if app.config.doxyrunner_outdir:
outdir = Path(app.config.doxyrunner_outdir)
else:
outdir = Path(app.outdir) / "_doxygen"
outdir.mkdir(exist_ok=True)
tmp_outdir = outdir / "tmp"
logger.info("Preparing Doxyfile...")
doxyfile = process_doxyfile(
app.config.doxyrunner_doxyfile,
tmp_outdir,
app.config.doxyrunner_silent,
app.config.doxyrunner_fmt,
app.config.doxyrunner_fmt_pattern,
app.config.doxyrunner_fmt_vars,
app.config.doxyrunner_outdir_var,
)
logger.info("Checking if Doxygen needs to be run...")
app.env.doxygen_input_changed = doxygen_input_has_changed(app.env, doxyfile)
if not app.env.doxygen_input_changed:
logger.info("Doxygen build will be skipped (no changes)!")
return
logger.info("Running Doxygen...")
run_doxygen(
app.config.doxyrunner_doxygen,
doxyfile,
app.config.doxyrunner_silent,
)
logger.info("Syncing Doxygen output...")
sync_doxygen(doxyfile, tmp_outdir, outdir)
shutil.rmtree(tmp_outdir)
def setup(app: Sphinx) -> Dict[str, Any]:
app.add_config_value("doxyrunner_doxygen", "doxygen", "env")
app.add_config_value("doxyrunner_doxyfile", None, "env")
app.add_config_value("doxyrunner_outdir", None, "env")
app.add_config_value("doxyrunner_outdir_var", None, "env")
app.add_config_value("doxyrunner_fmt", False, "env")
app.add_config_value("doxyrunner_fmt_vars", {}, "env")
app.add_config_value("doxyrunner_fmt_pattern", "@{}@", "env")
app.add_config_value("doxyrunner_silent", True, "")
app.connect("builder-inited", doxygen_build)
return {
"version": __version__,
"parallel_read_safe": True,
"parallel_write_safe": True,
}
``` | /content/code_sandbox/doc/_extensions/zephyr/doxyrunner.py | python | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,784 |
```python
"""
Zephyr Extension
################
Introduction
============
This extension adds a new ``zephyr`` domain for handling the documentation of various entities
specific to the Zephyr RTOS project (ex. code samples).
Directives
----------
- ``zephyr:code-sample::`` - Defines a code sample.
The directive takes an ID as the main argument, and accepts ``:name:`` (human-readable short name
of the sample) and ``:relevant-api:`` (a space separated list of Doxygen group(s) for APIs the
code sample is a good showcase of) as options.
The content of the directive is used as the description of the code sample.
Example:
```
.. zephyr:code-sample:: blinky
:name: Blinky
:relevant-api: gpio_interface
Blink an LED forever using the GPIO API.
```
Roles
-----
- ``:zephyr:code-sample:`` - References a code sample.
The role takes the ID of the code sample as the argument. The role renders as a link to the code
sample, and the link text is the name of the code sample (or a custom text if an explicit name is
provided).
Example:
```
Check out :zephyr:code-sample:`sample-foo` for an example of how to use the foo API. You may
also be interested in :zephyr:code-sample:`this one <sample-bar>`.
```
"""
from typing import Any, Dict, Iterator, List, Tuple
from docutils import nodes
from docutils.nodes import Node
from docutils.parsers.rst import Directive, directives
from sphinx import addnodes
from sphinx.domains import Domain, ObjType
from sphinx.roles import XRefRole
from sphinx.transforms import SphinxTransform
from sphinx.transforms.post_transforms import SphinxPostTransform
from sphinx.util import logging
from sphinx.util.nodes import NodeMatcher, make_refnode
from zephyr.doxybridge import DoxygenGroupDirective
from zephyr.gh_utils import gh_link_get_url
import json
__version__ = "0.1.0"
logger = logging.getLogger(__name__)
class CodeSampleNode(nodes.Element):
pass
class RelatedCodeSamplesNode(nodes.Element):
pass
class ConvertCodeSampleNode(SphinxTransform):
default_priority = 100
def apply(self):
matcher = NodeMatcher(CodeSampleNode)
for node in self.document.traverse(matcher):
self.convert_node(node)
def convert_node(self, node):
"""
Transforms a `CodeSampleNode` into a `nodes.section` named after the code sample name.
Moves all sibling nodes that are after the `CodeSampleNode` in the document under this new
section.
Adds a "See Also" section at the end with links to all relevant APIs as per the samples's
`relevant-api` attribute.
"""
parent = node.parent
siblings_to_move = []
if parent is not None:
index = parent.index(node)
siblings_to_move = parent.children[index + 1 :]
# Create a new section
new_section = nodes.section(ids=[node["id"]])
new_section += nodes.title(text=node["name"])
# Move the sibling nodes under the new section
new_section.extend(siblings_to_move)
# Replace the custom node with the new section
node.replace_self(new_section)
# Remove the moved siblings from their original parent
for sibling in siblings_to_move:
parent.remove(sibling)
# Add a "See Also" section at the end with links to relevant APIs
if node["relevant-api"]:
see_also_section = nodes.section(ids=["see-also"])
see_also_section += nodes.title(text="See also")
for api in node["relevant-api"]:
desc_node = addnodes.desc()
desc_node["domain"] = "c"
desc_node["objtype"] = "group"
title_signode = addnodes.desc_signature()
api_xref = addnodes.pending_xref(
"",
refdomain="c",
reftype="group",
reftarget=api,
refwarn=True,
)
api_xref += nodes.Text(api)
title_signode += api_xref
desc_node += title_signode
see_also_section += desc_node
new_section += see_also_section
# Set sample description as the meta description of the document for improved SEO
meta_description = nodes.meta()
meta_description["name"] = "description"
meta_description["content"] = node.children[0].astext()
node.document += meta_description
# Similarly, add a node with JSON-LD markup (only renders in HTML output) describing
# the code sample.
json_ld = nodes.raw(
"",
f"""<script type="application/ld+json">
{json.dumps({
"@context": "path_to_url",
"@type": "SoftwareSourceCode",
"name": node['name'],
"description": node.children[0].astext(),
"codeSampleType": "full",
"codeRepository": gh_link_get_url(self.app, self.env.docname)
})}
</script>""",
format="html",
)
node.document += json_ld
class ProcessRelatedCodeSamplesNode(SphinxPostTransform):
default_priority = 5 # before ReferencesResolver
def run(self, **kwargs: Any) -> None:
matcher = NodeMatcher(RelatedCodeSamplesNode)
for node in self.document.traverse(matcher):
id = node["id"] # the ID of the node is the name of the doxygen group for which we
# want to list related code samples
code_samples = self.env.domaindata["zephyr"]["code-samples"].values()
# Filter out code samples that don't reference this doxygen group
code_samples = [
code_sample for code_sample in code_samples if id in code_sample["relevant-api"]
]
if len(code_samples) > 0:
admonition = nodes.admonition()
admonition += nodes.title(text="Related code samples")
admonition["classes"].append("related-code-samples")
admonition["classes"].append("dropdown") # used by sphinx-togglebutton extension
admonition["classes"].append("toggle-shown") # show the content by default
sample_dl = nodes.definition_list()
for code_sample in sorted(code_samples, key=lambda x: x["name"]):
term = nodes.term()
sample_xref = addnodes.pending_xref(
"",
refdomain="zephyr",
reftype="code-sample",
reftarget=code_sample["id"],
refwarn=True,
)
sample_xref += nodes.inline(text=code_sample["name"])
term += sample_xref
definition = nodes.definition()
definition += nodes.paragraph(text=code_sample["description"].astext())
sample_dli = nodes.definition_list_item()
sample_dli += term
sample_dli += definition
sample_dl += sample_dli
admonition += sample_dl
# replace node with the newly created admonition
node.replace_self(admonition)
else:
# remove node if there are no code samples
node.replace_self([])
class CodeSampleDirective(Directive):
"""
A directive for creating a code sample node in the Zephyr documentation.
"""
required_arguments = 1 # ID
optional_arguments = 0
option_spec = {"name": directives.unchanged, "relevant-api": directives.unchanged}
has_content = True
def run(self):
code_sample_id = self.arguments[0]
env = self.state.document.settings.env
code_samples = env.domaindata["zephyr"]["code-samples"]
if code_sample_id in code_samples:
logger.warning(
f"Code sample {code_sample_id} already exists. "
f"Other instance in {code_samples[code_sample_id]['docname']}",
location=(env.docname, self.lineno),
)
name = self.options.get("name", code_sample_id)
relevant_api_list = self.options.get("relevant-api", "").split()
# Create a node for description and populate it with parsed content
description_node = nodes.container(ids=[f"{code_sample_id}-description"])
self.state.nested_parse(self.content, self.content_offset, description_node)
code_sample = {
"id": code_sample_id,
"name": name,
"description": description_node,
"relevant-api": relevant_api_list,
"docname": env.docname,
}
domain = env.get_domain("zephyr")
domain.add_code_sample(code_sample)
# Create an instance of the custom node
code_sample_node = CodeSampleNode()
code_sample_node["id"] = code_sample_id
code_sample_node["name"] = name
code_sample_node["relevant-api"] = relevant_api_list
code_sample_node += description_node
return [code_sample_node]
class ZephyrDomain(Domain):
"""Zephyr domain"""
name = "zephyr"
label = "Zephyr Project"
roles = {
"code-sample": XRefRole(innernodeclass=nodes.inline, warn_dangling=True),
}
directives = {"code-sample": CodeSampleDirective}
object_types: Dict[str, ObjType] = {
"code-sample": ObjType("code-sample", "code-sample"),
}
initial_data: Dict[str, Any] = {"code-samples": {}}
def clear_doc(self, docname: str) -> None:
self.data["code-samples"] = {
sample_id: sample_data
for sample_id, sample_data in self.data["code-samples"].items()
if sample_data["docname"] != docname
}
def merge_domaindata(self, docnames: List[str], otherdata: Dict) -> None:
self.data["code-samples"].update(otherdata["code-samples"])
def get_objects(self):
for _, code_sample in self.data["code-samples"].items():
yield (
code_sample["id"],
code_sample["name"],
"code-sample",
code_sample["docname"],
code_sample["id"],
1,
)
# used by Sphinx Immaterial theme
def get_object_synopses(self) -> Iterator[Tuple[Tuple[str, str], str]]:
for _, code_sample in self.data["code-samples"].items():
yield (
(code_sample["docname"], code_sample["id"]),
code_sample["description"].astext(),
)
def resolve_xref(self, env, fromdocname, builder, type, target, node, contnode):
if type == "code-sample":
code_sample_info = self.data["code-samples"].get(target)
if code_sample_info:
if not node.get("refexplicit"):
contnode = [nodes.Text(code_sample_info["name"])]
return make_refnode(
builder,
fromdocname,
code_sample_info["docname"],
code_sample_info["id"],
contnode,
code_sample_info["description"].astext(),
)
def add_code_sample(self, code_sample):
self.data["code-samples"][code_sample["id"]] = code_sample
class CustomDoxygenGroupDirective(DoxygenGroupDirective):
"""Monkey patch for Breathe's DoxygenGroupDirective."""
def run(self) -> List[Node]:
nodes = super().run()
if self.config.zephyr_breathe_insert_related_samples:
return [*nodes, RelatedCodeSamplesNode(id=self.arguments[0])]
else:
return nodes
def setup(app):
app.add_config_value("zephyr_breathe_insert_related_samples", False, "env")
app.add_domain(ZephyrDomain)
app.add_transform(ConvertCodeSampleNode)
app.add_post_transform(ProcessRelatedCodeSamplesNode)
# monkey-patching of the DoxygenGroupDirective
app.add_directive("doxygengroup", CustomDoxygenGroupDirective, override=True)
return {
"version": __version__,
"parallel_read_safe": True,
"parallel_write_safe": True,
}
``` | /content/code_sandbox/doc/_extensions/zephyr/domain.py | python | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,637 |
```python
#
'''Sphinx extensions related to managing Zephyr applications.'''
from docutils import nodes
from docutils.parsers.rst import Directive
from docutils.parsers.rst import directives
# TODO: extend and modify this for Windows.
#
# This could be as simple as generating a couple of sets of instructions, one
# for Unix environments, and another for Windows.
class ZephyrAppCommandsDirective(Directive):
r'''
This is a Zephyr directive for generating consistent documentation
of the shell commands needed to manage (build, flash, etc.) an application.
For example, to generate commands to build samples/hello_world for
qemu_x86 use::
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: qemu_x86
:goals: build
Directive options:
\:tool:
which tool to use. Valid options are currently 'cmake', 'west' and 'all'.
The default is 'west'.
\:app:
path to the application to build.
\:zephyr-app:
path to the application to build, this is an app present in the upstream
zephyr repository. Mutually exclusive with \:app:.
\:cd-into:
if set, build instructions are given from within the \:app: folder,
instead of outside of it.
\:generator:
which build system to generate. Valid options are
currently 'ninja' and 'make'. The default is 'ninja'. This option
is not case sensitive.
\:host-os:
which host OS the instructions are for. Valid options are
'unix', 'win' and 'all'. The default is 'all'.
\:board:
if set, the application build will target the given board.
\:shield:
if set, the application build will target the given shield.
Multiple shields can be provided in a comma separated list.
\:conf:
if set, the application build will use the given configuration
file. If multiple conf files are provided, enclose the
space-separated list of files with quotes, e.g., "a.conf b.conf".
\:gen-args:
if set, additional arguments to the CMake invocation
\:build-args:
if set, additional arguments to the build invocation
\:snippets:
if set, indicates the application should be compiled with the listed snippets.
Multiple snippets can be provided in a comma separated list.
\:build-dir:
if set, the application build directory will *APPEND* this
(relative, Unix-separated) path to the standard build directory. This is
mostly useful for distinguishing builds for one application within a
single page.
\:build-dir-fmt:
if set, assume that "west config build.dir-fmt" has been set to this
path. Exclusive with 'build-dir' and depends on 'tool=west'.
\:goals:
a whitespace-separated list of what to do with the app (in
'build', 'flash', 'debug', 'debugserver', 'run'). Commands to accomplish
these tasks will be generated in the right order.
\:maybe-skip-config:
if set, this indicates the reader may have already
created a build directory and changed there, and will tweak the text to
note that doing so again is not necessary.
\:compact:
if set, the generated output is a single code block with no
additional comment lines
\:west-args:
if set, additional arguments to the west invocation (ignored for CMake)
\:flash-args:
if set, additional arguments to the flash invocation
'''
has_content = False
required_arguments = 0
optional_arguments = 0
final_argument_whitespace = False
option_spec = {
'tool': directives.unchanged,
'app': directives.unchanged,
'zephyr-app': directives.unchanged,
'cd-into': directives.flag,
'generator': directives.unchanged,
'host-os': directives.unchanged,
'board': directives.unchanged,
'shield': directives.unchanged,
'conf': directives.unchanged,
'gen-args': directives.unchanged,
'build-args': directives.unchanged,
'snippets': directives.unchanged,
'build-dir': directives.unchanged,
'build-dir-fmt': directives.unchanged,
'goals': directives.unchanged_required,
'maybe-skip-config': directives.flag,
'compact': directives.flag,
'west-args': directives.unchanged,
'flash-args': directives.unchanged,
}
TOOLS = ['cmake', 'west', 'all']
GENERATORS = ['make', 'ninja']
HOST_OS = ['unix', 'win', 'all']
IN_TREE_STR = '# From the root of the zephyr repository'
def run(self):
# Re-run on the current document if this directive's source changes.
self.state.document.settings.env.note_dependency(__file__)
# Parse directive options. Don't use os.path.sep or os.path.join here!
# That would break if building the docs on Windows.
tool = self.options.get('tool', 'west').lower()
app = self.options.get('app', None)
zephyr_app = self.options.get('zephyr-app', None)
cd_into = 'cd-into' in self.options
generator = self.options.get('generator', 'ninja').lower()
host_os = self.options.get('host-os', 'all').lower()
board = self.options.get('board', None)
shield = self.options.get('shield', None)
conf = self.options.get('conf', None)
gen_args = self.options.get('gen-args', None)
build_args = self.options.get('build-args', None)
snippets = self.options.get('snippets', None)
build_dir_append = self.options.get('build-dir', '').strip('/')
build_dir_fmt = self.options.get('build-dir-fmt', None)
goals = self.options.get('goals').split()
skip_config = 'maybe-skip-config' in self.options
compact = 'compact' in self.options
west_args = self.options.get('west-args', None)
flash_args = self.options.get('flash-args', None)
if tool not in self.TOOLS:
raise self.error('Unknown tool {}; choose from: {}'.format(
tool, self.TOOLS))
if app and zephyr_app:
raise self.error('Both app and zephyr-app options were given.')
if build_dir_append != '' and build_dir_fmt:
raise self.error('Both build-dir and build-dir-fmt options were given.')
if build_dir_fmt and tool != 'west':
raise self.error('build-dir-fmt is only supported for the west build tool.')
if generator not in self.GENERATORS:
raise self.error('Unknown generator {}; choose from: {}'.format(
generator, self.GENERATORS))
if host_os not in self.HOST_OS:
raise self.error('Unknown host-os {}; choose from: {}'.format(
host_os, self.HOST_OS))
if compact and skip_config:
raise self.error('Both compact and maybe-skip-config options were given.')
app = app or zephyr_app
in_tree = self.IN_TREE_STR if zephyr_app else None
# Allow build directories which are nested.
build_dir = ('build' + '/' + build_dir_append).rstrip('/')
# Create host_os array
host_os = [host_os] if host_os != "all" else [v for v in self.HOST_OS
if v != 'all']
# Create tools array
tools = [tool] if tool != "all" else [v for v in self.TOOLS
if v != 'all']
# Create snippet array
snippet_list = snippets.split(',') if snippets is not None else None
# Create shields array
shield_list = shield.split(',') if shield is not None else None
# Build the command content as a list, then convert to string.
content = []
tool_comment = None
if len(tools) > 1:
tool_comment = 'Using {}:'
run_config = {
'host_os': host_os,
'app': app,
'in_tree': in_tree,
'cd_into': cd_into,
'board': board,
'shield': shield_list,
'conf': conf,
'gen_args': gen_args,
'build_args': build_args,
'snippets': snippet_list,
'build_dir': build_dir,
'build_dir_fmt': build_dir_fmt,
'goals': goals,
'compact': compact,
'skip_config': skip_config,
'generator': generator,
'west_args': west_args,
'flash_args': flash_args,
}
if 'west' in tools:
w = self._generate_west(**run_config)
if tool_comment:
paragraph = nodes.paragraph()
paragraph += nodes.Text(tool_comment.format('west'))
content.append(paragraph)
content.append(self._lit_block(w))
else:
content.extend(w)
if 'cmake' in tools:
c = self._generate_cmake(**run_config)
if tool_comment:
paragraph = nodes.paragraph()
paragraph += nodes.Text(tool_comment.format(
'CMake and {}'.format(generator)))
content.append(paragraph)
content.append(self._lit_block(c))
else:
content.extend(c)
if not tool_comment:
content = [self._lit_block(content)]
return content
def _lit_block(self, content):
content = '\n'.join(content)
# Create the nodes.
literal = nodes.literal_block(content, content)
self.add_name(literal)
literal['language'] = 'shell'
return literal
def _generate_west(self, **kwargs):
content = []
generator = kwargs['generator']
board = kwargs['board']
app = kwargs['app']
in_tree = kwargs['in_tree']
goals = kwargs['goals']
cd_into = kwargs['cd_into']
build_dir = kwargs['build_dir']
build_dir_fmt = kwargs['build_dir_fmt']
compact = kwargs['compact']
shield = kwargs['shield']
snippets = kwargs['snippets']
west_args = kwargs['west_args']
flash_args = kwargs['flash_args']
kwargs['board'] = None
# west always defaults to ninja
gen_arg = ' -G\'Unix Makefiles\'' if generator == 'make' else ''
cmake_args = gen_arg + self._cmake_args(**kwargs)
cmake_args = ' --{}'.format(cmake_args) if cmake_args != '' else ''
west_args = ' {}'.format(west_args) if west_args else ''
flash_args = ' {}'.format(flash_args) if flash_args else ''
snippet_args = ''.join(f' -S {s}' for s in snippets) if snippets else ''
shield_args = ''.join(f' --shield {s}' for s in shield) if shield else ''
# ignore zephyr_app since west needs to run within
# the installation. Instead rely on relative path.
src = ' {}'.format(app) if app and not cd_into else ''
if build_dir_fmt is None:
dst = ' -d {}'.format(build_dir) if build_dir != 'build' else ''
build_dst = dst
else:
app_name = app.split('/')[-1]
build_dir_formatted = build_dir_fmt.format(app=app_name, board=board, source_dir=app)
dst = ' -d {}'.format(build_dir_formatted)
build_dst = ''
if in_tree and not compact:
content.append(in_tree)
if cd_into and app:
content.append('cd {}'.format(app))
# We always have to run west build.
#
# FIXME: doing this unconditionally essentially ignores the
# maybe-skip-config option if set.
#
# This whole script and its users from within the
# documentation needs to be overhauled now that we're
# defaulting to west.
#
# For now, this keeps the resulting commands working.
content.append('west build -b {}{}{}{}{}{}{}'.
format(board, west_args, snippet_args, shield_args, build_dst, src, cmake_args))
# If we're signing, we want to do that next, so that flashing
# etc. commands can use the signed file which must be created
# in this step.
if 'sign' in goals:
content.append('west sign{}'.format(dst))
for goal in goals:
if goal in {'build', 'sign'}:
continue
elif goal == 'flash':
content.append('west flash{}{}'.format(flash_args, dst))
elif goal == 'debug':
content.append('west debug{}'.format(dst))
elif goal == 'debugserver':
content.append('west debugserver{}'.format(dst))
elif goal == 'attach':
content.append('west attach{}'.format(dst))
else:
content.append('west build -t {}{}'.format(goal, dst))
return content
@staticmethod
def _mkdir(mkdir, build_dir, host_os, skip_config):
content = []
if skip_config:
content.append("# If you already made a build directory ({}) and ran cmake, just 'cd {}' instead.".format(build_dir, build_dir)) # noqa: E501
if host_os == 'all':
content.append('mkdir {} && cd {}'.format(build_dir, build_dir))
if host_os == "unix":
content.append('{} {} && cd {}'.format(mkdir, build_dir, build_dir))
elif host_os == "win":
build_dir = build_dir.replace('/', '\\')
content.append('mkdir {} & cd {}'.format(build_dir, build_dir))
return content
@staticmethod
def _cmake_args(**kwargs):
board = kwargs['board']
conf = kwargs['conf']
gen_args = kwargs['gen_args']
board_arg = ' -DBOARD={}'.format(board) if board else ''
conf_arg = ' -DCONF_FILE={}'.format(conf) if conf else ''
gen_args = ' {}'.format(gen_args) if gen_args else ''
return '{}{}{}'.format(board_arg, conf_arg, gen_args)
def _cd_into(self, mkdir, **kwargs):
app = kwargs['app']
host_os = kwargs['host_os']
compact = kwargs['compact']
build_dir = kwargs['build_dir']
skip_config = kwargs['skip_config']
content = []
os_comment = None
if len(host_os) > 1:
os_comment = '# On {}'
num_slashes = build_dir.count('/')
if not app and mkdir and num_slashes == 0:
# When there's no app and a single level deep build dir,
# simplify output
content.extend(self._mkdir(mkdir, build_dir, 'all',
skip_config))
if not compact:
content.append('')
return content
for host in host_os:
if host == "unix":
if os_comment:
content.append(os_comment.format('Linux/macOS'))
if app:
content.append('cd {}'.format(app))
elif host == "win":
if os_comment:
content.append(os_comment.format('Windows'))
if app:
backslashified = app.replace('/', '\\')
content.append('cd {}'.format(backslashified))
if mkdir:
content.extend(self._mkdir(mkdir, build_dir, host, skip_config))
if not compact:
content.append('')
return content
def _generate_cmake(self, **kwargs):
generator = kwargs['generator']
cd_into = kwargs['cd_into']
app = kwargs['app']
in_tree = kwargs['in_tree']
build_dir = kwargs['build_dir']
build_args = kwargs['build_args']
snippets = kwargs['snippets']
shield = kwargs['shield']
skip_config = kwargs['skip_config']
goals = kwargs['goals']
compact = kwargs['compact']
content = []
if in_tree and not compact:
content.append(in_tree)
if cd_into:
num_slashes = build_dir.count('/')
mkdir = 'mkdir' if num_slashes == 0 else 'mkdir -p'
content.extend(self._cd_into(mkdir, **kwargs))
# Prepare cmake/ninja/make variables
source_dir = ' ' + '/'.join(['..' for i in range(num_slashes + 1)])
cmake_build_dir = ''
tool_build_dir = ''
else:
source_dir = ' {}'.format(app) if app else ' .'
cmake_build_dir = ' -B{}'.format(build_dir)
tool_build_dir = ' -C{}'.format(build_dir)
# Now generate the actual cmake and make/ninja commands
gen_arg = ' -GNinja' if generator == 'ninja' else ''
build_args = ' {}'.format(build_args) if build_args else ''
snippet_args = ' -DSNIPPET="{}"'.format(';'.join(snippets)) if snippets else ''
shield_args = ' -DSHIELD="{}"'.format(';'.join(shield)) if shield else ''
cmake_args = self._cmake_args(**kwargs)
if not compact:
if not cd_into and skip_config:
content.append("# If you already ran cmake with -B{}, you " \
"can skip this step and run {} directly.".
format(build_dir, generator)) # noqa: E501
else:
content.append('# Use cmake to configure a {}-based build' \
'system:'.format(generator.capitalize())) # noqa: E501
content.append('cmake{}{}{}{}{}{}'.format(cmake_build_dir, gen_arg,
cmake_args, snippet_args, shield_args, source_dir))
if not compact:
content.extend(['',
'# Now run the build tool on the generated build system:'])
if 'build' in goals:
content.append('{}{}{}'.format(generator, tool_build_dir,
build_args))
for goal in goals:
if goal == 'build':
continue
content.append('{}{} {}'.format(generator, tool_build_dir, goal))
return content
def setup(app):
app.add_directive('zephyr-app-commands', ZephyrAppCommandsDirective)
return {
'version': '1.0',
'parallel_read_safe': True,
'parallel_write_safe': True
}
``` | /content/code_sandbox/doc/_extensions/zephyr/application.py | python | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 4,048 |
```python
#
#
# path_to_url
#
# Unless required by applicable law or agreed to in writing, software
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#
# Mechanism to generate static HTML redirect pages in the output
#
# Uses redirect_template.html and the list of pages given in
# conf.html_redirect_pages
#
# Adapted from ideas in path_to_url
import os.path
from sphinx.builders.html import StandaloneHTMLBuilder
REDIRECT_TEMPLATE = r"""
<html>
<head>
<meta http-equiv="refresh" content="0; url=$NEWURL" />
<script>
var id=window.location.href.split("#")[1];
if (id && (/^[a-zA-Z\:\/0-9\_\-\.]+$/.test(id))) {
window.location.href = "$NEWURL"+"#"+id;
}
else {
window.location.href = "$NEWURL";
};
</script>
</head>
<body>
<p>Page has moved <a href="$NEWURL">here</a>.</p>
</body>
</html>
"""
def setup(app):
app.add_config_value('html_redirect_pages', [], 'html')
app.connect('build-finished', create_redirect_pages)
# Since we're just setting up a build-finished hook, which runs
# after both reading and writing, this extension is safe for both.
return {
'parallel_read_safe': True,
'parallel_write_safe': True,
}
def create_redirect_pages(app, docname):
if not isinstance(app.builder, StandaloneHTMLBuilder):
return # only relevant for standalone HTML output
for (old_url, new_url) in app.config.html_redirect_pages:
if old_url.startswith('/'):
old_url = old_url[1:]
new_url = app.builder.get_relative_uri(old_url, new_url)
out_file = app.builder.get_outfilename(old_url)
out_dir = os.path.dirname(out_file)
if not os.path.exists(out_dir):
os.makedirs(out_dir)
content = REDIRECT_TEMPLATE.replace("$NEWURL", new_url)
if not os.path.exists(out_file):
with open(out_file, "w") as rp:
rp.write(content)
``` | /content/code_sandbox/doc/_extensions/zephyr/html_redirects.py | python | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 477 |
```python
"""
"""
import os
from typing import Any, Dict
import concurrent.futures
from docutils import nodes
from sphinx import addnodes
from sphinx.application import Sphinx
from sphinx.transforms.post_transforms import SphinxPostTransform
from sphinx.util import logging
from sphinx.util.docutils import SphinxDirective
from sphinx.domains.c import CXRefRole
import doxmlparser
from doxmlparser.compound import DoxCompoundKind, DoxMemberKind
logger = logging.getLogger(__name__)
KIND_D2S = {
DoxMemberKind.DEFINE: "macro",
DoxMemberKind.VARIABLE: "var",
DoxMemberKind.TYPEDEF: "type",
DoxMemberKind.ENUM: "enum",
DoxMemberKind.FUNCTION: "func",
}
class DoxygenGroupDirective(SphinxDirective):
has_content = False
required_arguments = 1
optional_arguments = 0
def run(self):
desc_node = addnodes.desc()
desc_node["domain"] = "c"
desc_node["objtype"] = "group"
title_signode = addnodes.desc_signature()
group_xref = addnodes.pending_xref(
"",
refdomain="c",
reftype="group",
reftarget=self.arguments[0],
refwarn=True,
)
group_xref += nodes.Text(self.arguments[0])
title_signode += group_xref
desc_node.append(title_signode)
return [desc_node]
class DoxygenReferencer(SphinxPostTransform):
"""Mapping between Doxygen memberdef kind and Sphinx kinds"""
default_priority = 5
def run(self, **kwargs: Any) -> None:
for node in self.document.traverse(addnodes.pending_xref):
if node.get("refdomain") != "c":
continue
reftype = node.get("reftype")
# "member", "data" and "var" are equivalent as per Sphinx documentation for C domain
if reftype in ("member", "data"):
reftype = "var"
entry = self.app.env.doxybridge_cache.get(reftype)
if not entry:
continue
reftarget = node.get("reftarget").replace(".", "::").rstrip("()")
id = entry.get(reftarget)
if not id:
if reftype == "func":
# macros are sometimes referenced as functions, so try that
id = self.app.env.doxybridge_cache.get("macro").get(reftarget)
if not id:
continue
else:
continue
if reftype in ("struct", "union", "group"):
doxygen_target = f"{id}.html"
else:
split = id.split("_")
doxygen_target = f"{'_'.join(split[:-1])}.html#{split[-1][1:]}"
doxygen_target = str(self.app.config.doxybridge_dir) + "/html/" + doxygen_target
doc_dir = os.path.dirname(self.document.get("source"))
doc_dest = os.path.join(
self.app.outdir,
os.path.relpath(doc_dir, self.app.srcdir),
)
rel_uri = os.path.relpath(doxygen_target, doc_dest)
refnode = nodes.reference("", "", internal=True, refuri=rel_uri, reftitle="")
refnode.append(node[0].deepcopy())
if reftype == "group":
refnode["classes"].append("doxygroup")
title = self.app.env.doxybridge_group_titles.get(reftarget, "group")
refnode[0] = nodes.Text(title)
node.replace_self([refnode])
def parse_members(sectiondef):
cache = {}
for memberdef in sectiondef.get_memberdef():
kind = KIND_D2S.get(memberdef.get_kind())
if not kind:
continue
id = memberdef.get_id()
if memberdef.get_kind() == DoxMemberKind.VARIABLE:
name = memberdef.get_qualifiedname() or memberdef.get_name()
else:
name = memberdef.get_name()
cache.setdefault(kind, {})[name] = id
if memberdef.get_kind() == DoxMemberKind.ENUM:
for enumvalue in memberdef.get_enumvalue():
enumname = enumvalue.get_name()
enumid = enumvalue.get_id()
cache.setdefault("enumerator", {})[enumname] = enumid
return cache
def parse_sections(compounddef):
cache = {}
for sectiondef in compounddef.get_sectiondef():
members = parse_members(sectiondef)
for kind, data in members.items():
cache.setdefault(kind, {}).update(data)
return cache
def parse_compound(inDirName, baseName) -> Dict:
rootObj = doxmlparser.compound.parse(inDirName + "/" + baseName + ".xml", True)
cache = {}
group_titles = {}
for compounddef in rootObj.get_compounddef():
name = compounddef.get_compoundname()
id = compounddef.get_id()
kind = None
if compounddef.get_kind() == DoxCompoundKind.STRUCT:
kind = "struct"
elif compounddef.get_kind() == DoxCompoundKind.UNION:
kind = "union"
elif compounddef.get_kind() == DoxCompoundKind.GROUP:
kind = "group"
group_titles[name] = compounddef.get_title()
if kind:
cache.setdefault(kind, {})[name] = id
sections = parse_sections(compounddef)
for kind, data in sections.items():
cache.setdefault(kind, {}).update(data)
return cache, group_titles
def parse_index(app: Sphinx, inDirName):
rootObj = doxmlparser.index.parse(inDirName + "/index.xml", True)
compounds = rootObj.get_compound()
with concurrent.futures.ProcessPoolExecutor() as executor:
futures = [
executor.submit(parse_compound, inDirName, compound.get_refid())
for compound in compounds
]
for future in concurrent.futures.as_completed(futures):
cache, group_titles = future.result()
for kind, data in cache.items():
app.env.doxybridge_cache.setdefault(kind, {}).update(data)
app.env.doxybridge_group_titles.update(group_titles)
def doxygen_parse(app: Sphinx) -> None:
if not app.env.doxygen_input_changed:
return
app.env.doxybridge_cache = {
"macro": {},
"var": {},
"type": {},
"enum": {},
"enumerator": {},
"func": {},
"union": {},
"struct": {},
"group": {},
}
app.env.doxybridge_group_titles = {}
parse_index(app, str(app.config.doxybridge_dir / "xml"))
def setup(app: Sphinx) -> Dict[str, Any]:
app.add_config_value("doxybridge_dir", None, "env")
app.add_directive("doxygengroup", DoxygenGroupDirective)
app.add_role_to_domain("c", "group", CXRefRole())
app.add_post_transform(DoxygenReferencer)
app.connect("builder-inited", doxygen_parse)
return {
"version": "0.1",
"parallel_read_safe": True,
"parallel_write_safe": True,
}
``` | /content/code_sandbox/doc/_extensions/zephyr/doxybridge.py | python | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,567 |
```python
import doxmlparser
from docutils import nodes
from doxmlparser.compound import DoxCompoundKind
from pathlib import Path
from sphinx.application import Sphinx
from sphinx.util.docutils import SphinxDirective
from typing import Any, Dict
class ApiOverview(SphinxDirective):
"""
This is a Zephyr directive to generate a table containing an overview
of all APIs. This table will show the API name, version and since which
version it is present - all information extracted from Doxygen XML output.
It is exclusively used by the doc/develop/api/overview.rst page.
Configuration options:
api_overview_doxygen_xml_dir: Doxygen xml output directory
api_overview_doxygen_base_url: Doxygen base html directory
"""
def run(self):
return [self.env.api_overview_table]
def get_group(innergroup, all_groups):
try:
return [
g
for g in all_groups
if g.get_compounddef()[0].get_id() == innergroup.get_refid()
][0]
except IndexError as e:
raise Exception(f"Unexpected group {innergroup.get_refid()}") from e
def visit_group(app, group, all_groups, rows, indent=0):
version = since = ""
github_uri = "path_to_url"
cdef = group.get_compounddef()[0]
ssects = [
s for p in cdef.get_detaileddescription().get_para() for s in p.get_simplesect()
]
for sect in ssects:
if sect.get_kind() == "since":
since = sect.get_para()[0].get_valueOf_()
elif sect.get_kind() == "version":
version = sect.get_para()[0].get_valueOf_()
if since:
since_url = nodes.inline()
reference = nodes.reference(text=f"v{since.strip()}.0", refuri=f"{github_uri}/v{since.strip()}.0")
reference.attributes["internal"] = True
since_url += reference
else:
since_url = nodes.Text("")
url_base = Path(app.config.api_overview_doxygen_base_url)
url = url_base / f"{cdef.get_id()}.html"
title = cdef.get_title()
row_node = nodes.row()
# Next entry will contain the spacer and the link with API name
entry = nodes.entry()
span = nodes.Text("".join(["\U000000A0"] * indent))
entry += span
# API name with link
inline = nodes.inline()
reference = nodes.reference(text=title, refuri=str(url))
reference.attributes["internal"] = True
inline += reference
entry += inline
row_node += entry
version_node = nodes.Text(version)
# Finally, add version and since
for cell in [version_node, since_url]:
entry = nodes.entry()
entry += cell
row_node += entry
rows.append(row_node)
for innergroup in cdef.get_innergroup():
visit_group(
app, get_group(innergroup, all_groups), all_groups, rows, indent + 6
)
def parse_xml_dir(dir_name):
groups = []
root = doxmlparser.index.parse(Path(dir_name) / "index.xml", True)
for compound in root.get_compound():
if compound.get_kind() == DoxCompoundKind.GROUP:
file_name = Path(dir_name) / f"{compound.get_refid()}.xml"
groups.append(doxmlparser.compound.parse(file_name, True))
return groups
def generate_table(app, toplevel, groups):
table = nodes.table()
tgroup = nodes.tgroup()
thead = nodes.thead()
thead_row = nodes.row()
for header_name in ["API", "Version", "Available in Zephyr Since"]:
colspec = nodes.colspec()
tgroup += colspec
entry = nodes.entry()
entry += nodes.Text(header_name)
thead_row += entry
thead += thead_row
tgroup += thead
rows = []
tbody = nodes.tbody()
for t in toplevel:
visit_group(app, t, groups, rows)
tbody.extend(rows)
tgroup += tbody
table += tgroup
return table
def sync_contents(app: Sphinx) -> None:
if app.config.doxyrunner_outdir:
doxygen_out_dir = Path(app.config.doxyrunner_outdir)
else:
doxygen_out_dir = Path(app.outdir) / "_doxygen"
if not app.env.doxygen_input_changed:
return
doxygen_xml_dir = doxygen_out_dir / "xml"
groups = parse_xml_dir(doxygen_xml_dir)
toplevel = [
g
for g in groups
if g.get_compounddef()[0].get_id()
not in [
i.get_refid()
for h in [j.get_compounddef()[0].get_innergroup() for j in groups]
for i in h
]
]
app.builder.env.api_overview_table = generate_table(app, toplevel, groups)
def setup(app) -> Dict[str, Any]:
app.add_config_value("api_overview_doxygen_xml_dir", "html/doxygen/xml", "env")
app.add_config_value("api_overview_doxygen_base_url", "../../doxygen/html", "env")
app.add_directive("api-overview-table", ApiOverview)
app.connect("builder-inited", sync_contents)
return {
"version": "0.1",
"parallel_read_safe": True,
"parallel_write_safe": True,
}
``` | /content/code_sandbox/doc/_extensions/zephyr/api_overview.py | python | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,226 |
```python
"""
Git/GitHub utilities for Sphinx
###############################
Introduction
============
This Sphinx extension can be used to obtain various Git and GitHub related metadata for a page.
This is useful, for example, when adding features like "Open on GitHub" on top
of pages, direct links to open a GitHub issue regarding a page, or date of the most recent commit
to a page.
The extension installs the following Jinja filter:
* ``gh_link_get_blob_url``: Returns a URL to the source of a page on GitHub.
* ``gh_link_get_edit_url``: Returns a URL to edit the given page on GitHub.
* ``gh_link_get_open_issue_url``: Returns a URL to open a new issue regarding the given page.
* ``git_info``: Returns the date and SHA1 of the last commit made to a page (if this page is
managed by Git).
Configuration options
=====================
- ``gh_link_version``: GitHub version to use in the URL (e.g. "main")
- ``gh_link_base_url``: Base URL used as a prefix for generated URLs.
- ``gh_link_prefixes``: Mapping of pages (regex) <> GitHub prefix.
- ``gh_link_exclude``: List of pages (regex) that will not report a URL. Useful
for, e.g., auto-generated pages not in Git.
"""
from functools import partial
import os
import re
import subprocess
import sys
from datetime import datetime
from pathlib import Path
from textwrap import dedent
from typing import Final, Optional, Tuple
from urllib.parse import quote
from sphinx.application import Sphinx
from sphinx.util.i18n import format_date
ZEPHYR_BASE : Final[str] = Path(__file__).parents[3]
SCRIPTS : Final[str] = ZEPHYR_BASE / "scripts"
sys.path.insert(0, str(SCRIPTS))
from get_maintainer import Maintainers
MAINTAINERS : Final[Maintainers] = Maintainers(filename=f"{ZEPHYR_BASE}/MAINTAINERS.yml")
__version__ = "0.1.0"
def get_page_prefix(app: Sphinx, pagename: str) -> str:
"""Return the prefix that needs to be added to the page path to get its location in the
repository.
If pagename refers to a page that is automatically generated by Sphinx or if it matches one of
the patterns in ``gh_link_exclude`` configuration option, return None.
Args:
app: Sphinx instance.
pagename: Page name (path).
Returns:
Prefix if applicable, None otherwise.
"""
if not os.path.isfile(app.env.doc2path(pagename)):
return None
for exclude in app.config.gh_link_exclude:
if re.match(exclude, pagename):
return None
found_prefix = ""
for pattern, prefix in app.config.gh_link_prefixes.items():
if re.match(pattern, pagename):
found_prefix = prefix
break
return found_prefix
def gh_link_get_url(app: Sphinx, pagename: str, mode: str = "blob") -> Optional[str]:
"""Obtain GitHub URL for the given page.
Args:
app: Sphinx instance.
mode: Typically "edit", or "blob".
pagename: Page name (path).
Returns:
GitHub URL if applicable, None otherwise.
"""
page_prefix = get_page_prefix(app, pagename)
if page_prefix is None:
return None
return "/".join(
[
app.config.gh_link_base_url,
mode,
app.config.gh_link_version,
page_prefix,
app.env.doc2path(pagename, False),
]
)
def gh_link_get_open_issue_url(app: Sphinx, pagename: str, sha1: str) -> Optional[str]:
"""Link to open a new Github issue regarding "pagename" with title, body, and
labels already pre-filled with useful information.
Args:
app: Sphinx instance.
pagename: Page name (path).
Returns:
URL to open a new issue if applicable, None otherwise.
"""
page_prefix = get_page_prefix(app, pagename)
if page_prefix is None:
return None
rel_path = os.path.join(
os.path.relpath(ZEPHYR_BASE),
page_prefix,
app.env.doc2path(pagename, False),
)
title = quote(f"doc: Documentation issue in '{pagename}'")
labels = quote("area: Documentation")
areas = MAINTAINERS.path2areas(rel_path)
if areas:
labels += "," + ",".join([label for area in areas for label in area.labels])
body = quote(
dedent(
f"""\
**Describe the bug**
<< Please describe the issue here >>
<< You may also want to update the automatically generated issue title above. >>
**Environment**
* Page: `{pagename}`
* Version: {app.config.gh_link_version}
* SHA-1: {sha1}
"""
)
)
return f"{app.config.gh_link_base_url}/issues/new?title={title}&labels={labels}&body={body}"
def git_info_filter(app: Sphinx, pagename) -> Optional[Tuple[str, str]]:
"""Return a tuple with the date and SHA1 of the last commit made to a page.
Arguments:
app {Sphinx} -- Sphinx application object
pagename {str} -- Page name
Returns:
Optional[Tuple[str, str]] -- Tuple with the date and SHA1 of the last commit made to the
page, or None if the page is not in the repo (generated file, or manually authored file not
yet tracked by git).
"""
page_prefix = get_page_prefix(app, pagename)
if page_prefix is None:
return None
orig_path = os.path.join(
ZEPHYR_BASE,
page_prefix,
app.env.doc2path(pagename, False),
)
# Check if the file is tracked by git
try:
subprocess.check_output(
["git", "ls-files", "--error-unmatch", orig_path],
stderr=subprocess.STDOUT,
)
except subprocess.CalledProcessError:
return None
try:
date_and_sha1 = (
subprocess.check_output(
[
"git",
"log",
"-1",
"--format=%ad %H",
"--date=unix",
orig_path,
],
stderr=subprocess.STDOUT,
)
.decode("utf-8")
.strip()
)
date, sha1 = date_and_sha1.split(" ", 1)
date_object = datetime.fromtimestamp(int(date))
last_update_fmt = app.config.html_last_updated_fmt
if last_update_fmt is not None:
date = format_date(last_update_fmt, date=date_object, language=app.config.language)
return (date, sha1)
except subprocess.CalledProcessError:
return None
def add_jinja_filter(app: Sphinx):
if app.builder.format != "html":
return
app.builder.templates.environment.filters["gh_link_get_blob_url"] = partial(
gh_link_get_url, app, mode="blob"
)
app.builder.templates.environment.filters["gh_link_get_edit_url"] = partial(
gh_link_get_url, app, mode="edit"
)
app.builder.templates.environment.filters["gh_link_get_open_issue_url"] = partial(
gh_link_get_open_issue_url, app
)
app.builder.templates.environment.filters["git_info"] = partial(git_info_filter, app)
def setup(app: Sphinx):
app.add_config_value("gh_link_version", "", "")
app.add_config_value("gh_link_base_url", "", "")
app.add_config_value("gh_link_prefixes", {}, "")
app.add_config_value("gh_link_exclude", [], "")
app.connect("builder-inited", add_jinja_filter)
return {
"version": __version__,
"parallel_read_safe": True,
"parallel_write_safe": True,
}
``` | /content/code_sandbox/doc/_extensions/zephyr/gh_utils.py | python | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,729 |
```python
#
# based on path_to_url
from __future__ import print_function
from __future__ import unicode_literals
import re
import subprocess
from docutils import nodes
try:
import west.manifest
try:
west_manifest = west.manifest.Manifest.from_file()
except west.util.WestNotFound:
west_manifest = None
except ImportError:
west_manifest = None
def get_github_rev():
try:
output = subprocess.check_output(
"git describe --exact-match", shell=True, stderr=subprocess.DEVNULL
)
except subprocess.CalledProcessError:
return "main"
return output.strip().decode("utf-8")
def setup(app):
app.add_role("zephyr_file", modulelink("zephyr"))
app.add_role("zephyr_raw", modulelink("zephyr", format="raw"))
app.add_role("module_file", modulelink())
app.add_config_value("link_roles_manifest_baseurl", None, "env")
app.add_config_value("link_roles_manifest_project", None, "env")
# The role just creates new nodes based on information in the
# arguments; its behavior doesn't depend on any other documents.
return {
"parallel_read_safe": True,
"parallel_write_safe": True,
}
def modulelink(default_module=None, format="blob"):
def role(name, rawtext, text, lineno, inliner, options={}, content=[]):
# Set default values
module = default_module
rev = get_github_rev()
config = inliner.document.settings.env.app.config
baseurl = config.link_roles_manifest_baseurl
trace = f"at '{inliner.parent.source}', line {lineno}"
m = re.search(r"(.*)\s*<(.*)>", text)
if m:
link_text = m.group(1)
link = m.group(2)
else:
link_text = text
link = text
module_match = re.search(r"(.+?):\s*(.+)", link)
if module_match:
module = module_match.group(1).strip()
link = module_match.group(2).strip()
# Try to get a module repository's GitHub URL from the manifest.
#
# This allows e.g. building the docs in downstream Zephyr-based
# software with forks of the zephyr repository, and getting
# :zephyr_file: / :zephyr_raw: output that links to the fork,
# instead of mainline zephyr.
projects = [p.name for p in west_manifest.projects] if west_manifest else []
if module in projects:
project = west_manifest.get_projects([module])[0]
baseurl = project.url
rev = project.revision
# No module provided
elif module is None:
raise ValueError(
f"Role 'module_file' must take a module as an argument\n\t{trace}"
)
# Invalid module provided
elif module != config.link_roles_manifest_project:
raise ModuleNotFoundError(
f"Module {module} not found in the west manifest\n\t{trace}"
)
# Baseurl for manifest project not set
elif baseurl is None:
raise ValueError(
f"Configuration value `link_roles_manifest_baseurl` not set\n\t{trace}"
)
url = f"{baseurl}/{format}/{rev}/{link}"
node = nodes.reference(rawtext, link_text, refuri=url, **options)
return [node], []
return role
``` | /content/code_sandbox/doc/_extensions/zephyr/link-roles.py | python | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 757 |
```css
/*
*/
/* Kconfig search */
#__kconfig-search .input-container {
border-radius: 5px;
border: 1px solid rgba(149, 157, 165, 0.2);
box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px !important;
margin-bottom: 0.5rem;
width: 100%;
height: 60px;
}
#__kconfig-search .input-container input {
border-radius: 5px 0px 0px 5px;
font-size: 18px;
width: 90%;
height: 100%;
padding: 0.75rem;
border: none;
box-shadow: none !important;
}
#__kconfig-search .input-container input:focus,
#__kconfig-search .input-container input:active {
outline: none;
}
#__kconfig-search .input-container button {
font-size: 22px;
border-radius: 0px 5px 5px 0px;
float: right;
width: 10%;
height: 100%;
border: none;
background-color: lightgrey;
}
#__kconfig-search select {
border-radius: 5px;
border: 1px solid rgba(149, 157, 165, 0.2);
box-shadow: unset;
color: black;
}
#__kconfig-search .search-tools {
display: flex;
flex-direction: row;
margin: 0.25rem 0.1rem 1.5rem;
}
#__kconfig-search .results-per-page-container {
margin-left: auto;
}
#__kconfig-search .results-per-page-title {
padding-right: 1rem;
}
#__kconfig-search .search-nav {
display: flex;
justify-content: center;
align-items: center;
}
#__kconfig-search .search-nav > p {
padding: 0 1rem;
margin: 0;
}
/* Kconfig entries */
.kconfig ul {
margin-bottom: 0 !important;
}
``` | /content/code_sandbox/doc/_extensions/zephyr/kconfig/static/kconfig.css | css | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 455 |
```python
"""
Kconfig Extension
#################
Introduction
============
This extension adds a new domain (``kconfig``) for the Kconfig language. Unlike
many other domains, the Kconfig options are not rendered by Sphinx directly but
on the client side using a database built by the extension. A special directive
``.. kconfig:search::`` can be inserted on any page to render a search box that
allows to browse the database. References to Kconfig options can be created by
using the ``:kconfig:option:`` role. Kconfig options behave as regular domain
objects, so they can also be referenced by other projects using Intersphinx.
Options
=======
- kconfig_generate_db: Set to True if you want to generate the Kconfig database.
This is only required if you want to use the ``.. kconfig:search::``
directive, not if you just need support for Kconfig domain (e.g. when using
Intersphinx in another project). Defaults to False.
- kconfig_ext_paths: A list of base paths where to search for external modules
Kconfig files when they use ``kconfig-ext: True``. The extension will look for
${BASE_PATH}/modules/${MODULE_NAME}/Kconfig.
"""
import argparse
import json
import os
import re
import sys
from itertools import chain
from pathlib import Path
from tempfile import TemporaryDirectory
from typing import Any, Dict, Iterable, List, Optional, Tuple
from docutils import nodes
from sphinx.addnodes import pending_xref
from sphinx.application import Sphinx
from sphinx.builders import Builder
from sphinx.domains import Domain, ObjType
from sphinx.environment import BuildEnvironment
from sphinx.errors import ExtensionError
from sphinx.roles import XRefRole
from sphinx.util.display import progress_message
from sphinx.util.docutils import SphinxDirective
from sphinx.util.nodes import make_refnode
__version__ = "0.1.0"
RESOURCES_DIR = Path(__file__).parent / "static"
ZEPHYR_BASE = Path(__file__).parents[4]
SCRIPTS = ZEPHYR_BASE / "scripts"
sys.path.insert(0, str(SCRIPTS))
KCONFIGLIB = SCRIPTS / "kconfig"
sys.path.insert(0, str(KCONFIGLIB))
import kconfiglib
import list_boards
import list_hardware
import zephyr_module
def kconfig_load(app: Sphinx) -> Tuple[kconfiglib.Kconfig, Dict[str, str]]:
"""Load Kconfig"""
with TemporaryDirectory() as td:
modules = zephyr_module.parse_modules(ZEPHYR_BASE)
# generate Kconfig.modules file
kconfig = ""
for module in modules:
kconfig += zephyr_module.process_kconfig(module.project, module.meta)
with open(Path(td) / "Kconfig.modules", "w") as f:
f.write(kconfig)
# generate dummy Kconfig.dts file
kconfig = ""
with open(Path(td) / "Kconfig.dts", "w") as f:
f.write(kconfig)
(Path(td) / 'soc').mkdir(exist_ok=True)
root_args = argparse.Namespace(**{'soc_roots': [Path(ZEPHYR_BASE)]})
v2_systems = list_hardware.find_v2_systems(root_args)
soc_folders = {soc.folder for soc in v2_systems.get_socs()}
with open(Path(td) / "soc" / "Kconfig.defconfig", "w") as f:
f.write('')
with open(Path(td) / "soc" / "Kconfig.soc", "w") as f:
for folder in soc_folders:
f.write('source "' + (Path(folder) / 'Kconfig.soc').as_posix() + '"\n')
with open(Path(td) / "soc" / "Kconfig", "w") as f:
for folder in soc_folders:
f.write('osource "' + (Path(folder) / 'Kconfig').as_posix() + '"\n')
(Path(td) / 'arch').mkdir(exist_ok=True)
root_args = argparse.Namespace(**{'arch_roots': [Path(ZEPHYR_BASE)], 'arch': None})
v2_archs = list_hardware.find_v2_archs(root_args)
kconfig = ""
for arch in v2_archs['archs']:
kconfig += 'source "' + (Path(arch['path']) / 'Kconfig').as_posix() + '"\n'
with open(Path(td) / "arch" / "Kconfig", "w") as f:
f.write(kconfig)
(Path(td) / 'boards').mkdir(exist_ok=True)
root_args = argparse.Namespace(**{'board_roots': [Path(ZEPHYR_BASE)],
'soc_roots': [Path(ZEPHYR_BASE)], 'board': None})
v2_boards = list_boards.find_v2_boards(root_args)
with open(Path(td) / "boards" / "Kconfig.boards", "w") as f:
for board in v2_boards:
board_str = 'BOARD_' + re.sub(r"[^a-zA-Z0-9_]", "_", board.name).upper()
f.write('config ' + board_str + '\n')
f.write('\t bool\n')
for qualifier in list_boards.board_v2_qualifiers(board):
board_str = 'BOARD_' + re.sub(r"[^a-zA-Z0-9_]", "_", qualifier).upper()
f.write('config ' + board_str + '\n')
f.write('\t bool\n')
f.write('source "' + (board.dir / ('Kconfig.' + board.name)).as_posix() + '"\n\n')
# base environment
os.environ["ZEPHYR_BASE"] = str(ZEPHYR_BASE)
os.environ["srctree"] = str(ZEPHYR_BASE)
os.environ["KCONFIG_DOC_MODE"] = "1"
os.environ["KCONFIG_BINARY_DIR"] = td
# include all archs and boards
os.environ["ARCH_DIR"] = "arch"
os.environ["ARCH"] = "[!v][!2]*"
os.environ["HWM_SCHEME"] = "v2"
os.environ["BOARD"] = "boards"
os.environ["BOARD_DIR"] = str(Path(td) / "boards")
# insert external Kconfigs to the environment
module_paths = dict()
for module in modules:
name = module.meta["name"]
name_var = module.meta["name-sanitized"].upper()
module_paths[name] = module.project
build_conf = module.meta.get("build")
if not build_conf:
continue
if build_conf.get("kconfig"):
kconfig = Path(module.project) / build_conf["kconfig"]
os.environ[f"ZEPHYR_{name_var}_KCONFIG"] = str(kconfig)
elif build_conf.get("kconfig-ext"):
for path in app.config.kconfig_ext_paths:
kconfig = Path(path) / "modules" / name / "Kconfig"
if kconfig.exists():
os.environ[f"ZEPHYR_{name_var}_KCONFIG"] = str(kconfig)
return kconfiglib.Kconfig(ZEPHYR_BASE / "Kconfig"), module_paths
class KconfigSearchNode(nodes.Element):
@staticmethod
def html():
return '<div id="__kconfig-search"></div>'
def kconfig_search_visit_html(self, node: nodes.Node) -> None:
self.body.append(node.html())
raise nodes.SkipNode
def kconfig_search_visit_latex(self, node: nodes.Node) -> None:
self.body.append("Kconfig search is only available on HTML output")
raise nodes.SkipNode
class KconfigSearch(SphinxDirective):
"""Kconfig search directive"""
has_content = False
def run(self):
if not self.config.kconfig_generate_db:
raise ExtensionError(
"Kconfig search directive can not be used without database"
)
if "kconfig_search_inserted" in self.env.temp_data:
raise ExtensionError("Kconfig search directive can only be used once")
self.env.temp_data["kconfig_search_inserted"] = True
# register all options to the domain at this point, so that they all
# resolve to the page where the kconfig:search directive is inserted
domain = self.env.get_domain("kconfig")
unique = set({option["name"] for option in self.env.kconfig_db})
for option in unique:
domain.add_option(option)
return [KconfigSearchNode()]
class _FindKconfigSearchDirectiveVisitor(nodes.NodeVisitor):
def __init__(self, document):
super().__init__(document)
self._found = False
def unknown_visit(self, node: nodes.Node) -> None:
if self._found:
return
self._found = isinstance(node, KconfigSearchNode)
@property
def found_kconfig_search_directive(self) -> bool:
return self._found
class KconfigDomain(Domain):
"""Kconfig domain"""
name = "kconfig"
label = "Kconfig"
object_types = {"option": ObjType("option", "option")}
roles = {"option": XRefRole()}
directives = {"search": KconfigSearch}
initial_data: Dict[str, Any] = {"options": set()}
def get_objects(self) -> Iterable[Tuple[str, str, str, str, str, int]]:
for obj in self.data["options"]:
yield obj
def merge_domaindata(self, docnames: List[str], otherdata: Dict) -> None:
self.data["options"].update(otherdata["options"])
def resolve_xref(
self,
env: BuildEnvironment,
fromdocname: str,
builder: Builder,
typ: str,
target: str,
node: pending_xref,
contnode: nodes.Element,
) -> Optional[nodes.Element]:
match = [
(docname, anchor)
for name, _, _, docname, anchor, _ in self.get_objects()
if name == target
]
if match:
todocname, anchor = match[0]
return make_refnode(
builder, fromdocname, todocname, anchor, contnode, anchor
)
else:
return None
def add_option(self, option):
"""Register a new Kconfig option to the domain."""
self.data["options"].add(
(option, option, "option", self.env.docname, option, 1)
)
def sc_fmt(sc):
if isinstance(sc, kconfiglib.Symbol):
if sc.nodes:
return f'<a href="#CONFIG_{sc.name}">CONFIG_{sc.name}</a>'
elif isinstance(sc, kconfiglib.Choice):
if not sc.name:
return "<choice>"
return f'<choice <a href="#CONFIG_{sc.name}">CONFIG_{sc.name}</a>>'
return kconfiglib.standard_sc_expr_str(sc)
def kconfig_build_resources(app: Sphinx) -> None:
"""Build the Kconfig database and install HTML resources."""
if not app.config.kconfig_generate_db:
return
with progress_message("Building Kconfig database..."):
kconfig, module_paths = kconfig_load(app)
db = list()
for sc in sorted(
chain(kconfig.unique_defined_syms, kconfig.unique_choices),
key=lambda sc: sc.name if sc.name else "",
):
# skip nameless symbols
if not sc.name:
continue
# store alternative defaults (from defconfig files)
alt_defaults = list()
for node in sc.nodes:
if "defconfig" not in node.filename:
continue
for value, cond in node.orig_defaults:
fmt = kconfiglib.expr_str(value, sc_fmt)
if cond is not sc.kconfig.y:
fmt += f" if {kconfiglib.expr_str(cond, sc_fmt)}"
alt_defaults.append([fmt, node.filename])
# build list of symbols that select/imply the current one
# note: all reverse dependencies are ORed together, and conditionals
# (e.g. select/imply A if B) turns into A && B. So we first split
# by OR to include all entries, and we split each one by AND to just
# take the first entry.
selected_by = list()
if isinstance(sc, kconfiglib.Symbol) and sc.rev_dep != sc.kconfig.n:
for select in kconfiglib.split_expr(sc.rev_dep, kconfiglib.OR):
sym = kconfiglib.split_expr(select, kconfiglib.AND)[0]
selected_by.append(f"CONFIG_{sym.name}")
implied_by = list()
if isinstance(sc, kconfiglib.Symbol) and sc.weak_rev_dep != sc.kconfig.n:
for select in kconfiglib.split_expr(sc.weak_rev_dep, kconfiglib.OR):
sym = kconfiglib.split_expr(select, kconfiglib.AND)[0]
implied_by.append(f"CONFIG_{sym.name}")
# only process nodes with prompt or help
nodes = [node for node in sc.nodes if node.prompt or node.help]
inserted_paths = list()
for node in nodes:
# avoid duplicate symbols by forcing unique paths. this can
# happen due to dependencies on 0, a trick used by some modules
path = f"{node.filename}:{node.linenr}"
if path in inserted_paths:
continue
inserted_paths.append(path)
dependencies = None
if node.dep is not sc.kconfig.y:
dependencies = kconfiglib.expr_str(node.dep, sc_fmt)
defaults = list()
for value, cond in node.orig_defaults:
fmt = kconfiglib.expr_str(value, sc_fmt)
if cond is not sc.kconfig.y:
fmt += f" if {kconfiglib.expr_str(cond, sc_fmt)}"
defaults.append(fmt)
selects = list()
for value, cond in node.orig_selects:
fmt = kconfiglib.expr_str(value, sc_fmt)
if cond is not sc.kconfig.y:
fmt += f" if {kconfiglib.expr_str(cond, sc_fmt)}"
selects.append(fmt)
implies = list()
for value, cond in node.orig_implies:
fmt = kconfiglib.expr_str(value, sc_fmt)
if cond is not sc.kconfig.y:
fmt += f" if {kconfiglib.expr_str(cond, sc_fmt)}"
implies.append(fmt)
ranges = list()
for min, max, cond in node.orig_ranges:
fmt = (
f"[{kconfiglib.expr_str(min, sc_fmt)}, "
f"{kconfiglib.expr_str(max, sc_fmt)}]"
)
if cond is not sc.kconfig.y:
fmt += f" if {kconfiglib.expr_str(cond, sc_fmt)}"
ranges.append(fmt)
choices = list()
if isinstance(sc, kconfiglib.Choice):
for sym in sc.syms:
choices.append(kconfiglib.expr_str(sym, sc_fmt))
menupath = ""
iternode = node
while iternode.parent is not iternode.kconfig.top_node:
iternode = iternode.parent
if iternode.prompt:
title = iternode.prompt[0]
else:
title = kconfiglib.standard_sc_expr_str(iternode.item)
menupath = f" > {title}" + menupath
menupath = "(Top)" + menupath
filename = node.filename
for name, path in module_paths.items():
path += "/"
if node.filename.startswith(path):
filename = node.filename.replace(path, f"<module:{name}>/")
break
db.append(
{
"name": f"CONFIG_{sc.name}",
"prompt": node.prompt[0] if node.prompt else None,
"type": kconfiglib.TYPE_TO_STR[sc.type],
"help": node.help,
"dependencies": dependencies,
"defaults": defaults,
"alt_defaults": alt_defaults,
"selects": selects,
"selected_by": selected_by,
"implies": implies,
"implied_by": implied_by,
"ranges": ranges,
"choices": choices,
"filename": filename,
"linenr": node.linenr,
"menupath": menupath,
}
)
app.env.kconfig_db = db # type: ignore
outdir = Path(app.outdir) / "kconfig"
outdir.mkdir(exist_ok=True)
kconfig_db_file = outdir / "kconfig.json"
with open(kconfig_db_file, "w") as f:
json.dump(db, f)
app.config.html_extra_path.append(kconfig_db_file.as_posix())
app.config.html_static_path.append(RESOURCES_DIR.as_posix())
def kconfig_install(
app: Sphinx,
pagename: str,
templatename: str,
context: Dict,
doctree: Optional[nodes.Node],
) -> None:
"""Install the Kconfig library files on pages that require it."""
if (
not app.config.kconfig_generate_db
or app.builder.format != "html"
or not doctree
):
return
visitor = _FindKconfigSearchDirectiveVisitor(doctree)
doctree.walk(visitor)
if visitor.found_kconfig_search_directive:
app.add_css_file("kconfig.css")
app.add_js_file("kconfig.mjs", type="module")
def setup(app: Sphinx):
app.add_config_value("kconfig_generate_db", False, "env")
app.add_config_value("kconfig_ext_paths", [], "env")
app.add_node(
KconfigSearchNode,
html=(kconfig_search_visit_html, None),
latex=(kconfig_search_visit_latex, None),
)
app.add_domain(KconfigDomain)
app.connect("builder-inited", kconfig_build_resources)
app.connect("html-page-context", kconfig_install)
return {
"version": __version__,
"parallel_read_safe": True,
"parallel_write_safe": True,
}
``` | /content/code_sandbox/doc/_extensions/zephyr/kconfig/__init__.py | python | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,954 |
```unknown
/*
*/
const DB_FILE = 'kconfig.json';
const RESULTS_PER_PAGE_OPTIONS = [10, 25, 50];
/* search state */
let db;
let searchOffset;
let maxResults = RESULTS_PER_PAGE_OPTIONS[0];
/* elements */
let input;
let searchTools;
let summaryText;
let results;
let navigation;
let navigationPagesText;
let navigationPrev;
let navigationNext;
/**
* Show an error message.
* @param {String} message Error message.
*/
function showError(message) {
const admonition = document.createElement('div');
admonition.className = 'admonition error';
results.replaceChildren(admonition);
const admonitionTitle = document.createElement('p');
admonitionTitle.className = 'admonition-title';
admonition.appendChild(admonitionTitle);
const admonitionTitleText = document.createTextNode('Error');
admonitionTitle.appendChild(admonitionTitleText);
const admonitionContent = document.createElement('p');
admonition.appendChild(admonitionContent);
const admonitionContentText = document.createTextNode(message);
admonitionContent.appendChild(admonitionContentText);
}
/**
* Show a progress message.
* @param {String} message Progress message.
*/
function showProgress(message) {
const p = document.createElement('p');
p.className = 'centered';
results.replaceChildren(p);
const pText = document.createTextNode(message);
p.appendChild(pText);
}
/**
* Render a Kconfig literal property.
* @param {Element} parent Parent element.
* @param {String} title Title.
* @param {String} content Content.
*/
function renderKconfigPropLiteral(parent, title, content) {
const term = document.createElement('dt');
parent.appendChild(term);
const termText = document.createTextNode(title);
term.appendChild(termText);
const details = document.createElement('dd');
parent.appendChild(details);
const code = document.createElement('code');
code.className = 'docutils literal';
details.appendChild(code);
const literal = document.createElement('span');
literal.className = 'pre';
code.appendChild(literal);
const literalText = document.createTextNode(content);
literal.appendChild(literalText);
}
/**
* Render a Kconfig list property.
* @param {Element} parent Parent element.
* @param {String} title Title.
* @param {list} elements List of elements.
* @param {boolean} linkElements Whether to link elements (treat each element
* as an unformatted option)
*/
function renderKconfigPropList(parent, title, elements, linkElements) {
if (elements.length === 0) {
return;
}
const term = document.createElement('dt');
parent.appendChild(term);
const termText = document.createTextNode(title);
term.appendChild(termText);
const details = document.createElement('dd');
parent.appendChild(details);
const list = document.createElement('ul');
list.className = 'simple';
details.appendChild(list);
elements.forEach(element => {
const listItem = document.createElement('li');
list.appendChild(listItem);
if (linkElements) {
const link = document.createElement('a');
link.href = '#' + element;
listItem.appendChild(link);
const linkText = document.createTextNode(element);
link.appendChild(linkText);
} else {
/* using HTML since element content is pre-formatted */
listItem.innerHTML = element;
}
});
}
/**
* Render a Kconfig list property.
* @param {Element} parent Parent element.
* @param {list} elements List of elements.
* @returns
*/
function renderKconfigDefaults(parent, defaults, alt_defaults) {
if (defaults.length === 0 && alt_defaults.length === 0) {
return;
}
const term = document.createElement('dt');
parent.appendChild(term);
const termText = document.createTextNode('Defaults');
term.appendChild(termText);
const details = document.createElement('dd');
parent.appendChild(details);
if (defaults.length > 0) {
const list = document.createElement('ul');
list.className = 'simple';
details.appendChild(list);
defaults.forEach(entry => {
const listItem = document.createElement('li');
list.appendChild(listItem);
/* using HTML since default content may be pre-formatted */
listItem.innerHTML = entry;
});
}
if (alt_defaults.length > 0) {
const list = document.createElement('ul');
list.className = 'simple';
list.style.display = 'none';
details.appendChild(list);
alt_defaults.forEach(entry => {
const listItem = document.createElement('li');
list.appendChild(listItem);
/* using HTML since default content may be pre-formatted */
listItem.innerHTML = `
${entry[0]}
<em>at</em>
<code class="docutils literal">
<span class"pre">${entry[1]}</span>
</code>`;
});
const show = document.createElement('a');
show.onclick = () => {
if (list.style.display === 'none') {
list.style.display = 'block';
} else {
list.style.display = 'none';
}
};
details.appendChild(show);
const showText = document.createTextNode('Show/Hide other defaults');
show.appendChild(showText);
}
}
/**
* Render a Kconfig entry.
* @param {Object} entry Kconfig entry.
*/
function renderKconfigEntry(entry) {
const container = document.createElement('dl');
container.className = 'kconfig';
/* title (name and permalink) */
const title = document.createElement('dt');
title.className = 'sig sig-object';
container.appendChild(title);
const name = document.createElement('span');
name.className = 'pre';
title.appendChild(name);
const nameText = document.createTextNode(entry.name);
name.appendChild(nameText);
const permalink = document.createElement('a');
permalink.className = 'headerlink';
permalink.href = '#' + entry.name;
title.appendChild(permalink);
const permalinkText = document.createTextNode('\uf0c1');
permalink.appendChild(permalinkText);
/* details */
const details = document.createElement('dd');
container.append(details);
/* prompt and help */
const prompt = document.createElement('p');
details.appendChild(prompt);
const promptTitle = document.createElement('em');
prompt.appendChild(promptTitle);
const promptTitleText = document.createTextNode('');
promptTitle.appendChild(promptTitleText);
if (entry.prompt) {
promptTitleText.nodeValue = entry.prompt;
} else {
promptTitleText.nodeValue = 'No prompt - not directly user assignable.';
}
if (entry.help) {
const help = document.createElement('p');
details.appendChild(help);
const helpText = document.createTextNode(entry.help);
help.appendChild(helpText);
}
/* symbol properties (defaults, selects, etc.) */
const props = document.createElement('dl');
props.className = 'field-list simple';
details.appendChild(props);
renderKconfigPropLiteral(props, 'Type', entry.type);
if (entry.dependencies) {
renderKconfigPropList(props, 'Dependencies', [entry.dependencies]);
}
renderKconfigDefaults(props, entry.defaults, entry.alt_defaults);
renderKconfigPropList(props, 'Selects', entry.selects, false);
renderKconfigPropList(props, 'Selected by', entry.selected_by, true);
renderKconfigPropList(props, 'Implies', entry.implies, false);
renderKconfigPropList(props, 'Implied by', entry.implied_by, true);
renderKconfigPropList(props, 'Ranges', entry.ranges, false);
renderKconfigPropList(props, 'Choices', entry.choices, false);
renderKconfigPropLiteral(props, 'Location', `${entry.filename}:${entry.linenr}`);
renderKconfigPropLiteral(props, 'Menu path', entry.menupath);
return container;
}
/** Perform a search and display the results. */
function doSearch() {
/* replace current state (to handle back button) */
history.replaceState({
value: input.value,
searchOffset: searchOffset
}, '', window.location);
/* nothing to search for */
if (!input.value) {
results.replaceChildren();
navigation.style.visibility = 'hidden';
searchTools.style.visibility = 'hidden';
return;
}
/* perform search */
const regexes = input.value.trim().split(/\s+/).map(
element => new RegExp(element.toLowerCase())
);
let count = 0;
const searchResults = db.filter(entry => {
let matches = 0;
const name = entry.name.toLowerCase();
const prompt = entry.prompt ? entry.prompt.toLowerCase() : "";
regexes.forEach(regex => {
if (name.search(regex) >= 0 || prompt.search(regex) >= 0) {
matches++;
}
});
if (matches === regexes.length) {
count++;
if (count > searchOffset && count <= (searchOffset + maxResults)) {
return true;
}
}
return false;
});
/* show results count and search tools */
summaryText.nodeValue = `${count} options match your search.`;
searchTools.style.visibility = 'visible';
/* update navigation */
navigation.style.visibility = 'visible';
navigationPrev.disabled = searchOffset - maxResults < 0;
navigationNext.disabled = searchOffset + maxResults > count;
const currentPage = Math.floor(searchOffset / maxResults) + 1;
const totalPages = Math.floor(count / maxResults) + 1;
navigationPagesText.nodeValue = `Page ${currentPage} of ${totalPages}`;
/* render Kconfig entries */
results.replaceChildren();
searchResults.forEach(entry => {
results.appendChild(renderKconfigEntry(entry));
});
}
/** Do a search from URL hash */
function doSearchFromURL() {
const rawOption = window.location.hash.substring(1);
if (!rawOption) {
return;
}
const option = decodeURIComponent(rawOption);
if (option.startsWith('!')) {
input.value = option.substring(1);
} else {
input.value = '^' + option + '$';
}
searchOffset = 0;
doSearch();
}
function setupKconfigSearch() {
/* populate kconfig-search container */
const container = document.getElementById('__kconfig-search');
if (!container) {
console.error("Couldn't find Kconfig search container");
return;
}
/* create input field */
const inputContainer = document.createElement('div');
inputContainer.className = 'input-container'
container.appendChild(inputContainer)
input = document.createElement('input');
input.placeholder = 'Type a Kconfig option name (RegEx allowed)';
input.type = 'text';
inputContainer.appendChild(input);
const copyLinkButton = document.createElement('button');
copyLinkButton.title = "Copy link to results";
copyLinkButton.onclick = () => {
if (!window.isSecureContext) {
console.error("Cannot copy outside of a secure context");
return;
}
const copyURL = window.location.protocol + '//' + window.location.host +
window.location.pathname + '#!' + input.value;
navigator.clipboard.writeText(encodeURI(copyURL));
}
inputContainer.appendChild(copyLinkButton)
const copyLinkText = document.createTextNode('');
copyLinkButton.appendChild(copyLinkText);
/* create search tools container */
searchTools = document.createElement('div');
searchTools.className = 'search-tools';
searchTools.style.visibility = 'hidden';
container.appendChild(searchTools);
/* create search summary */
const searchSummaryContainer = document.createElement('div');
searchTools.appendChild(searchSummaryContainer);
const searchSummary = document.createElement('p');
searchSummaryContainer.appendChild(searchSummary);
summaryText = document.createTextNode('');
searchSummary.appendChild(summaryText);
/* create results per page selector */
const resultsPerPageContainer = document.createElement('div');
resultsPerPageContainer.className = 'results-per-page-container';
searchTools.appendChild(resultsPerPageContainer);
const resultsPerPageTitle = document.createElement('span');
resultsPerPageTitle.className = 'results-per-page-title';
resultsPerPageContainer.appendChild(resultsPerPageTitle);
const resultsPerPageTitleText = document.createTextNode('Results per page:');
resultsPerPageTitle.appendChild(resultsPerPageTitleText);
const resultsPerPageSelect = document.createElement('select');
resultsPerPageSelect.onchange = (event) => {
maxResults = parseInt(event.target.value);
searchOffset = 0;
doSearch();
}
resultsPerPageContainer.appendChild(resultsPerPageSelect);
RESULTS_PER_PAGE_OPTIONS.forEach((value, index) => {
const option = document.createElement('option');
option.value = value;
option.text = value;
option.selected = index === 0;
resultsPerPageSelect.appendChild(option);
});
/* create search results container */
results = document.createElement('div');
container.appendChild(results);
/* create search navigation */
navigation = document.createElement('div');
navigation.className = 'search-nav';
navigation.style.visibility = 'hidden';
container.appendChild(navigation);
navigationPrev = document.createElement('button');
navigationPrev.className = 'btn';
navigationPrev.disabled = true;
navigationPrev.onclick = () => {
searchOffset -= maxResults;
doSearch();
window.scroll(0, 0);
}
navigation.appendChild(navigationPrev);
const navigationPrevText = document.createTextNode('Previous');
navigationPrev.appendChild(navigationPrevText);
const navigationPages = document.createElement('p');
navigation.appendChild(navigationPages);
navigationPagesText = document.createTextNode('');
navigationPages.appendChild(navigationPagesText);
navigationNext = document.createElement('button');
navigationNext.className = 'btn';
navigationNext.disabled = true;
navigationNext.onclick = () => {
searchOffset += maxResults;
doSearch();
window.scroll(0, 0);
}
navigation.appendChild(navigationNext);
const navigationNextText = document.createTextNode('Next');
navigationNext.appendChild(navigationNextText);
/* load database */
showProgress('Loading database...');
fetch(DB_FILE)
.then(response => response.json())
.then(json => {
db = json;
results.replaceChildren();
/* perform initial search */
doSearchFromURL();
/* install event listeners */
input.addEventListener('input', () => {
searchOffset = 0;
doSearch();
});
/* install hash change listener (for links) */
window.addEventListener('hashchange', doSearchFromURL);
/* handle back/forward navigation */
window.addEventListener('popstate', (event) => {
if (!event.state) {
return;
}
input.value = event.state.value;
searchOffset = event.state.searchOffset;
doSearch();
});
})
.catch(error => {
showError(`Kconfig database could not be loaded (${error})`);
});
}
setupKconfigSearch();
``` | /content/code_sandbox/doc/_extensions/zephyr/kconfig/static/kconfig.mjs | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,122 |
```restructuredtext
.. _bug_reporting:
Bug Reporting
##############
To maintain traceability and relation between proposals, changes, features, and
issues, it is recommended to cross-reference source code commits with the
relevant GitHub issues and vice versa.
Any changes that originate from a tracked feature or issue should contain a
reference to the feature by mentioning the corresponding issue or pull-request
identifiers.
At any time it should be possible to establish the origin of a change and the
reason behind it by following the references in the code.
Reporting a regression issue
****************************
It could happen that the issue being reported is identified as a regression,
as the use case is known to be working on earlier commit or release.
In this case, providing directly the guilty commit when submitting the bug
gains a lot of time in the eventual bug fixing.
To identify the commit causing the regression, several methods could be used,
but tree bisecting method is an efficient one that doesn't require deep code
expertise and can be used by every one.
For this, `git bisect`_ is the recommended tool.
Recommendations on the process:
* Run ``west update`` on each bisection step.
* Once the bisection is over and a culprit identified, verify manually the result.
.. _git bisect:
path_to_url
``` | /content/code_sandbox/doc/project/issues.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 270 |
```restructuredtext
TSC Working Groups
******************
Overview
########
The TSC, at its discretion, may establish working groups or subcommittees to
serve as focused teams dedicated to specific technical areas, initiatives, or
tasks.
Membership
##########
Working Group Membership Eligibility
++++++++++++++++++++++++++++++++++++
- Each Working group (WG) shall determine its own membership eligibility, in
consultation with the TSC.
- Each working group shall have a team of members who are actively involved
in its activities and decision-making processes.
- It is expected that WG membership shall be **open to all Zephyr project
:ref:`Collaborators <collaborator>`**; however, working groups may impose
restrictions such as the number of participants from a single company.
- All TSC members are eligible to join a working group as members, part of
the responsibilities being a TSC member.
- The minimal number of members may vary depending on the complexity of the
tasks and the breadth of expertise required to address them effectively.
- A working group should aim to have at least five to seven members to
ensure diversity of perspectives, collaboration, and continuity.
- The structure of each working group within the Zephyr Project should be
designed to ensure effectiveness, productivity, and inclusivity. While the
optimal size of a working group can vary depending on the specific context and
scope of its activities.
- Participation in WG meetings and discussions is open to all project
:ref:`contributors <contributor>`.
Working Group Chair / Co-chair
++++++++++++++++++++++++++++++
Each working group may elect a Chair and optionally a Co-Chair who is
responsible for leading meetings and representing the working group to the TSC.
Working Group Chair / Co-Chair Elections
++++++++++++++++++++++++++++++++++++++++
- The Chair and Co-Chair shall be elected by the members of the working group
- Any member of the working group has the right to nominate themselves for the
chair/co-chair positions.
- The term for the chair/co-chair is one year
- If a chair/co-chair resigns from the position before the end of the term, a
vote is to be held to elect a new chair/co-chair.
Working Group Voter Eligibility
+++++++++++++++++++++++++++++++
- Voting for a Chair or Co-Chair is open to the members of the working group.
- Only 1 working group member from each company may vote in the election.
- The Chair and Co-Chair shall be members of the working group.
Working Group Election Confirmation
++++++++++++++++++++++++++++++++++++
- The elected Chair (and/or Co-Chair) is submitted to the TSC for confirmation.
- The TSC decides to accept the outcome or requests a new voting.
Advisory role
#############
- Working Groups are advisory in nature. They provide advice to the projects and
to the TSC.
- Working groups operate on a rough consensus basis. If the working group is
unable to reach consensus on what advice to offer, the working group Chair
shall raise the issue with the TSC or the relevant committee (Safety and
Security), where a formal vote can be taken, or advise the project that the
working group cannot reach consensus.
- Working groups shall keep track of discussions and record any votes,
decisions, or recommendations made and share results with the community and
the TSC.
- Working group meetings and offline discussions shall be captured in a
standalone document with all supporting details such as attendance, quorum,
actions to be taken, and next steps.
- Decisions made within a working group are non-binding and are only considered
ratified after communicating decisions and outcomes to the TSC.
- Lacking any objections from the TSC within 1 week after the communication or
report of any results, decisions of a working group are considered confirmed
and ratified.
TSC Working Group Lifecycle
###########################
Creation of a TSC working group
+++++++++++++++++++++++++++++++
In order to create a TSC working group, a TSC member shall make a proposal to
the TSC (via TSC email list) that shall cover at least the following:
- TSC working group name.
- TSC working group purpose
- TSC working group expected deliverables
- TSC working group starting participants with at least one TSC member acting as
a sponsor.
- Optionally TSC working group definition of done
Update of a TSC working group
+++++++++++++++++++++++++++++
The TSC can modify a TSC working group via a TSC decision. To request such a
modification, a request is made to the TSC email list.
Conclusion of a TSC working group
+++++++++++++++++++++++++++++++++
The TSC decides the termination of the TSC working group in accordance with the
TSC decision procedure. The submission of a request to terminate the TSC working
group should cover:
- TSC working group name
- TSC working group deliveries
- Motivation for termination of the TSC working group
``` | /content/code_sandbox/doc/project/working_groups.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,030 |
```restructuredtext
.. _feature-tracking:
Feature Tracking
#################
For feature tracking we use Github labels to classify new features and
enhancements. The following is the description of each category:
Enhancement
Changes to existing features that are not considered a bug and would not
block a release. This is an incremental enhancement to a feature that already
exists in Zephyr.
Feature request
A request for the implementation or inclusion of a new unit of functionality
that is not part of any release plans yet, that has not been vetted, and needs
further discussion and details.
Feature
A committed and planned unit of functionality with a detailed design and
implementation proposal and an owner. Features must go through an RFC process
and must be vetted and discussed in the TSC before a target milestone is set.
Hardware Support
A request or plan to port an existing feature or enhancement to a particular
hardware platform. This ranges from porting Zephyr itself to a new
architecture, SoC or board to adding an implementation of a peripheral driver
API for an existing hardware platform.
Meta
A label to group other GitHub issues that are part of a single feature or unit
of work.
The following workflow should be used to process features:.
This is the formal way for asking for a new feature in Zephyr and indicating its
importance to the project. Often, the requester may have a readiness and
willingness to drive implementation of the feature in an upcoming release, and
should assign the request to themselves.
If not though, an owner will be assigned after evaluation by the TSC.
A feature request can also have a companion RFC with more details on the feature
and a proposed design or implementation.
- Label new features requests as ``feature-request``
- The TSC discusses new ``feature-request`` items regularly and triages them.
Items are examined for similarity with existing features, how they fit with
the project goals and other timeline considerations. The priority is
determined as follows:
- High = Next milestone
- Medium = As soon as possible
- Low = Best effort
- After the initial discussion and triaging, the label is moved from
``feature-request`` to ``feature`` with the target milestone and an assignee.
All items marked as ``feature-request`` are non-binding and those without an
assignee are open for grabs, meaning that they can be picked up and implemented
by any project member or the community. You should contact an assigned owner if
you'd like to discuss or contribute to that feature's implementation
Roadmap and Release Plans
*************************
Project roadmaps and release plans are both important tools for the project, but
they have very different purposes and should not be confused. A project roadmap
communicates the high-level overview of a project's strategy, while a release
plan is a tactical document designed to capture and track the features planned
for upcoming releases.
- The project roadmap communicates the why; a release plan details the what
- A release plan spans only a few months; a product roadmap might cover a year
or more
Project Roadmap
================
The project roadmap should serve as a high-level, visual summary of the
project's strategic objectives and expectations.
If built properly, the roadmap can be a valuable tool for several reasons. It
can help the project present its plan in a compelling way to existing and new
stakeholders, to help recruit new members and it can be a helpful resource the
team and community can refer to throughout the project's development, to ensure
they are still executing according to plan.
As such, the roadmap should contain only strategic-level details, major project
themes, epics, and goals.
Release Plans
==============
The release plan comes into play when the project roadmap's high-level strategy
is translated into an actionable plan built on specific features, enhancements,
and fixes that need to go into a specific release or milestone.
The release plan communicates those features and enhancements slated for your
project' next release (or the next few releases). So it acts as more of a
project plan, breaking the big ideas down into smaller projects the community
and main stakeholders of the project can make progress on.
Items labeled as ``features`` are short or long term release items that shall
have an assignee and a milestone set.
``` | /content/code_sandbox/doc/project/proposals.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 905 |
```restructuredtext
.. _code-flow-and-branches:
Code Flow and Branches
######################
Introduction
************
The zephyr Git repository has three types of branches:
main
Which contains the latest state of development
collab-\*
Collaboration branches that are used for shared development
of new features to be introduced into the main branch when ready. Creating a new
collaboration branch requires a justification and TSC approval. Collaboration branches
shall be based off the main branch and any changes developed in the collab
branch shall target the main development branch. For released versions of
Zephyr, the introduction of fixes and new features, if approved by the TSC,
shall be done using backport pull requests.
vx.y-branch
Branches which track maintenance releases based on a major
release
Development in collaboration branches before features go to mainline allows teams to
work independently on a subsystem or a feature, improves efficiency and
turnaround time, and encourages collaboration and streamlines communication
between developers.
Changes submitted to a collaboration branch can evolve and improve
incrementally in a branch, before they are submitted to the mainline tree for
final integration.
By dedicating an isolated branch to complex features, it's
possible to initiate in-depth discussions around new additions before
integrating them into the official project.
Collaboration branches are ephemeral and shall be removed once the collaboration work
has been completed. When a branch is requested, the proposal should include the
following:
* Define exit criteria for merging the collaboration branch changes back into the main branch.
* Define a timeline for the expected life cycle of the branch. It is
recommended to select a Zephyr release to set the timeline. Extensions to
this timeline requires TSC approval.
Roles and Responsibilities
**************************
Collaboration branch owners have the following responsibilities:
- Use the infrastructure and tools provided by the project (GitHub, Git)
- All changes to collaboration branches shall come in form of github pull requests.
- Force pushing a collaboration branch is only allowed when rebasing against the main branch.
- Review changes coming from team members and request review from branch owners
when submitting changes.
- Keep the branch in sync with upstream and update on a regular basis.
- Push changes frequently to upstream using the following methods:
- GitHub pull requests: for example, when reviews have not been done in the local
branch (one-man branch).
- Merge requests: When a set of changes has been done in a local branch and
has been reviewed and tested in a collaboration branch.
``` | /content/code_sandbox/doc/project/code_flow.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 532 |
```restructuredtext
.. _modifying_contributions:
Modifying Contributions made by other developers
************************************************
Scenarios
#########
Zephyr contributors and collaborators are encouraged to assist
as reviewers in pull requests, so that patches may be approved and merged
to Zephyr's main branch as part of the original pull requests. The authors
of the pull requests are responsible for amending their original commits
following the review process.
There are occasions, however, when a contributor might need to modify patches
included in pull requests that are submitted by other Zephyr contributors.
For instance, this is the case when:
* a developer cherry-picks commits submitted by other contributors into their
own pull requests in order to:
* integrate useful content which is part of a stale pull request, or
* get content merged to the project's main branch as part of a larger
patch
* a developer pushes to a branch or pull request opened by another
contributor in order to:
* assist in updating pull requests in order to get the patches merged
to the project's main branch
* drive stale pull requests to completion so they can be merged
Accepted policies
#################
A developer who intends to cherry-pick and potentially modify patches sent by
another contributor shall:
* clarify in their pull request the reason for cherry-picking the patches,
instead of assisting in getting the patches merged in their original
pull request, and
* invite the original author of the patches to their pull request review.
A developer who intends to force-push to a branch or pull request of
another Zephyr contributor shall clarify in the pull request the reason
for pushing and for modifying the existing patches (e.g. stating that it
is done to drive the pull request review to completion, when the pull
request author is not able to do so).
.. note::
Developers should try to limit the above practice to pull requests identified
as *stale*. Read about how to identify pull requests as stale in
:ref:`development processes and tools <dev-environment-and-tools>`
If the original patches are substantially modified, the developer can either:
* (preferably) reach out to the original author and request them to
acknowledge that the modified patches may be merged while having
the original sign-off line and author identity, or
* submit the modified patches as their *own* work (i.e. with their
*own* sign-off line and author identity). In this case, the developer
shall identify in the commit message(s) the original source the
submitted work is based on (mentioning, for example, the original PR
number).
.. note::
Contributors should uncheck the box *Allow Edits By Maintainers"*
to indicate that they do not wish their patches to be amended,
inside their original branch or pull request, by other Zephyr developers.
``` | /content/code_sandbox/doc/project/modifying_contributions.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 601 |
```restructuredtext
.. _development_model:
Project and Governance
#######################
.. toctree::
:maxdepth: 1
tsc
project_roles.rst
working_groups
release_process
proposals
code_flow
modifying_contributions.rst
dev_env_and_tools
issues
communication
documentation
The Zephyr project defines a development process workflow using GitHub
**Issues** to track feature, enhancement, and bug reports together with GitHub
**Pull Requests** (PRs) for submitting and reviewing changes. Zephyr
community members work together to review these Issues and PRs, managing
feature enhancements and quality improvements of Zephyr through its regular
releases, as outlined in the
`program management overview <path_to_url`_.
We can only manage the volume of Issues and PRs, by requiring timely reviews,
feedback, and responses from the community and contributors, both for initial
submissions and for followup questions and clarifications. Read about the
project's :ref:`development processes and tools <dev-environment-and-tools>`
and specifics about :ref:`review timelines <review_time>` to learn about the
project's goals and guidelines for our active developer community.
:ref:`project_roles` describes in detail the Zephyr project roles and associated permissions
with respect to the development process workflow.
Terminology
***********
- mainline: The main tree where the core functionality and core features are
being developed.
- subsystem/feature branch: is a branch within the same repository. In our case,
we will use the term branch also when referencing branches not in the same
repository, which are a copy of a repository sharing the same history.
- upstream: A parent branch the source code is based on. This is the branch you
pull from and push to, basically your upstream.
- LTS: Long Term Support
``` | /content/code_sandbox/doc/project/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 397 |
```restructuredtext
.. _code-documentation:
Code Documentation
###################
API Documentation
******************
Well documented APIs enhance the experience for developers and are an essential
requirement for defining an API's success. Doxygen is a general purpose
documentation tool that the zephyr project uses for documenting APIs. It
generates either an on-line documentation browser (in HTML) and/or provides
input for other tools that is used to generate a reference manual from
documented source files. In particular, doxygen's XML output is used as an input
when producing the Zephyr project's online documentation.
Reference to Requirements
**************************
APIs for the most part document the implementation of requirements or advertised
features and can be traced back to features. We use the API documentation as the
main interface to trace implementation back to documented features. This is done
using custom _doxygen_ tags that reference requirements maintained somewhere
else in a requirement catalogue.
Test Documentation
*******************
To help understand what each test does and which functionality it tests we also
document all test code using the same tools and in the same context and generate
documentation for all unit and integration tests maintained in the same
environment. Tests are documented using references to the APIs or functionality
they validate by creating a link back to the APIs and by adding a reference to
the original requirements.
Documentation Guidelines
*************************
Test Code
=========
The Zephyr project uses several test methodologies, the most common being the
:ref:`Ztest framework <test-framework>`. Test documentation should only be done
on the entry test functions (usually prefixed with test\_) and those that are
called directly by the Ztest framework. Those tests are going to appear in test
reports and using their name and identifier is the best way to identify them
and trace back to them from requirements.
Test documentation should not interfere with the actual API documentation and
needs to follow a new structure to avoid confusion. Using a consistent naming
scheme and following a well-defined structure we will be able to group this
documentation in its own module and identify it uniquely when parsing test data
for traceability reports. Here are a few guidelines to be followed:
- All test code documentation should be grouped under the ``all_tests`` doxygen
group
- All test documentation should be under doxygen groups that are prefixed
with tests\_
The custom doxygen ``@verify`` directive signifies that a test verifies a
requirement::
/**
* @brief Tests for the Semaphore kernel object
* @defgroup kernel_semaphore_tests Semaphore
* @ingroup all_tests
* @{
*/
...
/**
* @brief A brief description of the tests
* Some details about the test
* more details
*
* @verify{@req{1111}}
*/
void test_sema_thread2thread(void)
{
...
}
...
/**
* @}
*/
To get coverage of how an implementation or a piece of code satisfies a
requirements, we use the ``satisfy`` alias in doxygen::
/**
* @brief Give a semaphore.
*
* This routine gives @a sem, unless the semaphore is already at its maximum
* permitted count.
*
* @note Can be called by ISRs.
*
* @param sem Address of the semaphore.
*
* @satisfy{@req{015}}
*/
__syscall void k_sem_give(struct k_sem *sem);
To generate the matrix, you will first need to build the documentation,
specifically you will need to build the doxygen XML output::
$ make doxygen
Parse the generated XML data from doxygen to generate the traceability matrix.
``` | /content/code_sandbox/doc/project/documentation.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 771 |
```restructuredtext
.. _release_process:
Release Process
###############
The Zephyr project releases on a time-based cycle, rather than a feature-driven
one. Zephyr releases represent an aggregation of the work of many contributors,
companies, and individuals from the community.
A time-based release process enables the Zephyr project to provide users with a
balance of the latest technologies and features and excellent overall quality. A
roughly 4-month release cycle allows the project to coordinate development of
the features that have actually been implemented, allowing the project to
maintain the quality of the overall release without delays because of one or two
features that are not ready yet.
The Zephyr release model was loosely based on the Linux kernel model:
- Release tagging procedure:
- linear mode on main branch,
- release branches for maintenance after release tagging.
- Each release period will consist of a development phase followed by a
stabilization phase. Release candidates will be tagged during the
stabilization phase. During the stabilization phase, only stabilization
changes such as bug fixes and documentation will be merged unless granted a
special exemption by the Technical Steering Committee.
- Development phase: all changes are considered and merged, subject to
approval from the respective maintainers.
- Stabilisation phase: the release manager creates a vN-rc1 tag and the tree
enters the stabilization phase
- CI sees the tag, builds and runs tests; Test teams analyse the report from the
build and test run and give an ACK/NAK to the build
- The release owner, with test teams and any other needed input, determines if the
release candidate is a go for release
- If it is a go for a release, the release owner lays a tag release vN at the
same point
.. figure:: release_cycle.svg
:align: center
:alt: Release Cycle
:figclass: align-center
:width: 80%
Release Cycle
.. note::
The milestones for the current major version can be found on the
`Official GitHub Wiki <path_to_url`_.
Information on previous releases can be found :ref:`here <zephyr_release_notes>`.
Development Phase
*****************
A relatively straightforward discipline is followed with regard to the merging
of patches for each release. At the beginning of each development cycle, the
main branch is said to be open for development. At that time, code which is deemed to be
sufficiently stable (and which is accepted by the maintainers and the wide community) is
merged into the mainline tree. The bulk of changes for a new development cycle
(and all of the major changes) will be merged during this time.
The development phase lasts for approximately three months. At the end of this time,
the release owner will declare that the development phase is over and releases the first
of the release candidates. For the codebase release which is destined to be
3.1.0, for example, the release which happens at the end of the development phase
will be called 3.1.0-rc1. The -rc1 release is the signal that the time to merge
new features has passed, and that the time to stabilize the next release of the
code base has begun.
Stabilization Phase
*******************
Over the next weeks and depending on the release milestone, only stabilization,
cosmetic changes, tests, bug and doc fixes are allowed (See :ref:`table
<release_milestones>` below).
On occasion, more significant changes and new features will be allowed, but such
occasions are rare and require a TSC approval and a justification. As a general
rule, if you miss submitting your code during the development phase for a given
feature, the best thing to do is to wait for the next development cycle. (An
occasional exception is made for drivers for previously unsupported hardware; if
they do not touch any other in-tree code, they cannot cause regressions and
should be safe to add at any time).
As fixes make their way into the mainline, the patch rate will slow over time.
The mainline release owner releases new -rc drops once or twice a week; a normal
series will get up to somewhere between -rc4 and -rc6 before the code base is
considered to be sufficiently stable and the release criteria have been achieved
at which point the final 3.1.0 release is made.
At that point, the whole process starts over again.
.. _release_quality_criteria:
Release Criteria
****************
The main motivation is to clearly have the criteria in place that must be met
for a release. This will help define when a release is "done" in terms that most
people can understand and in ways that help new people to understand the process
and participate in creating successful releases:
- The release criteria documents all the requirements of our target audience for
each Zephyr release
- The target audiences for each release can be different, and may overlap
- The criteria at any given time are not set in stone: there may be requirements
that have been overlooked, or that are new, and in these cases, the criteria
should be expanded to ensure all needs are covered.
Below is the high level criteria to be met for each release:
- No blocker bugs / blocking issues
- All relevant tests shall pass on ``Tier 0`` platforms
- All relevant tests shall pass on Tier 0 and 1 platforms (at least 1 per
architecture/architecture variant/Hardware features)
- All applicable samples/tests shall build on Tiers 0, 1 and 2
- All high and critical static analysis and security issues addressed
- Release Notes are up-to-date.
Blocker Bugs
============
Blocker bug process kicks in during the release process and is in effect after the
feature freeze milestone. An issue labeled as a blocker practically blocks a
release from happening. All blocker bugs shall be resolved before a release is
created.
A fix for a bug that is granted `blocker` status can be merged to 'main' and included in
the release all the way until the final release date.
Bugs of moderate severity and higher that have impact on all users are typically
the candidates to be promoted to blocker bugs
Contributors and member of the release engineering team shall follow these
guidelines for release blocker bugs:
- Only mark bugs as blockers if the software (Zephyr) must not be released with
the bug present.
- All collaborators can add or remove blocking labels.
- Evaluate bugs as potential blockers based on their severity and prevalence.
- Provide detailed rationale whenever adding or removing a blocking label.
- Ensure all blockers have the milestone tagged.
- Release managers have final say on blocking status; contact them with any questions.
.. _release_milestones:
Release Milestones
*******************
.. list-table:: Release Milestones
:widths: 15 25 100 25
:header-rows: 1
* - Timeline
- Checkpoint
- Description
- Owner
* - T-5M
- Planning
- Finalize dates for release, Assign release owner and agree on project wide goals for this release.
- TSC
* - T-7W
- Review target milestones
- Finalize target milestones for features in flight.
- Release Engineering
* - T-4W
- Release Announcement
- Release owner announces feature freeze and timeline for release.
- Release Manager
* - T-3W
- Feature Freeze (RC1)
- No new features after RC1, ONLY stabilization and cosmetic changes, bug and doc
fixes are allowed. New tests for existing features are also allowed.
- Release Engineering
* - T-2W
- 2nd Release Candidate
- No new features after RC2, ONLY stabilization and cosmetic changes, bug and doc fixes are allowed.
- Release Manager
* - T-1W
- Hard Freeze (RC3)
- Only blocker bug fixes after RC3, documentation and changes to release notes are allowed.
Release notes need to be complete by this checkpoint. Release Criteria is
met.
- Release Manager
* - T-0W
- Release
-
- Release Manager
Releases
*********
The following syntax should be used for releases and tags in Git:
- Release [Major].[Minor].[Patch Level]
- Release Candidate [Major].[Minor].[Patch Level]-rc[RC Number]
- Tagging:
- v[Major].[Minor].[Patch Level]-rc[RC Number]
- v[Major].[Minor].[Patch Level]
- v[Major].[Minor].99 - A tag applied to main branch to signify that work on
v[Major].[Minor+1] has started. For example, v1.7.99 will be tagged at the
start of v1.8 process. The tag corresponds to
VERSION_MAJOR/VERSION_MINOR/PATCHLEVEL macros as defined for a
work-in-progress main branch version. Presence of this tag allows generation of
sensible output for "git describe" on main branch, as typically used for
automated builds and CI tools.
.. figure:: release_flow.png
:align: center
:alt: Releases
:figclass: align-center
:width: 80%
Zephyr Code and Releases
.. _release_process_lts:
Long Term Support (LTS)
=======================
Long-term support releases are designed to be supported and maintained
for an extended period and is the recommended release for
products and the auditable branch used for certification.
An LTS release is defined as:
- **Product focused**
- **Extended Stabilisation period**: Allow for more testing and bug fixing
- **Stable APIs**
- **Quality Driven Process**
- **Long Term**: Maintained for an extended period of time (at least 2.5 years)
overlapping previous LTS release for at least half a year.
Product Focused
+++++++++++++++
Zephyr LTS is the recommended release for product makers with an extended
support and maintenance which includes general stability and bug fixes,
security fixes.
An LTS includes both mature and new features. API and feature maturity is
documented and tracked. The footprint and scope of mature and stable APIs expands
as we move from one LTS to the next giving users access to bleeding edge features
and new hardware while keeping a stable foundation that evolves over time.
Extended Stabilisation Period
+++++++++++++++++++++++++++++
Zephyr LTS development cycle differs from regular releases and has an extended
stabilization period. Feature freeze of regular releases happens 3-4 weeks
before the scheduled release date. The stabilization period for LTS is extended
by 3 weeks with the feature freeze occurring 6-7 weeks before the anticipated
release date. The time between code freeze and release date is extended in this case.
Stable APIs
+++++++++++
Zephyr LTS provides a stable and long-lived foundation for developing
products. To guarantee stability of the APIs and the implementation of such
APIs it is required that any release software that makes the core of the OS
went through the Zephyr API lifecycle and stabilized over at least 2 releases.
This guarantees that we release many of the highlighted and core features with
mature and well-established implementations with stable APIs that are
supported during the lifetime of the release LTS.
- API Freeze (LTS - 2)
- All stable APIs need to be frozen 2 releases before an LTS. APIs can be extended
with additional features, but the core implementation is not modified. This
is valid for the following subsystems for example:
- Device Drivers (i2c.h, spi.h)...
- Kernel (k_*):
- OS services (logging,debugging, ..)
- DTS: API and bindings stability
- Kconfig
- New APIs for experimental features can be added at any time as long as they
are standalone and documented as experimental or unstable features/APIs.
- Feature Freeze (LTS - 1)
- No new features or overhaul/restructuring of code covering major LTS features.
- Kernel + Base OS
- Additional advertised LTS features
- Auxiliary features on top of and/or extending the base OS and advertised LTS features
can be added at any time and should be marked as experimental if applicable
Quality Driven Process
++++++++++++++++++++++
The Zephyr project follows industry standards and processes with the goal of
providing a quality oriented releases. This is achieved by providing the
following products to track progress, integrity and quality of the software
components provided by the project:
- Compliance with published coding guidelines, style guides and naming
conventions and documentation of deviations.
- Static analysis reports
- Regular static analysis on the complete tree using available commercial and
open-source tools, and documentation of deviations and false positives.
- Documented components and APIS
- Requirements Catalog
- Verification Plans
- Verification Reports
- Coverage Reports
- Requirements Traceability Matrix (RTM)
Each release is created with the above products to document the quality and the
state of the software when it was released.
Long Term Support and Maintenance
++++++++++++++++++++++++++++++++++
A Zephyr LTS release is published every 2 years and is branched and maintained
independently from the main tree for at least 2.5 years after it was
released. Support and maintenance for an LTS release stops at least half a year
after the following LTS release is published.
.. figure:: lts.svg
:align: center
:alt: Long Term Support Release
:figclass: align-center
:width: 80%
Long Term Support Release
Changes and fixes flow in both directions. However, changes from main branch to an
LTS branch will be limited to fixes that apply to both branches and for existing
features only.
All fixes for an LTS branch that apply to the mainline tree shall be submitted to
mainline tree as well.
Auditable Code Base
===================
An auditable code base is to be established from a defined subset of Zephyr OS
features and will be limited in scope. The LTS, development tree, and the
auditable code bases shall be kept in sync after the audit branch is created,
but with a more rigorous process in place for adding new features into the audit
branch used for certification.
This process will be applied before new features move into the
auditable code base.
The initial and subsequent certification targets will be decided by the Zephyr project
governing board.
Processes to achieve selected certification will be determined by the Security and
Safety Working Groups and coordinated with the TSC.
Hardware Support Tiers
***********************
Tier 0: Emulation Platforms
===========================
- Tests are both built and run in these platforms in CI, and therefore runtime
failures can block Pull Requests.
- Supported by the Zephyr project itself, commitment to fix bugs in releases.
- One Tier 0 platform is required for each new architecture.
- Bugs reported against platforms of this tier are to be evaluated and treated as
a general bug in Zephyr and should be dealt with the highest priority.
Tier 1: Supported Platforms
===========================
- Commitment from a specific team to run tests using twister device
testing for the "Zephyr compatibility test suite" (details TBD)
on a regular basis using open-source and publicly available drivers.
- Commitment to fix bugs in time for releases. Not supported by "Zephyr Project"
itself.
- General availability for purchase
- Bugs reported against platforms of this tier are to be evaluated and treated
as a general bug in Zephyr and should be dealt with medium to high priority.
Tier 2: Community Platforms
===========================
- Platform implementation is available in upstream, no commitment to testing,
may not be generally available.
- Has a dedicated maintainer who commits to respond to issues / review patches.
- Bugs reported against platforms of this tier are NOT considered as
a general bug in Zephyr.
Tier 3: Deprecated and unsupported Platforms
============================================
- Platform implementation is available, but no owner or unresponsive owner.
- No commitment to support is available.
- May be removed from upstream if no one works to bring it up to tier 2 or better.
- Bugs reported against platforms of this tier are NOT considered as
a general bug in Zephyr.
Release Procedure
******************
This section documents the Release manager responsibilities so that it serves as
a knowledge repository for Release managers.
Release Checklist
=================
Each release has a GitHub issue associated with it that contains the full
checklist. After a release is complete, a checklist for the next release is
created.
Tagging
=======
The final release and each release candidate shall be tagged using the following
steps:
.. note::
Tagging needs to be done via explicit git commands and not via GitHub's release
interface. The GitHub release interface does not generate annotated tags (it
generates 'lightweight' tags regardless of release or pre-release). You should
also upload your gpg public key to your GitHub account, since the instructions
below involve creating signed tags. However, if you do not have a gpg public
key you can opt to remove the ``-s`` option from the commands below.
.. tabs::
.. tab:: Release Candidate
.. note::
This section uses tagging 1.11.0-rc1 as an example, replace with
the appropriate release candidate version.
#. Update the version variables in the :zephyr_file:`VERSION` file
located in the root of the Git repository to match the version for
this release candidate. The ``EXTRAVERSION`` variable is used to
identify the rc[RC Number] value for this candidate::
EXTRAVERSION = rc1
#. Post a PR with the updated :zephyr_file:`VERSION` file using
``release: Zephyr 1.11.0-rc1`` as the commit subject. Merge
the PR after successful CI.
#. Tag and push the version, using an annotated tag::
$ git pull
$ git tag -s -m "Zephyr 1.11.0-rc1" v1.11.0-rc1
$ git push git@github.com:zephyrproject-rtos/zephyr.git v1.11.0-rc1
#. Send an email to the mailing lists (``announce`` and ``devel``)
with a link to the release
.. tab:: Final Release
.. note::
This section uses tagging 1.11.0 as an example, replace with the
appropriate final release version.
When all final release criteria has been met and the final release notes
have been approved and merged into the repository, the final release version
will be set and repository tagged using the following procedure:
#. Update the version variables in the :zephyr_file:`VERSION` file
located in the root of the Git repository. Set ``EXTRAVERSION``
variable to an empty string to indicate final release::
EXTRAVERSION =
#. Post a PR with the updated :zephyr_file:`VERSION` file using
``release: Zephyr 1.11.0`` as the commit subject. Merge
the PR after successful CI.
#. Tag and push the version, using two annotated tags::
$ git pull
$ git tag -s -m "Zephyr 1.11.0" v1.11.0
$ git push git@github.com:zephyrproject-rtos/zephyr.git v1.11.0
#. Find the new ``v1.11.0`` tag at the top of the releases page and
edit the release with the ``Edit tag`` button with the following:
* Copy the overview of ``docs/releases/release-notes-1.11.rst``
into the release notes textbox and link to the full release notes
file on docs.zephyrproject.org.
#. Send an email to the mailing lists (``announce`` and ``devel``) with a link
to the release
``` | /content/code_sandbox/doc/project/release_process.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 4,295 |
```restructuredtext
.. _project_roles:
TSC Project Roles
*****************
Project Roles
#############
TSC projects generally will involve *Maintainers*, *Collaborators*, and
*Contributors*:
**Maintainer**: lead Collaborators on an area identified by the TSC (e.g.
Architecture, code subsystems, etc.). Maintainers shall also serve as the
areas representative on the TSC as needed. Maintainers may become voting
members of the TSC under the guidelines stated in the project Charter.
**Collaborator**: A highly involved Contributor in one or more areas.
May become a Maintainer with approval of existing TSC voting members.
**Contributor**: anyone in the community that contributes code or
documentation to the project. Contributors may become Collaborators
by approval of the existing Collaborators and Maintainers of the
particular code base areas or subsystems.
.. _contributor:
Contributor
+++++++++++
A *Contributor* is a developer who wishes to contribute to the project,
at any level.
Contributors are granted the following rights and responsibilities:
* Right to contribute code, documentation, translations, artwork, etc.
* Right to report defects (bugs) and suggestions for enhancement.
* Right to participate in the process of reviewing contributions by others.
* Right to initiate and participate in discussions in any communication
methods.
* Right to approach any member of the community with matters they believe
to be important.
* Right to participate in the feature development process.
* Responsibility to abide by decisions, once made. They are welcome to
provide new, relevant information to reopen decisions.
* Responsibility for issues and bugs introduced by ones own contributions.
* Responsibility to respect the rules of the community.
* Responsibility to provide constructive advice whenever participating in
discussions and in the review of contributions.
* Responsibility to follow the projects code of conduct
(path_to_url
Contributors are initially only given `Read
<path_to_url`_
access to the Zephyr GitHub repository. Specifically, at the Read access level,
Contributors are not allowed to assign reviewers to their own pull requests. An
automated process will assign reviewers. You may also share the pull request on
the `Zephyr devel mailing list <path_to_url`_ or on
the `Zephyr Discord Server <path_to_url`_.
Contributors who show dedication and skill are granted the Triage permission
level to the Zephyr GitHub repository.
You may nominate yourself, or another GitHub user, for promotion to the Triage
permission level by creating a GitHub issue, using the :github:`nomination
template <new?assignees=&labels=Role+Nomination&template=006_nomination.md&title=>`.
Contributors granted the Triage permission level are permitted to add reviewers
to a pull request and can be added as a reviewer by other GitHub users.
Contributor change requests or approval on pull requests are not counted with
respect to accepting and merging a pull request. However, Contributors comments
and requested changes should still be considered by the pull request author.
.. _collaborator:
Collaborator
++++++++++++
A *Collaborator* is a Contributor who is also responsible for the maintenance
of Zephyr source code. Their opinions weigh more when decisions are made, in a
fully meritocratic fashion.
Collaborators have the following rights and responsibilities,
in addition to those listed for Contributors:
* Right to set goals for the short and medium terms for the project being
maintained, alongside the Maintainer.
* Responsibility to participate in the feature development process.
* Responsibility to review relevant code changes within reasonable time.
* Responsibility to ensure the quality of the code to expected levels.
* Responsibility to participate in community discussions.
* Responsibility to mentor new contributors when appropriate
* Responsibility to participate in the quality verification and release
process, when those happen.
Contributors are promoted to the Collaborator role by adding the GitHub user
name to one or more ``collaborators`` sections of the :ref:`maintainers_file` in
the Zephyr repository.
Collaborator change requests on pull requests should
be addressed by the original submitter. In cases where the changes requested do
not follow the :ref:`expectations <reviewer-expectations>` and the guidelines
of the project or in cases of disagreement, it is the responsibility of the
assignee to advance the review process and resolve any disagreements.
Collaborator approval of pull requests are counted toward the minimum required
approvals needed to merge a PR. Other criteria for merging may apply.
.. _maintainer:
Maintainer
++++++++++
A *Maintainer* is a Collaborator who is also responsible for knowing,
directing and anticipating the needs of a given zephyr source code area.
Maintainers have the following rights and responsibilities,
in addition to those listed for Contributors and Collaborators:
* Right to set the overall architecture of the relevant subsystems or areas
of involvement.
* Right to make decisions in the relevant subsystems or areas of involvement,
in conjunction with the collaborators and submitters.
See :ref:`pr_technical_escalation`.
* Responsibility to convey the direction of the relevant subsystem or areas to
the TSC
* Responsibility to ensure all contributions of the project have been reviewed
within reasonable time.
* Responsibility to enforce the code of conduct.
* Responsibility to triage static analysis issues in their code area.
See :ref:`static_analysis`.
Contributors or Collaborators are promoted to the Maintainer role by adding the
GitHub user name to one or more ``maintainers`` sections of the
:ref:`maintainers_file` in the Zephyr repository.
Maintainer approval of pull requests are counted toward the minimum
required approvals needed to merge a PR. Other criteria for merging may apply.
Role Retirement
###############
* Individuals elected to the following Project roles, including, Maintainer,
Release Engineering Team member, Release Manager, but are no longer engaged
in the project as described by the rights and responsibilities of that role,
may be requested by the TSC to retire from the role they are elected.
* Such a request needs to be raised as a motion in the TSC and be
approved by the TSC voting members.
By approval of the TSC the individual is considered to be retired
from the role they have been elected.
* The above applies to elected TSC Project roles that may be defined
in addition.
Teams and Supporting Activities
###############################
Assignee
++++++++
An *Assignee* is one of the maintainers of a subsystem or code being changed.
Assignees are set either automatically based on the code being changed or set
by the other Maintainers, the Release Engineering team can set an assignee when
the latter is not possible.
* Responsibility to drive the pull request to a mergeable state
* Right to dismiss stale and unrelated reviews or reviews not following
:ref:`expectations <reviewer-expectations>` from reviewers and seek reviews
from additional maintainers, developers and contributors
* Right to block pull requests from being merged until issues or changes
requested are addressed
* Responsibility to re-assign a pull request if they are the original submitter
of the code
* Solicit approvals from maintainers of the subsystems affected
* Responsibility to drive the :ref:`pr_technical_escalation` process
Static Analysis Audit Team
++++++++++++++++++++++++++
The Static Analysis Audit team works closely with the release engineering
team to ensure that static analysis defects opened during a release
cycle are properly addressed. The team has the following rights and
responsibilities:
* Right to revert any triage in a static analysis tool (e.g: Coverity)
that does not follow the project expectations.
* Responsibility to inform code owners about improper classifications.
* Responsibility to alert TSC if any issues are not adequately addressed by the
responsible code owners.
Joining the Static Analysis Audit team
* Contributors highly involved in the project with some expertise
in static analysis.
.. _release-engineering-team:
Release Engineering Team
++++++++++++++++++++++++
A team of active Maintainers involved in multiple areas.
* The members of the Release Engineering team are expected to fill
the Release Manager role based on a defined cadence and selection process.
* The cadence and selection process are defined by the Release Engineering
team and are approved by the TSC.
* The team reports directly into the TSC.
Release Engineering team has the following rights and responsibilities:
* Right to merge code changes to the zephyr tree following the project rules.
* Right to revert any changes that have broken the code base
* Right to close any stale changes after <N> months of no activity
* Responsibility to take directions from the TSC and follow them.
* Responsibility to coordinate code merges with maintainers.
* Responsibility to merge all contributions regardless of their
origin and area if they have been approved by the respective
maintainers and follow the merge criteria of a change.
* Responsibility to keep the Zephyr code base in a working and passing state
(as per CI)
Joining the Release Engineering team
* Maintainers highly involved in the project may be nominated
by a TSC voting member to join the Release Engineering team.
Nominees may become members of the team by approval of the
existing TSC voting members.
* To ensure a functional Release Engineering team the TSC shall
periodically review the teams followed processes,
the appropriate size, and the membership
composition (ensure, for example, that team members are
geographically distributed across multiple locations and
time-zones).
Release Manager
+++++++++++++++
A *Maintainer* responsible for driving a specific release to
completion following the milestones and the roadmap of the
project for this specific release.
* TSC has to approve a release manager.
A Release Manager is a member of the Release Engineering team and has
the rights and responsibilities of that team in addition to
the following:
* Right to manage and coordinate all code merges after the
code freeze milestone (M3, see `program management overview <path_to_url`_.)
* Responsibility to drive and coordinate the triaging process
for the release
* Responsibility to create the release notes of the release
* Responsibility to notify all stakeholders of the project,
including the community at large about the status of the
release in a timely manner.
* Responsibility to coordinate with QA and validation and
verify changes either directly or through QA before major
changes and major milestones.
Roles / Permissions
+++++++++++++++++++
.. table:: Project Roles vs GitHub Permissions
:widths: 20 20 10 10 10 10 10
:align: center
================ =================== =========== ================ =========== =========== ============
.. .. **Admin** **Merge Rights** Member Owner Collaborator
---------------- ------------------- ----------- ---------------- ----------- ----------- ------------
Main Roles Contributor x
---------------- ------------------- ----------- ---------------- ----------- ----------- ------------
.. Collaborator x
---------------- ------------------- ----------- ---------------- ----------- ----------- ------------
.. Maintainer x
Supportive Roles QA/Validation x x
.. DevOps **x**
.. System Admin **x** x
.. Release Engineering **x** **x** x
================ =================== =========== ================ =========== =========== ============
.. _maintainers_file:
MAINTAINERS File
################
Generic guidelines for deciding and filling in the Maintainers' list
* The :zephyr_file:`MAINTAINERS.yml` file shall replace the
:zephyr_file:`CODEOWNERS` file and will be used for both setting assignees and
reviewers.
* We should keep the granularity of code maintainership at a manageable level
* We should be looking for maintainers for areas of code that
are orphaned (i.e. without an explicit maintainer)
* Un-maintained areas should be indicated clearly in the MAINTAINERS file
* All submitted pull requests should have an assignee
* We Introduce an area/subsystem hierarchy to address the above point
* Parent-area maintainer should be acting as default substitute/fallback
assignee for un-maintained sub-areas
* Area maintainer gets precedence over parent-area maintainer
* Pull requests may be re-assigned if this is needed or more appropriate
* Re-assigned by original assignee
* In general, updates to the MAINTAINERS file should be
in a standalone commit alongside other changes introducing new files and
directories to the tree.
* Major changes to the file, including the addition of new areas with new maintainers
should come in as standalone pull requests and require TSC review.
* If additional review by the TSC is required, the maintainers of the file
should send the requested changes to the TSC and give members of the TSC two
(2) days to object to any of the changes to maintainership of areas or the
addition of new maintainers or areas.
* Path, collaborator and name changes do not require a review by the TSC.
* Addition of new areas without a maintainer do not require review by the TSC.
* The MAINTAINERS file itself shall have a maintainer
* Architectures, core components, sub-systems, samples, tests
* Each area shall have an explicit maintainer
* Boards (incl relevant samples, tests), SoCs (incl DTS)
* May have a maintainer, shall have a higher-level platform maintainer
* Drivers
* Shall have a driver-area (and API) maintainer
* Could have individual driver implementation
maintainers but preferably collaborator/contributors
* In the above case, platform-specific PRs may be
re-assigned to respective collaborator/contributor of driver
implementation
Release Activity
################
.. figure:: img/img_release_activity.png
:width: 663px
:align: center
:alt: Release Activity
.. _merge_criteria:
Merge Criteria
++++++++++++++
* Minimal of 2 approvals, including an approval by the designated assignee.
* Pull requests should be reviewed by at least a maintainer or collaborator of
each affected area; Unless the changes to a given area are considered trivial
enough, in which case approvals by other affected subsystems
maintainers/collaborators would suffice.
* Four eye principle on the organisation level. We already require at least 2
approvals (basic four eye principle), however, such reviews and approvals
might be unintentionally biased in the case where the submitter is from the
same organisation as the approvers. To allow for project wide review and
approvals, the merge criteria is extended with the guidelines below:
* Changes or additions to common and shared code shall have approvals from
different organisations (at least one approval from an
organisation different than the submitters').
Common and shared code is defined as anything that does not fall under
:file:`soc`, :file:`boards` and :file:`drivers/*/*`.
* Changes or additions to hardware support (driver, SoC, boards) shall at
least have the merger be from a different organisation. This applies only
to implementation of an API supporting vendor specific hardware and not the
APIs.
* Release engineers may make exceptions for areas with contributions primarily
coming from one organisation and where reviews from other organisations are
not possible, however, merges shall be completed by a person from a different
organisation. In such cases, the minimum review period of at least 2 days
shall be strictly followed to allow for additional reviews.
* Release engineers shall not merge code changes originating and reviewed
only by their own organisation. To be able to merge such changes, at least
one review shall be from a different organisation.
* A minimum review period of 2 business days, 4 hours for trivial changes (see
:ref:`review_time`).
* Hotfixes can be merged at any time after CI has passed and are excluded from
most of the conditions listed above.
* All required checks are passing:
* Codeowners
* Device Tree
* Documentation
* Gitlint
* Identity/Emails
* Kconfig
* Checkpatch (Coding Style)
* Pylint
* Integration Tests (Via twister) on emulation/simulation platforms
* Simulated Bluetooth Tests
* Planned
* Footprint
* Code coverage
* Coding Guidelines
* Static Analysis (Coverity)
* Documentation coverage (APIs)
``` | /content/code_sandbox/doc/project/project_roles.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,512 |
```restructuredtext
.. _dev-environment-and-tools:
Development Environment and Tools
#################################
Code Review
************
GitHub is intended to provide a framework for reviewing every commit before it
is accepted into the code base. Changes, in the form of Pull Requests (PR) are
uploaded to GitHub but don't actually become a part of the project until they've
been reviewed, passed a series of checks (CI), and are approved by maintainers.
GitHub is used to support the standard open source practice of submitting
patches, which are then reviewed by the project members before being applied to
the code base.
Pull requests should be appropriately :ref:`labeled<gh_labels>`,
and linked to any relevant :ref:`bug or feature tracking issues<bug_reporting>`
.
The Zephyr project uses GitHub for code reviews and Git tree management. When
submitting a change or an enhancement to any Zephyr component, a developer
should use GitHub. GitHub Actions automatically assigns a responsible reviewer
on a component basis, as defined in the :zephyr_file:`MAINTAINERS.yml` file
stored with the code tree in the Zephyr project repository. A limited set of
release managers are allowed to merge a pull request into the main branch once
reviews are complete.
.. _review_time:
Give reviewers time to review before code merge
================================================
The Zephyr project is a global project that is not tied to a certain geography
or timezone. We have developers and contributors from across the globe. When
changes are proposed using pull request, we need to allow for a minimal review
time to give developers and contributors the opportunity to review and comment
on changes. There are different categories of changes and we know that some
changes do require reviews by subject matter experts and owners of the subsystem
being changed. Many changes fall under the "trivial" category that can be
addressed with general reviews and do not need to be queued for a maintainer or
code-owner review. Additionally, some changes might require further discussions
and a decision by the TSC or the Security working group. To summarize the above,
the diagram below proposes minimal review times for each category:
.. figure:: pull_request_classes.png
:align: center
:alt: Pull request classes
:figclass: align-center
Pull request classes
Workflow
---------
- An author of a change can suggest in his pull-request which category a change
should belong to. A project maintainers or TSC member monitoring the inflow of
changes can change the label of a pull request by adding a comment justifying
why a change should belong to another category.
- The project will use the label system to categorize the pull requests.
- Changes should not be merged before the minimal time has expired.
Categories/Labels
-----------------
Hotfix
++++++
Any change that is a fix to an issue that blocks developers from doing their
daily work, for example CI breakage, Test breakage, Minor documentation fixes
that impact the user experience.
Such fixes can be merged at any time after they have passed CI checks. Depending
on the fix, severity, and availability of someone to review them (other than the
author) they can be merged with justification without review by one of the
project owners.
Trivial
+++++++
Trivial changes are those that appear obvious enough and do not require maintainer or code-owner
involvement. Such changes should not change the logic or the design of a
subsystem or component. For example a trivial change can be:
- Documentation changes
- Configuration changes
- Minor Build System tweaks
- Minor optimization to code logic without changing the logic
- Test changes and fixes
- Sample modifications to support additional configuration or boards etc.
Maintainer
+++++++++++
Any changes that touch the logic or the original design of a subsystem or
component will need to be reviewed by the code owner or the designated subsystem
maintainer. If the code changes is initiated by a contributor or developer other
than the owner the pull request needs to be assigned to the code owner who will
have to drive the pull request to a mergeable state by giving feedback to the
author and asking for more reviews from other developers.
Security
+++++++++++
Changes that appear to have an impact to the overall security of the system need
to be reviewed by a security expert from the security working group.
TSC and Working Groups
++++++++++++++++++++++
Changes that introduce new features or functionality or change the way the
overall system works need to be reviewed by the TSC or the responsible Working
Group. For example for :ref:`breaking API changes <breaking_api_changes>`, the
proposal needs to be presented in the Architecture meeting so that the relevant
stakeholders are made aware of the change.
A Pull-Request should have an Assignee
=======================================
- An assignee to a pull request should not be the same as the
author of the pull-request
- An assignee to a pull request is responsible for driving the
pull request to a mergeable state
- An assignee is responsible for dismissing stale reviews and seeking reviews
from additional developers and contributors
- Pull requests should not be merged without an approval by the assignee.
Pull Request should not be merged by author without review
===========================================================
All pull requests need to be reviewed and should not be merged by the author
without a review. The following exceptions apply:
- Hot fixes: Fixing CI issues, reverts, and system breakage
- Release related changes: Changing version file, applying tags and release
related activities without any code changes.
Developers and contributors should always seek review, however there are cases
when reviewers are not available and there is a need to get a code change into
the tree as soon as possible.
Reviewers shall not 'Request Changes' without comments or justification
=======================================================================
Any change requests (-1) on a pull request have to be justified. A reviewer
should avoid blocking a pull-request with no justification. If a reviewer feels
that a change should not be merged without their review, then: Request change
of the category: for example:
- Trivial -> Maintainer
- Assign Pull Request to yourself, this will mean that a pull request should
not be merged without your approval.
Pull Requests should have at least 2 approvals before they are merged
======================================================================
A pull-request shall be merged only with two positive reviews (approval). Beside
the person merging the pull-request (merging != approval), two additional
approvals are required to be able to merge a pull request. The person merging
the request can merge without approving or approve and merge to get to the 2
approvals required.
Reviewers should keep track of pull requests they have provided feedback to
===========================================================================
If a reviewer has requested changes in a pull request, he or she should monitor
the state of the pull request and/or respond to mention requests to see if his
feedback has been addressed. Failing to do so, negative reviews shall be
dismissed by the assignee or an owner of the repository. Reviews will be
dismissed following the criteria below:
- The feedback or concerns were visibly addressed by the author
- The reviewer did not revisit the pull request after 2 week and multiple pings
by the author
- The review is unrelated to the code change or asking for unjustified
structural changes such as:
- Split the PR
- Can you fix this unrelated code that happens to appear in the diff
- Can you fix unrelated issues
- Etc.
Closing Stale Issues and Pull Requests
=======================================
- The Pull requests and issues sections on Github are NOT discussion forums.
They are items that we need to execute and drive to closure.
Use the mailing lists for discussions.
- In case of both issues and pull-requests the original poster needs to respond
to questions and provide clarifications regarding the issue or the change.
After one week without a response to a request, a second attempt to elicit
a response from the contributor will be made. After one more week without a
response the item may be closed (draft and DNM tagged pull requests are
excluded).
Continuous Integration
***********************
All changes submitted to GitHub are subject to tests that are run on
emulated platforms and architectures to identify breakage and regressions that
can be immediately identified. Testing using Twister additionally performs build tests
of all boards and platforms. Documentation changes are also verified
through review and build testing to verify doc generation will be successful.
Any failures found during the CI test run will result in a negative review
assigned automatically by the CI system.
Developers are expected to fix issues and rework their patches and submit again.
The CI infrastructure currently runs the following tests:
- Run ``checkpatch`` for code style issues (can vote -1 on errors; see note)
- Gitlint: Git commit style based on project requirements
- Run ``twister`` script
- Run kernel tests in QEMU (can vote -1 on errors)
- Build various samples for different boards (can vote -1 on errors)
- Verify documentation builds correctly.
.. note::
``checkpatch`` is a Perl script that uses regular expressions to
extract information that requires a C language parser to process
accurately. As such it sometimes issues false positives. Known
cases include constructs like:
.. code-block:: c
static uint8_t __aligned(PAGE_SIZE) page_pool[PAGE_SIZE * POOL_PAGES];
IOPCTL_Type *base = config->base;
Both lines produce a diagnostic regarding spaces around the ``*``
operator: the first is misidentified as a pointer type declaration
that would be correct as ``PAGE_SIZE *POOL_PAGES`` while the second
is misidentified as a multiplication expression that would be correct
as ``IOPCTL_Type * base``.
Maintainers can override the -1 in cases where the CI infrastructure
gets the wrong answer.
.. _gh_labels:
Labeling issues and pull requests in GitHub
*******************************************
The project uses GitHub issues and pull requests (PRs) to track and manage
daily and long-term work and contributions to the Zephyr project. We use
GitHub **labels** to classify and organize these issues and PRs by area, type,
priority, and more, making it easier to find and report on relevant items.
All GitHub issues or pull requests must be appropriately labeled.
Issues and PRs often have multiple labels assigned,
to help classify them in the different available categories.
When reviewing a PR, if it has missing or incorrect labels, maintainers shall
fix it.
This saves us all time when searching, reduces the chances of the PR or issue
being forgotten, speeds up reviewing, avoids duplicate issue reports, etc.
These are the labels we currently have, grouped by applicability:
Labels applicable to issues only
================================
.. list-table::
:header-rows: 1
* - Label
- Description
* - :guilabel:`priority: {high|medium|low}`
- To classify the impact and importance of a bug or
:ref:`feature <feature-tracking>`.
Note: Issue priorities are generally set or changed during the bug-triage or TSC
meetings.
* - :guilabel:`Regression`
- Something, which was working, but does not anymore (bug subtype).
* - :guilabel:`Enhancement`
- Changes/Updates/Additions to existing :ref:`features <feature-tracking>`.
* - :guilabel:`Feature request`
- A request for a new :ref:`feature <feature-tracking>`.
* - :guilabel:`Feature`
- A :ref:`planned feature<feature-tracking>` with a milestone.
* - :guilabel:`Hardware Support`
- Covers porting an existing feature (including Zephyr itself) to new hardware.
* - :guilabel:`Duplicate`
- This issue is a duplicate of another issue (please specify).
* - :guilabel:`Good first issue`
- Good for a first time contributor to take.
* - :guilabel:`Release Notes`
- Issues that need to be mentioned in release notes as known issues with
additional information.
Any issue must be classified and labeled as either *Bug*, *Enhancement*, *RFC*,
*Feature*, *Feature Request* or *Hardware Support*. More information on how
feature requests are handled and become features can be found in :ref:`Feature
Tracking<feature-tracking>`.
Labels applicable to pull requests only
=======================================
The issue or PR describes a change to a stable API.
.. list-table::
:header-rows: 1
* - Label
- Description
* - :guilabel:`Hotfix`
- Fix for an issue blocking development.
* - :guilabel:`Trivial`
- Simple changes that can have shorter review time and be reviewed by anyone, i.e. typos,
straightforward one-liner bug fixes, etc.
* - :guilabel:`Maintainer`
- Maintainer review required.
* - :guilabel:`Security Review`
- To be reviewed by a security expert.
* - :guilabel:`DNM`
- This PR should not be merged (Do Not Merge). For work in progress, GitHub
"draft" PRs are preferred.
* - :guilabel:`Needs review`
- The PR needs attention from the maintainers.
* - :guilabel:`Backport`
- The PR is a backport or should be backported.
* - :guilabel:`Licensing`
- The PR has licensing issues which require a licensing expert to review it.
.. note::
For all labels applicable to PRs: Please note that the label, together with
PR complexity, affects how long a merge should be held to ensure proper
review. See :ref:`review process <review_time>` for details.
Labels applicable to both pull requests and issues
==================================================
.. list-table::
:header-rows: 1
* - Label
- Description
* - :guilabel:`area: {area-name}`
- Indicates Zephyr subsystems (e.g, :guilabel:`area: Kernel`, :guilabel:`area: I2C`,
:guilabel:`area: Memory Management`), project functions (e.g., :guilabel:`area: Debugging`,
:guilabel:`area: Documentation`, :guilabel:`area: Process`), or other categories (e.g.,
:guilabel:`area: Coding Style`, :guilabel:`area: MISRA-C`) affected by the bug or the pull request.
An area maintainer should be able to filter by an area label and find all issues
and PRs which relate to that area.
* - :guilabel:`platform: {platform-name}`
- An issue or PR which affects only a particular platform.
* - :guilabel:`dev-review`
- The issue is to be discussed in the following `dev-review`_ if time
permits.
.. _`dev-review`: path_to_url#zephyr-dev-meeting
* - :guilabel:`TSC`
- TSC stands for Technical Steering Committee. The issue is to be discussed in the
following `TSC meeting`_ if time permits.
.. _`TSC meeting`: path_to_url#technical-steering-committee-tsc
* - :guilabel:`Breaking API Change`
- The issue or PR describes a breaking change to a stable API. See additional information
in :ref:`breaking_api_changes`.
* - :guilabel:`bug`
- The issue is a bug, or the PR is fixing a bug.
* - :guilabel:`Coverity`
- A Coverity detected issue or its fix.
* - :guilabel:`Waiting for response`
- The Zephyr developers are waiting for the submitter to respond to a question, or
address an issue.
* - :guilabel:`Blocked`
- Blocked by another PR or issue.
* - :guilabel:`Stale`
- An issue or a PR which seems abandoned, and requires attention by the author.
* - :guilabel:`In progress`
- For PRs: is work in progress and should not be merged yet. For issues: Is being
worked on.
* - :guilabel:`RFC`
- The author would like input from the community. For a PR it should be considered
a draft.
* - :guilabel:`LTS`
- Long term release branch related.
* - :guilabel:`EXT`
- Related to an external component.
``` | /content/code_sandbox/doc/project/dev_env_and_tools.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,557 |
```restructuredtext
.. _communication-and-collaboration:
Communication and Collaboration
###############################
The `Zephyr Discord Server <path_to_url`_ is the primary
chat forum used by Zephyr developers, contributors, and users.
The `Zephyr project mailing lists
<path_to_url`_ are used as an additional
communication tool by project members, contributors, and the community. There
are specialized mailing lists for specific interests. Several lists are public
and open. Mailing lists are always available for use in situations where
Discord is unavailable or an unsuitable forum.
In general, bug reports and other issues should be reported as `GitHub Issues
<path_to_url`_ and not broadcasted to
the mailing list. The same applies to code reviews.
``` | /content/code_sandbox/doc/project/communication.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 157 |
```css
/*
*/
/* This file contains color customizations that follow Zephyr's branding */
html {
--primary-color: #af7fe4;
--primary-dark-color: #7929d2;
--primary-light-color: #cb99f6;
--primary-lighter-color: #dfc8fa;
--primary-lightest-color: #efe4fc;
--side-nav-background: #333f67;
--side-nav-foreground: #c3e3ff;
--searchbar-background: var(--page-background-color);
--searchbar-foreground: var(--page-foreground-color);
--link-color: #2980b9;
--param-color: #b71c1c;
--side-nav-fixed-width: 300px;
--top-height: 220px;
}
@media (prefers-color-scheme: dark) {
html:not(.light-mode) {
color-scheme: dark;
--primary-color: #af7fe4;
--primary-dark-color: #cb99f6;
--primary-light-color: #7929d2;
--primary-lighter-color: #191e21;
--primary-lightest-color: #191a1c;
--side-nav-background: #252628;
--side-nav-foreground: var(--page-foreground-color);
--param-color: #ef9a9a;
}
}
html.dark-mode {
color-scheme: dark;
--primary-color: #af7fe4;
--primary-dark-color: #cb99f6;
--primary-light-color: #7929d2;
--primary-lighter-color: #191e21;
--primary-lightest-color: #191a1c;
--side-nav-background: #252628;
--side-nav-foreground: var(--page-foreground-color);
--param-color: #ef9a9a;
}
a:link, a:visited, a:hover, a:focus, a:active {
color: var(--link-color) !important;
}
.paramname {
color: var(--param-color);
}
dl.section dd, dl.bug dd, dl.deprecated dd {
margin-inline-start: revert;
}
/* adjust top and title to ~match Sphinx docs */
#top {
background: var(--side-nav-background);
}
#titlearea {
padding-bottom: 0;
}
#titlearea table {
width: 100%;
}
#projectlogo img {
width: 200px;
height: 95px;
max-height: none !important;
padding-top: 12px;
}
#projectalign {
display: none;
}
@media screen and (min-width: 767px) {
#doc-content {
padding-top: calc(var(--top-height) - 180px);
}
}
/* style for re-injected version */
#projectversion {
color: var(--side-nav-foreground);
padding-top: 25px;
text-align: center;
}
``` | /content/code_sandbox/doc/_doxygen/doxygen-awesome-zephyr.css | css | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 638 |
```restructuredtext
Technical Steering Committee (TSC)
**********************************
TSC Member Role
###############
The TSC role and its responsibilities is defined in the `Zephyr project charter`_.
Membership
++++++++++
A TSC member plays a pivotal role in shaping the technical direction of the
Zephyr Project. TSC members work collaboratively with other TSC members,
contributors, and stakeholders to ensure the project's success and
sustainability.
By fulfilling the rights and responsibilities below, TSC members contribute to
the overall success and growth of the Zephyr Project, ensuring that it remains a
vibrant and thriving open-source community for years to come.
Rights
------
Decision Making
Participate in key decisions related to the project's technical direction,
including architectural changes, feature additions, and release planning.
Voting
Exercise voting rights on important matters discussed within the TSC,
including feature proposals, code contributions, and community initiatives.
Access
Gain access to relevant project repositories, documentation, and communication
channels to stay informed and contribute effectively.
Leadership
Take on leadership roles within working groups or subcommittees dedicated to
specific technical areas or initiatives.
Representation
Act as a representative of the broader Zephyr community, advocating for the
interests of contributors, users, and stakeholders.
Responsibilities
----------------
TSC members are expected to fulfill the following responsibilities, though it is
not mandatory to fulfill all:
Technical Oversight
Provide guidance and oversight on technical matters, ensuring alignment with
project goals, standards, and best practices through active participation as
core members in working groups and committees.
Code Review
Participate in code reviews to maintain code quality, consistency, and
compatibility with project standards.
Community Engagement
Engage with the community through forums, mailing lists, conferences, and
other channels to foster collaboration, address concerns, and gather feedback.
Documentation
Contribute to the development and maintenance of project documentation,
including technical guides, API references, and best practices.
Release Management
Collaborate with the release manager and other stakeholders to plan and
coordinate project releases, ensuring timely delivery and quality assurance.
Contributor Support
Support and mentor new contributors, helping them navigate the project's
codebase, processes, and community norms.
Issue Triage
Assist in triaging and prioritizing issues reported by users and contributors,
facilitating timely resolution and communication.
Compliance and Licensing
Ensure compliance with project licensing requirements and open-source best
practices, addressing any licensing-related issues that may arise.
Conflict Resolution
Facilitate constructive discussions and resolution of technical disagreements
or conflicts within the community, promoting a healthy and inclusive
environment.
Continuous Improvement
Continuously seek opportunities to improve project governance, processes, and
infrastructure, driving innovation and sustainability.
Appointed TSC Members
+++++++++++++++++++++
See `Zephyr project charter`_ for more details.
- Appointed TSC members have no term limits besides the term of their employment
at the organization they represent or their organization's membership in the
Zephyr Project.
- Appointed TSC members can select an Alternate from the same organization.
Elected TSC Members
+++++++++++++++++++
Per the `Zephyr project charter`_, TSC members can nominate representatives from
the technical community at the rate of no more than one per quarter.
- Majority vote is required to confirm a candidate.
- Once elected, a TSC member serves for 2 years.
- Elected TSC members do not have the right to appoint an Alternate.
- To ensure continuity of the TSC, at the end of the 2 year term, the TSC is
required to reconfirm the membership of elected members. If the elected member
declines a new term or if the TSC fails to reconfirm the term, the seat will
be open for new nominations.
- If an elected TSC member resigns before the end of the 2 year term, their spot
will be open for new members outside of the quarterly nomination limit. The
elected member will serve a 2 year term.
- The TSC has the right to terminate elected members who become inactive and are
not fulfilling the responsibilities of TSC members as described in this
document.
- The number of elected members shall not exceed 20% of the total of appointed
members.
- Existing TSC members who were elected before May 2024 shall be re-confirmed
after completing the 2 year term since they were first elected.
Suspensions
+++++++++++
As noted under Section 8b of the Project Charter, voting rights for a
representative who misses three consecutive meetings are subject to suspension
and suspended representatives do not count towards the quorum requirement.
A representatives suspension will end and voting rights be restored at the start
of the next attended meeting. The TSC enforces the suspension policy for voting
members who miss three consecutive TSC weekly meetings.
Multi-day meetings (F2F events) are counted as "one" meeting. The TSC voted on
February 16, 2022 to discontinue default enforcement of the suspension policy.
The TSC voted on January 18, 2023 to re-enact default enforcement of the
suspension policy.
Notice of suspension will be sent to representatives who miss three consecutive
meetings, noting that rights will be restored upon next attendance of a TSC
meeting.
.. note::
As per Section 4b of the Project Charter, Platinum and Silver
Members may choose to opt out of a voting seat on the TSC.
Members who opt out and then wish to reclaim their seat later will have their
voting rights restored at the start of the second consecutive meeting
attended following notification to the TSC Chair.
Voting
++++++
Voting in the Zephyr Project is defined under Section 8 of the Project Charter.
Additional points of clarity / TSC interpretation have been added below. The
Governing Board may opt to update the Charter to include the below
refinements. Until then, additional clarifications (if/where needed) will be
discussed in the Process Working Group, and approved in the TSC.
- TSC In-Meeting Voting For items requesting an in-meeting vote of the Zephyr
Technical Steering Committee (TSC), assuming quorum requirements have been
met, the default voting mechanism will be a verbal motion to determine if
there is general consensus.
- If there are no objections to a motion being brought forward, general
consensus is assumed and the motion passes.
- Should there be any objections raised, the vote will move to email, and be
executed using the Voting Guidelines outlined in Section 8 of the Project
Charter.
- Should a motion be deemed urgent by the TSC Chair, and assuming quorum
requirements have been met, the Chair may call for a roll call vote
in-meeting.
Voting Options
--------------
- Voting Options are:
- "Yes",
- "No" or
- "Abstain"
Abstention
----------
Abstentions do not count in tallying the vote negatively or positively; when
members abstain, they are in effect attending only to contribute to a quorum.
Abstentions do not impact the number of votes needed to decide a vote.
Quorum
------
Quorum for TSC meetings shall require 60% of the voting representatives... (ref
8b of the Charter)
Decisions
---------
Decisions by vote shall be based on a majority vote, provided that at least
sixty percent (60%) of the **TSC** representatives must be either
present or participating electronically or by written action in order to
conduct a valid vote. (ref 8c of the Charter)
Example A:
40 eligible TSC voters. 3 abstain from a vote on a motion. 12 vote Yes. 11 vote
No.
Quorum reached: 26 votes cast (quorum = 60% of 40 = 24)
Majority vote: 12 Yes vs. 11 No. Yes wins.
Motion adopted.
Example B:
40 eligible TSC voters. 5 abstain from a vote on a motion. 12 vote Yes. 6
vote No. Quorum reached? 23 votes cast (quorum = 60% of 40 = 24)
Vote is not valid. Quorum not reached.
Example C:
40 eligible TSC voters. 21 abstain from a vote on a motion. 2 vote Yes. 1 votes
No. Quorum reached? 24 votes cast (quorum = 60% of 40 = 24)
Majority vote: 2 Yes vs. 1 No. Yes wins.
Immutable Votes
+++++++++++++++
Votes are considered immutable once cast. A voter may not change their vote,
once cast, between the time a Motion is brought forth and the time at which
results are announced.
.. _Zephyr project charter:
path_to_url
``` | /content/code_sandbox/doc/project/tsc.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,905 |
```html
<!-- HTML header for doxygen 1.12.0-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "path_to_url">
<html xmlns="path_to_url" lang="$langISO">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen $doxygenversion"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<!--BEGIN PROJECT_NAME--><title>$projectname: $title</title><!--END PROJECT_NAME-->
<!--BEGIN !PROJECT_NAME--><title>$title</title><!--END !PROJECT_NAME-->
<!--BEGIN PROJECT_ICON-->
<link rel="icon" href="$relpath^$projecticon" type="image/x-icon" />
<!--END PROJECT_ICON-->
<link href="$relpath^tabs.css" rel="stylesheet" type="text/css"/>
<!--BEGIN DISABLE_INDEX-->
<!--BEGIN FULL_SIDEBAR-->
<script type="text/javascript">var page_layout=1;</script>
<!--END FULL_SIDEBAR-->
<!--END DISABLE_INDEX-->
<script type="text/javascript" src="$relpath^jquery.js"></script>
<script type="text/javascript" src="$relpath^dynsections.js"></script>
<!--BEGIN COPY_CLIPBOARD-->
<script type="text/javascript" src="$relpath^clipboard.js"></script>
<!--END COPY_CLIPBOARD-->
<script type="text/javascript" src="$relpath^doxygen-awesome-darkmode-toggle.js"></script>
<script type="text/javascript" src="$relpath^doxygen-awesome-zephyr.js"></script>
<script type="text/javascript">
DoxygenAwesomeDarkModeToggle.init()
</script>
$treeview
$search
$mathjax
$darkmode
<link href="$relpath^$stylesheet" rel="stylesheet" type="text/css" />
$extrastylesheet
</head>
<body>
<!--BEGIN DISABLE_INDEX-->
<!--BEGIN FULL_SIDEBAR-->
<div id="side-nav" class="ui-resizable side-nav-resizable"><!-- do not remove this div, it is closed by doxygen! -->
<!--END FULL_SIDEBAR-->
<!--END DISABLE_INDEX-->
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<!--BEGIN TITLEAREA-->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<!--BEGIN PROJECT_LOGO-->
<td id="projectlogo"><img alt="Logo" src="$relpath^$projectlogo"$logosize/></td>
<!--END PROJECT_LOGO-->
<!--BEGIN PROJECT_NAME-->
<td id="projectalign">
<div id="projectname">$projectname<!--BEGIN PROJECT_NUMBER--><span id="projectnumber"> $projectnumber</span><!--END PROJECT_NUMBER-->
</div>
<!--BEGIN PROJECT_BRIEF--><div id="projectbrief">$projectbrief</div><!--END PROJECT_BRIEF-->
</td>
<!--END PROJECT_NAME-->
<!--BEGIN !PROJECT_NAME-->
<!--BEGIN PROJECT_BRIEF-->
<td>
<div id="projectbrief">$projectbrief</div>
</td>
<!--END PROJECT_BRIEF-->
<!--END !PROJECT_NAME-->
<!--BEGIN DISABLE_INDEX-->
<!--BEGIN SEARCHENGINE-->
<!--BEGIN !FULL_SIDEBAR-->
<td>$searchbox</td>
<!--END !FULL_SIDEBAR-->
<!--END SEARCHENGINE-->
<!--END DISABLE_INDEX-->
</tr>
<!--BEGIN SEARCHENGINE-->
<!--BEGIN FULL_SIDEBAR-->
<tr><td colspan="2">$searchbox</td></tr>
<!--END FULL_SIDEBAR-->
<!--END SEARCHENGINE-->
</tbody>
</table>
</div>
<!--END TITLEAREA-->
<!-- end header part -->
``` | /content/code_sandbox/doc/_doxygen/header.html | html | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 807 |
```css
/**
Doxygen Awesome
path_to_url
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
@media screen and (min-width: 768px) {
#MSearchBox {
width: calc(var(--side-nav-fixed-width) - calc(2 * var(--spacing-medium)) - var(--searchbar-height) - 1px);
}
#MSearchField {
width: calc(var(--side-nav-fixed-width) - calc(2 * var(--spacing-medium)) - 66px - var(--searchbar-height));
}
}
``` | /content/code_sandbox/doc/_doxygen/doxygen-awesome-sidebar-only-darkmode-toggle.css | css | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 312 |
```javascript
/*
*/
window.addEventListener('DOMContentLoaded', (event) => {
/* re-inject project version at a custom location */
let version = document.getElementById('projectnumber').innerText
let titleTable = document.querySelector('#titlearea table');
let cell = titleTable.insertRow(1).insertCell(0);
cell.innerHTML = '<div id="projectversion">' + version + '</div>';
});
``` | /content/code_sandbox/doc/_doxygen/doxygen-awesome-zephyr.js | javascript | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 83 |
```unknown
/**
@defgroup internal_api Internal and System API
@brief Internal and System API
@{
@}
@defgroup os_services Operating System Services
@brief Operating System Services
@{
@brief MCUmgr
@defgroup mcumgr MCUmgr
@{
@}
@}
@brief Device Driver APIs
@defgroup io_interfaces Device Driver APIs
@{
@}
@brief Miscellaneous Drivers APIs
@defgroup misc_interfaces Miscellaneous Drivers APIs
@ingroup io_interfaces
@{
@}
@brief Multi Function Device Drivers APIs
@defgroup mfd_interfaces Multi Function Device Drivers APIs
@ingroup io_interfaces
@{
@}
@brief Testing
@defgroup testing Testing
@{
@}
@brief Connectivity
@defgroup connectivity Connectivity
@{
@}
@brief USB
@defgroup usb USB
@ingroup connectivity
@{
@}
@brief Utilities
@defgroup utilities Utilities
@{
@brief Data Structure APIs
@defgroup datastructure_apis Data Structure APIs
@{
@}
@}
@brief APIs to interact with third-party services or applications
@defgroup third_party Third-party
@{
@}
@brief Modem APIs
@defgroup modem Modem APIs
@ingroup connectivity
@since 3.5
@version 0.1.0
@{
@}
@brief Memory Management APIs
@defgroup mem_mgmt Memory Management APIs
@{
@}
*/
``` | /content/code_sandbox/doc/_doxygen/groups.dox | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 267 |
```css
/**
Doxygen Awesome
path_to_url
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
html {
/* side nav width. MUST be = `TREEVIEW_WIDTH`.
* Make sure it is wide enough to contain the page title (logo + title + version)
*/
--side-nav-fixed-width: 335px;
--menu-display: none;
--top-height: 120px;
--toc-sticky-top: -25px;
--toc-max-height: calc(100vh - 2 * var(--spacing-medium) - 25px);
}
#projectname {
white-space: nowrap;
}
@media screen and (min-width: 768px) {
html {
--searchbar-background: var(--page-background-color);
}
#side-nav {
min-width: var(--side-nav-fixed-width);
max-width: var(--side-nav-fixed-width);
top: var(--top-height);
overflow: visible;
}
#nav-tree, #side-nav {
height: calc(100vh - var(--top-height)) !important;
}
#nav-tree {
padding: 0;
}
#top {
display: block;
border-bottom: none;
height: var(--top-height);
margin-bottom: calc(0px - var(--top-height));
max-width: var(--side-nav-fixed-width);
overflow: hidden;
background: var(--side-nav-background);
}
#main-nav {
float: left;
padding-right: 0;
}
.ui-resizable-handle {
cursor: default;
width: 1px !important;
background: var(--separator-color);
box-shadow: 0 calc(-2 * var(--top-height)) 0 0 var(--separator-color);
}
#nav-path {
position: fixed;
right: 0;
left: var(--side-nav-fixed-width);
bottom: 0;
width: auto;
}
#doc-content {
height: calc(100vh - 31px) !important;
padding-bottom: calc(3 * var(--spacing-large));
padding-top: calc(var(--top-height) - 80px);
box-sizing: border-box;
margin-left: var(--side-nav-fixed-width) !important;
}
#MSearchBox {
width: calc(var(--side-nav-fixed-width) - calc(2 * var(--spacing-medium)));
}
#MSearchField {
width: calc(var(--side-nav-fixed-width) - calc(2 * var(--spacing-medium)) - 65px);
}
#MSearchResultsWindow {
left: var(--spacing-medium) !important;
right: auto;
}
}
``` | /content/code_sandbox/doc/_doxygen/doxygen-awesome-sidebar-only.css | css | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 777 |
```javascript
/**
Doxygen Awesome
path_to_url
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
class DoxygenAwesomeDarkModeToggle extends HTMLElement {
// SVG icons from path_to_url
// path_to_url
static lightModeIcon = `<svg xmlns="path_to_url" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#FCBF00"><rect fill="none" height="24" width="24"/><circle cx="12" cy="12" opacity=".3" r="3"/><path d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg>`
static darkModeIcon = `<svg xmlns="path_to_url" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#FE9700"><rect fill="none" height="24" width="24"/><path d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27 C17.45,17.19,14.93,19,12,19c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z" opacity=".3"/><path d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg>`
static title = "Toggle Light/Dark Mode"
static prefersLightModeInDarkModeKey = "prefers-light-mode-in-dark-mode"
static prefersDarkModeInLightModeKey = "prefers-dark-mode-in-light-mode"
static _staticConstructor = function() {
DoxygenAwesomeDarkModeToggle.enableDarkMode(DoxygenAwesomeDarkModeToggle.userPreference)
// Update the color scheme when the browsers preference changes
// without user interaction on the website.
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', event => {
DoxygenAwesomeDarkModeToggle.onSystemPreferenceChanged()
})
// Update the color scheme when the tab is made visible again.
// It is possible that the appearance was changed in another tab
// while this tab was in the background.
document.addEventListener("visibilitychange", visibilityState => {
if (document.visibilityState === 'visible') {
DoxygenAwesomeDarkModeToggle.onSystemPreferenceChanged()
}
});
}()
static init() {
$(function() {
$(document).ready(function() {
const toggleButton = document.createElement('doxygen-awesome-dark-mode-toggle')
toggleButton.title = DoxygenAwesomeDarkModeToggle.title
toggleButton.updateIcon()
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', event => {
toggleButton.updateIcon()
})
document.addEventListener("visibilitychange", visibilityState => {
if (document.visibilityState === 'visible') {
toggleButton.updateIcon()
}
});
$(document).ready(function(){
document.getElementById("MSearchBox").parentNode.appendChild(toggleButton)
})
$(window).resize(function(){
document.getElementById("MSearchBox").parentNode.appendChild(toggleButton)
})
})
})
}
constructor() {
super();
this.onclick=this.toggleDarkMode
}
/**
* @returns `true` for dark-mode, `false` for light-mode system preference
*/
static get systemPreference() {
return window.matchMedia('(prefers-color-scheme: dark)').matches
}
/**
* @returns `true` for dark-mode, `false` for light-mode user preference
*/
static get userPreference() {
return (!DoxygenAwesomeDarkModeToggle.systemPreference && localStorage.getItem(DoxygenAwesomeDarkModeToggle.prefersDarkModeInLightModeKey)) ||
(DoxygenAwesomeDarkModeToggle.systemPreference && !localStorage.getItem(DoxygenAwesomeDarkModeToggle.prefersLightModeInDarkModeKey))
}
static set userPreference(userPreference) {
DoxygenAwesomeDarkModeToggle.darkModeEnabled = userPreference
if(!userPreference) {
if(DoxygenAwesomeDarkModeToggle.systemPreference) {
localStorage.setItem(DoxygenAwesomeDarkModeToggle.prefersLightModeInDarkModeKey, true)
} else {
localStorage.removeItem(DoxygenAwesomeDarkModeToggle.prefersDarkModeInLightModeKey)
}
} else {
if(!DoxygenAwesomeDarkModeToggle.systemPreference) {
localStorage.setItem(DoxygenAwesomeDarkModeToggle.prefersDarkModeInLightModeKey, true)
} else {
localStorage.removeItem(DoxygenAwesomeDarkModeToggle.prefersLightModeInDarkModeKey)
}
}
DoxygenAwesomeDarkModeToggle.onUserPreferenceChanged()
}
static enableDarkMode(enable) {
if(enable) {
DoxygenAwesomeDarkModeToggle.darkModeEnabled = true
document.documentElement.classList.add("dark-mode")
document.documentElement.classList.remove("light-mode")
} else {
DoxygenAwesomeDarkModeToggle.darkModeEnabled = false
document.documentElement.classList.remove("dark-mode")
document.documentElement.classList.add("light-mode")
}
}
static onSystemPreferenceChanged() {
DoxygenAwesomeDarkModeToggle.darkModeEnabled = DoxygenAwesomeDarkModeToggle.userPreference
DoxygenAwesomeDarkModeToggle.enableDarkMode(DoxygenAwesomeDarkModeToggle.darkModeEnabled)
}
static onUserPreferenceChanged() {
DoxygenAwesomeDarkModeToggle.enableDarkMode(DoxygenAwesomeDarkModeToggle.darkModeEnabled)
}
toggleDarkMode() {
DoxygenAwesomeDarkModeToggle.userPreference = !DoxygenAwesomeDarkModeToggle.userPreference
this.updateIcon()
}
updateIcon() {
if(DoxygenAwesomeDarkModeToggle.darkModeEnabled) {
this.innerHTML = DoxygenAwesomeDarkModeToggle.darkModeIcon
} else {
this.innerHTML = DoxygenAwesomeDarkModeToggle.lightModeIcon
}
}
}
customElements.define("doxygen-awesome-dark-mode-toggle", DoxygenAwesomeDarkModeToggle);
``` | /content/code_sandbox/doc/_doxygen/doxygen-awesome-darkmode-toggle.js | javascript | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,622 |
```restructuredtext
:orphan:
.. _migration_3.5:
Migration guide to Zephyr v3.5.0
################################
This document describes the changes required or recommended when migrating your
application from Zephyr v3.4.0 to Zephyr v3.5.0.
Any other changes (not directly related to migrating applications) can be found in
the :ref:`release notes<zephyr_3.5>`.
Required changes
****************
Kernel
======
* The kernel :c:func:`k_mem_slab_free` function has changed its signature, now
taking a ``void *mem`` pointer instead of a ``void **mem`` double-pointer.
The new signature will not immediately trigger a compiler error or warning,
instead likely causing a invalid memory access at runtime. A new ``_ASSERT``
statement, that you can enable with :kconfig:option:`CONFIG_ASSERT`, will
detect if you pass the function memory not belonging to the memory blocks in
the slab.
* :c:macro:`CONTAINER_OF` now performs type checking, this was very commonly
misused to obtain user structure from :c:struct:`k_work` pointers without
passing from :c:struct:`k_work_delayable`. This would now result in a build
error and have to be done correctly using
:c:func:`k_work_delayable_from_work`.
C Library
=========
* The default C library used on most targets has changed from the built-in
minimal C library to Picolibc. While both provide standard C library
interfaces and shouldn't cause any behavioral regressions for applications,
there are a few side effects to be aware of when migrating to Picolibc.
* Picolibc enables thread local storage
(:kconfig:option:`CONFIG_THREAD_LOCAL_STORAGE`) where supported. This
changes some internal operations within the kernel that improve
performance using some TLS variables. Zephyr places TLS variables in the
memory reserved for the stack, so stack usage for every thread will
increase by 8-16 bytes.
* Picolibc uses the same malloc implementation as the minimal C library, but
the default heap size depends on which C library is in use. When using the
minimal C library, the default heap is zero bytes, which means that malloc
will always fail. When using Picolibc, the default is 16kB with
:kconfig:option:`CONFIG_MMU` or :kconfig:option:`ARCH_POSIX`, 2kB with
:kconfig:option:`CONFIG_USERSPACE` and
:kconfig:option:`CONFIG_MPU_REQUIRES_POWER_OF_TWO_ALIGNMENT`. For all
other targets, the default heap uses all remaining memory on the system.
You can change this by adjusting
:kconfig:option:`CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE`.
* Picolibc can either be built as part of the OS build or pulled from the
toolchain. When building as part of the OS, the build will increase by
approximately 1000 files.
* When using the standard C++ library with Picolibc, both of those must come
from the toolchain as the standard C++ library depends upon the C library
ABI.
* Picolibc removes the ``-ffreestanding`` compiler option. This allows
significant compiler optimization improvements, but also means that the
compiler will now warn about declarations of `main` which don't conform to
the Zephyr required type -- ``int main(void)``.
* Picolibc has four different printf/scanf variants supported in Zephyr,
'double', 'long long', 'integer', and 'minimal. 'double' offers a
complete printf implementation with exact floating point in decimal and
hexadecimal formats, full integer support including long long, C99
integer size specifiers (j, z, t) and POSIX positional arguments. 'long
long' mode removes float support, 'integer' removes long long support
while 'minimal' mode also removes support for format modifiers and
positional arguments. Building the library as a module allows finer
control over the feature set provided at each level.
* Picolibc's default floating point input/output code is larger than the
minimal C library version (this is necessary to conform with the C
language "round trip" requirements for these operations). If you use
:kconfig:option:`CONFIG_CBPRINTF_FP_SUPPORT`, you will see increased
memory usage unless you also disable
:kconfig:option:`CONFIG_PICOLIBC_IO_FLOAT_EXACT`, which switches Picolibc
to a smaller, but inexact conversion algorithm. This requires building
Picolibc as a module.
Optional Modules
================
The following modules have been made optional and are not downloaded with `west update` by default anymore:
* ``chre``
* ``lz4``
* ``nanopb``
* ``psa-arch-tests``
* ``sof``
* ``tf-m-tests``
* ``tflite-micro``
* ``thrift``
* ``zscilib``
To enable them again use the ``west config manifest.project-filter -- +<module
name>`` command, or ``west config manifest.group-filter -- +optional`` to
enable all optional modules, and then run ``west update`` again.
Device Drivers and Device Tree
==============================
* ``zephyr,memory-region-mpu`` was renamed ``zephyr,memory-attr`` and its type
moved from 'enum' to 'int'. To have a seamless conversion this is the
required change in the DT:
.. code-block:: none
- "RAM" -> <( DT_MEM_ARM(ATTR_MPU_RAM) )>
- "RAM_NOCACHE" -> <( DT_MEM_ARM(ATTR_MPU_RAM_NOCACHE) )>
- "FLASH" -> <( DT_MEM_ARM(ATTR_MPU_FLASH) )>
- "PPB" -> <( DT_MEM_ARM(ATTR_MPU_PPB) )>
- "IO" -> <( DT_MEM_ARM(ATTR_MPU_IO) )>
- "EXTMEM" -> <( DT_MEM_ARM(ATTR_MPU_EXTMEM) )>
* Device dependencies (incorrectly referred as "device handles" in some areas)
are now an optional feature enabled by :kconfig:option:`CONFIG_DEVICE_DEPS`.
This means that an extra linker stage is no longer necessary if this option is
not enabled.
* On all STM32 ADC, it is no longer possible to read sensor channels (Vref,
Vbat or temperature) using the ADC driver. The dedicated sensor driver should
be used instead. This change is due to a limitation on STM32F4 where the
channels for temperature and Vbat are identical, and the impossibility of
determining what we want to measure using solely the ADC API.
* The RAM disk driver has been changed to support multiple instances and instantiation
using devicetree. As a result, Kconfig option :kconfig:option:`CONFIG_DISK_RAM_VOLUME_SIZE`
and Kconfig option :kconfig:option:`CONFIG_DISK_RAM_VOLUME_NAME` are removed,
and the application using the RAM disk must instantiate it using devicetree,
as in the following example:
.. code-block:: devicetree
/ {
ramdisk0 {
compatible = "zephyr,ram-disk";
disk-name = "RAM";
sector-size = <512>;
sector-count = <192>;
};
};
* The :dtcompatible:`goodix,gt911`, :dtcompatible:`xptek,xpt2046` and
:dtcompatible:`hynitron,cst816s` drivers have been converted from Kscan to
Input, they can still be used with Kscan applications by adding a
:dtcompatible:`zephyr,kscan-input` node.
* The ``zephyr,gpio-keys`` binding has been merged into
:dtcompatible:`gpio-keys` and the callback definition has been renamed from
``INPUT_LISTENER_CB_DEFINE`` to :c:macro:`INPUT_CALLBACK_DEFINE`.
* The :dtcompatible:`ti,bq274xx` driver was using incorrect units for capacity
and power channels, these have been fixed and scaled by x1000 factor from the
previous implementation, any application using them has to be changed
accordingly.
* The configuration options for the SSD1306 display driver can now be provided
via the Devicetree binding :dtcompatible:`solomon,ssd1306fb`. The following
Kconfig options: ``CONFIG_SSD1306_DEFAULT``,
``CONFIG_SSD1306_SH1106_COMPATIBLE``, and ``CONFIG_SSD1306_REVERSE_MODE`` have
been removed.
* You can remove ``CONFIG_SSD1306_DEFAULT`` without any other modification.
* ``CONFIG_SSD1306_SH1106_COMPATIBLE`` was used to assert that the device is
(compatible with) SH1106. This has been replaced by a dedicated dts
compatible declaration. You may update an existing sh1106 node to change the
``compatible`` designation from :dtcompatible:`solomon,ssd1306fb` to
:dtcompatible:`sinowealth,sh1106`.
* ``CONFIG_SSD1306_REVERSE_MODE`` is now set using the ``inversion-on``
property of the devicetree node.
* GPIO drivers not implementing IRQ related operations must now provide
``NULL`` to the relevant operations: ``pin_interrupt_configure``,
``manage_callback``, ``get_pending_int``. The public API will return
``-ENOSYS`` when these are not available, instead of ``-ENOTSUP``.
* STM32 Ethernet driver was misusing :c:func:`hwinfo_get_device_id` to generate
last 3 bytes of mac address, resulting in a high risk of collision when using
SoCs from the same lot. This is now fixed to use the whole range of entropy
available from the unique ID (96 bits). Devices using unique ID based mac address
will see last 3 bytes of their MAC address modified by this change.
* On all STM32 (except F1x and F37x series), two new required properties have been
added to ADC to configure the source clock and the prescaler.
``st,adc-clock-source`` allows choosing either synchronous or asynchronous clock source.
``st,adc-prescaler`` allows setting the value of the prescaler for the chosen clock source.
Not all combinations are allowed. Refer to the appropriate RefMan for more information.
When choosing asynchronous clock, the choice of the kernel source clock is made in the
``clocks`` node as it is done for other peripherals, for example, to select
HSI16 as clock source for STM32G0:
.. code-block:: devicetree
&adc {
clocks = <&rcc STM32_CLOCK_BUS_APB1_2 0x00100000>,
<&rcc STM32_SRC_HSI ADC_SEL(2)>;
};
* On NXP boards with LPC DMA, the DMA controller node used to have its ``dma-channels`` property
set in the board DTS as a way to configure the amount of structures the driver will allocate.
This did not match the zephyr dma-controller binding, so this property is now fixed and set
in the SOC devicetree definition. Downstream boards should not override this property and
instead use the new driver Kconfig
:kconfig:option:`CONFIG_DMA_MCUX_LPC_NUMBER_OF_CHANNELS_ALLOCATED`.
* The LPC55XXX series SOC (except LPC55S06) default main clock has been
updated to PLL1 source from XTAL32K running at 144MHZ. If the new
kconfig option :kconfig:option:`CONFIG_INIT_PLL1`
is disabled then the main clock is muxed to FRO_HR as before.
* The Kconfig option ``CONFIG_GPIO_NCT38XX_INTERRUPT`` has been renamed to
:kconfig:option:`CONFIG_GPIO_NCT38XX_ALERT`.
* The CAN controller timing API functions :c:func:`can_set_timing` and :c:func:`can_set_timing_data`
no longer fallback to the (Re-)Synchronization Jump Width (SJW) value set in the devicetree
properties for the given CAN controller upon encountering an SJW value corresponding to
``CAN_SJW_NO_CHANGE`` (which is no longer available). The caller will therefore need to fill in
the ``sjw`` field in :c:struct:`can_timing`. To aid in this, the :c:func:`can_calc_timing` and
:c:func:`can_calc_timing_data` functions now automatically calculate a suitable SJW. The
calculated SJW can be overwritten by the caller if needed. The CAN controller API functions
:c:func:`can_set_bitrate` and :c:func:`can_set_bitrate_data` now also automatically calculate a
suitable SJW, but their SJW cannot be overwritten by the caller.
* The CAN ISO-TP message configuration in :c:struct:`isotp_msg_id` is changed to use the following
flags instead of bit fields:
* :c:macro:`ISOTP_MSG_EXT_ADDR` to enable ISO-TP extended addressing
* :c:macro:`ISOTP_MSG_FIXED_ADDR` to enable ISO-TP fixed addressing
* :c:macro:`ISOTP_MSG_IDE` to use extended (29-bit) CAN IDs
The two new flags :c:macro:`ISOTP_MSG_FDF` and :c:macro:`ISOTP_MSG_BRS` were added for CAN FD
mode.
* NXP i.MX RT based boards should now enable
:kconfig:option:`CONFIG_DEVICE_CONFIGURATION_DATA` at the board level when
using a DCD with the RT bootrom, and enable
:kconfig:option:`CONFIG_NXP_IMX_EXTERNAL_SDRAM` when using external SDRAM
via the SEMC
* NXP i.MX RT11xx series SNVS pin control name identifiers have been updated to
match with the source data for these SOCs. The pin names have had the
suffix ``dig`` added. For example, ``iomuxc_snvs_wakeup_gpio13_io00`` has
been renamed to ``iomuxc_snvs_wakeup_dig_gpio13_io00``
Power Management
================
* Platforms that implement power management hooks must explicitly select
:kconfig:option:`CONFIG_HAS_PM` in Kconfig. This is now a dependency of
:kconfig:option:`CONFIG_PM`. Before this change all platforms could enable
:kconfig:option:`CONFIG_PM` because empty weak stubs were provided, however,
this is no longer supported. As a result of this change, power management
hooks are no longer defined as weaks.
* Multiple platforms no longer support powering the system off using
:c:func:`pm_state_force`. The new :c:func:`sys_poweroff` API must be used.
Migrated platforms include Nordic nRF, STM32, ESP32 and TI CC13XX/26XX. The
new API is independent from :kconfig:option:`CONFIG_PM`. It requires
:kconfig:option:`CONFIG_POWEROFF` to be enabled, which depends on
:kconfig:option:`CONFIG_HAS_POWEROFF`, an option selected by platforms
implementing the required new hooks.
Bootloader
==========
* The :kconfig:option:`CONFIG_BOOTLOADER_SRAM_SIZE` default value is now ``0`` (was
``16``). Bootloaders that use a part of the SRAM should set this value to an
appropriate size. :github:`60371`
Bluetooth
=========
* The ``accept()`` callback's signature in :c:struct:`bt_l2cap_server` has
changed to ``int (*accept)(struct bt_conn *conn, struct bt_l2cap_server
*server, struct bt_l2cap_chan **chan)``,
adding a new ``server`` parameter pointing to the :c:struct:`bt_l2cap_server`
structure instance the callback relates to. :github:`60536`
Networking
==========
* A new networking Kconfig option :kconfig:option:`CONFIG_NET_INTERFACE_NAME`
defaults to ``y``. The option allows user to set a name to a network interface.
During system startup a default name is assigned to the network interface like
``eth0`` to the first Ethernet network interface. The option affects the behavior
of ``SO_BINDTODEVICE`` BSD socket option. If the Kconfig option is set to ``n``,
which is how the system worked earlier, then the name of the device assigned
to the network interface is used by the ``SO_BINDTODEVICE`` socket option.
If the Kconfig option is set to ``y`` (current default), then the network
interface name is used by the ``SO_BINDTODEVICE`` socket option.
* Ethernet PHY devicetree bindings were updated to use the standard ``reg``
property for the PHY address instead of a custom ``address`` property. As a
result, MDIO controller nodes now require ``#address-cells`` and
``#size-cells`` properties. Similarly, Ethernet PHY devicetree nodes and
corresponding driver were updated to consistently use the node name
``ethernet-phy`` instead of ``phy``. Devicetrees and overlays must be updated
accordingly:
.. code-block:: devicetree
mdio {
compatible = "mdio-controller";
#address-cells = <1>;
#size-cells = <0>;
ethernet-phy@0 {
compatible = "ethernet-phy";
reg = <0>;
};
};
Other Subsystems
================
* ZBus runtime observers implementation now relies on the HEAP memory instead of a memory slab.
Thus, zbus' configuration (kconfig) related to runtime observers has changed. To keep your runtime
observers code working correctly, you need to:
- Replace the integer ``CONFIG_ZBUS_RUNTIME_OBSERVERS_POOL_SIZE`` with the boolean
:kconfig:option:`CONFIG_ZBUS_RUNTIME_OBSERVERS`;
- Set the HEAP size with the :kconfig:option:`CONFIG_HEAP_MEM_POOL_SIZE`.
* The zbus VDED delivery sequence has changed. Check the :ref:`documentation<zbus delivery
sequence>` to verify if it will affect your code.
* MCUmgr SMP version 2 error codes entry has changed due to a collision with an
existing response in shell_mgmt. Previously, these errors had the entry ``ret``
but now have the entry ``err``. ``smp_add_cmd_ret()`` is now deprecated and
:c:func:`smp_add_cmd_err` should be used instead, ``MGMT_CB_ERROR_RET`` is
now deprecated and :c:enumerator:`MGMT_CB_ERROR_ERR` should be used instead.
SMP version 2 error code defines for in-tree modules have been updated to
replace the ``*_RET_RC_*`` parts with ``*_ERR_*``.
* MCUmgr SMP version 2 error translation (to legacy MCUmgr error code) is now
handled in function handlers by setting the ``mg_translate_error`` function
pointer of :c:struct:`mgmt_group` when registering a group. See
:c:type:`smp_translate_error_fn` for function details. Any SMP version 2
handlers made for Zephyr 3.4 need to be updated to include these translation
functions when the groups are registered.
ARM
===
* ARM SoC initialization routines no longer need to call `NMI_INIT()`. The
macro call has been removed as it was not doing anything useful.
RISC V
======
* The :kconfig:option:`CONFIG_RISCV_MTVEC_VECTORED_MODE` Kconfig option was renamed to
:kconfig:option:`CONFIG_RISCV_VECTORED_MODE`.
Recommended Changes
*******************
* Setting the GIC architecture version by selecting
:kconfig:option:`CONFIG_GIC_V1`, :kconfig:option:`CONFIG_GIC_V2` and
:kconfig:option:`CONFIG_GIC_V3` directly in Kconfig has been deprecated.
The GIC version should now be specified by adding the appropriate compatible, for
example :dtcompatible:`arm,gic-v2`, to the GIC node in the device tree.
* Nordic nRF based boards using :kconfig:option:`CONFIG_NFCT_PINS_AS_GPIOS`
to configure NFCT pins as GPIOs, should instead set the new UICR
``nfct-pins-as-gpios`` property in devicetree. It can be set like this in the
board devicetree files:
.. code-block:: devicetree
&uicr {
nfct-pins-as-gpios;
};
* Nordic nRF based boards using :kconfig:option:`CONFIG_GPIO_AS_PINRESET`
to configure reset GPIO as nRESET, should instead set the new UICR
``gpio-as-nreset`` property in devicetree. It can be set like this in the
board devicetree files:
.. code-block:: devicetree
&uicr {
gpio-as-nreset;
};
* The :kconfig:option:`CONFIG_MODEM_GSM_PPP` modem driver is obsolete.
Instead the new :kconfig:option:`CONFIG_MODEM_CELLULAR` driver should be used.
As part of this :kconfig:option:`CONFIG_GSM_MUX` and :kconfig:option:`CONFIG_UART_MUX` are being
marked as deprecated as well. The new modem subsystem :kconfig:option:`CONFIG_MODEM_CMUX`
and :kconfig:option:`CONFIG_MODEM_PPP` should be used instead.
* Device drivers should now be restricted to ``PRE_KERNEL_1``, ``PRE_KERNEL_2``
and ``POST_KERNEL`` initialization levels. Other device initialization levels,
including ``EARLY``, ``APPLICATION``, and ``SMP``, have been deprecated and
will be removed in future releases. Note that these changes do not apply to
initialization levels used in the context of the ``init.h`` API,
e.g. :c:macro:`SYS_INIT`.
* The following CAN controller devicetree properties are now deprecated in favor specifying the
initial CAN bitrate using the ``bus-speed``, ``sample-point``, ``bus-speed-data``, and
``sample-point-data`` properties:
* ``sjw``
* ``prop-seg``
* ``phase-seg1``
* ``phase-seg1``
* ``sjw-data``
* ``prop-seg-data``
* ``phase-seg1-data``
* ``phase-seg1-data``
* ``<zephyr/arch/arm/aarch32/cortex_a_r/cmsis.h>`` and
``<zephyr/arch/arm/aarch32/cortex_m/cmsis.h>`` are now deprecated in favor of
including ``<cmsis_core.h>`` instead. The new header is part of the CMSIS glue
code in the ``modules`` directory.
* Random API header ``<zephyr/random/rand32.h>`` is deprecated in favor of
``<zephyr/random/random.h>``. The old header will be removed in future releases
and its usage should be avoided.
``` | /content/code_sandbox/doc/releases/migration-guide-3.5.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 5,098 |
```css
/**
Doxygen Awesome
path_to_url
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
html {
/* primary theme color. This will affect the entire websites color scheme: links, arrows, labels, ... */
--primary-color: #1779c4;
--primary-dark-color: #335c80;
--primary-light-color: #70b1e9;
/* page base colors */
--page-background-color: #ffffff;
--page-foreground-color: #2f4153;
--page-secondary-foreground-color: #6f7e8e;
/* color for all separators on the website: hr, borders, ... */
--separator-color: #dedede;
/* border radius for all rounded components. Will affect many components, like dropdowns, memitems, codeblocks, ... */
--border-radius-large: 8px;
--border-radius-small: 4px;
--border-radius-medium: 6px;
/* default spacings. Most components reference these values for spacing, to provide uniform spacing on the page. */
--spacing-small: 5px;
--spacing-medium: 10px;
--spacing-large: 16px;
/* default box shadow used for raising an element above the normal content. Used in dropdowns, search result, ... */
--box-shadow: 0 2px 8px 0 rgba(0,0,0,.075);
--odd-color: rgba(0,0,0,.028);
/* font-families. will affect all text on the website
* font-family: the normal font for text, headlines, menus
* font-family-monospace: used for preformatted text in memtitle, code, fragments
*/
--font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;
--font-family-monospace: ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;
/* font sizes */
--page-font-size: 15.6px;
--navigation-font-size: 14.4px;
--toc-font-size: 13.4px;
--code-font-size: 14px; /* affects code, fragment */
--title-font-size: 22px;
/* content text properties. These only affect the page content, not the navigation or any other ui elements */
--content-line-height: 27px;
/* The content is centered and constraint in it's width. To make the content fill the whole page, set the variable to auto.*/
--content-maxwidth: 1050px;
--table-line-height: 24px;
--toc-sticky-top: var(--spacing-medium);
--toc-width: 200px;
--toc-max-height: calc(100vh - 2 * var(--spacing-medium) - 85px);
/* colors for various content boxes: @warning, @note, @deprecated @bug */
--warning-color: #faf3d8;
--warning-color-dark: #f3a600;
--warning-color-darker: #5f4204;
--note-color: #e4f3ff;
--note-color-dark: #1879C4;
--note-color-darker: #274a5c;
--todo-color: #e4dafd;
--todo-color-dark: #5b2bdd;
--todo-color-darker: #2a0d72;
--deprecated-color: #ecf0f3;
--deprecated-color-dark: #5b6269;
--deprecated-color-darker: #43454a;
--bug-color: #f8d1cc;
--bug-color-dark: #b61825;
--bug-color-darker: #75070f;
--invariant-color: #d8f1e3;
--invariant-color-dark: #44b86f;
--invariant-color-darker: #265532;
/* blockquote colors */
--blockquote-background: #f8f9fa;
--blockquote-foreground: #636568;
/* table colors */
--tablehead-background: #f1f1f1;
--tablehead-foreground: var(--page-foreground-color);
/* menu-display: block | none
* Visibility of the top navigation on screens >= 768px. On smaller screen the menu is always visible.
* `GENERATE_TREEVIEW` MUST be enabled!
*/
--menu-display: block;
--menu-focus-foreground: var(--page-background-color);
--menu-focus-background: var(--primary-color);
--menu-selected-background: rgba(0,0,0,.05);
--header-background: var(--page-background-color);
--header-foreground: var(--page-foreground-color);
/* searchbar colors */
--searchbar-background: var(--side-nav-background);
--searchbar-foreground: var(--page-foreground-color);
/* searchbar size
* (`searchbar-width` is only applied on screens >= 768px.
* on smaller screens the searchbar will always fill the entire screen width) */
--searchbar-height: 33px;
--searchbar-width: 210px;
--searchbar-border-radius: var(--searchbar-height);
/* code block colors */
--code-background: #f5f5f5;
--code-foreground: var(--page-foreground-color);
/* fragment colors */
--fragment-background: #F8F9FA;
--fragment-foreground: #37474F;
--fragment-keyword: #bb6bb2;
--fragment-keywordtype: #8258b3;
--fragment-keywordflow: #d67c3b;
--fragment-token: #438a59;
--fragment-comment: #969696;
--fragment-link: #5383d6;
--fragment-preprocessor: #46aaa5;
--fragment-linenumber-color: #797979;
--fragment-linenumber-background: #f4f4f5;
--fragment-linenumber-border: #e3e5e7;
--fragment-lineheight: 20px;
/* sidebar navigation (treeview) colors */
--side-nav-background: #fbfbfb;
--side-nav-foreground: var(--page-foreground-color);
--side-nav-arrow-opacity: 0;
--side-nav-arrow-hover-opacity: 0.9;
--toc-background: var(--side-nav-background);
--toc-foreground: var(--side-nav-foreground);
/* height of an item in any tree / collapsible table */
--tree-item-height: 30px;
--memname-font-size: var(--code-font-size);
--memtitle-font-size: 18px;
--webkit-scrollbar-size: 7px;
--webkit-scrollbar-padding: 4px;
--webkit-scrollbar-color: var(--separator-color);
--animation-duration: .12s
}
@media screen and (max-width: 767px) {
html {
--page-font-size: 16px;
--navigation-font-size: 16px;
--toc-font-size: 15px;
--code-font-size: 15px; /* affects code, fragment */
--title-font-size: 22px;
}
}
@media (prefers-color-scheme: dark) {
html:not(.light-mode) {
color-scheme: dark;
--primary-color: #1982d2;
--primary-dark-color: #86a9c4;
--primary-light-color: #4779ac;
--box-shadow: 0 2px 8px 0 rgba(0,0,0,.35);
--odd-color: rgba(100,100,100,.06);
--menu-selected-background: rgba(0,0,0,.4);
--page-background-color: #1C1D1F;
--page-foreground-color: #d2dbde;
--page-secondary-foreground-color: #859399;
--separator-color: #38393b;
--side-nav-background: #252628;
--code-background: #2a2c2f;
--tablehead-background: #2a2c2f;
--blockquote-background: #222325;
--blockquote-foreground: #7e8c92;
--warning-color: #3b2e04;
--warning-color-dark: #f1b602;
--warning-color-darker: #ceb670;
--note-color: #163750;
--note-color-dark: #1982D2;
--note-color-darker: #dcf0fa;
--todo-color: #2a2536;
--todo-color-dark: #7661b3;
--todo-color-darker: #ae9ed6;
--deprecated-color: #2e323b;
--deprecated-color-dark: #738396;
--deprecated-color-darker: #abb0bd;
--bug-color: #2e1917;
--bug-color-dark: #ad2617;
--bug-color-darker: #f5b1aa;
--invariant-color: #303a35;
--invariant-color-dark: #76ce96;
--invariant-color-darker: #cceed5;
--fragment-background: #282c34;
--fragment-foreground: #dbe4eb;
--fragment-keyword: #cc99cd;
--fragment-keywordtype: #ab99cd;
--fragment-keywordflow: #e08000;
--fragment-token: #7ec699;
--fragment-comment: #999999;
--fragment-link: #98c0e3;
--fragment-preprocessor: #65cabe;
--fragment-linenumber-color: #cccccc;
--fragment-linenumber-background: #35393c;
--fragment-linenumber-border: #1f1f1f;
}
}
/* dark mode variables are defined twice, to support both the dark-mode without and with doxygen-awesome-darkmode-toggle.js */
html.dark-mode {
color-scheme: dark;
--primary-color: #1982d2;
--primary-dark-color: #86a9c4;
--primary-light-color: #4779ac;
--box-shadow: 0 2px 8px 0 rgba(0,0,0,.30);
--odd-color: rgba(100,100,100,.06);
--menu-selected-background: rgba(0,0,0,.4);
--page-background-color: #1C1D1F;
--page-foreground-color: #d2dbde;
--page-secondary-foreground-color: #859399;
--separator-color: #38393b;
--side-nav-background: #252628;
--code-background: #2a2c2f;
--tablehead-background: #2a2c2f;
--blockquote-background: #222325;
--blockquote-foreground: #7e8c92;
--warning-color: #3b2e04;
--warning-color-dark: #f1b602;
--warning-color-darker: #ceb670;
--note-color: #163750;
--note-color-dark: #1982D2;
--note-color-darker: #dcf0fa;
--todo-color: #2a2536;
--todo-color-dark: #7661b3;
--todo-color-darker: #ae9ed6;
--deprecated-color: #2e323b;
--deprecated-color-dark: #738396;
--deprecated-color-darker: #abb0bd;
--bug-color: #2e1917;
--bug-color-dark: #ad2617;
--bug-color-darker: #f5b1aa;
--invariant-color: #303a35;
--invariant-color-dark: #76ce96;
--invariant-color-darker: #cceed5;
--fragment-background: #282c34;
--fragment-foreground: #dbe4eb;
--fragment-keyword: #cc99cd;
--fragment-keywordtype: #ab99cd;
--fragment-keywordflow: #e08000;
--fragment-token: #7ec699;
--fragment-comment: #999999;
--fragment-link: #98c0e3;
--fragment-preprocessor: #65cabe;
--fragment-linenumber-color: #cccccc;
--fragment-linenumber-background: #35393c;
--fragment-linenumber-border: #1f1f1f;
}
body {
color: var(--page-foreground-color);
background-color: var(--page-background-color);
font-size: var(--page-font-size);
}
body, table, div, p, dl, #nav-tree .label, .title,
.sm-dox a, .sm-dox a:hover, .sm-dox a:focus, #projectname,
.SelectItem, #MSearchField, .navpath li.navelem a,
.navpath li.navelem a:hover, p.reference, p.definition, div.toc li, div.toc h3 {
font-family: var(--font-family);
}
h1, h2, h3, h4, h5 {
margin-top: 1em;
font-weight: 600;
line-height: initial;
}
p, div, table, dl, p.reference, p.definition {
font-size: var(--page-font-size);
}
p.reference, p.definition {
color: var(--page-secondary-foreground-color);
}
a:link, a:visited, a:hover, a:focus, a:active {
color: var(--primary-color) !important;
font-weight: 500;
background: none;
}
a.anchor {
scroll-margin-top: var(--spacing-large);
display: block;
}
/*
Title and top navigation
*/
#top {
background: var(--header-background);
border-bottom: 1px solid var(--separator-color);
}
@media screen and (min-width: 768px) {
#top {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
}
}
#main-nav {
flex-grow: 5;
padding: var(--spacing-small) var(--spacing-medium);
}
#titlearea {
width: auto;
padding: var(--spacing-medium) var(--spacing-large);
background: none;
color: var(--header-foreground);
border-bottom: none;
}
@media screen and (max-width: 767px) {
#titlearea {
padding-bottom: var(--spacing-small);
}
}
#titlearea table tbody tr {
height: auto !important;
}
#projectname {
font-size: var(--title-font-size);
font-weight: 600;
}
#projectnumber {
font-family: inherit;
font-size: 60%;
}
#projectbrief {
font-family: inherit;
font-size: 80%;
}
#projectlogo {
vertical-align: middle;
}
#projectlogo img {
max-height: calc(var(--title-font-size) * 2);
margin-right: var(--spacing-small);
}
.sm-dox, .tabs, .tabs2, .tabs3 {
background: none;
padding: 0;
}
.tabs, .tabs2, .tabs3 {
border-bottom: 1px solid var(--separator-color);
margin-bottom: -1px;
}
.main-menu-btn-icon, .main-menu-btn-icon:before, .main-menu-btn-icon:after {
background: var(--page-secondary-foreground-color);
}
@media screen and (max-width: 767px) {
.sm-dox a span.sub-arrow {
background: var(--code-background);
}
#main-menu a.has-submenu span.sub-arrow {
color: var(--page-secondary-foreground-color);
border-radius: var(--border-radius-medium);
}
#main-menu a.has-submenu:hover span.sub-arrow {
color: var(--page-foreground-color);
}
}
@media screen and (min-width: 768px) {
.sm-dox li, .tablist li {
display: var(--menu-display);
}
.sm-dox a span.sub-arrow {
border-color: var(--header-foreground) transparent transparent transparent;
}
.sm-dox a:hover span.sub-arrow {
border-color: var(--menu-focus-foreground) transparent transparent transparent;
}
.sm-dox ul a span.sub-arrow {
border-color: transparent transparent transparent var(--page-foreground-color);
}
.sm-dox ul a:hover span.sub-arrow {
border-color: transparent transparent transparent var(--menu-focus-foreground);
}
}
.sm-dox ul {
background: var(--page-background-color);
box-shadow: var(--box-shadow);
border: 1px solid var(--separator-color);
border-radius: var(--border-radius-medium) !important;
padding: var(--spacing-small);
animation: ease-out 150ms slideInMenu;
}
@keyframes slideInMenu {
from {
opacity: 0;
transform: translate(0px, -2px);
}
to {
opacity: 1;
transform: translate(0px, 0px);
}
}
.sm-dox ul a {
color: var(--page-foreground-color) !important;
background: var(--page-background-color);
font-size: var(--navigation-font-size);
}
.sm-dox>li>ul:after {
border-bottom-color: var(--page-background-color) !important;
}
.sm-dox>li>ul:before {
border-bottom-color: var(--separator-color) !important;
}
.sm-dox ul a:hover, .sm-dox ul a:active, .sm-dox ul a:focus {
font-size: var(--navigation-font-size) !important;
color: var(--menu-focus-foreground) !important;
text-shadow: none;
background-color: var(--menu-focus-background);
border-radius: var(--border-radius-small) !important;
}
.sm-dox a, .sm-dox a:focus, .tablist li, .tablist li a, .tablist li.current a {
text-shadow: none;
background: transparent;
background-image: none !important;
color: var(--header-foreground) !important;
font-weight: normal;
font-size: var(--navigation-font-size);
border-radius: var(--border-radius-small) !important;
}
.sm-dox a:focus {
outline: auto;
}
.sm-dox a:hover, .sm-dox a:active, .tablist li a:hover {
text-shadow: none;
font-weight: normal;
background: var(--menu-focus-background);
color: var(--menu-focus-foreground) !important;
border-radius: var(--border-radius-small) !important;
font-size: var(--navigation-font-size);
}
.tablist li.current {
border-radius: var(--border-radius-small);
background: var(--menu-selected-background);
}
.tablist li {
margin: var(--spacing-small) 0 var(--spacing-small) var(--spacing-small);
}
.tablist a {
padding: 0 var(--spacing-large);
}
/*
Search box
*/
#MSearchBox {
height: var(--searchbar-height);
background: var(--searchbar-background);
border-radius: var(--searchbar-border-radius);
border: 1px solid var(--separator-color);
overflow: hidden;
width: var(--searchbar-width);
position: relative;
box-shadow: none;
display: block;
margin-top: 0;
}
/* until Doxygen 1.9.4 */
.left img#MSearchSelect {
left: 0;
user-select: none;
padding-left: 8px;
}
/* Doxygen 1.9.5 */
.left span#MSearchSelect {
left: 0;
user-select: none;
margin-left: 8px;
padding: 0;
}
.left #MSearchSelect[src$=".png"] {
padding-left: 0
}
.SelectionMark {
user-select: none;
}
.tabs .left #MSearchSelect {
padding-left: 0;
}
.tabs #MSearchBox {
position: absolute;
right: var(--spacing-medium);
}
@media screen and (max-width: 767px) {
.tabs #MSearchBox {
position: relative;
right: 0;
margin-left: var(--spacing-medium);
margin-top: 0;
}
}
#MSearchSelectWindow, #MSearchResultsWindow {
z-index: 9999;
}
#MSearchBox.MSearchBoxActive {
border-color: var(--primary-color);
box-shadow: inset 0 0 0 1px var(--primary-color);
}
#main-menu > li:last-child {
margin-right: 0;
}
@media screen and (max-width: 767px) {
#main-menu > li:last-child {
height: 50px;
}
}
#MSearchField {
font-size: var(--navigation-font-size);
height: calc(var(--searchbar-height) - 2px);
background: transparent;
width: calc(var(--searchbar-width) - 64px);
}
.MSearchBoxActive #MSearchField {
color: var(--searchbar-foreground);
}
#MSearchSelect {
top: calc(calc(var(--searchbar-height) / 2) - 11px);
}
#MSearchBox span.left, #MSearchBox span.right {
background: none;
background-image: none;
}
#MSearchBox span.right {
padding-top: calc(calc(var(--searchbar-height) / 2) - 12px);
position: absolute;
right: var(--spacing-small);
}
.tabs #MSearchBox span.right {
top: calc(calc(var(--searchbar-height) / 2) - 12px);
}
@keyframes slideInSearchResults {
from {
opacity: 0;
transform: translate(0, 15px);
}
to {
opacity: 1;
transform: translate(0, 20px);
}
}
#MSearchResultsWindow {
left: auto !important;
right: var(--spacing-medium);
border-radius: var(--border-radius-large);
border: 1px solid var(--separator-color);
transform: translate(0, 20px);
box-shadow: var(--box-shadow);
animation: ease-out 280ms slideInSearchResults;
background: var(--page-background-color);
}
iframe#MSearchResults {
margin: 4px;
}
iframe {
color-scheme: normal;
}
@media (prefers-color-scheme: dark) {
html:not(.light-mode) iframe#MSearchResults {
filter: invert() hue-rotate(180deg);
}
}
html.dark-mode iframe#MSearchResults {
filter: invert() hue-rotate(180deg);
}
#MSearchResults .SRPage {
background-color: transparent;
}
#MSearchResults .SRPage .SREntry {
font-size: 10pt;
padding: var(--spacing-small) var(--spacing-medium);
}
#MSearchSelectWindow {
border: 1px solid var(--separator-color);
border-radius: var(--border-radius-medium);
box-shadow: var(--box-shadow);
background: var(--page-background-color);
padding-top: var(--spacing-small);
padding-bottom: var(--spacing-small);
}
#MSearchSelectWindow a.SelectItem {
font-size: var(--navigation-font-size);
line-height: var(--content-line-height);
margin: 0 var(--spacing-small);
border-radius: var(--border-radius-small);
color: var(--page-foreground-color) !important;
font-weight: normal;
}
#MSearchSelectWindow a.SelectItem:hover {
background: var(--menu-focus-background);
color: var(--menu-focus-foreground) !important;
}
@media screen and (max-width: 767px) {
#MSearchBox {
margin-top: var(--spacing-medium);
margin-bottom: var(--spacing-medium);
width: calc(100vw - 30px);
}
#main-menu > li:last-child {
float: none !important;
}
#MSearchField {
width: calc(100vw - 110px);
}
@keyframes slideInSearchResultsMobile {
from {
opacity: 0;
transform: translate(0, 15px);
}
to {
opacity: 1;
transform: translate(0, 20px);
}
}
#MSearchResultsWindow {
left: var(--spacing-medium) !important;
right: var(--spacing-medium);
overflow: auto;
transform: translate(0, 20px);
animation: ease-out 280ms slideInSearchResultsMobile;
width: auto !important;
}
/*
* Overwrites for fixing the searchbox on mobile in doxygen 1.9.2
*/
label.main-menu-btn ~ #searchBoxPos1 {
top: 3px !important;
right: 6px !important;
left: 45px;
display: flex;
}
label.main-menu-btn ~ #searchBoxPos1 > #MSearchBox {
margin-top: 0;
margin-bottom: 0;
flex-grow: 2;
float: left;
}
}
/*
Tree view
*/
#side-nav {
padding: 0 !important;
background: var(--side-nav-background);
min-width: 8px;
max-width: 50vw;
}
@media screen and (max-width: 767px) {
#side-nav {
display: none;
}
#doc-content {
margin-left: 0 !important;
}
}
#nav-tree {
background: transparent;
margin-right: 1px;
}
#nav-tree .label {
font-size: var(--navigation-font-size);
}
#nav-tree .item {
height: var(--tree-item-height);
line-height: var(--tree-item-height);
}
#nav-tree .item > a:focus {
outline: none;
}
#nav-sync {
bottom: 12px;
right: 12px;
top: auto !important;
user-select: none;
}
#nav-tree .selected {
text-shadow: none;
background-image: none;
background-color: transparent;
position: relative;
}
#nav-tree .selected::after {
content: "";
position: absolute;
top: 1px;
bottom: 1px;
left: 0;
width: 4px;
border-radius: 0 var(--border-radius-small) var(--border-radius-small) 0;
background: var(--primary-color);
}
#nav-tree a {
color: var(--side-nav-foreground) !important;
font-weight: normal;
}
#nav-tree a:focus {
outline-style: auto;
}
#nav-tree .arrow {
opacity: var(--side-nav-arrow-opacity);
background: none;
}
.arrow {
color: inherit;
cursor: pointer;
font-size: 45%;
vertical-align: middle;
margin-right: 2px;
font-family: serif;
height: auto;
text-align: right;
}
#nav-tree div.item:hover .arrow, #nav-tree a:focus .arrow {
opacity: var(--side-nav-arrow-hover-opacity);
}
#nav-tree .selected a {
color: var(--primary-color) !important;
font-weight: bolder;
font-weight: 600;
}
.ui-resizable-e {
width: 4px;
background: transparent;
box-shadow: inset -1px 0 0 0 var(--separator-color);
}
/*
Contents
*/
div.header {
border-bottom: 1px solid var(--separator-color);
background-color: var(--page-background-color);
background-image: none;
}
@media screen and (min-width: 1000px) {
#doc-content > div > div.contents,
.PageDoc > div.contents {
display: flex;
flex-direction: row-reverse;
flex-wrap: nowrap;
align-items: flex-start;
}
div.contents .textblock {
min-width: 200px;
flex-grow: 1;
}
}
div.contents, div.header .title, div.header .summary {
max-width: var(--content-maxwidth);
}
div.contents, div.header .title {
line-height: initial;
margin: calc(var(--spacing-medium) + .2em) auto var(--spacing-medium) auto;
}
div.header .summary {
margin: var(--spacing-medium) auto 0 auto;
}
div.headertitle {
padding: 0;
}
div.header .title {
font-weight: 600;
font-size: 225%;
padding: var(--spacing-medium) var(--spacing-large);
word-break: break-word;
}
div.header .summary {
width: auto;
display: block;
float: none;
padding: 0 var(--spacing-large);
}
td.memSeparator {
border-color: var(--separator-color);
}
span.mlabel {
background: var(--primary-color);
border: none;
padding: 4px 9px;
border-radius: 12px;
margin-right: var(--spacing-medium);
}
span.mlabel:last-of-type {
margin-right: 2px;
}
div.contents {
padding: 0 var(--spacing-large);
}
div.contents p, div.contents li {
line-height: var(--content-line-height);
}
div.contents div.dyncontent {
margin: var(--spacing-medium) 0;
}
@media (prefers-color-scheme: dark) {
html:not(.light-mode) div.contents div.dyncontent img,
html:not(.light-mode) div.contents center img,
html:not(.light-mode) div.contents > table img,
html:not(.light-mode) div.contents div.dyncontent iframe,
html:not(.light-mode) div.contents center iframe,
html:not(.light-mode) div.contents table iframe,
html:not(.light-mode) div.contents .dotgraph iframe {
filter: brightness(89%) hue-rotate(180deg) invert();
}
}
html.dark-mode div.contents div.dyncontent img,
html.dark-mode div.contents center img,
html.dark-mode div.contents > table img,
html.dark-mode div.contents div.dyncontent iframe,
html.dark-mode div.contents center iframe,
html.dark-mode div.contents table iframe,
html.dark-mode div.contents .dotgraph iframe
{
filter: brightness(89%) hue-rotate(180deg) invert();
}
h2.groupheader {
border-bottom: 0px;
color: var(--page-foreground-color);
box-shadow:
100px 0 var(--page-background-color),
-100px 0 var(--page-background-color),
100px 0.75px var(--separator-color),
-100px 0.75px var(--separator-color),
500px 0 var(--page-background-color),
-500px 0 var(--page-background-color),
500px 0.75px var(--separator-color),
-500px 0.75px var(--separator-color),
900px 0 var(--page-background-color),
-900px 0 var(--page-background-color),
900px 0.75px var(--separator-color),
-900px 0.75px var(--separator-color),
1400px 0 var(--page-background-color),
-1400px 0 var(--page-background-color),
1400px 0.75px var(--separator-color),
-1400px 0.75px var(--separator-color),
1900px 0 var(--page-background-color),
-1900px 0 var(--page-background-color),
1900px 0.75px var(--separator-color),
-1900px 0.75px var(--separator-color);
}
blockquote {
margin: 0 var(--spacing-medium) 0 var(--spacing-medium);
padding: var(--spacing-small) var(--spacing-large);
background: var(--blockquote-background);
color: var(--blockquote-foreground);
border-left: 0;
overflow: visible;
border-radius: var(--border-radius-medium);
overflow: visible;
position: relative;
}
blockquote::before, blockquote::after {
font-weight: bold;
font-family: serif;
font-size: 360%;
opacity: .15;
position: absolute;
}
blockquote::before {
content: "";
left: -10px;
top: 4px;
}
blockquote::after {
content: "";
right: -8px;
bottom: -25px;
}
blockquote p {
margin: var(--spacing-small) 0 var(--spacing-medium) 0;
}
.paramname, .paramname em {
font-weight: 600;
color: var(--primary-dark-color);
}
.paramname > code {
border: 0;
}
table.params .paramname {
font-weight: 600;
font-family: var(--font-family-monospace);
font-size: var(--code-font-size);
padding-right: var(--spacing-small);
line-height: var(--table-line-height);
}
h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow {
text-shadow: 0 0 15px var(--primary-light-color);
}
.alphachar a {
color: var(--page-foreground-color);
}
.dotgraph {
max-width: 100%;
overflow-x: scroll;
}
.dotgraph .caption {
position: sticky;
left: 0;
}
/* Wrap Graphviz graphs with the `interactive_dotgraph` class if `INTERACTIVE_SVG = YES` */
.interactive_dotgraph .dotgraph iframe {
max-width: 100%;
}
/*
Table of Contents
*/
div.contents .toc {
max-height: var(--toc-max-height);
min-width: var(--toc-width);
border: 0;
border-left: 1px solid var(--separator-color);
border-radius: 0;
background-color: var(--page-background-color);
box-shadow: none;
position: sticky;
top: var(--toc-sticky-top);
padding: 0 var(--spacing-large);
margin: var(--spacing-small) 0 var(--spacing-large) var(--spacing-large);
}
div.toc h3 {
color: var(--toc-foreground);
font-size: var(--navigation-font-size);
margin: var(--spacing-large) 0 var(--spacing-medium) 0;
}
div.toc li {
padding: 0;
background: none;
line-height: var(--toc-font-size);
margin: var(--toc-font-size) 0 0 0;
}
div.toc li::before {
display: none;
}
div.toc ul {
margin-top: 0
}
div.toc li a {
font-size: var(--toc-font-size);
color: var(--page-foreground-color) !important;
text-decoration: none;
}
div.toc li a:hover, div.toc li a.active {
color: var(--primary-color) !important;
}
div.toc li a.aboveActive {
color: var(--page-secondary-foreground-color) !important;
}
@media screen and (max-width: 999px) {
div.contents .toc {
max-height: 45vh;
float: none;
width: auto;
margin: 0 0 var(--spacing-medium) 0;
position: relative;
top: 0;
position: relative;
border: 1px solid var(--separator-color);
border-radius: var(--border-radius-medium);
background-color: var(--toc-background);
box-shadow: var(--box-shadow);
}
div.contents .toc.interactive {
max-height: calc(var(--navigation-font-size) + 2 * var(--spacing-large));
overflow: hidden;
}
div.contents .toc > h3 {
-webkit-tap-highlight-color: transparent;
cursor: pointer;
position: sticky;
top: 0;
background-color: var(--toc-background);
margin: 0;
padding: var(--spacing-large) 0;
display: block;
}
div.contents .toc.interactive > h3::before {
content: "";
width: 0;
height: 0;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 5px solid var(--primary-color);
display: inline-block;
margin-right: var(--spacing-small);
margin-bottom: calc(var(--navigation-font-size) / 4);
transform: rotate(-90deg);
transition: transform var(--animation-duration) ease-out;
}
div.contents .toc.interactive.open > h3::before {
transform: rotate(0deg);
}
div.contents .toc.interactive.open {
max-height: 45vh;
overflow: auto;
transition: max-height 0.2s ease-in-out;
}
div.contents .toc a, div.contents .toc a.active {
color: var(--primary-color) !important;
}
div.contents .toc a:hover {
text-decoration: underline;
}
}
/*
Code & Fragments
*/
code, div.fragment, pre.fragment {
border-radius: var(--border-radius-small);
border: 1px solid var(--separator-color);
overflow: hidden;
}
code {
display: inline;
background: var(--code-background);
color: var(--code-foreground);
padding: 2px 6px;
}
div.fragment, pre.fragment {
margin: var(--spacing-medium) 0;
padding: calc(var(--spacing-large) - (var(--spacing-large) / 6)) var(--spacing-large);
background: var(--fragment-background);
color: var(--fragment-foreground);
overflow-x: auto;
}
@media screen and (max-width: 767px) {
div.fragment, pre.fragment {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border-right: 0;
}
.contents > div.fragment,
.textblock > div.fragment,
.textblock > pre.fragment,
.textblock > .tabbed > ul > li > div.fragment,
.textblock > .tabbed > ul > li > pre.fragment,
.contents > .doxygen-awesome-fragment-wrapper > div.fragment,
.textblock > .doxygen-awesome-fragment-wrapper > div.fragment,
.textblock > .doxygen-awesome-fragment-wrapper > pre.fragment,
.textblock > .tabbed > ul > li > .doxygen-awesome-fragment-wrapper > div.fragment,
.textblock > .tabbed > ul > li > .doxygen-awesome-fragment-wrapper > pre.fragment {
margin: var(--spacing-medium) calc(0px - var(--spacing-large));
border-radius: 0;
border-left: 0;
}
.textblock li > .fragment,
.textblock li > .doxygen-awesome-fragment-wrapper > .fragment {
margin: var(--spacing-medium) calc(0px - var(--spacing-large));
}
.memdoc li > .fragment,
.memdoc li > .doxygen-awesome-fragment-wrapper > .fragment {
margin: var(--spacing-medium) calc(0px - var(--spacing-medium));
}
.textblock ul, .memdoc ul {
overflow: initial;
}
.memdoc > div.fragment,
.memdoc > pre.fragment,
dl dd > div.fragment,
dl dd pre.fragment,
.memdoc > .doxygen-awesome-fragment-wrapper > div.fragment,
.memdoc > .doxygen-awesome-fragment-wrapper > pre.fragment,
dl dd > .doxygen-awesome-fragment-wrapper > div.fragment,
dl dd .doxygen-awesome-fragment-wrapper > pre.fragment {
margin: var(--spacing-medium) calc(0px - var(--spacing-medium));
border-radius: 0;
border-left: 0;
}
}
code, code a, pre.fragment, div.fragment, div.fragment .line, div.fragment span, div.fragment .line a, div.fragment .line span {
font-family: var(--font-family-monospace);
font-size: var(--code-font-size) !important;
}
div.line:after {
margin-right: var(--spacing-medium);
}
div.fragment .line, pre.fragment {
white-space: pre;
word-wrap: initial;
line-height: var(--fragment-lineheight);
}
div.fragment span.keyword {
color: var(--fragment-keyword);
}
div.fragment span.keywordtype {
color: var(--fragment-keywordtype);
}
div.fragment span.keywordflow {
color: var(--fragment-keywordflow);
}
div.fragment span.stringliteral {
color: var(--fragment-token)
}
div.fragment span.comment {
color: var(--fragment-comment);
}
div.fragment a.code {
color: var(--fragment-link) !important;
}
div.fragment span.preprocessor {
color: var(--fragment-preprocessor);
}
div.fragment span.lineno {
display: inline-block;
width: 27px;
border-right: none;
background: var(--fragment-linenumber-background);
color: var(--fragment-linenumber-color);
}
div.fragment span.lineno a {
background: none;
color: var(--fragment-link) !important;
}
div.fragment > .line:first-child .lineno {
box-shadow: -999999px 0px 0 999999px var(--fragment-linenumber-background), -999998px 0px 0 999999px var(--fragment-linenumber-border);
background-color: var(--fragment-linenumber-background) !important;
}
div.line {
border-radius: var(--border-radius-small);
}
div.line.glow {
background-color: var(--primary-light-color);
box-shadow: none;
}
/*
dl warning, attention, note, deprecated, bug, ...
*/
dl.bug dt a, dl.deprecated dt a, dl.todo dt a {
font-weight: bold !important;
}
dl.warning, dl.attention, dl.note, dl.deprecated, dl.bug, dl.invariant, dl.pre, dl.post, dl.todo, dl.remark {
padding: var(--spacing-medium);
margin: var(--spacing-medium) 0;
color: var(--page-background-color);
overflow: hidden;
margin-left: 0;
border-radius: var(--border-radius-small);
}
dl.section dd {
margin-bottom: 2px;
}
dl.warning, dl.attention {
background: var(--warning-color);
border-left: 8px solid var(--warning-color-dark);
color: var(--warning-color-darker);
}
dl.warning dt, dl.attention dt {
color: var(--warning-color-dark);
}
dl.note, dl.remark {
background: var(--note-color);
border-left: 8px solid var(--note-color-dark);
color: var(--note-color-darker);
}
dl.note dt, dl.remark dt {
color: var(--note-color-dark);
}
dl.todo {
background: var(--todo-color);
border-left: 8px solid var(--todo-color-dark);
color: var(--todo-color-darker);
}
dl.todo dt a {
color: var(--todo-color-dark) !important;
}
dl.bug dt a {
color: var(--todo-color-dark) !important;
}
dl.bug {
background: var(--bug-color);
border-left: 8px solid var(--bug-color-dark);
color: var(--bug-color-darker);
}
dl.bug dt a {
color: var(--bug-color-dark) !important;
}
dl.deprecated {
background: var(--deprecated-color);
border-left: 8px solid var(--deprecated-color-dark);
color: var(--deprecated-color-darker);
}
dl.deprecated dt a {
color: var(--deprecated-color-dark) !important;
}
dl.section dd, dl.bug dd, dl.deprecated dd, dl.todo dd {
margin-inline-start: 0px;
}
dl.invariant, dl.pre, dl.post {
background: var(--invariant-color);
border-left: 8px solid var(--invariant-color-dark);
color: var(--invariant-color-darker);
}
dl.invariant dt, dl.pre dt, dl.post dt {
color: var(--invariant-color-dark);
}
/*
memitem
*/
div.memdoc, div.memproto, h2.memtitle {
box-shadow: none;
background-image: none;
border: none;
}
div.memdoc {
padding: 0 var(--spacing-medium);
background: var(--page-background-color);
}
h2.memtitle, div.memitem {
border: 1px solid var(--separator-color);
box-shadow: var(--box-shadow);
}
h2.memtitle {
box-shadow: 0px var(--spacing-medium) 0 -1px var(--fragment-background), var(--box-shadow);
}
div.memitem {
transition: none;
}
div.memproto, h2.memtitle {
background: var(--fragment-background);
}
h2.memtitle {
font-weight: 500;
font-size: var(--memtitle-font-size);
font-family: var(--font-family-monospace);
border-bottom: none;
border-top-left-radius: var(--border-radius-medium);
border-top-right-radius: var(--border-radius-medium);
word-break: break-all;
position: relative;
}
h2.memtitle:after {
content: "";
display: block;
background: var(--fragment-background);
height: var(--spacing-medium);
bottom: calc(0px - var(--spacing-medium));
left: 0;
right: -14px;
position: absolute;
border-top-right-radius: var(--border-radius-medium);
}
h2.memtitle > span.permalink {
font-size: inherit;
}
h2.memtitle > span.permalink > a {
text-decoration: none;
padding-left: 3px;
margin-right: -4px;
user-select: none;
display: inline-block;
margin-top: -6px;
}
h2.memtitle > span.permalink > a:hover {
color: var(--primary-dark-color) !important;
}
a:target + h2.memtitle, a:target + h2.memtitle + div.memitem {
border-color: var(--primary-light-color);
}
div.memitem {
border-top-right-radius: var(--border-radius-medium);
border-bottom-right-radius: var(--border-radius-medium);
border-bottom-left-radius: var(--border-radius-medium);
overflow: hidden;
display: block !important;
}
div.memdoc {
border-radius: 0;
}
div.memproto {
border-radius: 0 var(--border-radius-small) 0 0;
overflow: auto;
border-bottom: 1px solid var(--separator-color);
padding: var(--spacing-medium);
margin-bottom: -1px;
}
div.memtitle {
border-top-right-radius: var(--border-radius-medium);
border-top-left-radius: var(--border-radius-medium);
}
div.memproto table.memname {
font-family: var(--font-family-monospace);
color: var(--page-foreground-color);
font-size: var(--memname-font-size);
text-shadow: none;
}
div.memproto div.memtemplate {
font-family: var(--font-family-monospace);
color: var(--primary-dark-color);
font-size: var(--memname-font-size);
margin-left: 2px;
text-shadow: none;
}
table.mlabels, table.mlabels > tbody {
display: block;
}
td.mlabels-left {
width: auto;
}
td.mlabels-right {
margin-top: 3px;
position: sticky;
left: 0;
}
table.mlabels > tbody > tr:first-child {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.memname, .memitem span.mlabels {
margin: 0
}
/*
reflist
*/
dl.reflist {
box-shadow: var(--box-shadow);
border-radius: var(--border-radius-medium);
border: 1px solid var(--separator-color);
overflow: hidden;
padding: 0;
}
dl.reflist dt, dl.reflist dd {
box-shadow: none;
text-shadow: none;
background-image: none;
border: none;
padding: 12px;
}
dl.reflist dt {
font-weight: 500;
border-radius: 0;
background: var(--code-background);
border-bottom: 1px solid var(--separator-color);
color: var(--page-foreground-color)
}
dl.reflist dd {
background: none;
}
/*
Table
*/
.contents table:not(.memberdecls):not(.mlabels):not(.fieldtable):not(.memname),
.contents table:not(.memberdecls):not(.mlabels):not(.fieldtable):not(.memname) tbody {
display: inline-block;
max-width: 100%;
}
.contents > table:not(.memberdecls):not(.mlabels):not(.fieldtable):not(.memname):not(.classindex) {
margin-left: calc(0px - var(--spacing-large));
margin-right: calc(0px - var(--spacing-large));
max-width: calc(100% + 2 * var(--spacing-large));
}
table.fieldtable,
table.markdownTable tbody,
table.doxtable tbody {
border: none;
margin: var(--spacing-medium) 0;
box-shadow: 0 0 0 1px var(--separator-color);
border-radius: var(--border-radius-small);
}
table.markdownTable, table.doxtable, table.fieldtable {
padding: 1px;
}
table.doxtable caption {
display: block;
}
table.fieldtable {
border-collapse: collapse;
width: 100%;
}
th.markdownTableHeadLeft,
th.markdownTableHeadRight,
th.markdownTableHeadCenter,
th.markdownTableHeadNone,
table.doxtable th {
background: var(--tablehead-background);
color: var(--tablehead-foreground);
font-weight: 600;
font-size: var(--page-font-size);
}
th.markdownTableHeadLeft:first-child,
th.markdownTableHeadRight:first-child,
th.markdownTableHeadCenter:first-child,
th.markdownTableHeadNone:first-child,
table.doxtable tr th:first-child {
border-top-left-radius: var(--border-radius-small);
}
th.markdownTableHeadLeft:last-child,
th.markdownTableHeadRight:last-child,
th.markdownTableHeadCenter:last-child,
th.markdownTableHeadNone:last-child,
table.doxtable tr th:last-child {
border-top-right-radius: var(--border-radius-small);
}
table.markdownTable td,
table.markdownTable th,
table.fieldtable td,
table.fieldtable th,
table.doxtable td,
table.doxtable th {
border: 1px solid var(--separator-color);
padding: var(--spacing-small) var(--spacing-medium);
}
table.markdownTable td:last-child,
table.markdownTable th:last-child,
table.fieldtable td:last-child,
table.fieldtable th:last-child,
table.doxtable td:last-child,
table.doxtable th:last-child {
border-right: none;
}
table.markdownTable td:first-child,
table.markdownTable th:first-child,
table.fieldtable td:first-child,
table.fieldtable th:first-child,
table.doxtable td:first-child,
table.doxtable th:first-child {
border-left: none;
}
table.markdownTable tr:first-child td,
table.markdownTable tr:first-child th,
table.fieldtable tr:first-child td,
table.fieldtable tr:first-child th,
table.doxtable tr:first-child td,
table.doxtable tr:first-child th {
border-top: none;
}
table.markdownTable tr:last-child td,
table.markdownTable tr:last-child th,
table.fieldtable tr:last-child td,
table.fieldtable tr:last-child th,
table.doxtable tr:last-child td,
table.doxtable tr:last-child th {
border-bottom: none;
}
table.markdownTable tr, table.doxtable tr {
border-bottom: 1px solid var(--separator-color);
}
table.markdownTable tr:last-child, table.doxtable tr:last-child {
border-bottom: none;
}
.full_width_table table:not(.memberdecls):not(.mlabels):not(.fieldtable):not(.memname) {
display: block;
}
.full_width_table table:not(.memberdecls):not(.mlabels):not(.fieldtable):not(.memname) tbody {
display: table;
width: 100%;
}
table.fieldtable th {
font-size: var(--page-font-size);
font-weight: 600;
background-image: none;
background-color: var(--tablehead-background);
color: var(--tablehead-foreground);
}
table.fieldtable td.fieldtype, .fieldtable td.fieldname, .fieldtable td.fielddoc, .fieldtable th {
border-bottom: 1px solid var(--separator-color);
border-right: 1px solid var(--separator-color);
}
table.fieldtable tr:last-child td:first-child {
border-bottom-left-radius: var(--border-radius-small);
}
table.fieldtable tr:last-child td:last-child {
border-bottom-right-radius: var(--border-radius-small);
}
.memberdecls td.glow, .fieldtable tr.glow {
background-color: var(--primary-light-color);
box-shadow: none;
}
table.memberdecls {
display: block;
-webkit-tap-highlight-color: transparent;
}
table.memberdecls tr[class^='memitem'] {
font-family: var(--font-family-monospace);
font-size: var(--code-font-size);
}
table.memberdecls tr[class^='memitem'] .memTemplParams {
font-family: var(--font-family-monospace);
font-size: var(--code-font-size);
color: var(--primary-dark-color);
white-space: normal;
}
table.memberdecls .memItemLeft,
table.memberdecls .memItemRight,
table.memberdecls .memTemplItemLeft,
table.memberdecls .memTemplItemRight,
table.memberdecls .memTemplParams {
transition: none;
padding-top: var(--spacing-small);
padding-bottom: var(--spacing-small);
border-top: 1px solid var(--separator-color);
border-bottom: 1px solid var(--separator-color);
background-color: var(--fragment-background);
}
table.memberdecls .memTemplItemLeft,
table.memberdecls .memTemplItemRight {
padding-top: 2px;
}
table.memberdecls .memTemplParams {
border-bottom: 0;
border-left: 1px solid var(--separator-color);
border-right: 1px solid var(--separator-color);
border-radius: var(--border-radius-small) var(--border-radius-small) 0 0;
padding-bottom: var(--spacing-small);
}
table.memberdecls .memTemplItemLeft {
border-radius: 0 0 0 var(--border-radius-small);
border-left: 1px solid var(--separator-color);
border-top: 0;
}
table.memberdecls .memTemplItemRight {
border-radius: 0 0 var(--border-radius-small) 0;
border-right: 1px solid var(--separator-color);
padding-left: 0;
border-top: 0;
}
table.memberdecls .memItemLeft {
border-radius: var(--border-radius-small) 0 0 var(--border-radius-small);
border-left: 1px solid var(--separator-color);
padding-left: var(--spacing-medium);
padding-right: 0;
}
table.memberdecls .memItemRight {
border-radius: 0 var(--border-radius-small) var(--border-radius-small) 0;
border-right: 1px solid var(--separator-color);
padding-right: var(--spacing-medium);
padding-left: 0;
}
table.memberdecls .mdescLeft, table.memberdecls .mdescRight {
background: none;
color: var(--page-foreground-color);
padding: var(--spacing-small) 0;
}
table.memberdecls .memItemLeft,
table.memberdecls .memTemplItemLeft {
padding-right: var(--spacing-medium);
}
table.memberdecls .memSeparator {
background: var(--page-background-color);
height: var(--spacing-large);
border: 0;
transition: none;
}
table.memberdecls .groupheader {
margin-bottom: var(--spacing-large);
}
table.memberdecls .inherit_header td {
padding: 0 0 var(--spacing-medium) 0;
text-indent: -12px;
color: var(--page-secondary-foreground-color);
}
table.memberdecls img[src="closed.png"],
table.memberdecls img[src="open.png"],
div.dynheader img[src="open.png"],
div.dynheader img[src="closed.png"] {
width: 0;
height: 0;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 5px solid var(--primary-color);
margin-top: 8px;
display: block;
float: left;
margin-left: -10px;
transition: transform var(--animation-duration) ease-out;
}
table.memberdecls img {
margin-right: 10px;
}
table.memberdecls img[src="closed.png"],
div.dynheader img[src="closed.png"] {
transform: rotate(-90deg);
}
.compoundTemplParams {
font-family: var(--font-family-monospace);
color: var(--primary-dark-color);
font-size: var(--code-font-size);
}
@media screen and (max-width: 767px) {
table.memberdecls .memItemLeft,
table.memberdecls .memItemRight,
table.memberdecls .mdescLeft,
table.memberdecls .mdescRight,
table.memberdecls .memTemplItemLeft,
table.memberdecls .memTemplItemRight,
table.memberdecls .memTemplParams {
display: block;
text-align: left;
padding-left: var(--spacing-large);
margin: 0 calc(0px - var(--spacing-large)) 0 calc(0px - var(--spacing-large));
border-right: none;
border-left: none;
border-radius: 0;
white-space: normal;
}
table.memberdecls .memItemLeft,
table.memberdecls .mdescLeft,
table.memberdecls .memTemplItemLeft {
border-bottom: 0;
padding-bottom: 0;
}
table.memberdecls .memTemplItemLeft {
padding-top: 0;
}
table.memberdecls .mdescLeft {
margin-bottom: calc(0px - var(--page-font-size));
}
table.memberdecls .memItemRight,
table.memberdecls .mdescRight,
table.memberdecls .memTemplItemRight {
border-top: 0;
padding-top: 0;
padding-right: var(--spacing-large);
overflow-x: auto;
}
table.memberdecls tr[class^='memitem']:not(.inherit) {
display: block;
width: calc(100vw - 2 * var(--spacing-large));
}
table.memberdecls .mdescRight {
color: var(--page-foreground-color);
}
table.memberdecls tr.inherit {
visibility: hidden;
}
table.memberdecls tr[style="display: table-row;"] {
display: block !important;
visibility: visible;
width: calc(100vw - 2 * var(--spacing-large));
animation: fade .5s;
}
@keyframes fade {
0% {
opacity: 0;
max-height: 0;
}
100% {
opacity: 1;
max-height: 200px;
}
}
}
/*
Horizontal Rule
*/
hr {
margin-top: var(--spacing-large);
margin-bottom: var(--spacing-large);
height: 1px;
background-color: var(--separator-color);
border: 0;
}
.contents hr {
box-shadow: 100px 0 var(--separator-color),
-100px 0 var(--separator-color),
500px 0 var(--separator-color),
-500px 0 var(--separator-color),
900px 0 var(--separator-color),
-900px 0 var(--separator-color),
1400px 0 var(--separator-color),
-1400px 0 var(--separator-color),
1900px 0 var(--separator-color),
-1900px 0 var(--separator-color);
}
.contents img, .contents .center, .contents center, .contents div.image object {
max-width: 100%;
overflow: auto;
}
@media screen and (max-width: 767px) {
.contents .dyncontent > .center, .contents > center {
margin-left: calc(0px - var(--spacing-large));
margin-right: calc(0px - var(--spacing-large));
max-width: calc(100% + 2 * var(--spacing-large));
}
}
/*
Directories
*/
div.directory {
border-top: 1px solid var(--separator-color);
border-bottom: 1px solid var(--separator-color);
width: auto;
}
table.directory {
font-family: var(--font-family);
font-size: var(--page-font-size);
font-weight: normal;
width: 100%;
}
table.directory td.entry, table.directory td.desc {
padding: calc(var(--spacing-small) / 2) var(--spacing-small);
line-height: var(--table-line-height);
}
table.directory tr.even td:last-child {
border-radius: 0 var(--border-radius-small) var(--border-radius-small) 0;
}
table.directory tr.even td:first-child {
border-radius: var(--border-radius-small) 0 0 var(--border-radius-small);
}
table.directory tr.even:last-child td:last-child {
border-radius: 0 var(--border-radius-small) 0 0;
}
table.directory tr.even:last-child td:first-child {
border-radius: var(--border-radius-small) 0 0 0;
}
table.directory td.desc {
min-width: 250px;
}
table.directory tr.even {
background-color: var(--odd-color);
}
table.directory tr.odd {
background-color: transparent;
}
.icona {
width: auto;
height: auto;
margin: 0 var(--spacing-small);
}
.icon {
background: var(--primary-color);
border-radius: var(--border-radius-small);
font-size: var(--page-font-size);
padding: calc(var(--page-font-size) / 5);
line-height: var(--page-font-size);
transform: scale(0.8);
height: auto;
width: var(--page-font-size);
user-select: none;
}
.iconfopen, .icondoc, .iconfclosed {
background-position: center;
margin-bottom: 0;
height: var(--table-line-height);
}
.icondoc {
filter: saturate(0.2);
}
@media screen and (max-width: 767px) {
div.directory {
margin-left: calc(0px - var(--spacing-large));
margin-right: calc(0px - var(--spacing-large));
}
}
@media (prefers-color-scheme: dark) {
html:not(.light-mode) .iconfopen, html:not(.light-mode) .iconfclosed {
filter: hue-rotate(180deg) invert();
}
}
html.dark-mode .iconfopen, html.dark-mode .iconfclosed {
filter: hue-rotate(180deg) invert();
}
/*
Class list
*/
.classindex dl.odd {
background: var(--odd-color);
border-radius: var(--border-radius-small);
}
.classindex dl.even {
background-color: transparent;
}
/*
Class Index Doxygen 1.8
*/
table.classindex {
margin-left: 0;
margin-right: 0;
width: 100%;
}
table.classindex table div.ah {
background-image: none;
background-color: initial;
border-color: var(--separator-color);
color: var(--page-foreground-color);
box-shadow: var(--box-shadow);
border-radius: var(--border-radius-large);
padding: var(--spacing-small);
}
div.qindex {
background-color: var(--odd-color);
border-radius: var(--border-radius-small);
border: 1px solid var(--separator-color);
padding: var(--spacing-small) 0;
}
/*
Footer and nav-path
*/
#nav-path {
width: 100%;
}
#nav-path ul {
background-image: none;
background: var(--page-background-color);
border: none;
border-top: 1px solid var(--separator-color);
border-bottom: 1px solid var(--separator-color);
border-bottom: 0;
box-shadow: 0 0.75px 0 var(--separator-color);
font-size: var(--navigation-font-size);
}
img.footer {
width: 60px;
}
.navpath li.footer {
color: var(--page-secondary-foreground-color);
}
address.footer {
color: var(--page-secondary-foreground-color);
margin-bottom: var(--spacing-large);
}
#nav-path li.navelem {
background-image: none;
display: flex;
align-items: center;
}
.navpath li.navelem a {
text-shadow: none;
display: inline-block;
color: var(--primary-color) !important;
}
.navpath li.navelem b {
color: var(--primary-dark-color);
font-weight: 500;
}
li.navelem {
padding: 0;
margin-left: -8px;
}
li.navelem:first-child {
margin-left: var(--spacing-large);
}
li.navelem:first-child:before {
display: none;
}
#nav-path li.navelem:after {
content: '';
border: 5px solid var(--page-background-color);
border-bottom-color: transparent;
border-right-color: transparent;
border-top-color: transparent;
transform: translateY(-1px) scaleY(4.2);
z-index: 10;
margin-left: 6px;
}
#nav-path li.navelem:before {
content: '';
border: 5px solid var(--separator-color);
border-bottom-color: transparent;
border-right-color: transparent;
border-top-color: transparent;
transform: translateY(-1px) scaleY(3.2);
margin-right: var(--spacing-small);
}
.navpath li.navelem a:hover {
color: var(--primary-color);
}
/*
Scrollbars for Webkit
*/
#nav-tree::-webkit-scrollbar,
div.fragment::-webkit-scrollbar,
pre.fragment::-webkit-scrollbar,
div.memproto::-webkit-scrollbar,
.contents center::-webkit-scrollbar,
.contents .center::-webkit-scrollbar,
.contents table:not(.memberdecls):not(.mlabels):not(.fieldtable):not(.memname) tbody::-webkit-scrollbar,
div.contents .toc::-webkit-scrollbar,
.contents .dotgraph::-webkit-scrollbar,
.contents .tabs-overview-container::-webkit-scrollbar {
background: transparent;
width: calc(var(--webkit-scrollbar-size) + var(--webkit-scrollbar-padding) + var(--webkit-scrollbar-padding));
height: calc(var(--webkit-scrollbar-size) + var(--webkit-scrollbar-padding) + var(--webkit-scrollbar-padding));
}
#nav-tree::-webkit-scrollbar-thumb,
div.fragment::-webkit-scrollbar-thumb,
pre.fragment::-webkit-scrollbar-thumb,
div.memproto::-webkit-scrollbar-thumb,
.contents center::-webkit-scrollbar-thumb,
.contents .center::-webkit-scrollbar-thumb,
.contents table:not(.memberdecls):not(.mlabels):not(.fieldtable):not(.memname) tbody::-webkit-scrollbar-thumb,
div.contents .toc::-webkit-scrollbar-thumb,
.contents .dotgraph::-webkit-scrollbar-thumb,
.contents .tabs-overview-container::-webkit-scrollbar-thumb {
background-color: transparent;
border: var(--webkit-scrollbar-padding) solid transparent;
border-radius: calc(var(--webkit-scrollbar-padding) + var(--webkit-scrollbar-padding));
background-clip: padding-box;
}
#nav-tree:hover::-webkit-scrollbar-thumb,
div.fragment:hover::-webkit-scrollbar-thumb,
pre.fragment:hover::-webkit-scrollbar-thumb,
div.memproto:hover::-webkit-scrollbar-thumb,
.contents center:hover::-webkit-scrollbar-thumb,
.contents .center:hover::-webkit-scrollbar-thumb,
.contents table:not(.memberdecls):not(.mlabels):not(.fieldtable):not(.memname) tbody:hover::-webkit-scrollbar-thumb,
div.contents .toc:hover::-webkit-scrollbar-thumb,
.contents .dotgraph:hover::-webkit-scrollbar-thumb,
.contents .tabs-overview-container:hover::-webkit-scrollbar-thumb {
background-color: var(--webkit-scrollbar-color);
}
#nav-tree::-webkit-scrollbar-track,
div.fragment::-webkit-scrollbar-track,
pre.fragment::-webkit-scrollbar-track,
div.memproto::-webkit-scrollbar-track,
.contents center::-webkit-scrollbar-track,
.contents .center::-webkit-scrollbar-track,
.contents table:not(.memberdecls):not(.mlabels):not(.fieldtable):not(.memname) tbody::-webkit-scrollbar-track,
div.contents .toc::-webkit-scrollbar-track,
.contents .dotgraph::-webkit-scrollbar-track,
.contents .tabs-overview-container::-webkit-scrollbar-track {
background: transparent;
}
#nav-tree::-webkit-scrollbar-corner {
background-color: var(--side-nav-background);
}
#nav-tree,
div.fragment,
pre.fragment,
div.memproto,
.contents center,
.contents .center,
.contents table:not(.memberdecls):not(.mlabels):not(.fieldtable):not(.memname) tbody,
div.contents .toc {
overflow-x: auto;
overflow-x: overlay;
}
#nav-tree {
overflow-x: auto;
overflow-y: auto;
overflow-y: overlay;
}
/*
Scrollbars for Firefox
*/
#nav-tree,
div.fragment,
pre.fragment,
div.memproto,
.contents center,
.contents .center,
.contents table:not(.memberdecls):not(.mlabels):not(.fieldtable):not(.memname) tbody,
div.contents .toc,
.contents .dotgraph,
.contents .tabs-overview-container {
scrollbar-width: thin;
}
/*
Optional Dark mode toggle button
*/
doxygen-awesome-dark-mode-toggle {
display: inline-block;
margin: 0 0 0 var(--spacing-small);
padding: 0;
width: var(--searchbar-height);
height: var(--searchbar-height);
background: none;
border: none;
border-radius: var(--searchbar-height);
vertical-align: middle;
text-align: center;
line-height: var(--searchbar-height);
font-size: 22px;
display: flex;
align-items: center;
justify-content: center;
user-select: none;
cursor: pointer;
}
doxygen-awesome-dark-mode-toggle > svg {
transition: transform var(--animation-duration) ease-in-out;
}
doxygen-awesome-dark-mode-toggle:active > svg {
transform: scale(.5);
}
doxygen-awesome-dark-mode-toggle:hover {
background-color: rgba(0,0,0,.03);
}
html.dark-mode doxygen-awesome-dark-mode-toggle:hover {
background-color: rgba(0,0,0,.18);
}
/*
Optional fragment copy button
*/
.doxygen-awesome-fragment-wrapper {
position: relative;
}
doxygen-awesome-fragment-copy-button {
opacity: 0;
background: var(--fragment-background);
width: 28px;
height: 28px;
position: absolute;
right: calc(var(--spacing-large) - (var(--spacing-large) / 2.5));
top: calc(var(--spacing-large) - (var(--spacing-large) / 2.5));
border: 1px solid var(--fragment-foreground);
cursor: pointer;
border-radius: var(--border-radius-small);
display: flex;
justify-content: center;
align-items: center;
}
.doxygen-awesome-fragment-wrapper:hover doxygen-awesome-fragment-copy-button, doxygen-awesome-fragment-copy-button.success {
opacity: .28;
}
doxygen-awesome-fragment-copy-button:hover, doxygen-awesome-fragment-copy-button.success {
opacity: 1 !important;
}
doxygen-awesome-fragment-copy-button:active:not([class~=success]) svg {
transform: scale(.91);
}
doxygen-awesome-fragment-copy-button svg {
fill: var(--fragment-foreground);
width: 18px;
height: 18px;
}
doxygen-awesome-fragment-copy-button.success svg {
fill: rgb(14, 168, 14);
}
doxygen-awesome-fragment-copy-button.success {
border-color: rgb(14, 168, 14);
}
@media screen and (max-width: 767px) {
.textblock > .doxygen-awesome-fragment-wrapper > doxygen-awesome-fragment-copy-button,
.textblock li > .doxygen-awesome-fragment-wrapper > doxygen-awesome-fragment-copy-button,
.memdoc li > .doxygen-awesome-fragment-wrapper > doxygen-awesome-fragment-copy-button,
.memdoc > .doxygen-awesome-fragment-wrapper > doxygen-awesome-fragment-copy-button,
dl dd > .doxygen-awesome-fragment-wrapper > doxygen-awesome-fragment-copy-button {
right: 0;
}
}
/*
Optional paragraph link button
*/
a.anchorlink {
font-size: 90%;
margin-left: var(--spacing-small);
color: var(--page-foreground-color) !important;
text-decoration: none;
opacity: .15;
display: none;
transition: opacity var(--animation-duration) ease-in-out, color var(--animation-duration) ease-in-out;
}
a.anchorlink svg {
fill: var(--page-foreground-color);
}
h3 a.anchorlink svg, h4 a.anchorlink svg {
margin-bottom: -3px;
margin-top: -4px;
}
a.anchorlink:hover {
opacity: .45;
}
h2:hover a.anchorlink, h1:hover a.anchorlink, h3:hover a.anchorlink, h4:hover a.anchorlink {
display: inline-block;
}
/*
Optional tab feature
*/
.tabbed > ul {
padding-inline-start: 0px;
margin: 0;
padding: var(--spacing-small) 0;
}
.tabbed > ul > li {
display: none;
}
.tabbed > ul > li.selected {
display: block;
}
.tabs-overview-container {
overflow-x: auto;
display: block;
overflow-y: visible;
}
.tabs-overview {
border-bottom: 1px solid var(--separator-color);
display: flex;
flex-direction: row;
}
@media screen and (max-width: 767px) {
.tabs-overview-container {
margin: 0 calc(0px - var(--spacing-large));
}
.tabs-overview {
padding: 0 var(--spacing-large)
}
}
.tabs-overview button.tab-button {
color: var(--page-foreground-color);
margin: 0;
border: none;
background: transparent;
padding: calc(var(--spacing-large) / 2) 0;
display: inline-block;
font-size: var(--page-font-size);
cursor: pointer;
box-shadow: 0 1px 0 0 var(--separator-color);
position: relative;
-webkit-tap-highlight-color: transparent;
}
.tabs-overview button.tab-button .tab-title::before {
display: block;
content: attr(title);
font-weight: 600;
height: 0;
overflow: hidden;
visibility: hidden;
}
.tabs-overview button.tab-button .tab-title {
float: left;
white-space: nowrap;
font-weight: normal;
padding: calc(var(--spacing-large) / 2) var(--spacing-large);
border-radius: var(--border-radius-medium);
transition: background-color var(--animation-duration) ease-in-out, font-weight var(--animation-duration) ease-in-out;
}
.tabs-overview button.tab-button:not(:last-child) .tab-title {
box-shadow: 8px 0 0 -7px var(--separator-color);
}
.tabs-overview button.tab-button:hover .tab-title {
background: var(--separator-color);
box-shadow: none;
}
.tabs-overview button.tab-button.active .tab-title {
font-weight: 600;
}
.tabs-overview button.tab-button::after {
content: '';
display: block;
position: absolute;
left: 0;
bottom: 0;
right: 0;
height: 0;
width: 0%;
margin: 0 auto;
border-radius: var(--border-radius-small) var(--border-radius-small) 0 0;
background-color: var(--primary-color);
transition: width var(--animation-duration) ease-in-out, height var(--animation-duration) ease-in-out;
}
.tabs-overview button.tab-button.active::after {
width: 100%;
box-sizing: border-box;
height: 3px;
}
/*
Navigation Buttons
*/
.section_buttons:not(:empty) {
margin-top: calc(var(--spacing-large) * 3);
}
.section_buttons table.markdownTable {
display: block;
width: 100%;
}
.section_buttons table.markdownTable tbody {
display: table !important;
width: 100%;
box-shadow: none;
border-spacing: 10px;
}
.section_buttons table.markdownTable td {
padding: 0;
}
.section_buttons table.markdownTable th {
display: none;
}
.section_buttons table.markdownTable tr.markdownTableHead {
border: none;
}
.section_buttons tr th, .section_buttons tr td {
background: none;
border: none;
padding: var(--spacing-large) 0 var(--spacing-small);
}
.section_buttons a {
display: inline-block;
border: 1px solid var(--separator-color);
border-radius: var(--border-radius-medium);
color: var(--page-secondary-foreground-color) !important;
text-decoration: none;
transition: color var(--animation-duration) ease-in-out, background-color var(--animation-duration) ease-in-out;
}
.section_buttons a:hover {
color: var(--page-foreground-color) !important;
background-color: var(--odd-color);
}
.section_buttons tr td.markdownTableBodyLeft a {
padding: var(--spacing-medium) var(--spacing-large) var(--spacing-medium) calc(var(--spacing-large) / 2);
}
.section_buttons tr td.markdownTableBodyRight a {
padding: var(--spacing-medium) calc(var(--spacing-large) / 2) var(--spacing-medium) var(--spacing-large);
}
.section_buttons tr td.markdownTableBodyLeft a::before,
.section_buttons tr td.markdownTableBodyRight a::after {
color: var(--page-secondary-foreground-color) !important;
display: inline-block;
transition: color .08s ease-in-out, transform .09s ease-in-out;
}
.section_buttons tr td.markdownTableBodyLeft a::before {
content: '';
padding-right: var(--spacing-large);
}
.section_buttons tr td.markdownTableBodyRight a::after {
content: '';
padding-left: var(--spacing-large);
}
.section_buttons tr td.markdownTableBodyLeft a:hover::before {
color: var(--page-foreground-color) !important;
transform: translateX(-3px);
}
.section_buttons tr td.markdownTableBodyRight a:hover::after {
color: var(--page-foreground-color) !important;
transform: translateX(3px);
}
@media screen and (max-width: 450px) {
.section_buttons a {
width: 100%;
box-sizing: border-box;
}
.section_buttons tr td:nth-of-type(1).markdownTableBodyLeft a {
border-radius: var(--border-radius-medium) 0 0 var(--border-radius-medium);
border-right: none;
}
.section_buttons tr td:nth-of-type(2).markdownTableBodyRight a {
border-radius: 0 var(--border-radius-medium) var(--border-radius-medium) 0;
}
}
``` | /content/code_sandbox/doc/_doxygen/doxygen-awesome.css | css | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 17,606 |
```restructuredtext
:orphan:
.. _zephyr_3.4:
Zephyr 3.4.0
############
We are pleased to announce the release of Zephyr version 3.4.0.
Major enhancements with this release include:
* Input subsystem: handles input events from various types of input devices and
distributes them to other threads in the application.
* Barrier API: added architecture agnostic API for data memory barriers.
* USB Device support:
* USB device controller API (UDC API) and nRF USBD controller driver.
* USB device stack implementation using new UDC API.
* Added Power Delivery Source Support to the USB-C Stack.
* Bluetooth: Added support for Periodic Advertising with Responses (PAwR).
* Cache API functions are now fully in-lined by compilers.
* Added an API for real-time clocks (RTC).
* Added Retention subsystem.
* Added initial support for MMU on Xtensa.
* SMBus (System Management Bus) API.
* Various improvements to the testing framework and twister:
- Introduction of 3 new test harnesses into twister supporting pyTest,
GoogleTest and Robot Framework.
- Transitioning to new Ztest API was completed and legacy Ztest was deprecated.
* Added Snippets: Support common configuration settings that can be used across
platforms.
The following sections provide detailed lists of changes by component.
Security Vulnerability Related
******************************
The following CVEs are addressed by this release:
More detailed information can be found in:
path_to_url
* CVE-2023-1901: Under embargo until 2023-07-04
* CVE-2023-1902: Under embargo until 2023-07-04
API Changes
***********
Changes in this release
=======================
* Any applications using the mcuboot image manager
(:kconfig:option:`CONFIG_MCUBOOT_IMG_MANAGER`) will now need to also select
:kconfig:option:`CONFIG_FLASH_MAP` and :kconfig:option:`CONFIG_STREAM_FLASH`,
this prevents a cmake dependency loop if the image manager Kconfig is enabled
manually without also manually enabling the other options.
* Including hawkbit in an application now requires additional Kconfig options
to be selected, previously these options would have been selected
automatically but have changed from ``select`` options in Kconfig files to
``depends on``:
+--------------------------------------------------+
| :kconfig:option:`CONFIG_NVS` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_FLASH` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_FLASH_MAP` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_STREAM_FLASH` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_REBOOT` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_HWINFO` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_NET_TCP` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_NET_SOCKETS` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_IMG_MANAGER` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_NETWORKING` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_HTTP_CLIENT` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_DNS_RESOLVER` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_JSON_LIBRARY` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_NET_SOCKETS_POSIX_NAMES` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_BOOTLOADER_MCUBOOT` |
+--------------------------------------------------+
* Including updatehub in an application now requires additional Kconfig options
to be selected, previously these options would have been selected
automatically but have changed from ``select`` options in Kconfig files to
``depends on``:
+--------------------------------------------------+
| :kconfig:option:`CONFIG_FLASH` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_STREAM_FLASH` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_FLASH_MAP` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_REBOOT` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_MCUBOOT_IMG_MANAGER` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_IMG_MANAGER` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_IMG_ENABLE_IMAGE_CHECK` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_BOOTLOADER_MCUBOOT` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_MPU_ALLOW_FLASH_WRITE` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_NETWORKING` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_NET_UDP` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_NET_SOCKETS` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_NET_SOCKETS_POSIX_NAMES` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_COAP` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_DNS_RESOLVER` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_JSON_LIBRARY` |
+--------------------------------------------------+
| :kconfig:option:`CONFIG_HWINFO` |
+--------------------------------------------------+
* The sensor driver API clarified :c:func:`sensor_trigger_set` to state that
the user-allocated sensor trigger will be stored by the driver as a pointer,
rather than a copy, and passed back to the handler. This enables the handler
to use :c:macro:`CONTAINER_OF` to retrieve a context pointer when the trigger
is embedded in a larger struct and requires that the trigger is not allocated
on the stack. Applications that allocate a sensor trigger on the stack need
to be updated.
* Converted few drivers to the :ref:`input` subsystem.
* ``gpio_keys``: moved out of ``gpio``, replaced the custom API to use input
events instead, the :dtcompatible:`zephyr,gpio-keys` binding is unchanged
but now requires ``zephyr,code`` to be set.
* ``ft5336``: moved from :ref:`kscan_api` to :ref:`input`, renamed the Kconfig
options from ``CONFIG_KSCAN_FT5336``, ``CONFIG_KSCAN_FT5336_PERIOD`` and
``KSCAN_FT5336_INTERRUPT`` to :kconfig:option:`CONFIG_INPUT_FT5336`,
:kconfig:option:`CONFIG_INPUT_FT5336_PERIOD` and
:kconfig:option:`CONFIG_INPUT_FT5336_INTERRUPT`.
* ``kscan_sdl``: moved from :ref:`kscan_api` to :ref:`input`, renamed the Kconfig
option from ``KSCAN_SDL`` to :kconfig:option:`CONFIG_INPUT_SDL_TOUCH` and the
compatible from ``zephyr,sdl-kscan`` to
:dtcompatible:`zephyr,input-sdl-touch`.
* ``nuvoton,npcx-kscan`` moved to :ref:`input`, renamed the Kconfig option
names from ``KSCAN_NPCX_...`` to ``INPUT_NPCX_KBD...`` and the compatible
from ``nuvoton,npcx-kscan`` to :dtcompatible:`nuvoton,npcx-kbd`.
* Touchscreen drivers converted to use the input APIs can use the
:dtcompatible:`zephyr,kscan-input` driver to maintain Kscan compatibility.
* The declaration of :c:func:`main` has been changed from ``void
main(void)`` to ``int main(void)``. The main function is required to
return the value zero. All other return values are reserved. This aligns
Zephyr with the C and C++ language specification requirements for
"hosted" environments, avoiding compiler warnings and errors. These
compiler messages are generated when applications are built in "hosted"
mode (which means without the ``-ffreestanding`` compiler flag). As the
``-ffreestanding`` flag is currently enabled unless the application is
using picolibc, only applications using picolibc will be affected by this
change at this time.
* The following network interface APIs now take additional,
``struct net_if * iface`` parameter:
* :c:func:`net_if_ipv4_maddr_join`
* :c:func:`net_if_ipv4_maddr_leave`
* :c:func:`net_if_ipv6_maddr_join`
* :c:func:`net_if_ipv6_maddr_leave`
* MCUmgr transports now need to set up the struct before registering it by
setting the function pointers to the function handlers, these have been
moved to a ``functions`` struct object of type
:c:struct:`smp_transport_api_t`. Because of these changes, the legacy
transport registration function and object are no longer available. The
registration function now returns a value which is 0 for success or a
negative error code if an error occurred.
* Added a new flag :c:struct:`dac_channel_cfg` ``buffered`` for DAC channels in
:c:struct:`dac_channel_cfg` to allow the configuration of the output buffer.
The actual interpretation of this depends on the hardware and is so far only
implemented for the STM32 DAC driver. Implicitly for this driver this changes
the default from being buffered to unbuffered.
* MCUmgr fs_mgmt group's file access hook is now called for all fs_mgmt group
functions (adding support for file status and file hash/checksum). In
addition, if the file access state is not lost, it will now only be called
once for the file access instead of each time a command is received.
Note that the structure for the notification has changed, the ``upload`` bool
has been replaced with an enum to indicate what function is used, see
:c:struct:`fs_mgmt_file_access` for the new structure definition.
* Iterable sections API is now available at
:zephyr_file:`include/zephyr/sys/iterable_sections.h`. LD linker snippets are
available at :zephyr_file:`include/zephyr/linker/iterable_sections.h`.
* Cache API functions are now fully inlined by compilers.
* The Bluetooth HCI headers have been reworked, with ``hci.h`` now containing
only the function prototypes and the new ``hci_types.h`` defining all
HCI-related macros and structs. The previous ``hci_err.h`` has been merged
into ``hci_types.h``.
Removed APIs in this release
============================
* Pinmux API has been removed. Pin control needs to be used as its replacement,
refer to :ref:`pinctrl-guide` for more details.
Deprecated in this release
==========================
* Configuring applications with ``prj_<board>.conf`` files has been deprecated,
this should be replaced by using a prj.conf with the common configuration and
board-specific configuration in board Kconfig fragments in the ``boards``
folder of the application.
* On nRF51 and nRF52-based boards, the behavior of the reset reason being
provided to :c:func:`sys_reboot` and being set in the GPREGRET register has
been dropped. This function will now just reboot the device without changing
the register contents. The new method for setting this register uses the boot
mode feature of the retention subsystem, see the
:ref:`boot mode API <boot_mode_api>` for details. To restore the deprecated
functionality, enable
:kconfig:option:`CONFIG_NRF_STORE_REBOOT_TYPE_GPREGRET`.
* Deprecated :c:macro:`PTHREAD_BARRIER_DEFINE` in favor of the standardized
:c:func:`pthread_barrier_init`
* On all STM32 targets except STM32F2 series, Ethernet drivers implementation
based on STM32Cube Ethernet API V1 (:kconfig:option:`CONFIG_ETH_STM32_HAL_API_V1`)
is now deprecated in favor of implementation based on more reliable and performant
STM32Cube Ethernet API V2.
* Legacy Ztest API was deprecated. All new tests shall use the new Ztest API.
Stable API changes in this release
==================================
* Removed `bt_set_oob_data_flag` and replaced it with two new API calls:
* :c:func:`bt_le_oob_set_sc_flag` for setting/clearing OOB flag in SC pairing
* :c:func:`bt_le_oob_set_legacy_flag` for setting/clearing OOB flag in legacy paring
* :c:macro:`SYS_INIT` callback no longer requires a :c:struct:`device` argument.
The new callback signature is ``int f(void)``. A utility script to
automatically migrate existing projects can be found in
:zephyr_file:`scripts/utils/migrate_sys_init.py`.
* Changed :c:struct:`spi_config` ``cs`` (:c:struct:`spi_cs_control`) from
pointer to struct member. This allows using the existing SPI dt-spec macros in
C++. SPI controller drivers doing ``NULL`` checks on the ``cs`` field to check
if CS is GPIO-based or not, must now use :c:func:`spi_cs_is_gpio` or
:c:func:`spi_cs_is_gpio_dt` calls.
New APIs in this release
========================
* Introduced :c:func:`flash_ex_op` function. This allows to perform extra
operations on flash devices, defined by Zephyr Flash API or by vendor specific
header files. Support for extra operations is enabled by
:kconfig:option:`CONFIG_FLASH_EX_OP_ENABLED` which depends on
:kconfig:option:`CONFIG_FLASH_HAS_EX_OP` selected by driver.
* Introduced :ref:`rtc_api` API which adds experimental support for real-time clock
devices. These devices previously used the :ref:`counter_api` API combined with
conversion between unix-time and broken-down time. The new API adds the mandatory
functions :c:func:`rtc_set_time` and :c:func:`rtc_get_time`, the optional functions
:c:func:`rtc_alarm_get_supported_fields`, :c:func:`rtc_alarm_set_time`,
:c:func:`rtc_alarm_get_time`, :c:func:`rtc_alarm_is_pending` and
:c:func:`rtc_alarm_set_callback` are enabled with
:kconfig:option:`CONFIG_RTC_ALARM`, the optional function
:c:func:`rtc_update_set_callback` is enabled with
:kconfig:option:`CONFIG_RTC_UPDATE`, and lastly, the optional functions
:c:func:`rtc_set_calibration` and :c:func:`rtc_get_calibration` are enabled with
:kconfig:option:`CONFIG_RTC_CALIBRATION`.
* Introduced :ref:`auxdisplay_api` for auxiliary (alphanumeric-based) displays.
* Introduced :ref:`barriers_api` for barrier operations.
* Added :c:macro:`CAN_FRAME_ESI` CAN-FD Error State Indicator flag.
Kernel
******
* Removed absolute symbols :c:macro:`___cpu_t_SIZEOF`,
:c:macro:`_STRUCT_KERNEL_SIZE`, :c:macro:`K_THREAD_SIZEOF` and
:c:macro:`_DEVICE_STRUCT_SIZEOF`
Architectures
*************
* ARC
* Added MPUv8 support
* Add support of virtual UART over ARC hostlink channel
* Improved ARCv2 HS4x processors handling - added proper Kconfig options, provided default mcpu
* Improved ARCMWDT toolchain handling:
* added rollback to check METAWARE_ROOT if ARCMWDT_TOOLCHAIN_PATH missing
* reworked extra warnings options handling in twister so it can be used with ARCMWDT
* used 64bit MDB binary by default
* Fixed excessive ROM memory consumption if MPU is enabled and ROM & RAM are located in different
memory regions
* Fixed DSP registers handling in case of ARCMWDT
* Improved SMP handling:
* Fixed potential livelock in thread abort due to exception
* Fixed IDU mask setup
* Removed absolute symbols :c:macro:`___callee_saved_t_SIZEOF` and
:c:macro:`_K_THREAD_NO_FLOAT_SIZEOF`
* ARM
* Removed absolute symbols :c:macro:`___basic_sf_t_SIZEOF`,
:c:macro:`_K_THREAD_NO_FLOAT_SIZEOF`, :c:macro:`___cpu_context_t_SIZEOF`
and :c:macro:`___thread_stack_info_t_SIZEOF`
* Enabled fp16 for Cortex-M55
* Fixed a compilation issue with arm-clang and TrustZone
* Implemented a new cache-management API
* Added support for generating zImage headers
* Introduced a new :c:func:`z_arm_on_enter_cpu_idle` hook on CPU idle
* ARM64
* Removed absolute symbol :c:macro:`___callee_saved_t_SIZEOF`
* Enabled FPU and FPU_SHARING for v8r aarch64
* Fixed the STACK_INIT logic during the reset
* Introduced and enabled safe exception stack
* Fixed possible deadlock on SMP with FPU sharing
* Added ISBs after SCTLR Modifications
* NIOS2
* Removed absolute symbol :c:macro:`_K_THREAD_NO_FLOAT_SIZEOF`
* POSIX:
* Added :c:macro:`Z_SPIN_DELAY` to allow to conditionally compile a k_busy_wait() for this arch
in tests and samples.
* RISC-V
* Added :kconfig:option:`CONFIG_PMP_NO_TOR`, :kconfig:option:`CONFIG_PMP_NO_NA4`, and
:kconfig:option:`CONFIG_PMP_NO_NAPOT` to allow disabling unsupported PMP range modes.
* Removed unused symbols: :c:macro:`_thread_offset_to_tp`,
:c:macro:`_thread_offset_to_priv_stack_start`, :c:macro:`_thread_offset_to_user_sp`.
* Added support for setting PMP granularity with :kconfig:option:`CONFIG_PMP_GRANULARITY`.
* Switched from accessing CSRs from inline assembly to using the :c:func:`csr_read` helper
function.
* Enabled single-threading support.
* SPARC
* Removed absolute symbol :c:macro:`_K_THREAD_NO_FLOAT_SIZEOF`
* Xtensa
* Fixed the cross stack call mechanism during nested interrupts where stack would be
corrupted under certain conditions.
* Added initial support for MMU on Xtensa.
* Now supports building with :kconfig:option:`CONFIG_MULTITHREADING` disabled so
target can run in single thread only operations.
* Added C structs to represent interrupt frames to help with debugging.
Bluetooth
*********
* General
* Moved all logging symbols together in a new ``Kconfig.logging`` file.
* Deprecated the ``BT_DEBUG_LOG`` option. Instead ``BT_LOG`` should be used.
* Made the ``BT_LOG`` and ``BT_LOG_LEGACY`` options hidden.
* Removed ``BT_DEBUG`` entirely.
* Audio
* Implemented the CAP initiator broadcast audio start, stop and metadata
update procedures.
* Implemented the CAP unicast audio start, stop and metadata update procedures.
* Implemented the Telephony and Media Audio Service (TMAS).
* Added additional validation for MCC and MCS, including opcodes, values, etc.
* Refactored and extended the scan delegator implementation, including
integration with broadcast sink.
* Added support for creating a broadcast sink from a PA sink.
* Added support for optional characteristics in CSIP.
* Implemented discovery by UUID instead of reading by UUID for multiple
characteristics.
* Added support for long reads and writes for multiple profiles.
* Added support for long BAP ASE notifications and optimized long notify
reads.
* Offloaded MCS notifications to the system workqueue.
* Added the CAP initiator cancel procedure.
* Direction Finding
* Host
* Updated the Host to the v5.4 specification.
* The GATT DB Hash is now recalculated upon loading settings.
* Added experimental support for SMP keypress notifications.
* Downgraded the severity of select log messages to avoid log flooding.
* Separated the handling of LE SC OOB pairing from the legacy OOB logic.
* Implemented the Encrypted Advertising Data feature.
* Added support for the new Periodic Advertising with Responses (PAwR), both
as an advertiser and as a scanner.
* Added support for initiating connections from PAwR, as well as receiving
connections while synced.
* Clarified the behavior that is enabled by the ``BT_PRIVACY`` Kconfig option.
* Introduced a new ``seg_recv`` L2CAP API for an application to receive
segments directly and manage credits explicitly.
* Mesh
* Added experimental support for Mesh Protocol d1.1r18 specification, gated
by a new configuration option. This includes:
* Enhanced Provisioning Authentication support.
* Mesh Remote Provisioning support including:
* Remote Provisioning Server and Client models.
* Composition Data Page 128 and Models Metadata Page 128 support.
* Large Composition Data support including:
* Large Composition Data Server and Client models.
* Models Metadata Page 0 support.
* New Transport Segmentation and Reassembly (SAR) implementation including:
* SAR Configuration Server and Client models.
* Mesh Private Beacons support including:
* Mesh Private Beacon Server and Client models.
* Opcodes Aggregator support including:
* Opcodes Aggregator Server and Client models.
* Proxy Solicitation support including:
* Solicitation PDU RPL Configuration Server and Client models.
* On-Demand Private Proxy Server and Client models.
* Composition Data Page 1 support.
* Other Mesh Profile Enhancements.
* Added experimental support for Mesh Binary Large Object Transfer Model d1.0r04_PRr00 specification.
* Added experimental support for Mesh Device Firmware Update Model d1.0r04_PRr00 specification.
* Fixed multiple profile errata.
* Added experimental support for the PSA crypto APIs.
* Added a new work queue to store mesh settings, including a new API for
storing user data.
* Disabled the models initialization macros for C++ as they use the compound
literal feature from C99.
* Deprecated Health Client and Configuration Client API have been removed.
* Controller
* Implemented support for the central with multiple CIS usecase.
* Implemented support for multiple peripheral CIS establishment.
* Updated the Controller to the v5.4 specification.
* Added support for coexistence with other transceivers.
* Added support for multiple CIS/CIG setup/connect and teardown procedures in
sequence.
* Extended the ticker API to return expiration info.
* Re-implemented Extended and Periodic Advertising, as well as and Broadcast
ISO, using the new ticket expiration info feature.
* Modified the ticker implementation to reschedule unreserved tickers that use
``ticks_slot_window``. Implement continuous scanning with it.
* Added support for considering the SDU interval, along with the packet
sequence number and time stamps, in SDU fragmentation.
* Added a new ``BT_CTRL_TX_PWR_DBM`` option to set the TX power directly in
dBm.
* Optimized the RX path with support for piggy-backing notifications on
already-allocated RX nodes.
* HCI Driver
Boards & SoC Support
********************
* Added support for these SoC series:
* STM32C0 series are now supported (with introduction of STM32C031 SoC).
* STM32H5 series are now supported (with introduction of STM32H503 and STM32H573 SoCs).
* Added support for STM32U599 SoC variants
* Nordic Semiconductor nRF9161
* Removed support for these SoC series:
* Made these changes in other SoC series:
* Added support for these ARC boards:
* DesignWare ARC HS4x/HS4xD Development Kit (HSDK4xD) - ARCv2 HS47D, SMP 4 cores
* nsim_hs3x_hostlink - simulation (nSIM-based) platform with hostlink UART
* Added support for these ARM boards:
* Aconno ACN52832
* Alientek STM32L475 Pandora
* Arduino GIGA R1 Wi-Fi
* BeagleConnect Freedom
* Infineon PSoC 6 BLE Prototyping Kit (CY8CPROTO-063-BLE)
* Infineon PSoC 6 Wi-Fi BT Prototyping Kit (CY8CPROTO-062-4343W)
* Infineon XMC4700 Relax Kit
* MXChip AZ3166 IoT DevKit
* Nordic Semiconductor nRF9161 DK
* NXP MIMXRT1040-EVK
* NXP MIMXRT1062 FMURT6
* PHYTEC PhyBOARD Polis (NXP i.MX8M Mini)
* PHYTEC PhyBOARD Pollux (NXP i.MX8M Plus)
* Raspberry Pi Pico W
* Raytac MDBT50Q-DB-33
* Raytac MDBT50Q-DB-40
* Seeed Studio Wio Terminal
* Seeed Studio XIAO BLE Sense
* Silicon Labs BRD2601B
* Silicon Labs BRD4187C
* Silicon Labs EFR32 Thunderboard-style boards
* ST Nucleo C031C6
* ST Nucleo F042K6
* ST Nucleo H563ZI
* ST STM32H573I-DK Discovery
* Xilinx KV260 (Cortex-R5)
* Added support for these ARM64 boards:
* PHYTEC phyCORE-AM62x A53
* NXP i.MX93 EVK A55 (SOF variant)
* Added support for these RISC-V boards:
* Intel FPGA Nios V/m
* ITE IT82XX2 EV-Board
* Added support for these X86 boards:
* Added support for these Xtensa boards:
* ESP32S3-DevKitM
* Made these changes for ARC boards:
* Added ARC MWDT toolchain support for qemu_arc_hs
* Improved emsdp platform support:
* Added DFSS driver support
* Added pinctrl support
* Made these changes for ARM boards:
* ``atsamc21n_xpro``: Enable support to CAN.
* ``atsame54_xpro``: Read Ethernet MAC from I2C.
* Changed the default board revision to 0.14.0 for the Nordic boards
``nrf9160dk_nrf9160`` and ``nrf9160dk_nrf52840``. To build for an
older revision of the nRF9160 DK without external flash, specify that
older board revision when building.
* ``nrf9160dk_nrf52840``: Enabled external_flash_pins_routing switch by default.
* ``nrf9160dk_nrf9160``: Changed the order of buttons and switches on the GPIO
expander to match the order when using GPIO directly on the nRF9160 SoC.
* ``STM32H747i_disco``: Enabled support for ST B-LCD40-DSI1 display extension
* ``qemu_cortex_m0``: Fixed prescaler of the system timer so that its frequency
is actually 1 MHz, not 2 MHz.
* Made these changes for ARM64 boards:
* FVP revc_2xaemv8a / aemv8r: Added ethernet, PHY and MDIO nodes
* Made these changes to POSIX boards:
* nrf52_bsim now includes support and models for:
* 802.15.4 in the RADIO.
* EGU.
* FLASH (NVMC & UICR).
* TEMP.
* UART connected to a host ptty.
* Many more minor CMSIS API and nRF APIs and drivers.
* Made these changes for RISC-V boards:
* ``gd32vf103``: No longer requires special OpenOCD version.
* Made these changes for X86 boards:
* Made these changes for Xtensa boards:
* Removed support for these ARC boards:
* Removed support for these ARM boards:
* Removed support for these RISC-V boards:
* BeagleV Starlight JH7100
* Removed support for these X86 boards:
* Removed support for these Xtensa boards:
* Made these changes in other boards:
* Added support for these following shields:
* Adafruit Data Logger Shield
* nPM1300 EK (Power Management Integrated Circuit (PMIC))
* Panasonic Grid-EYE Shields
* ST B_LCD40_DSI1_MB1166
Build system and infrastructure
*******************************
* Fixed an issue whereby older versions of the Zephyr SDK toolchain were used
instead of the latest compatible version.
* Fixed an issue whereby building an application with sysbuild and specifying
mcuboot's verification to be checksum only did not build a bootable image.
* Fixed an issue whereby if no prj.conf file was present then board
configuration files would not be included by emitting a fatal error. As a
result, prj.conf files are now mandatory in projects.
* Introduced support for extending/replacing the signing mechanism in zephyr,
see :ref:`West extending signing <west-extending-signing>` for further
details.
* Fixed an issue whereby when using ``*_ROOT`` variables with Sysbuild, these
were lost for images.
* Enhanced ``zephyr_get`` CMake helper function to optionally support merging
of scoped variables into a list.
* Added a new CMake helper function for setting/updating sysbuild CMake cache
variables: ``sysbuild_cache_set``.
* Enhanced ``zephyr_get`` CMake helper function to lookup multiple variables
and return the result in a variable of different name.
* Introduced ``EXTRA_CONF_FILE``, ``EXTRA_DTC_OVERLAY_FILE``, and
``EXTRA_ZEPHYR_MODULES`` for better naming consistency and uniform behavior
for applying extra build settings in addition to Zephyr automatic build
setting lookup.
``EXTRA_CONF_FILE`` replaces ``OVERLAY_CONFIG``.
``EXTRA_ZEPHYR_MODULES`` replaces ``ZEPHYR_EXTRA_MODULES``.
``EXTRA_DTC_OVERLAY_FILE`` is new, see
:ref:`Set devicetree overlays <set-devicetree-overlays>` for further details.
* Twister now supports ``gtest`` harness for running tests written in gTest.
* Added an option to validate device initialization priorities at build time.
To use it, enable :kconfig:option:`CONFIG_CHECK_INIT_PRIORITIES`, see
:ref:`check_init_priorities.py` for more details.
* Added a new option to disable tracking of macro expansion when compiling,
:kconfig:option:`CONFIG_COMPILER_TRACK_MACRO_EXPANSION`. This option may be
disabled to reduce compiler verbosity when errors occur during macro
expansions, e.g. in device definition macros.
* Twister now supports loading test configurations from alternative root
folder/s by using ``--alt-config-root``. When a test is found, Twister will
check if a test configuration file exist in any of the alternative test
configuration root folders. For example, given
``$test_root/tests/foo/testcase.yaml``, Twister will use
``$alt_config_root/tests/foo/testcase.yaml`` if it exists.
* Twister now uses native YAML lists for fields that were previously defined
using space-separated strings. For example:
.. code-block:: yaml
platform_allow: foo bar
can now be written as:
.. code-block:: yaml
platform_allow:
- foo
- bar
This applies to the following properties:
- ``arch_exclude``
- ``arch_allow``
- ``depends_on``
- ``extra_args``
- ``extra_sections``
- ``platform_exclude``
- ``platform_allow``
- ``tags``
- ``toolchain_exclude``
- ``toolchain_allow``
Note that the old behavior is kept as deprecated. The
:zephyr_file:`scripts/utils/twister_to_list.py` script can be used to
automatically migrate Twister configuration files.
* When MCUboot image signing is enabled, a warning will now be emitted by cmake
if no signing key is set in the project, this warning can be safely ignored
if signing is performed manually or outside of zephyr. This warning informs
the user that the generated image will not be bootable by MCUboot as-is.
* Babblesim is now included in the west manifest. Users can fetch it by enabling
the ``babblesim`` group with west config.
* `west sign` now uses DT labels, of "fixed-partition" compatible nodes, to identify
application image slots, instead of previously used DT node label properties.
If you have been using custom partition layout for MCUboot, you will have to label
your MCUboot slot partitions with proper DT node labels; for example partition
with "image-0" label property will have to be given slot0_partition DT node label.
Label property does not have to be removed from partition node, but will not be used.
DT node labels used are listed below
.. table::
:align: center
+---------------------------------+---------------------------+
| Partition with label property | Required DT node label |
+=================================+===========================+
| "image-0" | slot0_partition |
+---------------------------------+---------------------------+
| "image-1" | slot1_partition |
+---------------------------------+---------------------------+
* Fixed an issue whereby relative paths supplied for the ``BOARD_ROOT`` value
might wrongly emit a warning about a ``boards`` directory not being found.
* Fixed an issue whereby relative paths did not work for sysbuild images.
Drivers and Sensors
*******************
* Device model
* Devices that do not require an initialization routine can now pass ``NULL``
to the ``DEVICE_*_DEFINE()`` macros.
* Auxiliary display
* New auxiliary display (auxdisplay) peripheral has been added, this allows
for interfacing with simple alphanumeric displays that do not feature
graphic capabilities. This peripheral is marked as unstable.
* HD44780 driver added.
* Noritake Itron driver added.
* Grove LCD driver added (ported from existing sample).
* ADC
* MCUX LPADC driver now uses the channel parameter to select a software channel
configuration buffer. Use ``zephyr,input-positive`` and
``zephyr,input-negative`` devicetree properties to select the hardware
channel(s) to link a software channel configuration to.
* MCUX LPADC driver ``voltage-ref`` and ``power-level`` devicetree properties
were shifted to match the hardware as described in reference manual instead
of matching the NXP SDK enum identifiers.
* Added support for STM32C0 and STM32H5.
* Added DMA support for STM32H7.
* STM32: Resolutions are now listed in the device tree for each ADC instance
* STM32: Sampling times are now listed in the device tree for each ADC instance
* Added driver for Atmel SAM family ADC.
* Added driver for Gecko Incremental ADC.
* Added driver for Infineon CAT1 ADC.
* Added driver for TI ADS7052.
* Added driver for TI ADS114S0x family.
* Added drivers for Renesas SmartBond GPADC and SDADC.
* Battery-backed RAM
* Added MCP7940N battery-backed RTC SRAM driver.
* CAN
* The CAN statistics are now reset when calling :c:func:`can_start`.
* Renamed the NXP FlexCAN devicetree binding compatible from ``nxp,kinetis-flexcan`` to
:dtcompatible:`nxp,flexcan`.
* Added support for the CAN-FD variant of the NXP FlexCAN controller using devicetree binding
:dtcompatible:`nxp,flexcan-fd`.
* Added support for the NXP NXP S32 CANEXCEL controller using devicetree binding
:dtcompatible:`nxp,s32-canxl`.
* Added support for the Atmel SAM0 CAN controller using devicetree binding
:dtcompatible:`atmel,sam0-can`.
* Refactored the Bosch M_CAN controller driver backend to allow for per-instance configuration via
devicetree.
* Now supports STM32H5 series.
* Clock control
* Atmel SAM/SAM0: Introduced peripheral clock control.
* Atmel SAM0: Improved ``samd20``/``samd21``/``samr21`` clocking mechanism.
* STM32F4: Added support for PLL I2S
* Console:
* The native_posix and bsim console drivers have been merged into one generic
driver usable by all POSIX arch based boards.
* Counter
* Added support on timer based counter on STM32H7 and STM32H5
* Added support on RTC based counter on STM32C0 and STM32H5
* Crypto
* Added support for STM32H5 AES
* DAC
* Added support on STM32H5 series.
* Disk
* SDMMC STM32L4+: Now compatible with internal DMA
* NVME disks are now supported using FATFS, with a single I/O queue enabled
* Display
* Improved MCUX ELCDIF and SSD16XX display controller drivers
* Added support for ILI9342C display controller
* Added support for OTM8009A panel
* DMA
* STM32C0: Added support for DMA
* STM32H5: Added support for GPDMA
* STM32H7: Added support for BDMA
* Added DMA support for the RP2040 SoC
* EEPROM
* Switched from :dtcompatible:`atmel,at24` to dedicated :dtcompatible:`zephyr,i2c-target-eeprom` for I2C EEPROM target driver.
* Entropy
* Added support for STM32H5 series.
* Flash
* Introduced new flash API call :c:func:`flash_ex_op` which calls
:c:func:`ec_op` callback provided by a flash driver. This allows to perform
extra operations on flash devices, defined by Zephyr Flash API or by vendor
specific header files. :kconfig:option:`CONFIG_FLASH_HAS_EX_OP` should be
selected by the driver to indicate that extra operations are supported.
To enable extra operations user should select
:kconfig:option:`CONFIG_FLASH_EX_OP_ENABLED`.
* STM32F4: Now supports write protection and readout protection through
new flash API call :c:func:`flash_ex_op`.
* nrf_qspi_nor: Replaced custom API function ``nrf_qspi_nor_base_clock_div_force``
with ``nrf_qspi_nor_xip_enable`` which apart from forcing the clock divider
prevents the driver from deactivating the QSPI peripheral so that the XIP
operation is actually possible.
* flash_simulator:
* A memory region can now be used as the storage area for the
flash simulator. Using the memory region allows the flash simulator to keep
its contents over a device reboot.
* When building in native_posix, command line options have been added to select
if the flash should be cleared at boot, the flash content kept in RAM,
or the flash content file be deleted on exit.
* spi_flash_at45: Fixed erase procedure to properly handle chips that have
their initial sector split into two parts (usually marked as 0a and 0b).
* STM32H5 now supports OSPI
* GPIO
* Converted the ``gpio_keys`` driver to the input subsystem.
* Added single-ended IO support for the RP2040 SoC
* STM32: Supports newly introduced experimental API to enable/disable interrupts
without re-config
* I2C
* Added support for STM32C0 and STM32H5 series
* I2S
* STM32: Domain clock should now be configured by device tree.
* Input
* Introduced the :ref:`input` subsystem.
* KSCAN
* Added a :dtcompatible:`zephyr,kscan-input` input to kscan compatibility driver.
* Converted the ``ft5336`` and ``kscan_sdl`` drivers to the input subsystem.
* MIPI-DSI
* Added support on STM32H7
* Misc
* Added PIO support for the RP2040 SoC
* PCIE
* Enable filtering PCIe devices by class/revision.
* PECI
* Retained memory
* Retained memory (retained_mem) driver has been added with backends for
Nordic nRF GPREGRET, and uninitialised RAM.
* Pin control
* Added support for Infineon CAT1
* Added support for TI K3
* Added support for ARC emdsp
* PWM
* Added support for STM32C0.
* STM32: Now supports 6-PWM channels
* Added PWM driver for Microchip XEC BBLED.
* Power domain
* Regulators
* The regulator API can now be built without thread-safe reference counting
by using :kconfig:option:`CONFIG_REGULATOR_THREAD_SAFE_REFCNT`. This
feature can be useful in applications that do not enable
:kconfig:option:`CONFIG_MULTITHREADING`.
* Added support for ADP5360 PMIC
* Added support for nPM1300 PMIC
* Added support for Raspberry Pi Pico core supply regulator
* SDHC
* Support was added for using CPOL/CPHA SPI clock modes with SD cards, as
some cards require the SPI clock switch to low when not active
* Sensor
* Added generic voltage measurement sample
* Removed STM32 Vbat measurement sample (replaced by a generic one)
* Added STM32 Vref sensor driver
* Added STM32 Vref/Vbat measurement through the new generic voltage measurement sample
* Added temperature measurement driver for STM32C0 and STM32F0x0
* Removed STM32 temperature measurement sample (replaced by a generic one)
* Added STM32 temperature measurement through the generic temperature measurement sample
* Serial
* Added UART3 and UART4 configuration for ``gd32vf103`` SoCs.
* uart_altera: added new driver for Altera Avalon UART.
* uart_emul: added new driver for emulated UART.
* uart_esp32:
* Added support for ESP32S3 SoC.
* Added support for RS-485 half duplex mode.
* uart_hostlink: added new driver for virtual UART via Synopsys ARC hostlink channels.
* uart_ifx_cat1: added new driver for Infineon CAT1 UART.
* uart_mcux: added power management support.
* uart_mcux_flexcomm: added support for asynchronous operations.
* uart_mcux_lpuart: added support for parity.
* uart_ns16550: now supports per instance hardware access mode instead of
one access mode for all instances.
* uart_pl011: fixed interrupt support.
* uart_rpi_pico_pio: added new driver to support UART via
Programmable Input/Output (PIO) on Raspberry Pi Pico.
* uart_xmc4xxx: added support for asynchronous operations.
* uart_stm32: Now support driver enable mode
* Added hardware flow control support for the RP2040 SoC
* SPI
* Added support on STM32H5 series.
* Timer
* Support added for stopping Nordic nRF RTC system timer, which fixes an
issue when booting applications built in prior version of Zephyr.
* STM32: Now supports a prescaler at the input of clock (default not divided).
Prescaler allows to achieve higher LPTIM timeout (up to 256s when lptim clocked by LSE)
and consequently higher core sleep durations but impacts the tick precision.
To be used with caution.
* USB
* Added remote wakeup support for the RP2040 SoC
* Added Battery Charging (BC12) API and PI3USB9201 driver implementation.
* Added new USB device controller drivers (using usb_dc API) for ITE IT82xx2
and smartbond platforms.
* Added USB device controller driver skeleton for UDC API.
* Reworked DWC2 driver and added support for STM32F4 SoC family
* W1
* Added DS2482-800 1-Wire master driver. See the :dtcompatible:`maxim,ds2482-800`
devicetree binding for more information.
* Added :kconfig:option:`CONFIG_W1_NET_FORCE_MULTIDROP_ADDRESSING` which can be
enabled force the 1-Wire network layer to use multidrop addressing.
* Watchdog
* Added support for STM32C0 and STM32H5 series
Networking
**********
* CoAP:
* Added :c:func:`coap_append_descriptive_block_option` and
:c:func:`coap_get_block1_option` APIs to facilitate block transfer handling.
* Added a :ref:`coap_client_interface` helper library, based on the existing CoAP APIs.
* Fixed missing token length validation in :c:func:`coap_header_get_token`.
* Fixed missing response check in :c:func:`coap_response_received`.
* Connection Manager:
* Extended the library with a generic L2 connectivity API.
* Refactored library internals significantly.
* Improved thread safety in the library.
* Reworked how Connection Manager events are notified - they are no longer
raised for each interface individually, but instead:
* ``NET_EVENT_L4_CONNECTED`` is called only once after the first
interface gains connectivity.
* ``NET_EVENT_L4_DISCONNECTED`` is called only after connectivity is
lost on all interfaces.
* Improved Connection Manager test coverage.
* DHCPv4:
* Fixed a potential packet leak in DHCPv4 input handler.
* Fixed a potential NULL pointer dereference in ``dhcpv4_create_message()``.
* Added a mechanism to register a callback for handling DHCPv4 options.
* Modified ``dhcpv4_client`` sample to trigger DHCP on all network interfaces
in the system.
* DNS:
* Fixed a possible crash on NULL pointer as a query callback.
* Added a check on existing DNS servers before reconfigure.
* Improved debug logging in DNS SD.
* Fixed IPv4/IPv6 address handling in mDNS responder, if both are IPv4 and IPv6 are enabled.
* Removed dead code in DNS SD query parsing.
* Ethernet:
* Fixed double packet dereference in case of ARP request transmission errors.
* Fixed a possible slist corruption in case Ethernet interface went up before
LLDP initialization.
* HTTP:
* Added HTTP service and resource iterable sections.
* ICMPv6:
* Implemented IPv6 RA Recursive DNS Server option handling.
* IEEE802154:
* Fixed a corner case with 6LoWPAN IP Header Compression and fragmentation, where
for a short range of packet sizes, fragmentation did not work correctly after IPHC.
* Added new radio API function to start continuous carrier wave transmission.
* Several improvements/fixes in IEEE802154 L2 security.
* Fixed a packet leak when handling beacon/command frames.
* Deprecated :kconfig:option:`CONFIG_IEEE802154_2015` Kconfig option.
* Added simple Babblesim echo test over IEEE802154 L2.
* Improved IEEE802154 L2 test coverage.
* Multiple other minor IEEE802154 L2 and documentation improvements/fixes.
* IPv4:
* Implemented a fallback to IPv4 Link Local address if no other address is available.
* Fixed :c:func:`net_ipv4_is_ll_addr` helper function to correctly identify LL address.
* Fixed possible NULL pointer dereference in IPv4 fragmentation.
* LwM2M:
* Added new :c:macro:`LWM2M_RD_CLIENT_EVENT_REG_UPDATE` event.
* Added missing ``const`` qualifier in the APIs, where applicable.
* Fixed socket error handling on packet transmission.
* Improved LwM2M context cleanup when falling back to regular Registration.
* Added possibility to register a callback function for FW update cancel action.
* Added possibility to register a callback function for LwM2M send operation.
* Added ISPO voltage sensor object support.
* Fixed stopping of the LwM2M client when it's suspended.
* Fixed a minor CoAP RFC incompatibility, where it should not be assumed that
consecutive data blocks in block transfer will carry the same token.
* Added block transfer support on TX.
* Fixed a possible out-of-bounds memory access when creating FW update object.
* Added possibility to override default socket option configuration with a
dedicated callback function (``set_socketoptions``).
* Improved LwM2M test coverage.
* Several other minor improvements and cleanups.
* Misc:
* Added generic ``OFFLOADED_NETDEV_L2`` for offloaded devices to allow
offloaded implementations to detect when interface is brought up/down.
* Factored out ``net_buf_simple`` routines to a separate source file.
* Fixed possible NULL pointer dereference in ``net_pkt_cursor_operate()``.
* Reimplemented ``net_mgmt`` to use message queue internally. This also fixed
a possible event loss with the old implementation.
* Fixed error handling in ``net ping`` shell command to avoid shell freeze.
* Improved Ethernet error statistics logging in ``net stats`` shell command.
* Moved SLIP TAP implementation into a separate file, to prevent build warnings
about missing sources for Ethernet drivers.
* Fixed crashes in ``echo_server`` and ``echo_client`` samples, when
userspace is enabled.
* Fixed IPv6 support in ``mqtt_sn_publisher`` sample.
* Fixed build issues with arm-clang in the networking stack.
* Added new ``NET_IF_IPV6_NO_ND`` and ``NET_IF_IPV6_NO_MLD`` interface flags,
which allow to disable ND/MLD respectively on an interface.
* Reworked network interface mutex protection, to use individual mutex for
each interface, instead of a global one.
* Added new :zephyr:code-sample:`aws-iot-mqtt`.
* Added a few missing NULL pointer checks in network interface functions.
* OpenThread:
* Implemented the following OpenThread platform APIs:
* ``otPlatRadioSetMacFrameCounterIfLarger()``,
* ``otPlatCryptoEcdsaGenerateAndImportKey()``,
* ``otPlatCryptoEcdsaExportPublicKey()``,
* ``otPlatCryptoEcdsaVerifyUsingKeyRef()``,
* ``otPlatCryptoEcdsaSignUsingKeyRef()``.
* Added :kconfig:option:`CONFIG_OPENTHREAD_CSL_TIMEOUT` option.
* Removed no longer needed ``CONFIG_OPENTHREAD_EXCLUDE_TCPLP_LIB``.
* Added simple Babblesim echo test over OpenThread.
* SNTP:
* Switched to use ``zsock_*`` functions internally.
* Sockets:
* Fixed ``SO_RCVBUF`` and ``SO_SNDBUF`` socket options handling, so that they
configure TCP window sizes correctly.
* Fixed ``SO_SNDTIMEO`` socket option handling - the timeout value was ignored
and socket behaved as in non-blocking mode when used.
* Reworked TLS sockets implementation, to allow parallel TX/RX from
different threads.
* Implemented TLS handshake timeout.
* Added support for asynchronous connect for TCP sockets.
* Fixed blocking :c:func:`recv` not being interrupted on socket close.
* Fixed blocking :c:func:`accept` not being interrupted on socket close.
* Improved sockets test coverage.
* TCP:
* Fixed incorrect TCP stats by improving packet processing result reporting.
* Added :kconfig:option:`CONFIG_NET_TCP_PKT_ALLOC_TIMEOUT` to allow to configure
packet allocation timeout.
* Improved TCP test coverage.
* Fixed TCP MSS calculation for IPv6.
* Fixed possible double acknowledgment of retransmitted data.
* Fixed local address setting for incoming connections.
* Fixed double TCP context dereferencing in certain corner cases.
* TFTP:
* Added ``tftp_put()`` API to support TFTP write request.
* Introduced ``tftp_callback_t`` callback to allow to read large files.
* Reworked ``struct tftpc`` client context structure, to allow for parallel
communication from several contexts.
* UDP:
* :kconfig:option:`CONFIG_NET_UDP_MISSING_CHECKSUM` is now enabled by default.
* Websockets:
* Implemented proper timeout handling in :c:func:`websocket_recv_msg`.
* Fixed implicit type conversion when parsing length field, which could lead
to data loss.
* Wi-Fi:
* Display TWT (Target Wake Time) configuration response status in Wi-Fi shell.
* Added more detailed TWT response parameters printout in Wi-Fi shell.
* Added new ``NET_EVENT_WIFI_TWT_SLEEP_STATE`` event to notify TWT sleep status.
* Fixed an issue where not all security modes were displayed correctly on scan.
* Added connection status and AP capabilities verification before initiating
TWT operation.
* TWT intervals are changed from milliseconds to microseconds, interval
variables are also renamed.
* Extended Power Saving configuration parameters with listening interval and
wake up mode.
* Added :kconfig:option:`CONFIG_WIFI_MGMT_RAW_SCAN_RESULTS` option, which
enables providing of RAW (unprocessed) scan results to the application with
``NET_EVENT_WIFI_CMD_RAW_SCAN_RESULT`` event.
* Several other minor fixes/cleanups in the Wi-Fi management/shell modules.
* zperf
* Added an extra parameter to disable Nagle's algorithm with TCP benchmarks.
* Added support for handling multiple incoming TCP sessions.
* Made zperf thread priority and stack size configurable.
* Several minor cleanups in the module.
USB
***
* USB device support
* Fixed control endpoint handling with MPS of 8 bytes.
* New experimental USB support
* Various improvements for new device support, better string descriptor support,
implemented usbd_class_shutdown API.
* Added USB Mass Storage class and CDC ECM class implementations for the new
device support.
Libraries / Subsystems
**********************
* File systems
* Added :kconfig:option:`CONFIG_FS_FATFS_REENTRANT` to enable the FAT FS reentrant option.
* With LittleFS as backend, :c:func:`fs_mount` return code was corrected to ``EFAULT`` when
called with ``FS_MOUNT_FLAG_NO_FORMAT`` and the designated LittleFS area could not be
mounted because it has not yet been mounted or it required reformatting.
* The FAT FS initialization order has been updated to match LittleFS, fixing an issue where
attempting to mount the disk in a global function caused FAT FS to fail due to not being registered beforehand.
FAT FS is now initialized in POST_KERNEL.
* Added :kconfig:option:`CONFIG_FS_LITTLEFS_FMP_DEV` to enable possibility of using LittleFS
for block devices only, e.g. without Flash support. The option is set to 'y' by default in
order to keep previous behaviour.
* IPC
* :c:func:`ipc_service_close_instance` now only acts on bounded endpoints.
* ICMSG: removed race condition during bonding.
* ICMSG: removed internal API for clearing shared memory.
* ICMSG: added mutual exclusion access to SHMEM.
* Fixed CONFIG_OPENAMP_WITH_DCACHE.
* Management
* Added optional input expiration to shell MCUmgr transport, this allows
returning the shell to normal operation if a complete MCUmgr packet is not
received in a specific duration. Can be enabled with
:kconfig:option:`CONFIG_MCUMGR_TRANSPORT_SHELL_INPUT_TIMEOUT` and timeout
set with
:kconfig:option:`CONFIG_MCUMGR_TRANSPORT_SHELL_INPUT_TIMEOUT_TIME`.
* MCUmgr fs_mgmt upload and download now caches the file handle to improve
throughput when transferring data, the file is no longer opened and closed
for each part of a transfer. In addition, new functionality has been added
that will allow closing file handles of uploaded/downloaded files if they
are idle for a period of time, the timeout is set with
:kconfig:option:`MCUMGR_GRP_FS_FILE_AUTOMATIC_IDLE_CLOSE_TIME`. There is a
new command that can be used to close open file handles which can be used
after a file upload is complete to ensure that the file handle is closed
correctly, allowing other transports or other parts of the application
code to use it.
* A new version of the SMP protocol used by MCUmgr has been introduced in the
header, which is used to indicate the version of the protocol being used.
This updated protocol allows returning much more detailed error responses
per group, see the
:ref:`MCUmgr SMP protocol specification <mcumgr_smp_protocol_specification>`
for details.
* MCUmgr has now been marked as a stable Zephyr API.
* The MCUmgr UDP transport has been refactored to resolve some concurrency
issues and fixes a potential issue whereby an application might call the
open transport function whilst it is already open, causing an endless log
output loop.
* The MCUmgr fs_mgmt group Kconfig ``Insecure`` text has been replaced with
a CMake warning which triggers if fs_mgmt hooks are not enabled, as these
hooks can be used to ensure security of file access allowed by MCUmgr
clients.
* Fixed an issue with MCUmgr fs_mgmt file download not checking if the
offset parameter was provided.
* Fixed an issue with MCUmgr fs_mgmt file upload notification hook not
setting upload to true.
* Fixed an issue with MCUmgr img_mgmt image upload ``upgrade`` field wrongly
checking if the new image was the same version of the application and
allowing it to be uploaded if it was.
* MCUmgr img_mgmt group will only verify the SHA256 hash provided by the
client against the uploaded image (if support is enabled) if a full SHA256
hash was provided.
* MCUmgr Kconfig options have changed from ``select`` to ``depends on`` which
means that some additional Kconfig options may now need to be selected by
applications. :kconfig:option:`CONFIG_NET_BUF`,
:kconfig:option:`CONFIG_ZCBOR` and :kconfig:option:`CONFIG_CRC` are needed
to enable MCUmgr support, :kconfig:option:`CONFIG_BASE64` is needed to
enable shell/UART/dummy MCUmgr transports,
:kconfig:option:`CONFIG_NET_SOCKETS` is needed to enable the UDP MCUmgr
transport, :kconfig:option:`CONFIG_FLASH` is needed to enable MCUmgr
fs_mgmt, :kconfig:option:`CONFIG_FLASH` and
:kconfig:option:`CONFIG_IMG_MANAGER` are needed to enable MCUmgr img_mgmt.
* MCUmgr img_mgmt group now uses unsigned integer values for image and slot
numbers, these numbers would never have been negative and should have been
unsigned.
* POSIX API
* Improved the locking strategy for :c:func:`eventfd_read()` and
:c:func:`eventfd_write()`. This eliminated a deadlock scenario that was
present since the initial contribution and increased performance by a
factor of 10x.
* Reimplemented :ref:`POSIX <posix_support>` threads, mutexes, condition
variables, and barriers using native Zephyr counterparts. POSIX
synchronization primitives in Zephyr were originally implemented
separately and received less maintenance as a result. Unfortunately, this
opened POSIX up to unique bugs and race conditions. Going forward, POSIX
will benefit from all improvements to Zephyr's synchronization and
threading API and race conditions have been mitigated.
* Retention
* Retention subsystem has been added which adds enhanced features over
retained memory drivers allowing for partitioning, magic headers and
checksum validation. See :ref:`retention API <retention_api>` for details.
Support for the retention subsystem is experimental.
* Boot mode retention module has been added which allows for setting/checking
the boot mode of an application, initial support has also been added to
MCUboot to allow for applications to use this as an entrance method for
MCUboot serial recovery mode. See :ref:`boot mode API <boot_mode_api>` for
details.
* RTIO
* Added policy that every ``sqe`` will generate a ``cqe`` (previously an RTIO_SQE_TRANSACTION
entry would only trigger a ``cqe`` on the last ``sqe`` in the transaction.
* Power management
* Added a new policy event API that can be used to register expected events
that will wake the system up in the future. This can be used to influence
the system on which low power states can be used.
* Added a new device tree property ``zephyr,pm-device-runtime-auto`` to
automatically enable device runtime power management on a device after its
initialization.
HALs
****
* Nordic
* Updated nrfx to version 3.0.0.
* STM32
* stm32cube: updated STM32F0 to cube version V1.11.4.
* stm32cube: updated STM32F3 to cube version V1.11.4
* stm32cube: updated STM32L0 to cube version V1.12.2
* stm32cube: updated STM32U5 to cube version V1.2.0
* stm32cube: updated STM32WB to cube version V1.16.0
* Raspberry Pi Pico
* Updated hal_rpi_pico to version 1.5.0
MCUboot
*******
* Relocated the MCUboot Kconfig options from the main ``Kconfig.zephyr`` file to
a new ``modules/Kconfig.mcuboot`` module-specific file. This means that, for
interactive Kconfig interfaces, the MCUboot options will now be located under
``Modules`` instead of under ``Boot Options``.
* Added :kconfig:option:`CONFIG_MCUBOOT_CMAKE_WEST_SIGN_PARAMS` that allows to pass arguments to
west sign when invoked from cmake.
Storage
*******
* Added :kconfig:option:`CONFIG_FLASH_MAP_LABELS`, which will enable runtime access to the labels
property of fixed partitions. This option is implied if kconfig:option:`CONFIG_FLASH_MAP_SHELL`
is enabled. These labels will be displayed in a separate column when using the ``flash_map list``
shell command.
Trusted Firmware-M
******************
* Enable routing of PSA Crypto API calls from NS to S, thanks to separating MbedTLS into three
distinct libraries at build time (crypto, TLS, X.509). This also resolves header conflicts with
earlier integrations of TF-M and MbedTLS.
* Added psa_crypto sample back.
zcbor
*****
Updated from 0.6.0 to 0.7.0.
Among other things, this update brings:
* C++ improvements
* float16 support
* Improved docs
* -Wall and -Wconversion compliance
Tests and Samples
*****************
* Two Babblesim based networking (802.15.4) tests have been added, which are run in Zephyr's CI
system. One of them including the OpenThread stack.
* For native_posix and the nrf52_bsim: Many tests have been fixed and enabled.
* LittleFS sample has been given SPI example configuration for nrf52840dk_nrf52840.
* Migrated all tests to new Ztest API and deprecated legacy Ztest.
``` | /content/code_sandbox/doc/releases/release-notes-3.4.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 13,980 |
```restructuredtext
:orphan:
.. _zephyr_3.1:
Zephyr 3.1.0
############
The following sections provide detailed lists of changes by component.
API Changes
***********
Changes in this release
=======================
* All Zephyr public headers have been moved to ``include/zephyr``, meaning they
need to be prefixed with ``<zephyr/...>`` when included. Because this change
can potentially break many applications or libraries,
:kconfig:option:`CONFIG_LEGACY_INCLUDE_PATH` is provided to allow using the
old include path. This option is now enabled by default to allow a smooth
transition. In order to facilitate the migration to the new include prefix, a
script to automate the process is also provided:
:zephyr_file:`scripts/utils/migrate_includes.py`.
* LoRaWAN: The message type parameter in :c:func:`lorawan_send` was changed
from ``uint8_t`` to ``enum lorawan_message_type``. If ``0`` was passed for
unconfirmed message, this has to be changed to ``LORAWAN_MSG_UNCONFIRMED``.
* Bluetooth: Applications where :kconfig:option:`CONFIG_BT_EATT` is enabled
must set the :c:member:`chan_opt` field on the GATT parameter structs.
To keep the old behavior use :c:enumerator:`BT_ATT_CHAN_OPT_NONE`.
* Disk Subsystem: SPI mode SD cards now use the SD subsystem to communicate
with SD cards. See :ref:`the disk access api <disk_access_api>` for an
example of the new devicetree binding format required.
* Kconfig preprocessor function ``dt_nodelabel_has_compat`` was redefined, for
consistency with the ``dt_nodelabel_has_prop`` function and devicetree macros
like :c:func:`DT_NODE_HAS_COMPAT`. Now the function does not take into account
the status of the checked node. Its former functionality is provided by the
newly introduced ``dt_nodelabel_enabled_with_compat`` function.
* CAN
* Added ``const struct device`` parameter to the following CAN callback function signatures:
* ``can_tx_callback_t``
* ``can_rx_callback_t``
* ``can_state_change_callback_t``
* Allow calling the following CAN API functions from userspace:
* :c:func:`can_set_mode()`
* :c:func:`can_calc_timing()`
* :c:func:`can_calc_timing_data()`
* :c:func:`can_set_bitrate()`
* :c:func:`can_get_max_filters()`
* Changed :c:func:`can_set_bitrate()` to use a sample point of 75.0% for bitrates over 800 kbit/s,
80.0% for bitrates over 500 kbit/s, and 87.5% for all other bitrates.
* Split CAN classic and CAN-FD APIs:
* :c:func:`can_set_timing()` split into :c:func:`can_set_timing()` and
:c:func:`can_set_timing_data()`.
* :c:func:`can_set_bitrate()` split into :c:func:`can_set_bitrate()` and
:c:func:`can_set_bitrate_data()`.
* Converted the ``enum can_mode`` into a ``can_mode_t`` bitfield and renamed the CAN mode
definitions:
* ``CAN_NORMAL_MODE`` renamed to :c:macro:`CAN_MODE_NORMAL`.
* ``CAN_SILENT_MODE`` renamed to :c:macro:`CAN_MODE_LISTENONLY`.
* ``CAN_LOOPBACK_MODE`` renamed to :c:macro:`CAN_MODE_LOOPBACK`.
* The previous ``CAN_SILENT_LOOPBACK_MODE`` can be set using the bitmask ``(CAN_MODE_LISTENONLY |
CAN_MODE_LOOPBACK)``.
* STM32H7: :kconfig:option:`CONFIG_NOCACHE_MEMORY` is no longer responsible for disabling
data cache when defined. Use ``CONFIG_DCACHE=n`` instead.
* Converted the STM32F1 pin nodes configuration names to include remap information (in
cases other than NO_REMAP/REMAP_0)
For instance:
* ``i2c1_scl_pb8`` renamed to ``i2c1_scl_remap1_pb8``
Removed APIs in this release
============================
* STM32F1 Serial wire JTAG configuration (SWJ CFG) configuration choice
was moved from Kconfig to :ref:`devicetree <dt-guide>`.
See the :dtcompatible:`st,stm32f1-pinctrl` devicetree binding for more information.
As a consequence, the following Kconfig symbols were removed:
* ``CONFIG_GPIO_STM32_SWJ_ENABLE``
* ``CONFIG_GPIO_STM32_SWJ_NONJTRST``
* ``CONFIG_GPIO_STM32_SWJ_NOJTAG``
* ``CONFIG_GPIO_STM32_SWJ_DISABLE``
* Removed experimental 6LoCAN protocol support.
* Removed the following deprecated CAN APIs:
* Custom CAN error codes
* ``can_configure()``
* ``can_attach_workq()``
* ``can_attach_isr()``
* ``can_attach_msgq()``
* ``can_detach()``
* ``can_register_state_change_isr()``
* ``can_write()``
Deprecated in this release
==========================
* :c:func:`nvs_init` is deprecated in favor of utilizing :c:func:`nvs_mount`.
* :c:func:`lwm2m_engine_set_res_data` is deprecated in favor of :c:func:`lwm2m_engine_set_res_buf`
* :c:func:`lwm2m_engine_get_res_data` is deprecated in favor of :c:func:`lwm2m_engine_get_res_buf`
* The TinyCBOR module has been deprecated in favor of the new zcbor CBOR
library, included with Zephyr in this release.
* GPIO
* Deprecated the ``GPIO_INT_DEBOUNCE`` flag and the ``GPIO_DS_*`` and
``GPIO_VOLTAGE_*`` groups of flags. Controller/SoC specific flags
should now be used instead.
* SPI
* Deprecated the ``gpio_dev``, ``gpio_pin``, and ``gpio_dt_flags`` members in
struct :c:struct:`spi_cs_control` in favor of a new struct
:c:struct:`gpio_dt_spec` member named ``gpio``.
* PWM
* The ``pin`` prefix has been removed from all PWM API calls. So for example,
``pwm_pin_set_cycles`` is now ``pwm_set_cycles``. The old API calls are
still provided, but are now deprecated.
* PWM periods are now always set in nanoseconds, so ``_nsec`` and ``_usec``
set functions such as ``pwm_pin_set_nsec()`` and ``pwm_pin_set_usec()``
have been deprecated. Other units can be specified using, e.g.
``PWM_USEC()`` macros, which convert other units to nanoseconds.
* Utilities
* :c:macro:`UTIL_LISTIFY` has been deprecated. Use :c:macro:`LISTIFY` instead.
* Mesh
* The following functions related to the Bluetooth Mesh Health Client model:
* :c:func:`bt_mesh_health_fault_get()` replace with :c:func:`bt_mesh_health_cli_fault_get()`
* :c:func:`bt_mesh_health_fault_clear()` replace with :c:func:`bt_mesh_health_cli_fault_clear()`
* :c:func:`bt_mesh_health_fault_clear_unack()` replace with :c:func:`bt_mesh_health_cli_fault_clear_unack()`
* :c:func:`bt_mesh_health_fault_test()` replace with :c:func:`bt_mesh_health_cli_fault_test()`
* :c:func:`bt_mesh_health_fault_test_unack()` replace with :c:func:`bt_mesh_health_cli_fault_test_unack()`
* :c:func:`bt_mesh_health_period_get()` replace with :c:func:`bt_mesh_health_cli_period_get()`
* :c:func:`bt_mesh_health_period_set()` replace with :c:func:`bt_mesh_health_cli_period_set()`
* :c:func:`bt_mesh_health_period_set_unack()` replace with :c:func:`bt_mesh_health_cli_period_set_unack()`
* :c:func:`bt_mesh_health_attention_get()` replace with :c:func:`bt_mesh_health_cli_attention_get()`
* :c:func:`bt_mesh_health_attention_set()` replace with :c:func:`bt_mesh_health_cli_attention_set()`
* :c:func:`bt_mesh_health_attention_set_unack()` replace with :c:func:`bt_mesh_health_cli_attention_set_unack()`
* The following function related to the Bluetooth Mesh Health Server model:
* :c:func:`bt_mesh_fault_update()` replace with :c:func:`bt_mesh_health_srv_fault_update()`
Stable API changes in this release
==================================
New APIs in this release
========================
* Util
* Added :c:macro:`IN_RANGE` for checking if a value is in the range of two
other values.
* SDHC API
* Added the :ref:`SDHC api <sdhc_api>`, used to interact with SD host controllers.
* MIPI-DSI
* Added a :ref:`MIPI-DSI api <mipi_dsi_api>`. This is an experimental API,
some of the features/APIs will be implemented later.
* CAN
* Added support for getting the minimum/maximum supported CAN timing parameters:
* :c:func:`can_get_timing_min()`
* :c:func:`can_get_timing_max()`
* :c:func:`can_get_timing_data_min()`
* :c:func:`can_get_timing_data_max()`
* Added support for enabling/disabling CAN-FD mode at runtime using :c:macro:`CAN_MODE_FD`.
Bluetooth
*********
* Extended and Periodic advertising are no longer experimental
* Direction Finding is no longer experimental
* Added support for disabling Bluetooth, including a new ``bt_disable()`` API
call
* Audio
* Changed the implementation of PACS to indicate instead of notifying
* Added support for the Broadcast Audio Scan Service (BASS)
* Added support for the Hearing Access Service (HAS)
* Added support for the Telephone Bearer Service (TBS)
* Direction Finding
* Added sampling and switching offset configuration
* Mesh
* Added support for Proxy Client
* Added support for Provisioners over PB-GATT
* Added a new heartbeat publication callback option
* Controller
* Added support for the full ISO TX data path, including ISOAL
* Added support for ISO Broadcast Channel Map Update
* Added support for ISO Synchronized Receiver Channel Map Update
* The new implementation of LL Control Procedures is now the default whenever
Direction Finding is enabled
* Added support for all missing v3 and v4 DTM commands
* Implemented ISO-AL TX unframed fragmentation
* Added support for back-to-back receiving of PDUs on nRF5x platforms
* Increased the maximum number of simultaneous connections to 250
* HCI Driver
* Added support for a new optional :c:member:`bt_hci_driver.close` API which
closes HCI transport.
* Implemented :c:member:`bt_hci_driver.close` on stm32wb HCI driver.
* Host
* The :c:enum:`bt_l2cap_chan_state` values ``BT_L2CAP_CONNECT`` and
``BT_L2CAP_DISCONNECT`` have been renamed to ``BT_L2CAP_CONNECTING`` and
``BT_L2CAP_DISCONNECTING`` respectively.
* The callbacks :c:func:`pairing_complete`, :c:func:`pairing_failed`, and
:c:func:`bond_delete` have been moved from struct :c:struct:`bt_auth_cb` to a
newly created informational-only callback struct :c:struct:`bt_conn_auth_info_cb`.
* :c:func:`bt_conn_index` now takes a ``const struct bt_conn*`` argument.
* The :c:struct:`bt_gatt_subscribe_params` structure's ``write`` callback
function has been deprecated. Use the new ``subscribe`` callback
instead.
* :c:func:`bt_disable` was added to enable the caller to disable the Bluetooth stack.
* Added new Kconfig options to select ISO Central and Peripheral role support
separately
* Added a new :c:func:`bt_get_appearance()` API call
* Implemented support for dynamic appearance, including a new
:c:func:`bt_set_appearance()` API call
* Implemented support for L2CAP collision mitigation
* Changed the scheduling of auto-initiated HCI commands so that they execute
synchronously
* Added a new :c:func:`bt_is_ready()` API call to find out if Bluetooth is
currently enabled and initialized
* Added support for automatic MTU exchange right after a connection is
established
* Created a new :c:struct:`bt_conn_auth_info_cb` to group the
security-related callbacks under a single struct
* Optimized the memory usage of the Object Transfer Service
* Added a new :c:func:`bt_hci_le_rand()` API call to obtain a random number
from the LE Controller
* Added a new public API to connect EATT channels, :c:func:`bt_eatt_connect()`
* Optimized L2CAP channels resource usage when not using dynamic channels
* Added the ability to run the Bluetooth RX context from a workqueue, in order
to optimize RAM usage. See :kconfig:option:`CONFIG_BT_RECV_CONTEXT`.
* Added support for TX complete callback on EATT channels
* Corrected the calling of the MTU callback to happen on any reconfiguration
Kernel
******
* Aborting an essential thread now causes a kernel panic, as the
documentation has always promised but the kernel has never
implemented.
* The k_timer handler can now correct itself for lost time due to very
late-arriving interrupts.
* SMP interprocessor interrupts are deferred so that they are sent only at
schedule points, and not synchronously when the scheduler state
changes. This prevents IPI "storms" with code that does many
scheduler operations at once (e.g. waking up a bunch of threads).
* The timeslicing API now allows slice times to be controlled
independently for each thread, and provides a callback to the app
when a thread timeslice has expired. The intent is that this will
allow apps the tools to implement CPU resource control algorithms
(e.g. fairness or interactivity metrics, budget tracking) that are
out of scope for Zephyr's deterministic RTOS scheduler.
Architectures
*************
* ARC
* Added ARCv3 32 bit (HS5x) support - both GNU and MWDT toolchains, both UP and SMP
* Worked around debug_select interference with MDB debugger
* Switched to hs6x mcpu usage (GNU toolchain) for HS6x
* ARM
* AARCH32
* Added Cortex-R floating point support
* AARCH64
* Added support for GICv3 for the ARMv8 Xen Virtual Machine
* Fixed SMP boot code to take into account multiple cores booting at the same time
* Added more memory mapping types for device memory
* Simplified and optimize switching and user mode transition code
* Added support for CONFIG_IRQ_OFFLOAD_NESTED
* Fixed booting issue with FVP V8R >= 11.16.16
* Switched to the IRQ stack during ISR execution
* Xtensa
* Optimized context switches when KERNEL_COHERENCE is enabled to
avoid needless stack invalidations for threads that have not
migrated between CPUs.
* Fixed a bug that could return directly into a thread context from a
nested interrupt instead of properly returning to the preempted
ISR.
* x64_64
* UEFI devices can now use the firmware-initialized system console
API as a printk/logging backend, simplifying platform bringup on
devices without known-working serial port configurations.
Boards & SoC Support
********************
* Added support for these SoC series:
* STM32H725/STM32H730/STM32H73B SoC variants
* Made these changes in other SoC series:
* Added Atmel SAM UPLL clock support
* Raspberry Pi Pico: Added HWINFO support
* Raspberry Pi Pico: Added I2C support
* Raspberry Pi Pico: Added reset controller support
* Raspberry Pi Pico: Added USB support
* Changes for ARC boards:
* Added nsim_hs5x and nsim_hs5x_smp boards with ARCv3 32bit HS5x CPU
* Added MWDT toolchain support for nsim_hs6x and nsim_hs6x_smp
* Overhauled memory layout for nSIM boards. Added a mechanism to switch between
ICCM/DCCM memory layout and flat memory layout (i.e DDR).
* Did required platform setup so nsim_hs5x, nsim_hs5x_smp, nsim_hs6x, nsim_hs6x_smp
can be run on real HW (HAPS FPGA) with minimum additional configuration
* Enabled MWDT toolchain support for hsdk_2cores board
* Adjusted test duration for SMP nSIM boards with timeout_multiplier
* Added support for these ARM boards:
* b_g474e_dpow1
* stm32f401_mini
* Added support for these ARM64 boards:
* NXP i.MX8MP EVK (i.MX8M Plus LPDDR4 EVK board)
* NXP i.MX8MM EVK (i.MX8M Mini LPDDR4 EVK board)
* Added support for these RISC-V boards:
* GigaDevice GD32VF103C-EVAL
* Made these changes in other boards:
* sam4s_xplained: Added support for HWINFO
* sam_e70_xlained: Added support for HWINFO and CAN-FD
* sam_v71_xult: Added support for HWINFO and CAN-FD
* gd32e103v_eval: Added prescaler to timer
* longan_nano: Added support for TF-Card slot
* Added support for these following shields:
* Keyestudio CAN-BUS Shield (KS0411)
* MikroElektronika WIFI and BLE Shield
* X-NUCLEO-53L0A1 ranging and gesture detection sensor expansion board
Drivers and Sensors
*******************
* ADC
* Atmel SAM0: Fixed adc voltage reference
* STM32: Added support for :c:enumerator:`adc_reference.ADC_REF_INTERNAL`.
* Added the :c:struct:`adc_dt_spec` structure and associated helper macros,
e.g. :c:macro:`ADC_DT_SPEC_GET`, to facilitate getting configuration of
ADC channels from devicetree nodes.
* CAN
* Switched from transmitting CAN frames in FIFO/chronological order to transmitting according to
CAN-ID priority (NXP FlexCAN, ST STM32 bxCAN, Bosch M_CAN, Microchip MCP2515).
* Added support for ST STM32U5 to the ST STM32 FDCAN driver.
* Renamed the base Bosch M_CAN devicetree binding compatible from ``bosch,m-can-base`` to
:dtcompatible:`bosch,m_can-base`.
* Added CAN controller statistics support (NXP FlexCAN, Renesas R-Car, ST STM32 bxCAN).
* Added CAN transceiver support.
* Added generic SocketCAN network interface and removed driver-specific implementations.
* Clock_control
* STM32: Driver was cleaned up and overhauled for easier maintenance with a deeper integration
of device tree inputs. Driver now takes into account individual activation of clock sources
(High/Medium/Low Internal/external speed clocks, PLLs, ...)
* STM32: Additionally to above change it is now possible for clock consumers to select an alternate
source clock (Eg: LSE) by adding it to its 'clocks' property and then configure it using new
clock_control_configure() API.
See :dtcompatible:`st,stm32-rcc`, :dtcompatible:`st,stm32h7-rcc` and :dtcompatible:`st,stm32u5-rcc`
for more information.
* Counter
* Added driver for NXP QTMR.
* DAC
* Added support for STM32F1 SoCs to the STM32 DAC driver.
* Disk
* Added a generic SDMMC disk driver, that uses the SD subsystem to interact with
disk devices. This disk driver will be used with any disk device declared
with the ``zephyr,sdmmc-disk`` compatible string.
* Display
* STM32: Added basic support for LTDC driver. Currently supported on F4, F7, H7, L4+
and MP1 series.
* DMA
* Added a scatter gather test for DMAs that support it
* Cleanly shared Synopsis DW-DMA driver and Intel cAVS GPDMA driver code.
* Added support for Synposis DW-DMA transfer lists.
* Added support for Intel HDA for audio device and host streams.
* Fixes for NXP eDMA to pass scatter gather tests
* Entropy
* STM32: Prevented the core from entering stop modes during entropy operations.
* Ethernet
* eth_native_posix: Added support for setting MAC address.
* eth_stm32_hal: Fixed a bug which caused a segfault in case of a failed RX
buffer allocation.
* eth_mcux: Added support for resetting PHY.
* eth_liteeth: Refactored driver to use LiteX HAL.
* eth_w5500: Fixed possible deadlock due to incorrect IRQ processing.
* Flash
* Added STM32 OCTOSPI driver. Initial support is provided for L5 and U5
series. Interrupt driven mode. Supports 1 and 8 lines in Single or Dual
Transfer Modes.
* STM32L5: Added support for Single Bank.
* STM32 QSPI driver was extended with QER (SFDP, DTS), custom quad write opcode
and 1-1-4 read mode.
* Added support for STM32U5 series.
* GPIO
* Refactored GPIO devicetree flags. The upper 8 bits of ``gpio_dt_flags_t``
are now reserved for controller/SoC specific flags. Certain
hardware-specific flags previously defined as common configuration (IO
voltage level, drive strength, and debounce filter) were replaced with ones
defined in this controller/SoC specific space.
* Added Xilinx PS MIO/EMIO GPIO controller driver.
* Extended the NXP PCA95XX driver to support also PCAL95XX.
* HWINFO
* Atmel SAM: Added RSTC support
* Raspberry Pi Pico: Added Unique ID and reset cause driver
* I2C
* Added arbitrary I2C clock speed support with :c:macro:`I2C_SPEED_DT`
* NXP flexcomm now supports target (slave) mode
* Fixed Atmel SAM/SAM0 exclusive bus access
* Added ITE support
* I2S
* Ported I2S drivers to pinctrl.
* Fixed multiple bugs in the NXP I2S (SAI) driver, including problems with
DMA transmission and FIFO under/overruns.
* MEMC
* STM32: Extended FMC driver to support NOR/PSRAM. See :dtcompatible:`st,stm32-fmc-nor-psram.yaml`.
* Pin control
* Platform support was added for:
* Atmel SAM/SAM0
* Espressif ESP32
* ITE IT8XXX2
* Microchip XEC
* Nordic nRF (completed support)
* Nuvoton NPCX Embedded Controller (EC)
* NXP iMX
* NXP Kinetis
* NXP LPC
* RV32M1
* SiFive Freedom
* Telink B91
* TI CC13XX/CC26XX
* STM32: It is now possible to configure plain GPIO pins using the pinctrl API.
See :dtcompatible:`st,stm32-pinctrl` and :dtcompatible:`st,stm32f1-pinctrl` for
more information.
* PWM
* Added :c:struct:`pwm_dt_spec` and associated helpers, e.g.
:c:macro:`PWM_DT_SPEC_GET` or :c:func:`pwm_set_dt`. This addition makes it
easier to use the PWM API when the PWM channel, period and flags are taken
from a devicetree PWM cell.
* STM32: Enabled complementary output for timer channel. A PWM consumer can now use
:c:macro:`PWM_STM32_COMPLEMENTARY` to specify that PWM output should happen on a
complementary channel pincfg (eg:``tim1_ch2n_pb14``).
* STM32: Added counter mode support. See :dtcompatible:`st,stm32-timers`.
* Aligned nRF PWM drivers (pwm_nrfx and pwm_nrf5_sw) with the updated PWM API.
In particular, this means that the :c:func:`pwm_set` and
:c:func:`pwm_set_cycles` functions need to be called with a PWM channel
as a parameter, not with a pin number like it was for the deprecated
``pwm_pin_set_*`` functions. Also, the ``flags`` parameter is now supported
by the drivers, so either the :c:macro:`PWM_POLARITY_INVERTED` or
:c:macro:`PWM_POLARITY_NORMAL` flag must be provided in each call.
* Reset
* Added reset controller driver API.
* Raspberry Pi Pico: Added reset controller driver
* Sensor
* Added NCPX ADC comparator driver.
* Enhanced the BME680 driver to support SPI.
* Enhanced the LIS2DW12 driver to support additional filtering and interrupt
modes.
* Added ICM42670 6-axis accelerometer driver.
* Enhanced the VL53L0X driver to support reprogramming its I2C address.
* Enhanced the Microchip XEC TACH driver to support pin control and MEC172x.
* Added ITE IT8XXX2 voltage comparator driver.
* Fixed register definitions in the LSM6DSL driver.
* Fixed argument passing bug in the ICM42605 driver.
* Removed redundant DEV_NAME helpers in various drivers.
* Enhanced the LIS2DH driver to support device power management.
* Fixed overflow issue in sensor_value_from_double().
* Added MAX31875 temperature sensor driver.
* Serial
* STM32: Added tx/rx pin swap and rx invert / tx invert capabilities.
* SPI
* Ported all SPI drivers to pinctrl
* Added support for SPI on the GD32 family
* Timer
* Ported timer drivers to use pinctrl
* LiteX: Ported the timer driver to use the HAL
* USB
* Added RP2040 (Raspberry Pi Pico) USB device controller driver
Networking
**********
* CoAP:
* Changed :c:struct:`coap_pending` allocation criteria. This now uses a data
pointer instead of a timestamp, which does not give a 100% guarantee that
structure is not in use already.
* Ethernet:
* Added a
:kconfig:option:`CONFIG_NET_ETHERNET_FORWARD_UNRECOGNISED_ETHERTYPE`
option, which allows to forward frames with unrecognised EtherType to the
network stack.
* HTTP:
* Removed a limitation where the maximum content length was limited up to
100000 bytes.
* Fixed ``http_client_req()`` return value. The function now correctly
reports the number of bytes sent.
* Clarified the expected behavior in case of empty response from the server.
* Made use of ``shutdown`` to tear down HTTP connection instead of
closing the socket from a system work queue.
* LwM2M:
* Various improvements towards LwM2M 1.1 support:
* Added LwM2M 1.1 Discovery support.
* Added attribute handling for Resource Instances.
* Added support for Send, Read-composite, Write-composite, Observe-composite
operations.
* Added new content formats: SenML JSON, CBOR, SenML CBOR.
* Added v1.1 implementation of core LwM2M objects.
* Added support for dynamic Resource Instance allocation.
* Added support for LwM2M Portfolio object (Object ID 16).
* Added LwM2M shell module.
* Added option to utilize DTLS session cache in queue mode.
* Added :c:func:`lwm2m_engine_path_is_observed` API function.
* Fixed a bug with hostname verification setting, which prevented DTLS
connection in certain mbedTLS configurations.
* Fixed a bug which could cause a socket descriptor leak, in case
:c:func:`lwm2m_rd_client_start` was called immediately after
:c:func:`lwm2m_rd_client_stop`.
* Added error reporting from :c:func:`lwm2m_rd_client_start` and
:c:func:`lwm2m_rd_client_stop`.
* Misc:
* Added :c:func:`net_if_set_default` function which allows to set a default
network interface at runtime.
* Added :kconfig:option:`CONFIG_NET_DEFAULT_IF_UP` option which allows to make the
first interface which is up the default choice.
* Fixed packet leak in network shell TCP receive handler.
* Added :c:func:`net_pkt_rx_clone` which allows to allocated packet from
correct packet pool when cloning. This is used at the loopback interface.
* Added :kconfig:option:`CONFIG_NET_LOOPBACK_SIMULATE_PACKET_DROP` option which
allows to simulate packet drop at the loopback interface. This is used by
certain test cases.
* MQTT:
* Removed custom logging macros from MQTT implementation, in favour of the
common networking logging.
* OpenThread:
* Updated OpenThread revision up to commit ``130afd9bb6d02f2a07e86b824fb7a79e9fca5fe0``.
* Implemented ``otPlatCryptoRand`` platform API for OpenThread.
* Added support for PSA MAC keys.
* Multiple minor fixes/improvements to align with upstream OpenThread changes.
* Sockets:
* Added support for ``shutdown()`` function.
* Fixed ``sendmsg()`` operation when TCP reported full transmission window.
* Added support for ``getpeername()`` function.
* Fixed userspace ``accept()`` argument validation.
* Added support for :c:macro:`SO_SNDBUF` and :c:macro:`SO_RCVBUF` socket
options.
* Implemented ``POLLOUT`` reporting from ``poll()`` for STREAM
sockets.
* Implemented socket dispatcher for offloaded sockets. This module allows to
use multiple offloaded socket implementations at the same time.
* Introduced a common socket priority for offloaded sockets
(:kconfig:option:`CONFIG_NET_SOCKETS_OFFLOAD_PRIORITY`).
* Moved socket offloading out of experimental.
* TCP:
* Implemented receive window handling.
* Implemented zero-window probe processing and sending.
* Improved TCP stack throughput over loopback interface.
* Fixed possible transmission window overflow in case of TCP retransmissions.
This could led to TX buffer starvation when TCP entered retransmission mode.
* Updated ``FIN_TIMEOUT`` delay to correctly reflect time needed for
all FIN packet retransmissions.
* Added proper error reporting from TCP to upper layers. This solves the
problem of connection errors being reported to the application as graceful
connection shutdown.
* Added a mechanism which allows upper layers to monitor the TCP transmission
window availability. This allows to improve throughput greatly in low-buffer
scenarios.
* TLS:
* Added :c:macro:`TLS_SESSION_CACHE` and :c:macro:`TLS_SESSION_CACHE_PURGE`
socket options which allow to control session caching on a socket.
* Fixed :c:macro:`TLS_CIPHERSUITE_LIST` socket option, which did not set the
cipher list on a socket correctly.
USB
***
* Moved USB device stack code to own directory in preparation for upcoming
rework of USB support.
Build System
************
* The build system's internals have been completely overhauled for increased
modularity. This makes it easier to reuse individual components through the
Zephyr CMake package mechanism.
With the improved Zephyr CMake package, the following examples are now possible:
* ``find_package(Zephyr)``: load a standard build system, as before
* ``find_package(Zephyr COMPONENTS unittest)``: load a specific unittest
build component
* ``find_package(Zephyr COMPONENTS dts)``: only load the dts module and its
direct dependencies
* ``find_package(Zephyr COMPONENTS extensions west zephyr_module)``: load
multiple specific modules and their dependencies
Some use cases that this work intends to enable are:
* The sysbuild proposal: `Zephyr sysbuild / multi image #40555
<path_to_url`_
* Running Zephyr CMake configure stages individually. One example is only
processing the devicetree steps of the build system, while skipping the
rest. This is a required feature for extending twister to do test case
filtering based on the devicetree contents without invoking a complete
CMake configuration.
For more details, see :zephyr_file:`cmake/package_helper.cmake`.
* A new Zephyr SDK has been created which now supports macOS and Windows in
addition to Linux platforms.
For more information, see: path_to_url
Devicetree
**********
* API
* New macros for creating tokens in C from strings in the devicetree:
:c:macro:`DT_STRING_UPPER_TOKEN_OR`, :c:macro:`DT_INST_STRING_TOKEN`,
:c:macro:`DT_INST_STRING_UPPER_TOKEN`,
:c:macro:`DT_INST_STRING_UPPER_TOKEN_OR`
* :ref:`devicetree-can-api`: new
* Bindings
* Several new bindings were created to support :ref:`Pin Control
<pinctrl-guide>` driver API implementations. This also affected many
peripheral bindings, which now support ``pinctrl-0``, ``pinctrl-1``, ...,
and ``pinctrl-names`` properties used to configure peripheral pin
assignments in different system states, such as active and low-power
states.
In some cases, this resulted in the removal of old bindings, or other
backwards incompatible changes affecting users of the old bindings. These
changes include:
* :dtcompatible:`atmel,sam-pinctrl` and :dtcompatible:`atmel,sam0-pinctrl`
have been adapted to the new pinctrl bindings interface
* :dtcompatible:`espressif,esp32-pinctrl` has replaced ``espressif,esp32-pinmux``
* :dtcompatible:`ite,it8xxx2-pinctrl` and
:dtcompatible:`ite,it8xxx2-pinctrl-func` have replaced
``ite,it8xxx2-pinmux`` and ``ite,it8xxx2-pinctrl-conf``
* :dtcompatible:`microchip,xec-pinctrl`: new
* :dtcompatible:`nuvoton,npcx-pinctrl`: new
* :dtcompatible:`nxp,kinetis-pinctrl` has replaced the ``nxp,kinetis-port-pins`` property found in the ``nxp,kinetis-pinmux`` binding.
* :dtcompatible:`nxp,mcux-rt-pinctrl`,
:dtcompatible:`nxp,mcux-rt11xx-pinctrl`,
:dtcompatible:`nxp,lpc-iocon-pinctrl`, :dtcompatible:`nxp,rt-iocon-pinctrl`,
:dtcompatible:`nxp,lpc11u6x-pinctrl`, :dtcompatible:`nxp,imx7d-pinctrl`,
:dtcompatible:`nxp,imx8m-pinctrl`, :dtcompatible:`nxp,imx8mp-pinctrl` and
:dtcompatible:`nxp,imx-iomuxc`: new
* :dtcompatible:`openisa,rv32m1-pinctrl`: new
* :dtcompatible:`sifive,pinctrl` has replaced ``sifive,iof``
* :dtcompatible:`telink,b91-pinctrl` has replaced ``telink,b91-pinmux``
* :dtcompatible:`ti,cc13xx-cc26xx-pinctrl` has replaced ``ti,cc13xx-cc26xx-pinmux``
* PWM bindings now generally have ``#pwm-cells`` set to 3, not 2 as it was in
previous releases. This was done to follow the Linux convention that each
PWM specifier should contain a channel, period, and flags cell, in that
order. See pull request `#44523
<path_to_url`_ for more
details on this change and its purpose.
* Some bindings had their :ref:`compatible properties <dt-important-props>`
renamed:
* :dtcompatible:`nxp,imx-elcdif` has replaced ``fsl,imx6sx-lcdif``
* :dtcompatible:`nxp,imx-gpr` has replaced ``nxp,imx-pinmux``
* :dtcompatible:`nordic,nrf-wdt` has replaced ``nordic,nrf-watchdog``
* :dtcompatible:`bosch,m_can-base` has replaced ``bosch,m-can-base``
* :dtcompatible:`nxp,imx-usdhc` has replaced ``nxp,imx-sdhc``
* Bindings with ``resets`` (and optionally ``reset-names``) properties were
added to support the :ref:`reset_api` API. See the list of new bindings
below for some examples.
* The ``zephyr,memory-region-mpu`` property can be set to generate MPU
regions from devicetree nodes. See commit `b91d21d32c
<path_to_url`_
* The generic :zephyr_file:`dts/bindings/can/can-controller.yaml` include
file used for defining CAN controller bindings no longer contains a ``bus:
yaml`` statement. This was unused in upstream Zephyr; out of tree bindings
relying on this will need updates.
* Bindings for ADC controller nodes can now use a child binding to specify
the initial configuration of individual channels in devicetree. See pull
request `43030 <path_to_url`_
for details.
* New bindings for the following compatible properties were added:
* :dtcompatible:`arduino-nano-header-r3`
* :dtcompatible:`arm,cortex-r52`
* :dtcompatible:`atmel,sam-rstc`
* :dtcompatible:`can-transceiver-gpio` (see also :ref:`devicetree-can-api`)
* :dtcompatible:`gd,gd32-spi`
* :dtcompatible:`hynitron,cst816s`
* :dtcompatible:`intel,cavs-gpdma`
* :dtcompatible:`intel,cavs-hda-host-in` and :dtcompatible:`intel,cavs-hda-host-out`
* :dtcompatible:`intel,cavs-hda-link-in` and :dtcompatible:`intel,cavs-hda-link-out`
* :dtcompatible:`intel,ssp-dai`
* :dtcompatible:`intel,ssp-sspbase`
* :dtcompatible:`invensense,icm42670`
* :dtcompatible:`ite,enhance-i2c`
* :dtcompatible:`ite,it8xxx2-vcmp`
* :dtcompatible:`ite,it8xxx2-wuc` and :dtcompatible:`ite,it8xxx2-wuc-map`
* :dtcompatible:`ite,peci-it8xxx2`
* :dtcompatible:`maxim,max31875`
* :dtcompatible:`microchip,cap1203`
* :dtcompatible:`microchip,mcp4728`
* :dtcompatible:`microchip,mpfs-qspi`
* :dtcompatible:`microchip,xec-bbram`
* :dtcompatible:`motorola,mc146818`
* :dtcompatible:`nordic,nrf-acl`
* :dtcompatible:`nordic,nrf-bprot`
* :dtcompatible:`nordic,nrf-ccm`
* :dtcompatible:`nordic,nrf-comp`
* :dtcompatible:`nordic,nrf-ctrlapperi`
* :dtcompatible:`nordic,nrf-dcnf`
* :dtcompatible:`nordic,nrf-gpio-forwarder`
* :dtcompatible:`nordic,nrf-lpcomp`
* :dtcompatible:`nordic,nrf-mpu`
* :dtcompatible:`nordic,nrf-mutex`
* :dtcompatible:`nordic,nrf-mwu`
* :dtcompatible:`nordic,nrf-nfct`
* :dtcompatible:`nordic,nrf-oscillators`
* :dtcompatible:`nordic,nrf-ppi`
* :dtcompatible:`nordic,nrf-reset`
* :dtcompatible:`nordic,nrf-swi`
* :dtcompatible:`nordic,nrf-usbreg`
* :dtcompatible:`nuvoton,adc-cmp`
* :dtcompatible:`nxp,imx-mipi-dsi`
* :dtcompatible:`nxp,imx-qtmr`
* :dtcompatible:`nxp,imx-tmr`
* :dtcompatible:`raspberrypi,pico-reset`
* :dtcompatible:`raspberrypi,pico-usbd`
* :dtcompatible:`raydium,rm68200`
* :dtcompatible:`riscv,sifive-e31`, :dtcompatible:`riscv,sifive-e51`,
and :dtcompatible:`riscv,sifive-s7` CPU bindings
* :dtcompatible:`seeed,grove-lcd-rgb`
* :dtcompatible:`st,lsm6dso32`
* :dtcompatible:`st,stm32-clock-mux`
* :dtcompatible:`st,stm32-fmc-nor-psram`
* :dtcompatible:`st,stm32-lse-clock`
* :dtcompatible:`st,stm32-ltdc`
* :dtcompatible:`st,stm32-ospi` and :dtcompatible:`st,stm32-ospi-nor`
* :dtcompatible:`st,stm32h7-fmc`
* TI ADS ADCs: :dtcompatible:`ti,ads1013`, :dtcompatible:`ti,ads1015`,
:dtcompatible:`ti,ads1113`, :dtcompatible:`ti,ads1114`,
:dtcompatible:`ti,ads1115`, :dtcompatible:`ti,ads1014`
* :dtcompatible:`ti,tlc5971`
* :dtcompatible:`xlnx,fpga`
* :dtcompatible:`xlnx,ps-gpio` and :dtcompatible:`xlnx,ps-gpio-bank`
* :dtcompatible:`zephyr,bt-hci-entropy`
* :dtcompatible:`zephyr,ipc-icmsg`
* :dtcompatible:`zephyr,memory-region`
* :dtcompatible:`zephyr,sdhc-spi-slot`
* Bindings for the following compatible properties were removed:
* ``bosch,m-can``
* ``nxp,imx-usdhc``
* ``shared-multi-heap``
* ``snps,creg-gpio-mux-hsdk``
* ``snps,designware-pwm``
* ``zephyr,mmc-spi-slot``
* Numerous other additional properties were added to bindings throughout the tree.
Libraries / Subsystems
**********************
* C Library
* Minimal libc
* Added ``[U]INT_{FAST,LEAST}N_{MIN,MAX}`` minimum and maximum value
macros in ``stdint.h``.
* Added ``PRIx{FAST,LEAST}N`` and ``PRIxMAX`` format specifier macros in
``inttypes.h``.
* Fixed ``gmtime()`` access fault when userspace is enabled and
``gmtime()`` is called from a user mode thread. This function can be
safely called from both kernel and user mode threads.
* Newlib
* Fixed access fault when calling the newlib math functions from a user
mode thread. All ``libm.a`` globals are now placed into the
``z_libc_partition`` when userspace is enabled.
* C++ Subsystem
* Renamed all C++ source and header files to use the ``cpp`` and ``hpp``
extensions, respectively. All Zephyr upstream C++ source and header files
are now required to use these extensions.
* Management
* MCUMGR has been migrated from using TinyCBOR, for CBOR encoding, to zcbor.
* MCUMGR :kconfig:option:`CONFIG_FS_MGMT_UL_CHUNK_SIZE` and
:kconfig:option:`CONFIG_IMG_MGMT_UL_CHUNK_SIZE` have been deprecated as,
with the introduction of zcbor, it is no longer needed to use an intermediate
buffer to copy data out of CBOR encoded buffer. The file/image chunk size
is now limited by :kconfig:option:`CONFIG_MCUMGR_BUF_SIZE` minus all the
other command required variables.
* Added support for MCUMGR Parameters command, which can be used to obtain
MCUMGR parameters; :kconfig:option:`CONFIG_OS_MGMT_MCUMGR_PARAMS` enables
the command.
* Added mcumgr fs handler for getting file status which returns file size;
controlled with :kconfig:option:`CONFIG_FS_MGMT_FILE_STATUS`
* Added mcumgr fs handler for getting file hash/checksum, with support for
IEEE CRC32 and SHA256, the following Kconfig options have been added to
control the addition:
* :kconfig:option:`CONFIG_FS_MGMT_CHECKSUM_HASH` to enable the command;
* :kconfig:option:`CONFIG_FS_MGMT_CHECKSUM_HASH_CHUNK_SIZE` that sets size
of buffer (stack memory) used for calculation:
* :kconfig:option:`CONFIG_FS_MGMT_CHECKSUM_IEEE_CRC32` enables support for
IEEE CRC32.
* :kconfig:option:`CONFIG_FS_MGMT_HASH_SHA256` enables SHA256 hash support.
* When hash/checksum query to mcumgr does not specify a type, then the order
of preference (most priority) is CRC32 followed by SHA256.
* Added mcumgr os hook to allow an application to accept or decline a reset
request; :kconfig:option:`CONFIG_OS_MGMT_RESET_HOOK` enables the callback.
* Added mcumgr fs hook to allow an application to accept or decline a file
read/write request; :kconfig:option:`CONFIG_FS_MGMT_FILE_ACCESS_HOOK`
enables the feature which then needs to be registered by the application.
* Added supplied image header to mcumgr img upload callback parameter list
which allows the application to inspect it to determine if it should be
allowed or declined.
* Made the ``img_mgmt_vercmp()`` function public to allow application-
level comparison of image versions.
* mcumgr will now only return ``MGMT_ERR_ENOMEM`` when it fails to allocate
a memory buffer for request processing, when previously it would wrongly
report this error when the SMP response failed to fit into a buffer;
now when encoding of response fails ``MGMT_ERR_EMSGSIZE`` will be
reported. This addresses issue :github:`44535`.
* Added :kconfig:option:`CONFIG_IMG_MGMT_USE_HEAP_FOR_FLASH_IMG_CONTEXT` that
allows user to select whether the heap will be used for flash image context,
when heap pool is configured. Previously usage of heap has been implicit,
with no control from a developer, causing issues reported by :github:`44214`.
The default, implicit, behaviour has not been kept and the above
Kconfig option needs to be selected to keep previous behaviour.
* SD Subsystem
* Added the SD subsystem, which is used by the
:ref:`disk access api <disk_access_api>` to interact with connected SD cards.
This subsystem uses the :ref:`SDHC api <sdhc_api>` to interact with the SD
host controller the SD device is connected to.
* Power management
* Added :kconfig:option:`CONFIG_PM_DEVICE_POWER_DOMAIN_DYNAMIC`.
This option enables support for dynamically bind devices to a Power Domain. The
memory required to dynamically bind devices is pre-allocated at build time and
is based on the number of devices set in
:kconfig:option:`CONFIG_PM_DEVICE_POWER_DOMAIN_DYNAMIC_NUM`. The API introduced
to use this feature are:
* :c:func:`pm_device_power_domain_add()`
* :c:func:`pm_device_power_domain_remove()`
* The default policy was renamed from ``PM_POLICY_RESIDENCY`` to
``PM_POLICY_DEFAULT``, and ``PM_POLICY_APP`` was renamed to
``PM_POLICY_CUSTOM``.
* The following functions were renamed:
* :c:func:`pm_power_state_next_get()` is now :c:func:`pm_state_next_get()`
* :c:func:`pm_power_state_force()` is now :c:func:`pm_state_force()`
* Removed the deprecated function :c:func:`pm_device_state_set()`.
* The state constraint APIs were moved (and renamed) to the policy
API and accounts substates.
* :c:func:`pm_constraint_get()` is now :c:func:`pm_policy_state_lock_is_active()`
* :c:func:`pm_constraint_set()` is now :c:func:`pm_policy_state_lock_get()`
* :c:func:`pm_constraint_release()` is now :c:func:`pm_policy_state_lock_put()`
* Added a new API to set maximum latency requirements. The ``DEFAULT`` policy
will account for latency when computing the next state.
* :c:func:`pm_policy_latency_request_add()`
* :c:func:`pm_policy_latency_request_update()`
* :c:func:`pm_policy_latency_request_remove()`
* The API to set a device initial state was changed to be usable independently of
:kconfig:option:`CONFIG_PM_DEVICE_RUNTIME`.
* :c:func:`pm_device_runtime_init_suspended()` is now :c:func:`pm_device_init_suspended()`
* :c:func:`pm_device_runtime_init_off()` is now :c:func:`pm_device_init_off()`
* IPC
* static_vrings: Fixed work queue (WQ) initialization
* static_vrings: Introduced atomic helpers when accessing atomic_t variables
* static_vrings: Moved to one WQ per instance
* static_vrings: Added "zephyr,priority" property in the DT to set the WQ priority of the instance
* static_vrings: Added configuration parameter to initialize shared memory to zero
* Extended API with NOCOPY functions
* static_vrings: Added support for NOCOPY operations
* Introduced inter core messaging backend (icmsg) that relies on simple inter core messaging buffer
* Logging
* Added UART frontend which supports binary dictionary logging.
* Added support for MIPI SyS-T catalog messages.
* Added cAVS HDA backend.
* Shell
* Added API for creating subcommands from multiple files using memory section approach:
* :c:macro:`SHELL_SUBCMD_SET_CREATE` for creating a subcommand set.
* :c:macro:`SHELL_SUBCMD_COND_ADD` and :c:macro:`SHELL_SUBCMD_ADD` for adding subcommands
to the set.
HALs
****
* Atmel
* Added devicetree bindings, documentation, and scripts to support
state-based pin control (``pinctrl``) API.
* Imported new SoC header files for:
* SAML21
* SAMR34
* SAMR35
* GigaDevice
* Fixed GD32_REMAP_MSK macro
* Fixed gd32f403z pc3 missing pincodes
* STM32:
* Updated stm32f4 to new STM32cube version V1.27.0
* Updated stm32f7 to new STM32cube version V1.16.2
* Updated stm32g4 to new STM32cube version V1.5.0
* Updated stm32h7 to new STM32cube version V1.10.0
* Updated stm32l4 to new STM32cube version V1.17.1
* Updated stm32u5 to new STM32cube version V1.1.0
* Updated stm32wb to new STM32cube version V1.13.2 (including hci lib)
MCUboot
*******
- Added initial support for devices with a write alignment larger than 8B.
- Added an option for entering serial recovery mode with a timeout. See ``CONFIG_BOOT_SERIAL_WAIT_FOR_DFU``.
- Used a smaller sha256 implementation.
- Added support for the echo command in serial recovery. See ``CONFIG_BOOT_MGMT_ECHO``.
- Fixed image decryption for SoC flash with page sizes larger than 1024 B in single loader mode.
- Fixed a possible output buffer overflow in serial recovery.
- Added a GitHub workflow for verifying integration with Zephyr.
- Removed deprecated ``DT_CHOSEN_ZEPHYR_FLASH_CONTROLLER_LABEL``.
- Fixed usage of ``CONFIG_LOG_IMMEDIATE``.
Trusted Firmware-m
******************
* Updated to TF-M 1.6.0
Documentation
*************
* Reorganised and consolidated documentation for improved readability and
user experience.
* Replaced the existing statically rendered Kconfig documentation with the new
Kconfig documentation engine that dynamically renders the Kconfig contents
for improved search performance.
* Added a 'Language Support' sub-category under the 'Developing with Zephyr'
category that provides details regarding C and C++ language and standard
library support status.
* Added a 'Toolchain' sub-category under the 'Developing with Zephyr' category
that lists all supported toolchains along with instructions for how to configure
and use them.
Tests and Samples
*****************
* A dedicated framework was added to test the STM32 clock_control driver.
Issue summary
*************
This section lists security vulnerabilities, other known bugs, and all issues
addressed during the v3.1.0 development period.
Security Vulnerability Related
==============================
The following CVEs are addressed by this release:
More detailed information can be found in:
path_to_url
* CVE-2022-1841: Under embargo until 2022-08-18
* CVE-2022-1042: Under embargo until 2022-06-19
* CVE-2022-1041: Under embargo until 2022-06-19
Known bugs
==========
- :github:`23302` - Poor TCP performance
- :github:`25917` - Bluetooth: Deadlock with TX of ACL data and HCI commands (command blocked by data)
- :github:`30348` - XIP can't be enabled with ARC MWDT toolchain
- :github:`31298` - tests/kernel/gen_isr_table failed on hsdk and nsim_hs_smp sometimes
- :github:`33747` - gptp does not work well on NXP rt series platform
- :github:`34226` - Compile error when building civetweb samples for posix_native
- :github:`34600` - Bluetooth: L2CAP: Deadlock when there are no free buffers while transmitting on multiple channels
- :github:`36358` - Potential issue with CMAKE_OBJECT_PATH_MAX
- :github:`37193` - mcumgr: Probably incorrect error handling with udp backend
- :github:`37704` - hello world doesn't work on qemu_arc_em when CONFIG_ISR_STACK_SIZE=1048510
- :github:`37731` - Bluetooth: hci samples: Unable to allocate command buffer
- :github:`38041` - Logging-related tests fails on qemu_arc_hs6x
- :github:`38544` - drivers: wifi: esWIFI: Regression due to 35815
- :github:`38654` - drivers: modem: bg9x: Has no means to update size of received packet.
- :github:`38880` - ARC: ARCv2: qemu_arc_em / qemu_arc_hs don't work with XIP disabled
- :github:`38947` - Issue with SMP commands sent over the UART
- :github:`39347` - Static object constructors do not execute on the NATIVE_POSIX_64 target
- :github:`39888` - STM32L4: usb-hid: regression in hal 1.17.0
- :github:`40023` - Build fails for ``native_posix`` board when using C++ <atomic> header
- :github:`41281` - Style Requirements Seem to Be Inconsistent with Uncrustify Configuration
- :github:`41286` - Bluetooth SDP: When the SDP attribute length is greater than SDP_MTU, the attribute is discarded
- :github:`41606` - stm32u5: Re-implement VCO input and EPOD configuration
- :github:`41622` - Infinite mutual recursion when SMP and ATOMIC_OPERATIONS_C are set
- :github:`41822` - BLE IPSP sample cannot handle large ICMPv6 Echo Request
- :github:`42030` - can: "bosch,m-can-base": Warning "missing or empty reg/ranges property"
- :github:`42134` - TLS handshake error using DTLS on updatehub
- :github:`42574` - i2c: No support for bus recovery imx.rt and or timeout on bus busy
- :github:`42629` - stm32g0: Device hang/hard fault with AT45 + ``CONFIG_PM_DEVICE``
- :github:`42842` - BBRAM API is missing a documentation reference page
- :github:`43115` - Data corruption in STM32 SPI driver in Slave Mode
- :github:`43246` - Bluetooth: Host: Deadlock with Mesh and Ext Adv on native_posix
- :github:`43249` - MBEDTLS_ECP_C not build when MBEDTLS_USE_PSA_CRYPTO
- :github:`43308` - driver: serial: stm32: uart will lost data when use dma mode[async mode]
- :github:`43390` - gPTP broken in Zephyr 3.0
- :github:`43515` - reel_board: failed to run tests/kernel/workq/work randomly
- :github:`43555` - Variables not properly initialized when using data relocation with SDRAM
- :github:`43562` - Setting and/or documentation of Timer and counter use/requirements for Nordic Bluetooth driver
- :github:`43646` - mgmt/mcumgr/lib: OS taskstat may give shorter list than expected
- :github:`43655` - esp32c3: Connection fail loop
- :github:`43811` - ble: gatt: db_hash_work runs for too long and makes serial communication fail
- :github:`43828` - Intel CAVS: multiple tests under tests/boards/intel_adsp/smoke are failing
- :github:`43836` - stm32: g0b1: RTT doesn't work properly after stop mode
- :github:`43887` - SystemView tracing with STM32L0x fails to compile
- :github:`43910` - civetweb/http_server - DEBUG_OPTIMIZATIONS enabled
- :github:`43928` - pm: going to PM_STATE_SOFT_OFF in pm_policy_next_state causes assert in some cases
- :github:`43933` - llvm: twister: multiple errors with set but unused variables
- :github:`44062` - Need a way to deal with stack size needed when running coverage report.
- :github:`44214` - mgmt/mcumgr/lib: Parasitic use of CONFIG_HEAP_MEM_POOL_SIZE in image management
- :github:`44219` - mgmt/mcumgr/lib: Incorrect processing of img_mgmt_impl_write_image_data leaves mcumgr in broken state in case of error
- :github:`44228` - drivers: modem: bg9x: bug on cmd AT+QICSGP
- :github:`44324` - Compile error in byteorder.h
- :github:`44377` - ISO Broadcast/Receive sample not working with coded PHY
- :github:`44403` - MPU fault and ``CONFIG_CMAKE_LINKER_GENERATOR``
- :github:`44410` - drivers: modem: shell: ``modem send`` doesn't honor line ending in modem cmd handler
- :github:`44579` - MCC: Discovery cannot complete with success
- :github:`44622` - Microbit v2 board dts file for lsm303agr int line
- :github:`44725` - drivers: can: stm32: can_add_rx_filter() does not respect CONFIG_CAN_MAX_FILTER
- :github:`44898` - mgmt/mcumgr: Fragmentation of responses may cause mcumgr to drop successfully processed response
- :github:`44925` - intel_adsp_cavs25: multiple tests failed after running tests/boards/intel_adsp
- :github:`44948` - cmsis_dsp: transofrm: error during building cf64.fpu and rf64.fpu for mps2_an521_remote
- :github:`44996` - logging: transient strings are no longer duplicated correctly
- :github:`44998` - SMP shell exec command causes BLE stack breakdown if buffer size is too small to hold response
- :github:`45105` - ACRN: failed to run testcase tests/kernel/fifo/fifo_timeout/
- :github:`45117` - drivers: clock_control: clock_control_nrf
- :github:`45157` - cmake: Use of -ffreestanding disables many useful optimizations and compiler warnings
- :github:`45168` - rcar_h3ulcb: failed to run test case tests/drivers/can/timing
- :github:`45169` - rcar_h3ulcb: failed to run test case tests/drivers/can/api
- :github:`45218` - rddrone_fmuk66: I2C configuration incorrect
- :github:`45222` - drivers: peci: user space handlers not building correctly
- :github:`45241` - (Probably) unnecessary branches in several modules
- :github:`45270` - CMake - TEST_BIG_ENDIAN
- :github:`45304` - drivers: can: CAN interfaces are brought up with default bitrate at boot, causing error frames if bus bitrate differs
- :github:`45315` - drivers: timer: nrf_rtc_timer: NRF boards take a long time to boot application in CONFIG_TICKLESS_KERNEL=n mode after OTA update
- :github:`45349` - ESP32: fails to chain-load sample/board/esp32/wifi_station from MCUboot
- :github:`45374` - Creating the unicast group before both ISO connections have been configured might cause issue
- :github:`45441` - SPI NOR driver assume all SPI controller HW is implemnted in an identical way
- :github:`45509` - ipc: ipc_icmsg: Can silently drop buffer if message is too big
- :github:`45532` - uart_msp432p4xx_poll_in() seems to be a blocking function
- :github:`45564` - Zephyr does not boot with CONFIG_PM=y
- :github:`45581` - samples: usb: mass: Sample.usb.mass_flash_fatfs fails on non-secure nrf5340dk
- :github:`45596` - samples: Code relocation nocopy sample has some unusual failure on nrf5340dk
- :github:`45647` - test: drivers: counter: Test passes even when no instances are found
- :github:`45666` - Building samples about BLE audio with nrf5340dk does not work
- :github:`45675` - testing.ztest.customized_output: mismatch twister results in json/xml file
- :github:`45678` - Lorawan: Devnonce has already been used
- :github:`45760` - Running twister on new board files
- :github:`45774` - drivers: gpio: pca9555: Driver is writing to output port despite all pins having been configured as input
- :github:`45802` - Some tests reported as PASSED (device) but they were only build
- :github:`45807` - CivetWeb doesn't build for CC3232SF
- :github:`45814` - Armclang build fails due to missing source file
- :github:`45842` - drivers: modem: uart_mux errors after second call to gsm_ppp_start
- :github:`45844` - Not all bytes are downloaded with HTTP request
- :github:`45845` - tests: The failure test case number increase significantly in CMSIS DSP tests on ARM boards.
- :github:`45848` - tests: console harness: inaccuracy testcases report
- :github:`45866` - drivers/entropy: stm32: non-compliant RNG configuration on some MCUs
- :github:`45914` - test: tests/kernel/usage/thread_runtime_stats/ test fail
- :github:`45929` - up_squaredfailed to run test case tests/posix/common
- :github:`45951` - modem: ublox-sara-r4: outgoing datagrams are truncated if they do not fit MTU
- :github:`45953` - modem: simcom-sim7080: sendmsg() should result in single outgoing datagram
- :github:`46008` - stm32h7: gptp sample does not work at all
- :github:`46049` - Usage faults on semaphore usage in driver (stm32l1)
- :github:`46066` - TF-M: Unable to trigger NMI interrupt from non-secure
- :github:`46072` - [ESP32] Debug log error in hawkbit example "CONFIG_LOG_STRDUP_MAX_STRING"
- :github:`46073` - IPSP (IPv6 over BLE) example stop working after a short time
- :github:`46121` - Bluetooth: Controller: hci: Wrong periodic advertising report data status
- :github:`46124` - stm32g071 ADC drivers apply errata during sampling config
- :github:`46126` - pm_device causes assertion error in sched.c with lis2dh
- :github:`46157` - ACRN: some cases still failed because of the log missing
- :github:`46158` - frdm_k64ffailed to run test case tests/subsys/modbus/modbus.rtu/server_setup_low_none
- :github:`46167` - esp32: Unable to select GPIO for PWM LED driver channel
- :github:`46170` - ipc_service: open-amp backend may never leave
- :github:`46173` - nRF UART callback is not passed correct index via evt->data.rx.offset sometimes
- :github:`46186` - ISO Broadcaster fails silently on unsupported RTN/SDU_Interval combination
- :github:`46199` - LIS2DW12 I2C driver uses invalid write command
- :github:`46206` - it8xxx2_evb: tests/kernel/fatal/exception/ assertion failed -- "thread was not aborted"
- :github:`46208` - it8xxx2_evb: tests/kernel/sleep failed, elapsed_ms = 2125
- :github:`46234` - samples: lsm6dso: prints incorrect anglular velocity units
- :github:`46235` - subsystem: Bluetooth LLL: ASSERTION FAIL [!link->next]
- :github:`46255` - imxrt1010 wrong device tree addresses
- :github:`46263` - Regulator Control
Addressed issues
================
* :github:`46241` - Bluetooth: Controller: ISO: Setting CONFIG_BT_CTLR_ISO_TX_BUFFERS=4 breaks non-ISO data
* :github:`46140` - Custom driver offload socket creation failing
* :github:`46138` - Problem with building zephyr/samples/subsys/mgmt/mcumgr/smp_svr using atsame70
* :github:`46137` - RFC: Integrate u8g2 monochrome graphcial library as module to Zephyr OS (path_to_url
* :github:`46129` - net: lwm2m: Object Update Callbacks
* :github:`46102` - samples: net: W5500 implementation
* :github:`46097` - b_l072z_lrwan1 usart dma doesn't work
* :github:`46093` - get a run error "Fatal exception (28): LoadProhibited" while enable CONFIG_NEWLIB_LIBC=y
* :github:`46091` - samples: net: cloud: tagoio: Drop pinmux dependency
* :github:`46059` - LwM2M: Software management URI resource not updated properly
* :github:`46056` - ``unexpected eof`` with twister running ``tests/subsys/logging/log_api/logging.log2_api_immediate_printk_cpp`` on ``qemu_leon3``
* :github:`46037` - ESP32 : fails to build the mcuboot, zephyr v3.1.0 rc2, sdk 0.14.2
* :github:`46034` - subsys settings: should check the return value of function cs->cs_itf->csi_load(cs, &arg).
* :github:`46033` - twister: incorrect display of test results
* :github:`46027` - tests: rpi_pico tests fails on twister with: No rule to make target 'bootloader/boot_stage2.S
* :github:`46026` - Bluetooth: Controller: llcp: Wrong effective time calculation if PHY changed
* :github:`46023` - drivers: reset: Use of reserved identifier ``assert``
* :github:`46020` - module/mcuboot: doesn't build with either RSA or ECISE-X25519 image encryption
* :github:`46017` - Apply for contributor
* :github:`46002` - NMP timeout when i am using any mcumgr command
* :github:`45996` - stm32F7: DCache configuration is not correctly implemented
* :github:`45948` - net: socket: dtls: sendmsg() should result in single outgoing datagram
* :github:`45946` - net: context: outgoing datagrams are truncated if not enough memory was allocated
* :github:`45942` - tests: twister: harness: Test harness report pass when there is no console output
* :github:`45933` - webusb sample code linking error for esp32 board
* :github:`45932` - tests: subsys/logging/log_syst : failed to build on rpi_pico
* :github:`45916` - USART on STM32: Using same name for different remapping configurations
* :github:`45911` - LVGL sample cannot be built with CONFIG_LEGACY_INCLUDE_PATH=n
* :github:`45904` - All tests require full timeout period to pass after twister overhaul when executed on HW platform
* :github:`45894` - up_squaredthe test shows pass in the twister.log it but does not seem to finish
* :github:`45893` - MCUboot authentication failure with RSA-3072 key on i.MX RT 1160 EVK
* :github:`45886` - ESP32: PWM parameter renaming broke compilation
* :github:`45883` - Bluetooth: Controller: CCM reads data before Radio stores them when DF enabled on PHY 1M
* :github:`45882` - Zephyr minimal C library contains files licensed with BSD-4-Clause-UC
* :github:`45878` - doc: release: Update release notes with CVE
* :github:`45876` - boards: h747/h745: Update dual core flash and debug instructions
* :github:`45875` - bluetooth: hci_raw: avoid possible memory overflow in bt_buf_get_tx()
* :github:`45873` - soc: esp32: use PYTHON_EXECUTABLE from build system
* :github:`45872` - ci: make git credentials non-persistent
* :github:`45871` - ci: split Bluetooth workflow
* :github:`45870` - drivers: virt_ivshmem: Allow multiple instances of ivShMem devices
* :github:`45869` - doc: update requirements
* :github:`45865` - CODEOWNERS has errors
* :github:`45862` - USB ECM/RNDIS Can't receive broadcast messages
* :github:`45856` - blinky built with asserts on arduino nano
* :github:`45855` - Runtime fault when running with CONFIG_NO_OPTIMIZATIONS=y
* :github:`45854` - Bluetooth: Controller: llcp: Assert if LL_REJECT_IND PDU received while local and remote control procedure is pending
* :github:`45851` - For native_posix programs, k_yield doesn't yield to k_msleep threads
* :github:`45839` - Bluetooth: Controller: df: Possible memory overwrite if requested number of CTE is greater than allowed by configuration
* :github:`45836` - samples: Bluetooth: unicast_audio_server invalid check for ISO flags
* :github:`45834` - SMP Server Sample needs ``-DDTC_OVERLAY_FILE=usb.overlay`` for CDC_ACM
* :github:`45828` - mcumgr: img_mgmt_dfu_stopped is called on a successful erase
* :github:`45827` - bluetooth: bluetooth host: Adding the same device to resolving list
* :github:`45826` - Bluetooth: controller: Assert in lll.c when executing LL/CON/INI/BV-28-C
* :github:`45821` - STM32U5: clock_control: Issue to get rate of alt clock source
* :github:`45820` - bluetooth: host: Failed to set security right after reconnection with bonded Central
* :github:`45800` - Clock control settings for MCUX Audio Clock are Incorrect
* :github:`45799` - LED strip driver flips colors on stm32h7
* :github:`45795` - driver: pinctrl: npcx: get build error when apply pinctrl mechanism to a DT node without reg prop.
* :github:`45791` - drivers/usb: stm32: Superfluous/misleading Kconfig option
* :github:`45790` - drivers: can: stm32h7: wrong minimum timing values
* :github:`45784` - nominate me as zephyr contributor
* :github:`45783` - drivers/serial: ns16550: message is garbled
* :github:`45779` - Implementing ARCH_EXCEPT on Xtensa unmasks nested interrupt handling bug
* :github:`45778` - Unable to use thread aware debugging with STM32H743ZI
* :github:`45761` - MCUBoot with multi-image support on Zephyr project for i.MX RT1165 EVK
* :github:`45755` - ESP32 --defsym:1: undefined symbol \`printf' referenced in expression - using CONFIG_NEWLIB_LIBC
* :github:`45750` - tests-ci : kernel: timer: tickless test_sleep_abs Failed
* :github:`45751` - tests-ci : drivers: counter: basic_api test_multiple_alarms Failed
* :github:`45739` - stm32h7: DCache configuration is not correctly implemented
* :github:`45735` - Ethernet W5500 Driver via SPI is deadlocking
* :github:`45725` - Bluetooth: Controller: df: CTE request not disabled if run in single shot mode
* :github:`45714` - Unable to get TCA9548A to work
* :github:`45713` - twister: map generation fails
* :github:`45708` - Bluetooth: Controller: llcp: CTE request control procedure has missing support for LL_UNKNOWN_RSP
* :github:`45706` - tests: error_hook: mismatch testcases in testplan.json
* :github:`45702` - Reboot instead of halting the system
* :github:`45697` - RING_BUF_DECLARE broken for C++
* :github:`45691` - missing testcase tests/drivers/watchdog on nucleo stm32 boards
* :github:`45686` - missing testcase samples/drivers/led_pwm on nucleo stm32 boards
* :github:`45672` - Bluetooth: Controller: can't cancel periodic advertising sync create betwee ll_sync_create and reception of AUX__ADV_IND with SyncInfo
* :github:`45670` - Intel CAVS: log missing of tests/lib/p4workq/
* :github:`45664` - mqtt_publisher does not work in atsame54_xpro board
* :github:`45648` - pm: device_runtime: API functions fault when PM not supported
* :github:`45632` - ESP32 get error "undefined reference to \`sprintf' " while CONFIG_NEWLIB_LIBC=y
* :github:`45630` - ipc_service: Align return codes for available backends.
* :github:`45611` - GD32 build failure: CAN_MODE_NORMAL is redefined
* :github:`45593` - tests: newlib: test_malloc_thread_safety fails on nrf9160dk_nrf9160_ns
* :github:`45583` - Typo in definition of lsm6ds0.h
* :github:`45580` - ESP32-C3: CONFIG_ESP32_PHY_MAX_TX_POWER undeclared error when building with CONFIG_BT=y
* :github:`45578` - cmake: gcc --print-multi-directory doesn't print full path and checks fails
* :github:`45577` - STM32L4: USB MSC doesn't work with SD card
* :github:`45568` - STM32H7xx: Driver for internal flash memory partially uses a fixed flash program word size, which doesn't fit for all STM32H7xx SOCs (e.g. STM32H7A3, STM32H7B0, STM32H7B3) leading to potential flash data corruption
* :github:`45557` - doc: Some generic yaml bindings don't show up in dts/api/bindings.html#dt-no-vendor
* :github:`45549` - bt_gatt_write_without_response_cb doesn't use callback
* :github:`45545` - K_ESSENTIAL option doesn't have any effect on k_create_thread
* :github:`45543` - Build samples/bluetooth/broadcast_audio_sink raises an error
* :github:`45542` - Implementing firmware image decompression in img_mgmt_upload()
* :github:`45533` - uart_imx_poll_in() seems to be a blocking function
* :github:`45529` - GdbStub get_mem_region bug
* :github:`45518` - LPCXpresso55S69 incorrect device name for JLink runner
* :github:`45514` - UDP Packet socket doesn't do L2 header processing
* :github:`45505` - NXP MIMXRT1050-EVKB: MCUBoot Serial Recover: mcumgr hangs when trying to upload image
* :github:`45488` - Build warnings when no GPIO ports enabled
* :github:`45486` - MCUBootloader can't building for imxrt1160_evk_cm7 core
* :github:`45482` - Adding, building and linking Lua in a project
* :github:`45468` - Is uart_poll_in() blocking or not?
* :github:`45463` - null function pointer called when using shell logger backend under heavy load
* :github:`45458` - it8xxx2_evb: tests/drivers/pwm/pwm_api assertion fail
* :github:`45443` - SAMD21: Wrong voltage reference set by enum adc_reference
* :github:`45440` - Intel CAVS: intel_adsp_hda testsuite is failing due to time out on intel_adsp_cavs15
* :github:`45431` - Bluetooth: Controller: df: Wrong antenna identifier inserted after switch pattern exhausted
* :github:`45426` - Data buffer allocation: TCP stops working
* :github:`45421` - Zephyr build image(sample blinky application) not getting flash through NXP Secure Provisioning Tool V4.0 for i.MX RT 1166EVK
* :github:`45407` - Support for flashing the Zephyr based application on i.MX RT 1160 EVK through SDP Mode(USB-HID/ UART) & PyOCD runner
* :github:`45405` - up_squared: most of the test case timeout
* :github:`45404` - Bluetooth: Controller: Periodic advertising scheduling is broken, TIFS/TMAFS maintenance corrupted
* :github:`45401` - test-ci: adc: lpcxpresso55s28: adc pinctl init error
* :github:`45394` - Bug when sending a BLE proxy mesh msg of length exactly 2x the MTU size
* :github:`45390` - MinGW-w64: Cannot build Zephyr project
* :github:`45395` - Programming NXP i.MX RT OTP fuse with west
* :github:`45372` - PWM not working
* :github:`45371` - frdm_k64f: failed to run test case tests/net/socket/offload_dispatcher
* :github:`45367` - net: tcp: Scheduling dependent throughput
* :github:`45365` - Zephyr IP Stack Leaks in Promiscuous Mode
* :github:`45362` - sample/net/sockets/dumb_http_server not working with enc28j60
* :github:`45361` - samples/bluetooth/hci_usb doesn't build for nucleo_wb55rg
* :github:`45359` - USB DFU sample does not work on RT series boards
* :github:`45355` - Twister fails when west is not present
* :github:`45345` - Make FCB work with sectors larger than 16K
* :github:`45337` - timing: missing extern "C" in timing.h
* :github:`45336` - newlib: PRIx8 inttype incorrectly resolves to ``hh`` with newlib-nano
* :github:`45324` - NET_TCP_BACKLOG_SIZE is unused, it has to be either implemented or deleted
* :github:`45322` - tests: drivers: pwm_api fails with stm32 devices
* :github:`45316` - drivers: timer: nrf_rtc_timer: SYS_CLOCK_TICKS_PER_SEC too high for when CONFIG_KERNEL_TICKLESS=n
* :github:`45314` - subsystem: Bluetooth LLL: ASSERTION FAIL [!link->next] @ ZEPHYR_BASE/subsys/bluetooth/controller/ll_sw/ull_conn.c:1952
* :github:`45303` - drivers: can: CAN classic and CAN-FD APIs are mixed together and CAN-FD is a compile-time option
* :github:`45302` - Bus Fault with Xilinx UART Lite
* :github:`45280` - GPIO Configuration Issue
* :github:`45278` - twister: Run_id check feature breaks workflows with splitted building and testing.
* :github:`45276` - Add support for multiple zero-latency irq priorities
* :github:`45268` - Error newlibc ESP32
* :github:`45267` - kernel: Recursive spinlock in k_msgq_get() in the context of a k_work_poll handler
* :github:`45266` - teensy41: pwm sample unable to build
* :github:`45261` - mcumgr: conversion of version to string fails (snprintf format issue)
* :github:`45248` - Avoid redefining 32-bit integer types like __UINT32_TYPE__
* :github:`45237` - RFC: API Change: Bluetooth - replace callback in bt_gatt_subscribe_param
* :github:`45229` - sample: spi: bitbang: spi_bitbang sample has improper definition of its test
* :github:`45226` - samples/drivers/led_pwm: Build failure
* :github:`45219` - drivers: can: transceivers are initialized after controllers
* :github:`45209` - Minimal LIBC missing macros
* :github:`45189` - sam_e70b_xplained: failed to run test case tests/benchmarks/cmsis_dsp/basicmath
* :github:`45186` - Building Zephyr on Ubuntu fails when ZEPHYR_TOOLCHAIN_VARIANT is set to llvm
* :github:`45185` - Intel CAVS: tests under tests/ztest/register/ are failing
* :github:`45182` - MCUBoot Usage Fault on RT1060 EVK
* :github:`45172` - Bluetooth: attr->user_data is NULL when doing discovery with BT_GATT_DISCOVER_ATTRIBUTE
* :github:`45155` - STM32 serial port asynchronous initialization TX DMA channel error
* :github:`45152` - ``tests/subsys/logging/log_stack`` times out on ``qemu_arc_hs6x`` with twister
* :github:`45129` - mimxrt1050_evk: GPIO button pushed only once
* :github:`45123` - driver: can_stm32fd: STM32U5 series support
* :github:`45118` - Error claiming older doc is the latest
* :github:`45112` - Cannot install watchdog timeout on STM32WB
* :github:`45111` - fvp_base_revc_2xaemv8a: multiple test failures
* :github:`45110` - fvp_baser_aemv8r_smp: multiple test failures
* :github:`45108` - fvp_baser_aemv8r: multiple test failures
* :github:`45089` - stm32: usart: rx pin inversion missing
* :github:`45073` - nucleo_h743zi failing twister builds due to NOCACHE_MEMORY warning
* :github:`45072` - [Coverity CID: 248346] Copy into fixed size buffer in /subsys/bluetooth/shell/bt.c
* :github:`45045` - mec172xevb_assy6906: tests/arch/arm/arm_irq_vector_table failed to run
* :github:`45012` - sam_e70b_xplained: failed to run test case tests/drivers/can/timing/drivers.can.timing
* :github:`45009` - twister: many tests failed with "mismatch error" after met a SerialException.
* :github:`45008` - esp32: i2c_read() error was returned successfully at the bus nack
* :github:`45006` - Bluetooth HCI SPI fault
* :github:`44997` - zcbor build error when ZCBOR_VERBOSE is set
* :github:`44985` - tests: drivers: can: timing: failure to set bitrate of 800kbit/s on nucleo_g474re
* :github:`44977` - samples: modules: canopennode: failure to initialize settings subsystem on nucleo_g474re
* :github:`44966` - build fails for nucleo wb55 rg board.
* :github:`44956` - Deprecate the old spi_cs_control fields
* :github:`44947` - cmsis_dsp: matrix: error during building libraries.cmsis_dsp.matrix.unary_f64 for qemu_cortex_m3
* :github:`44940` - rom_report creates two identical identifier but for different path in rom.json
* :github:`44938` - Pin assignments SPIS nrf52
* :github:`44931` - Bluetooth: Samples: broadcast_audio_source stack overflow
* :github:`44927` - Problems in using STM32 Hal Library
* :github:`44926` - intel_adsp_cavs25: can not build multiple tests under tests/posix/ and tests/lib/newlib/
* :github:`44921` - Can't run hello_world using mps_an521_remote
* :github:`44913` - Enabling BT_CENTRAL breaks MESH advertising
* :github:`44910` - Issue when installing Python additional dependencies
* :github:`44904` - PR#42879 causes a hang in the shell history
* :github:`44902` - x86: FPU registers are not initialised for userspace (eager FPU sharing)
* :github:`44887` - it8xxx2_evb: tests/kernel/sched/schedule_api/ assertion fail
* :github:`44886` - Unable to boot Zephyr on FVP_BaseR_AEMv8R
* :github:`44882` - doc: Section/chapter "Supported Boards" missing from pdf documentation
* :github:`44874` - error log for locking a mutex in an ISR
* :github:`44872` - k_timer callback timing incorrect with multiple lightly loaded cores
* :github:`44871` - mcumgr endless loop in mgmt_find_handler
* :github:`44864` - tcp server tls errorserver has no certificate
* :github:`44856` - Various kernel timing-related tests fail on hifive1 board
* :github:`44837` - drivers: can: mcp2515: can_set_timing() performs a soft-reset of the MCP2515, discarding configured mode
* :github:`44834` - Add support for gpio expandeux NXP PCAL95xx
* :github:`44831` - west flash for nucleo_u575zi_q is failing
* :github:`44830` - Unable to set compiler warnings on app exclusively
* :github:`44822` - STM32F103 Custom Board Clock Config Error
* :github:`44811` - STRINGIFY does not work with mcumgr
* :github:`44798` - promote Michael to the Triage permission level
* :github:`44797` - x86: Interrupt handling not working for cores <> core0 - VMs not having core 0 assigned cannot handle IRQ events.
* :github:`44778` - stdint types not recognized in soc_common.h
* :github:`44777` - disco_l475_iot1 default CONFIG_BOOT_MAX_IMG_SECTORS should be 512 not 256
* :github:`44758` - intel_adsp: kernel.common tests are failing
* :github:`44752` - Nominate @brgl as contributor
* :github:`44750` - Using STM32 internal ADC with interrupt:
* :github:`44737` - Configurable LSE driving capability on H735
* :github:`44734` - regression in GATT/SR/GAS/BV-06-C qualification test case
* :github:`44731` - mec172xevb_assy6906: test/drivers/adc/adc_api test case build fail
* :github:`44730` - zcbor ARRAY_SIZE conflict with zephyr include
* :github:`44728` - Fresh Build and Flash of Bluetooth Peripheral Sample Produces Error on P-Nucleo-64 Board (STM32WBRG)
* :github:`44724` - can: drivers: mcux: flexcan: correctly handle errata 5461 and 5829
* :github:`44722` - lib: posix: support for pthread_attr_setstacksize
* :github:`44721` - drivers: can: mcan: can_mcan_add_rx_filter() unconditionally adds offset for extended CAN-ID filters
* :github:`44706` - drivers: can: mcp2515: mcp2515_set_mode() silently ignores unsupported modes
* :github:`44705` - Windows getting started references wget usage without step for installing wget
* :github:`44704` - Bootloader linking error while building for RPI_PICO
* :github:`44701` - advertising with multiple advertising sets fails with BT_HCI_ERR_MEM_CAPACITY_EXCEEDED
* :github:`44691` - west sign fails to find header size or padding
* :github:`44690` - ST kit b_u585i_iot02a and OCTOSPI flash support
* :github:`44687` - drivers: can: missing syscall verifier for can_get_max_filters()
* :github:`44680` - drivers: can: mcux: flexcan: can_set_mode() resets IP, discarding installed RX filters
* :github:`44678` - mcumgr: lib: cmd: img_mgmt: Warning about struct visibility emitted with certain Kconfig options
* :github:`44676` - mimxrt1050_evk_qspi crash or freeze when accessing flash
* :github:`44670` - tests-ci : kernel: tickless: concept test Timeout
* :github:`44671` - tests-ci : kernel: scheduler: deadline test failed
* :github:`44672` - tests-ci : drivers: counter: basic_api test failed
* :github:`44659` - Enhancement to k_thread_state_str()
* :github:`44621` - ASCS: Sink ASE stuck in Releasing state
* :github:`44600` - NMI testcase fails on tests/arch/arm/arm_interrupt with twister
* :github:`44586` - nrf5340: Random crashes when a lot of interrupts is triggered
* :github:`44584` - SWO log output does not compile for STM32WB55
* :github:`44573` - Do we have complete RNDIS stack available for STM32 controller in zephyr ?
* :github:`44558` - Possible problem with timers
* :github:`44557` - tests: canbus: isotp: implementation: fails on mimxrt1024_evk
* :github:`44553` - General Question: Compilation Time >15 Minutes?
* :github:`44546` - Bluetooth: ISO: Provide stream established information
* :github:`44544` - shell_module/sample.shell.shell_module.usb fails for thingy53_nrf5340_cpuapp_ns
* :github:`44539` - twister fails on several stm32 boards with tests/arch/arm testcases
* :github:`44535` - mgmt/mcumgr/lib: Incorrect use of MGMT_ERR_ENOMEM, in most cases where it is used
* :github:`44531` - bl654_usb without mcuboot maximum image size is not limited
* :github:`44530` - xtensa xcc build usb stack fail (newlib)
* :github:`44519` - Choosing CONFIG_CHIP Kconfig breaks LwM2M client client example build
* :github:`44507` - net: tcp: No retries of a TCP FIN message
* :github:`44504` - net: tcp: Context still open after timeout on connect
* :github:`44497` - Add guide for disabling MSD on JLink OB devices and link to from smp_svr page
* :github:`44495` - sys_slist_append_list and sys_slist_merge_slist corrupt target slist if appended or merged list is empty
* :github:`44489` - Docs: missing documentation related to MCUBOOT serial recovery feature
* :github:`44488` - Self sensor library from private git repository
* :github:`44486` - nucleo_f429zi: multiple networking tests failing
* :github:`44484` - drivers: can: mcp2515: The MCP2515 driver uses wrong timing limits
* :github:`44483` - drivers: can: mcan: data phase prescaler bounds checking uses wrong value
* :github:`44482` - drivers: can: mcan: CAN_SJW_NO_CHANGE not accepted with CONFIG_ASSERT=y
* :github:`44480` - bt_le_adv_stop null pointer exception
* :github:`44478` - Zephyr on Litex/Vexriscv not booting
* :github:`44473` - net: tcp: Connection does not properly terminate when connection is lost
* :github:`44453` - Linker warnings in watchdog samples and tests built for twr_ke18f
* :github:`44449` - qemu_riscv32 DHCP fault
* :github:`44439` - Bluetooth: Controller: Extended and Periodic Advertising HCI Component Conformance Test Coverage
* :github:`44427` - SYS_CLOCK_HW_CYCLES_PER_SEC not correct for hifive1_revb / FE310
* :github:`44404` - Porting stm32h745 for zephyr
* :github:`44397` - twister: test case error number discrepancy in the result
* :github:`44391` - tests-ci : peripheral: gpio: 1pin test Timeout
* :github:`44438` - tests-ci : arch: interrupt: arm.nmi test Unknown
* :github:`44386` - Zephyr SDK 0.14.0 does not contain a sysroots directory
* :github:`44374` - Twister: Non-intact handler.log files when running tests and samples folders
* :github:`44361` - drivers: can: missing syscall verifier for can_set_mode()
* :github:`44349` - Nordic BLE fails assertion when logging is enabled
* :github:`44348` - drivers: can: z_vrfy_can_recover() does not compile
* :github:`44347` - ACRN: multiple tests failed due to incomplete log
* :github:`44345` - drivers: can: M_CAN bus recovery function has the wrong signature
* :github:`44344` - drivers: can: mcp2515 introduces a hard dependency on CONFIG_CAN_AUTO_BUS_OFF_RECOVERY
* :github:`44338` - intel_adsp_cavs18: multiple tests failed due to non-intact log
* :github:`44314` - rddrone_fmuk66: fatal error upon running basic samples
* :github:`44307` - LE Audio: unicast stream/ep or ACL disconnect reset should not terminate the CIG
* :github:`44296` - Bluetooth: Controller: DF: IQ sample of CTE signals are not valid if PHY is 1M
* :github:`44295` - Proposal for subsystem for media
* :github:`44284` - LE Audio: Missing recv_info for BAP recv
* :github:`44283` - Bluetooth: ISO: Add TS flag for ISO receive
* :github:`44274` - direction_finding_connectionless_rx/tx U-Blox Nora B106 EVK
* :github:`44271` - mgmt/mcumgr: BT transport: Possible buffer overflow (and crash) when reciving SMP when CONFIG_MCUMGR_BUF_SIZE < transport MTU
* :github:`44262` - mimxrt1050_evk: build time too long for this platform
* :github:`44261` - twister: some changes make test cases work abnormally.
* :github:`44259` - intel_adsp_cavs18: tests/lib/icmsg failed
* :github:`44255` - kernel: While thread is running [thread_state] is in _THREAD_QUEUED
* :github:`44251` - ``CONFIG_USB_DEVICE_REMOTE_WAKEUP`` gets default value `y` if not set
* :github:`44250` - Can't build WiFi support on esp32, esp32s2, esp32c3
* :github:`44247` - west build -b nrf52dk_nrf52832 samples/boards/nrf/clock_skew failed
* :github:`44244` - Bluetooth: Controller: ISO BIS payload counter rollover
* :github:`44240` - tests: drivers: pwm_api: PWM driver test doesn't compile for mec172xevb_assy6906
* :github:`44239` - boards: arm: mec152x/mec172x CONFIG_PWM=y doesn't compile PWM driver
* :github:`44231` - Problems trying to configure the environment
* :github:`44218` - libc: minimal: qsort_r not working as expected
* :github:`44216` - tests: drivers: counter_basic_api: Build failing on LPCxpresso55s69_cpu
* :github:`44215` - tests: subsys: cpp: over half of tests failing on macOS but do not fail on Linux
* :github:`44213` - xtensa arch_cpu_idle not correct on cavs18+ platforms
* :github:`44199` - (U)INT{32,64}_C macro constants do not match the Zephyr stdint types
* :github:`44192` - esp32 flash custom partition table
* :github:`44186` - Possible race condition in TCP connection establishment
* :github:`44145` - Zephyr Panic dump garbled on Intel cAVS platforms
* :github:`44134` - nRF52833 current consumption too high
* :github:`44128` - Deprecate DT_CHOSEN_ZEPHYR_FLASH_CONTROLLER_LABEL
* :github:`44125` - drivers/ethernet/eth_stm32_hal.c: eth_stm32_hal_set_config() always returns -ENOTSUP (-134)
* :github:`44110` - Bluetooth: synced callback may have wrong addr type
* :github:`44109` - Device tree error while porting zephyr for a custom board
* :github:`44108` - ``CONFIG_ZTEST_NEW_API=y`` broken with ``CONFIG_TEST_USERSPACE=y``
* :github:`44107` - The SMP nsim boards are started incorrectly when launching on real HW
* :github:`44106` - test of dma drivers fails on dma_m2m_loop_test
* :github:`44101` - a build error when CONFIG_MULTITHREADING=n
* :github:`44092` - rand32_ctr_drbg fails to call the respective initialization routing
* :github:`44089` - logging: shell backend: null-deref when logs are dropped
* :github:`44072` - mcumgr smp source is checking variable without it being set and causing automated test failures
* :github:`44070` - west spdx TypeError: 'NoneType' object is not iterable
* :github:`44043` - Usage fault when running flash shell sample on RT1064 EVK
* :github:`44029` - Unexpected behavior of CONFIG_LOG_OVERRIDE_LEVEL
* :github:`44018` - net: tcp: Running out of buffers by packet loss
* :github:`44012` - net: tcp: Cooperative scheduling transfer size limited
* :github:`44010` - frdm_k64f: failed to run testcase samples/kernel/metairq_dispatch/
* :github:`44006` - intel_adsp_cavs25: tests/drivers/dma/loop_transfer failed
* :github:`44004` - Bluetooth: ascs: Invalid ASE state transition: Releasing -> QoS Configured
* :github:`43993` - doc: Fix minor display issue for west spdx extension command
* :github:`43990` - How to make civetweb run on a specified network card
* :github:`43988` - Extracting the index of a child node referenced using alias
* :github:`43980` - No PWM signal on Nucleo F103RB using TIM1 CH2 PA9
* :github:`43976` - [lwm2m_engine / sockets] Possibility to decrease timeout on connect()
* :github:`43975` - tests: kernel: scheduler: Test from kernel.scheduler.slice_perthread fails on some nrf platforms
* :github:`43972` - UART: uart_poll_in() not working in Shell application
* :github:`43964` - k_timer callback timing gets unreliable with more cores active
* :github:`43950` - code_relocation: Add NOCOPY feature breaks windows builds
* :github:`43949` - drivers: espi: mec172x: ESPI flash write and erase operations not working
* :github:`43948` - drivers: espi: xec: MEC172x: Driver enables all bus interrupts but doesn't handle them causing starvation
* :github:`43946` - Bluetooth: Automatic ATT MTU negotiation
* :github:`43940` - Support for CH32V307 devices
* :github:`43930` - nRF52833 High Power Consumption with 32.768kHz RC Oscillator
* :github:`43924` - ipc_service: Extend API with zero-copy send
* :github:`43899` - can: stm32: Build issue on g4 target
* :github:`43898` - Twister: test case number discrepancy in the result xml.
* :github:`43891` - networking: detect initialisation failures of backing drivers
* :github:`43888` - adc: stm32: compilation broken on G4 targets
* :github:`43874` - mec172xevb_assy6906: tests/drivers/spi/spi_loopback test case UART output wrong.
* :github:`43873` - tests:ci:lpcxpresso55s06: portability.posix.common.newlib meet hard fault
* :github:`43872` - tests:ci:lpcxpresso55s06:libraries.cmsis_dsp.matrix.unary_f32 test fails
* :github:`43870` - test:ci:lpcxpresso55s06: hwinfo test meet hardfault
* :github:`43867` - mec172xevb_assy6906: tests/drivers/pwm/pwm_api test case build fail.
* :github:`43865` - Add APDS-9250 I2C Driver
* :github:`43864` - mec172xevb_assy6906: tests/drivers/pwm/pwm_loopback test case failed to build
* :github:`43858` - mcumgr seems to lock up when it receives command for group that does not exist
* :github:`43856` - mec172xevb_assy6906: tests/drivers/i2c/i2c_api i2c_test failed
* :github:`43851` - LE Audio: Make PACS location optional
* :github:`43838` - mec172xevb_assy6906: tests/drivers/adc/adc_dma test case build fail
* :github:`43842` - tests-ci : libraries: encoding: jwt test Timeout
* :github:`43841` - tests-ci : net: socket: tls.preempt test Timeout
* :github:`43835` - ``zephyr_library_compile_options()`` fails to apply if the same setting is set for multiple libraries in a single project
* :github:`43834` - DHCP not work in ``Intel@PSE`` on ``Intel@EHL``
* :github:`43830` - LPC55S69 Not flashing to second core.
* :github:`43829` - http_client: http_client_req() returns incorrect number of bytes sent
* :github:`43818` - lib: os: ring_buffer: recent changes cause UART shell to fail on qemu_cortex_a9
* :github:`43816` - tests: cmsis_dsp: rf16 and cf16 tests are not executed on Native POSIX
* :github:`43807` - Test "cpp.libcxx.newlib.exception" failed on platforms which use zephyr.bin to run tests.
* :github:`43794` - BMI160 Driver: Waiting time between SPI activation and reading CHIP IP is too low
* :github:`43793` - Alllow callbacks to CDC_ACM events
* :github:`43792` - mimxrt1050_evk: failed to run tests/net/socket/tls and tests/subsys/jwt
* :github:`43786` - [Logging] log context redefined with XCC when use zephyr logging api with SOF
* :github:`43757` - it8xxx2_evb: k_busy_wait is not working accurately for ITE RISC-V
* :github:`43756` - drivers: gpio: pca95xx does not compile with CONFIG_GPIO_PCA95XX_INTERRUPT
* :github:`43750` - ADC Driver build is broken for STM32L412
* :github:`43745` - Xtensa XCC Build spi_nor.c fail
* :github:`43742` - BT510 lis2dh sensor does not disconnect SAO pull-up resistor
* :github:`43739` - tests: dma: random failure on dma loopback suspend and resume case on twr_ke18f
* :github:`43732` - esp32: MQTT publisher sample stuck for both TLS and non-TLS sample.
* :github:`43728` - esp32 build error while applicaton in T2 topology
* :github:`43718` - Bluetooth: bt_conn: Unable to allocate buffer within timeout
* :github:`43715` - ESP32 UART devicetree binding design issue
* :github:`43713` - intel_adsp_cavs: tests are not running with twister
* :github:`43711` - samples: tfm: psa Some TFM/psa samples fail on nrf platforms
* :github:`43702` - samples/arch/smp/pktqueue not working on ESP32
* :github:`43700` - mgmt/mcumgr: Strange Kconfig names for MCUMGR_GRP_ZEPHYR_BASIC log levels
* :github:`43699` - Bluetooth Mesh working with legacy and extended advertising simultaneously
* :github:`43693` - LE Audio: Rename enum bt_audio_pac_type
* :github:`43669` - LSM6DSL IMU driver - incorrect register definitions
* :github:`43663` - stm32f091 test tests/kernel/context/ test_kernel_cpu_idle fails
* :github:`43661` - Newlib math library not working with user mode threads
* :github:`43656` - samples:bluetoooth:direction_finding_connectionless_rx antenna switching not working with nRF5340
* :github:`43654` - Nominate Mehmet Alperen Sener as Bluetooth Mesh Collaborator
* :github:`43649` - Best practice for "external libraries" and cmake
* :github:`43647` - Bluetooth: LE multirole: connection as central is not totally unreferenced on disconnection
* :github:`43640` - stm32f1: Convert ``choice GPIO_STM32_SWJ`` to dt
* :github:`43636` - Documentation incorrectly states that C++ new and delete operators are unsupported
* :github:`43630` - Zperf tcp download stalls with window size becoming 0 on Zephyr side
* :github:`43618` - Invalid thread indexes out of userspace generation
* :github:`43600` - tests: mec15xxevb_assy6853: most of the test cases failed
* :github:`43587` - arm: trustzone: Interrupts using FPU causes usage fault when ARM_NONSECURE_PREEMPTIBLE_SECURE_CALLS is disabled
* :github:`43580` - hl7800: tcp stack freezes on slow response from modem
* :github:`43573` - return const struct device \* for device_get_binding(const char \*name)
* :github:`43568` - ITE eSPI driver expecting OOB header also along with OOB data from app code - espi_it8xxx2_send_oob() & espi_it8xxx2_receive_oob
* :github:`43567` - Bluetooth: Controller: ISO data packet dropped on payload array wraparound
* :github:`43553` - Request to configure SPBTLE-1S of STEVAL-MKSBOX1V1
* :github:`43552` - samples: bluetooth: direction_finding: Sample fails on nrf5340
* :github:`43543` - RFC: API Change: Bluetooth: struct bt_auth_cb field removal
* :github:`43525` - Default network interface selection by up-state
* :github:`43518` - 'DT_N_S_soc_S_timers_40012c00_S_pwm' undeclared
* :github:`43513` - it8xxx2_evb: tests/kernel/sleep failed
* :github:`43512` - wifi: esp_at: sockets not cleaned up on close
* :github:`43511` - lvgl: upgrade to 8.2 build problem
* :github:`43505` - ``py`` command not found when using nanopb on windows
* :github:`43503` - Build Version detection not working when Zephyr Kernel is a Git Submodule
* :github:`43490` - net: sockets: userspace accept() crashes with NULL addr/addrlen pointer
* :github:`43487` - LE Audio: Broadcast audio sample
* :github:`43476` - tests: nrf: Output of nrf5340dk_nrf5340_cpuapp_ns not available
* :github:`43470` - wifi: esp_at: race condition on mutex's leading to deadlock
* :github:`43469` - USBD_CLASS_DESCR_DEFINE section name bug
* :github:`43465` - 'Malformed data' on bt_data_parse() for every ble adv packet on bbc_microbit
* :github:`43456` - winc1500 wifi driver fails to build
* :github:`43452` - Missing SPI SCK on STM32F103vctx
* :github:`43448` - Deadlock detection in ``bt_att_req_alloc`` ineffective when ``CONFIG_BT_RECV_IS_RX_THREAD=n``
* :github:`43440` - Bluetooth: L2CAP send le data lack calling net_buf_unref() function
* :github:`43430` - Is there any plan to develop zephyr to mircrokenrel architecture?
* :github:`43425` - zephyr+Linux+hypervisor on Raspberry Pi 4
* :github:`43419` - Pull request not updated after force push the original branch
* :github:`43411` - STM32 SPI DMA issue
* :github:`43409` - frdm_k64f: USB connection gets lost after continuous testing
* :github:`43400` - nrf board system_off sample application does not work on P1 buttons
* :github:`43392` - Bluetooth: ISO: unallocated memory written during mem_init
* :github:`43389` - LoRaWAN on Nordic and SX1276 & SX1262 Shield
* :github:`43382` - mgmt/mcumgr/lib: Echo OS command echoes back empty string witn no error when string is too long to handle
* :github:`43378` - TLS availability misdetection when ZEPHYR_TOOLCHAIN_VARIANT is not set
* :github:`43372` - pm: lptim: stm32h7: pending irq stops STANDBY
* :github:`43369` - Use Zephyr crc implementation for LittleFS
* :github:`43359` - Bluetooth: ASCS QoS config should not fail for preferred settings
* :github:`43348` - twister:skipped case num issue when use --only-failed.
* :github:`43345` - Bluetooth: Controller: Extended and Periodic Advertising Link Layer Component Test Coverage
* :github:`43344` - intel_adsp_cavs25: samples/subsys/logging/syst is failing with a timeout when the sample is enabled to run on intel_adsp_cavs25
* :github:`43333` - RFC: Bring zcbor as CBOR decoder/encoder in replacement for TinyCBOR
* :github:`43326` - Unstable SD Card performance on Teensy 4.1
* :github:`43319` - Hardware reset cause api sets reset pin bit every time the api is called
* :github:`43316` - stm32wl55 cannot enable PLL source as MSI
* :github:`43314` - LE Audio: BAP ``sent`` callback missing
* :github:`43310` - disco_l475_iot1: BLE not working
* :github:`43306` - sam_e70b_xplained: the platform will be not normal after running test case tests/subsys/usb/desc_sections/
* :github:`43305` - wifi: esp_at: shell command "wifi scan" not working well
* :github:`43295` - mimxrt685_evk_cm33: Hard fault with ``CONFIG_FLASH=y``
* :github:`43292` - NXP RT11xx devicetree missing GPIO7, GPIO8, GPIO12
* :github:`43285` - nRF5x System Off demo fails to put the nRF52840DK into system off
* :github:`43284` - samples: drivers: watchdog failed in mec15xxevb_assy6853
* :github:`43277` - usb/dfu: upgrade request is not called while used from mcuboot, update doesn't happen
* :github:`43276` - tests: up_squared: testsuite tests/kernel/sched/deadline/ failed
* :github:`43271` - tests: acrn_ehl_crb: tests/arch/x86/info failed
* :github:`43268` - LE Audio: Add stream ops callbacks for unicast server
* :github:`43258` - HCI core data buffer overflow with ESP32-C3 in Peripheral HR sample
* :github:`43248` - Bluetooth: Mesh: Unable used with ext adv on native_posix
* :github:`43235` - STM32 platform does not handle large i2c_write() correctly
* :github:`43230` - Deprecate DT_CHOSEN_ZEPHYR_ENTROPY_LABEL
* :github:`43229` - nvs: change nvs_init to accept a device reference
* :github:`43218` - nucleo_wb55rg: Partition update required to use 0.13.0 BLE firmware
* :github:`43205` - UART console broken since 099850e916ad86e99b3af6821b8c9eb73ba91abf
* :github:`43203` - BLE: With BT_SETTINGS and BT_SMP, second connection blocks the system in connection event notification
* :github:`43192` - lvgl: upgrade LVGL to 8.1 build error
* :github:`43190` - Bluetooth: audio: HCI command timeout on LE Setup Isochronous Data Path
* :github:`43186` - Bluetooth: import nrf ble_db_discovery library to zephyr
* :github:`43172` - CONFIG_BT_MESH_ADV_EXT doesn't build without CONFIG_BT_MESH_RELAY
* :github:`43163` - Applications not pulling LVGL cannot be configured or compiled
* :github:`43159` - hal: stm32: ltdc pins should be very-high-speed
* :github:`43142` - Ethernet and PPP communication conflicts
* :github:`43136` - STM32 Uart log never take effect
* :github:`43132` - Thingy:52 i2c_nrfx_twim: Error 0x0BAE0001 occurred for message
* :github:`43131` - LPCXPresso55S69-evk dtsi file incorrect
* :github:`43130` - STM32WL ADC idles / doesn't work
* :github:`43117` - Not possible to create more than one shield.
* :github:`43109` - drivers:peci:xec: PECI Command 'Ping' does not work properly
* :github:`43099` - CMake: ARCH roots issue
* :github:`43095` - Inconsistent logging config result resulted from menuconfig.
* :github:`43094` - CMake stack overflow after changing the build/zephyr/.config, even just timestamp.
* :github:`43090` - mimxrt685_evk_cm33: USB examples not working on Zephyr v3.0.0
* :github:`43087` - XCC build failures for all intel_adsp tests/platforms
* :github:`43081` - [Slack] Slack invite works only on very few mail addresses - this should be changed!
* :github:`43066` - stm32wl55 true RNG falls in seed error
* :github:`43058` - PACS: Fix PAC capabilities to be exposed in PAC Sink/Source characteristic
* :github:`43057` - twister: error while executing twister script on windows machine for sample example code
* :github:`43046` - Wifi sample not working with disco_l475_iot1
* :github:`43034` - Documentation for ``console_putchar`` function is incorrect
* :github:`43024` - samples: tests task wdt fails on some stm32 nucleo target boards
* :github:`43020` - samples/subsys/fs/littlefs does not work with native_posix board on WSL2
* :github:`43016` - Self inc/dec works incorrectly with logging API.
* :github:`42997` - Bluetooth: Controller: Receiving Periodic Advertising Reports with larger AD Data post v3.0.0-rc2
* :github:`42988` - Specify and standardize undefined behavior on empty response from server for http_client
* :github:`42960` - Bluetooth: Audio: Codec config parsing and documentation
* :github:`42953` - it8xxx2_evb: Test in tests/kernel/timer/timer_api fail.
* :github:`42940` - Please add zsock_getpeername
* :github:`42928` - CSIS: Invalid usage of bt_conn_auth_cb callbacks
* :github:`42888` - Bluetooth: Controller: Extended Advertising - Advertising Privacy Support
* :github:`42881` - Arduino due missing 'arduino_i2c' alias.
* :github:`42877` - k_cycle_get_32 returns 0 on start-up on native_posix
* :github:`42874` - ehl_crb: samples/kernel/metairq_dispatch fails when it is run multiple times
* :github:`42870` - Build error due to minimal libc qsort callback cast
* :github:`42865` - openocd configurations missing for stm32mp157c_dk2 board
* :github:`42857` - sam_e70b_xplained: failed to run test cases tests/net/npf and tests/net/bridge
* :github:`42856` - Bluetooth: BAP: Unicast client sample cannot connect
* :github:`42854` - k_busy_wait() never returns when called - litex vexriscv soc and cpu on xilinx ac701 board
* :github:`42851` - it8xxx2_evb: Mutlitple tests in tests/kernel/contex fail.
* :github:`42850` - CONFIG items disappeared in zephyr-3.0-rc3
* :github:`42848` - it8xxx2_evb: Test in /tests/subsys/cpp/libcxx fail.
* :github:`42847` - it8xxx2_evb: Multiple tests in tests/subsys/portability/cmsis_rtos_v2 fail.
* :github:`42831` - Do the atomic* functions require protection from optimization?
* :github:`42829` - GATT: bt_gatt_is_subscribed does not work as expected when called from bt_conn_cb->connected
* :github:`42825` - MQTT client disconnection (EAGAIN) on publish with big payload
* :github:`42817` - ADC on ST Nucleo H743ZI board with DMA
* :github:`42800` - gptp_mi neighbor_prop_delay is not included in sync_receipt_time calculation due cast from double to uint64_t
* :github:`42799` - gptp correction field in sync follow up message does not have correct endianness
* :github:`42774` - pinctrl-0 issue in device tree building
* :github:`42723` - tests: kernel.condvar: child thread is not running
* :github:`42702` - upsquared: drivers.counter.cmos.seconds_rate is failing with busted maximum bound when run multiple times
* :github:`42685` - Socket echo server sample code not working in Litex Vexriscv cpu (Xilinx AC701 board)
* :github:`42680` - Missing bt_conn_(un)ref for LE Audio and tests
* :github:`42599` - tests: kernel: mem_protect: mem_protect fails after reset on stm32wb55 nucleo
* :github:`42588` - lsm6dso
* :github:`42587` - LE Audio: BAP Unicast API use array of pointers instead of array of streams
* :github:`42559` - 6LoCAN samples fail due to null pointer dereference
* :github:`42548` - acrn_ehl_crb: twister failed to run tests/subsys/logging due to UnicodeEncodeError after switching to log v2
* :github:`42544` - Bluetooth: controller: llcp: handling of remote procedures with and without instant
* :github:`42534` - BLE Testing functions do not work properly
* :github:`42530` - Possibility to define pinmux item for Pin Control as a plain input/output
* :github:`42524` - Wrong implementation of SPI driver
* :github:`42520` - bt_ots Doxygen documentation does not seem to be included in the Zephyr project documentation.
* :github:`42518` - Bluetooth Ext Adv:Sync: While simultaneous advertiser are working, and skip is non-zero, sync terminates repeatedly
* :github:`42508` - TWIHS hangs
* :github:`42496` - ARM M4 MPU backed userspace livelocks on stack overflow when FPU enabled
* :github:`42478` - Unable to build mcuboot for b_u585i_iot02a
* :github:`42453` - Unable to update Firmware using MCUBoot on STM32G0 series
* :github:`42436` - NXP eDMA overrun errors on SAI RX
* :github:`42434` - NXP I2S (SAI) driver bugs
* :github:`42432` - i2c: unable to configure SAMD51 i2c clock frequency for standard (100 KHz) speeds
* :github:`42425` - i2c: sam0 driver does not prevent simultaneous transactions
* :github:`42351` - stm32H743 nucleo board cannot flash after tests/drivers/flash
* :github:`42343` - LE Audio: PACS: Server change location
* :github:`42342` - LE Audio: PACS notify changes to locations
* :github:`42333` - Cannot write to qspi flash in adafruit feather nrf52840, device tree is wrong
* :github:`42310` - Support for TCA6408A gpio expander, which existing driver as a base?
* :github:`42306` - Bluetooth: Host: More than ``CONFIG_BT_EATT_MAX`` EATT channels may be created
* :github:`42290` - ESP32 - Heltec Wifi - Possibly invalid CONFIG_ESP32_XTAL_FREQ setting (40MHz). Detected 26 MHz
* :github:`42235` - SocketCAN not supported for NUCLEO H743ZI
* :github:`42227` - Teensy41 support SDHC - Storage init Error
* :github:`42189` - Sub 1GHz Support for CC1352
* :github:`42181` - Ethernet PHY imxrt1060 Teensy not working, sample with DHCPv4_client fails
* :github:`42113` - Modbus RTU allow non-compliant client configuration
* :github:`42108` - upsquared: isr_dynamic & isr_regular test is failing
* :github:`42102` - doc: searches for sys_reboot() are inconsistent
* :github:`42096` - LE Audio: Media: Pass structs by reference and not value
* :github:`42090` - Bluetooth: Audio: MCS BSIM notification length warning
* :github:`42083` - Bluetooth: ISO: Packet Sequence Number should be incremented for each channel
* :github:`42081` - Direction finding code support for nrf52811?
* :github:`42072` - west: spdx: Blank FileChecksum field for missing build file
* :github:`42050` - printk bug: A function called from printk is invoked three times given certain configuration variables
* :github:`42015` - LED api can't be called from devicetree phandle
* :github:`42011` - Establish guidelines for TSC working groups
* :github:`42000` - BQ274xx driver not working correctly
* :github:`41995` - tracing: riscv: Missing invoking the sys_trace_isr_exit()
* :github:`41947` - lpcxpresso55s16 SPI hardware chip select not working
* :github:`41946` - Bluetooth: ISO: Sending on RX-only CIS doesn't report error
* :github:`41944` - Assertion triggered when system is going to PM_STATE_SOFT_OFF
* :github:`41931` - drivers: audio: tlv320dac310x: device config used as non-const
* :github:`41924` - drivers: dma/i2c: nios2: config used as non-const
* :github:`41921` - Fast USB DFU workflow
* :github:`41899` - ESP32 Wifi mDNS
* :github:`41874` - Recursive spinlock error on ARM in specific circumstances
* :github:`41864` - ESP32 Wifi AP Mode DHCP Service
* :github:`41823` - Bluetooth: Controller: llcp: Remote request are dropped due to lack of free proc_ctx
* :github:`41788` - Bluetooth: Controller: llcp: Refectored PHY Update procedure asserts while waiting for free buffers to send notifications
* :github:`41787` - Alignment issue on Cortex M7
* :github:`41777` - periodic_adv periodic_sync lost data
* :github:`41773` - LoRaWAN: Unable to correctly join networks of any version on LTS
* :github:`41742` - stm32g0: stm32_temp: not working
* :github:`41710` - tests: ztest: ztress: Test randomly fails on qemu_cortex_a9
* :github:`41677` - undefined reference to \`__device_dts_ord_xx'
* :github:`41667` - doc: arm: mec172x: MEC172x EVB documentation points to some inexistent jumpers
* :github:`41652` - Bluetooth: Controller: BIG: Channel map update BIG: Generation of BIG_CHANNEL_MAP_IND (sent 6 times)
* :github:`41651` - Bluetooth: Controller: BIG Sync: Channel map update of BIG
* :github:`41650` - STM32H7 SPI123 incorrect clock source used for prescaler calculation
* :github:`41642` - Deploy generated docs from PRs
* :github:`41628` - Move LVGL glue code to zephyr/modules/
* :github:`41613` - Process: Review and update Milestone Definitions
* :github:`41597` - Unable to build mcuboot for BL654_DVK
* :github:`41596` - Split connected ISO client and server by Kconfig
* :github:`41594` - LE Audio: Upstream CCP/TBS
* :github:`41593` - LE Audio: Upstream BASS
* :github:`41592` - Object Transfer Service Client made "official"
* :github:`41590` - LE Audio: CAP API - Acceptor
* :github:`41517` - Hard fault if ``CONFIG_LOG2_MODE_DEFERRED`` is enabled
* :github:`41472` - Unable to mount fat file system on nucleo_f429zi
* :github:`41449` - PWM capture with STM32
* :github:`41408` - Low power states for STM32 H7
* :github:`41388` - tests: coverage: test code coverage report failed on mps2_an385
* :github:`41382` - nordic nrf52/nrf53 and missing cpu-power-states (dts) for automatic device PM control
* :github:`41375` - hal_nordic: update 15.4 driver to newest version
* :github:`41297` - QSPI flash need read, write via 4 lines not 1 line
* :github:`41285` - pthread_once has incorrect behavior
* :github:`41230` - LE Audio: API Architecture and documentation for GAF
* :github:`41228` - LE Audio: Add a codec to Zephyr
* :github:`41220` - STM32H7: Check for VOSRDY instead of ACTVOSRDY
* :github:`41201` - LE Audio: Improved media_proxy internal data structure
* :github:`41200` - LE Audio: Other postponed MCS cleanups
* :github:`41196` - LE Audio: Reconfigure Unicast Group after creation
* :github:`41194` - LE Audio: Remove support for bidirectional audio streams
* :github:`41192` - LE Audio: Change PACS from indicate to notify
* :github:`41191` - LE Audio: Update pac_indicate to actually send data
* :github:`41188` - LE Audio: Remove stream (dis)connected callback from stream ops
* :github:`41186` - LE Audio: CAP API - Initiator
* :github:`41169` - twister: program get stuck when serial in hardware map is empty string
* :github:`41151` - RFC: Provide k_realloc()
* :github:`41093` - Kconfig.defconfig:11: error: couldn't parse 'default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency)'
* :github:`40970` - Upgrade qemu to fix breakage in mps3-an547
* :github:`40920` - Bluetooth audio: client/server naming scheme
* :github:`40901` - RFC: API Change: update LVGL from v7 to v8
* :github:`40874` - mps2_an521_ns: fail to handle user_string_alloc_copy() with null parameter
* :github:`40856` - PPP: gsm_modem: LCP never gets past REQUEST_SENT phase
* :github:`40775` - stm32: multi-threading broken after #40173
* :github:`40679` - libc/minimal: static variable of gmtime() does not located to z_libc_partition at usermode.
* :github:`40657` - Cannot enable secondary pwm out channels on stm32f3
* :github:`40635` - gen_app_partitions.py may not include all object files produced by build system
* :github:`40620` - zephyr with cadence xtensa core dsp LX7 helloworld program cannot be entered after the program is executed
* :github:`40593` - tests: lib: cmsis_dsp: Overflows in libraries.cmsis_dsp.matrix
* :github:`40591` - RFC: Replace TinyCBOR with ZCBOR within Zephyr
* :github:`40588` - mgmg/mcumg/lib: Replace TinyCBOR with zcbor
* :github:`40559` - Move LittlefFS configuration header and CMakeLists.txt from module to zephyr/modules
* :github:`40371` - modem: uart interface does not disable TX interrupt in ISR
* :github:`40360` - Error messages with the sample: Asynchronous Socket Echo Server Using select()
* :github:`40306` - ESP32 BLE transmit error
* :github:`40298` - Bluetooth assertions in lll_conn.c
* :github:`40204` - Bluetooth: ll_sync_create_cancel fails with BT_HCI_ERR_CMD_DISALLOWED before BT_HCI_EVT_LE_PER_ADV_SYNC_ESTABLISHED is generated
* :github:`40195` - CONFIG_BOARD default value using cmake -DBOARD define value
* :github:`39948` - kernel.common.stack_sentinel fails on qemu_cortex_a9
* :github:`39922` - Instruction fetch fault happens on RISC-V with XIP and userspace enabled
* :github:`39834` - [Coverity CID: 240669] Unrecoverable parse warning in subsys/jwt/jwt.c
* :github:`39738` - twister: tests: samples: Skips on integration_platforms in CI
* :github:`39520` - Add support for the BlueNRG-LP SoC
* :github:`39432` - Periodic adv. syncing takes longer and bt_le_per_adv_sync_delete returns error after commit ecf761b4e9
* :github:`39314` - Invalid CONTROLLER_ID in usb_dc_mcux.c for LPC54114
* :github:`39194` - Process: investigate GitHub code review replacements
* :github:`39184` - HawkBit hash mismatch
* :github:`39176` - overflow in sensor_value_from_double
* :github:`39132` - subsys/net/ip/tcp2: Missing feature to decrease Receive Window size sent in the ACK messge
* :github:`38978` - Esp32 compilation error after enabling CONFIG_NEWLIB_LIBC
* :github:`38966` - Please add STM32F412VX
* :github:`38747` - data/json: encoding issues with array in object_array
* :github:`38632` - Multiple potential dead-locks modem_socket_wait_data
* :github:`38570` - Process: binary blobs in Zephyr
* :github:`38567` - Process: legitimate signed-off-by lines
* :github:`38548` - stm32: QSPI flash driver concurrent access issue
* :github:`38305` - Update to LVGL v8
* :github:`38279` - Bluetooth: Controller: assert LL_ASSERT(!radio_is_ready()) in lll_conn.c
* :github:`38268` - Multiple defects in "Multi Producer Single Consumer Packet Buffer" library
* :github:`38179` - twister: only report failures in merged junit output
* :github:`37798` - Change nRF5340DK board files to handle CPUNET pin configuration with DTS nodes
* :github:`37730` - http_client_req: Timeout likely not working as expected
* :github:`37710` - Bluetooth advert packet size is size of maximum packet not size of actual data
* :github:`37683` - STM32 Eth Tx DMA always uses first descriptor instead of going through circular buffer
* :github:`37324` - subsys/mgmt/hawkbit: Unable to finish download if CPU blocking function (i.e. ``flash_img_buffered_write``) is used
* :github:`37294` - RTT logs not found with default west debug invocation on jlink runner
* :github:`37191` - nrf5340: Support +3dBm TX power
* :github:`37186` - entropy: Bluetooth derived entropy device
* :github:`36905` - Improve (k\_)malloc and heap documentation
* :github:`36882` - MCUMGR: fs upload fail for first time file upload
* :github:`36645` - minimal libc: add strtoll and strtoull functions
* :github:`36571` - LoRa support for random DevNonce and NVS stack state storage
* :github:`36266` - kernel timeout_list NULL pointer access
* :github:`35316` - log_panic() hangs kernel
* :github:`34737` - Can't compile CIVETWEB with CONFIG_NO_OPTIMIZATIONS or CONFIG_DEBUG
* :github:`34590` - Functions getopt_long and getopt_long_only from the FreeBSD project
* :github:`34256` - Add support for FVP in CI / SDK
* :github:`34218` - Civetweb server crashing when trying to access invalid resource
* :github:`34204` - nvs_write: Bad documented return value.
* :github:`33876` - Lora sender sample build error for esp32
* :github:`32885` - Zephyr C++ support documentation conflicts to the code
* :github:`31613` - Undefined reference errors when using External Library with k_msgq_* calls
* :github:`30724` - CAN J1939 Support
* :github:`30152` - Settings nvs subsystem uses a hardcoded flash area label
* :github:`29981` - Improve clock initialization on LPC & MXRT600
* :github:`29941` - Unable to connect Leshan LwM2M server using x86 based LwM2M client
* :github:`29199` - github integration: ensure maintainers are added to PRs that affect them
* :github:`29107` - Bluetooth: hci-usb uses non-standard interfaces
* :github:`28009` - Add connection status to the connection info
* :github:`27841` - samples: disk: unable to access sd card
* :github:`27177` - Unable to build samples/bluetooth/st_ble_sensor for steval_fcu001v1 board
* :github:`26731` - Single channel selection - Bluetooth - Zephyr
* :github:`26038` - build zephyr with llvm fail
* :github:`25362` - better support for posix api read write in socketpair tests
* :github:`24733` - Misconfigured environment
* :github:`23347` - net: ieee802154_radio: API improvements
* :github:`22870` - Add Cortex-M4 testing platform
* :github:`22455` - How to assign USB endpoint address manually in stm32f4_disco for CDC ACM class driver
* :github:`22247` - Discussion: Supporting the Arduino ecosystem
* :github:`22161` - add shell command for the settings subsystem
* :github:`21994` - Bluetooth: controller: split: Fix procedure complete event generation
* :github:`21409` - sanitycheck: cmd.exe colorized output
* :github:`20269` - Add support for opamps in MCUs
* :github:`19979` - Implement Cortex-R floating-point support
* :github:`19244` - BLE throughput of DFU by Mcumgr is too slow
* :github:`17893` - dynamic threads don't work on x86 in some configurations
* :github:`17743` - cross compiling for RISCV32 fails as compiler flags are not supplied by board but must be in target.cmake
* :github:`17005` - Upstreamability of SiLabs RAIL support
* :github:`16406` - west: runners: Add --id and --chiperase options
* :github:`16205` - Add support to west to flash w/o a build, but given a binary
* :github:`15820` - mcumgr: taskstat show name & used size
* :github:`14649` - CI testing must be retry-free
* :github:`14591` - Infineon Tricore architecture support
* :github:`13318` - k_thread_foreach api breaks real time semantics
* :github:`9578` - Windows installation of SDK needs 'just works' installer
* :github:`8536` - imxrt1050: Replace systick with gpt or other system timer
* :github:`8481` - Remove the Kconfig helper options for nRF ICs once DT can replace them
* :github:`8139` - Driver for BMA400 accelerometer
* :github:`6654` - efm32wg_stk3800 bluetooth sample do not compile (add support)
* :github:`6162` - LwM2M: Support Queue Mode Operation
* :github:`1495` - esp32: newlibc errors
* :github:`1392` - No module named 'elftools'
* :github:`3192` - Shutting down BLE support
* :github:`3150` - Si1153 Ambient Light Sensor, Proximity, and Gesture detector support
``` | /content/code_sandbox/doc/releases/release-notes-3.1.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 31,466 |
```restructuredtext
:orphan:
.. _zephyr_2.3:
Zephyr 2.3.0
############
We are pleased to announce the release of Zephyr RTOS version 2.3.0.
Major enhancements with this release include:
* A new Zephyr CMake package has been introduced, reducing the need for
environment variables
* A new Devicetree API, based on hierarchical macros, has been introduced. This
new API allows the C code to access virtually all nodes and properties in a
clean, organized fashion
* The kernel timeout API has been overhauled to be flexible and configurable,
with future support for features like 64-bit and absolute timeouts in mind
* A new k_heap/sys_heap heap allocator has been introduced, with much better
performance than the existing k_mem_pool/sys_mem_pool
* Zephyr now integrates with the TF-M (Trusted Firmware M) PSA-compliant
framework
* The Bluetooth Low Energy Host now supports LE Advertising Extensions
* The CMSIS-DSP library is now included and integrated
The following sections provide detailed lists of changes by component.
Security Vulnerability Related
******************************
The following CVEs are addressed by this release:
* CVE-2020-10022: UpdateHub Module Copies a Variable-Sized Hash String
into a fixed-size array.
* CVE-2020-10059: UpdateHub Module Explicitly Disables TLS
Verification
* CVE-2020-10061: Improper handling of the full-buffer case in the
Zephyr Bluetooth implementation can result in memory corruption.
* CVE-2020-10062: Packet length decoding error in MQTT
* CVE-2020-10063: Remote Denial of Service in CoAP Option Parsing Due
To Integer Overflow
* CVE-2020-10068: In the Zephyr project Bluetooth subsystem, certain
duplicate and back-to-back packets can cause incorrect behavior,
resulting in a denial of service.
* CVE-2020-10069: An unchecked parameter in bluetooth data can result
in an assertion failure, or division by zero, resulting in a denial
of service attack.
* CVE-2020-10070: MQTT buffer overflow on receive buffer
* CVE-2020-10071: Insufficient publish message length validation in MQTT
More detailed information can be found in:
path_to_url
Known issues
************
You can check all currently known issues by listing them using the GitHub
interface and listing all issues with the `bug label
<path_to_url`_.
A single high-priority bug is currently open:
* :github:`23364` - Bluetooth: bt_recv deadlock on supervision timeout with
pending GATT Write Commands
API Changes
***********
* HWINFO
* The identifier data structure for hwinfo drivers is clarified. Drivers are
responsible for ensuring that the identifier data structure is a sequence
of bytes. The returned ID value is not supposed to be interpreted based on
vendor-specific assumptions of byte order and should express the identifier
as a raw byte sequence.
The changes have an impact on users that use the hwinfo API to identify
their devices.
The sam0 driver byte swaps each 32 bit word of the 128 bit identifier to
big endian.
The nordic driver byte swaps the entire 64 bit word to big endian.
* I2C
* Added a new API for recovering an I2C bus from situations where the I2C
master and one or more I2C slaves are out of synchronization (e.g. if the
I2C master was reset in the middle of an I2C transaction or if a noise
pulse was induced on the SCL line).
Deprecated in this release
==========================
* Kernel
* k_uptime_delta_32(), use k_uptime_delta()
* Timeout values
* All timeout values are now encapsulated k_timeout_t opaque structure when
passing them to the kernel. If you want to revert to the previous s32_t
type for the timeout parameter, please enable
CONFIG_LEGACY_TIMEOUT_API
* Bluetooth
* BT_LE_SCAN_FILTER_DUPLICATE, use BT_LE_SCAN_OPT_FILTER_DUPLICATE instead
* BT_LE_SCAN_FILTER_WHITELIST, use BT_LE_SCAN_OPT_FILTER_WHITELIST instead
* bt_le_scan_param::filter_dup, use bt_le_scan_param::options instead
* bt_conn_create_le(), use bt_conn_le_create() instead
* bt_conn_create_auto_le(), use bt_conn_le_create_auto() instead
* bt_conn_create_slave_le(), use bt_le_adv_start() instead with
bt_le_adv_param::peer set to the remote peers address.
* BT_LE_ADV_* macros, use BT_GAP_ADV_* enums instead
* Boards
* nrf51_pca10028 has been renamed to nrf51dk_nrf51422
* nrf51_pca10031 has been renamed to nrf51dongle_nrf51422
* nrf52810_pca10040 has been renamed to nrf52dk_nrf52810
* nrf52_pca10040 has been renamed to nrf52dk_nrf52832
* nrf52833_pca10100 has been renamed to nrf52833dk_nrf52833
* nrf52811_pca10056 has been renamed to nrf52840dk_nrf52811
* nrf52840_pca10056 has been renamed to nrf52840dk_nrf52840
* nrf52840_pca10059 has been renamed to nrf52840dongle_nrf52840
* nrf9160_pca10090 has been renamed to nrf9160dk_nrf9160
* nrf52840_pca10090 has been renamed to nrf9160dk_nrf52840
* nrf52_pca20020 has been renamed to thingy52_nrf52832
* nrf5340_dk_nrf5340 has been renamed to nrf5340pdk_nrf5340
* efr32_slwstk6061a has been renamed to efr32_radio_brd4250b
* Devicetree
* The C macros generated from the devicetree in previous releases are now
deprecated in favor of a new ``<devicetree.h>`` API.
* See :ref:`dt-from-c` for a high-level guide to the new API, and
:ref:`devicetree_api` for an API reference.
* Use of the legacy macros now requires explicitly enabling
``CONFIG_LEGACY_DEVICETREE_MACROS``. See `the Zephyr v2.3 legacy devicetree
macro page`_ for more information, including a link to a migration guide to
the new API.
.. _the Zephyr v2.3 legacy devicetree macro page:
path_to_url#dt-legacy-macros
* Other
* ``MACRO_MAP`` has been deprecated. Use ``FOR_EACH`` instead.
* ``BUILD_ASSERT_MSG`` has been deprecated. Use ``BUILD_ASSERT`` instead.
Removed APIs in this release
============================
* The ``INLINE`` macro in ``util.h`` has been removed.
* ``STACK_ANALYZE``, ``stack_analyze`` and ``stack_unused_space_get`` have been
removed.
Stable API changes in this release
==================================
* Bluetooth Mesh
* The net_idx parameter has been removed from the Health Client model
APIs since it can be derived (by the stack) from the app_idx parameter
* Networking
* The NET_DEVICE_INIT(), NET_DEVICE_INIT_INSTANCE(), NET_DEVICE_OFFLOAD_INIT()
and ETH_NET_DEVICE_INIT() macros changed and take a device power management
function pointer parameter. If networking PM is not implemented for the
specific network device, the device_pm_control_nop value can be used.
* Video
* The video_dequeue() API call now takes a k_timeout_t for the timeout
parameter. This reverts to s32_t if CONFIG_LEGACY_TIMEOUT_API is enabled.
* Floating Point Services
* FLOAT and FP_SHARING Kconfig options have been renamed to FPU and FPU_SHARING,
respectively.
Kernel
******
* A new general purpose memory allocator, sys_heap/k_heap, has been added
to Zephyr with more conventional API/behavior, better space
efficiency and higher performance than the pre-existing mem_pool.
The older mem_pool APIs are, by default, wrappers around this new
heap backend and will be deprecated in an upcoming release. The
original implementation remains available for this release via
disabling CONFIG_MEM_POOL_HEAP_BACKEND.
* The timeout arguments to all kernel calls are now a "k_timeout_t"
type instead of a 32 bit millisecond count. These can be
initialized in arbitrary time units (ns/us/ms, ticks), be
interpreted relative to either current time or system start, and be
expressed in 64 bit quantities. This involves a minor change to the
API, so the original API is still available in a completely
source-compatible way via CONFIG_LEGACY_TIMEOUT_API.
* Simplified dummy thread implementation and properly name idle threads
* Centralized new thread priority check
* Refactored device structures and introduced struct init_entry which is
a generic init end-point. SYS_INIT() generates only a struct init_entry via
calling INIT_ENTRY_DEFINE(). Also removed struct deviceconfig leaving
struct device to own everything now.
Architectures
*************
* ARC:
* Changed to automatic generation of privilege stack for ARC MPU V2 to
avoid the potential waste of memory When USERSPACE is configured
* Enhanced runtime programming for the MPU v3 by making the gap-filling
of kernel memory a user-configurable feature
* Refactored the thread switch code in epilogue of irq and exception
* Refactored the assembly codes for better maintenance
* Fixed the behavior of ARC timer driver
* Fixed the behavior of ARC SMP
* Fixed the wrong configurations of ARC boards in Kconfig and DTS
* ARM:
* CMSIS has been moved out of the main tree and now resides in its
own standalone module repository
* Updated CMSIS version to 5.7.0
* Added CMSIS-DSP library integration
* Added semihosting console support
* Cleanups and improvements to the Cortex-M exception vector table
* Fixed the behavior of Cortex-M spurious IRQ handler
* Fixed parsing of Cortex-M MemManage Stacking Errors
* Fixed the arch_cpu_idle() implementation for Cortex-M and Cortex-R
* Renamed Cortex-R architecture port to cortex_a_r in preparation for the
AArch32 Cortex-A architecture port
* Added processor exception handling and reporting framework for Cortex-R
* Added nested interrupt support on AArch32 Cortex-R and AArch64 Cortex-A
* Refactored Cortex-R interrupt system to remove fake multi-level interrupt
controller abstraction scheme
* POSIX:
* Added support for building on ARM hosts
* RISC-V:
* Added support for hard floating point for RISC-V
* Added march and mabi options to Kconfig
* Fixed compilation warning for platforms without PLIC
* x86:
* Instrumented code for timing information
* Added ability for SoC to add MMU regions
* x86 FPU sharing symbols renamed
* early_serial: extended to support MMIO UART
Boards & SoC Support
********************
* Added support for these SoC series:
* Broadcom Viper BCM58402
* Infineon XMC4500 SoC
* Nordic nRF52820 SoC
* NXP LPC55S16 SoC
* SiLabs EFR32BG13P SoC
* STM32L5 series of Ultra-low-power MCUs
* Added support for these ARM boards:
* 96Boards AeroCore 2
* Adafruit Feather nRF52840 Express
* Adafruit Feather STM32F405 Express
* Black STM32 F407VE Development Board
* Black STM32 F407ZG Pro Development Board
* Broadcom BCM958402M2
* EFR32 BRD4104A (SLWRB4104A)
* Infineon XMC45-RELAX-KIT
* nRF52820 emulation on nRF52833 DK
* nrf9160 INNBLUE21
* nrf9160 INNBLUE22
* NXP LPCXpresso55S16
* SEGGER IP Switch Board
* ST Nucleo H743ZI
* ST Nucleo F303RE
* ST Nucleo L552ZE-Q
* Made these changes in other boards
* ``up_squared`` now defaults to the x86_64 architecture
* ``intel_s1000`` now supports SMP
* Added support for these following shields:
* Espressif ESP-8266 Module
* MikroElektronika ADC Click
* MikroElectronica Eth Click
* ST X-NUCLEO-IKS02A1: MEMS Inertial and Environmental Multi sensor shield
Drivers and Sensors
*******************
* ADC
* Added support for STM32G4, STM32L1 and STM32H7 series
* Enabled internal voltage reference source on stm32
* Added Microchip MCP320x driver
* Audio
* N/A
* Bluetooth
* Added an RX thread on stm32wb hci wrapper
* Improved BLE support for rv32m1_vega:
- Added Resolvable Private Address support
- Enabled power saving support
- Added 2 Mbps PHY support
- Enabled controller-based privacy
* CAN
* Converted can-primary alias to zephyr,can-primary chosen property
* Converted loopback driver to use a thread to send frames
* Clock Control
* Enabled MSI range config in PLL mode on stm32
* Fixed AHB clock computation based on core on stm32h7
* Console
* Fixed USB initialization
* Added semihosting console
* Counter
* Added support on stm32h7 and stm32l0
* Fixed alarm tick count on stm32
* Added Maxim DS3231 driver
* Added NXP Kinetis LPTMR driver
* Crypto
* Added driver for nRF ECB
* Added CAP_NO_IV_PREFIX capability to stm32 driver
* DAC
* Added stm32l0 series support
* Added DAC shell
* Added NXP Kinetis DAC and DAC32 drivers
* Debug
* N/A
* Display
* Added power management support to st7789v driver
* Reworked controller memory initialization in ssd16xx driver
* Updated st7789v driver to set x-offset and y-offset properties properly
* DMA
* Enabled use of DMAMUX on stm32l4+ and stm32wb
* Various fixes on stm32 dma management
* EEPROM
* N/A
* Entropy
* Removed Kconfig HAS_DTS_ENTROPY
* Implemented ISR specific get entropy call in gecko driver
* ESPI
* Various fixes in Microchip driver
* Ethernet
* Added SAM E54 max queue count referencing
* Added SAM0 family support to gmac driver
* Added sam4e support to queue in gmac
* Added network power management support to mcux
* Added VLAN support to enc28j60
* Added VLAN support to stm32
* Added Ethernet cable link status support to gmac
* Added support for i.MXRT1060 family to mcux
* Added support for getting manual MAC address from devicetree
* Added support for enabling random MAC address from devicetree
* Various fixes to setup and cache handling in gmac
* Fixed how unique MAC address is determined in mcux
* Fixed Ethernet cable link detection in gecko
* Fixed stm32 when receiving data during initialization
* Flash
* Added logs on stm32
* Fixed wrong bank erasing on stm32g4
* Various fixes in nrf_qspi_nor driver
* Added driver for AT456 compatible SPI flash chips
* Enabled support for SAMV71
* GPIO
* Added mcp23s17 driver
* Added STM32L5 support to stm32 driver
* Added interrupt support to sx1509b driver
* Fixed interrupt handling in sifive, intel_apl, mchp_xec, mcux_igpio driver
* Various fixes in intel_apl driver
* Added MCP23S17 driver
* Fixed port 1 interrupts in mcux lpc driver
* Hardware Info
* Fixed ESP32 implementation
* Updated byte order in all drivers
* I2C
* Added support to stm32h7
* Added write/read and bus recovery commands to shell
* Added bus recovery function to gpio bitbang driver
* Fixed fast and fast+ mode bus speeds in several drivers
* Added mcux flexcomm driver
* I2S
* Added I2S master DMA support and clock output to stm32 driver
* Enabled SAMV71
* IEEE 802.15.4
* Added Decawave DW1000 driver
* Added "no auto start" option and local MAC address support to rf2xx
* Added support for Frame Pending Bit (FPB) handling in nrf5
* Added CSMA CA transmit capability to nrf5
* Added PAN coordinator mode support to nrf5
* Added support for promiscuous mode to nrf5
* Added support for energy scan function to nrf5
* Fixed RX timestamp handling in nrf5
* Various fixes to rf2xx
* Interrupt Controller
* Fixed PLIC register space
* Added support for STM32L5 series
* Added GIC V3 driver
* Fixed ICFGRn access and config in GIC driver
* Optimized the arc v2 interrupt unit driver
* IPM
* Added CAVS DSP Intra-DSP Communication (IDC) driver
* Keyboard Scan
* Added interrupt support to the ft5336 touch controller driver
* Added SDL mouse driver
* LED
* N/A
* LED Strip
* N/A
* LoRa
* Added a LoRa shell
* Replaced counter driver usage with k_timer calls
* Various fixes in sx1276 driver
* Modem
* Added support for GSM 07.10 muxing protocol to generic GSM modem
* Added support for modem commands that do not have a line ending
* Added automatic detection of ublox-sara-r4 modem type
* Added automatic setting of APN for ublox-sara-r4
* Added sendmsg() support to ublox-sara-r4
* Fixed UDP socket closing in ublox-sara-r4
* Fixed RSSI calculation for Sara U201
* Fixed TCP context release and RX socket src/dst port assignment in wncm14a2a
* Changed PPP driver connection to generic GSM modem
* PECI
* Added Microchip XEC driver
* Pinmux
* Fixed compilation errors in rv32m1_vega pinmux
* PS/2
* Tuned PS2 driver to support several mice brands
* PWM
* Added support to stm32h7
* Enhanced mcux ftm driver to configure pwm in ticks and allow configuring the clock prescaler
* Added mcux tpm driver
* Fixed nrfx driver to wait until PWM is stopped before restarting it
* Sensor
* Added support for Analog Devices ADXL345 3-axis I2C accelerometer
* Added Infineon DPS310 driver
* Fixed temperature conversion in SI7006 driver
* Added Honeywell MPR driver
* Added BQ27421 driver
* Added weighted average filter to NXP Kinetis temperature driver
* Enabled single shot mode in ENS210 driver
* Added forced sampling mode to BME280 driver
* Added IIS2MDC magnetometer driver
* Added IIS2DLPC accelerometer driver
* Added ISM330DHCX IMU driver
* Added MEC tachometer driver
* Fixed I2C and SPI bus communication in LIS2DH driver
* Serial
* Added uart_mux driver that is used in GSM 07.10 muxing protocol
* Added support for parity setting from dts on stm32
* Added support for stm32l5
* Various fixes in ns16550 driver
* Added XMC driver
* Added interrupt and runtime configuration support to Xilinx driver
* Fixed interrupt support in sifive driver
* Enhanced nrfx driver TX only mode support
* Added SAMV71 support to sam driver
* SPI
* Added support for DMA client on stm32
* Increased clock frequency in mcux flexcomm driver
* Added power management support to cc13xx_cc26xx driver
* Timer
* Various fixes in stm32_lptim driver
* Removed RTC1 dependency from nrf driver
* Various fixes in arcv2_timer0 driver
* Fixed TICKLESS=n processing in nrf_rtc and stm32_lptim drivers
* Added CAVS DSP wall clock timer driver
* Implemented tickless support in xlnx_psttc_timer driver
* USB
* Added experimental USB Audio implementation.
* Added support to stm32wb
* Fixed PMA leak at reset on stm32
* Various fixes in usb_dc_nrfx driver
* Refactored usb_dc_mcux_ehci driver
* Video
* Added dedicated video init priority
* Various fixes in sw_generator and mcux_csi
* Fixed video buffer alignment
* Watchdog
* Added support on stm32g0
* Disabled iwdg at boot on stm32
* WiFi
* Added scan completion indication to eswifi
* Added support to ESP8266 and ESP32
Networking
**********
* Converted networking to use new k_timeout_t infrastructure
* Enhanced new TCP stack support
* Added minimal support for TFTP client (RFC 1350)
* Added support for network device driver power management
* Added support for socketpair() BSD socket API
* Added support for QEMU user networking (SLIRP)
* Added support to disable automatic network attachment in OpenThread
* Added support for Frame Pending Bit handling in OpenThread
* Added support for RX frame handling in OpenThread
* Added support for TX started notification in OpenThread
* Added support for HW CSMA CA in OpenThread
* Added support for promiscuous mode in OpenThread
* Added support for reading OPAQUE resources with OMA TLV in LWM2M
* Added config to enable PAN coordinator mode in IEEE 802.15.4
* Added config to enable promiscuous mode in IEEE 802.15.4
* Added support for subscribe in Azure cloud sample
* Added support for queue mode in lwm2m_client sample
* Added support to allow change of the QEMU Ethernet interface name
* Added support for PPP IPCP to negotiate used DNS servers
* Added support for setting hostname in DHCPv4 request
* Fixed binding AF_PACKET socket type multiple times
* Fixed LLDPDU data in sent LLDP packets
* Fixed and enhance Google IoT sample application documentation
* Fixed MQTT cloud sample when polling incoming messages
* Fixed LWM2M socket error handling, and pending and reply handling during start
* Fixed LWM2M retransmission logic
* Fixed LWM2M Cell ID resource initialization
* Fixed COAP pending and reply handling
* Fixed wpan_serial sample application and enable USB during initialization
* Fixed HTTP client payload issue on HTTP upload
* Fixed MQTT Websocket incoming data handling and accept packets only in RX
* Fixed MQTT Publish message length validation
* Fixed IEEE 802.15.4 received frame length validation
* IEEE 802.15.4: avoided ACK processing when not needed
* IEEE 802.15.4: Now allows energy detection scan unconditionally
Bluetooth
*********
* Host:
* Support for LE Advertising Extensions has been added.
* The Host is now 5.2 compliant, with support for EATT, L2CAP ECRED mode and
all new GATT PDUs.
* New application-controlled data length and PHY update APIs.
* Legacy OOB pairing support has been added.
* Multiple improvements to OOB data access and pairing.
* The Host now uses the new thread analyzer functionality.
* Multiple bug fixes and improvements
* BLE split software Controller:
* The Controller is now 5.2 compliant.
* A new HCI USB H4 driver has been added, which can interact with BlueZ's
counterpart Host driver.
* PHY support is now configurable.
* Only control procedures supported by the peer are now used.
* The Nordic nRF52820 IC is now supported
* OpenISA/RV32M1:
* 2 Mbps PHY support.
* Radio deep sleep mode support.
* Controller-based privacy support.
* BLE legacy software Controller:
* The legacy Controller has been removed from the tree.
Build and Infrastructure
************************
* Zephyr CMake package
* The Zephyr main repository now includes a Zephyr CMake package.
This allows for registering Zephyr in the CMake user package registry and
allows for easier integration into Zephyr applications, by using the CMake
function, ``find_package(Zephyr ...)``.
Registering the Zephyr CMake package in the CMake user package registry
removes the need for setting of ``ZEPHYR_BASE``, sourcing ``zephyr-env.sh``,
or running ``zephyr-env.cmd``.
* A new ``west`` extension command, ``west zephyr-export`` is introduced for easy
registration of Zephyr CMake package in the CMake user package registry.
* Zephyr Build Configuration CMake package hook.
Zephyr offers the possibility of configuring the Zephyr build system through
a Zephyr Build Configuration package. A single Zephyr workspace
``ZephyrBuildConfig.cmake`` will be loaded if present in the Zephyr
workspace. This allows users to configure the Zephyr build system on a per
workspace setup, as an alternative to using a ``.zephyrrc`` system wide file.
* Devicetree
* A new :ref:`devicetree_api` was added. This API is not generated, but is
still included via ``<devicetree.h>``.
See `the Zephyr v2.3 legacy devicetree macro page`_ for more information,
including a link to a migration guide to the new API.
The :ref:`dt-howtos` page has been extended for the new API, and a new
:ref:`dt-from-c` API usage guide was also added.
Libraries / Subsystems
**********************
* Disk
* Add stm32 sdmmc disk access driver, supports stm32f7 and stm32l4
* Random
* Removed the ``rand32_timestamp`` driver.
* POSIX subsystem:
* socketpair() function implemented.
* eventfd() function (Linux-like extension) implemented.
* Power management:
* Add system and device power management support on TI CC13x2/CC26x2.
HALs
****
* HALs are now moved out of the main tree as external modules and reside in
their own standalone repositories.
Documentation
*************
* New API overview page added.
* Reference pages have been cleaned up and organized.
* The Devicetree documentation has been expanded significally.
* The project roles have been overhauled in the Contribution Guidelines pages.
* The documentation on driver-specific APIs has been simplified.
* Documentation for new APIs, boards and samples.
Tests and Samples
*****************
* Added samples for USB Audio Class.
* Added sample for using POSIX read()/write() with network sockets.
Issue Related Items
*******************
These GitHub issues were addressed since the previous 2.2.0 tagged
release:
* :github:`25991` - [net][net.socket.select][imx-rt series] test fails (k_uptime_get_32() - tstamp <= FUZZ is false)
* :github:`25990` - tests/net/socket/select failed on sam_e70_xplained board.
* :github:`25960` - tests/net/socket/socketpair failed on mimxrt1050_evk and sam_e70_xplained.
* :github:`25948` - Function i2c_transfer stops execution for I2C_SAM0
* :github:`25944` - driver: timer: stm32_lptim: Extra ticks count
* :github:`25926` - k_cycle_get_32() returns 0 in native_posix
* :github:`25925` - tests: net: socket: socketpair: fails due to empty message header name
* :github:`25920` - Compilation error when CONFIG_BOOTLOADER_MCUBOOT=y specified
* :github:`25904` - kernel: k_queue_get return NULL before timeout
* :github:`25901` - timer: nrf_rtc_timer: Subtraction underflow causing 8 minute time skips
* :github:`25895` - driver: timer: stm32_lptim: backup domain is reset
* :github:`25893` - Application syscalls in usermode gives bus fault with stacking error
* :github:`25887` - legacy timeout API does not work as expected
* :github:`25880` - stm32wb: Unable to use BLE and USB host simultaneously.
* :github:`25870` - tests/kernel/timer/timer_api fails conversion tests with large offset
* :github:`25863` - Where is the definition of SystemInit()?
* :github:`25859` - mesh example not working with switched off dcdc?
* :github:`25847` - Problems using math functions and double.
* :github:`25824` - Unpacked bt_l2cap_le_conn_rsp struct is causing corrupt L2CAP connection request responses on some platforms
* :github:`25820` - kernel: k_timer_start(timer, K_FOREVER, K_NO_WAIT) expires immediately
* :github:`25811` - K22F USB Console/Shell
* :github:`25797` - [Coverity CID :210607] Uninitialized scalar variable in tests/net/socket/socketpair/src/test_socketpair_happy_path.c
* :github:`25796` - [Coverity CID :210579] Uninitialized scalar variable in tests/net/socket/socketpair/src/test_socketpair_happy_path.c
* :github:`25795` - [Coverity CID :210564] Uninitialized scalar variable in tests/lib/cmsis_dsp/distance/src/u32.c
* :github:`25793` - [Coverity CID :210561] Resource leak in tests/net/socket/socketpair/src/test_socketpair_unsupported_calls.c
* :github:`25791` - [Coverity CID :210614] Explicit null dereferenced in tests/lib/cmsis_dsp/distance/src/f32.c
* :github:`25789` - [Coverity CID :210586] Explicit null dereferenced in tests/lib/cmsis_dsp/distance/src/f32.c
* :github:`25788` - [Coverity CID :210581] Dereference before null check in subsys/net/lib/sockets/socketpair.c
* :github:`25787` - [Coverity CID :210571] Explicit null dereferenced in tests/subsys/openthread/radio_test.c
* :github:`25785` - [Coverity CID :210549] Explicit null dereferenced in tests/subsys/openthread/radio_test.c
* :github:`25780` - [Coverity CID :210612] Negative array index read in samples/net/sockets/socketpair/src/socketpair_example.c
* :github:`25779` - [Coverity CID :209942] Pointer to local outside scope in subsys/net/ip/tcp2.c
* :github:`25774` - [Coverity CID :210615] Incompatible cast in tests/benchmarks/cmsis_dsp/basicmath/src/f32.c
* :github:`25773` - [Coverity CID :210613] Incompatible cast in tests/benchmarks/cmsis_dsp/basicmath/src/f32.c
* :github:`25772` - [Coverity CID :210609] Incompatible cast in tests/benchmarks/cmsis_dsp/basicmath/src/f32.c
* :github:`25771` - [Coverity CID :210608] Incompatible cast in tests/lib/cmsis_dsp/fastmath/src/f32.c
* :github:`25770` - [Coverity CID :210605] Incompatible cast in tests/lib/cmsis_dsp/filtering/src/misc_f32.c
* :github:`25769` - [Coverity CID :210603] Incompatible cast in tests/lib/cmsis_dsp/filtering/src/misc_f32.c
* :github:`25768` - [Coverity CID :210601] Incompatible cast in tests/lib/cmsis_dsp/fastmath/src/f32.c
* :github:`25767` - [Coverity CID :210600] Incompatible cast in tests/benchmarks/cmsis_dsp/basicmath/src/f32.c
* :github:`25766` - [Coverity CID :210592] Incompatible cast in tests/benchmarks/cmsis_dsp/basicmath/src/f32.c
* :github:`25765` - [Coverity CID :210591] Incompatible cast in tests/lib/cmsis_dsp/filtering/src/misc_f32.c
* :github:`25764` - [Coverity CID :210590] Incompatible cast in tests/benchmarks/cmsis_dsp/basicmath/src/f32.c
* :github:`25763` - [Coverity CID :210577] Incompatible cast in tests/benchmarks/cmsis_dsp/basicmath/src/f32.c
* :github:`25762` - [Coverity CID :210576] Incompatible cast in tests/lib/cmsis_dsp/filtering/src/misc_f32.c
* :github:`25761` - [Coverity CID :210574] Incompatible cast in tests/benchmarks/cmsis_dsp/basicmath/src/f32.c
* :github:`25760` - [Coverity CID :210572] Incompatible cast in tests/lib/cmsis_dsp/distance/src/f32.c
* :github:`25759` - [Coverity CID :210569] Incompatible cast in tests/lib/cmsis_dsp/bayes/src/f32.c
* :github:`25758` - [Coverity CID :210567] Incompatible cast in tests/lib/cmsis_dsp/fastmath/src/f32.c
* :github:`25757` - [Coverity CID :210565] Incompatible cast in tests/benchmarks/cmsis_dsp/basicmath/src/f32.c
* :github:`25756` - [Coverity CID :210563] Incompatible cast in tests/benchmarks/cmsis_dsp/basicmath/src/f32.c
* :github:`25755` - [Coverity CID :210560] Incompatible cast in tests/benchmarks/cmsis_dsp/basicmath/src/f32.c
* :github:`25754` - [Coverity CID :210556] Incompatible cast in tests/lib/cmsis_dsp/matrix/src/unary_f64.c
* :github:`25753` - [Coverity CID :210555] Incompatible cast in tests/lib/cmsis_dsp/support/src/barycenter_f32.c
* :github:`25752` - [Coverity CID :210551] Incompatible cast in tests/lib/cmsis_dsp/matrix/src/unary_f32.c
* :github:`25751` - [Coverity CID :210545] Incompatible cast in tests/benchmarks/cmsis_dsp/basicmath/src/f32.c
* :github:`25737` - [Coverity CID :210585] Unchecked return value in samples/net/sockets/socketpair/src/socketpair_example.c
* :github:`25736` - [Coverity CID :210583] Unchecked return value from library in samples/net/sockets/socketpair/src/socketpair_example.c
* :github:`25731` - [Coverity CID :210568] Argument cannot be negative in tests/net/socket/socketpair/src/test_socketpair_happy_path.c
* :github:`25730` - [Coverity CID :210553] Unchecked return value in tests/drivers/gpio/gpio_basic_api/src/test_deprecated.c
* :github:`25727` - [Coverity CID :210611] Logically dead code in subsys/net/lib/sockets/socketpair.c
* :github:`25702` - BSD socket sendmsg() did not verify params in usermode
* :github:`25701` - MPU FAULT in nvs test on nrf52840dk_nrf52840
* :github:`25698` - IPv6 prefix could be added multiple times to prefix timer list
* :github:`25697` - Example of Thread creation in documentation does not compile
* :github:`25694` - IPv6 RA prefix option invalid length
* :github:`25673` - Unable to use SPI1 when enabled without SPI0 on cc13xx/cc26xx
* :github:`25670` - Possible Null pointer dereferences in /subsys/logging/log_msg.c
* :github:`25666` - tests: kernel: mem_protect: syscalls: test_string_nlen fails
* :github:`25656` - shields: Can't use multiple shields anymore
* :github:`25635` - ARM: TLS pointer may not be set correctly
* :github:`25621` - ESWiFi does not populate info about remote when invoking callback
* :github:`25614` - fix longstanding error in pthread_attr_t definition
* :github:`25613` - USB: CDC adds set line coding callback
* :github:`25612` - ARM: Cortex-M: CPU is not reporting Explicit MemManage Stacking Errors correctly
* :github:`25597` - west sign fails to find header size or padding
* :github:`25585` - QEMU special key handling is broken on qemu_cortex_a53
* :github:`25578` - nrf: clock control: nrf5340: using CLOCK_CONTROL_NRF_K32SRC_RC results in build failure
* :github:`25568` - nrf: clock_control: Fatal error during initialization
* :github:`25561` - bluetooth: GATT lockup on split packets
* :github:`25555` - Unable to connect to Thread network (NRF52840DK)
* :github:`25527` - sample and writeup for socketpair
* :github:`25526` - Sanity Check Fails:
* :github:`25522` - settings: FCB back-end does not try to add record after the last compression attempt.
* :github:`25519` - wrong debug function cause kinds of building error
* :github:`25511` - arc em_starterkit_em11d failed in tests/kernel/timer/timer_api
* :github:`25510` - arc EMSDP failed in tests/kernel/gen_isr_table
* :github:`25509` - OpenThread SED set link mode fail
* :github:`25493` - devicetree: nRF5340 application core DTSI is missing cryptocell node
* :github:`25489` - drivers: modem_cmd_handler: uninitialized variable used
* :github:`25483` - Bluetooth: controller: split: feature exchange not conform V5.0 core spec
* :github:`25480` - Unconditional source of shield configs can mess up configuration
* :github:`25478` - settings_runtime_set() not populating bt/cf
* :github:`25477` - dts: arm: Incorrect GIC interrupt spec order for AArch64 SoCs
* :github:`25471` - disco_l475_iot1 don't write last small block
* :github:`25469` - Fix devicetree documentation for new API
* :github:`25468` - FRDM_K82F DTS missing information for ADC-0
* :github:`25452` - Some USB samples targeting stm32 are malfunctioning
* :github:`25448` - serial: uart_nrfx_uarte: poll & async TX infinite hang
* :github:`25447` - cf_set() returns 0 when no cfg is available
* :github:`25442` - Does Zephyr support USB host mode ?
* :github:`25437` - tests/lib/heap: sanitycheck timeout on STM32 boards
* :github:`25433` - Add vendor specific class custom usb device sample
* :github:`25427` - STM32 Ethernet driver build failure with CONFIG_ASSERT=1
* :github:`25408` - STM32 Ethernet Driver: Fix driver crash caused by RX IRQ trigger
* :github:`25390` - driver: timer: arm arch timer PPI configuration to be taken from dt
* :github:`25386` - boards: shields: esp_8266: There isn't CI tests enabled
* :github:`25379` - Bluetooth mesh example not working
* :github:`25378` - Installation problems
* :github:`25369` - tests/drivers/gpio/gpio_basic_api: test_gpio_deprecated step fails on STM32 boards
* :github:`25366` - tests/drivers/counter/counter_basic_api: instable test status on STM32 boards
* :github:`25363` - tests/drivers/counter/counter_basic_api: Assertion failed on STM32 boards
* :github:`25354` - Fails to compile when SYS_PM_DIRECT_FORCE_MODE is true
* :github:`25351` - test:mimxrt1050_evk:tests/subsys/usb/bos/: run failure
* :github:`25350` - Bluetooth: controller: Data transmission delayed by slave latency
* :github:`25349` - The b_l072z_lrwan1 board (STM32L0) doesn't support flashing of firmware larger than bank 0
* :github:`25348` - test:mimxrt10xx_evk:tests/kernel/mem_protect/stackprot: get unexpected Stacking error
* :github:`25346` - Timestamp in LOG jumps 00:08:32
* :github:`25337` - LED pins always configured as PWM outputs
* :github:`25334` - SPI won't build on microbit with I2C
* :github:`25332` - lib: updatehub: Don't build after conversion from DT_FLASH_AREA to FLASH_AREA macros
* :github:`25331` - test_timer_remaining() fails with assertion in timer_api test
* :github:`25319` - MMU and USERSPACE not working on upsquared
* :github:`25312` - samples:mimxrt1010_evk:samples/net/openthread/ncp: build error
* :github:`25289` - mcuboot incompatible with Nordic QSPI flash driver
* :github:`25287` - test/benchmarks/latency_measure fails on nucleo_f429zi and nucleo_f207zg
* :github:`25284` - spi: stm32: dma_client: Cannot use RX only configuration
* :github:`25276` - OpenThread not work after upgrade to latest version
* :github:`25272` - tests/drivers/gpio/gpio_basic_api failed on mec15xxevb_assy6853 board.
* :github:`25270` - fix userspace permissions in socketpair tests
* :github:`25263` - Can anyone tell me how can i use external qspi flash "mx25r64"(custom board with nrf52840 soc) for mcuboot slot1 and i'm using zephyr 2.2.0
* :github:`25260` - drivers: uart_ns16550: device config_info content mutated
* :github:`25251` - Post DT API migration review
* :github:`25247` - const qualifier lost on some device config_info casts
* :github:`25246` - SHELL_DEFAULT_TERMINAL_WIDTH should be configurable in Kconfig
* :github:`25241` - tests.drivers.spi_loopback stm32wb55x fails transferring multiple buffers with dma
* :github:`25240` - Building usb audio sample hangs the pre-processor
* :github:`25234` - kernel.timer.tickless test fails on atsamd21_xpro
* :github:`25233` - bad logic in test_busy_wait of tests/kernel/context
* :github:`25232` - driver: wifi: esp_offload.c: Missing new timeout API conversion
* :github:`25230` - Lib: UpdateHub: Missing new timeout API conversion
* :github:`25224` - benchmark.kernel.latency test fails on atsame54_xpro
* :github:`25221` - arch.arm.irq_advanced_features test fails on atsamd21_xpro
* :github:`25216` - cc13xx and cc26xx handler for IRQ invoked multiple times
* :github:`25210` - CI seems to be stuck for my pull request
* :github:`25204` - soc: apollo_lake: Disabling I2C support is not possible
* :github:`25200` - Build error in Sample App for OpenThread NCP
* :github:`25196` - tests: portability: cmsis_rtos_v2: hangs on nRF52, 53 and 91 nRF platforms
* :github:`25194` - tests: kernel: context: seems to be failing on Nordic platforms
* :github:`25191` - tests/drivers/console: drivers.console.semihost can't work
* :github:`25190` - West - init/update module SHA with --depth = 1
* :github:`25185` - Adding CONFIG_BT_SETTINGS creates errors on bt_hci_core & bt_gatt
* :github:`25184` - lldp: lldp_send includes bug
* :github:`25183` - west build error after while "getting started" on ESP32
* :github:`25180` - tests: drivers/i2s/i2s_api: Build failed on 96b_argonkey
* :github:`25179` - tests/kernel/timer/timer_api failed on iotdk board.
* :github:`25178` - tests/kernel/sched/schedule_api failed on iotdk board.
* :github:`25177` - tests/drivers/counter/maxim_ds3231_api failed on frdm_k64f.
* :github:`25176` - tests/kernel/context failed on multiple platforms.
* :github:`25174` - qemu test failures when running sanitycheck
* :github:`25169` - soc/arm/infineon_xmc/4xxx/soc.h not found
* :github:`25161` - samples/cfb/display flickers with SSD1306
* :github:`25141` - Cannot use C++ on APPLICATION level initialization
* :github:`25140` - Unable to obtain dhcp lease
* :github:`25139` - USB HID mouse sample high input delay
* :github:`25130` - Bluetooth: controller: Incorrect version information
* :github:`25128` - Missing ``python3-dev`` dependency
* :github:`25123` - DAC is not described in soc of STM32L4xx series
* :github:`25109` - Flash tests fail on posix
* :github:`25101` - driver: gpio: mchp: GPIO initialization value doesn't get reflected when using new flags
* :github:`25091` - drivers: eSPI: Incorrect handling of OOB registers leads to report wrong OOB packet len
* :github:`25084` - LLDP: missing net_pkt_set_lldp in lldp_send
* :github:`25083` - Networking samples are not able to connect with the TCP under qemu_x86 after 9b055ec
* :github:`25067` - Insufficient ticker nodes for vendor implementations
* :github:`25057` - errors when running sanitycheck with tests/subsys/storage/stream/stream_flash
* :github:`25036` - kernel: pipe: read_avail / write_avail syscalls
* :github:`25032` - build failure on lpcxpresso55s16_ns
* :github:`25017` - [CI] m2gl025_miv in Shippable CI systematically fails some tests
* :github:`25016` - BT_LE_ADV_NCONN_NAME doesn't actually advertise name
* :github:`25015` - Bluetooth Isochronous Channels Support
* :github:`25012` - checkpatch.pl doesn't match the vendor string properly
* :github:`25010` - disco_l475_iot1 don't confirm MCUBoot slot-1 image
* :github:`24978` - RFC: use compatible name for prefix for device-specific API
* :github:`24970` - ieee802154 l2: no length check in frame validation
* :github:`24965` - RF2XX radio driver does automatic retransmission and OpenThread as well
* :github:`24963` - Slower OpenThread PSKc calculation
* :github:`24943` - Add a harness property to boards in sanitycheck's hardware_map
* :github:`24928` - Running Zephyr Bot tests on local machine
* :github:`24927` - stm32: Fix docs boards for doc generation
* :github:`24926` - Remove all uses of CONFIG_LEGACY_TIMEOUT_API from the tree before 2.3
* :github:`24915` - accelerometer example no longer works for microbit
* :github:`24911` - arch: arm: aarch32: When CPU_HAS_FPU for Cortex-R5 is selected, prep_c.c uses undefined symbols
* :github:`24909` - ``find_package`` goes into an infinite loop on windows
* :github:`24903` - Python detection when building documentation fails
* :github:`24889` - stm32f469i discovery board and samples/display/lvgl fails
* :github:`24869` - qemu_x86: with icount enabled, crash in test_syscall_torture
* :github:`24853` - os: Precise data bus error with updatehub
* :github:`24842` - Support Building on Aarch64
* :github:`24840` - Unable to connect to OpenThread network after upgrade
* :github:`24805` - On x86, misalligned SSE accesses can occur when multithreading is enabled
* :github:`24784` - nRF: Busy wait clock is skewed vs. timer clock
* :github:`24773` - devicetree: allow generation of properties that don't have a binding
* :github:`24751` - What is purpose of the CONFIG_ADC_X
* :github:`24744` - k_thread_join() taking a very long time on qemu_cortex_m3
* :github:`24733` - Misconfigured environment
* :github:`24727` - Unable allocate buffer to send mesh message
* :github:`24722` - OnePlus 7T & peripheral_hr on NRF52 conn failure
* :github:`24720` - Build failure on intel_s1000_crb board for test case: tests/kernel/smp
* :github:`24718` - adc: stm32g4: Fix ADC instances naming
* :github:`24713` - ztest_test_fail() doesn't always work
* :github:`24706` - mcumgr: fail to upgrade nRF target using nRF Connect
* :github:`24702` - tests/drivers/counter/counter_basic_api failed on frdm_k64f board.
* :github:`24701` - tests/lib/cmsis_dsp/transform failed on frdm_k64f board.
* :github:`24695` - Board IP Can Not Be Set Manually
* :github:`24692` - FindPython3 has unexpected behavior on Windows
* :github:`24674` - Cannot generate code coverage report for unit tests using sanitycheck
* :github:`24665` - z_cstart memory corruption (ARM CortexM)
* :github:`24661` - sanitycheck incorrect judgement with tests/drivers/gpio/gpio_basic_api.
* :github:`24660` - tests/benchmarks/sys_kernel failed on nrf platforms
* :github:`24659` - tests/portability/cmsis_rtos_v2 failed on reel_board.
* :github:`24653` - device_pm: clarify and document usage
* :github:`24646` - Bluetooth: hci_uart broken on master
* :github:`24645` - naming consistency for kernel object initializer macros
* :github:`24642` - kernel: pipe: simple test fails for pipe write / read of 3 bytes
* :github:`24641` - inconsistent timer behavior on native platforms
* :github:`24635` - tests/counter/counter_basic_api fails on mps2_an385
* :github:`24634` - Invalid pin reported in gpio callback
* :github:`24626` - USB re-connection fails on SAM E70
* :github:`24612` - mimxrt1020_evk: total freeze
* :github:`24601` - Bluetooth: Mesh: Config Client's net_key_status pulls two key indexes, should pull one.
* :github:`24585` - How to read/write an big(>16K) file in littlefs shell sample on native posix board?
* :github:`24579` - Couldn't get test results from device serial on mimxrt1050_evk board.
* :github:`24576` - scripts/subfolder_list.py: Support long paths
* :github:`24571` - #include <new> is not available
* :github:`24564` - NRF51822 BLE ~400uA idle current consumption
* :github:`24554` - hal_infineon: Add new module for Infineon XMC HAL layer
* :github:`24553` - samples/subsys/shell/fs/ fail on native posix board
* :github:`24539` - How to complete userspace support for driver-specific API
* :github:`24534` - arch_mem_domain_max_partitions_get() returns equal number for all architectures
* :github:`24533` - devicetree: are some defines missing from the bindings?
* :github:`24509` - Ethernet Sample Echo Failed in Nucleo_f429zi - bisected
* :github:`24505` - Bluetooth: Mesh: Configuration Client: Add support for Model Subscription Get
* :github:`24500` - Failed to run the sample "Native Posix Ethernet"
* :github:`24497` - frdm_k64f fatal error while using flash and TLS features together
* :github:`24490` - SPI-NOR driver not found in spi_flash sample
* :github:`24485` - kernel: pipe: should return if >= min_xfer bytes transferred and timeout is K_FOREVER
* :github:`24484` - The file system shell example failed to build
* :github:`24479` - nrf-uarte problems with uart_irq_tx_disable() in handler
* :github:`24464` - drivers: espi: XEC: Incorrect eSPI channel status handling leading to missed interrupts and callbacks
* :github:`24462` - File not truncated to actual size after calling fs_close
* :github:`24457` - Common Trace Format - Failed to produce correct trace output
* :github:`24442` - samples/subsys/mgmt/mcumgr/smp_svr: should enable BT and FS for nrf52 boards
* :github:`24439` - LPCXpresso55S69_ns target : build failed
* :github:`24437` - smp_svr samle doesn't build for any target
* :github:`24431` - http_client assumes request payload is non-binary
* :github:`24426` - syscall for pipe(2)
* :github:`24409` - When the delay parameter of k_delayed_work_submit is K_FOREVER, the system will crash
* :github:`24399` - drivers: sam0_rtc_timer: DT_INST changes have broken this driver
* :github:`24390` - nsim_sem_normal target is broken
* :github:`24382` - disco_l475_iot1 not working with samples/net/wifi
* :github:`24376` - SPI (test) is not working for LPCXpresso54114
* :github:`24373` - NULL-pointer dereferencing in GATT when master connection fails
* :github:`24369` - tests/drivers/counter/counter_basic_api failure on nRF51-DK
* :github:`24366` - syscall for socketpair(2)
* :github:`24363` - nsim_hs_smp target doesn't work at all
* :github:`24359` - k_heap / sys_heap needs overview documentation
* :github:`24357` - NVS sample on STM32F4 fails even if the dts definition is correct
* :github:`24356` - MCUboot (and other users of DT_FLASH_DEV_NAME) broken with current zephyr master
* :github:`24355` - tests/drivers/uart/uart_basic_api configure and config_get fail because not implemented
* :github:`24353` - minnowboard hangs during boot of samples/hello_world
* :github:`24347` - Application Cortex M Systick driver broken by merge of #24012
* :github:`24340` - #24308 Broke python3 interpreter selection
* :github:`24339` - arm_gic_irq_set_priority - temporary variable overflow
* :github:`24325` - broken link in MinnowBoard documentation
* :github:`24324` - ST Nucleo F767ZI Ethernet Auto Negotiation problem
* :github:`24322` - IRQ_CONNECT and IRQ_DIRECT_CONNECT throw compile error with CONFIG_CPLUSPLUS
* :github:`24311` - LPN not receiving any message from Friend node after LPN device reset
* :github:`24306` - How to set up native posix board to allow connections to the Internet?
* :github:`24304` - Application crash #nrf52840 #ble
* :github:`24299` - tests/subsys/storage/flash_map failed on frdm_k64f board.
* :github:`24294` - Problem using TMP116 sensor with platformio
* :github:`24291` - The button interrupt enters the spurious handler
* :github:`24283` - os: Illegal use of the EPSR-disco_l475_iot1
* :github:`24282` - echo_client sample return: Cannot connect to TCP remote (IPv6): 110
* :github:`24278` - Function of "ull_conn_done" in "ull_conn.c"
* :github:`24277` - tests/kernel/workq/critical times out on ARC
* :github:`24276` - tests/kernel/context hangs on ARC in test_kernel_cpu_idle
* :github:`24275` - tests/kernel/mem_protect/syscalls fails on ARC in test_syscall_torture
* :github:`24252` - Python detection macro in cmake fails to detect highest installed version
* :github:`24243` - MCUBoot not working on disco_l475_iot1
* :github:`24241` - Build error when using MCHP ACPI HAL macros
* :github:`24237` - Fail to pass samples/subsys/nvs
* :github:`24227` - build hello_world sample failed for ESP32 board.
* :github:`24226` - [master]Bluetooth: samples/bluetooth/central_hr can't connect with samples/bluetooth/peripheral_hr
* :github:`24216` - Shell: Allow selecting command without subcommands
* :github:`24215` - Couldn't flash image into up_squared using misc.py script.
* :github:`24212` - lib: updatehub: Improve memory footprint
* :github:`24207` - tests/subsys/fs/fcb fails on nRF52840-DK
* :github:`24197` - Reduce snprintf and snprintk footprint
* :github:`24195` - question regarding c++
* :github:`24194` - Bluetooth: Mesh: Unknown message received by the node
* :github:`24193` - Issue with launching examples on custom board (after succesfull build)
* :github:`24187` - Remove the BLE Legacy Controller from the tree
* :github:`24183` - [v2.2] Bluetooth: controller: split: Regression slave latency during connection update
* :github:`24181` - Snprintk used at many place while dummy build if CONFIG_PRINTK is undef
* :github:`24180` - Parameter deprecation causes scanner malfunction on big-endian systems
* :github:`24178` - CI: extra_args from sanitycheck ``*.yaml`` do not propagate to cmake
* :github:`24176` - Where can I read PDR (packet delivery ratio)? Or number of TX/ACK packets?
* :github:`24162` - eSPI KConfig overrides espi_config API channel selection in eSPI driver
* :github:`24158` - gap in support for deprecated Nordic board names
* :github:`24156` - MQTT Websocket transport interprets all received data as MQTT messages
* :github:`24145` - File system shell example mount littleFS issue on nrf52840_pca10056
* :github:`24144` - deadlock potential in nrf_qspi_nor
* :github:`24136` - tests/benchmarks/latency_measure failed on mec15xxevb_assy6853 board.
* :github:`24122` - [nrf_qspi_nor] LittleFS file system fails to mount if LFS rcache buffer is not word aligned
* :github:`24108` - https GET request is failed for big file download.
* :github:`24104` - west sign usage help is missing key information
* :github:`24103` - USB Serial Number reverses bytes in hw identifier
* :github:`24101` - Bluetooth: Mesh: Transport Segment send failed lead to seg_tx un-free
* :github:`24098` - drivers: flash: flash_stm32: usage fault
* :github:`24089` - Zephyr/Openthread/MBEDTLS heap size/usage
* :github:`24086` - Bluetooth: SMP: Existing bond deleted on pairing failure
* :github:`24081` - le_adv_ext_report is not generating an HCI event
* :github:`24072` - tests/kernel/timer/timer_api failed on nucleo_stm32l152re board
* :github:`24068` - UART driver for sifive does not compile when configuring PORT_1
* :github:`24067` - cross-platform inconsistency in I2C bus speeds
* :github:`24055` - Add support for openocd on stm32g0 and stm32g4 targets
* :github:`24041` - [Coverity CID :209368] Pointless string comparison in tests/lib/devicetree/src/main.c
* :github:`24040` - [Coverity CID :209369] Pointless string comparison in tests/lib/devicetree/src/main.c
* :github:`24039` - [Coverity CID :209370] Pointless string comparison in tests/lib/devicetree/src/main.c
* :github:`24038` - [Coverity CID :209371] Pointless string comparison in tests/lib/devicetree/src/main.c
* :github:`24037` - [Coverity CID :209372] Pointless string comparison in tests/lib/devicetree/src/main.c
* :github:`24036` - [Coverity CID :209373] Pointless string comparison in tests/lib/devicetree/src/main.c
* :github:`24035` - [Coverity CID :209374] Pointless string comparison in tests/lib/devicetree/src/main.c
* :github:`24034` - [Coverity CID :209375] Side effect in assertion in tests/kernel/interrupt/src/prevent_irq.c
* :github:`24033` - [Coverity CID :209376] Pointless string comparison in tests/lib/devicetree/src/main.c
* :github:`24032` - [Coverity CID :209377] Pointless string comparison in tests/lib/devicetree/src/main.c
* :github:`24031` - [Coverity CID :209378] Pointless string comparison in tests/lib/devicetree/src/main.c
* :github:`24027` - [Coverity CID :209382] Pointless string comparison in tests/lib/devicetree/src/main.c
* :github:`24026` - [Coverity CID :209383] Pointless string comparison in tests/lib/devicetree/src/main.c
* :github:`24016` - Fully support DTS on nrf entropy driver
* :github:`24014` - Bluetooth: Mesh: Friend node not cache for lpn which receiveing unknown app_idx
* :github:`24009` - Bluetooth: Mesh: Friend node not cache ALL_Node Address or different app_idx
* :github:`24008` - Build failure on intel_s1000_crb board.
* :github:`24003` - Couldn't generated code coverage report using sanitycheck
* :github:`24001` - tests/kernel/timer/timer_api failed on reel_board and mec15xxevb_assy6853.
* :github:`23998` - Infinite Reboot loop in Constructor C++
* :github:`23997` - flash sector erase fails on stm32l475
* :github:`23989` - Switching among different PHY Modes
* :github:`23986` - Possible use of uninitialized variable in subsys/net/ip/utils.c
* :github:`23980` - Nordic USB driver: last fragment sometimes dropped for OUT control endpoint
* :github:`23961` - CCC does not get cleared when CONFIG_BT_KEYS_OVERWRITE_OLDEST is enabled
* :github:`23953` - Question: How is pdata.tsize initialized in zephyr/subsys/usb/usb_transfer.c?
* :github:`23947` - soc: arm: atmel: sam4e: Enable FPU
* :github:`23946` - ARM soft FP ABI support is broken
* :github:`23945` - west flash don't flash right signed file when system build both hex and bin files
* :github:`23930` - Question: Cortex-M7 revision r0p1 errata
* :github:`23928` - Flash device FLASH_CTRL not found
* :github:`23922` - cmake 3.17 dev warning from FindPythonInterp.cmake
* :github:`23919` - sanitycheck samples/drivers/entropy/sample.drivers.entropy fails
* :github:`23907` - Shell overdo argument parsing in some cases
* :github:`23897` - Typo in linker.ld for NXP i.MX RT
* :github:`23893` - server to client ble coms: two characteristics with notifications failing to notify the right characteristics at the client
* :github:`23877` - syscall use of output buffers may be unsafe in some situations
* :github:`23872` - cmake find_package(ZephyrUnittest...) doesn't work
* :github:`23866` - sample hci_usb fails with zephyr 2.2.0 (worked with zephyr 2.1.0)
* :github:`23865` - nrf52840 and pyocd cannot program at addresses above 512k
* :github:`23853` - samples/boards/nrf/battery does not build
* :github:`23850` - Template with C linkage in util.h:52
* :github:`23824` - ARM Cortex-M7 MPU setting
* :github:`23805` - Bluetooth: controller: Switching to non conn adv fails for Mesh LPN
* :github:`23803` - nrf52840 ble error
* :github:`23800` - tests/drivers/counter/counter_cmos failed on up_squared platform
* :github:`23799` - tests/subsys/logging/log_immediate failed on reel_board
* :github:`23777` - Problem with applying overlay for custom board in blinky example
* :github:`23763` - net: sockets: Wrong binding when connecting to ll address
* :github:`23762` - stm32: Revert nucleo_l152re to work at full speed
* :github:`23750` - eSPI API needs to be updated since it's passing parameters by value
* :github:`23718` - Getting started with zephyr OS
* :github:`23712` - Error in mounting the SD card
* :github:`23703` - Openthread on Zephyr cannot get On-Mesh Prefix address
* :github:`23694` - TEMP_KINETIS is forced enabled on frdm_k64f if SENSORS is enabled. But ADC is missing
* :github:`23692` - drivers: ublox-sara-r4: Add support for pin polarity
* :github:`23678` - drivers/flash: stm32: Error in device name
* :github:`23677` - SPI slave driver doesn't work correctly on STM32F746ZG; needs spi-fifo to be enabled in DT
* :github:`23674` - Openthread stop working after "Update OpenThread revision #23632"
* :github:`23673` - spi-nor driver fails to check for support of 32 KiBy block erase
* :github:`23669` - ipv4 rx fragments: is zephyr support?
* :github:`23662` - Building blinky sample program goes wrong
* :github:`23637` - Wrong channel computation in stm32 pwm driver
* :github:`23624` - posix: clock: clock_gettime fault on userspace with CLOCK_REALTIME
* :github:`23623` - stm32 can2 not work properly
* :github:`23622` - litex_vexriscv: k_busy_wait() never returns if called with interrupts locked
* :github:`23618` - cmake: Export compile_commands.json for all generated code
* :github:`23617` - kernel: k_cpu_idle/atomic_idle() not tested for tick-less kernel
* :github:`23611` - Add QuickLogic EOS S3 HAL west module
* :github:`23600` - Differences in cycles between k_busy_wait and k_sleep
* :github:`23595` - RF2XX driver Openthread ACK handling
* :github:`23593` - Nested interrupt test is broken for RISC-V
* :github:`23588` - [Coverity CID :208912] Dereference after null check in tests/net/icmpv4/src/main.c
* :github:`23587` - [Coverity CID :208913] Resource leak in tests/net/socket/af_packet/src/main.c
* :github:`23586` - [Coverity CID :208914] Self assignment in drivers/peci/peci_mchp_xec.c
* :github:`23585` - [Coverity CID :208915] Out-of-bounds access in tests/net/icmpv4/src/main.c
* :github:`23584` - [Coverity CID :208916] Out-of-bounds read in drivers/sensor/adxl345/adxl345.c
* :github:`23583` - [Coverity CID :208917] Dereference after null check in tests/net/icmpv4/src/main.c
* :github:`23582` - [Coverity CID :208918] Side effect in assertion in tests/arch/arm/arm_interrupt/src/arm_interrupt.c
* :github:`23581` - [Coverity CID :208919] Out-of-bounds read in drivers/sensor/adxl345/adxl345.c
* :github:`23580` - [Coverity CID :208920] Resource leak in tests/net/socket/af_packet/src/main.c
* :github:`23579` - [Coverity CID :208921] Improper use of negative value in tests/net/socket/af_packet/src/main.c
* :github:`23577` - [Coverity CID :208923] Out-of-bounds read in drivers/sensor/adxl345/adxl345.c
* :github:`23576` - [Coverity CID :208924] Dereference after null check in tests/net/icmpv4/src/main.c
* :github:`23575` - [Coverity CID :208925] Unsigned compared against 0 in samples/drivers/espi/src/main.c
* :github:`23573` - [Coverity CID :208927] Dereference after null check in tests/net/icmpv4/src/main.c
* :github:`23571` - drivers: timer: nrf52: Question: Does nRF52840 errata 179 affect nrf_rtc_timer driver?
* :github:`23562` - build warnings when updating to master from 2.2.0
* :github:`23555` - STM32 SDMMC disk access driver (based on stm32 cube HAL)
* :github:`23544` - tests/kernel/mem_protect/syscalls failed on iotdk board.
* :github:`23541` - xilinx_zynqmp: k_busy_wait() never returns if called with interrupts locked
* :github:`23539` - west flash --runner jlink returns KeyError: 'jlink'
* :github:`23529` - Convert STM32 drivers to new DT macros
* :github:`23528` - k64f dts flash0/storage_partition 8KiB -> 64KiB
* :github:`23507` - samples/subsys/shell/shell_module doesn't work on qemu_x86_64
* :github:`23504` - Build system dependency issue with syscalls
* :github:`23496` - Issue building & flashing a hello world project on nRF52840
* :github:`23494` - Bluetooth: LL/PAC/SLA/BV-01-C fails if Slave-initiated Feature Exchange is disabled
* :github:`23485` - BT: host: Service Change indication sent regardless of whether it is needed or not.
* :github:`23482` - 2M PHY + DLE and timing calculations on an encrypted link are wrong
* :github:`23476` - tests/kernel/interrupt failed on ARC
* :github:`23475` - tests/kernel/gen_isr_table failed on iotdk board.
* :github:`23473` - tests/posix/common failed on multiple ARM platforms.
* :github:`23468` - bluetooth: host: Runtime HCI_LE_Create_Connection timeout
* :github:`23467` - Import from linux to zephyr?
* :github:`23459` - tests: drivers: uart: config api has extra dependency in test 2
* :github:`23444` - drivers: hwinfo: shell command "hwinfo devid" output ignores endianness
* :github:`23441` - RFC: API change: Add I2C bus recovery API
* :github:`23438` - Cannot reset Bluetooth mesh device
* :github:`23435` - Missing documentation for macros in util.h
* :github:`23432` - Add PECI subsystem user space handlers
* :github:`23425` - Remote opencd
* :github:`23420` - PPP management don't build
* :github:`23418` - Building hello_world failed
* :github:`23415` - gen_defines does not resolve symbol values for devicetree.conf
* :github:`23414` - tests/benchmarks/timing_info failed on mec15xxevb_assy6853 board.
* :github:`23395` - UART Console input does not work on SiFive HiFive1 on echo sample app
* :github:`23387` - [Question] Why does not zephyr use a toolchain file with cmake as -DCMAKE_TOOLCHAIN_FILE=.. ?
* :github:`23386` - SAM GMAC should support PHY link status detection
* :github:`23373` - ARM: Move CMSIS out of main tree
* :github:`23372` - arm: aarch32: spurious IRQ handler calling z_arm_reserved with wrong arguments' list
* :github:`23360` - Possible NULL dereference in zephyr/arch/arm/include/aarch32/cortex_m/exc.h
* :github:`23353` - nrf51_ble400.dts i2c pins inverted
* :github:`23346` - bl65x_dvk boards do not reset after flashing
* :github:`23339` - tests/kernel/sched/schedule_api failed on mps2_an385 with v1.14 branch.
* :github:`23337` - USB DFU device + Composite Device with ACM Serial - Windows Fails
* :github:`23324` - TinyCBOR is not linked to application files unless CONFIG_MCUMGR is selected
* :github:`23311` - Sanitycheck flash error on frdm_k64f board.
* :github:`23309` - Sanitycheck generated incorrect acrn.xml on acrn platform
* :github:`23299` - Some bugs or dead codes cased by possible NULL pointers
* :github:`23295` - [Coverity CID :208676] Overlapping buffer in memory copy in subsys/usb/class/mass_storage.c
* :github:`23294` - [Coverity CID :208677] Unchecked return value in drivers/sensor/lis3mdl/lis3mdl_trigger.c
* :github:`23284` - driver: ethernet: Add support for a second Ethernet controller in the MCUX driver
* :github:`23280` - Bluetooth: hci_usb fails to connect to two devices with slow advertising interval
* :github:`23278` - uart_basic_api test fails for SAM family devices
* :github:`23274` - power: subsystem: Application hangs when logging is enabled after entering deep sleep
* :github:`23247` - Bluetooth LE: Add feature to allow profiles to change ADV data at RPA updates
* :github:`23246` - net: tx_bufs are not freed when NET_TCP_BACKLOG_SIZE is too high
* :github:`23226` - Bluetooth: host: Peer not resolved when host resolving is used
* :github:`23225` - Bluetooth: Quality of service: Adaptive channel map
* :github:`23222` - Bluetooth: host: Unable to pair when privacy feature is disabled by application
* :github:`23207` - tests/kernel/mem_pool/mem_pool_concept failed on mec15xxevb_assy6853 board.
* :github:`23193` - Allow overriding get_mac() function in ieee802154 drivers
* :github:`23187` - nrf_rtc_timer.c timseout setting mistake.
* :github:`23184` - mqtt_connect fails with return -2
* :github:`23156` - App determines if Bluetooth host link request is allowed
* :github:`23153` - Binding AF_PACKET socket second time will fail with multiple network interfaces
* :github:`23133` - boards: adafruit_feather_m0: don't throw compiler warnings on using custom sercom config
* :github:`23117` - Unable to flash hello_world w/XDS-110 & OpenOCD
* :github:`23107` - Convert SAM SoC drivers to DT_INST
* :github:`23106` - timer_api intermittent failures on Nordic nRF
* :github:`23070` - Bluetooth: controller: Fix ticker implementation to avoid catch up
* :github:`23026` - missing ISR locking in UART driver?
* :github:`23001` - Implement SAM E5X GMAC support
* :github:`22997` - Add GMAC device tree definition
* :github:`22964` - Define a consistent naming convention for device tree defines
* :github:`22948` - sanitycheck --build-only followed by --test-only fails
* :github:`22911` - [Coverity CID :208407] Unsigned compared against 0 in drivers/modem/modem_pin.c
* :github:`22910` - [Coverity CID :208408] Unsigned compared against 0 in drivers/modem/modem_pin.c
* :github:`22909` - [Coverity CID :208409] Unchecked return value in tests/drivers/gpio/gpio_basic_api/src/test_deprecated.c
* :github:`22908` - [Coverity CID :208410] Unsigned compared against 0 in drivers/modem/modem_pin.c
* :github:`22907` - si7006 temperature conversion offset missing
* :github:`22903` - mcuboot/samples/zephyr (make test-good-rsa) doesn't work
* :github:`22887` - Atomic operations on pointers
* :github:`22860` - Highly accurate synchronized clock distribution for BLE mesh network
* :github:`22780` - Sanitycheck hardware map integration caused some tests failure.
* :github:`22777` - Sanitycheck hardware map integration failed with some tests timeout.
* :github:`22745` - schedule_api fails with slice testing on frdmkw41z board on v2.2.0_rc1
* :github:`22738` - crashes in tests/kernel/mem_protect/userspace case pass_noperms_object on x86_64
* :github:`22732` - IPv6 address and prefix timeout failures
* :github:`22701` - Implement I2C driver for lpcxpresso55s69
* :github:`22679` - MQTT publish causes unnecessary TCP segmentation
* :github:`22670` - Implement GIC-based ARM interrupt tests
* :github:`22643` - [Coverity CID :208206] Unsigned compared against 0 in samples/sensor/fxos8700-hid/src/main.c
* :github:`22625` - tests/subsys/canbus/isotp/conformance fails on frdm_k64f and twr_ke18f boards
* :github:`22622` - tests/drivers/gpio/gpio_basic_api failed on multiple ARM platforms
* :github:`22561` - tests/kernel/mem_protect/syscalls fails test_string_nlen on nsim_sem
* :github:`22555` - Add support to device tree generation support for DT_NODELABEL_<node-label>_<FOO> generation
* :github:`22554` - Add support to device tree generation support for DT_PATH_<path>_<FOO> generation
* :github:`22541` - hal_nordic: nrf_glue.h change mapped assert function
* :github:`22521` - intermittent crash in tests/portability/cmsis_rtos_v2 on qemu_x86
* :github:`22502` - USB transfer warnings
* :github:`22452` - not driver found in can bus samples for olimexino_stm32
* :github:`22441` - [Coverity CID :207967] Invalid type in argument to printf format specifier in samples/drivers/spi_flash/src/main.c
* :github:`22431` - [Coverity CID :207984] Sizeof not portable in drivers/counter/counter_handlers.c
* :github:`22429` - [Coverity CID :207989] Dereference after null check in drivers/sensor/sensor_shell.c
* :github:`22421` - mbed TLS: Inconsistent Kconfig option names
* :github:`22356` - An application hook for early init
* :github:`22348` - LIS2DH SPI Support
* :github:`22270` - wrong total of testcases when sanitycheck is run with a single test
* :github:`22264` - drivers: serial: nrf_uart & nrf_uarte infinite hang
* :github:`22222` - Enabling OpenThread SLAAC
* :github:`22158` - flash_img: support arbitrary flash devices
* :github:`22083` - stm32: spi: Infinite loop of RXNE bit check
* :github:`22078` - stm32: Shell module sample doesn't work on nucleo_l152re
* :github:`22034` - Add support for USB device on STM32L1 series
* :github:`21984` - i2c_4 not working on stm32f746g_disco
* :github:`21955` - usb: tests/subsys/usb/device fails on all NXP RT boards
* :github:`21932` - Current consumption on nrf52_pca10040, power_mgr sample
* :github:`21917` - cmake error with CONFIG_COUNTER and CONFIG_BT both enabled (nrf52 board)
* :github:`21899` - STM32F769I-DISCO > microSD + FatFS > failed in "samples/subsys/fs/fat_fs" > CMD0 and 0x01
* :github:`21877` - tests/drivers/uart/uart_async_api fails on qemu_cortex_m0
* :github:`21833` - SRAM not sufficient when building BT Mesh developer guide build on BBC Micro-bit
* :github:`21820` - docs: "Crypto Cipher" API isn't available in the docs
* :github:`21755` - tests/drivers/adc/adc_api failed on mec15xxevb_assy6853 board.
* :github:`21706` - Link to releases in README.rst give a 404 error
* :github:`21701` - [Coverity CID :206600] Logically dead code in drivers/crypto/crypto_mtls_shim.c
* :github:`21677` - [Coverity CID :206388] Unrecoverable parse warning in subsys/cpp/cpp_new.cpp
* :github:`21675` - [Coverity CID :206390] Unrecoverable parse warning in subsys/cpp/cpp_new.cpp
* :github:`21514` - Logging - strange behaviour with RTT on nRF53
* :github:`21513` - NULL parameter checks in Zephyr APIs
* :github:`21500` - RFC: k_thread_join()
* :github:`21469` - ARC SMP is mostly untested in sanitycheck
* :github:`21455` - driver: subsys: sdhc: USAGE FAULT trace and no cs control
* :github:`21441` - Add UART5 on B-port to H7 pinmux
* :github:`21426` - civetweb triggers an error on Windows with Git 2.24
* :github:`21390` - BLE Incomplete Connect results in subsquent encryption failures
* :github:`21372` - cc26x2r1_launchxl build passed, but can't flash
* :github:`21369` - devicetree: clearly define constraints on identifier/property name conflicts
* :github:`21321` - error update for project civetweb
* :github:`21305` - New Kernel Timeout API
* :github:`21253` - 2.2 Release Checklist
* :github:`21201` - ARM: Core Stack Improvements/Bug fixes for 2.2 release
* :github:`21200` - Replace IWDG_STM32_START_AT_BOOT by WDT_DISABLE_AT_BOOT
* :github:`21158` - Giving Semaphore Limit+1 can cause limit+1 takes
* :github:`21156` - Interrupts do not work on UP Squared board
* :github:`21107` - LL_ASSERT and 'Imprecise data bus error' in LL Controller
* :github:`21093` - put sys_trace_isr_enter/sys_trace_isr_exit to user care about ISR instead of every ISR
* :github:`21088` - Bluetooth: Mesh: Send Model Message shouldn't require explicit NetKey Index
* :github:`21068` - Conflicting documentation for device initialization
* :github:`20993` - spinlock APIs need documentation
* :github:`20991` - test_timer_duration_period fails with stm32 lptimer
* :github:`20945` - samples/synchronization fails on nsim_hs_smp and nsim_sem_normal
* :github:`20876` - [Coverity CID :205820] Memory - corruptions in tests/crypto/tinycrypt/src/cmac_mode.c
* :github:`20875` - [Coverity CID :205840] Memory - corruptions in tests/benchmarks/mbedtls/src/benchmark.c
* :github:`20874` - [Coverity CID :205805] Memory - corruptions in tests/benchmarks/mbedtls/src/benchmark.c
* :github:`20873` - [Coverity CID :205782] Memory - corruptions in tests/benchmarks/mbedtls/src/benchmark.c
* :github:`20835` - [Coverity CID :205797] Control flow issues in drivers/flash/spi_nor.c
* :github:`20825` - stm32: dma: enable dma with peripheral using DMAMUX
* :github:`20699` - Each board should have a list of Kconfig options supported
* :github:`20632` - call to bt_gatt_hids_init influences execution time of work queue
* :github:`20604` - log will be discarded before logging_thread scheduled once
* :github:`20585` - z_clock_announce starvation with timeslicing active
* :github:`20492` - [Coverity CID :205653]Control flow issues in /drivers/dma/dma_stm32_v1.c
* :github:`20491` - [Coverity CID :205644]Control flow issues in /drivers/dma/dma_stm32_v1.c
* :github:`20348` - Convert remaining entropy to Devicetree
* :github:`20330` - devicetree Arduino bindings do not support identification of bus controllers
* :github:`20301` - tests/drivers/watchdog/wdt_basic_api failed on mec15xxevb_assy6853 board.
* :github:`20259` - Bluetooth: Mesh: Network management
* :github:`20137` - posix: undefined reference with --no-gc-sections
* :github:`20136` - kernel: undefined reference with --no-gc-sections
* :github:`20068` - Application doesn't start when SHELL-UART is enabled and UART is not connected on STM32F0
* :github:`19869` - Implement tickless capability for xlnx_psttc_timer
* :github:`19852` - Add support for GPIO AF remap on STM32F1XX
* :github:`19837` - SS register is 0 when taking exceptions on qemu_x86_long
* :github:`19813` - tests/crypto/rand32 failed on sam_e70 board on v1.14 branch.
* :github:`19763` - tests/subsys/usb/device/ failed on mimxrt1050_evk board.
* :github:`19614` - Make zephyr_library out of hal_stm32 and hal_st
* :github:`19550` - drivers/pcie: ``pcie_get_mbar()`` should return a ``void *`` not ``u32_t``
* :github:`19487` - tests/kernel/fifo/fifo_usage GPF crash on qemu_x86_long
* :github:`19456` - arch/x86: make use of z_bss_zero() and z_data_copy()
* :github:`19353` - arch/x86: QEMU doesn't appear to support x2APIC
* :github:`19307` - _interrupt_stack is defined in the kernel, but declared in arch headers
* :github:`19285` - devicetree: fixed non-alias reference to specific nodes
* :github:`19235` - move drivers/timer/apic_timer.c to devicetree
* :github:`19219` - drivers/i2c/i2c_dw.c is not 64-bit clean
* :github:`19144` - arch/x86: CONFIG_BOOT_TIME_MEASUREMENT broken
* :github:`19075` - k_delayed_work_submit() does not handle long delays correctly
* :github:`19067` - non-overlapping MPU gap-filling needs to be optional
* :github:`19038` - [zephyr branch 1.14 and master -stm32-netusb]:errors when i view RNDIS Devices properties on Windows 10
* :github:`18956` - memory protection for x86 dependent on XIP
* :github:`18940` - Counter External Trigger
* :github:`18808` - Docs for gpmrb board incorrectly refer to up_squared board
* :github:`18787` - arch/x86: retire loapic_timer.c driver in favor of new apic_timer.c
* :github:`18657` - drivers/timer/hpet.c should use devicetree, not CONFIG_* for MMIO/IRQ data
* :github:`18614` - same70 hsmci interface
* :github:`18568` - Support for Particle Photon
* :github:`18435` - [Coverity CID :203481]API usage errors in /tests/crypto/tinycrypt/src/test_ecc_utils.c
* :github:`18425` - [Coverity CID :203498]Memory - corruptions in /tests/application_development/gen_inc_file/src/main.c
* :github:`18422` - [Coverity CID :203415]Memory - illegal accesses in /subsys/shell/shell_telnet.c
* :github:`18389` - [Coverity CID :203396]Null pointer dereferences in /subsys/bluetooth/mesh/access.c
* :github:`18386` - [Coverity CID :203443]Memory - corruptions in /subsys/bluetooth/host/rfcomm.c
* :github:`18263` - flash sector erase fails on stm32f412
* :github:`18207` - tests/bluetooth/hci_prop_evt fails with code coverage enabled in qemu_x86
* :github:`18124` - synchronization example fails to build for SMP platforms
* :github:`18118` - samples/subsys/console doesn't work with qemu_riscv32
* :github:`18106` - Only 1 NET_SOCKET_OFFLOAD driver can be used
* :github:`18085` - I2C log level ignored
* :github:`18050` - BT Host - Advertisement extensions support
* :github:`18047` - BT Host: Advertising Extensions - Advertiser
* :github:`18046` - BT Host: Advertising Extensions - Scanner
* :github:`18044` - BT Host: Advertising Extensions - Periodic Advertisement Synchronisation (Rx)
* :github:`18042` - Only corporate members can join the slack channel
* :github:`17892` - arch/x86: clean up segmentation.h
* :github:`17888` - arch/x86: remove IAMCU ABI support
* :github:`17775` - Microchip XEC rtos timer should be using values coming from DTS
* :github:`17755` - ARC privilege mode stacks waste memory due to alignment requirements
* :github:`17735` - abolish Z_OOPS() in system call handlers
* :github:`17543` - dtc version 1.4.5 with ubuntu 18.04 and zephyr sdk-0.10.1
* :github:`17508` - RFC: Change/deprecation in display API
* :github:`17443` - Kconfig: move arch-specific stack sizes to arch trees?
* :github:`17430` - arch/x86: drivers/interrupt_controller/system_apic.c improperly classifies IRQs
* :github:`17415` - Settings Module - settings_line_val_read() returning -EINVAL instead of 0 for deleted setting entries
* :github:`17361` - _THREAD_QUEUED overlaps with x86 _EXC_ACTIVE in k_thread.thread_state
* :github:`17324` - failing bluetooth tests with code coverage enabled in qemu_x86
* :github:`17323` - failing network tests with code coverage enabled in qemu_x86
* :github:`17240` - add arc support in Zephyr's openthread
* :github:`17234` - CONFIG_KERNEL_ENTRY appears to be superfluous
* :github:`17166` - arch/x86: eliminate support for CONFIG_REALMODE
* :github:`17135` - Cannot flash LWM2M example for ESP32
* :github:`17133` - arch/x86: x2APIC EOI should be inline
* :github:`17104` - arch/x86: fix -march flag for Apollo Lake
* :github:`17064` - drivers/serial/uart_ns16550: CMD_SET_DLF should be removed
* :github:`16988` - Packet isn't received by server during stepping
* :github:`16902` - CMSIS v2 emulation assumes ticks == milliseconds
* :github:`16886` - Bluetooth Mesh: Receive segmented message multiple times
* :github:`16721` - PCIe build warnings from devicetree
* :github:`16720` - drivers/loapic_timer.c is buggy, needs cleanup
* :github:`16649` - z_init_timeout() ignores fn parameter
* :github:`16587` - build failures with gcc 9.x
* :github:`16436` - Organize generated include files
* :github:`16385` - watch dog timer causes the reboot on SAME70 board
* :github:`16330` - LPCXpresso55S69 secure/non-secure configuration
* :github:`16196` - display_mcux_elcdif driver full support frame buffer features
* :github:`16122` - Detect first block in LWM2M firmware updates.
* :github:`16096` - Sam gmac Ethernet driver should be able to detect the carrier state
* :github:`16072` - boards/up_squared: k_sleep() too long with local APIC timer
* :github:`15903` - Documentation missing for SPI and ADC async operations
* :github:`15680` - "backport v1.14 branch" label: update description and doc
* :github:`15565` - undefined references to ``sys_rand32_get``
* :github:`15504` - Can I use one custom random static bd_addr before provision?
* :github:`15499` - gpio_intel_apl: gpio_pin_read() pin value doesn't match documentation
* :github:`15463` - soc/x86/apollo_lake/soc_gpio.h: leading zeros on decimal constants
* :github:`15449` - tests/net/ieee802154/crypto: Assertion Failure: ds_test(dev) is false
* :github:`15343` - tests/kernel/interrupt: Assertion Failure in test_prevent_interruption
* :github:`15304` - merge gen_kobject_list.py and gen_priv_stacks.py
* :github:`15202` - tests/benchmarks/timing_info measurements are suddenly higher than previous values on nrf52_pca10040
* :github:`15181` - ztest issues
* :github:`15177` - samples/drivers/crypto: CBC and CTR mode not supported
* :github:`14972` - samples: Create README.rst
* :github:`14790` - google_iot_mqtt sample does not work with qemu_x86 out of the box
* :github:`14763` - PCI debug logging cannot work with PCI-enabled NS16550
* :github:`14749` - Verify all samples work as intended
* :github:`14647` - IP: Zephyr replies to broadcast ethernet packets in other subnets on the same wire
* :github:`14591` - Infineon Tricore architecture support
* :github:`14540` - kernel: message queue MACRO not compatible with C++
* :github:`14302` - USB MSC fails USB3CV tests
* :github:`14173` - Configure QEMU to run independent of the host clock
* :github:`14122` - CONFIG_FLOAT/CONFIG_FP_SHARING descriptions are confusing and contradictory
* :github:`14099` - Minnowboard doesn't build tests/kernel/xip/
* :github:`13963` - up_squared: evaluate removal of SBL-related special configurations
* :github:`13821` - tests/kernel/sched/schedule_api: Assertion failed for test_slice_scheduling
* :github:`13783` - tests/kernel/mem_protect/stackprot failure in frdm_k64f due to limited privilege stack size
* :github:`13569` - ZTEST: Add optional float/double comparison support
* :github:`13468` - tests/drivers/watchdog/wdt_basic_api/testcase.yaml: Various version of "Waiting to restart MCU"
* :github:`13353` - z_timeout_remaining should subtract z_clock_elapsed
* :github:`12872` - Update uart api tests with configure/configure_get apis
* :github:`12775` - USB audio isochronous endpoints
* :github:`12553` - List of tests that keep failing sporadically
* :github:`12478` - tests/drivers/ipm/peripheral.mailbox failing sporadically on qemu_x86_64 (timeout)
* :github:`12440` - Device discovery of direct advertising devices is not working
* :github:`12385` - Support touch button
* :github:`12264` - kernel: poll: outdated check for expired timeout
* :github:`11998` - intermittent failures in tests/kernel/common: test_timeout_order: (poll_events[ii].state not equal to K_POLL_STATE_SEM_AVAILABLE)
* :github:`11928` - nRF UART nrfx drivers (nRF UARTE 0) won't build
* :github:`11916` - ISR table (_sw_isr_table) generation is fragile and can result in corrupted binaries
* :github:`11745` - logging: never leaves panic mode on fatal thread exception
* :github:`11261` - ARM Cortex-M4 (EFR32FG1P) MCU fails to wake up from sleep within _sys_soc_suspend()
* :github:`11149` - subsys/bluetooth/host/rfcomm.c: Missing unlock
* :github:`11016` - nRF52840-PCA10056/59: Cannot bring up HCI0 when using HCI_USB sample
* :github:`9994` - irq_is_enabled not available on nios2
* :github:`9962` - Migrate sensor drivers to device tree
* :github:`9953` - wrong behavior in pthread_barrier_wait()
* :github:`9741` - tests/kernel/spinlock:kernel.multiprocessing.spinlock_bounce crashing on ESP32
* :github:`9711` - RFC: Zephyr should provide a unique id interface
* :github:`9608` - Bluetooth: different transaction collision
* :github:`9566` - Unclear definition of CONFIG_IS_BOOTLOADER
* :github:`8139` - Driver for BMA400 accelerometer
* :github:`7868` - Support non-recursive single-toolchain multi-image builds
* :github:`7564` - dtc: define list of acceptable warnings (and silent them with --warning -no<warnign-name> option)
* :github:`6648` - Trusted Execution Framework: practical use-cases (high-level overview)
* :github:`6015` - PWM on 32bit arch can get 0 pulse_cycle because of 64bit calculation
* :github:`5857` - net: TCP retransmit queue implementation is broken
* :github:`5408` - Improve docs & samples on device tree overlay
* :github:`4985` - TEE support for ARMv8-M
* :github:`4911` - Filesystem support for qemu
* :github:`4832` - disco_l475_iot1: Provide 802.15.4 Sub-GHz
* :github:`4475` - Add support for Rigado BMD-3XX-EVAL boards
* :github:`4412` - Replace STM32 USB driver with DWC
* :github:`4326` - Port Zephyr to Cypress PSoC 6 MCU's
* :github:`3909` - Add Atmel SAM QDEC Driver
* :github:`3730` - ESP32: DAC Driver support
* :github:`3729` - ESP32 ADC Driver Support
* :github:`3727` - ESP32: SPI Driver Support
* :github:`3726` - ESP32: DMA Driver Support
* :github:`3694` - i2c: Drivers are not thread safe
* :github:`3668` - timeslice reset is not tested for interrupt-induced swaps
* :github:`3564` - Requires more UART samples for STM32 Nucleo/similar boards
* :github:`3285` - Allow taking advantage of HW-based AES block cipher
* :github:`3232` - Add ksdk dma shim driver
* :github:`3076` - Add support for DAC (Digital to Analog Converter) drivers
* :github:`2585` - Support for LE legacy out-of-band pairing
* :github:`2566` - Create a tool for finding out stack sizes automatically.
* :github:`1900` - Framework for Trusted Execution Environment
* :github:`1894` - Secure Key Storage
* :github:`1333` - Provide build number in include/generated/version.h
``` | /content/code_sandbox/doc/releases/release-notes-2.3.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 22,769 |
```restructuredtext
:orphan:
.. _zephyr_1.13:
Zephyr Kernel 1.13.0
####################
We are pleased to announce the release of Zephyr kernel version 1.13.0.
Major enhancements with this release include:
* Extensible and Pluggable Tracing Support
* Compartmentalized application memory organization
* Logging System Overhaul
* Introduce system calls for BSD socket APIs
* Support for IEEE 802.1AS-2011 generalized Precision Time Protocol (gPTP)
* Link Layer Discovery Protocol (LLDP) TX support
* Support for TLS and DTLS using BSD socket API
* Support for Link Layer Multicast Name Resolution (LLMNR)
* Introduced reworked ADC API and updated Nordic, NXP, Atmel, and
Synopsys DesignWare drivers
* Support OS driven Power Management framework
* Basic support for Arm TrustZone in Armv8-M
The following sections provide detailed lists of changes by component.
Kernel
******
* Remove kernel event manager, replaced by generic tracing interface
* Enhanced Timeout and Tick handling in kernel
* Compartmentalized application memory organization
* Fix errno access for user mode
Architectures
*************
* arch: arc: improve the reset code
* arch: arc: use a separate stack for exception handling
* arch: arc: refactor the arc stack check support
* arch: arm: stm32: enable instruction and data caches on STM32F7
* arch: arm: implement ARMv8-M MPU driver
* irq: Fix irq_lock api usage
* arch: arm: macro API for defining non-secure entry functions
* arch: arm: allow processor to ignore/recover from faults
* arm: nxp: mpu: Consolidate k64 mpu regions
* arm: Print NXP MPU error information in BusFault dump
* arch: ARM: Change the march used by cortex-m0 and cortex-m0plus
* arch: arm: integrate ARM CMSE with CMake
* arch: arm: basic Arm TrustZone-M functionality for Cortex-M23 and Cortex-M33
* arch: arm: built-in stack protection using Armv8-M SPLIM registers
* arch: arm: API for using TT intrinsics in Secure/Non-Secure Armv8-M firmware
* arch: arm: clean up MPU code for ARM and NXP
* arch: arm: Set Zero Latency IRQ to priority level zero
* arch/arm: Fix locking in __pendsv
Boards & SoC Support
********************
* x86: add SoC configuration for Apollo Lake
* x86: add support for UP Squared (Pentium/Celeron)
* arc: Support Synopsys ARC nSim instruction set simulator
* riscv32: riscv-privilege: Microsemi Mi-V support
* Added support for the following Arm boards:
* efr32_slwstk6061a
* nrf52_adafruit_feather
* nrf52810_pca10040
* nrf52840_pca10059
* nucleo_f207zg
* reel_board
* stm32f723e_disco
* stm32f746g_disco
* stm32f769i_disco
* udoo_neo_full_m4
* warp7_m4
Drivers and Sensors
*******************
* adc: Introduced reworked API and updated Nordic, NXP, Atmel, and
Synopsys DesignWare drivers
* audio: Added TLV320DAC310x audio DAC driver
* can: Added can support for STM32L432
* clock_control: Added STM32F7 family clock control
* entropy: Added support for STM32F7
* eth: Enabled gPTP support in mcux and gmac drivers
* eth: Added promiscuous mode support to native_posix
* eth: mcux: Added an option for randomized, but stable MAC address
* gpio: Added STM32F7 GPIO support
* interrupt_controller: Added STM32F7 EXTI support
* i2c: Added support for STM32F7
* i2c: Added i.MX shim driver
* i2c: Implemented slave support for stm32_v2
* i2c: Added EEPROM I2C slave driver
* i2c: Added shims for nrfx TWI and TWIM drivers
* i2s: Exposed i2s APIs to user mode
* led: Added TI LP5562 and NXP PCA9633 drivers
* modem: Added Wistron WNC-M14A2A LTE-M Modem driver
* modem: Added modem receiver (tty) driver
* pinmux: Added STM32F7 pinmux support
* pwm: Added i.MX shim driver
* pwm: Added shim for nrfx PWM HW driver
* serial: Added power management to nRF UART driver
* serial: Added STM32F7 UART support
* serial: Allow to pass arbitrary user data to irq callback
* serial: Added UARTE driver for the nRFx family
* sensor: Added adxl372, mma8451q, adt7420 drivers
* sensor: lis2dh: Fix I2C burst read/write operations
* rtc: Added support for STM32
* usb: Added support for OTG FS on STM32F2 and STM32F7
* usb: Added High Speed support for DesignWare USB
* wifi: Added SimpleLink WiFi Offload Driver (wifi_mgmt only)
Networking
**********
* Introduce system calls for BSD socket APIs.
* Add IPv4 autoconf support. This adds support for IPv4 link-local addresses
(169.254.*.*)
* Add TLS and DTLS support to BSD socket API. They are configured via
setsockopt() API.
* Add support for IEEE 802.1AS-2011 generalized Precision Time Protocol (gPTP)
for ethernet networks. A sample application is created to show how to interact
with gPTP code.
* Add support for PTP clock driver. This driver will be used by gPTP supported
ethernet drivers.
* Add Link Layer Discovery Protocol (LLDP) TX support.
* Add support for managing Qav credit-based shaper algorithm.
* Add generic TX timestamping support.
* Add carrier detection support to ethernet L2 driver.
* Add support for having vendor specific ethernet statistics.
* Add getter support to ethernet management interface.
* Add promiscuous mode support to network interface. A sample application is
created that shows how to use the user API for getting all network packets.
The native_posix ethernet driver supports promiscuous mode at this point.
* Add support for Link Layer Multicast Name Resolution (LLMNR). LLMNR is used in
Microsoft Windows networks for local name resolution.
* Add API to net_pkt to prefill a network packet to a pre-defined value.
* Add IEEE 802.1Qav support to Atmel GMAC ethernet driver.
* Add hardware TX timestamping support to Atmel GMAC ethernet driver.
* Add multiple hardware queue support to Atmel GMAC ethernet driver.
* Add gPTP support to Atmel GMAC ethernet driver.
* Add support for TI SimpleLink WiFI offload driver.
* Add support for randomized but stable MAC address in NXP MCUX ethernet driver.
* Add extra prints to net-shell for ethernet based network interfaces. The
supported features and priority queue information is printed.
* Add and fix string to integer conversions in net-shell.
* Allow user to configure MAC address filters into ethernet devices.
* Catch network interface ON and OFF events in DHCPv4 and renew address lease if
we re-connected.
* Remove forever timeouts when waiting a new network buffer to be available.
* Relay network interface up/down command from net-shell to Linux host for
native_posix ethernet driver.
* No need to join IPv6 solicited node multicast group for Bluetooth IPSP
supported nodes.
* Allow external program to be started for native_posix ethernet driver. This
allows for example startup of wireshark when zeth is created.
* Network packet priority and traffic class fixes and clarifications.
* Lower memory consumption in net by using packed enums when applicable.
* Correctly notify net_app server when TCP is disconnected.
* Register OpenThread used unicast and multicast IPv6 addresses for network
interface.
* Enable Fast Connect policy for TI SimpleLink ethernet driver.
* Fix ieee802154 simulator driver channel/tx power settings.
* Handle large IPv6 packets properly.
* Enable gPTP support in native_posix, NXP mcux and Atmel GMAC ethernet drivers.
The native_posix ethernet driver gPTP support is only for testing purposes.
* Network configuration (net_config) library split from the net_app library.
(This change requires updating application configs to refer to corresponding
NET_CONFIG_* options instead of NET_APP_*).
* Moving all layer 2 (L2) network code into subsys/net/l2 directory.
* Add MSS option on sending TCP SYN request.
* Fix TCP by processing zero window probes when our receive window is 0.
* IPv4, IPv6, ICMPv6, ARP code refactoring and cleanup.
* IPv6 address lifetime fixes.
* IPv6 fragmentation fixes.
* ARP fixes when using VLAN.
* Timeout too long lasting ARP requests.
* DHCPv4 fixes and timeout management refactoring.
* TCP retry, RST packet handling, and memory leak fixes.
* IP address print function enhancements.
* HTTP fix when sending the last chunk.
* MQTT fixes.
* LWM2M cleanups and fixes.
* Fix cache support in Atmel GMAC ethernet driver.
* Fix NXP MCUX ethernet driver to detect carrier lost event.
* Port native API echo-server/echo-client samples to BSD sockets API, with
TLS/DTLS support.
* Handle out-of-buf situations gracefully in echo-client and echo-server sample
applications.
Bluetooth
*********
* New user-friendly service population using a refreshed BT_GATT_CHARACTERISTIC
macro.
* Added support for Bluetooth hardware in the native_posix board, allowing
developers to use the native POSIX architecture with Bluetooth.
* Added a new helper API to parse advertising data.
* Added a new flag, BT_LE_ADV_OPT_USE_NAME, to include the Bluetooth Device
Name in the advertising data.
* Added support for fixed passkeys to use in bonding procedures.
* Added a new Bluetooth shell command to send arbitrary HCI commands to the
controller.
* Added a new feature to support multiple local identities using a single
controller.
* Added a new, board-specific mesh sample for the nRF52x series that
implements the following models:
- Generic OnOff client and server.
- Generic Level client and server.
- Generic Power OnOff client and server.
- Light Lightness client and server.
- Light CTL client and server.
- Vendor Model.
* Controller: Added a TX Power Kconfig option.
* Controller: Use the newly available nrfx utility functions to access the
nRF5x hardware.
* Controller: Multiple bug fixes.
* Controller: Added support for the nRF52810 SoC from Nordic Semiconductor.
* New HCI driver quirks API to support controllers that need uncommon reset
sequences.
* Host: Multiple bug fixes for GATT and SMP.
* Mesh: Multiple bug fixes.
Build and Infrastructure
************************
* Kconfig: Remove redundant 'default n' properties
* cmake: replace PROJECT_SOURCE_DIR with ZEPHYR_BASE
* Kconfig: Switch to improved globbing statements
Libraries / Subsystems
***********************
* Tracing: Basic support SEGGER systemview
* Logging: Introduce a new logging subsystem
* fs/nvs: Improved nvs for larger blocksizes
* subsys: console: Refactor code to allow per-UART "tty" wrapper
HALs
****
* ext/hal: stm32cube: STM32L4: Enable legacy CAN API
* ext: Import Atmel SAMD20 header files from ASF library
* ext: gecko: Add Silabs Gecko SDK for EFR32FG1P SoCs
* drivers: add i.MX I2C driver shim
* hal: stm32f2x: Add HAL for the STM32F2x series
* ext: stm32cube: update stm32l4xx cube version
* ext: stm32cube: update stm32f7xx cube version
* ext: stm32cube: update stm32f4xx cube version
* ext: stm32cube: update stm32f3xx cube version
* ext: stm32cube: update stm32f1xx cube version
* ext: hal: nordic: Update nrfx to version 1.1.0
* net: drivers: wifi: SimpleLink WiFi Offload Driver (wifi_mgmt only)
* ext/hal/nxp/imx: Import the nxp imx6 freertos bsp
Documentation
*************
* Simplified and more maintainable theme applied to documentation.
Latest and previous four releases regenerated and published to
path_to_url
* Updated contributing guidelines
* General organization cleanup and spell check on docs including content
generated from Kconfig files and doxygen API comments.
* General improvements to documentation following code,
implementation changes, and in support of new features, boards, and
samples.
* Documentation generation now supported on Windows host systems
(previously only linux doc generation was supported).
* PDF version of documentation can now be created
Tests and Samples
*****************
* Enhanced benchmarks to support userspace
* Improve test coverage for the kernel
Issue Related Items
*******************
These GitHub issues were addressed since the previous 1.12.0 tagged
release:
.. comment List derived from GitHub Issue query: ...
* :github:`issuenumber` - issue title
* :github:`9862` - tests/drivers/build_all#test_build_sensors_a_m @ quark_se_c1000_devboard:x86 BUILD failed
* :github:`9857` - tests/cmsis_rtos_v1 - test_signal_events_signalled results in Assertion failure on all targets with PR#9856
* :github:`9840` - doc: potential broken link when referencing latest doc version
* :github:`9833` - Bluetooth Mesh incorrect reference to CONFIG_BT_SETTINGS
* :github:`9788` - update to mbedTLS 2.12.0
* :github:`9786` - arch: xtensa: build failure due to extra #endif
* :github:`9785` - Bluetooth: bt_gatt_service_register() assumes sc delayed work handler is initialized
* :github:`9772` - Test application hangs without any console output on x86/ARC based boards @arduino_101:arc
* :github:`9768` - [Coverity CID :187902] Memory - illegal accesses in /subsys/net/ip/ipv6_fragment.c
* :github:`9766` - [Coverity CID :187904] Integer handling issues in /tests/benchmarks/timing_info/src/semaphore_bench.c
* :github:`9753` - ESP32: Failing to build project
* :github:`9746` - zephyr networking non socket client server, qemu_x86 issue
* :github:`9744` - tests/kernel/mbox/mbox_usage/testcase.yaml#kernel.mailbox crashes on ESP32
* :github:`9727` - Bluetooth: IPSP Sample Doc no match for new path
* :github:`9723` - tests/drivers/adc/adc_api/ fails on sam_e70_xplained
* :github:`9718` - The test suite test_spi (spi_loopback) when built and run on the nrf52832_pca10040 board
* :github:`9701` - Suggestion: Turn warnings into errors in extract_dts_includes.py
* :github:`9689` - Multiple tests are failing on sam_e70_xplained once the cache is enabled
* :github:`9684` - tests/posix/ fails on sam_e70_xplained
* :github:`9683` - Multiple testcases in tests/kernel/mem_protect/mem_protect, tests/kernel/alert, tests/kernel/mem_pool test fails on sam_e70_xplained due to commit c090776
* :github:`9682` - tests/kernel/init: kernel.common.init.verify_bootdelay fails on sam_e70_xplained
* :github:`9680` - tests/mem_slab/mslab, tests/mem_slab/mslab_api and tests/mem_slab/mslab_threadsafe tests are crashing on sam_e70_xplained
* :github:`9677` - tests:cmsis_rtos_v1: test_mutex crashes with bus fault on sam_e70_xplained
* :github:`9676` - benchmark.timing.userspace not working on nrf52840 with v1.13.0-rc1
* :github:`9671` - Zephyr with WNC-M14A2A not compiling
* :github:`9670` - Bluetooth: Mesh: Persistent Storage: AppKey not restored
* :github:`9667` - LwM2M: Writeable parameter /3311/0/5850 doesn't persist write
* :github:`9665` - tests/drivers/watchdog/wdt_basic_api crashes on Quark D2k / SE and ESP32
* :github:`9664` - tests/kernel/threads/thread_apis/kernel.threads.user_mode crases on QEMU-x86
* :github:`9652` - gen_isr_table@mimxrt1050_evk runs failure on R1.13_RC1.
* :github:`9649` - readme of LPCxpresso54114_mo core needs update for R1.13
* :github:`9646` - sanitycheck: crashes after test execution summary report are not caught
* :github:`9644` - [Coverity CID :187817] Error handling issues in /tests/benchmarks/timing_info/src/msg_passing_bench.c
* :github:`9643` - [Coverity CID :187818] Error handling issues in /tests/benchmarks/timing_info/src/msg_passing_bench.c
* :github:`9642` - [Coverity CID :187819] Memory - illegal accesses in /subsys/logging/log_msg.c
* :github:`9641` - [Coverity CID :187820] Memory - illegal accesses in /subsys/bluetooth/host/hci_core.c
* :github:`9640` - [Coverity CID :187821] Memory - illegal accesses in /subsys/bluetooth/host/hci_core.c
* :github:`9639` - [Coverity CID :187822] Null pointer dereferences in /subsys/net/ip/tcp.c
* :github:`9638` - [Coverity CID :187823] Memory - corruptions in /samples/net/coap_server/src/coap-server.c
* :github:`9637` - [Coverity CID :187824] Integer handling issues in /lib/cmsis_rtos_v1/cmsis_thread.c
* :github:`9636` - [Coverity CID :187825] Error handling issues in /subsys/net/ip/udp.c
* :github:`9635` - [Coverity CID :187826] Error handling issues in /tests/benchmarks/timing_info/src/msg_passing_bench.c
* :github:`9634` - [Coverity CID :187827] Null pointer dereferences in /subsys/logging/log_msg.c
* :github:`9633` - [Coverity CID :187828] Error handling issues in /tests/benchmarks/timing_info/src/msg_passing_bench.c
* :github:`9630` - STM32L4: something wrong with GPIO interrupts
* :github:`9623` - tests/net/lib/tls_credentials/ crashed on sam_e70_xplained and frdm_k64f
* :github:`9622` - tests/net/mgmt/ crashed on sam_e70_xplained
* :github:`9621` - tests/net/promiscuous crashed on sam_e70_xplained
* :github:`9619` - tests/net/socket/getaddrinfo/ - crashes on sam_e70_xplained and frdm_k64f
* :github:`9618` - tests/net/udp/ - MPU fault on sam_e70_xplained
* :github:`9617` - tests/net/websocket/ - passed on QEMUx86 but the target crashed after that
* :github:`9614` - tests/net/socket/ faults on sam_e70_xplained and frdm_k64f
* :github:`9611` - tests/kernel/sched/schedule_api/testcase.yaml#kernel.sched.slice_reset fails on nrf52840_pca10056, sam_e70_xplained, nrf52_pca10040
* :github:`9609` - tests/kernel/mem_protect/stack_random: kernel.memory_protection.stack_random fails on emsk7d_v22
* :github:`9598` - tests/power/power_states fail on arduino101:x86
* :github:`9597` - tests/subsys/fs/fat_fs_api assertion fail on arduino101
* :github:`9591` - @hci.h use of magic-number in bluetooth addr struct (Missing define in @bluetooth.h)
* :github:`9580` - peripheral_hids does not remember bonds
* :github:`9575` - Network NULL pointer reference when enable net/dhcpv4 debug
* :github:`9574` - tests/cmsis_rtos_v1 - test_mutex_lock_timeout results in Assertion failure on all targets with PR#9569
* :github:`9561` - Question: Does it support passing the bootloader(mcuboot) parameter to the kernel(zephyr)?
* :github:`9558` - DTC 1.4.7 breaks at least FRDM_K64F builds
* :github:`9537` - ENC28J60 can't receive packets properly
* :github:`9536` - console: missing kernel.h include in header
* :github:`9535` - broken callback handling in nrfx gpio driver
* :github:`9530` - Bluetooth/gatt: bt_gatt_notify never return -ENOMEM, undocumented return value.
* :github:`9527` - tests/kernel/sched/schedule_api/testcase.yaml#kernel.sched.unlock_preemptible fails on nrf52840_pca10056, sam_e70_xplained, nrf52_pca10040
* :github:`9523` - tests/kernel/mem_protect/stackprot hangs without any console output on nrf51/52
* :github:`9494` - Nordic nrf52810_pca10040 is missing default bluetooth configuration options
* :github:`9487` - tests/cmsis_rtos_v1 - test_kernel_systick results in Assertion failure on nrf51/52
* :github:`9486` - sanitycheck filter rules does not work
* :github:`9471` - soc: efr32fg1p: hello_world sample app hangs when started by MCUboot
* :github:`9470` - LWM2M: TLV encoding of read result is wrong
* :github:`9468` - tests/kernel/mem_pool/mem_pool_concept/testcase.yaml#kernel.memory_pool fails on nrf52840_pca10056, nrf52_pca10040 and nrf51_pca10028
* :github:`9466` - tests/kernel/context/testcase.yaml#kernel.common.k_sleep fails on nrf52_pca10040 and nrf52840_pca10056
* :github:`9465` - tests/net/ptp/clock: PTP clock test are failing on FRDM_K64f and same_e70_xplained platforms
* :github:`9462` - [Coverity CID :187670] Integer handling issues in /tests/net/ethernet_mgmt/src/main.c
* :github:`9461` - [Coverity CID :187671] Uninitialized variables in /tests/net/iface/src/main.c
* :github:`9460` - [Coverity CID :187672] Uninitialized variables in /tests/net/iface/src/main.c
* :github:`9459` - tests/posix/timer fails on nRF51/52
* :github:`9452` - Error parsing DTS 'compatible' property list
* :github:`9446` - CI didn't report failure due to ARC_INIT issue
* :github:`9444` - sanitycheck not able to run due to CONFIG_ARC_INIT=n
* :github:`9441` - tests/kernel/gen_isr_table fails on mimxrt1050_evk
* :github:`9413` - tests/cmsis_rtos_v1 - test_signal_events_signalled results in Assertion failure on nrf51/52
* :github:`9402` - samples/drivers/watchdog fails on frdm_k64f
* :github:`9396` - ./loop-socat.sh not running
* :github:`9392` - samples/bluetooth/hci_uart ninja flash - UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 360: ordinal not in range(128)
* :github:`9389` - ESP32 support: setting env var ESP_DEVICE not working
* :github:`9356` - Test tests/crypto/rand32 hangs on nrf51_pca10028
* :github:`9348` - samples: net: echo_client/echo_server does not work with IPv4 qemu_x86
* :github:`9310` - nRF52_PCA10040: Failing test_slice_reset
* :github:`9297` - [Coverity CID :187318] Error handling issues in /tests/posix/pthread_key/src/pthread_key.c
* :github:`9296` - [Coverity CID :187319] Control flow issues in /subsys/net/lib/sockets/sockets.c
* :github:`9295` - [Coverity CID :187320] Control flow issues in /drivers/ethernet/eth_sam_gmac.c
* :github:`9294` - [Coverity CID :187321] Possible Control flow issues in /samples/net/sockets/big_http_download/src/big_http_download.c
* :github:`9293` - [Coverity CID :187322] Incorrect expression in /tests/posix/pthread_key/src/pthread_key.c
* :github:`9292` - [Coverity CID :187323] Control flow issues in /subsys/net/ip/net_if.c
* :github:`9291` - [Coverity CID :187324] Control flow issues in /subsys/net/lib/sockets/sockets.c
* :github:`9287` - net/dhcpv4: Fix single byte buffer filling madness
* :github:`9273` - k_pipe_alloc_init() api is failing on qemu_x86
* :github:`9270` - cmake: kconfig: menuconfig is not writing zephyr/.config
* :github:`9262` - tests/kernel/mem_protect/userspace.access_other_memdomain fails on sam_e70_xplained and nrf52840_pca10056
* :github:`9238` - Get POSIX board compliant with default configuration guidelines
* :github:`9234` - Get ARC boards compliant with default configuration guidelines
* :github:`9224` - sam_e70_xplained fails to build several tests
* :github:`9221` - calloc memory data is not initialized to zero for MINIMAL_LIBC
* :github:`9198` - Out-of-Tree YAML and DTS support
* :github:`9196` - optimize gen_kobject_list.py
* :github:`9160` - net: openthread: Mesh Local IPv6 is not in zephyr stack
* :github:`9148` - samples/net/http_server: Failed to respond back to CURL command on http Client
* :github:`9135` - Failure : "integer overflow in exp" on Altera-Max 10 platform
* :github:`9134` - Build failure with SAM_e70 platform
* :github:`9131` - samples/net/coaps_server: Failed to send response to coaps_client
* :github:`9128` - doc build fails if no reST reference to file
* :github:`9113` - Enabling various thread options causes failures on cortex-M0 boards
* :github:`9108` - Which board is suit with esidon??
* :github:`9098` - Doc build failure not noticed by CI test system
* :github:`9081` - dynamic thread objects do not have a thread ID assigned
* :github:`9067` - Failed tests: posix.sema and posix_checks on em_starterkit_em7d_v22
* :github:`9061` - sanitycheck not printing QEMU console in some cases
* :github:`9058` - Kconfig default on BT_ACL_RX_COUNT can be 1, but range is 2-64
* :github:`9054` - Build failures with mimxrt1050_evk board
* :github:`9044` - "logging: Remove log.h including in headers limitation" breaks logging
* :github:`9032` - net/sockets/echo_async crashes after several connections (qemu_x86)
* :github:`9028` - STM32 SPI/I2S: LSB bit corrupted for the received data
* :github:`9019` - cmsis Include/ version mismatch
* :github:`9006` - Create driver for the MMA8451Q accelerometer sensor on FRDM-KL25Z
* :github:`9002` - [Coverity CID :187063] Control flow issues in /subsys/net/l2/ethernet/ethernet_mgmt.c
* :github:`9001` - [Coverity CID :187064] Control flow issues in /subsys/bluetooth/host/mesh/cfg_srv.c
* :github:`9000` - [Coverity CID :187065] Memory - corruptions in /subsys/net/l2/ethernet/gptp/gptp_mi.c
* :github:`8998` - [Coverity CID :187068] Memory - illegal accesses in /subsys/bluetooth/host/mesh/cfg_srv.c
* :github:`8997` - [Coverity CID :187069] Memory - illegal accesses in /subsys/logging/log_msg.c
* :github:`8996` - [Coverity CID :187070] Control flow issues in /drivers/bluetooth/hci/spi.c
* :github:`8995` - [Coverity CID :187071] Insecure data handling in /subsys/net/l2/ethernet/gptp/gptp_mi.c
* :github:`8994` - [Coverity CID :187072] Error handling issues in /samples/net/sockets/echo_server/src/udp.c
* :github:`8993` - [Coverity CID :187073] Null pointer dereferences in /subsys/net/ip/utils.c
* :github:`8992` - [Coverity CID :187074] Incorrect expression in /samples/net/traffic_class/src/main.c
* :github:`8991` - [Coverity CID :187075] Memory - corruptions in /subsys/net/l2/ethernet/gptp/gptp_mi.c
* :github:`8990` - [Coverity CID :187077] Memory - corruptions in /samples/net/rpl_border_router/src/http.c
* :github:`8989` - [Coverity CID :187078] Control flow issues in /subsys/net/l2/ethernet/gptp/gptp_md.c
* :github:`8988` - [Coverity CID :187079] Integer handling issues in /subsys/net/l2/ethernet/gptp/gptp.c
* :github:`8987` - [Coverity CID :187080] Control flow issues in /subsys/net/l2/ethernet/gptp/gptp_mi.c
* :github:`8982` - tests/drivers/watchdog/wdt_basic_api results in FATAL EXCEPTION on esp32
* :github:`8977` - CMake Error
* :github:`8976` - nordic: watchdog: Cannot be initialized - circular dependency
* :github:`8968` - The tests/kernel/tickless/tickless_concept fails on nRF5x
* :github:`8963` - tests/net/trickle, utils and icmpv6 hangs on sam_e70_xplained:arm
* :github:`8960` - Tcp connection not connecting
* :github:`8950` - ARM fault dumping code does too much, assumes all faults are fatal, and doesn't work under some configurations
* :github:`8949` - nsim_sem board does not work
* :github:`8933` - doc: build WARNING on windows 7
* :github:`8931` - STM32L4 CAN sample project does not compile
* :github:`8924` - Get rid of -fno-strict-overflow
* :github:`8906` - zsock_getaddrinfo is not reentrant
* :github:`8899` - Failed test: kernel.common.timing.sleep on nrf52 (tests/kernel/sleep/kernel.common.timing)
* :github:`8898` - Failed test: kernel.timer.timer_periodicity on nrf51/nrf52
* :github:`8897` - Failed test: kernel.tickless.tickless_slice on nrf51/nrf52
* :github:`8896` - Failed test: kernel.sched.slice_reset and kernel.sched.slice_scheduling (tests/kernel/sched/schedule_api/kernel.sched) on nrf51/nrf52
* :github:`8895` - Failed test: kernel.common.timing.pending on nrf51_pca10028 and nrf52_pca10040 (tests/kernel/pending/kernel.common.timing)
* :github:`8888` - http client example fails on mimxrt1050_evk
* :github:`8887` - Ping command crash on mimxrt1050_evk
* :github:`8871` - drivers: can: Compiling error due to stm23Cube update
* :github:`8866` - Failed test: net.arp.arp (tests/net/arp) on sam_e70_xplained
* :github:`8865` - Failed test: net.udp.udp (tests/net/udp/) on sam_e70_xplained
* :github:`8864` - ARM MPU _arch_buffer_validate allowing reads to kernel memory
* :github:`8860` - GATT MTU Callback
* :github:`8849` - Allow application to define its own DTS bindings
* :github:`8833` - OpenThread: Minimal Thread Device (MTD) option is not building
* :github:`8829` - BLE "device name" characteristic of Generic Access Service is read only
* :github:`8820` - wifi_winc1500 driver socket id stored in net_context->user_data may be overwritten at socket layer
* :github:`8815` - Nordic: Directly accessing GPIOTE might create unstable firmware (GPIO, PWM, BLE)
* :github:`8800` - cmake errors with menuconfig
* :github:`8798` - k_cycle_get_32() implementation on nrf series is too slow.
* :github:`8791` - Request supporting OTG_HS port on STM32F4/F7 SoCs
* :github:`8790` - K64F/Kinetis: extract_dts_includes.py warnings when building sample
* :github:`8752` - net: ARP is broken after PR #8608
* :github:`8732` - tests/subsys/usb/bos/ fails randomly
* :github:`8727` - Network stack cleanup: DHCPv4
* :github:`8720` - Network stack cleanup: IPv4
* :github:`8717` - posix: Memory is not returned to mempool when a pthread complete its execution
* :github:`8715` - buffer-overflow in tests/net/tx_timestamp
* :github:`8713` - add DTS gpio support for NRF51
* :github:`8705` - Out of the box error in samples/subsys/nvs with nRF52-PCA10040
* :github:`8700` - [Coverity CID :186841] Null pointer dereferences in /subsys/usb/usb_descriptor.c
* :github:`8699` - [Coverity CID :186842] Memory - illegal accesses in /drivers/interrupt_controller/plic.c
* :github:`8698` - [Coverity CID :186843] Parse warnings in /tests/kernel/mem_protect/mem_protect/src/mem_domain.c
* :github:`8697` - [Coverity CID :186844] Parse warnings in /tests/net/ieee802154/fragment/src/main.c
* :github:`8696` - [Coverity CID :186845] Parse warnings in /tests/net/ieee802154/l2/src/ieee802154_test.c
* :github:`8695` - [Coverity CID :186846] Null pointer dereferences in /tests/net/ptp/clock/src/main.c
* :github:`8694` - [Coverity CID :186847] Parse warnings in /tests/kernel/mem_protect/mem_protect/src/inherit.c
* :github:`8693` - [Coverity CID :186848] Parse warnings in /tests/kernel/mem_protect/mem_protect/src/mem_domain.c
* :github:`8692` - [Coverity CID :186849] Parse warnings in /tests/kernel/mem_protect/mem_protect/src/mem_domain.c
* :github:`8691` - [Coverity CID :186850] Parse warnings in /tests/kernel/mem_protect/mem_protect/src/mem_domain.c
* :github:`8690` - [Coverity CID :186851] Error handling issues in /tests/bluetooth/mesh/src/microbit.c
* :github:`8689` - [Coverity CID :186852] Parse warnings in /tests/kernel/mem_protect/mem_protect/src/mem_domain.c
* :github:`8669` - fault during my timer testing
* :github:`8668` - net: ARP is broken in master (at least) on STM32
* :github:`8658` - tests/net/trickle fails on FRDM k64f
* :github:`8657` - tests/net/ptp fails on QEMU x86
* :github:`8646` - CONFIG_NET_OFFLOAD defined in subsys/net/l2/, but not referenced there
* :github:`8643` - Add SAADC driver for nRF52
* :github:`8642` - ieee802154 tests fail to build
* :github:`8636` - MCUboot firmware update issue
* :github:`8611` - RT1050EVK: MPU FAULT with Zephyr OS v1.12.0-360-gf3d1b22 using ztest
* :github:`8610` - USB: Setup stage in control transfers
* :github:`8605` - mbedtls_ssl_close_notify was called after DTLS context released
* :github:`8602` - master broken for stm32 ARM boards
* :github:`8600` - Not able to bind the adc device structure for nrf52832 controller
* :github:`8598` - [Coverity CID :186057] - Out of bounds write in samples/net/rpl_border_router/src/coap.c
* :github:`8596` - drivers: dma_cavs: NULL pointer exception when DMA start called after DMA stop
* :github:`8593` - samples/mpu/mem_domain_apis_test/kernel.memory_protection.memory_domains fails to build
* :github:`8587` - ZTEST should support multiple calls to mocked function
* :github:`8584` - ToolchainCapabilityDatabase.cmake:93 error in PR #8579
* :github:`8576` - there have a error in doc
* :github:`8567` - Can't parse json
* :github:`8563` - Compilation warning/error on stm32l4: "__weak" redefined
* :github:`8529` - tests/kernel/common/kernel.common fails for native_posix on Ubuntu 16.04
* :github:`8528` - rpl-mesh-qemu sample, the net inface init failed.
* :github:`8511` - nrf52_blenano2 tmp112 sensor sample build failed - redefined I2C
* :github:`8506` - tests/subsys/fs/fat_fs_api - test_fat_mount results into assertion failure on Arduino_101 - FS init failed (-19)
* :github:`8502` - Compiling for native_posix with newlib is missing various math symbols
* :github:`8501` - I think there is a issue about shell.
* :github:`8470` - Broken Arduino 101 Bluetooth Core flashing
* :github:`8466` - k_sleep on mimxrt1050_evk board broken
* :github:`8464` - sdk_version file missing
* :github:`8462` - non-ASCII / non-UTF-8 files in ext/
* :github:`8452` - ieee802154: csma-ca: random backoff factor looks wrong
* :github:`8444` - "make clean" removes include directory
* :github:`8438` - cmake: Propagation of library specific compile flag
* :github:`8434` - Networking Problems, Size Missmatch 15 vs 13
* :github:`8431` - mqtt: unimplemented MQTT_UNSUBACK in mqtt_parser function in mqtt.c file
* :github:`8424` - HID example broken
* :github:`8416` - [Coverity CID :186580] Uninitialized variables in /drivers/can/stm32_can.c
* :github:`8415` - [Coverity CID :186581] Memory - corruptions in /subsys/bluetooth/host/gatt.c
* :github:`8414` - [Coverity CID :186582] Memory - corruptions in /subsys/bluetooth/host/gatt.c
* :github:`8413` - [Coverity CID :186583] Error handling issues in /samples/net/sockets/dumb_http_server/src/socket_dumb_http.c
* :github:`8393` - ``CONFIG_MULTITHREADING=n`` builds call main() with interrupts locked
* :github:`8391` - nrf52_blenano2 tmp112 sensor sample build failed.
* :github:`8390` - bluetooth: request APIs to notify application that pairing is complete or not
* :github:`8388` - Assigning to promptless symbols should have a better error message
* :github:`8385` - Missing documentation on bt_conn_auth_cb(...)
* :github:`8382` - ESP32: add support for ESP-IDF bootloader
* :github:`8380` - cmake: ninja clean tries to remove include folders
* :github:`8378` - subsys: settings: Idea for a very simple settings system
* :github:`8371` - nRF5: enable UARTE peripheral support
* :github:`8367` - fs: nvs: auto restore FS on writing while power down error.
* :github:`8366` - mcumgr: unable to perform 2nd update
* :github:`8365` - mcumgr: improper response to "image list" command after update.
* :github:`8361` - __ASSERT() triggers with ``CONFIG_MULTITHREADING=n``
* :github:`8358` - Flashing Target Device FAIL
* :github:`8357` - bluetooth: request the capability to change gap device name programmatically
* :github:`8356` - Failed test: kernel.common.bitfield (tests/kernel/common) on Altera Max10
* :github:`8355` - CMake prints a spammy warning about "policy CMP0000"
* :github:`8350` - bluetooth: request BLE stack to support pre-set passkey for pairing
* :github:`8334` - nrf52840.dtsi contains "0x" in device label
* :github:`8329` - qustion: build-system: How to generate a preprocess file
* :github:`8327` - CONFIG_SPI_FLASH_W25QXXDV_MAX_DATA_LEN doesn't work in proj.conf
* :github:`8322` - LwM2M: Occasional registration updates fail with 4.4 error
* :github:`8313` - Enable hardware stack checking for ARC em_starterkit_em7d (Secure mode)
* :github:`8311` - tests/benchmarks/sys_kernel fails on frdm_k64f, sam_e70
* :github:`8309` - lpcxpresso54114_m4: when i configed system clock from 48M to 96M the target can't work.
* :github:`8302` - Failed test: peripheral.adc.adc on quark_se
* :github:`8300` - Failed test: kernel.memory_protection.userspace.access_after_revoke (in tests/kernel/mem_protect/userspace)
* :github:`8299` - Failed test: kernel.memory_pool.mpool_alloc_free_isr (in tests/kernel/mem_pool/mem_pool_api)
* :github:`8298` - Failed test: kernel.alert.isr_alert_consumed (in tests/kernel/alert/) on quark_se_c1000_ss
* :github:`8293` - ARM: MPU faults should indicate faulting memory address
* :github:`8292` - Rework ARC exception stack
* :github:`8287` - LwM2M: Cancelling an observation doesn't work
* :github:`8286` - LwM2M: Observe of not allowed value still creates observer
* :github:`8284` - Documentation build on Windows
* :github:`8283` - Failed test: kernel.mailbox.msg_receiver_unlimited (tests/kernel/mbox/mbox_usage/) on ESP32
* :github:`8262` - [Bluetooth] MPU FAULT on sdu_recv
* :github:`8255` - [RFC] Add support for system suspend/resume handling from kernel
* :github:`8252` - GPIO interrupt only called once on nRF52832
* :github:`8240` - ESP32: update to recent ESP-IDF
* :github:`8235` - nxp_lpc54102: how to add lpc54102 support?
* :github:`8231` - GATT Macro Confusion
* :github:`8226` - drivers: can: stm32_can: various issues
* :github:`8225` - Error mbedtls_pk_verify MBEDTLS_ERR_RSA_VERIFY_FAILED
* :github:`8215` - Update watchdog driver sample to new API
* :github:`8210` - Always rebuilding even though there are no changes.
* :github:`8206` - Stray files in libapp.a
* :github:`8203` - Implement system calls for the new socket APIs
* :github:`8199` - Tests: Crypto: rand32 faults on nrf51_pca10028 and nrf52_pca10040
* :github:`8188` - net: TCP: FIN packets aren't queued for retransmission, loss leads to TCP timeout on peer's side
* :github:`8183` - zsock_getaddrinfo() is not reentrant
* :github:`8173` - Driver tests failing with an assertion on frdm_k64f
* :github:`8138` - Unsatisfactory kernel benchmark results on SAM E-70 Xplained
* :github:`8128` - scheduler: threads using k_sleep can be _swap()'d back too early
* :github:`8125` - About BMI160 reading issue.
* :github:`8090` - tests/sched/schedule_api fails to build on EMSK7d
* :github:`8041` - arm: NXP MPU does not report faulting address for Stacking Errors
* :github:`8039` - tests/shell failing on Arduino 101 / Quark SE arc
* :github:`8026` - Verify TLS server side operation
* :github:`8019` - ARP: should drop any packet pended when timeout
* :github:`8013` - Open-AMP power on can not communicate
* :github:`7999` - HCI UART with Linux host cannot connect to nrf52 6lowpan peripheral
* :github:`7978` - SSE and SSE_FP_MATH are set on frdm_k64f, which doesn't have it, triggering Kconfig warnings
* :github:`7977` - ARC_INIT is set on boards that don't have it, triggering Kconfig warnings
* :github:`7966` - Move k_thread_foreach() tests to tests/kernel/threads
* :github:`7924` - mcu_mgmt: Memory corruption (cborattr suspected) - test case with smp_svr
* :github:`7906` - tests/benchmarks/sys_kernel fails on Arduino Due
* :github:`7884` - tests/power/power_states never completes on Arduino 101's arc core
* :github:`7882` - tests/dfu/mcuboot.test_bank_erase fails on nrf52840_pca10056
* :github:`7869` - Improve Zero Latency IRQ on ARM
* :github:`7848` - CONFIG_BMM150_SET_ATTR not defined (and now removed), giving dead code
* :github:`7800` - ext/lib/mgmt/mcumgr/cmd/log_mgmt/Kconfig references MDLOG, but MDLOG doesn't exist
* :github:`7758` - sanitycheck error with --coverage
* :github:`7705` - nxp_kinetis/k6x boot MPU regions are configured incorrectly
* :github:`7703` - NUM_KERNEL_OBJECT_FILES is too small
* :github:`7685` - API for 802.1Qav parameters configuration
* :github:`7678` - Unstable ping RTT with ethernet ipv4 networking
* :github:`7658` - [RFC] net: Split off net_app_settings lib to a separate directory under subsys/net/lib/
* :github:`7596` - API to communicate list of MAC addresses to the Ethernet controller
* :github:`7595` - Promiscuous mode and receiving all packets at applications level
* :github:`7571` - IP stack can't recover from a packet overload
* :github:`7570` - usb: update bcdUSB to 2.00
* :github:`7553` - DHCP client does not notice missing link
* :github:`7509` - [Coverity CID :185398] Memory - corruptions in /samples/net/mbedtls_sslclient/src/mini_client.c
* :github:`7502` - samples/mbedtls_sslclient: Discards TLS records, handshake does not work
* :github:`7473` - Bluetooth: Support for multiple local identity addresses
* :github:`7423` - samples: net: echo_client: sample runs failed with prj_qemu_x86_tls.conf configuration file
* :github:`7384` - ARM MPU region configuration possibly out of bounds
* :github:`7372` - Create socket options for certificates and ciphers
* :github:`7371` - Move TLS connection data out from net_context
* :github:`7370` - Add Kconfig options to handle certificates and ciphers.
* :github:`7367` - Doxygen warnings about device.h macros
* :github:`7314` - Generate SPDX TagValue document as part of 1.13 release
* :github:`7310` - Provide signed Zephyr releases
* :github:`7243` - BLE DTM ll_test does not set correct TXPower
* :github:`7230` - The guidelines for whether something should be in DTS or Kconfig are too vague
* :github:`7173` - Difference between the ZEPHYR_BASE and PROJECT_SOURCE_DIR CMake variables is unclear
* :github:`7145` - Configuration file for Cross Toolchain on macOS
* :github:`7112` - ARMv8-M: API for checking permissions using ARMv8-M TT intrinsics
* :github:`7106` - tests: obj_tracing: Test fails on ESP32, semaphore count is more than what is created in the application
* :github:`7042` - Ethernet network management interface additions for MAC filtering
* :github:`6982` - STM32F746G DISCOVERY board support
* :github:`6981` - STM32F7 series MCUs support
* :github:`6866` - build: requirements: No module named yaml and elftools
* :github:`6846` - need console subsystem abstraction for console syscalls
* :github:`6785` - Fail to compile when OT l2 debug is enabled.
* :github:`6778` - Push latest docs down into a "latest" folder
* :github:`6775` - Simplify left nav index on technical docs
* :github:`6749` - kconfig: The error message is misleading when values are out-of-range
* :github:`6730` - ARMv8-M: internal low-level (TrustZone) API & implementation for configuring IRQ target
* :github:`6727` - k_mem_pool crash with larger values of n_max
* :github:`6681` - [Coverity CID: 183051] Error handling issues in /tests/benchmarks/app_kernel/src/memmap_b.c
* :github:`6678` - [Coverity CID: 183054] Memory - corruptions in /tests/lib/c_lib/src/main.c
* :github:`6676` - [Coverity CID: 183056] Memory - corruptions in /tests/kernel/common/src/atomic.c
* :github:`6673` - [Coverity CID: 183059] Memory - corruptions in /samples/net/mbedtls_dtlsclient/src/dtls_client.c
* :github:`6593` - Allow configuring the USB serial number string in runtime
* :github:`6533` - 1.12 Release Checklist
* :github:`6522` - Should have a "dumb" O(N) scheduler
* :github:`6514` - samples/drivers/i2c_fujitsu_fram: Data comparison on data written and data read fails randomly
* :github:`6399` - How to using the PPI chanels from 20-31 in Nrf5 chip?
* :github:`6373` - ARMv8-M: Implement stack limit checking for Secure/Non-secure stack pointers
* :github:`6188` - doc: Merge non-apache contributing into CONTRIBUTING
* :github:`6132` - [RFC] Restructuring and cleanup of mbedTLS configurations
* :github:`5980` - NRF5 I2C standard speed 250kHz
* :github:`5939` - NRF5 I2C (TWI) driver
* :github:`5900` - net: Prototype a TLS convenience API based on sockets
* :github:`5896` - Accidentally using MSYS's python from native windows leads to obscure error messages
* :github:`5833` - Script to import mcux sdk
* :github:`5733` - single threaded applications fail when asserts are enabled
* :github:`5732` - sanitycheck fails with gcc 7 as the host compiler
* :github:`5725` - Ninja: Running sanitycheck has byproducts outside of sanity-out
* :github:`5723` - cmake: Accept CONFIG_XX overrides from command line
* :github:`5524` - reorg documentation structure on website (docs.zephyrproject.org)
* :github:`5445` - Shadowed declarations in bluetooth stack
* :github:`5371` - [Coverity CID: 180698] Null pointer dereferences in /tests/bluetooth/tester/src/gatt.c
* :github:`5366` - Document zephyr-app-commands usage
* :github:`5357` - CII Badge: Generate list of externally maintained dependencies
* :github:`5153` - [RFC] Discussion of "cmake" vs "make" variables, aka "build environment" vs "work environment" setup
* :github:`5132` - Soft real-time "tasklets" in kernel
* :github:`4963` - Convert NIOS2 boards to device tree
* :github:`4957` - Add build targets for each explicit debug/flash option
* :github:`4883` - Should command line examples be "cut and paste" ready?
* :github:`4829` - device tree: gpio
* :github:`4767` - USB: assign endpoints at runtime
* :github:`4762` - [nrf][power][Sample] nrf52 exits from Low Power Mode immedately
* :github:`4590` - [CID: 178238] Parse warnings in samples/mpu/mem_domain_apis_test/src/main.c
* :github:`4283` - kconfig warning are being ignored by sanitycheck
* :github:`4060` - net: NET_CONTEXT_SYNC_RECV relevant
* :github:`4047` - [nrf] nrf GPIO does not have sense configuration value
* :github:`4018` - zephyr.git/tests/net/mld/testcase.yaml#test :evalution failed
* :github:`3995` - net tcp retry triggers assert in kernel/sem.c:145
* :github:`3993` - Enabling Low Power Mode on nordic based platforms(nrf52/51)
* :github:`3980` - Remove adc_enable/adc_disable functions
* :github:`3947` - multiple build failures with XCC toolchain
* :github:`3935` - Bluetooth sample setup docs mentions unknown "btproxy" tool
* :github:`3903` - Static code scan (coverity) issues seen
* :github:`3845` - Enable Sphinx option doc_role='any' for improved reference linking
* :github:`3826` - RISCV32 {__irq_wrapper} exception handling error under compressed instruction mode?
* :github:`3770` - mbedtls build error when CONFIG_DEBUG=y
* :github:`3754` - Support static BT MAC address
* :github:`3666` - schedule_api test uses zassert without cleaning up properly
* :github:`3631` - program text should be in its own memory region
* :github:`3602` - power_mgr and power_states: need build option to keep the app exiting in "active" state
* :github:`3583` - NUCLEO-L073RZ/NUCLEO-L053R8 Dev Board Support
* :github:`3458` - Port Zephyr to Silabs EFM32ZG-STK3200
* :github:`3395` - Provide a sample app that demonstrates VLANs
* :github:`3394` - Support basic VLAN tags
* :github:`3393` - VLAN: Expose through virtual network interfaces
* :github:`3377` - Missing le_param_updated callback when conn param update request fails
* :github:`3363` - Missing board documentation for nios2/qemu_nois2
* :github:`3354` - Missing board documentation for x86/se_c1000_devboard
* :github:`3263` - improve Galileo flashing process
* :github:`3233` - LLDP Transmitting Agent
* :github:`3222` - No negative response if remote enabled encryption too soon
* :github:`3221` - re-pairing with no-bond legacy pairing results in using all zeros LTK
* :github:`3187` - frdm_k64f: Ethernet networking starts to respond ~10s after boot
* :github:`3173` - k_cpu_atomic_idle failed @ARM
* :github:`3150` - Si1153 Ambient Light Sensor, Proximity, and Gesture detector support
* :github:`3149` - Add support for ADXRS290
* :github:`3073` - Add Atmel SAM family DAC (DACC) driver
* :github:`3071` - Add Atmel SAM family Timer Counter (TC) driver
* :github:`3067` - Support Precision Time Protocol (PTP)
* :github:`3056` - arch-specific inline functions cannot manipulate _kernel
* :github:`3025` - Implement _tsc_read equivalent for NiosII
* :github:`3024` - Implement _tsc_read equivalent for ARM
* :github:`3007` - Provide board documentation for all boards
* :github:`2991` - Enable NXP Cortex-M SoCs with MCUXpresso SDK
* :github:`2975` - add arc nSIM simulator build target
* :github:`2972` - extend sanitycheck to support ARC simulator
* :github:`2956` - I2C Slave Driver
* :github:`2954` - nRF5x interrupt-driven TX UART driver
* :github:`2952` - ADC: ADC fails to work when fetch multiple sequence entries
* :github:`2934` - Ecosystem and Tool Support
* :github:`2879` - ARC: Interrupt latency too large
* :github:`2645` - create DRAM_BASE_ADDRESS and SIZE config parameters
* :github:`2623` - nRF52 UART behaviour sensitive to timing of baud rate initialization.
* :github:`2568` - Have the kernel give the leftover memory to the IP stack
* :github:`2422` - O(1) pend queue support
* :github:`2353` - nRF5x: Refactor gpio_nrf5.c to use the MDK headers
* :github:`1678` - support edge/pulse interrupts on ARC
* :github:`1662` - Problem sourcing the project environment file from zsh
* :github:`1600` - Could you give me BTP upper tester demo which can work on PC
* :github:`1464` - SYS_CLOCK_HW_CYCLES_PER_SEC is missing a default value
``` | /content/code_sandbox/doc/releases/release-notes-1.13.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 13,342 |
```restructuredtext
:orphan:
.. _zephyr_3.0:
Zephyr 3.0.0
############
We are pleased to announce the release of Zephyr RTOS version 3.0.0.
The following sections provide detailed lists of changes by component.
Security Vulnerability Related
******************************
The following CVEs are addressed by this release:
More detailed information can be found in:
path_to_url
* CVE-2021-3835: `Zephyr project bug tracker GHSA-fm6v-8625-99jf
<path_to_url`_
* CVE-2021-3861: `Zephyr project bug tracker GHSA-hvfp-w4h8-gxvj
<path_to_url`_
* CVE-2021-3966: `Zephyr project bug tracker GHSA-hfxq-3w6x-fv2m
<path_to_url`_
Known issues
************
You can check all currently known issues by listing them using the GitHub
interface and listing all issues with the `bug label
<path_to_url`_.
API Changes
***********
Changes in this release
=======================
* Following functions in UART Asynchronous API are using microseconds to represent
timeout instead of milliseconds:
* :c:func:`uart_tx`
* :c:func:`uart_rx_enable`
* Replaced custom LwM2M :c:struct:`float32_value` type with a native double type.
* Added function for getting status of USB device remote wakeup feature.
* Added ``ranges`` and ``dma-ranges`` as invalid property to be used with DT_PROP_LEN()
along ``reg`` and ``interrupts``.
* The existing :c:func:`crc16` and :c:func:`crc16_ansi` functions have been
modified. The former has a new signature. The latter now properly calculates the
CRC-16-ANSI checksum. A new function, :c:func:`crc16_reflect`, has been
introduced to calculated reflected CRCs.
* GATT callbacks ``bt_gatt_..._func_t`` would previously be called with argument
``conn = NULL`` in the event of a disconnect. This was not documented as part
of the API. This behavior is changed so the ``conn`` argument is provided as
normal when a disconnect occurs.
Removed APIs in this release
============================
* The following Kconfig options related to radio front-end modules (FEMs) were
removed:
* ``CONFIG_BT_CTLR_GPIO_PA``
* ``CONFIG_BT_CTLR_GPIO_PA_PIN``
* ``CONFIG_BT_CTLR_GPIO_PA_POL_INV``
* ``CONFIG_BT_CTLR_GPIO_PA_OFFSET``
* ``CONFIG_BT_CTLR_GPIO_LNA``
* ``CONFIG_BT_CTLR_GPIO_LNA_PIN``
* ``CONFIG_BT_CTLR_GPIO_LNA_POL_INV``
* ``CONFIG_BT_CTLR_GPIO_LNA_OFFSET``
* ``CONFIG_BT_CTLR_FEM_NRF21540``
* ``CONFIG_BT_CTLR_GPIO_PDN_PIN``
* ``CONFIG_BT_CTLR_GPIO_PDN_POL_INV``
* ``CONFIG_BT_CTLR_GPIO_CSN_PIN``
* ``CONFIG_BT_CTLR_GPIO_CSN_POL_INV``
* ``CONFIG_BT_CTLR_GPIO_PDN_CSN_OFFSET``
This FEM configuration is hardware description, and was therefore moved to
:ref:`devicetree <dt-guide>`. See the :dtcompatible:`nordic,nrf-radio`
devicetree binding's ``fem`` property for information on what to do instead
on the Nordic open source controller.
* Removed Kconfig option ``CONFIG_USB_UART_CONSOLE``.
Option ``CONFIG_USB_UART_CONSOLE`` was only relevant for console driver
when CDC ACM UART is used as backend. Since the behavior of the CDC ACM UART
is changed so that it more closely mimics the real UART controller,
option is no longer necessary.
* Removed Kconfig option ``CONFIG_OPENOCD_SUPPORT`` in favor of
``CONFIG_DEBUG_THREAD_INFO``.
* Removed ``flash_write_protection_set()`` along with the flash write protection
implementation handler.
* Removed ``CAN_BUS_UNKNOWN`` and changed the signature of
:c:func:`can_get_state` to return an error code instead.
* Removed ``DT_CHOSEN_ZEPHYR_CANBUS_LABEL`` in favor of utilizing
:c:macro:`DEVICE_DT_GET`.
* Removed ``CONFIG_LOG_MINIMAL``. Use ``CONFIG_LOG_MODE_MINIMAL`` instead.
* STM32 clock_control driver configuration was moved from Kconfig to :ref:`devicetree <dt-guide>`.
See the :dtcompatible:`st,stm32-rcc` devicetree binding for more information.
As a consequence, following Kconfig symbols were removed:
* ``CONFIG_CLOCK_STM32_SYSCLK_SRC_HSE``
* ``CONFIG_CLOCK_STM32_SYSCLK_SRC_HSI``
* ``CONFIG_CLOCK_STM32_SYSCLK_SRC_MSI``
* ``CONFIG_CLOCK_STM32_SYSCLK_SRC_PLL``
* ``CONFIG_CLOCK_STM32_SYSCLK_SRC_CSI``
* ``CONFIG_CLOCK_STM32_HSE_BYPASS``
* ``CONFIG_CLOCK_STM32_MSI_RANGE``
* ``CONFIG_CLOCK_STM32_PLL_SRC_MSI``
* ``CONFIG_CLOCK_STM32_PLL_SRC_HSI``
* ``CONFIG_CLOCK_STM32_PLL_SRC_HSE``
* ``CONFIG_CLOCK_STM32_PLL_SRC_PLL2``
* ``CONFIG_CLOCK_STM32_PLL_SRC_CSI``
* ``CONFIG_CLOCK_STM32_AHB_PRESCALER``
* ``CONFIG_CLOCK_STM32_APB1_PRESCALER``
* ``CONFIG_CLOCK_STM32_APB2_PRESCALER``
* ``CONFIG_CLOCK_STM32_CPU1_PRESCALER``
* ``CONFIG_CLOCK_STM32_CPU2_PRESCALER``
* ``CONFIG_CLOCK_STM32_AHB3_PRESCALER``
* ``CONFIG_CLOCK_STM32_AHB4_PRESCALER``
* ``CONFIG_CLOCK_STM32_PLL_PREDIV``
* ``CONFIG_CLOCK_STM32_PLL_PREDIV1``
* ``CONFIG_CLOCK_STM32_PLL_MULTIPLIER``
* ``CONFIG_CLOCK_STM32_PLL_XTPRE``
* ``CONFIG_CLOCK_STM32_PLL_M_DIVISOR``
* ``CONFIG_CLOCK_STM32_PLL_N_MULTIPLIER``
* ``CONFIG_CLOCK_STM32_PLL_P_DIVISOR``
* ``CONFIG_CLOCK_STM32_PLL_Q_DIVISOR``
* ``CONFIG_CLOCK_STM32_PLL_R_DIVISOR``
* ``CONFIG_CLOCK_STM32_LSE``
* ``CONFIG_CLOCK_STM32_HSI_DIVISOR``
* ``CONFIG_CLOCK_STM32_D1CPRE``
* ``CONFIG_CLOCK_STM32_HPRE``
* ``CONFIG_CLOCK_STM32_D2PPRE1``
* ``CONFIG_CLOCK_STM32_D2PPRE2``
* ``CONFIG_CLOCK_STM32_D1PPRE``
* ``CONFIG_CLOCK_STM32_D3PPRE``
* ``CONFIG_CLOCK_STM32_PLL3_ENABLE``
* ``CONFIG_CLOCK_STM32_PLL3_M_DIVISOR``
* ``CONFIG_CLOCK_STM32_PLL3_N_MULTIPLIER``
* ``CONFIG_CLOCK_STM32_PLL3_P_ENABLE``
* ``CONFIG_CLOCK_STM32_PLL3_P_DIVISOR``
* ``CONFIG_CLOCK_STM32_PLL3_Q_ENABLE``
* ``CONFIG_CLOCK_STM32_PLL3_Q_DIVISOR``
* ``CONFIG_CLOCK_STM32_PLL3_R_ENABLE``
* ``CONFIG_CLOCK_STM32_PLL3_R_DIVISOR``
* ``CONFIG_CLOCK_STM32_PLL_DIVISOR``
* ``CONFIG_CLOCK_STM32_MSI_PLL_MODE``
Deprecated in this release
==========================
* Removed ``<power/reboot.h>`` and ``<power/power.h>`` deprecated headers.
``<sys/reboot.h>`` and ``<pm/pm.h>`` should be used instead.
* :c:macro:`USBD_CFG_DATA_DEFINE` is deprecated in favor of utilizing
:c:macro:`USBD_DEFINE_CFG_DATA`
* :c:macro:`SYS_DEVICE_DEFINE` is deprecated in favor of utilizing
:c:macro:`SYS_INIT`.
* :c:func:`device_usable_check` is deprecated in favor of utilizing
:c:func:`device_is_ready`.
* Custom CAN return codes (:c:macro:`CAN_TX_OK`, :c:macro:`CAN_TX_ERR`,
:c:macro:`CAN_TX_ARB_LOST`, :c:macro:`CAN_TX_BUS_OFF`,
:c:macro:`CAN_TX_UNKNOWN`, :c:macro:`CAN_TX_EINVAL`,
:c:macro:`CAN_NO_FREE_FILTER`, and :c:macro:`CAN_TIMEOUT`) are deprecated in
favor of utilizing standard errno error codes.
* :c:func:`can_configure` is deprecated in favor of utilizing
:c:func:`can_set_bitrate` and :c:func:`can_set_mode`.
* :c:func:`can_attach_workq` is deprecated in favor of utilizing
:c:func:`can_add_rx_filter_msgq` and :c:func:`k_work_poll_submit`.
* :c:func:`can_attach_isr` is deprecated and replaced by
:c:func:`can_add_rx_filter`.
* :c:macro:`CAN_DEFINE_MSGQ` is deprecated and replaced by
:c:macro:`CAN_MSGQ_DEFINE`.
* :c:func:`can_attach_msgq` is deprecated and replaced by
:c:func:`can_add_rx_filter_msgq`.
* :c:func:`can_detach` is deprecated and replaced by
:c:func:`can_remove_rx_filter`.
* :c:func:`can_register_state_change_isr` is deprecated and replaced by
:c:func:`can_set_state_change_callback`.
* :c:func:`can_write` is deprecated in favor of utilizing :c:func:`can_send`.
Stable API changes in this release
==================================
New APIs in this release
========================
* Serial
* Added new APIs to support datum wider than 8-bit.
* :kconfig:option:`CONFIG_UART_WIDE_DATA` is added to enable this new APIs.
* Following functions, mirroring similar functions for 8-bit datum,
are added:
* :c:func:`uart_tx_u16` to send a given number of datum from buffer.
* :c:func:`uart_rx_enable_u16` to start receiving data.
* :c:func:`uart_rx_buf_rsp_u16` to set buffer for receiving data
in response to ``UART_RX_BUF_REQUEST`` event.
* :c:func:`uart_poll_in_u16` to poll for input.
* :c:func:`uart_poll_out_u16` to output datum in polling mode.
* :c:func:`uart_fifo_fill_u16` to fill FIFO with data.
* :c:func:`uart_fifo_read_u16` to read data from FIFO.
* Devicetree
* Added new Devicetree helpers:
* :c:macro:`DT_INST_ENUM_IDX`
* :c:macro:`DT_INST_ENUM_IDX_OR`
* :c:macro:`DT_INST_PARENT`
* New :ref:`devicetree-ranges-property` APIs
* Removed: ``DT_CHOSEN_ZEPHYR_CANBUS_LABEL``; use
``DEVICE_DT_GET(DT_CHOSEN(zephyr_canbus))`` to get the device instead, and
read the name from the device structure if needed.
* Removed deprecated macros:
* ``DT_CLOCKS_LABEL_BY_IDX``
* ``DT_CLOCKS_LABEL``
* ``DT_INST_CLOCKS_LABEL_BY_IDX``
* ``DT_INST_CLOCKS_LABEL_BY_NAME``
* ``DT_INST_CLOCKS_LABEL``
* ``DT_PWMS_LABEL_BY_IDX``
* ``DT_PWMS_LABEL_BY_NAME``
* ``DT_PWMS_LABEL``
* ``DT_INST_PWMS_LABEL_BY_IDX``
* ``DT_INST_PWMS_LABEL_BY_NAME``
* ``DT_INST_PWMS_LABEL``
* ``DT_IO_CHANNELS_LABEL_BY_IDX``
* ``DT_IO_CHANNELS_LABEL_BY_NAME``
* ``DT_IO_CHANNELS_LABEL``
* ``DT_INST_IO_CHANNELS_LABEL_BY_IDX``
* ``DT_INST_IO_CHANNELS_LABEL_BY_NAME``
* ``DT_INST_IO_CHANNELS_LABEL``
* ``DT_DMAS_LABEL_BY_IDX``
* ``DT_INST_DMAS_LABEL_BY_IDX``
* ``DT_DMAS_LABEL_BY_NAME``
* ``DT_INST_DMAS_LABEL_BY_NAME``
* ``DT_ENUM_TOKEN``
* ``DT_ENUM_UPPER_TOKEN``
* CAN
* Added :c:func:`can_get_max_filters` for retrieving the maximum number of RX
filters support by a CAN controller device.
Kernel
******
* Added support for event objects. Threads may wait on an event object such
that any events posted to that event object may wake a waiting thread if the
posting satisfies the waiting threads' event conditions.
* Extended CPU runtime stats to track current, total, peak and average usage
(as bounded by the scheduling of the idle thread). This permits a developer
to obtain more system information if desired to tune the system.
* Added "thread_usage" API for thread runtime cycle monitoring.
* Fixed timeout issues when SYSTEM_CLOCK_SLOPPY_IDLE is configured.
Architectures
*************
* ARM
* AARCH32
* Converted inline assembler calls to using CMSIS provided functions for
:c:func:`arm_core_mpu_enable` and :c:func:`arm_core_mpu_disable`.
* Replaced Kconfig `CONFIG_CPU_CORTEX_R` with `CONFIG_ARMV7_R` to enable
differentiation between v7 and v8 Cortex-R.
* Updated the Cortex-R syscall behavior to match that of the Cortex-M.
* AARCH64
* Fixed out-of-bounds error when large number of IRQs are enabled and ignore
special INTDs between 1020 and 1023
* Added MPU code for ARMv8R
* Various MMU fixes
* Added nocache memory segment support
* Added Xen hypercall interface for ARM64
* Fixed race condition on SMP scheduling code.
* Xtensa
* Introduced a mechanism to automatically figure out which scratch registers
are used for internal code, instead of hard-coding. This is to accommodate
the configurability of the architecture where some registers may exist in
one SoC but not on another one.
* Added coredump support for Xtensa.
* Added GDB stub support for Xtensa.
Bluetooth
*********
* Updated all experimental features in Bluetooth to use the new ``EXPERIMENTAL``
selectable Kconfig option
* Bluetooth now uses logging v2 as with the rest of the tree
* Audio
* Implemented the Content Control ID module (CCID)
* Added support for the Coordinated Set Identification Service (CSIS)
* Added a Temporary Object Transfer client implementation
* Added a Media Control client implementation
* Added a Media Control Server implementation
* Implemented the Media Proxy API
* Implemented CIG reconfiguration and state handling
* Updated the CSIS API for both server and client
* Added Basic Audio Profile (BAP) unicast and broadcast server support
* Direction Finding
* Added support for filtering of Periodic Advertising Sync by CTE type
* Added additional handling logic for Periodic Advertising Sync Establishemnt
* Added CTE RX, sampling and IQ report handling in DF connected mode
* Added support for CTE configuration in connected mode
* Direction Finding connection mode now uses the newly refactored LLCP
implementation
* Host
* The :kconfig:option:`CONFIG_BT_SETTINGS_CCC_STORE_ON_WRITE` is now enabled
by default. Storing CCC right after it's written reduces risk of
inconsistency of CCC values between bonded peers
* Added support for L2CAP channel reconfiguration.
* Added support for SMP error code 0xF, where the peer rejects a distributed
key
* Added ``bt_gatt_service_is_registered()`` to verify sevice registration
* Added create an delete procedures to the Object Transfer Service
implementation
* Added support for reassembling extended advertising reports
* Added support for reassembling periodic advertising reports
* Added support for setting long periodic advertising data
* Implemented GATT Long Writes reassembly before forwarding them up to the
application
* The GATT Server DB hash calculation logic has been corrected
* Added storing of the CCC data upon paring complete
* Mesh
* Split out the Proxy services, which can now be compiled out
* Added an option to call back on every retransmission
* Added support for multiple Advertising Sets
* Refactored he Config Client and Health Client API to allow async use
* Controller
* Added support for a brand new implementation of LL Control Procedures
(LLCP), currently disabled by default, can be enabled using the
``CONFIG_BT_LL_SW_LLCP_IMPL`` Kconfig choice
* Added initial support for Broadcast Isochronous Groups (BIG)
* Integrated ISO Sync RX datapath
* Transitioned FEM configurations (PA/LNA) from Kconfig to Devicetree
* Updated the supported Bluetooth HCI version to 5.3
* Added support for Periodic Advertiser List
* Added support for Periodic Advertising Synchronization Receive Enable
* Added support for filter access list filtering for extended scanning
* Added support for Advertising Extensions dynamic TX power control
* Added handling of direct address type in extended adv reports
* Implemented auxiliary PDU device address matching
* Implemented fragmentation of extended advertising reports over HCI
* Implemented Extended Advertising and Scan report back-to-back chaining
* Implemented Periodic Advertising ADI support,including duplicate filtering
* Introduced a new preferred central connection spacing feature
* HCI Driver
* Added support for a new optional ``setup()`` function for vendor-specific
setup code required to bring up the controller
* Fixed DTM mode not being reset correctly with the HCI Reset command
* Limited the maximum ACL TX buffer size to 251 bytes
Boards & SoC Support
********************
* Added support for these SoC series:
* GigaDevice GD32VF103, GD32F3X0, GD32F403 and GD32F450.
* Raspberry Pi RP2040
* NXP i.MXRT595, i.MX8MQ, i.MX8MP
* Removed support for these SoC series:
* Made these changes in other SoC series:
* stm32h7: Added SMPS support
* stm32u5: Enabled TF-M
* Changes for ARC boards:
* Added support for these ARM boards:
* GigaDevice GD32F350R-EVAL
* GigaDevice GD32F403Z-EVAL
* GigaDevice GD32F450I-EVAL
* OLIMEX-STM32-H405
* NXP MIMXRT595-EVK
* NXP MIMX8MQ-EVK
* NXP MIMX8MP-EVK
* Raspberry Pi Pico
* ST Nucleo G031K8
* ST Nucleo H7A3ZI Q
* ST STM32G081B Evaluation
* Added support for these ARM64 boards:
* Intel SoC FPGA Agilex development kit
* Removed support for these ARM boards:
* Removed support for these X86 boards:
* Added support for these RISC-V boards:
* GigaDevice GD32VF103V-EVAL
* Sipeed Longan Nano and Nano Lite
* Made these changes in other boards:
* sam_e70_xplained: Added support for CAN-FD driver
* mimxrt11xx: Added SOC level power management
* mimxrt11xx: Added support for GPT timer as OS timer
* Added support for these following shields:
Drivers and Sensors
*******************
* ADC
* Added support for stm32u5 series
* stm32: Added shared IRQ support
* CAN
* Renamed ``zephyr,can-primary`` chosen property to ``zephyr,canbus``.
* Added :c:macro:`CAN_STATE_ERROR_WARNING` CAN controller state.
* Added Atmel SAM Bosch M_CAN CAN-FD driver.
* Added NXP LPCXpresso Bosch M_CAN CAN-FD driver.
* Added ST STM32H7 Bosch M_CAN CAN-FD driver.
* Rework transmission error handling the NXP FlexCAN driver to automatically
retry transmission in case or arbitration lost or missing acknowledge and
to fail early in :c:func:`can_send` if in :c:macro:`CAN_STATE_BUS_OFF`.
* Added support for disabling automatic retransmissions ("one-shot" mode") to
the ST STM32 bxCAN driver.
* Converted the emulated CAN loopback driver to be configured through
devicetree instead of Kconfig.
* Counter
* stm32: Added timer based counter driver (stm32f4 only for now).
* DAC
* Added support for GigaDevice GD32 SoCs
* Added support for stm32u5 series
* Disk
* stm32 sdmmc: Converted from polling to IT driven mode and added Hardware
Flow Control option
* DMA
* Added support for suspending and resuming transfers
* Added support for SoCs with DMA between application and embedded
processors, allows for transfer directions to be identified as such.
* mimxrt11xx: Added support for DMA
* EEPROM
* Added support for the EEPROM present in the TMP116 digital temperature
sensor.
* Entropy
* Added support for stm32u5 series
* Ethernet
* Added support for Synopsys DesignWare MAC driver with implementation
on stm32h7 series.
* stm32 (hal based): Added promiscuous mode support
* stm32 (hal based): Added PTP L2 timestamping support
* mimxrt11xx: Added support for 10/100M ENET
* Flash
* stm32g0: Added Dual Bank support
* stm32_qspi: General enhancement (Generation of the reset pulse for SPI-NOR memory,
Usage of 4IO for read / write (4READ/4PP), Support for different QSPI banks,
Support for 4B addressing on spi-nor)
* ite_i8xxx2: The driver has been reworked so the write/erase protection
management has been moved to implementations of the flash_write()
and the flash_erase() calls. The driver was keeping the write protection API
which was designed to be removed since 2.6 release.
* GPIO
* Added driver for GigaDevice GD32 SoCs
* I2C
* Added driver for GigaDevice GD32 SoCs
* Added stats functionality to all drivers
* Added I2C driver for Renesas R-Car platform
* Added support for TCA9548A I2C switch
* I2S
* mimxrt10xx: Added support for I2S
* mimxrt11xx: Added support for I2S
* Interrupt Controller
* Added ECLIC driver for GigaDevice RISC-V GD32 SoCs
* Added EXTI driver for GigaDevice GD32 SoCs
* MBOX
* Added MBOX NRFX IPC driver
* MEMC
* Added support for stm32f7 series
* Pin control
* Introduced a new state-based pin control (``pinctrl``) API inspired by the
Linux design principles. The ``pinctrl`` API will replace the existing
pinmux API, so all platforms using pinmux are encouraged to migrate. A
detailed guide with design principles and implementation guidelines can be
found in :ref:`pinctrl-guide`.
* Platforms already supporting the ``pinctrl`` API:
* GigaDevice GD32
* Nordic (preliminary support)
* Renesas R-Car
* STM32
* PWM
* stm32: DT bindings: `st,prescaler` property was moved from pwm
to parent timer node.
* stm32: Implemented PWM capture API
* Added driver for GigaDevice GD32 SoCs. Only PWM output is supported.
* mimxrt1021: Added support for PWM
* Sensor
* Added Invensense MPU9250 9-axis IMU driver.
* Added ITE IT8XX2 tachometer driver.
* Added STM L5 die temperature driver.
* Added STM I3G4250D gyroscope driver.
* Added TI TMP108 driver.
* Added Winsen MH-Z19B CO2 driver.
* Constified device config access in sbs_gauge and LM75 drivers.
* Dropped DEV_DATA/DEV_CFG usage from various drivers.
* Moved ODR and range properties from Kconfig to devicetree in various STM
drivers.
* Refactored INA230 driver to add support for INA237 variant.
* Refactored various drivers to use I2C/SPI/GPIO DT APIs.
* Enabled level triggered interrupts in LIS2DH driver.
* Fixed TMP112 driver to avoid I2C burst write portability issues.
* Fixed SENSOR_DEG2RAD_DOUBLE macro in LSM6DS0 driver.
* Fixed gain factor in LSM303DLHC magnetometer driver.
* Serial
* stm32: Implemented half-duplex option.
* Added driver for GigaDevice GD32 SoCs. Polling and interrupt driven modes
are supported.
* SPI
* stm32: Implemented Frame format option (TI vs Motorola).
* mimxrt11xx: Added support for Flexspi
* Timer
* stm32 lptim: Added support for stm32h7
* USB
* Added support for stm32u5 series (OTG full speed)
* Watchdog
* Added support for stm32u5 series (Independent and Window)
* mimxrt1170: Added support for watchdog on CM7
Networking
**********
* CoAP:
* Refactored ``coap_client``/``coap_server`` samples to make better use of
observe APIs.
* Added PATCH, iPATCH and FETCH methods.
* A few fixes for the block transfer handling.
* DNS:
* Make mdns and llmnr responders join their multicast groups.
* Added support for mdns/dns_sd service type enumeration.
* ICMPv6:
* Added support for Route Information option processing.
* IPv4:
* Add IPv4 support to multicast monitor.
* LwM2M:
* Added a parameter to forcefully close the LwM2M session to
:c:func:`lwm2m_rd_client_stop` function.
* Replaced custom ``float32_value_t`` type with double.
* Added :kconfig:option:`LWM2M_FIRMWARE_PORT_NONSECURE`/
:kconfig:option:`LWM2M_FIRMWARE_PORT_SECURE` options, which allow to
specify a custom port or firmware update.
* Added :c:func:`lwm2m_update_device_service_period` API function.
* Added observe callback for observe and notification events.
* Added support for multiple LwM2M Firmware Update object instances.
* Improved error handling in LwM2M content writers.
* Added unit tests for LwM2M content writers.
* Implemented LwM2M Security, Server, Connection Monitor objects in version 1.1.
* Multiple minor bugfixes in the LwM2M stack.
* Added support for the following objects:
* LWM2M Software Management (ID 9)
* LwM2M Gateway (ID 25)
* IPSO Current (ID 3317)
* uCIFI Battery (ID 3411)
* IPSO Filling level (ID 3435)
* Misc:
* gptp: clock sync ratio as double, not float
* Added support for route lifetime and preference.
* Refactored various packed structures across the networking stack, to avoid
unaliged access warnings from gcc.
* Added automatic loopback addresses registration to loopback interface.
* Fixed source address selection for ARP.
* Allow to implement a custom IEEE802154 L2 on top of existing drivers.
* Introduced a network packet filtering framework.
* MQTT:
* Fixed incomplete :c:func:`zsock_sendmsg` writes handling.
* Fixed :c:func:`zsock_setsockopt` error handling in SOCKS5 transport.
* OpenThread:
* Updated OpenThread revision up to commit ``ce77ab3c1d7ad91b284615112ae38c08527bf73e``.
* Fixed an overflow bug in the alarm implementation for Zephyr.
* Added crypto backend based on PSA API.
* Allow to store OpenThread settings in RAM.
* Socket:
* Fixed :c:func:`zsock_sendmsg` when payload size exceeded network MTU.
* Added socket processing priority.
* Fixed possible crash in :c:func:`zsock_getaddrinfo` when DNS callback is
delayed.
* Telnet:
* Fixed handling of multiple commands in a single packet.
* Enabled command handling by default.
* TCP:
* Added support for sending our MSS to peer.
* Fixed packet sending to local addresses.
* Fixed possible deadlock between TCP and socket layer, when connection close
is initiated from both sides.
* Multiple other minor bugfixes and improvements in the TCP implementation.
* TLS:
* Added support for ``TLS_CERT_NOCOPY`` socket option, which allows to
optimise mbed TLS heap usage.
* Fixed ``POLLHUP`` detection when underlying TCP connection is closed.
* Fixed mbedtls session reset on handshake errors.
USB
***
Build and Infrastructure
************************
* Build system
* New CMake extension functions:
* ``dt_alias()``
* ``target_sources_if_dt_node()``
* The following CMake extension functions now handle devicetree aliases:
* ``dt_node_exists()``
* ``dt_node_has_status()``
* ``dt_prop()``
* ``dt_num_regs()``
* ``dt_reg_addr()``
* ``dt_reg_size()``
* Devicetree
* Support for the devicetree compatible ``ti,ina23x`` has been removed.
Instead, use :dtcompatible:`ti,ina230` or :dtcompatible:`ti,ina237`.
* West (extensions)
* Added support for gd32isp runner
Libraries / Subsystems
**********************
* Management
* Fixed the mcumgr SMP protocol over serial not adding the length of the CRC16 to packet length.
* Kconfig option OS_MGMT_TASKSTAT is now disabled by default.
* Power management
* Power management resources are now manually allocated by devices using
:c:macro:`PM_DEVICE_DEFINE`, :c:macro:`PM_DEVICE_DT_DEFINE` or
:c:macro:`PM_DEVICE_DT_INST_DEFINE`. Device instantiation macros take now
a reference to the allocated resources. The reference can be obtained using
:c:macro:`PM_DEVICE_GET`, :c:macro:`PM_DEVICE_DT_GET` or
:c:macro:`PM_DEVICE_DT_INST_GET`. Thanks to this change, devices not
implementing support for device power management will not use unnecessary
memory.
* Device runtime power management API error handling has been simplified.
* :c:func:`pm_device_runtime_enable` suspends the target device if not already
suspended. This change makes sure device state is always kept in a
consistent state.
* Improved PM states Devicetree macros naming
* Added a new API call :c:func:`pm_state_cpu_get_all` to obtain information
about CPU power states.
* ``pm/device.h`` is no longer included by ``device.h``, since the device API
no longer depends on the PM API.
* Added support for power domains. Power domains are implemented as
simple devices and use the existent PM API for resume and suspend, devices
under a power domain are notified when it becomes active or suspended.
* Added a new action :c:enum:`PM_DEVICE_ACTION_TURN_ON`. This action
is used by power domains to notify devices when it becomes active.
* Added new API (:c:func:`pm_device_state_lock`,
:c:func:`pm_device_state_unlock` and
:c:func:`pm_device_state_is_locked`) to lock a device pm
state. When the device has its state locked, the kernel will no
longer suspend and resume devices when the system goes to sleep
and device runtime power management operations will fail.
* :c:func:`pm_device_state_set` is deprecated in favor of utilizing
:c:func:`pm_device_action_run`.
* Proper multicore support. Devices are suspended only when the last
active CPU. A cpu parameter was added to Policy and SoC interfaces.
* Tracing
* Support all syscalls being traced using the python syscall generator to
introduce a tracing hook call.
* IPC
* Added IPC service support and RPMsg with static VRINGs backend
HALs
****
* STM32
* stm32cube/stm32wb and its lib: Upgraded to version V1.12.1
* stm32cube/stm32mp1: Upgraded to version V1.5.0
* stm32cube/stm32u5: Upgraded to version V1.0.2
* Added `GigaDevice HAL module
<path_to_url`_
MCUboot
*******
* Fixed serial recovery skipping on nrf5340.
* Fixed issue which caused that progressive's erase feature was off although was
selected by Kconfig (introduced by #42c985cead).
* Added check of reset address in incoming image validation phase, see
``CONFIG_MCUBOOT_VERIFY_IMG_ADDRESS``.
* Allow image header bigger than 1 KB for encrypted images.
* Support Mbed TLS 3.0.
* stm32: watchdog support.
* many documentation improvements.
* Fixed deadlock on cryptolib selectors in Kconfig.
* Fixed support for single application slot with serial recovery.
* Added various hooks to be able to change how image data is accessed, see
``CONFIG_BOOT_IMAGE_ACCESS_HOOKS``.
* Added custom commands support in serial recovery (PERUSER_MGMT_GROUP): storage
erase ``CONFIG_BOOT_MGMT_CUSTOM_STORAGE_ERASE``, custom image status
``CONFIG_BOOT_MGMT_CUSTOM_IMG_LIST``.
* Added support for direct image upload, see
``CONFIG_MCUBOOT_SERIAL_DIRECT_IMAGE_UPLOAD`` in serial recovery.
Trusted Firmware-m
******************
* Updated TF-M to 1.5.0 release, with a handful of additional cherry-picked
commits.
Documentation
*************
* A new theme is used by the Doxygen HTML pages. It is based on
`doxygen-awesome-css <path_to_url`_
theme.
Tests and Samples
*****************
* Drivers: clock_control: Added test suite for stm32 (u5, h7).
Issue Related Items
*******************
These GitHub issues were addressed since the previous 2.7.0 tagged
release:
* :github:`42973` - Zephyr-sdkConfig.cmake file not found
* :github:`42961` - Bluetooth: periodic_sync sample never executes .recv callback
* :github:`42942` - sizeof(struct sockaddr_storage) is smaller than sizeof(struct sockaddr_in6)
* :github:`42862` - Bluetooth: L2CAP: Security check on l2cap request is wrong
* :github:`42816` - samples: Bluetooth: df: DF samples build fail
* :github:`42794` - samples: Bluetooth: df: Wrong periodic sync termination handling in direction_finding_connectionless_rx sample
* :github:`42793` - net_socket: mimxrt1170_evk_cm7: build failure
* :github:`42778` - bluetooth: autopts: can't start on the board
* :github:`42759` - armv8 qemu_cortex_a53 bug(gdb) on official sample
* :github:`42756` - mec15xxevb_assy6853: ringbuffer testsuite failing once due to a timeout randomly when run multiple times.
* :github:`42746` - echo_server and echo_client sample code builds fail for native_posix_64
* :github:`42735` - Bluetooth: Host: df: Uninitialized variable used to assign length of antenna identifiers
* :github:`42693` - Bluetooth: DF connectionless TX sample fails to build if CONFIG_BT_CTLR_DF_SCAN_CTE_RX is disabled
* :github:`42690` - sample.bootloader.mcuboot.serial_recovery fails to compile
* :github:`42687` - [v 1.13 ] HID is not connecting to intel 7265 Bluetooth Module
* :github:`42665` - tests: kernel.common.context: test failure on imxrt series platform
* :github:`42648` - Setting long advertising data does not work
* :github:`42627` - Hardfault regression on 90 tests on CM0+ STM32 boards introduced by #39963 Cortex-R mpu fix on 90 tests
* :github:`42615` - [v2.7.2] Bluetooth: Controller: Missing ticks slot offset calculation in Periodic Advertising event scheduling
* :github:`42608` - bsim_test_mesh: pb_adv_reprovision.sh fails after commit to prevent multiple arguments in logging
* :github:`42604` - doc: broken CONFIG_GPIO link in path_to_url
* :github:`42602` - I2C scan writes 0 bytes
* :github:`42588` - lsm6dso
* :github:`42586` - Net buffer macros rely on GCC extension
* :github:`42585' - 3.0.0-rc1: warning: LOG_STRDUP_MAX_STRING was assigned the value '100` but got the value ''
* :github:`42581` - include: drivers: clock_control: stm32 incorrect DT_PROP is used for 'xtpre'
* :github:`42573` - docs: sphinx-build issue, zephyr conf.py issue or something else?
* :github:`42556` - frdm_k64f: samples/subsys/modbus are failing with a timeout.
* :github:`42555` - mimxrt1050_evk: samples/subsys/task_wdt is failing with control thread getting stuck
* :github:`42502` - Unable to add a specific syscon driver out-of-tree
* :github:`42499` - mec15xxevb_assy6853: boards.mec15xxevb_assy6853.i2c.i2c_pca95xx test failed.
* :github:`42477` - Linker scripts not working properly on xtensa
* :github:`42462` - logging: syst/v2: hang or crash if log contains string arguments
* :github:`42435` - NXP RT1170/1160 base address error for SAI4 in devicetree
* :github:`42417` - tests drivers flash on stm32 qspi controller
* :github:`42414` - twister: testcases skipped by ztest_test_skip() have reason "Unknown" in report
* :github:`42411` - CLion CMake error while opening nRF-Connect-SDK project
* :github:`42403` - 'crc16_ansi()' isn't CRC-16-ANSI
* :github:`42397` - Direction finding nrf5340: uninitialized memory is passed to the callback
* :github:`42396` - ztest: weak test_main() is promoted over given testsuite's test_main() if the testsuite uses own library
* :github:`42392` - Openocd Thread awareness broken on 3.0
* :github:`42385` - STM32: Entropy : health test config & magic never used
* :github:`42380` - USDHC driver encounters usage fault during frequency setting
* :github:`42373` - add k_spin_lock() to doxygen prior to v3.0 release
* :github:`42367` - stm32wb: BLE connections not working
* :github:`42361` - OpenOCD flashing not working on cc1352r1_launchxl/cc26x2r1_launchxl
* :github:`42358` - net: lwm2m: client context accessed after being invalidated in lwm2m_rd_client_stop()
* :github:`42353` - LwM2M not pass official LightweightM2M-1.1-int-256 and stack enter dead lock
* :github:`42323` - lwm2m_engine: Error when enabling debug log because of uninitialized variable 'from_addr'
* :github:`42308` - pm: Force shutdown has no effect
* :github:`42299` - spi: nRF HAL driver asserts when PM is used
* :github:`42292` - Compilation failed: Driver MPU6050
* :github:`42279` - The pthreads are not working on user space. ARM64 cortex_a53 but generic requirement.
* :github:`42278` - USB CDC-ACM non-functional after host reboot
* :github:`42272` - doc: "Building on Linux without the Zephyr SDK" does not describe how to actually do it
* :github:`42269` - impossible to run west flash. NoneType error
* :github:`42228` - hal_stm32: Wrong symbol definition
* :github:`42227` - Teensy41 support SDHC - Storage init Error
* :github:`42218` - stm32wl: Issue when disabling gpio interrupt
* :github:`42214` - drivers: uart_nrfx_uarte: Cannot start another reception after reception is complete
* :github:`42208` - tests/subsys/logging/log_api/ fails qemu_leon3 if ptr_in_rodata() is enabled for SPARC
* :github:`42205` - drivers: i2s_sam_ssc: data received via I2S bus are partially corrupted
* :github:`42199` - drivers: qdec_sam: position measurement unstable if adc_sam_afec driver is enabled
* :github:`42187` - Settings tests are not correctly run
* :github:`42184` - Incremental build with config changes can produce an invalid binary when userspace is enabled
* :github:`42179` - driver: i2s: i2s_mcux_sai build failure on mixmrt1170_evk_cm7
* :github:`42177` - PM_STATE_INFO_DT_ITEMS_LIST macro does not fill the pm_min_residency array
* :github:`42176` - mec15xxevb_assy6853: can not be flashed due to "chip not identified"
* :github:`42171` - v3.0.0-rc1: mimxrt685_evk_cm33: undefined reference to 'SystemCoreClock' for latency_measure benchmark
* :github:`42170` - v3.0.0-rc1: mimxrt685_evk_cm33: dma driver build failure
* :github:`42168` - v3.0.0-rc1: mimxrt685_evk_cm33: i2s driver build failure
* :github:`42164` - tests/bluetooth/tester broken after switch to logging v2
* :github:`42163` - BIT_MASK(32) generate warning on 32 bits processor
* :github:`42161` - samples/compression/l4z: Expected RAM size for correct execution is too low
* :github:`42159` - samples: lora: Miss twister harness
* :github:`42157` - tests/lib/ringbuffer/libraries.ring_buffer: Miss a timeout
* :github:`42151` - eth_sam_gmac: unable to change MAC address
* :github:`42149` - DT_SPI_DEV_CS_GPIOS_DT_SPEC_GET is a layering violation that shouldn't exist
* :github:`42147` - hts221 driver fails to build
* :github:`42125` - Bluetooth: controller: llcp: lll_scan_aux does not compile with new LLCP
* :github:`42120` - HTS221 missed header hts221_reg.h
* :github:`42118` - mimxrt685_evk_cm33: Build failed on tests/drivers/spi/spi_loopback/drivers.spi.loopback
* :github:`42117` - efr32mg_sltb004a: Build issue on 'tests/drivers/spi/spi_loopback/drivers.spi.loopback'
* :github:`42112` - OTS: L2CAP: Unable to find channel of LE Credits packet
* :github:`42106` - AARCH64 stack initialisation fails with newlib for qemu_cortex_a53
* :github:`42098` - intel_adsp_cavs25: west sign command output some unrecognized ASCII char.
* :github:`42092` - stm32l0: Voltage regulator is not restored after leaving STOP mode
* :github:`42070` - west: spdx: Missing field for certain build results
* :github:`42065` - Bluetooth Controller: scan aux setup not checking extended header length of received packet
* :github:`42061` - obj_tracking hangs system on intel_adsp_cavs25
* :github:`42031` - Ringbuffer used in CDC_ACM seems to corrupt data if completely filled during transfer
* :github:`42024` - unrecognized argument in option '-mabi=lp64'
* :github:`42010` - intel_adsp_cavs18: Test cases failed on SMP related test cases (when CONFIG_MP_NUM_CPUS > 1)
* :github:`41996` - LWM2M writing too long strings trigger post_write_cb with previously written value
* :github:`41993` - Intel_adsp_cavs18: test cases can not get complete log
* :github:`41992` - Intel_adsp_cavs18: tests/kernel/smp_boot_delay: failed to run case
* :github:`41991` - Intel_adsp_cavs18: some test cases can not get any log
* :github:`41989` - tests: kernel: tickless: ADSP stalls after firmware downloaded on Up Xtreme
* :github:`41982` - twister: Test not aborted after board was timed out
* :github:`41976` - Extra closing bracket in function lsm6dso_handle_interrupt
* :github:`41963` - Kernel usage fault when using semaphore with multi-threading
* :github:`41953` - drivers: counter: mcux_ctimer: config used as non-const
* :github:`41952` - Log timestamp overflows when using LOGv2
* :github:`41951` - drivers: regulator: pmic: config used as non-const
* :github:`41945` - nxp_hal module: Seconds GPIO interrupt does never fire
* :github:`41943` - Intel_adsp_cavs15: all the test cases run failed when running them by twister
* :github:`41942` - k_delayable_work being used as k_work in work's handler
* :github:`41938` - esp_wrover_kit: hello_world build failure
* :github:`41933` - updatehub metadata size 0
* :github:`41915` - regression: Build fails after switching logging to V2
* :github:`41911` - pm_power_state_force returns false after first call
* :github:`41894` - ISOAL sink handle value checked incorrectly
* :github:`41887` - Documentation setup page missing packages for arch linux
* :github:`41879` - new ztest api fails when user space is enabled
* :github:`41877` - tests: kernel: fatal: ADSP stalls after firmware downloaded on Up Xtreme
* :github:`41873` - STM32H735 Power Supply Config incorrect
* :github:`41862` - tests: kernel: fail to download firmware to ADSP on Up Xtreme
* :github:`41861` - tests: kernel: There are no log output after flashing image to intel_adsp_cavs25
* :github:`41860` - tests: kernel: queue: test case kernel.queue failed on ADSP of Up Xtreme
* :github:`41839` - BLE causes system sleep before main
* :github:`41835` - UP squared and acrn_ehl_crb: test cases which have config SMP config failed
* :github:`41826` - MQTT connection failed
* :github:`41821` - ESP32 mcuboot bootloader failed
* :github:`41818` - In uart.h uart_irq_rx_ready() function not working properly for STM32F429 controller
* :github:`41816` - nrf_802154 radio driver takes random numbers directly from entropy source
* :github:`41806` - tests: driver: clock: nrf: Several failures on nrf52dk_nrf52832
* :github:`41794` - Bluetooth: ATT calls GATT callbacks with NULL conn pointer during disconnect
* :github:`41792` - CPU load halfed after PR #40784
* :github:`41745` - Power Management blinky example does not work on STM32H735G-DK
* :github:`41736` - Xtensa xt-xc++ Failed to build C++ code
* :github:`41734` - Can't enable pull-up resistors in ESP32 gpio 25,26,27
* :github:`41722` - mcuboot image not confirmed on nrf5340dk
* :github:`41707` - esp32 newlib
* :github:`41698` - What does one have to do to activate BT_DBG?
* :github:`41694` - undefined reference to '_open'
* :github:`41691` - Tickless Kernel on STM32H7 fails with Exception
* :github:`41686` - SPI CS signal not used in SSD1306 driver
* :github:`41683` - http_client: Unreliable rsp->body_start pointer
* :github:`41682` - ESP32 mcuboot
* :github:`41653` - Bluetooth: Controller: Extended Advertising Scan: Implement Scan Data length maximum
* :github:`41637` - Modbus Gateway: Transaction ID Error!
* :github:`41635` - Samples: iso_broadcast can not work properly unless some extra configuration flags
* :github:`41627` - PPP_L2 does not properly terminate the modem state machine when going down.
* :github:`41624` - ESP32 Uart uart_esp32_irq_tx_ready
* :github:`41623` - esp32: fail to build sample/hello_world with west
* :github:`41608` - LwM2M: Cannot set pmin/pmax on observable object
* :github:`41582` - stm32h7: CSI as PLL source is broken
* :github:`41581` - STM32 subghzspi fails pinctrl setup
* :github:`41557` - ESP32 Uart 2-bit Stop Register Setting
* :github:`41526` - ESP32 UART driver tx_complete fires before last byte sent
* :github:`41525` - tests: drivers: : ethernet: fails to link for sam_v71_xult and sam_v71b_xult
* :github:`41524` - drivers: dma: dma_mcux_edma: unused variables cause daily build failures
* :github:`41523` - drivers: i2c: i2c_mcux: unused variables cause daily build failures
* :github:`41509` - OpenThread's timer processing enters infinite loop in 49th day of system uptime
* :github:`41503` - including <net/socket.h> fails with redefinition of 'struct zsock_timeval' (sometimes :-) )
* :github:`41499` - drivers: iwdg: stm32: 'WDT_OPT_PAUSE_HALTED_BY_DBG' might not work
* :github:`41488` - Stall logging on nrf52840
* :github:`41486` - Zephyr project installation
* :github:`41482` - kernel: Dummy thread should not have an uninitialized resource pool
* :github:`41471` - qemu_cortex_r5: failed to enable debug
* :github:`41465` - Periodic advertising sync failure, when "DONT_SYNC_AOA" or "DONT_SYNC_AOD" options is used
* :github:`41442` - power_init for STM32L4 and STM32G0 in POST_KERNEL
* :github:`41440` - twister: skip marked as pass
* :github:`41426` - ARMCLANG build fail
* :github:`41422` - The option CONFIG_SYSTEM_CLOCK_SLOPPY_IDLE blocks k_sleep when CONFIG_PM is enabled
* :github:`41418` - tests/lib/devicetree/devices fails to build for thingy52_nrf52832
* :github:`41413` - NRF52832 - PWM not working after zephyr update
* :github:`41404` - if zsock_connect() fails, tls_context does not get released automatically
* :github:`41399` - samples: userspace: syscall_perf test cannot be run
* :github:`41395` - littlefs(external spi flash) + mcuboot can't get right mount area
* :github:`41392` - arm arm-none-eabi Unable to complete compilation, an error occurred during linking
* :github:`41385` - SHT3xD example does not work on ESP32
* :github:`41359` - Bluetooth: connection times out when trying to connect from certain centrals
* :github:`41352` - uart_esp32_poll_in returns incorrect value
* :github:`41347` - tests: kernel: RT1170 fails test_kernel_cpu_idle
* :github:`41339` - stm32, Unable to read UART while checking from Framing error.
* :github:`41331` - tests: drivers: disk: fail to handle no SD card situation
* :github:`41317` - ADSP: Many kernel test cases which have CONFIG_MP_NUM_CPUS=1 failed in daily testing
* :github:`41299` - IS25LP016D SPI NOR FLASH PROBLEM
* :github:`41291` - LVGL touch event "LV_EVENT_LONG_PRESSED" can not be generated if I press the screen without lift up my finger
* :github:`41289` - shell: infinite error loop upon LOG_ERR in ISR context
* :github:`41284` - pthread_cond_wait return value incorrect
* :github:`41272` - ci: twister: mcuboot: MCUboot tests are no longer executed in the CI
* :github:`41268` - 'bt_gatt_cancel' type mismatch
* :github:`41256` - Zero Latency Interrupts conflicts
* :github:`41255` - drivers/can/can_mcan.c: address-of-packed-member warnings
* :github:`41251` - RT1170 EVK Can does not send data
* :github:`41244` - subsys: pm: Low power mode transition broken
* :github:`41240` - logging can get messed up when messages are dropped
* :github:`41237` - [v2.7] drivers: ieee802154_dw1000: use dedicated workqueue
* :github:`41222` - tests: remove not existing platforms from platform allow or integration_platform
* :github:`41153` - rt i2s build fail
* :github:`41127` - OpenAMP Sample does not work on LPCXpresso55S69
* :github:`41117` - Incorrect setting of gyro sensitivity in LSM6DSO driver
* :github:`41111` - uint64 overflow in z_tmcvt() function
* :github:`41100` - Non-standard RISC-V assembly is used
* :github:`41097` - west init issue
* :github:`41095` - libc: newlib: 'gettimeofday' causes stack overflow on non-POSIX builds
* :github:`41093` - Kconfig.defconfig:11: error: couldn't parse 'default $(dt_node_int_prop_int,/cpus/cpu@0,clock-frequency)'
* :github:`41077` - console: gsm_mux: could not send more than 128 bytes of data on dlci
* :github:`41074` - can_mcan_send sends corrupted CAN frames with a byte-by-byte memcpy implementation
* :github:`41066` - twister --generate-map is broken
* :github:`41062` - kernel: userspace: Potential misaligned access
* :github:`41058` - stm32h723 : application gets hung during spi_transceive() operation
* :github:`41052` - tests-ci : portability: posix: fs.tls.newlib test Build failure
* :github:`41050` - MCUMgr Sample Fails to build
* :github:`41043` - Sporadic Bus Fault when using I2C on a nrf52840
* :github:`41026` - LoRa: sx126x: DIO1 interrupt left enabled in sleep mode
* :github:`41024` - SPI Loopback test fails to build on iMX RT EVKs
* :github:`41017` - USB string descriptors can be re-ordered causing corruption and out-of-bounds-write
* :github:`41016` - i2c_sam0.c i2c_sam0_transfer operations do not execute a STOP
* :github:`41012` - irq_enable() doesnt support enabling NVIC IRQ number more than 127
* :github:`40999` - Unable to boot smp_svr sample image as documentation suggests, or sign
* :github:`40974` - Xtensa High priority interrupts cannot be masked during initialization
* :github:`40965` - Halt on receipt of Google Cloud IoT Core MQTT message sized 648+ bytes
* :github:`40946` - Xtensa Interrupt nesting issue
* :github:`40942` - Xtensa debug bug
* :github:`40936` - STM32 ADC gets stuck in Calibration
* :github:`40925` - mesh_badge not working reel_board_v2
* :github:`40917` - twister --export-tests export all cases even this case can not run on given platform
* :github:`40916` - Assertion in nordic's BLE controller lll.c:352
* :github:`40903` - documentation generation fails on function typedefs
* :github:`40889` - samples: samples/kernel/metairq_dispatch failed on acrn_ehl_crb
* :github:`40888` - samples: samples/subsys/portability/cmsis_rtos_v1/philosophers failed on ehl crb
* :github:`40887` - tests: debug: test case subsys/debug/coredump failed on acrn_ehl_crb
* :github:`40883` - Limitation on logging module
* :github:`40881` - Bluetooth: shell: fatal error because ctx_shell is NULL
* :github:`40873` - qemu_cortex_r5: fail to handle user_string_alloc_copy() with null parameter
* :github:`40870` - tests: syscall: failed to build on fvp_baser_aemv8r_smp
* :github:`40866` - Undefined behavior in lib/os/cbprintf_packaged.c: subtraction involving definitely null pointer
* :github:`40838` - Nordic UART driver (UARTE) fail to transfer buffers from read only memory
* :github:`40827` - Tensorflow example not working in zephyr v2.6
* :github:`40825` - STM32WB55RGV6: No output after west flash
* :github:`40820` - coap: blockwise: context current does not match total size after transfer is completed
* :github:`40808` - Invalid CMake warning related to rimage
* :github:`40795` - Timer signal thread execution loop break SMP on ARM64
* :github:`40783` - samples/subsys/usb/dfu should filter on FLASH driver
* :github:`40776` - HCI_USB with nRF52840 dongle disconnect after 30 s
* :github:`40775` - stm32: multi-threading broken after #40173
* :github:`40770` - tests/subsys/cpp/libcxx/cpp.libcxx.newlib fails on m2gl025_miv and qemu_cortex_m0
* :github:`40761` - Bluetooth: host: Wait for the response callback before clearing Service Changed data
* :github:`40759` - Bluetooth: host: Improper restore of CCC values and handling Service Change indication when bonded peer reconnects
* :github:`40758` - Bluetooth: host: CCC values are not immediately stored on GATT Server by default (risk of inconsistency)
* :github:`40744` - RT600 LittleFS Sample produces build warning in default configuration
* :github:`40740` - tests: logging: test case log_msg2.logging.log_msg2_64b_timestamp failed on qemu_cortex_a9
* :github:`40724` - tests: logging: logging test cases failed in multiple boards
* :github:`40717` - twister: failure in parsing code coverage file
* :github:`40714` - west flash, Invalid DFU suffix signature
* :github:`40688` - in "pinmux_stm32.c" function "stm32_dt_pinctrl_remap" not work
* :github:`40672` - EDTT: buffer overflow in edtt_hci_app
* :github:`40668` - Issue with twister code coverage tests not working with minimal C library (nRF52840)
* :github:`40663` - WWDG not supported on STM32H7 family
* :github:`40658` - shtcx not reporting correct humidity value
* :github:`40646` - Can't read more than one OUTPUT|INPUT gpio pin in gpio_emul
* :github:`40643` - intel_adsp_cavs15: the zephyr_pre0.elf is quite large (530MB) on ADSP for some test cases
* :github:`40640` - drivers: usb_dc_native_posix: segfault when using composite USB device
* :github:`40638` - drivers: usb_dc_mcux: processing endpoint callbacks in ISR context causes assertion
* :github:`40633` - CI documentation build hangs when there is a broken reference
* :github:`40624` - twister: coverage: Using --coverage flag for on-target test make tests last until time limit
* :github:`40622` - Dark mode readability problem in Unit Test Documentation
* :github:`40621` - npcx uart driver uses device PM callback to block suspension
* :github:`40614` - poll: the code judgment condition is always true
* :github:`40590` - gen_app_partitions scans object files unrelated to current image
* :github:`40586` - tests: logging: Logging.add.user scenario fails on all nrf boards
* :github:`40578` - MODBUS RS-485 transceiver support broken on several platforms due to DE race condition
* :github:`40569` - bisected: kernel.common.stack_protection_arm_fpu_sharing fails on mps3_an547
* :github:`40546` - Bluetooh:host: GATT notify multiple feature not working properly
* :github:`40538` - mcuboot build fails with nrf52 internal RC oscillator
* :github:`40517` - msgq: NULL handler assertion with data cache enabled
* :github:`40483` - ESP32: display sample over i2c not working
* :github:`40464` - Dereferencing NULL with getsockname() on TI Simplelink Platform
* :github:`40456` - Bluetooth: L2CAP tester application is missing preprocessor flags for ECFC function call
* :github:`40453` - LittleFS fails when block count is greater than block size
* :github:`40450` - Twister map file shows baud in quotes but should not be in quotes
* :github:`40449` - Twister tests fail when running on actual hardware due to deprecated command warning
* :github:`40439` - Undefined escape sequence: ill-formed for the C standard
* :github:`40438` - Ill-formed sources due to external linkage inline functions calling static functions
* :github:`40433` - RTT fails to work in program with large global variable
* :github:`40420` - Lower-case characters in Kconfig symbol names cause obscure errors
* :github:`40411` - Xtensa xcc compile build fails with SOF application on latest Zephyr main
* :github:`40376` - HiFIve1 failed to run tests/kernel/workq/work/
* :github:`40374` - up_squared: isr_dynamic test is failing
* :github:`40369` - tests/subsys/logging/log_core/ and tests/subsys/shell/shell/ hang on qemu_cortex_a53 and qemu_riscv64
* :github:`40367` - sample: cycle_64 is failing out due to a timeout on 64-bit versions of qemu_x86 and ehl_crb
* :github:`40348` - STM32L496 Uart rx interrupt callback fails to work with LVGL
* :github:`40329` - nucleo_g0b1re: FDCAN message RAM write fails on byte-oriented write
* :github:`40317` - Crash in ull.c when stressing periodic advertising sync (scanner side)
* :github:`40316` - Error undefined reference to '__aeabi_uldivmod' when build with Zephyr 2.7.0 for STM32
* :github:`40298` - Bluetooth assertions in lll_conn.c
* :github:`40290` - CAN_STM32: Build error with CONFIG_CAN_AUTO_BUS_OFF_RECOVERY=n
* :github:`40256` - websocket: the size of a websocket payload is limited
* :github:`40254` - TF-M: BL2 signing is broken due to incompatible MCUboot version
* :github:`40244` - [v2.7-branch] hci_spi sample cannot be built for nrf51dk_nrf51422 and 96b_carbon_nrf51
* :github:`40236` - Unsigned int can't be used in condition compare with int
* :github:`40215` - RSSI in periodic adv. callbacks always -127 (sync_recv and cte_report_cb)
* :github:`40209` - Bluetooth: First AUX_SYNC_IND never received, missing event send to host
* :github:`40202` - Bluetooth: Periodic advertising synchronization not re-established after advertiser reset without scan disable
* :github:`40198` - Shell module doesn't work on main branch for esp32 board
* :github:`40189` - k_poll infrastructure can miss "signals" in a heavily contended SMP system
* :github:`40169` - drivers: can: net: compilation broken and no test cases in CI
* :github:`40159` - Bluetooth Mesh branch incorrect return value
* :github:`40153` - mimxrt1050_evk: failed to run samples/subsys/task_wdt
* :github:`40152` - task_wdt can get stuck in a loop where hardware reset is never fired
* :github:`40133` - mimxrt1060-evk flash shell command causes shell deadlock
* :github:`40129` - 'tests/net/socket/tls/net.socket.tls.preempt' fails with 'qemu_cortex_a9'
* :github:`40124` - Build fails with 'CONFIG_SHELL_VT100_COMMANDS=n'
* :github:`40119` - OBJECT_TRACING for kernel objects
* :github:`40115` - logging: int-uint comparsion causes false assert & epic hang
* :github:`40107` - lwm2m: if network drops during firmware update, lock occurs
* :github:`40077` - driver: wdt: twrke18f: test_wdt fails
* :github:`40076` - Driver led pca9633 does only use first device in devicetree
* :github:`40074` - sara-r4: socket call fails due to regression
* :github:`40070` - canbus: isotp: Violations of k_fifo and net_buf API usage
* :github:`40069` - Bluetooth CCM encryption bug in MIC generation
* :github:`40068` - Test suite subsys.pm.device_runtime_api fail on qemu_x86_64
* :github:`40030` - STM32 SD hardware flow control gets disabled if disk_access_init is used
* :github:`40021` - mimxrt1060_evk_hyperflash board definition is broken
* :github:`40020` - tests: kernel: mem_slab: mslab_api: undefined reference to z_impl_k_sem_give and z_impl_k_sem_take
* :github:`40007` - twister: cannot build samples/tests on Windows
* :github:`40003` - Bluetooth: host: zephyr writes to disconnected device and triggers a bus fault
* :github:`40000` - k_timer timeout handler is called with interrupts locked
* :github:`39989` - Zephyr does not persist CCC data written before bonding when bonding has completed which leads to loss of subscriptions on device reset
* :github:`39985` - Telnet shell breaks upon sending Ctrl+C character
* :github:`39978` - logging.log2_api_deferred and logging.msg2 tests fail on qemu_cortex_a9
* :github:`39973` - Bluetooth: hci_usb example returning "Unknown HCI Command" after reset.
* :github:`39969` - USB not automatically enabled when USB_UART_CONSOLE is set
* :github:`39968` - samples: tfm_integration: tfm_psa_test broken on OS X (Windows?)
* :github:`39947` - open-amp problem with dcache
* :github:`39942` - usdhc disk_usdhc_access_write busy fail
* :github:`39923` - qspi_sfdp_read fails errata work around
* :github:`39919` - CONFIG_ISM330DHCX cannot compile due to missing file
* :github:`39904` - bl654_usb does not work with hci_usb sample application
* :github:`39900` - usb bug :USB device descriptor could not be obtained on windows10
* :github:`39893` - Bluetooth: hci usb: scan duplicate filter not working
* :github:`39883` - BLE stack overlow due to the default option value when compiling with no optimization
* :github:`39874` - [Coverity CID: 240214] Dereference before null check in drivers/dma/dma_mcux_edma.c
* :github:`39872` - [Coverity CID: 240218] Dereference after null check in subsys/bluetooth/controller/ll_sw/ull_scan_aux.c
* :github:`39870` - [Coverity CID: 240220] Argument cannot be negative in tests/net/socket/af_packet_ipproto_raw/src/main.c
* :github:`39869` - [Coverity CID: 240221] Unchecked return value from library in drivers/usb/device/usb_dc_native_posix.c
* :github:`39868` - [Coverity CID: 240222] Dereference before null check in drivers/dma/dma_mcux_edma.c
* :github:`39857` - [Coverity CID: 240234] Uninitialized scalar variable in subsys/bluetooth/shell/iso.c
* :github:`39856` - [Coverity CID: 240235] Explicit null dereferenced in subsys/bluetooth/controller/ll_sw/ull_scan_aux.c
* :github:`39852` - [Coverity CID: 240241] Out-of-bounds access in subsys/bluetooth/host/adv.c
* :github:`39851` - [Coverity CID: 240242] Dereference after null check in tests/bluetooth/tester/src/l2cap.c
* :github:`39849` - [Coverity CID: 240244] Untrusted value as argument in drivers/usb/device/usb_dc_native_posix.c
* :github:`39844` - [Coverity CID: 240658] Argument cannot be negative in tests/net/lib/dns_sd/src/main.c
* :github:`39843` - [Coverity CID: 240659] Out-of-bounds read in /zephyr/include/generated/syscalls/kernel.h (Generated Code)
* :github:`39841` - [Coverity CID: 240661] Unchecked return value in tests/net/net_pkt/src/main.c
* :github:`39840` - [Coverity CID: 240662] Improper use of negative value in subsys/mgmt/osdp/src/osdp.c
* :github:`39839` - [Coverity CID: 240663] Out-of-bounds access in tests/benchmarks/mbedtls/src/benchmark.c
* :github:`39835` - [Coverity CID: 240667] Improper use of negative value in samples/subsys/usb/cdc_acm_composite/src/main.c
* :github:`39833` - [Coverity CID: 240670] Out-of-bounds access in tests/net/lib/dns_sd/src/main.c
* :github:`39832` - [Coverity CID: 240671] Out-of-bounds access in drivers/flash/flash_mcux_flexspi_hyperflash.c
* :github:`39830` - [Coverity CID: 240673] Out-of-bounds read in /zephyr/include/generated/syscalls/kernel.h (Generated Code)
* :github:`39827` - [Coverity CID: 240676] Out-of-bounds access in drivers/ieee802154/ieee802154_dw1000.c
* :github:`39825` - [Coverity CID: 240678] Unchecked return value in drivers/ieee802154/ieee802154_cc1200.c
* :github:`39824` - [Coverity CID: 240679] Out-of-bounds access in samples/subsys/usb/cdc_acm_composite/src/main.c
* :github:`39823` - [Coverity CID: 240681] Improper use of negative value in drivers/bluetooth/hci/h4.c
* :github:`39817` - drivers: pwm: nxp: (potentially) Incorrect return value on API function
* :github:`39815` - [Coverity CID: 240688] Out-of-bounds access in tests/net/lib/dns_sd/src/main.c
* :github:`39813` - [Coverity CID: 240691] Out-of-bounds access in tests/benchmarks/mbedtls/src/benchmark.c
* :github:`39812` - [Coverity CID: 240692] Unintended sign extension in subsys/stats/stats.c
* :github:`39810` - [Coverity CID: 240696] Operands don't affect result in subsys/net/lib/lwm2m/lwm2m_util.c
* :github:`39809` - [Coverity CID: 240697] Out-of-bounds access in samples/subsys/usb/cdc_acm/src/main.c
* :github:`39807` - [Coverity CID: 240699] Out-of-bounds access in tests/bluetooth/tester/src/l2cap.c
* :github:`39806` - [Coverity CID: 240700] Unchecked return value in drivers/ieee802154/ieee802154_cc2520.c
* :github:`39805` - [Coverity CID: 240703] Improper use of negative value in drivers/bluetooth/hci/h4.c
* :github:`39797` - STM32 G4 series compile error when both ADC1 and ADC2 are opened
* :github:`39780` - On ESP32S2 platform zsock_getaddrinfo() call causes RTOS to crash
* :github:`39774` - modem: uart mux reading optimization never used
* :github:`39758` - Build is broken if LWM2M_CANCEL_OBSERVE_BY_PATH config is set
* :github:`39756` - kconfig: choice default is not set if hidden under invisible menu
* :github:`39726` - How to use PWM LED driver for ESP32?
* :github:`39721` - bq274xx sensor - Fails to compile when CONFIG_PM_DEVICE enabled
* :github:`39720` - XCC BUILD FAIL :K_MEM_SLAB_DEFINE && K_HEAP_DEFINE
* :github:`39718` - STM32L496G_DISCO uart testing fails on single buffer read
* :github:`39712` - bq274xx sensor - Fails to compile when CONFIG_PM_DEVICE enabled
* :github:`39707` - Can't enable CONFIG_SHELL_LOG_BACKEND Log Shell Menus with pure Telnet Shell Backend
* :github:`39705` - Canot use POSIX_API and NET_SOCKETS together
* :github:`39704` - Using OpenThread makes the system unresponsive after 49.7 days
* :github:`39703` - stm32 uart testing fails on test_read_abort
* :github:`39687` - sensor: qdec_nrfx: PM callback has incorrect signature
* :github:`39675` - list_boards.py script doesn't properly traverse external board roots
* :github:`39672` - net_config_init count calculation appears incorrect.
* :github:`39660` - poll() not notified when a TLS/TCP connection is closed without TLS close_notify
* :github:`39655` - Linker error with CONFIG_NET_TCP=y
* :github:`39645` - STM32L496 Zephyr using LVGL disp_drv.flush_cb can not work
* :github:`39629` - Small Compiler warning in subsys/fs/shell.c:381:23 in latest release, need argument change only
* :github:`39627` - samples: http_get: cannot run on QEMU
* :github:`39624` - Bluetooth: Submitting more GATT writes than available buffers blocks for 30s and then errors out
* :github:`39619` - twister: integration_platforms getting unnoticeably skipped when --subset is used
* :github:`39609` - spi: slave: division by zero in timeout calculation
* :github:`39601` - On ESP32S2 platform GPIO interrupt causes RTOS to hang when configured to GPIO_INT_EDGE_BOTH
* :github:`39594` - Possible bug or undocumented behaviour of spi_write
* :github:`39588` - drivers: i2c: nrf: i2c error with burst write
* :github:`39575` - k_mutex_lock and k_sem_take with K_FOREVER return -EAGAIN value
* :github:`39569` - [ESP32] crash when trying to set a low cpu clock frequency
* :github:`39549` - Bluetooth: Incomplete Delayed Initialization of acl_mtu Allows Controller to Crash Host Layer
* :github:`39546` - mcumgr over serial does not add CRC to length of packet len
* :github:`39541` - can: mcux_flexcan: wrong timing calculation
* :github:`39538` - logging: rtt: Compilation fails when CONFIG_LOG_BACKEND_RTT_MODE_OVERWRITE=y and CONFIG_MULTITHREADING=n
* :github:`39523` - task watchdog crash/asset on NRF52840 - need to reorder task_wdt_feed() in task_wdt_add()
* :github:`39516` - function net_eth_vlan_enable does not properly validate vlan tag value
* :github:`39506` - Bluetooth: crash in att.c when repeatedly scanning/connecting/disconnecting
* :github:`39505` - question: ethernet: carrier_on_off
* :github:`39503` - Zephyr boot banner not updated on rebuild with opdated SHA
* :github:`39497` - doc: kernel: event object static initialization mismatch
* :github:`39487` - esp32 IRQ01 stack utilisation is 100%
* :github:`39483` - LSM6DS0 Gyroscope rad/s Calculation Error
* :github:`39463` - ESP32 GPIO intterupt
* :github:`39461` - Bluetooth: hci acl flow control: bugs of bluetooth hci ACL flow control
* :github:`39457` - mec15xxevb_assy6853: metairq_dispatch sample is failing due to timeout while monitoring serial output
* :github:`39438` - Scanning for devices sending periodic advertisements stops working after a while, but keeps reporting none periodic.
* :github:`39423` - mcuboot not upgrade for stm32l1 series
* :github:`39418` - test: run testcase failed on platform mps2_an521_ns
* :github:`39416` - west debug throws error
* :github:`39405` - CTE report callback have the wrong pointer to bt_le_per_adv_sync
* :github:`39400` - stm32f103 example servo_motor don't work
* :github:`39399` - linker: Missing align __itcm_load_start / __dtcm_data_load_start linker symbols
* :github:`39392` - ARC nsim_sem fail on tests/crypto/tinycrypt_hmac_prng test when use ARCMWDT toolchain
* :github:`39340` - Shell FS sample halts with a usage fault error
* :github:`39311` - SPDX --init fails on windows systems
* :github:`39300` - Library globals in .sdata/.sbss sections doesn't put into memory partition in userspace
* :github:`39293` - Can not run normally on MIMXRT1061CVL5A SOC
* :github:`39269` - Fail to initialize BLE stack with optimization level zero
* :github:`39253` - modem: hl7800: IPv6 socket not created properly
* :github:`39242` - net: sockets: Zephyr Fatal in dns_resolve_cb if dns request was attempted in offline state
* :github:`39221` - Errors when debuging application in Eclipse using STM32L496G-DISCO
* :github:`39216` - Twister: Broken on NRF52840 with pyocd option timeout error
* :github:`39179` - twister: --generate-hardware-map ends up in RuntimeError
* :github:`39144` - gsm_ppp: stop & starting not working as expected with nullpointer dereference & no full modem init
* :github:`39136` - SD disk access runs into TXUNDERRUN and RXOVERRUN of SDMMC driver
* :github:`39131` - GATT DB hash calculation is wrong on characteristic declarations using 128-bit UUIDs.
* :github:`39096` - DNS responders assume interfaces are up at initialization
* :github:`39024` - drivers: sensors: FXOS8700: Interrupt pin routing configuration must be changed in standby power mode
* :github:`38988` - MCP2515 driver CS gpio active high support issue
* :github:`38987` - Unable to build ESP32 example code using west tool - zephyr
* :github:`38954` - Can't get FlexPWM working for imxrt1060
* :github:`38631` - printk to console fails for freescale kinetis 8.2.0 (Zephyr 2.6.0) on FRDM-K64F
* :github:`38624` - mcuboot gets the wrong value of DT_FIXED_PARTITION_ID
* :github:`38606` - drivers: adc: stm32h7: Oversampling Ratio set incorrectly
* :github:`38598` - net_context_put will not properly close TCP connection (might lead to tcp connection leak)
* :github:`38576` - net shell: self-connecting to TCP might lead to a crash
* :github:`38502` - Update mcumgr library to fix wrong callback state
* :github:`38446` - intel_adsp_cavs15: Fail to get testcases output on ADSP
* :github:`38376` - Raw Socket Failure when using 2 Raw Sockets and zsock_select() statement - improper mapping from sock to handlers
* :github:`38303` - The current BabbleSim tests build system based on bash scripts hides warnings
* :github:`38128` - [Coverity CID: 239574] Out-of-bounds access in subsys/storage/flash_map/flash_map.c
* :github:`38047` - twister: The --board-root parameter doesn't appear to work
* :github:`37893` - mcumgr_serial_tx_pkt with len==91 fails to transmit CRC
* :github:`37389` - nucleo_g0b1re: Swapping image in mcuboot results in hard fault and softbricks the device
* :github:`36986` - LittleFS mount fails (error -22)
* :github:`36962` - littlefs: Too small heap for file cache (again).
* :github:`36852` - acrn_ehl_crb: the test of tests/subsys/cpp/libcxx/ failed
* :github:`36808` - xtensa xcc build Fail , CONFIG_NO_OPTIMIZATIONS=y
* :github:`36766` - tests-ci :kernel.tickless.concept.tickless_slice : test failed
* :github:`34732` - stm32h747i_disco: Wrong Power supply setting LDO
* :github:`34375` - drivers: can: CAN configure fails when CONFIG_CAN_FD_MODE is enabled
* :github:`31748` - boards:lpcxpresso55s69: Manual toggling of CS required with ETH Click shield
* :github:`23052` - nrf52840_pca10056: Spurious RTS pulse and incorrect line level with hardware flow control disabled
* :github:`16587` - build failures with gcc 9.x
* :github:`8924` - Get rid of -fno-strict-overflow
``` | /content/code_sandbox/doc/releases/release-notes-3.0.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 18,718 |
```restructuredtext
.. _zephyr_1.5:
Zephyr Kernel 1.5.0
####################
The Zephyr Engineering team is glad to announce the release of Zephyr Kernel
1.5.0. This is the first release to follow the 3-month release cadence.
This release includes numerous fixes and support for major features.
Additional changes include support for new drivers, sensors, and boards.
Major enhancements included with the release:
- TCP Support
- Integration of the Paho MQTT Library support with QoS
- Flash Filesystem Support
- Integration of the mbedTLS library for encryption
- Improved BR/EDR support (for L2CAP, in particular).
- Support for the Altera Nios II/f soft CPU architecture
A detailed list of changes since v1.4.0 by component follows:
Kernel
******
- Added nano_fifo_put_list() APIs, which allows queuing a list of elements
on a nanokernel FIFO.
- Removed unused memory pool structure field.
- Enhanced memory pool code.
Architectures
*************
- ARM: Updated to include floating point registers.
- Altera Nios II/f soft CPU architecture support
- Internal Interrupt Controller
- Avalon Timer
- Avalon JTAG UART (polling mode) as default for qemu-system-nios2,
and 16550 UART as default for Altera MAX10.
Boards
******
- Added Nios II QEMU board.
- Added configuration for Altera MAX10 FPGA.
Drivers and Sensors
*******************
- Sensors: Added driver for I2C HMC5883L magnetometer.
- Sensors: Added driver for I2C TMP112 temperature sensor.
- Sensors: Added driver for MAX44009 light sensor.
- Sensors: Added driver for LPS25HB.
- HAL: Updated QMSI drivers to 1.1
- Added DMA QMSI shim driver.
- Added Quark SE USB device controller driver.
- Added suspend/resume to QMSI drivers.
- Added Guard for critical sections of the QMSI drivers.
- Added Zephyr File System API.
- Added driver for ENC28J60 Ethernet SPI module.
Networking
**********
- TCP Support
- Connection handling fixes in IP stack.
- Allow sending zero length user data IP packet.
Network Buffers
- New net_buf_simple API for light-weight on-stack (or static) buffers where a
net_buf (and its associated pool) is overkill. The net_buf API now uses as
an internal implementation detail net_buf_simple.
- Add support for network buffer fragmentation.
- Add more net_buf big endian helpers.
Bluetooth
*********
- Multiple fixes & improvements to the nble driver.
- New API for dealing with Out of Band data (like the local address).
- Various smaller fixes & improvements in many places.
Build and Infrastructure
************************
- Added "qemugdb" target to start a local GDB on port 1234.
- Added script to filter known issues in the build output.
- Sanity: Added "-R" option to build all test with assertions.
Libraries
*********
- File system: Imported Open Source FAT FS 0.12a code.
- Encryption: Imported mbedTLS library.
- Encryption: Updated TinyCrypt library to 2.0.
Documentation
*************
- Fixed all the documentations warnings during build.
- Fixed several typos, trademarks and grammar.
- Moved all the boards documentation to the wiki.
- Moved Code Contribution documentation to the wiki.
- Added package "ncurses" to the list of requirements.
- Updated macOS instructions.
Test and Samples
****************
- Samples: Replaced old debug macro to use new SYS_LOG macro.
- Added TMP112 sensor application.
- Added Quark SE power management sample application.
- Added DMA memory to memory transfer sample.
- Added sample for MAX44009 light sensor.
- Added MQTT publisher and subscriber samples.
- Added mbedTLS sample client.
JIRA Related Items
******************
Stories
========
* ``ZEP-49`` - x86: unify separate SysV and IAMCU code
* ``ZEP-55`` - enable nanokernel test_context on ARC
* ``ZEP-58`` - investigate use of -fomit-frame-pointer
* ``ZEP-60`` - irq priorities should be rebased to safe values
* ``ZEP-69`` - Extend PWM API to use arbitrary unit of time
* ``ZEP-203`` - clean up APIs for static exceptions
* ``ZEP-225`` - Add kernel API to put SoC to Deep Sleep (DS) State
* ``ZEP-226`` - Update sample PMA to support device suspend/resume
* ``ZEP-227`` - Add kernel API to put SoC to Low Power State (LPS)
* ``ZEP-228`` - File system interface designed after POSIX
* ``ZEP-232`` - Support for USB communications device class ACM
* ``ZEP-234`` - provide a direct memory access (DMA) interface
* ``ZEP-243`` - Create Wiki Structure for Boards
* ``ZEP-249`` - nios2: Enable altera_max10 board in sanitycheck runs for nanokernel
* ``ZEP-254`` - nios2: define NANO_ESF struct and populate _default_esf
* ``ZEP-270`` - nios2: determine optimal value for PERFOPT_ALIGN
* ``ZEP-271`` - nios2: enable microkernel & test cases
* ``ZEP-272`` - nios2: add global pointer support
* ``ZEP-273`` - nios2: implement flashing scripts
* ``ZEP-274`` - nios2: document GDB debugging procedure
* ``ZEP-275`` - nios2: scope support for instruction/data caches
* ``ZEP-279`` - nios2: demonstrate nanokernel hello world
* ``ZEP-285`` - FAT filesystem support on top of SPI Flash
* ``ZEP-289`` - nios2: implement kernel_event_logger
* ``ZEP-291`` - Driver for the ENC28J60 ethernet device
* ``ZEP-304`` - Investigate QEMU support for Nios II
* ``ZEP-327`` - Encryption Libraries needed for Thread support
* ``ZEP-340`` - TLS/SSL
* ``ZEP-354`` - Provide a DMA driver for Quark SE core
* ``ZEP-356`` - DMA device support
* ``ZEP-357`` - Support for the MAX44009 sensor
* ``ZEP-358`` - Add support for TMP112 sensor
* ``ZEP-412`` - Add driver API reentrancy support to RTC driver for LMT
* ``ZEP-414`` - Add driver API reentrancy support to flash driver
* ``ZEP-415`` - aaU, I want to use the NATS messaging protocol to send sensor data to the cloud
* ``ZEP-416`` - MQTT client capability: QoS1, QoS2
* ``ZEP-424`` - AON counter driver needs to add driver API reentrancy support
* ``ZEP-430`` - Add driver API reentrancy support to PWM shim driver
* ``ZEP-434`` - Driver for HMC5883L magnetometer
* ``ZEP-440`` - Add driver API reentrancy support to WDT shim driver
* ``ZEP-441`` - Add driver API reentrancy support to GPIO shim drivers
* ``ZEP-489`` - nios2: handle unimplemented multiply/divide instructions
* ``ZEP-500`` - Domain Name System client library
* ``ZEP-506`` - nios2: support bare metal boot and XIP on Altera MAX10
* ``ZEP-511`` - Add Deep Sleep support in PMA
* ``ZEP-512`` - Add suspend/resume support for some core devices to enable Deep Sleep support in PMA
* ``ZEP-541`` - Integrate QMSI releases to Zephyr
* ``ZEP-567`` - netz sample code
* ``ZEP-568`` - MQTT QoS sample app
* ``ZEP-573`` - IoT applications must use netz API
* ``ZEP-590`` - Update Zephyr's TinyCrypt to version 2.0
* ``ZEP-643`` - Add file system API documentation
* ``ZEP-650`` - Quark SE: Implement PM reference application
* ``ZEP-652`` - QMSI shim driver: RTC: Implement suspend and resume callbacks
* ``ZEP-655`` - QMSI shim driver: PWM: Implement suspend and resume callbacks
* ``ZEP-658`` - QMSI shim driver: GPIO: Implement suspend and resume callbacks
* ``ZEP-659`` - QMSI shim driver: UART: Implement suspend and resume callbacks
* ``ZEP-662`` - QMSI shim driver: Pinmux: Implement suspend and resume callbacks
Epic
====
* ``ZEP-278`` - Enable Nios II CPU on Altera Max10
* ``ZEP-284`` - Flash Filesystem Support
* ``ZEP-305`` - Device Suspend / Resume infrastructure
* ``ZEP-306`` - PWM Enabling
* ``ZEP-406`` - Drivers shall be re-entrant
Bug
===
* ``ZEP-68`` - Final image contains duplicates of some routines
* ``ZEP-156`` - PWM Set Value API behaves incorrectly
* ``ZEP-158`` - PWM Set Duty Cycle API does not work
* ``ZEP-180`` - make menuconfig user provided options are ignored at building time
* ``ZEP-187`` - BLE APIs are not documented
* ``ZEP-218`` - [drivers/nble][PTS_TEST] Fix responding with the wrong error codes to the Prepare Write Request
* ``ZEP-221`` - [drivers/nble][PTS_TEST] Implement Execute Write Request handler
* ``ZEP-369`` - When building out of the tree, application object files are not placed into outdir
* ``ZEP-379`` - _k_command_stack may be improperly initialized when debugging
* ``ZEP-384`` - D2000 hangs after I2C communication with BMC150 sensor
* ``ZEP-401`` - PWM driver turns off pin if off time is 0 in set_values
* ``ZEP-423`` - Quark D2000 CRB documentation should include instructions to flash bootloader
* ``ZEP-435`` - Ethernet/IPv4/TCP: ip_buf_appdatalen returns wrong values
* ``ZEP-456` - doc: ``IDT security``` section disappeared
* ``ZEP-457`` - doc: contribute/doxygen/typedefs.rst: examples files are broken
* ``ZEP-459`` - doc: kconfig reference entries in HTML are lacking a title
* ``ZEP-460`` - doc: document parameters of DEVICE* macros
* ``ZEP-461`` - Release 1.4.0 has broken the BMI160 sample as well as an application based on it
* ``ZEP-463`` - Getting started guide "next" link doesn't take you to "Checking Out the Source Code Anonymously" section
* ``ZEP-469`` - Ethernet/IPv4/TCP: net_receive & net_reply in server mode
* ``ZEP-474`` - ND: Neighbor cache is not getting cleared
* ``ZEP-475`` - Issue with timer callback routine: Condition checked is incorrect
* ``ZEP-478`` - Linux setup docs missing step to install curses development package for Fedora
* ``ZEP-497`` - Ethernet/IPv4/TCP: failed to get free buffer
* ``ZEP-499`` - TMP007 driver returns invalid values for negative temperature
* ``ZEP-514`` - memory corruption in microkernel memory pool defrag()
* ``ZEP-516`` - Ubuntu setup instructions missing 'upgrade' step
* ``ZEP-518`` - SPI not working on Arduino101
* ``ZEP-522`` - TCP/client-mode: disconnect
* ``ZEP-523`` - FIFOs defined by DEFINE_FIFO macro use the same memory buffer
* ``ZEP-525`` - srctree changes are breaking applications
* ``ZEP-526`` - build "kernel event logger" sample app failed for BOARD=quark_d2000_crb
* ``ZEP-534`` - Scan for consistent use of "platform/board/SoC" in documentation
* ``ZEP-537`` - doc: create external wiki page "Maintainers"
* ``ZEP-545`` - Wrong default value of CONFIG_ADC_QMSI_SAMPLE_WIDTH for x86 QMSI ADC
* ``ZEP-547`` - [nble] Failed to start encryption after reconnection
* ``ZEP-554`` - samples/drivers/aon_counter check README file
* ``ZEP-555`` - correct libgcc not getting linked for CONFIG_FLOAT=y on ARM
* ``ZEP-556`` - System hangs during I2C transfer
* ``ZEP-565`` - Ethernet/IPv4/TCP: last commits are breaking network support
* ``ZEP-571`` - ARC kernel BAT failed due to race in nested interrupts
* ``ZEP-572`` - X86 kernel BAT failed: Kernel Allocation Failure!
* ``ZEP-575`` - Ethernet/IPv4/UDP: ip_buf_appdatalen returns wrong values
* ``ZEP-595`` - UART: usb simulated uart doesn't work in poll mode
* ``ZEP-598`` - CoAP Link format filtering is not supported
* ``ZEP-611`` - Links on downloads page are not named consistently
* ``ZEP-616`` - OS X setup instructions not working on El Capitan
* ``ZEP-617`` - MQTT samples build fail because netz.h file missing.
* ``ZEP-621`` - samples/static_lib: fatal error: stdio.h: No such file or directory
* ``ZEP-623`` - MQTT sample mqtt.h missing "mqtt_unsubscribe" function
* ``ZEP-632`` - MQTT fail to re-connect to the broker.
* ``ZEP-633`` - samples/usb/cdc_acm: undefined reference to 'uart_qmsi_pm_save_config'
* ``ZEP-642`` - Inconsistent interpretation of pwm_pin_set_values arguments among drivers
* ``ZEP-645`` - ARC QMSI ADC shim driver fails to read sample data
* ``ZEP-646`` - I2C fail to read GY2561 sensor when GY2561 & GY271 sensor are attached to I2C bus.
* ``ZEP-647`` - Power management state storage should use GPS1 instead of GPS0
* ``ZEP-669`` - MQTT fail to pingreq if broker deliver topic to client but client doesn't read it.
* ``ZEP-673`` - Sanity crashes and doesn't kill qemu upon timeout
* ``ZEP-679`` - HMC5883L I2C Register Read Order
* ``ZEP-681`` - MQTT client sample throws too many warnings when build.
* ``ZEP-687`` - docs: Subsystems/Networking section is almost empty
* ``ZEP-689`` - Builds on em_starterkit fail
* ``ZEP-695`` - FatFs doesn't compile using Newlib
* ``ZEP-697`` - samples/net/test_15_4 cannot be built by sanitycheck
* ``ZEP-703`` - USB sample apps are broken after QMSI update
* ``ZEP-704`` - test_atomic does not complete on ARC
* ``ZEP-708`` - tests/kernel/test_ipm fails on Arduino 101
* ``ZEP-739`` - warnings when building samples for quark_se devboard
Known issues
============
* ``ZEP-517`` - build on windows failed "zephyr/Makefile:869: \*\*\* multiple target patterns"
- No workaround, will fix in future release.
* ``ZEP-711`` - I2c: fails to write with mode fast plus
- No workaround need it, there is no support for high speed mode.
* ``ZEP-724`` - build on windows failed: 'make: execvp: uname: File or path name too long'
- No workaround, will fix in future release.
* ``ZEP-467`` - Hang using UART and console.
- No workaround, will fix in future release.
* ``ZEP-599`` - Periodic call-back function for periodic REST resources is not getting invoked
- No workaround, will fix in future release.
* ``ZEP-471`` - Ethernet packet with multicast address is not working
- No workaround, will fix in future release.
* ``ZEP-473`` - Destination multicast address is not correct
- No workaround, will fix in future release.
``` | /content/code_sandbox/doc/releases/release-notes-1.5.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,638 |
```restructuredtext
:orphan:
.. _zephyr_1.10:
Zephyr Kernel 1.10.0
#####################
We are pleased to announce the release of Zephyr kernel version 1.10.0.
Major enhancements with this release include:
* Initial alpha-quality thread-level memory protection on x86, userspace and memory
domains
* Major overhaul to the build system and a switch from Kbuild to CMake.
* Newtron Flash Filesystem (NFFS) Support
* Increased testsuite coverage and migrated majority of testcases to use ztest
* Integration with MCUBOOT Bootloader
* Additional SoC, platform and driver support for many of the already supported
platforms.
The following sections provide detailed lists of changes by component.
Kernel
******
* Remove deprecated k_mem_pool_defrag code
* Initial alpha-quality thread-level memory protection on x86, userspace and memory
domains:
* Same kernel & driver APIs for kernel and user mode threads
* System calls for privilege elevation
* Stack overflow protection
* Kernel object and device driver permission tracking
* Simple app vs. kernel memory separation
* Memory domain APIs for fine-tuning memory region permissions
* Stack memory protection from other threads
* Add the following application-facing memory domain APIs:
* k_mem_domain_init() - to initialize a memory domain
* k_mem_domain_destroy() - to destroy a memory domain
* k_mem_domain_add_partition() - to add a partition into a domain
* k_mem_domain_remove_partition() - to remove a partition from a domain
* k_mem_domain_add_thread() - to add a thread into a domain
* k_mem_domain_remove_thread() - to remove a thread from a domain
* add k_calloc() which uses kernel heap to implement traditional calloc()
semantics.
* Introduce object validation mechanism: All system calls made from userspace,
which involve pointers to kernel objects (including device drivers), will need
to have those pointers validated; userspace must never be able to crash the
kernel by passing it garbage.
Architectures
*************
* nrf52: Add support for LOW_POWER state and SYSTEM_OFF
* Architecture specific memory domain APIs added
* Tickless Kernel Implementation for Xtensa
* Added support for the following ARM SoCs:
* NXP i.MX RT1052
* Silabs EFM32WG
* STM F0
* TI MSP432P4xx
Boards
******
* Jailhouse port: The port will enable Zephyr to run as a guest OS on x86-64
systems. It comes with a test on QEMU to validate that, thus this new board
introduction.
* Power Management for nrf52 series SOC
* Added support for the following ARM boards:
* 96b_neonkey
* efm32wg_stk3800
* mimxrt1050_evk
* msp_exp432p401r_launchxl
* nucleo_f030r8
* nucleo_f091rc
* stm32f411e_disco
* stm32f412g_disco
* stm32l476g_disco
* usb_kw24d512
Drivers and Sensors
*******************
* timer: Add Support for TICKLESS KERNEL in xtensa_sys_timer
* Rename ``random`` to ``entropy``
* Add Atmel SAM I2S (SSC) driver
* Add Atmel SAM DMA (XDMAC) driver
* Add plantower PMS7003 Driver
* Add Altera shim driver for JTAG UART soft IP
* Add Altera shim driver for timer soft IP
* Introduce mcux ccm driver
* Introduce mcux igpio shim driver
Networking
**********
* HTTP API changed to use net-app API. Old HTTP API is deprecated.
* Loopback network interface support added. This is used in testing only.
* LWM2M multi-fragment network packet support added.
* New CoAP library implementation, supporting longer network packets.
* Deprecated ZoAP library.
* mDNS (multicast DNS) support added.
* SNTP (Simple Network Time Protocol) client library added.
* Various fixes for: TCP, RPL, ARP, DNS, LWM2M, Ethernet, net-app API, Network
shell, and BSD socket API
* Network management API fixes.
* Networking sample application fixes.
* 6lo IPv6 header compression fixes.
* IEEE 802.15.4 generic fixes.
* IEEE 802.15.4 mcr20a driver fixes.
* IEEE 802.15.4 kw41z driver fixes.
* IEEE 802.15.4 nrf5 driver fixes.
Bluetooth
*********
* Multiple qualification-related fixes for Bluetooth Mesh
* Support for Bluetooth Mesh Friend Node role
* Support for Bluetooth Mesh Foundation Client Models
* New Bluetooth Mesh shell module and test application
* Support for PA/LNA amplifiers in the BLE Controller
* Support for additional VS commands in the BLE Controller
* Multiple stability fixes for the BLE Controller
Build and Infrastructure
************************
* The Zephyr project has migrated to CMake, an important step in a
larger effort to make Zephyr easier to use for application developers
working on different platforms with different development environment
needs. This change retains Kconfig as-is, and replaces all Makefiles
with corresponding CMakeLists.txt. The DSL-like Make language that
KBuild offers is replaced by a set of CMake extensions that provide
either simple one-to-one translations of KBuild features or introduce
new concepts that replace KBuild concepts. Please re-read the Getting
Started guide
(path_to_url
with updated instructions for setting up and developing on your host-OS.
You *will* need to port your own out-of-tree scripts and Makefiles to
CMake.
Libraries / Subsystems
***********************
* The implementation for sys_rand32_get() function has been moved to a new
"random" subsystem. There are new implementations for this function, one based
in the Xoroshift128+ PRNG (using a hardware number generator to seed), and
another that obtains random numbers directly from a hardware number generator
driver. Hardware number generator drivers have been moved to a
"drivers/entropy" directory; these drivers only expose the interface provided
by include/entropy.h.
* TinyCrypt updated to version 0.2.8
HALs
****
* Add Altera HAL for support NIOS-II boards
* Add mcux 2.3.0 for mimxrt1051 and mimxrt1052
* stm32cube: HAL/LL static library for stm32f0xx v.1.9.
* Add support for STM32 family USB driver
* Add Silabs Gecko SDK for EFM32WG SoCs
* Simplelink: Update cc32xx SDK to version 1.50.00.06
Documentation
*************
* Missing API documentation caused by doxygen subgroups and missing
Sphinx directives now included.
* Note added to all released doc pages mentioning more current content could
be available from the master branch version of the documentation.
* Documentation updated to use CMake (vs. Make) in all examples, and
using a new Sphinx extension to keep examples consistent.
* Getting Started Guide material updated to include CMake dependencies
and build instructions required for version 1.10.
* Instead of hiding all expected warnings from the document build
process (there are some known doxygen/sphinx issues), the build
now outputs all warnings, and then reports
if any new/unexpected warnings or errors were detected.
* Obsolete V1 to V2 porting material removed.
* Continued updates to documentation for new board support, new samples,
and new features.
* Integration of documentation with new zephyrproject.org website.
* Documentation moved to docs.zephyrproject.org site (with redirection
from zephyrproject.org/doc)
Tests and Samples
*****************
* Benchmarking: cleanup of the benchmarking code
* Add userspace protection tests
* Move all tests to ztest and cleanup coding style and formatting
Issue Related Items
*******************
These GitHub issues were addressed since the previous 1.9.0 tagged
release:
.. comment List derived from Jira/GitHub Issue query: ...
* :github:`779` - CI: shippable - provide some means to allow users to rebuild
* :github:`1166` - Keeping reusable components under samples/ leads to build issues
* :github:`1236` - Cleanup CONFIG_EXECUTION_BENCHMARKING
* :github:`1241` - tests/net/ipv6/ FAILED on qc1000:x86
* :github:`1242` - tests/kernel/mutex/mutex/ FAILED @ esp32
* :github:`1256` - [cmake] A board should support multiple configurations (variants)
* :github:`1270` - Issue : Information CC3220SF LaunchXL
* :github:`1280` - shell on Arduino Due prints "shell>" before the delayed boot banner
* :github:`1289` - C++ 11 support!
* :github:`1332` - sanitycheck builds too many duplicates in CI, make it smarter
* :github:`1392` - No module named 'elftools'
* :github:`1397` - no serialport output
* :github:`1415` - Problem with forcing new line in generated documentation.
* :github:`1416` - Regression added by commit cd35742a (net/ethernet/arp: Let ethernet L2 managing pkt's reference while sending)
* :github:`1419` - test, please ignore
* :github:`1425` - spi.h and spi_legacy.h documentation conflicts
* :github:`1428` - networking defines being used but not defined anywhere
* :github:`1435` - Could not connect to Eclipse Leshan Demo Server
* :github:`1445` - doc: groups of items in API documentation not displaying
* :github:`1450` - make kconfig help is difficult to understand
* :github:`1474` - tests/net/ipv6_fragment build failure, missing testcase.yaml
* :github:`1487` - net/lib/dns doesn't respect CONFIG_NET_IPV6=n
* :github:`1488` - Replacing Make/Kbuild with CMake
* :github:`1499` - doc: replace Mac OS with macOS
* :github:`1501` - doc: Fix link title
* :github:`1510` - "make debugserver" broken for qemu_xtensa
* :github:`1522` - "make qemu" may not regenerate .config after changes to prj.conf
* :github:`1524` - doc: Remove "Changes from Version 1 Kernel" document
* :github:`1527` - make htmldocs failed
* :github:`1538` - esp32: is broken for the latest esp-idf version
* :github:`1542` - filter-known-issues.py fails if input file is empty
* :github:`1543` - doc: add process documentation for importing non-Apache2.0 licensed code
* :github:`1544` - regression: net: K64F: DHCP seems to fail a lot after 91041f9e
* :github:`1558` - Master reports itself as if it was 1.9.0 release
* :github:`1571` - Update to latest tinycrypt: v0.2.8
* :github:`1573` - tests/net/lib/http_header_fields/ fails with CONFIG_HTTP_PARSER_STRICT enabled
* :github:`1580` - checkpatch output in shippable log displays without line breaks
* :github:`1581` - two tests fail in qemu_cortex_m3 with new SDK
* :github:`1597` - remove deprecated k_mem_pool_defrag()
* :github:`1626` - Bluetooth LE dual mode topology
* :github:`1628` - Bluetooth LE data length extension
* :github:`1629` - LE privacy 1.2
* :github:`1630` - E2E tests for connection
* :github:`1632` - Implement Environmental Sensing Profile sample app
* :github:`1653` - enable stack canaries on ARC so we can run test_stackprot
* :github:`1670` - Add Reject command handling
* :github:`1853` - Review all Kconfig variables used and Simplify
* :github:`1880` - Zephyr Build Management
* :github:`1883` - Audio Codec
* :github:`1885` - Display Interface
* :github:`1902` - uWeave
* :github:`2011` - tcf: add support for running altera_max10 binaries
* :github:`2035` - doc: remove workaround for sphinx issue once 1.5 is released
* :github:`2202` - sporadic bad RAM pointer error under qemu_nios2
* :github:`2277` - Update to a more recent version of micro-ecc in Zephyr
* :github:`2281` - purge usage of platform_whitelist
* :github:`2411` - Look into supporting additional file systems under Zephyr FS API
* :github:`2580` - Failure in test_nano_work
* :github:`2723` - QEMU NIOS2 sporadic FAIL in tests/legacy/kernel/test_context
* :github:`2775` - Ability to make Security / Vulnerability bugs non-public
* :github:`2793` - entropy subsystem
* :github:`2818` - Add disk access based on flash on freedom board to interface with file system
* :github:`2853` - Customer: Zephyr Tutorial
* :github:`2855` - Customer: Sample code
* :github:`2858` - Customer: Training / Webinar / Video
* :github:`2942` - Support for NXP KW2xD MCU
* :github:`3039` - Simple Network Time Protocol support
* :github:`3058` - no good way to include library code outside of $(PROJECT_BASE)
* :github:`3064` - Symmetric multiprocessing (SMP)
* :github:`3070` - Add Atmel SAM family DMA (XDMAC) driver
* :github:`3139` - Zephyr Tutorials and Training
* :github:`3142` - [PTS] GAP/TC_SEC_AUT_BV_12_C fails
* :github:`3143` - [PTS] GAP/TC_SEC_AUT_BV_14_C fails
* :github:`3144` - [PTS] GAP/TC_PRIV_CONN_BV_11_C fails
* :github:`3146` - [PTS] SM/SLA/PROT/BV-02-C fails
* :github:`3147` - [PTS] SM/SLA/SIE/BV-01-C fails
* :github:`3158` - Add support for Panther board based on Quark SE C1000
* :github:`3184` - xtensa: Zephyr SDK build and emulation support
* :github:`3201` - Add Device Tree Documentation
* :github:`3268` - Add tickless kernel support in xtensa_sys_timer timer
* :github:`3274` - Lauterbach Debug Tools Support
* :github:`3275` - Tickless Kernel and Frequency Scaling
* :github:`3290` - introduce shared metadata for boards, samples and tests
* :github:`3294` - Application Development
* :github:`3297` - ROM-able
* :github:`3313` - [RESEARCH] Memory Protection Unit support
* :github:`3353` - Missing board documentation for arm/quark_se_c1000_ble
* :github:`3355` - Missing board documentation for arm/nucleo_f103rb
* :github:`3357` - Missing board documentation for arm/stm32_mini_a15
* :github:`3360` - Missing board documentation for x86/panther
* :github:`3364` - Missing board documentation for arc/panther_ss
* :github:`3368` - Can Zephyr support SNMP (Simple Network Management Protocol)?
* :github:`3378` - Zephyr will not build with icecream
* :github:`3383` - Work up linker-based system call prototype for MPU enabling
* :github:`3412` - Provide a sample application for kernel_event_logger
* :github:`3415` - Building FS for Arduino 101
* :github:`3432` - Port Zephyr to Silabs EFM32WG-STK3800
* :github:`3484` - Provide stm32cube LL based UART driver
* :github:`3485` - Provide stm32cube LL based I2C driver
* :github:`3486` - Provide stm32cube LL based SPI driver
* :github:`3587` - Move board related device tree files where the board is defined
* :github:`3588` - Move all X86 boards and related SoCs to device tree
* :github:`3600` - Build warnings [-Wpointer-sign] with LLVM/icx (tests/unit/bluetooth/at)
* :github:`3601` - Use QMSI mailbox driver for Quark SE
* :github:`3604` - the http_client sample app cannot send GET request on Qemu x86
* :github:`3608` - Add functionality of Gesture Sensor
* :github:`3621` - Design system call interface for drivers
* :github:`3625` - Validation mechanism for user-supplied kernel object pointers
* :github:`3627` - x86: implement system calls
* :github:`3628` - implement APIs for dropping threads to unprivileged mode
* :github:`3630` - use API to validate user-supplied kernel buffers
* :github:`3632` - define set of architecture-specific memory protection APIs
* :github:`3635` - Device Driver Access Control
* :github:`3641` - define kernel system calls
* :github:`3643` - [PTS] PTS server stops working while executing TC_SEC_CSIGN_BV_01_C test case
* :github:`3646` - Zoap message to use more than one fragment
* :github:`3682` - incremental builds do not work properly in Windows
* :github:`3683` - unable to follow directions to install Crosstool-NG on OS X
* :github:`3688` - OS X Setup Instructions Not Working on macOS Sierra
* :github:`3690` - Move to CMake or similar instead of Kbuild
* :github:`3697` - Use CMSIS __NVIC_PRIO_BITS consistently
* :github:`3716` - define / implement application-facing memory domain APIs
* :github:`3728` - ESP32 i2c Driver Support
* :github:`3772` - test_mem_pool_api crashes qemu_x86 if CONFIG_DEBUG=y
* :github:`3781` - iwdg: provide independent watchdog driver compliant with STM32Cube LL API
* :github:`3783` - Add mbedtls Crypto API shim driver
* :github:`3829` - PTS test case GATT/SR/GPA/BV-02-C crashes tester in QEMU
* :github:`3832` - ARM: implement API to validate user buffer
* :github:`3844` - Fix LWM2M header calculation in lwm2m_engine.c
* :github:`3851` - Port SPI HCI driver on new SPI API
* :github:`3852` - x86: implement memory domain interface
* :github:`3892` - Add support for STM32F429I_DISC1 board
* :github:`3897` - Static code scan (coverity) issues seen
* :github:`3922` - [PTS] GATT/SR/GAT/BV-01-C INCONC
* :github:`3923` - boards: provide support for Nucleo-64 F030R8
* :github:`3939` - Add Atmel SAM family I2S (Inter-IC Sound) driver based on SSC module
* :github:`3941` - x86: implement option for PAE-formatted page tables with NX bit
* :github:`3942` - x86: scope SMEP support in Zephyr
* :github:`3984` - Build warning: [-Wpointer-bool-conversion] with LLVM/icx (samples/bluetooth/mesh_demo)
* :github:`3985` - Build warning: [-Wpointer-bool-conversion] with LLVM/icx (samples/bluetooth/mesh)
* :github:`4001` - GENERATED_KERNEL_OBJECT_FILES end up in application memory
* :github:`4004` - integrate printk() with console subsystem
* :github:`4009` - I2C API is mixing two incompatible definitions of bit-fields
* :github:`4014` - memory protection: implicit kernel object permissions
* :github:`4016` - bluetooth linker not connected
* :github:`4022` - net: "queue: Use k_poll if enabled" commit regressed BSD Sockets performance
* :github:`4026` - CC3220 WiFi Host Driver support
* :github:`4027` - extra unref happening on net_context
* :github:`4029` - TinyTILE bluetooth app flash
* :github:`4030` - Coverity issue seen with CID: 175366 , in file: /subsys/bluetooth/host/smp.c
* :github:`4031` - Coverity issue seen with CID: 175365 , in file: /subsys/bluetooth/controller/hci/hci.c
* :github:`4032` - Coverity issue seen with CID: 175364 , in file: /subsys/bluetooth/host/mesh/proxy.c
* :github:`4033` - Coverity issue seen with CID: 175363 , in file: /subsys/bluetooth/host/smp.c
* :github:`4034` - Coverity issue seen with CID: 175362 , in file: /subsys/bluetooth/host/smp.c
* :github:`4035` - Coverity issue seen with CID: 175361 , in file: /samples/bluetooth/eddystone/src/main.c
* :github:`4036` - Coverity issue seen with CID: 175360 , in file: /subsys/bluetooth/host/mesh/prov.c
* :github:`4037` - Coverity issue seen with CID: 175359 , in file: /subsys/bluetooth/host/hci_core.c
* :github:`4038` - Coverity issue seen with CID: 175358 , in file: /subsys/bluetooth/host/hci_core.c
* :github:`4041` - flashing tinytile and use of minicom
* :github:`4043` - Add new user CONFIG to project
* :github:`4044` - Livelock in SMP pairing failed scenario
* :github:`4046` - BLE Central and BLE Peripheral roles at a moment on nRF52832
* :github:`4048` - HTTP Request Timeout Not Working
* :github:`4049` - AMP - Multi-core
* :github:`4050` - zephyr.git/tests/kernel/obj_validation/testcase.yaml#test :Evaluation failure
* :github:`4051` - Coverity issue seen with CID: 177219 , in file: /drivers/flash/flash_stm32f4x.c
* :github:`4054` - [CID: 177215 ], in file: /tests/subsys/dfu/mcuboot/src/main.c
* :github:`4055` - Coverity issue seen with CID: 177214 , in file: /samples/boards/microbit/pong/src/ble.c
* :github:`4056` - Coverity issue seen with CID: 177213 , in file: /tests/net/ipv6_fragment/src/main.c
* :github:`4057` - Coverity issue seen with CID: 170744, in file: /samples/boards/microbit/pong/src/ble.c
* :github:`4058` - samples/net/http_client: The HTTP client failed to send the GET request
* :github:`4059` - zephyr.git/tests/net/ipv6/testcase.yaml#test :evaluation failed
* :github:`4068` - [BLE, nRF51822] Error -ENOMEM when use bt_gatt_write_without_response function
* :github:`4099` - Add some docs to samples/net/ieee802154/hw
* :github:`4131` - gen_syscalls.py may choke on non-ascii chars
* :github:`4135` - checkpatch.pl generates warning messages when run w/ perl-5.26
* :github:`4149` - Transition message on jira.zephyrproject.org needed
* :github:`4162` - build error in http_get sample
* :github:`4165` - ieee802154_uart_pipe.c: warning: return from incompatible pointer type
* :github:`4182` - NET_APP_SETTINGS for 15.4 doesn't seem to work (if to trust 15.4 shell)
* :github:`4186` - tcf.git/examples/test_network_linux_zephyr.py#_test :Compilation failure
* :github:`4188` - samples /net/echo_server:failed to send packets to client
* :github:`4189` - ieee802154_settings.c is duplicated in the codebase
* :github:`4190` - samples/net/echo_client :failed to send data
* :github:`4193` - Zephyr libc(snprintf) is not comply with ISO standard.
* :github:`4195` - tests/net/udp/test_udp.py#_ipv4_udp : evaluation failed
* :github:`4239` - unit tests broken in sanitycheck
* :github:`4249` - where is auto-pts py script of zephyr?
* :github:`4258` - samples/net/zoap_server : unable to communicate between zoap client and server
* :github:`4264` - Getting started guide for windows: small error
* :github:`4289` - samples/mpu/mem_domain_apis_test is broken
* :github:`4292` - net: tcp.c: prepare_segment() may unrightly unref packet in case of error
* :github:`4295` - Error flashing board STM32373C-EVAL
* :github:`4301` - checkpatch.pl false positives block PR merge
* :github:`4310` - unable to flash quark_se_c1000_devboard
* :github:`4312` - GDB: Ubuntu's default GDB package does not support arm
* :github:`4323` - net: tcp.c: prepare_segment() may leak fragments in case of error
* :github:`4325` - samples/net/http_client: unable to send the proper http request to Apache server
* :github:`4327` - NET_PKT_TX_SLAB_DEFINE, NET_PKT_DATA_POOL_DEFINE description and usage are confusing
* :github:`4347` - net: BSD Sockets UDP sendto() impl broke tests/net/socket/udp/
* :github:`4353` - VM-VM qemu networking example crashes often
* :github:`4358` - k_queue_poll returns NULL with K_FOREVER
* :github:`4366` - memory corruption in test_pipe_api
* :github:`4377` - Sniffing traffic in a VM-VM qemu setup crashes with a segfault in the monitor application
* :github:`4392` - zephyr/tests/benchmarks/footprint :build Failed
* :github:`4394` - Coverity issue seen with CID: 178058
* :github:`4395` - Coverity issue seen with CID: 178059
* :github:`4396` - Coverity issue seen with CID: 178060
* :github:`4397` - Coverity issue seen with CID: 178064
* :github:`4398` - zephyr/tests/crypto/ccm_mode :-Evaluation failed due to esp32
* :github:`4419` - 6LoWPAN - source address uncompress corner case
* :github:`4421` - net: Duplicated functionality between net_pkt_get_src_addr() and net_context.c:create_sockaddr()
* :github:`4424` - Turning on network debug message w/ LwM2M sample client will result in stack check failure
* :github:`4429` - I2C: stm32-i2c-v2 Driver (F0/F3/F7) gets stuck in endless loop when handling restart conditions
* :github:`4442` - samples: net: ieee802154: Sample is not working on nRF52840 platform
* :github:`4459` - i2c: stm32-i2c-(v1/v2) don't handle i2c_burst_write like expected
* :github:`4463` - Some tests and samples are missing a .yaml file
* :github:`4466` - warnings building echo_client with nrf5
* :github:`4469` - CI problem with check-compliance.py
* :github:`4476` - Multiple build failures with i2c_ll_stm32.c driver
* :github:`4480` - Compilation failure for qemu_x86 with CONFIG_DEBUG_INFO=y
* :github:`4481` - Build failure with CONFIG_NET_DEBUG_APP=y
* :github:`4503` - CONFIG_STACK_SENTINEL inconsistencies
* :github:`4538` - Coverity issue seen with CID:174928
* :github:`4539` - Coverity issue seen with CID:173658
* :github:`4540` - Coverity issue seen with CID: 173657
* :github:`4541` - Coverity issue seen with CID: 173653
* :github:`4544` - [BLE Mesh] Error: Failed to advertise using Node ID
* :github:`4563` - [BLE Mesh]: How to handle the 'Set" and 'Get' callbacks
* :github:`4565` - net_context_recv always fails with timeout=K_FOREVER
* :github:`4567` - [BLE Mesh]: Multiple elements in a node
* :github:`4569` - LoRa: support LoRa
* :github:`4579` - [CID: 178249] Parse warnings in samples/mpu/mem_domain_apis_test/src/main.c
* :github:`4580` - Coverity issue seen with CID: 178248
* :github:`4581` - Coverity issue seen with CID: 178247
* :github:`4582` - Coverity issue seen with CID: 178246
* :github:`4583` - [CID: 178245] Parse warnings in samples/mpu/mem_domain_apis_test/src/main.c
* :github:`4584` - Coverity issue seen with CID: 178244
* :github:`4585` - Coverity issue seen with CID: 178243
* :github:`4586` - [CID: 178242]: Parse warnings samples/mpu/mem_domain_apis_test/src/main.c
* :github:`4587` - Coverity issue seen with CID: 178241
* :github:`4588` - Coverity issue seen with CID: 178240
* :github:`4589` - [coverity] Null pointer dereferences in tests/net/app/src/main.c
* :github:`4591` - [CID: 178237] memory corruption in drivers/ieee802154/ieee802154_mcr20a.c
* :github:`4592` - Coverity issue seen with CID: 178236
* :github:`4593` - Coverity issue seen with CID: 178235
* :github:`4594` - Coverity issue seen with CID: 178234
* :github:`4595` - Coverity issue seen with CID: 178233
* :github:`4600` - drivers:i2c_ll_stm32_v2: Interrupt mode uses while loops
* :github:`4607` - tests/net/socket/udp/ is broken, again
* :github:`4630` - Sample app 'coaps_server' fails to parse coap pkt
* :github:`4637` - [Coverity CID: 178334] Null pointer dereferences in /subsys/usb/class/netusb/function_ecm.c
* :github:`4638` - build is failing when newlib is enabled
* :github:`4644` - Kconfig warnings when building any sample for nRF5x
* :github:`4652` - Document "make flash" in the "application development primer"
* :github:`4654` - Wrong file name for drivers/aio/aio_comparator_handlers.o
* :github:`4667` - x86 boards need device trees
* :github:`4668` - drivers/random/random_handlers.c is built when no random driver has been kconfig'ed into the build
* :github:`4683` - net: tcp tcp_retry_expired cause assert
* :github:`4695` - samples/net/ieee802154 needs documentation
* :github:`4697` - [regression] net: echo_server doesn't accept IPv4 connections
* :github:`4738` - ble-mesh: proxy.c : Is clients-> conn a clerical error? it should be client-> conn?
* :github:`4744` - tests/net/ieee802154/l2/testcase.yaml#test : unable to acknowledge data from receiver
* :github:`4757` - kw41z-frdm: assertion failure while setting IRQ priority
* :github:`4759` - [PTS] GATT/CL/GAW/BV-02-C fails with INCONC
* :github:`4760` - stm32f4_disco and frdm_k64f samples/basic/blink_led ,Choose supported PWM driver
* :github:`4766` - tests: mem_pool: Fixed memory pool test case failure on quark d2000
* :github:`4780` - [Coverity CID: 178794] Error handling issues in /tests/subsys/dfu/mcuboot/src/main.c
* :github:`4781` - [Coverity CID: 178793] Incorrect expression in /tests/kernel/static_idt/src/static_idt.c
* :github:`4782` - [Coverity CID: 178792] Memory - illegal accesses in /subsys/net/lib/http/http_app_server.c
* :github:`4783` - [Coverity CID: 178791] Incorrect expression in /tests/kernel/static_idt/src/static_idt.c
* :github:`4784` - [Coverity CID: 178790] Memory - corruptions in /samples/net/http_server/src/main.c
* :github:`4785` - [Coverity CID: 178789] Null pointer dereferences in /samples/net/http_server/src/main.c
* :github:`4786` - [Coverity CID: 178788] Control flow issues in /tests/net/context/src/main.c
* :github:`4787` - [Coverity CID: 178787] Null pointer dereferences in /subsys/net/ip/net_context.c
* :github:`4788` - [Coverity CID:178786] Memory - corruptions in /samples/net/http_server/src/main.c
* :github:`4789` - [Coverity CID: 178785] Incorrect expression in /tests/kernel/static_idt/src/static_idt.c
* :github:`4791` - rpl-node uses testcase.ini instead of sample.yaml format
* :github:`4825` - Bluetooth IPSP error with qemu_x86
* :github:`4827` - Ping command crashes kernel over qemu_x86
* :github:`4841` - fix doc/devices/dts/device_tree.rst path and Make references
* :github:`4844` - cmake: can't flash stm32 with openocd
* :github:`4847` - custom 404 error page not being shown on docs.zephyrproject.org
* :github:`4853` - cmake: building unit test cases ignore EXTRA_* settings
* :github:`4864` - cmake: hts221 sensor sample not working anymore
* :github:`4881` - device_get_binding() returns failure in sample/drivers/crypto
* :github:`4889` - Flashing EM Starterkit with EM7D fails on master
* :github:`4899` - Convert opensda doc to CMake
* :github:`4901` - net: tcp: RST is sent after last ack is received
* :github:`4904` - cmake: BOOT_BANNER disappeared
* :github:`4905` - cmake: flashing for quark_se_devboard is broken
* :github:`4910` - BT host CMakeLists.txt code should be agnostic to the FS implementation
* :github:`4912` - Not using the Zephyr SDK is broken
* :github:`4925` - application_development test pollutes source directory
* :github:`4936` - net: 15.4 MAC addresses are shown differently between shell "net iface" and "ieee15_4 get_ext_addr"
* :github:`4937` - ESP32 can't boot
* :github:`4975` - Getting started documentation for Mac OS X inconsistent
* :github:`5004` - Normalize IEEE802514 driver "raw" mode.
* :github:`5008` - system call headers are not properly regenerated in CMake on incremental builds
* :github:`5009` - cmake creates too many build artifacts
* :github:`5014` - samples/drivers/crypto :Unable to find crypto device
* :github:`5019` - tests/kernel/mem_protect/stackprot : input string is long stack overflow
* :github:`5025` - arduino_due not generating proper config with cmake (crash)
* :github:`5026` - k_poll() documentation is wrong
* :github:`5040` - Bluetooth mesh API documentation incomplete
* :github:`5047` - document error: getting_started.rst
* :github:`5051` - Verify doxygen documented APIs are in the generated docs
* :github:`5055` - [Coverity CID: 179254] Possible Control flow issues in /samples/net/zperf/src/zperf_udp_receiver.c
* :github:`5056` - [Coverity CID: 179253] Control flow issues in /samples/net/zperf/src/zperf_tcp_receiver.c
* :github:`5057` - [Coverity CID: 179252] Null pointer dereferences in /samples/net/zperf/src/zperf_udp_receiver.c
* :github:`5058` - [Coverity CID: 179251] Control flow issues in /samples/net/zperf/src/zperf_udp_receiver.c
* :github:`5059` - [Coverity CID: 179250] Null pointer dereferences in /samples/net/zperf/src/zperf_udp_uploader.c
* :github:`5060` - [Coverity CID: 179249] Incorrect expression in /tests/kernel/fatal/src/main.c
* :github:`5061` - [Coverity CID: 179248] Control flow issues in /samples/net/zperf/src/zperf_tcp_receiver.c
* :github:`5062` - [Coverity CID: 179247] Incorrect expression in /tests/kernel/fatal/src/main.c
* :github:`5063` - samples/bluetooth: central_hr sample app is not connecting with peripheral sample app on arduino_101.
* :github:`5085` - bug: dts: stm32f1: wrong pinctrl base address
* :github:`5087` - Samples/bluetooth: Failed to connect with eddystone sample app on arduino_101.
* :github:`5090` - no makefile in zephyr/samples/bluetooth/mesh examples
* :github:`5097` - zephyr_library_*() configuration has lower precedence than global zephyr_*() configuration
* :github:`5107` - Default partition addressing for nrf52_pca10040 is incompatible
* :github:`5116` - [Coverity CID: 179986] Null pointer dereferences in /subsys/bluetooth/host/mesh/access.c
* :github:`5117` - [Coverity CID: 179985] Error handling issues in /subsys/bluetooth/host/mesh/cfg_srv.c
* :github:`5118` - [Coverity CID: 179984] Memory - corruptions in /drivers/ethernet/eth_mcux.c
* :github:`5119` - [Coverity CID: 179983] Error handling issues in /subsys/bluetooth/host/mesh/cfg_srv.c
* :github:`5120` - [Coverity CID: 179982] Error handling issues in /subsys/bluetooth/host/mesh/cfg_srv.c
* :github:`5121` - [Coverity CID: 179981] Incorrect expression in /drivers/ieee802154/ieee802154_kw41z.c
* :github:`5122` - [Coverity CID: 179980] Integer handling issues in /subsys/bluetooth/host/mesh/friend.c
* :github:`5123` - [Coverity CID: 179979] Error handling issues in /subsys/bluetooth/host/mesh/cfg_srv.c
* :github:`5124` - [Coverity CID: 179978] Error handling issues in /subsys/bluetooth/host/mesh/health_srv.c
* :github:`5125` - [Coverity CID: 179976] Error handling issues in /subsys/bluetooth/host/mesh/cfg_srv.c
* :github:`5126` - [Coverity CID: 179975] Error handling issues in /subsys/bluetooth/host/mesh/health_srv.c
* :github:`5127` - [Coverity CID: 179974] Error handling issues in /subsys/bluetooth/host/mesh/cfg_srv.c
* :github:`5128` - [Coverity CID: 179973] Error handling issues in /subsys/bluetooth/host/mesh/cfg_srv.c
* :github:`5140` - CMake migration regressed (changed behavior) of QEMU_PTY=1
* :github:`5144` - BUG: cmake: make doesn't update zephyr.hex file
* :github:`5145` - samples/bluetooth: Connection failure on peripheral CSC with Arduino 101
* :github:`5152` - CONFIG_CPLUSPLUS is incompatible with the zephyr_get_* API
* :github:`5159` - [nrf] Button example for nrf5x boards latches GPIO after 1 button press
* :github:`5176` - zephyr-v1.9.2 tag missing
* :github:`5177` - hci_usb: Linking error
* :github:`5184` - kernel system call handlers missing due to -Wl,--no-whole-archive
* :github:`5186` - gen_syscall_header_py is being run at the wrong time
* :github:`5189` - tests/subsys/fs/nffs_fs_api:-Evaluation failed
* :github:`5207` - Bluetooth subsystem uses acl_in_pool even for controllers not supporting flow control
* :github:`5211` - Kconfig: CPU_HAS_FPU dependencies problem
* :github:`5223` - CMake: Recent changes broke 3rd-party build system integration again
* :github:`5265` - ROM size increase due Zephyr compile options not stripping unused functions
* :github:`5266` - Ensure the Licensing page is up-to-date for the release
* :github:`5286` - NET_L2: Symbols from the L2 implementation layer are exposed to users of L2
* :github:`5298` - Endless loop in uart pipe
``` | /content/code_sandbox/doc/releases/release-notes-1.10.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 9,481 |
```restructuredtext
.. _zephyr_1.8:
Zephyr Kernel 1.8.0
####################
We are pleased to announce the release of Zephyr kernel version 1.8.0.
Major enhancements with this release include:
* Tickless kernel
* IP Stack improvements
* Bluetooth 5.0 features
* Ecosystem: Tracing, debugging support through third-party tools (openocd,
Segger Systemview)
* Improved build support on Mac and Windows development environments
* Xtensa GCC support
* Initial implementation of MMU/MPU support
* Expanded device support
The following sections provide detailed lists of changes by component.
Kernel
******
* Use k_cycle_get_32 instead of sys_cycle_get_32 for Kernel
* Added k_panic() and k_oops() APIs for Kernel
* Added k_thread_create() API for Kernel
* Added k_queue API for Kernel
* Add tickless kernel support
Architectures
*************
* arm: Update core to use struct k_thread
* arm: Added ARM MPU support
* dts: Added ARM CMSDK support
* arm: Added Initial support for NXP MPU
* arm: Added Device Tree Support for nRF52832 SoC based boards
* arm: Fixed nRF52840-QIAA SoC support for device tree
* arm: Added Device Tree Support for nRF52840 SoC & boards
* arm: Added Device Tree Support for nRF51822 SoC & boards
* dts: Introduced st/mem.h for FLASH & SRAM sizes
* dts: Put IRQ priority into the interrupt property
* arm: Support for MKL25Z soc
* arm: Added FPU support
* x86: defined MMU data structures
* Support for ARC EM Starter Kit version 2.3 added
Boards
******
* Added qemu_xtensa board definition
* Added a more informative page fault handler x86 board
* xtensa: build similar to other Zephyr arches
* Define MMU data structures for x86 board
* Added support for board disco_l475_iot1
* Added STM32F413 Nucleo board
* Added support for the CC3220SF_LAUNCHXL board
* Support for new ARM board FRDM-KL25Z
* arduino_101 board enable GPIO by default
* boards: convert to using newly introduced integer sized types
* arm: Added support for Nucleo L432KC board
* arm: Added support for STM32L496G Discovery board
* arm: Added support for STM32F469I-DISCO board
* BBC micro:bit: Added driver & API for the 5x5 LED display
Drivers and Sensors
*******************
* UART interrupt-driver API is better defined
* Support for pull-style console API
* nRF5 IEEE 802.15.4 radio driver added
* KW41Z IEEE 802.15.4 radio driver added
* Added MCUX TRNG driver
* Added support for the SiFive Freedom E310 pinmux driver
* drivers/sensor: Convert formatter strings to use PRI defines
* Added lps22hb sensor driver
* Added lsm6dsl sensor driver
* Added heart rate sensor driver
* Added support for max30101 heart rate sensor
* Added support for lis2dh accelerometer
Networking
**********
* HTTPS server support added
* HTTP Basic-Auth support added
* IPv6 fragmentation support added
* Add block wise support to CoAP for well-known response
* Big refactoring of network buffer handling
* Start to collect TCP statistics if enabled in config
* IEEE 802.15.4 security support added
* DNS resolver sample application added
* IPv6 multicast listener (MLDv2) support added
* NATS protocol sample application added
* HTTP client and server connectivity fixes
* Network samples Coverity fixes
* Network samples llvm compiler warning fixes
* MQTT publisher connectivity fixes
* 6lo IPv6 header compression fixes
* CoAP connectivity fixes
* DHCPv4 connectivity fixes
* TCP connectivity fixes
* DNS documentation and connectivity fixes
* IPv6 connectivity fixes
* IPv4 ARP fixes
* IEEE 802.15.4 configuration tweaking fixes
* Remove ORFD (Overly Reduced Function Device) 802.15.4 support
* Network offloading driver fixes
* Fix various memory leaks
* Properly check TCP and UDP checksum before accepting packet
* Start RX and TX network threads in proper order
* Network samples documentation fixes and clarifications
* RPL mesh routing fixes
* Network link (MAC) address fixes
Bluetooth
*********
* Host: Added ATT and SMP packet tracking for flow control enforcement
* Host: GATT database changed to a linked list in preparation for dynamic allocation
* Bluetooth 5.0: The Controller reports itself as 5.0-capable
* Bluetooth 5.0: Introduced Channel Selection Algorithm #2 support
* Bluetooth 5.0: Added Multiple PHY support, both 2Mbit/s and long-range coded
* Bluetooth 5.0: Integrated Scan Request notifications
* Controller: Added Low Duty Cycle Directed Advertising support
* Controller: Added Scan duplicate filtering support
* Controller: Enforced complete role separation in the controller for smaller builds
* Controller: Introduced Advanced Controller configuration with several new Kconfig options
* Controller: Changed the radio interrupts to direct ISRs to reduce interrupt latency
* Added HCI Controller to Host flow control support in both Host and Controller
* BR/EDR: Added HFP (e)SCO audio channel establishment support
* BR/EDR: Added support for a functional SDP server
Build and Infrastructure
************************
* Support building host tools
* Added separate DTS target
* Added support for MSYS2
* Use -O2 instead of -Os for ARC with SDK 0.9
Libraries
*********
* Added library for software driven I2C
* Created a HTTP library
* Added HTTP server library support
* Added minimal JSON library
* Update TinyCrypt to version 0.2.6
* Added minimal JSON library
HALs
****
* Added Atmel SAM family I2C (TWIHS) driver
* Added Atmel SAM serial (UART) driver
* Added WDT driver for Atmel SAM SoCs
* Added Atmel SAM4S SoC support
* Imported Nordic 802.15.4 radio driver
* Added Initial support for NXP MPU
* Updated QMSI to 1.4 RC4
* Added FPU support
* Added basic support for STM32F413
* Introduced STM32F4x DMA driver
* pinmux: stm32: Added support for Nucleo L432KC
* Added support for STM32L496G Discovery board
* Added dts for STM32F407
* Added support for STM32F4DISCOVERY Board
* Added support for STM32F469XI
* Added support for STM32F469I-DISCO
Documentation
*************
* Board documentation added for new board ports
* Added a board porting guide
* Added security sections to porting and user guides
* Continued migration of wiki.zephyrproject.org material to website and github wiki
* Improved CSS formatting and appearance of generated documents
* Added breadcrumb navigation header with kernel version number
* Updated getting started setup guides for Linux, Windows, and macOS
* Updates and additions to follow new and updated kernel features
* Broken link and spelling check scans
* Removed deprecated kernel documentation (pre 1.6 release) from website (still available in git repo if needed)
Tests and Samples
*****************
* Added test to verify same tick timeout expiry order
* Added clock_test for kernel
* Added tickless tests
* Added a simple CC2520 crypto dev test
* Added combined observer & broadcaster app for Bluetooth samples
* Added support to wait both IPv4 and IPv6
* Enabled tickless kernel option in some apps
JIRA Related Items
******************
.. comment List derived from Jira query: ...
* ``ZEP-248`` - Add a BOARD/SOC porting guide
* ``ZEP-339`` - Tickless Kernel
* ``ZEP-540`` - add APIs for asynchronous transfer callbacks
* ``ZEP-628`` - Validate RPL Routing node support
* ``ZEP-638`` - feature to consider: flag missing functionality at build time when possible
* ``ZEP-720`` - Add MAX30101 heart rate sensor driver
* ``ZEP-828`` - IPv6 - Multicast Join/Leave Support
* ``ZEP-843`` - Unified assert/unrecoverable error infrastructure
* ``ZEP-888`` - 802.15.4 - Security support
* ``ZEP-932`` - Adapt kernel sample & test projects
* ``ZEP-948`` - Revisit the timeslicing algorithm
* ``ZEP-973`` - Remove deprecated API related to device PM functions and DEVICE\_ and SYS\_* macros
* ``ZEP-1028`` - shrink k_block struct size
* ``ZEP-1032`` - IPSP router role support
* ``ZEP-1169`` - Sample mbedDTLS DTLS client stability on ethernet driver
* ``ZEP-1171`` - Event group kernel APIs
* ``ZEP-1280`` - Provide Event Queues Object
* ``ZEP-1313`` - porting and user guides must include a security section
* ``ZEP-1326`` - Clean up _THREAD_xxx APIs
* ``ZEP-1388`` - Add support for KW40 SoC
* ``ZEP-1391`` - Add support for Hexiwear KW40
* ``ZEP-1392`` - Add FXAS21002 gyroscope sensor driver
* ``ZEP-1435`` - Improve Quark SE C1000 ARC Floating Point Performance
* ``ZEP-1438`` - AIO: AIO Comparator is not stable on D2000 and Arduino101
* ``ZEP-1463`` - Add Zephyr Support in segger SystemView
* ``ZEP-1500`` - net/mqtt: Test case for the MQTT high-level API
* ``ZEP-1528`` - Provide template for multi-core applications
* ``ZEP-1529`` - Unable to exit menuconfig
* ``ZEP-1530`` - Hotkeys for the menu at the bottom of menuconfig sometimes doesn't work
* ``ZEP-1568`` - Replace arm cortex_m scs and scb functionality with direct CMSIS-core calls
* ``ZEP-1586`` - menuconfig: Backspace is broken
* ``ZEP-1599`` - printk() support for the '-' indicator in format string (left justifier)
* ``ZEP-1607`` - JSON encoding/decoding library
* ``ZEP-1621`` - Stack Monitoring
* ``ZEP-1631`` - Ability to use k_mem_pool_alloc (or similar API) from ISR
* ``ZEP-1684`` - Add Atmel SAM family watchdog (WDT) driver
* ``ZEP-1695`` - Support ADXL362 sensor
* ``ZEP-1698`` - BME280 support for SPI communication
* ``ZEP-1711`` - xtensa build defines Kconfigs with lowercase names
* ``ZEP-1718`` - support for IPv6 fragmentation
* ``ZEP-1719`` - TCP does not work with 6lo
* ``ZEP-1721`` - many TinyCrypt test cases only run on ARM and x86
* ``ZEP-1722`` - xtensa: TinyCrypt does not build
* ``ZEP-1735`` - Controller to Host flow control
* ``ZEP-1759`` - All python scripts needed for build should be moved to python 3 to minimize dependencies
* ``ZEP-1761`` - K_MEM_POOL_DEFINE build error "invalid register name" when built with llvm/icx from ISSM toolchain
* ``ZEP-1769`` - Implement Set Event Mask and LE Set Event Mask commands
* ``ZEP-1772`` - re-introduce controller to host flow control
* ``ZEP-1776`` - sending LE COC data from RX thread can lead to deadlock
* ``ZEP-1785`` - Tinytile: Flashing not supported with this board
* ``ZEP-1788`` - [REG] bt_enable: No HCI driver registered
* ``ZEP-1800`` - Update external mbed TLS library to latest version (2.4.2)
* ``ZEP-1812`` - Add tickless kernel support in HPET timer
* ``ZEP-1816`` - Add tickless kernel support in LOAPIC timer
* ``ZEP-1817`` - Add tickless kernel support in ARCV2 timer
* ``ZEP-1818`` - Add tickless kernel support in cortex_m_systick timer
* ``ZEP-1821`` - Update PM apps to use mili/micro seconds instead of ticks
* ``ZEP-1823`` - Improved Benchmarks
* ``ZEP-1825`` - Context Switching KPI
* ``ZEP-1836`` - Expose current ecb_encrypt() as bt_encrypt() so host can directly access it
* ``ZEP-1856`` - remove legacy micro/nano kernel APIs
* ``ZEP-1857`` - Build warnings [-Wpointer-sign] with LLVM/icx (bluetooth_handsfree)
* ``ZEP-1866`` - Add Atmel SAM family I2C (TWIHS) driver
* ``ZEP-1880`` - "samples/grove/temperature": warning raised when generating configure file
* ``ZEP-1886`` - Build warnings [-Wpointer-sign] with LLVM/icx (tests/net/nbuf)
* ``ZEP-1887`` - Build warnings [-Wpointer-sign] with LLVM/icx (tests/drivers/spi/spi_basic_api)
* ``ZEP-1893`` - openocd: 'make flash' works with Zephyr SDK only and fails for all other toolchains
* ``ZEP-1896`` - [PTS] L2CAP/LE/CFC/BV-06-C
* ``ZEP-1899`` - Missing board documentation for xtensa/xt-sim
* ``ZEP-1908`` - Missing board documentation for arm/nucleo_96b_nitrogen
* ``ZEP-1910`` - Missing board documentation for arm/96b_carbon
* ``ZEP-1927`` - AIO: AIO_CMP_POL_FALL is triggered immediately after aio_cmp_configure
* ``ZEP-1935`` - Packet loss make RPL mesh more vulnerable
* ``ZEP-1936`` - tests/drivers/spi/spi_basic_api/testcase.ini#test_spi - Assertion Fail
* ``ZEP-1946`` - Time to Next Event
* ``ZEP-1955`` - Nested interrupts crash on Xtensa architecture
* ``ZEP-1959`` - Add Atmel SAM family serial (UART) driver
* ``ZEP-1965`` - net-tools HEAD is broken for QEMU/TAP
* ``ZEP-1966`` - Doesn't seem to be able to both send and receive locally via local address
* ``ZEP-1968`` - "make mrproper" removes top-level dts/ dir, makes ARM builds fail afterwards
* ``ZEP-1980`` - Move app_kernel benchmark to unified kernel
* ``ZEP-1984`` - net_nbuf_append(), net_nbuf_append_bytes() have data integrity problems
* ``ZEP-1990`` - Basic support for the BBC micro:bit LED display
* ``ZEP-1993`` - Flowcontrol Required for CDC_ACM
* ``ZEP-1995`` - samples/subsys/console breaks xtensa build
* ``ZEP-1997`` - Crash during startup if co-processors are present
* ``ZEP-2008`` - Port tickless idle test to unified kernel and cleanup
* ``ZEP-2009`` - Port test_sleep test to unified kernel and cleanup
* ``ZEP-2011`` - Retrieve RPL node information through CoAP requests
* ``ZEP-2012`` - Fault in networking stack for cores that can't access unaligned memory
* ``ZEP-2013`` - dead object monitor code
* ``ZEP-2014`` - Default samples/subsys/shell/shell fails to build on QEMU RISCv32 / NIOS2
* ``ZEP-2019`` - Xtensa port does not compile if CONFIG_TICKLESS_IDLE is enabled
* ``ZEP-2027`` - Bluetooth Peripheral Sample won't pair with certain Android devices
* ``ZEP-2029`` - xtensa: irq_offload() doesn't work on XRC_D2PM
* ``ZEP-2033`` - Channel Selection Algorithm #2
* ``ZEP-2034`` - High Duty Cycle Non-Connectable Advertising
* ``ZEP-2037`` - Malformed echo response
* ``ZEP-2048`` - Change UART "baud-rate" property to "current-speed"
* ``ZEP-2051`` - Move away from C99 types to zephyr defined types
* ``ZEP-2052`` - arm: unhandled exceptions in thread take down entire system
* ``ZEP-2055`` - Add README.rst in the root of the project for github
* ``ZEP-2057`` - crash in tests/net/rpl on qemu_x86 causing intermittent sanitycheck failure
* ``ZEP-2061`` - samples/net/dns_resolve networking setup/README is confusing
* ``ZEP-2064`` - RFC: Making net_shell command handlers reusable
* ``ZEP-2065`` - struct dns_addrinfo has unused fields
* ``ZEP-2066`` - nitpick: SOCK_STREAM/SOCK_DGRAM values swapped compared to most OSes
* ``ZEP-2069`` - samples: net: dhcpv4_client: runs failed on frdm k64f board
* ``ZEP-2070`` - net pkt doesn't full unref after send a data form bluetooth's ipsp
* ``ZEP-2076`` - samples: net: coaps_server: build failed
* ``ZEP-2077`` - Fix IID when using CONFIG_NET_L2_BLUETOOTH_ZEP1656
* ``ZEP-2080`` - No reply from RPL node after 20-30 minutes.
* ``ZEP-2092`` - [NRF][BT] Makefile:946: recipe for target 'include/generated/generated_dts_board.h' failed
* ``ZEP-2114`` - tests/kernel/fatal : Fail for QC1000/arc
* ``ZEP-2125`` - Compilation error when UART1 port is enabled via menuconfig
* ``ZEP-2132`` - Build samples/bluetooth/hci_uart fail
* ``ZEP-2138`` - Static code scan (coverity) issues seen
* ``ZEP-2143`` - Compilation Error on Windows 10 with MSYS2
* ``ZEP-2152`` - Xtensa crashes on startup for cores with coprocessors
* ``ZEP-2178`` - Static code scan (coverity) issues seen
``` | /content/code_sandbox/doc/releases/release-notes-1.8.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 4,142 |
```restructuredtext
.. _zephyr_1.7:
Zephyr Kernel 1.7.0
####################
We are pleased to announce the release of Zephyr kernel version 1.7.0. This
release continues refinement of the unified kernel introduced with the 1.6.0
kernel release, simplifying the overall Zephyr architecture and programming
interfaces. This is the last release that will support the deprecated legacy
nano- and micro-kernel APIs found in the 1.5.0 release and earlier.
This release introduces a new native IP stack, replacing the legacy uIP stack,
maintaining the legacy functionality, adding additional capabilities, and allowing
future improvements.
We have introduced support for the RISC V and Xtensa architectures and now
support 6 architectures in total.
Device tree support for ARM based boards added. The initial
device tree support includes flash/sram base address and UART devices. Board
support includes NXP Kinetis based SoCs, ARM Beetle, TI CC3200 LaunchXL, and
STML32L476 based SoCs. Plan is to add support for other architectures and
expand device support in upcoming Zephyr releases.
The following sections provide a detailed list of changes, by component, since
kernel version 1.6.0.
Kernel
******
* Introduction of k_poll API: k_poll() is similar to the POSIX poll() API in
spirit in that it allows a single thread to monitor multiple events without
actively polling them, but rather pending for one or more to become ready.
* Optimized memory use of some thread fields
* Remove usage of micro/nano kernel terminology from kernel code and introduced
a legacy option to enable/disable legacy APIs. (using legacy.h)
Architectures
*************
* ARM: Added support for device tree
* ARM: Fixed exception priority access on Cortex M0(+)
* ARM: Refactored to use CMSIS
Boards
******
* Added ARM MPS2_AN385 board
* Added Atmel SAM E70 Xplained board
* Added Nordic pca10056 PDK board
* Added NXP FRDM-KW41Z board
* Added ST Nucleo-F334R8, Nucleo-L476G, STM3210C-EVAL, and STM32373C-EVAL boards
* Added Panther and tinyTILE boards, based on Quark SE C1000 and Intel Curie
* Added support for Zedboard Pulpino, a RISC V based board
* Added Qemu target for RISC V and a simulator target for the Xtensa architecture.
Drivers and Sensors
*******************
* Added Atmel SAM pmc, gpio, uart, and ethernet drivers
* Added STM32F3x clock, flash, gpio, pinmux drivers
* Added stm32cube pwm and clock drivers
* Added cc3200 gpio driver
* Added mcr20a ieee802154 driver
* Added mcux pinmux, gpio, uart, and spi drivers
* Added Beetle clock control and watchdog drivers
Networking
**********
This version removes the legacy uIP stack and introduces a new native IP stack.
Because of this there is lot of changes in the code base. The native IP stack
will support the same functionality as the legacy IP stack found in 1.6, and
add new networking features which are described below.
* IP stack code is moved to subsys/net/ip directory.
* IP stack supports both IPv6 and IPv4, and they can be enabled simultaneously.
* Multiple network technologies like Bluetooth IPSP and IEEE 802.15.4 can be
enabled simultaneously. No routing functionality is provided by IP stack
between enabled network technologies, applications need to decide where to
send the network packets.
* Network technologies are abstracted in IP layer 2 (L2) and presented to
rest of the system as network interfaces. There exists L2 driver for
Ethernet, Bluetooth and IEEE 802.15.4.
* Created Bluetooth Internet Protocol Support Profile (IPSP) support. It will
provide IPv6 connection over Bluetooth connection oriented channel (L2CAP).
* Created DHCPv4 support.
* Created CoAP implementation called ZoAP which replaces uIP based one.
* Updated 6Lo implementation to support both Bluetooth and IEEE 802.15.4
* Created application API (net_context) for creating connections and
transferring data to external systems.
* Added sample application (wpanusb) for exporting IEEE 802.15.4 radio over
USB to external operating systems like Linux.
* Added DNS client library.
* Updated TCP implementation.
* Created MQTT publisher support.
* Created network test generator (zperf).
* Created telnet console support.
* Created IRC client sample application.
* Created HTTP server and client sample applications.
* Created net-shell module for interacting with network sub-system.
* Created ieee15_4 shell module for dedicated interaction with
IEEE 802.15.4 Soft MAC.
* Created network management API for generic network settings request as well
as a network event notification system (sender/listener).
* Redesigned buffer & pool allocation API.
Bluetooth
*********
* Redesigned buffer pools for smaller memory consumption
* Redesigned thread model for smaller memory consumption
* Utilized new k_poll API to consolidate all TX threads into a single one
* Added more SDP functionality
* Improved RFCOMM support
* Reduced latencies in the Controller
* Added SPI HCI driver
Libraries
*********
* Updated mbedTLS library
* Updated TinyCrypt to version 0.2.5
HALs
****
* Updated FAT FS to rev 0.12b
* Updated Nordic MDK header files
* Updated QMSI to 1.4 RC3
* Imported Atmel SDK (ASF) for SAM E70 and SAM3X
* Imported Nordic SDK HAL and 802.15.4 radio driver
* Renamed NXP KSDK to MCUX
* Imported NXP MCUX for KW41Z
* Imported Segger J-Link RTT library
* Imported stm32cube for F4 and L4
Documentation
*************
* General improvements and additions to kernel component docs
* Moved supported board information back to the website site.
* New website documentation theme to go with the new zephyrproject.org site.
* New local-content generation theme (read-the-docs)
* General spelling checks and organizational improvements.
* Site-wide glossary added.
* Porting guides added.
* Sample README files converted to documents included in the website.
* Improved consistency of :ref:`boards` and :ref:`samples-and-demos`.
JIRA Related Items
******************
.. comment List derived from path_to_url
* ``ZEP-19`` - IPSP node support
* ``ZEP-145`` - no 'make flash' for Arduino Due
* ``ZEP-328`` - HW Encryption Abstraction
* ``ZEP-359`` - Move QEMU handling to a central location
* ``ZEP-365`` - Zephyr's MQTT library
* ``ZEP-437`` - TCP/IP API
* ``ZEP-513`` - extern declarations of small microkernel objects in designated sections require __attribute__((section)) in gp-enabled systems
* ``ZEP-591`` - MQTT Port to New IP Stack
* ``ZEP-604`` - In coap_server sample app, CoAP resource separate is not able to send separate response
* ``ZEP-613`` - TCP/UDP client and server mode functionality
* ``ZEP-641`` - Bluetooth Eddystone sample does not correctly implement Eddystone beacon
* ``ZEP-648`` - New CoAP Implementation
* ``ZEP-664`` - Extend spi_qmsi_ss driver to support save/restore peripheral context
* ``ZEP-665`` - Extend gpio_qmsi_ss driver to support save/restore peripheral context
* ``ZEP-666`` - Extend i2c_qmsi_ss driver to support save/restore peripheral context
* ``ZEP-667`` - Extend adc_qmsi_ss driver to support save/restore peripheral context
* ``ZEP-686`` - docs: Info in Application Development Primer and Developing an Application and the Build System is largely duplicated
* ``ZEP-706`` - cannot set debug breakpoints on ARC side of Arduino 101
* ``ZEP-719`` - Add ksdk uart shim driver
* ``ZEP-734`` - Port AES-CMAC-PRF-128 [RFC 4615] encryption library for Thread support
* ``ZEP-742`` - nRF5x Series: System Clock driver using NRF_RTC
* ``ZEP-744`` - USB WebUSB
* ``ZEP-748`` - Enable mbedtls_sslclient sample to run on quark se board
* ``ZEP-759`` - Add preliminary support for Atmel SAM E70 (Cortex-M7) chipset family and SAM E70 Xplained board
* ``ZEP-788`` - UDP
* ``ZEP-789`` - IPv4
* ``ZEP-790`` - ICMPv4
* ``ZEP-791`` - TCP
* ``ZEP-792`` - ARP
* ``ZEP-793`` - DNS Resolver
* ``ZEP-794`` - Requirements for Internet Hosts - Communication Layers
* ``ZEP-796`` - DHCPv4
* ``ZEP-798`` - IPv6
* ``ZEP-799`` - HTTP over TLS
* ``ZEP-801`` - DNS Extensions to support IPv6
* ``ZEP-804`` - IPv6 Addressing Architecture
* ``ZEP-805`` - Internet Control Message Protocol (ICMP) v6
* ``ZEP-807`` - Neighbor Discovery for IPv6
* ``ZEP-808`` - IPv6 Stateless Autoconfiguration (SLAAC)
* ``ZEP-809`` - IPv6 over 802.15.4
* ``ZEP-811`` - The Trickle Algorithm
* ``ZEP-812`` - Compression Format for IPv6 over 802.15.4
* ``ZEP-813`` - RPL: IPv6 Routing Protocol
* ``ZEP-814`` - Routing Metrics used in Path Selection
* ``ZEP-815`` - Objective Function Zero for RPL
* ``ZEP-816`` - Minimum Rank with Hysteresis (RPL)
* ``ZEP-818`` - CoAP working over the new IP stack
* ``ZEP-820`` - HTTP v1.1 Server Sample
* ``ZEP-823`` - New IP Stack - Documentation
* ``ZEP-824`` - Network Device Driver Porting Guide
* ``ZEP-825`` - Porting guide for old-to-new IP Stack APIs
* ``ZEP-827`` - HTTP Client sample application
* ``ZEP-830`` - ICMPv6 Parameter Problem Support
* ``ZEP-832`` - Hop-by-Hop option handling
* ``ZEP-847`` - Network protocols must be moved to subsys/net/lib
* ``ZEP-854`` - CoAP with DTLS sample
* ``ZEP-859`` - Migrate ENC28J60 driver to YAIP IP stack
* ``ZEP-865`` - convert filesystem sample to a runnable test
* ``ZEP-872`` - Unable to flash Zephyr on Arduino 101 using Ubuntu and following wiki instructions
* ``ZEP-873`` - DMA API Update
* ``ZEP-875`` - 6LoWPAN - Context based compression support
* ``ZEP-876`` - 6LoWPAN - Offset based Reassembly of 802.15.4 packets
* ``ZEP-879`` - 6LoWPAN - Stateless Address Autoconfiguration
* ``ZEP-882`` - 6LoWPAN - IPv6 Next Header Compression
* ``ZEP-883`` - IP Stack L2 Interface Management API
* ``ZEP-884`` - 802.15.4 - CSMA-CA Radio protocol support
* ``ZEP-885`` - 802.15.4 - Beacon frame support
* ``ZEP-886`` - 802.15.4 - MAC command frame support
* ``ZEP-887`` - 802.15.4 - Management service: RFD level support
* ``ZEP-911`` - Refine thread priorities & locking
* ``ZEP-919`` - Purge obsolete microkernel & nanokernel code
* ``ZEP-929`` - Verify the preempt-thread-only and coop-thread-only configurations
* ``ZEP-931`` - Finalize kernel file naming & locations
* ``ZEP-936`` - Adapt drivers to unified kernel
* ``ZEP-937`` - Adapt networking to unified kernel
* ``ZEP-946`` - Galileo Gen1 board support dropped?
* ``ZEP-951`` - CONFIG_GDB_INFO build not working on ARM
* ``ZEP-953`` - CONFIG_HPET_TIMER_DEBUG build warning
* ``ZEP-958`` - simplify pinmux interface and merge the pinmux_dev into one single API
* ``ZEP-964`` - Add a (hidden?) Kconfig option for disabling legacy API
* ``ZEP-975`` - DNS client port to new IP stack
* ``ZEP-1012`` - NATS client port to new IP stack
* ``ZEP-1038`` - Hard real-time interrupt support
* ``ZEP-1060`` - Contributor guide for documentation missing
* ``ZEP-1103`` - Propose and implement synchronization flow for multicore power management
* ``ZEP-1165`` - support enums as IRQ line argument in IRQ_CONNECT()
* ``ZEP-1172`` - Update logger Api to allow using a hook for SYS_LOG_BACKEND_FN function
* ``ZEP-1177`` - Reduce Zephyr's Dependency on Host Tools
* ``ZEP-1179`` - Build issues when compiling with LLVM from ISSM (icx)
* ``ZEP-1189`` - SoC I2C peripheral of the Quark SE cannot be used from the ARC core
* ``ZEP-1190`` - SoC SPI peripheral of the Quark SE cannot be used from the ARC core
* ``ZEP-1222`` - Add save/restore support to ARC core
* ``ZEP-1223`` - Add save/restore support to arcv2_irq_unit
* ``ZEP-1224`` - Add save/restore support to arcv2_timer_0/sys_clock
* ``ZEP-1230`` - Optimize interrupt return code on ARC.
* ``ZEP-1233`` - mbedDTLS DTLS client stability does not work on top of the tree for the net branch
* ``ZEP-1251`` - Abstract driver re-entrancy code
* ``ZEP-1267`` - Echo server crashes upon reception of router advertisement
* ``ZEP-1276`` - Move disk_access_* out of file system subsystem
* ``ZEP-1283`` - compile option to skip gpio toggle in samples/power/power_mgr
* ``ZEP-1284`` - Remove arch/arm/core/gdb_stub.S and all the abstractions it introduced
* ``ZEP-1288`` - Define _arc_v2_irq_unit device
* ``ZEP-1292`` - Update external mbed TLS library to latest version (2.4.0)
* ``ZEP-1300`` - ARM LTD V2M Beetle Support [Phase 2]
* ``ZEP-1304`` - Define device tree bindings for NXP Kinetis K64F
* ``ZEP-1305`` - Add DTS/DTB targets to build infrastructure
* ``ZEP-1306`` - Create DTS/DTB parser
* ``ZEP-1307`` - Plumbing the DTS configuration
* ``ZEP-1308`` - zephyr thread function k_sleep doesn't work with nrf51822
* ``ZEP-1320`` - Update Architecture Porting Guide
* ``ZEP-1321`` - Glossary of Terms needs updating
* ``ZEP-1323`` - Eliminate references to fiber, task, and nanokernel under ./include
* ``ZEP-1324`` - Get rid of references to CONFIG_NANOKERNEL
* ``ZEP-1325`` - Eliminate TICKLESS_IDLE_SUPPORTED option
* ``ZEP-1327`` - Eliminate obsolete kernel directories
* ``ZEP-1329`` - Rename kernel APIs that have nano\_ prefixes
* ``ZEP-1334`` - Add make debug support for QEMU-based boards
* ``ZEP-1337`` - Relocate event logger files
* ``ZEP-1338`` - Update external fs with new FATFS revision 0.12b
* ``ZEP-1342`` - legacy/kernel/test_early_sleep/ fails on EMSK
* ``ZEP-1347`` - sys_bitfield_*() take unsigned long* vs memaddr_t
* ``ZEP-1351`` - FDRM k64f SPI does not work
* ``ZEP-1355`` - Connection Failed to be Established
* ``ZEP-1357`` - iot/dns: Client is broken
* ``ZEP-1358`` - BMI160 accelerometer gives 0 on all axes
* ``ZEP-1361`` - IP stack is broken
* ``ZEP-1363`` - Missing wiki board support page for arm/arduino_101_ble
* ``ZEP-1365`` - Missing wiki board support page for arm/c3200_launchxl
* ``ZEP-1370`` - There's a wiki page for arduino_due but no zephyr/boards support folder
* ``ZEP-1374`` - Add ksdk spi shim driver
* ``ZEP-1387`` - Add a driver for Atmel ataes132a HW Crypto module
* ``ZEP-1389`` - Add support for KW41 SoC
* ``ZEP-1390`` - Add support for FRDM-KW41Z
* ``ZEP-1393`` - Add ksdk pinmux driver
* ``ZEP-1394`` - Add ksdk gpio driver
* ``ZEP-1395`` - Add data ready trigger to FXOS8700 driver
* ``ZEP-1401`` - Enhance ready queue cache and interrupt exit code to reduce interrupt latency.
* ``ZEP-1403`` - remove CONFIG_OMIT_FRAME_POINTER from ARC boards
* ``ZEP-1405`` - function l2cap_br_conn_req in /subsys/bluetooth/host/l2cap_br.c references uninitialized pointer
* ``ZEP-1406`` - Update sensor driver paths in wiki
* ``ZEP-1408`` - quark_se_c1000_ss enter_arc_state() might need cc and memory clobber
* ``ZEP-1411`` - Deprecate device_sync_call API and use semaphore directly
* ``ZEP-1413`` - [ARC] test/legacy/kernel/test_tickless/microkernel fails to build
* ``ZEP-1415`` - drivers/timer/* code comments still refer to micro/nano kernel
* ``ZEP-1418`` - Add support for Nordic nRF52840 and its DK
* ``ZEP-1419`` - SYS_LOG macros cause potentially bad behavior due to printk/printf selection
* ``ZEP-1420`` - Make the time spent with interrupts disabled deterministic
* ``ZEP-1421`` - BMI160 gyroscope driver stops reporting after 1-5 minutes
* ``ZEP-1422`` - Arduino_101 doesn't response ipv6 ping request after enable echo_client ipv6
* ``ZEP-1427`` - wpanusb dongle / 15.4 communication instability
* ``ZEP-1429`` - NXP MCR20A Driver
* ``ZEP-1432`` - ksdk pinmux driver should expose the public pinmux API
* ``ZEP-1434`` - menuconfig screen shots show nanokernel options
* ``ZEP-1437`` - AIO: Fail to retrieve pending interrupt in ISR
* ``ZEP-1440`` - Kconfig choice for MINIMAL_LIBC vs NEWLIB_LIBC is not selectable
* ``ZEP-1442`` - Samples/net/dhcpv4_client: Build fail as No rule to make target prj\_.conf
* ``ZEP-1443`` - Samples/net/zperf: Build fail as net_private.h can not be found
* ``ZEP-1448`` - Samples/net/mbedtls_sslclient:Build fail as net/ip_buf.h can not be found
* ``ZEP-1449`` - samples: logger_hook
* ``ZEP-1456`` - Asserts on nrf51 running Bluetooth hci_uart sample
* ``ZEP-1457`` - Add SPDX Tags to Zephyr license boilerplate
* ``ZEP-1460`` - Sanity check reports some qemu step failures as 'build_error'
* ``ZEP-1461`` - Add zephyr support to openocd upstream
* ``ZEP-1467`` - Cleanup misc/ and move features to subsystems in subsys/
* ``ZEP-1473`` - ARP cache confused by use of gateway.
* ``ZEP-1474`` - BLE Connection Parameter Request/Response Processing
* ``ZEP-1475`` - k_free documentation should specify that NULL is valid
* ``ZEP-1476`` - echo_client display port unreachable
* ``ZEP-1480`` - Update supported distros in getting started guide
* ``ZEP-1481`` - Bluetooth fails to init
* ``ZEP-1483`` - H:4 HCI driver (h4.c) should rely on UART flow control to avoid dropping packets
* ``ZEP-1487`` - I2C_SS: I2C doesn't set device busy before starting data transfer
* ``ZEP-1488`` - SPI_SS: SPI doesn't set device busy before starting data transfer
* ``ZEP-1489`` - [GATT] Nested Long Characteristic Value Reliable Writes
* ``ZEP-1490`` - [PTS] TC_CONN_CPUP_BV_04_C test case is failing
* ``ZEP-1492`` - Add Atmel SAM family GMAC Ethernet driver
* ``ZEP-1493`` - Zephyr project documentation copyright
* ``ZEP-1495`` - Networking API details documentation is missing
* ``ZEP-1496`` - gpio_pin_enable_callback error
* ``ZEP-1497`` - Cortex-M0 port exception and interrupt priority setting and getting is broken
* ``ZEP-1507`` - fxos8700 broken gpio_callback implementation
* ``ZEP-1512`` - doc-theme has its own conf.py
* ``ZEP-1514`` - samples/bluetooth/ipsp build fail: net/ip_buf.h No such file or directory
* ``ZEP-1525`` - driver: gpio: GPIO driver still uses nano_timer
* ``ZEP-1532`` - Wrong accelerometer readings
* ``ZEP-1536`` - Convert documentation of PWM samples to RST
* ``ZEP-1537`` - Convert documentation of power management samples to RST
* ``ZEP-1538`` - Convert documentation of zoap samples to RST
* ``ZEP-1539`` - Create documentation in RST for all networking samples
* ``ZEP-1540`` - Convert Bluetooth samples to RST
* ``ZEP-1542`` - Multi Sessions HTTP Server sample
* ``ZEP-1543`` - HTTP Server sample with basic authentication
* ``ZEP-1544`` - Arduino_101 doesn't respond to ipv6 ping request after enable echo_server ipv6
* ``ZEP-1545`` - AON Counter : ISR triggered twice on ARC
* ``ZEP-1546`` - Bug in Zephyr OS high-precision timings sub-system (function sys_cycle_get_32())
* ``ZEP-1547`` - Add support for H7 crypto function and CT2 SMP auth flag
* ``ZEP-1548`` - Python script invocation is inconsistent
* ``ZEP-1549`` - k_cpu_sleep_mode unaligned byte address
* ``ZEP-1554`` - Xtensa integration
* ``ZEP-1557`` - RISC V Port
* ``ZEP-1558`` - Support of user private data pointer in Timer expiry function
* ``ZEP-1559`` - Implement _tsc_read for ARC architecture
* ``ZEP-1562`` - echo_server/echo_client examples hang randomly after some time of operation
* ``ZEP-1563`` - move board documentation for NRF51/NRF52 back to git tree
* ``ZEP-1564`` - 6lo uncompress_IPHC_header overwrites IPHC fields
* ``ZEP-1566`` - WDT: Interrupt is triggered multiple times
* ``ZEP-1569`` - net/tcp: TCP in server mode doesn't support multiple concurrent connections
* ``ZEP-1570`` - net/tcp: TCP in server mode is unable to close client connections
* ``ZEP-1571`` - Update "Changes from Version 1 Kernel" to include a "How-To Port Apps" section
* ``ZEP-1572`` - Update QMSI to 1.4
* ``ZEP-1573`` - net/tcp: User provided data in net_context_recv is not passed to callback
* ``ZEP-1574`` - Samples/net/dhcpv4_client: Build fail as undefined reference to net_mgmt_add_event_callback
* ``ZEP-1579`` - external links to zephyr technical docs are broken
* ``ZEP-1581`` - [nRF52832] Blinky hangs after some minutes
* ``ZEP-1583`` - ARC: warning: unmet direct dependencies (SOC_RISCV32_PULPINO || SOC_RISCV32_QEMU)
* ``ZEP-1585`` - legacy.h should be disabled in kernel.h with CONFIG_LEGACY_KERNEL=n
* ``ZEP-1587`` - sensor.h still uses legacy APIs and structs
* ``ZEP-1588`` - I2C doesn't work on Arduino 101
* ``ZEP-1589`` - Define yaml descriptions for UART devices
* ``ZEP-1590`` - echo_server run on FRDM-K64F displays BUS FAULT
* ``ZEP-1591`` - wiki: add Networking section and point path_to_url
* ``ZEP-1592`` - echo-server does not build with newlib
* ``ZEP-1593`` - /scripts/sysgen should create output using SPDX licensing tag
* ``ZEP-1598`` - samples/philosophers build failed unexpectedly @quark_d2000 section noinit will not fit in region RAM
* ``ZEP-1601`` - Console over Telnet
* ``ZEP-1602`` - IPv6 ping fails using sample application echo_server on FRDM-K64F
* ``ZEP-1611`` - Hardfault after a few echo requests (IPv6 over BLE)
* ``ZEP-1614`` - Use correct i2c device driver name
* ``ZEP-1616`` - Mix up between "network address" and "socket address" concepts in declaration of net_addr_pton()
* ``ZEP-1617`` - mbedTLS server/client failing to run on qemu
* ``ZEP-1619`` - Default value of NET_NBUF_RX_COUNT is too low, causes lock up on startup
* ``ZEP-1623`` - (Parts) of Networking docs still refer to 1.5 world model (with fibers and tasks) and otherwise not up to date
* ``ZEP-1626`` - SPI: spi cannot work in CPHA mode @ ARC
* ``ZEP-1632`` - TCP ACK packet should not be forwarded to application recv cb.
* ``ZEP-1635`` - MCR20A driver unstable
* ``ZEP-1638`` - No (public) analog of inet_ntop()
* ``ZEP-1644`` - Incoming connection handling for UDP is not exactly correct
* ``ZEP-1645`` - API to wait on multiple kernel objects
* ``ZEP-1648`` - Update links to wiki pages for board info back into the web docs
* ``ZEP-1650`` - make clean (or pristine) is not removing all artifacts of document generation
* ``ZEP-1651`` - i2c_dw malfunctioning due to various changes.
* ``ZEP-1653`` - build issue when compiling with LLVM in ISSM (altmacro)
* ``ZEP-1654`` - Build issues when compiling with LLVM(unknown attribute '_alloc_align_)
* ``ZEP-1655`` - Build issues when compiling with LLVM(memory pool)
* ``ZEP-1656`` - IPv6 over BLE no longer works after commit 2e9fd88
* ``ZEP-1657`` - Zoap doxygen documentation needs to be perfected
* ``ZEP-1658`` - IPv6 TCP low on buffers, stops responding after about 5 requests
* ``ZEP-1662`` - zoap_packet_get_payload() should return the payload length
* ``ZEP-1663`` - sanitycheck overrides user's environment for CCACHE
* ``ZEP-1665`` - pinmux: missing default pinmux driver config for quark_se_ss
* ``ZEP-1669`` - API documentation does not follow in-code documentation style
* ``ZEP-1672`` - flash: Flash device binding failed on Arduino_101_sss
* ``ZEP-1674`` - frdm_k64f: With Ethernet driver enabled, application can't start up without connected network cable
* ``ZEP-1677`` - SDK: BLE cannot be initialized/advertised with CONFIG_ARC_INIT=y on Arduino 101
* ``ZEP-1681`` - Save/restore debug registers during soc_sleep/soc_deep_sleep in c1000
* ``ZEP-1692`` - [PTS] GATT/SR/GPA/BV-11-C fails
* ``ZEP-1701`` - Provide an HTTP API
* ``ZEP-1704`` - BMI160 samples fails to run
* ``ZEP-1706`` - Barebone Panther board support
* ``ZEP-1707`` - [PTS] 7 SM/MAS cases fail
* ``ZEP-1708`` - [PTS] SM/MAS/PKE/BI-01-C fails
* ``ZEP-1709`` - [PTS] SM/MAS/PKE/BI-02-C fails
* ``ZEP-1710`` - Add TinyTILE board support
* ``ZEP-1713`` - xtensa: correct all checkpatch issues
* ``ZEP-1716`` - HTTP server sample that does not support up to 10 concurrent sessions.
* ``ZEP-1717`` - GPIO: GPIO LEVEL interrupt cannot work well in deep sleep mode
* ``ZEP-1723`` - Warnings in Network code/ MACROS, when built with ISSM's llvm/icx compiler
* ``ZEP-1732`` - sample of zoap_server runs error.
* ``ZEP-1733`` - Work on ZEP-686 led to regressions in docs on integration with 3rd-party code
* ``ZEP-1745`` - Bluetooth samples build failure
* ``ZEP-1753`` - sample of dhcpv4_client runs error on Arduino 101
* ``ZEP-1754`` - sample of coaps_server was tested failed on qemu
* ``ZEP-1756`` - net apps: [-Wpointer-sign] build warning raised when built with ISSM's llvm/icx compiler
* ``ZEP-1758`` - PLL2 is not correctly enabled in STM32F10x connectivity line SoC
* ``ZEP-1763`` - Nordic RTC timer driver not correct with tickless idle
* ``ZEP-1764`` - samples: sample cases use hard code device name, such as "GPIOB" "I2C_0"
* ``ZEP-1768`` - samples: cases miss testcase.ini
* ``ZEP-1774`` - Malformed packet included with IPv6 over 802.15.4
* ``ZEP-1778`` - tests/power: multicore case won't work as expected
* ``ZEP-1786`` - TCP does not work on Arduino 101 board.
* ``ZEP-1787`` - kernel event logger build failed with "CONFIG_LEGACY_KERNEL=n"
* ``ZEP-1789`` - ARC: "samples/logger-hook" crashed __memory_error from sys_ring_buf_get
* ``ZEP-1799`` - timeout_order_test _ASSERT_VALID_PRIO failed
* ``ZEP-1803`` - Error occurs when exercising dma_transfer_stop
* ``ZEP-1806`` - Build warnings with LLVM/icx (gdb_server)
* ``ZEP-1809`` - Build error in net/ip with LLVM/icx
* ``ZEP-1810`` - Build failure in net/lib/zoap with LLVM/icx
* ``ZEP-1811`` - Build error in net/ip/net_mgmt.c with LLVM/icx
* ``ZEP-1839`` - LL_ASSERT in event_common_prepareA
* ``ZEP-1851`` - Build warnings with obj_tracing
* ``ZEP-1852`` - LL_ASSERT in isr_radio_state_close()
* ``ZEP-1855`` - IP stack buffer allocation fails over time
* ``ZEP-1858`` - Zephyr NATS client fails to respond to server MSG
* ``ZEP-1864`` - llvm icx build warning in tests/drivers/uart/*
* ``ZEP-1872`` - samples/net: the HTTP client sample app must run on QEMU x86
* ``ZEP-1877`` - samples/net: the coaps_server sample app runs failed on Arduino 101
* ``ZEP-1883`` - Enabling Console on ARC Genuino 101
* ``ZEP-1890`` - Bluetooth IPSP sample: Too small user data size
``` | /content/code_sandbox/doc/releases/release-notes-1.7.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 7,391 |
```restructuredtext
:orphan:
.. _zephyr_2.1:
Zephyr 2.1.0
############
We are pleased to announce the release of Zephyr kernel version 2.1.0.
Major enhancements with this release include:
* Normalized APIs across all architectures.
* Expanded support for ARMv6-M architecture.
* Added support for numerous new boards and shields.
* Added numerous new drivers and sensors.
* Added new TCP stack implementation (experimental).
* Added BLE support on Vega platform (experimental).
* Memory size improvements to Bluetooth host stack.
The following sections provide detailed lists of changes by component.
Security Vulnerability Related
******************************
No security vulnerabilities received.
Kernel
******
* Add arch abstraction for irq_offload()
* Add architecture interface headers and normalized APIs across all arches
* Show faulting CPU on fatal error message
* Improve C++ compatibility
* Modified arch API namespace to allow automatic arch API documentation
generation
* Use logging for userspace errors
Architectures
*************
* ARC:
* Increased the exception handling stack size
* Implement DIRECT IRQ support
* Implement z_arch_system_halt()
* ARM:
* Added support for memory protection features (user mode and
hardware-based stack overflow detection) in ARMv6-M architecture
* Added QEMU support for ARMv6-M architecture
* Extended test coverage for ARM-specific kernel features in ARMv6-M
architecture
* Enhanced runtime MPU programming in ARMv8-M architecture, making
the full partitioning of kernel SRAM memory a user-configurable
feature.
* Added CMSIS support for Cortex-R architectures.
* Updated CMSIS headers to version 5.6
* Added missing Cortex-R CPU device tree bindings.
* Fixed incorrect Cortex-R device tree specification.
* Fixed several bugs in ARM architecture implementation
* POSIX:
* Added support for CONFIG_DYNAMIC_INTERRUPTS (native_posix
& nrf52_bsim)
* RISC-V:
* Add support to boot multicore system
* x86:
* Add basic ACPI and non-trivial memory map support
* Add SMP support (64-bit mode only)
* Inline direct ISR functions
Boards & SoC Support
********************
* Added support for these SoC series:
.. rst-class:: rst-columns
* Atmel SAMD51, SAME51, SAME53, SAME54
* Nordic Semiconductor nRF53
* NXP Kinetis KV5x
* STMicroelectronics STM32G4
* Added support for these ARM boards:
.. rst-class:: rst-columns
* actinius_icarus
* cc3235sf_launchxl
* decawave_dwm1001_dev
* degu_evk
* frdm_k22f
* frdm_k82f
* mec1501modular_assy6885
* nrf52833_pca10100
* nrf5340_dk_nrf5340
* nucleo_g431rb
* pico_pi_m4
* qemu_cortex_r0
* sensortile_box
* steval_fcu001v1
* stm32f030_demo
* stm32l1_disco
* twr_kv58f220m
* Added support for these following shields:
.. rst-class:: rst-columns
* adafruit_2_8_tft_touch_v2
* dfrobot_can_bus_v2_0
* link_board_eth
* ssd1306_128x32
* ssd1306_128x64
* waveshare_epaper
* x_nucleo_idb05a1
* Added CAN support for Olimexino STM32 board
Drivers and Sensors
*******************
* ADC
* Added support for STM32G4X in STM32 driver
* Added Microchip XEC ADC driver
* Bluetooth
* Added RPMsg transport HCI driver
* CAN
* Added API to read the bus-state and error counters
* Added API for bus-off recovery
* Optimizations for the MCP2515 driver
* Bug fixes
* Clock Control
* Added support for nRF52833 in nRF driver
* Added support for STM32G4X in STM32 driver
* Console
* Removed deprecated function console_register_line_input
* Counter
* Added support for STM32L1 and STM32G4X in STM32 driver
* Removed QMSI driver
* Added Microchip XEC driver
* Display
* Enhanced SSD1306 driver to support build time selection
* Enhanced SSD16XX driver to use bytestring property for LUT and parameters
* DMA
* Added generic STM32 driver
* Removed QMSI driver
* EEPROM
* Added EEPROM device driver API
* Added Atmel AT24 (and compatible) I2C EEPROM driver
* Added Atmel AT25 (and compatible) SPI EEPROM driver
* Added native_posix EEPROM emulation driver
* Entropy
* Added RV32M1 driver
* Added support for STM32G4X in STM32 driver
* Ethernet
* Added MAC address configuration and carrier state detection to STM32 driver
* Added ENC424J600 driver
* Removed DesignWare driver
* Flash
* Added deep-power-down mode support in SPI NOR driver
* Fixed STM32 driver for 2MB parts
* Added support for STM32G4X in STM32 driver
* Removed QMSI driver
* GPIO
* Added support for STM32G4X in STM32 driver
* Removed QMSI, SCH, and SAM3 drivers
* Hardware Info
* Added LiteX DNA driver
* I2C
* Converted remaining drivers to device tree
* Added support for STM32G4X in STM32 driver
* Fixed DesignWare driver for 64-bit
* Removed QMSI driver
* Added proper error handling in XEC driver
* I2S
* Refactored STM32 driver
* IEEE 802.15.4
* Added CC13xx / CC26xx driver
* Interrupt Controller
* Added support for SAME54 to SAM0 EIC driver
* Added support for STM32G4X in STM32 driver
* Converted RISC-V plic to use multi-level irq support
* IPM
* Added nRFx driver
* Keyboard Scan
* Added Microchip XEC driver
* LED
* Removed non-DTS support from LP5562, PCA9633, and LP3943 drivers
* Modem
* Added simple power management to modem receiver
* Pinmux
* Added support for STM32G4X in STM32 driver
* Removed QMSI driver
* PS/2
* Added Microchip XEC driver
* PWM
* Added PWM shell
* Added Microchip XEC driver
* Removed QMSI driver
* Sensor
* Fixed raw value scaling and SPI burst transfers in LIS2DH driver
* Converted various drivers to device tree
* Fixed fractional part calculation in ENS210 driver
* Added OPT3001 light sensor driver
* Added SI7060 temperature sensor driver
* Added TMP116 driver
* Implemented single shot mode in SHT3XD driver
* Added single/double tap trigger support in LIS2DW12 driver
* Serial
* Added support for SAME54 to SAM0 driver
* Added support for STM32G4X in STM32 driver
* Added support for 2 stop bits in nRF UARTE and UART drivers
* Removed QMSI driver
* Added ESP32 driver with FIFO/interrupt support
* SPI
* Added support for nRF52833 in nRFx driver
* Added support for STM32G4X in STM32 driver
* Added RV32M1 driver
* Added Microchip XEC driver
* Added LiteX driver
* Removed Intel Quark driver
* Timer
* Fixed starving clock announcements in SYSTICK and nRF drivers
* Fixed clamp tick adjustment in tickless mode in various drivers
* Fixed calculation of absolute cycles in SYSTICK driver
* Fixed lost ticks from unannounced elapsed in nRF driver
* Fixed SMP bug in ARC driver
* Added STM32 LPTIM driver
* Changed CC13X2/CC26X2 to use RTC instead of SYSTICK for system clock
* USB
* Added support for nRF52833 in nRFx driver
* Added support for STM32G4X in STM32 driver
* Enabled ZLP hardware handling for variable-length data storage
* Video
* Added MCUX CSI and Aptina MT9M114 drivers
* Added software video pattern generator driver
* Watchdog
* Added support for SAME54 to SAM0 driver
* Converted drivers to use device tree
* Removed QMSI driver
* Added STM32 WWDG driver
* Added Microchip XEC driver
* WiFi
* Implemented TCP/UDP socket offload with TLS in Inventek eS-WiFi driver
Networking
**********
* Added new TCP stack implementation. The new TCP stack is still experimental
and is turned off by default. Users wanting to experiment with it can set
``CONFIG_NET_TCP2`` Kconfig option.
* Added support for running MQTT protocol on top of a Websocket connection.
* Added support for enabling DNS in LWM2M.
* Added support for resetting network statistics in net-shell.
* Added support for getting statistics about the time it took to receive or send
a network packet.
* Added support for sending a PPP Echo-Reply packet when a Echo-Request packet
is received.
* Added CC13xx / CC26xx device drivers for IEEE 802.15.4.
* Added TCP/UDP socket offload with TLS for eswifi network driver.
* Added support for sending multiple SNTP requests to increase reliability.
* Added support for choosing a default network protocol in socket() call.
* Added support for selecting either native IP stack, which is the default, or
offloaded IP stack. This can save ROM and RAM as we do not need to enable
network functionality that is not going to be used in the network device.
* Added support for LWM2M client initiated de-register.
* Updated the supported version of OpenThread.
* Updated OpenThread configuration to use mbedTLS provided by Zephyr.
* Various fixes to TCP connection establishment.
* Fixed delivery of multicast packets to all listening sockets.
* Fixed network interface initialization when using socket offloading.
* Fixed initial message id seed value for sent CoAP messages.
* Fixed selection of network interface when using "net ping" command to send
ICMPv4 echo-request packet.
* Networking sample changes for:
.. rst-class:: rst-columns
- http_client
- dumb_http_server_mt
- dumb_http_server
- echo_server
- mqtt_publisher
- zperf
* Network device driver changes for:
.. rst-class:: rst-columns
- Ethernet enc424j600 (new driver)
- Ethernet enc28j60
- Ethernet stm32
- WiFi simplelink
- Ethernet DesignWare (removed)
Bluetooth
*********
* Host:
* Reworked the Host transmission path to improve memory footprint and remove potential deadlocks
* Document HCI errors for connected callback
* GATT: Added a ``bt_gatt_is_subscribed()`` function to check if attribute has been subscribed
* GATT: Added an initializer for GATT CCC structures
* HCI: Added a function to get the connection handle of a connection
* Added ability to load CCC settings on demand to reduce memory usage
* Made the time to run slave connection parameters update procedure configurable
* Folded consecutive calls to bt_rand into one to reduce overhead
* Added key displacement feature for key storage
* Reduced severity of unavoidable warnings
* Added support C++20 designated initializers
* Mesh: Add the model extension concept as described in the Mesh Profile Specification
* Mesh: Added support for acting as a Provisioner
* BLE split software Controller:
* Numerous bug fixes
* Fixed several control procedure (LLCP) handling issues
* Added experimental BLE support on Vega platform.
* Added a hook for flushing in LLL
* Implemented the LLL reset functions in a call from ll_reset
* Made the number of TX ctrl buffers configurable
* Added support for Zero Latency IRQs
* BLE legacy software Controller:
* Multiple bug fixes
Build and Infrastructure
************************
* Deprecated kconfig functions dt_int_val, dt_hex_val, and dt_str_val.
Use new functions that utilize eDTS info such as dt_node_reg_addr.
See :zephyr_file:`scripts/kconfig/kconfigfunctions.py` for details.
* Deprecated direct use of the ``DT_`` Kconfig symbols from the generated
``generated_dts_board.conf``. This was done to have a single source of
Kconfig symbols coming from only Kconfig (additionally the build should
be slightly faster). For Kconfig files we should utilize functions from
:zephyr_file:`scripts/kconfig/kconfigfunctions.py`. See
:ref:`kconfig-functions` for usage details. For sanitycheck yaml usage
we should utilize functions from
:zephyr_file:`scripts/sanity_chk/expr_parser.py`. Its possible that a
new function might be required for a particular use pattern that isn't
currently supported.
* Various parts of the binding format have been simplified. The format is
better documented now too.
Libraries / Subsystems
***********************
* Random
* Add cryptographically secure random functions
* Add bulk fill random functions
HALs
****
* HALs are now moved out of the main tree as external modules and reside in
their own standalone repositories.
Documentation
*************
* A new Getting Started Guide simplifies and streamlines the "out of
box" experience for developers, from setting up their development
environment through running the blinky sample.
* Many additions and updates to architecture, build, and process docs including
sanity check, board porting, Bluetooth, scheduling, timing,
peripherals, configuration, and user mode.
* Documentation for new boards and samples.
* Improvements and clarity of API documentation.
Tests and Samples
*****************
* We have implemented additional tests and significantly expanded the amount
of test cases in existing tests to increase code coverage.
Issue Related Items
*******************
These GitHub issues were addressed since the previous 2.0.0 tagged
release:
.. comment List derived from GitHub Issue query: ...
* :github:`issuenumber` - issue title
* :github:`21177` - Long ATT MTU reports wrong length field in write callback.
* :github:`21148` - nrf51: uart\_1 does not compile
* :github:`21131` - Bluetooth: host: Subscriptions not removed upon unpair
* :github:`21139` - west: runners: blackmagicprobe: Keyboard Interrupt shouldn't kill the process
* :github:`21126` - drivers: spi\_nrfx\_spim: Incorrect handling of extended SPIM configuration
* :github:`21115` - Request a new repository for the Xtensa HAL
* :github:`21113` - k\_sem\_give reschedules cooperative threads unexpectedly
* :github:`21102` - Slack link at path_to_url is expired
* :github:`21077` - Help: Pull request "Identity/Emails issues"
* :github:`21059` - Bluetooth sent callback delayed more than ATT
* :github:`21049` - Bluetooth: Multiple issues with net\_buf usage
* :github:`21048` - timer case fail on qemu\_xtensa and mps2\_an385
* :github:`21004` - cmd\_data buffer corruption
* :github:`20970` - Bluetooth: Mesh: seg\_tx\_reset in the transport layer
* :github:`20969` - No SOURCES given to target: drivers\_\_gpio
* :github:`20968` - [Coverity CID :206016] Side effect in assertion in tests/kernel/sched/metairq/src/main.c
* :github:`20967` - [Coverity CID :206017] Out-of-bounds read in drivers/ipm/ipm\_nrfx\_ipc.c
* :github:`20966` - [Coverity CID :206018] Side effect in assertion in tests/kernel/sched/metairq/src/main.c
* :github:`20965` - [Coverity CID :206019] Side effect in assertion in tests/kernel/sched/metairq/src/main.c
* :github:`20964` - [Coverity CID :206020] Bad bit shift operation in drivers/ipm/ipm\_nrfx\_ipc.c
* :github:`20963` - [Coverity CID :206021] Side effect in assertion in tests/kernel/sched/metairq/src/main.c
* :github:`20962` - [Coverity CID :206022] Out-of-bounds read in drivers/ipm/ipm\_nrfx\_ipc.c
* :github:`20939` - long duration timeouts can cause loss of time
* :github:`20938` - ATT/L2CAP "deadlock"
* :github:`20936` - tests/kernel/mem\_protect/protection fails on ARMv8-M
* :github:`20933` - x\_nucleo\_iks01a3 shield: STM LSM6DSO sensor does not work after h/w or s/w reset
* :github:`20931` - intel\_s1000\_crb samples can't be built with latest master
* :github:`20926` - ztest\_1cpu\_user\_unit\_test() doesn
* :github:`20892` - our nRF52840 board power management sleep duration
* :github:`20883` - [Coverity CID :205808] Integer handling issues in tests/net/lib/coap/src/main.c
* :github:`20882` - [Coverity CID :205806] Integer handling issues in tests/net/lib/coap/src/main.c
* :github:`20881` - [Coverity CID :205786] Integer handling issues in tests/net/lib/coap/src/main.c
* :github:`20880` - [Coverity CID :205780] Integer handling issues in tests/net/lib/coap/src/main.c
* :github:`20879` - [Coverity CID :205812] Incorrect expression in tests/kernel/spinlock/src/main.c
* :github:`20878` - [Coverity CID :205801] Incorrect expression in tests/kernel/mp/src/main.c
* :github:`20872` - [Coverity CID :205779] Parse warnings in subsys/usb/class/hid/core.c
* :github:`20871` - [Coverity CID :205815] Memory - illegal accesses in subsys/shell/shell.c
* :github:`20868` - [Coverity CID :205814] Null pointer dereferences in subsys/net/ip/6lo.c
* :github:`20867` - [Coverity CID :205803] Integer handling issues in subsys/fs/nvs/nvs.c
* :github:`20866` - [Coverity CID :205795] Integer handling issues in subsys/fs/nvs/nvs.c
* :github:`20846` - [Coverity CID :205775] Memory - corruptions in samples/net/sockets/big\_http\_download/src/big\_http\_download.c
* :github:`20845` - [Coverity CID :205824] Memory - corruptions in samples/net/mqtt\_publisher/src/main.c
* :github:`20842` - [Coverity CID :205787] Memory - corruptions in drivers/usb/device/usb\_dc\_native\_posix\_adapt.c
* :github:`20841` - [Coverity CID :205839] Error handling issues in drivers/usb/device/usb\_dc\_native\_posix.c
* :github:`20840` - [Coverity CID :205821] Error handling issues in drivers/usb/device/usb\_dc\_native\_posix.c
* :github:`20839` - [Coverity CID :205813] Error handling issues in drivers/usb/device/usb\_dc\_native\_posix.c
* :github:`20838` - [Coverity CID :205790] Null pointer dereferences in drivers/usb/device/usb\_dc\_native\_posix.c
* :github:`20837` - [Coverity CID :205777] Error handling issues in drivers/usb/device/usb\_dc\_native\_posix.c
* :github:`20836` - [Coverity CID :205776] Error handling issues in drivers/usb/device/usb\_dc\_native\_posix.c
* :github:`20834` - [Coverity CID :205825] API usage errors in boards/posix/native\_posix/hw\_models\_top.c
* :github:`20833` - Bluetooth: Deadlock in Host API from SMP callbacks.
* :github:`20826` - [Coverity CID :205798] API usage errors in boards/posix/native\_posix/hw\_models\_top.c
* :github:`20811` - spi driver
* :github:`20804` - sanitycheck: unimplemented documented option
* :github:`20800` - Ready thread is not swapped in after being woken up in IRQ
* :github:`20797` - echo server qemu\_x86 e1000 crash when coverage is enabled
* :github:`20781` - peripheral\_hr on VEGABoard disconnects from central\_hr after BT\_CONN\_PARAM\_UPDATE\_TIMEOUT
* :github:`20771` - onoff\_level\_lighting\_vnd\_app mcumgr unable to connect to provisioned node
* :github:`20769` - nucleo\_g431rb: Settings subsystem fails to initialise
* :github:`20743` - doc: settings.rst has references to mynewt structures
* :github:`20741` - Reel board Ethernet Support using the Link board ETH
* :github:`20735` - Cannot flash with jlink on windows.
* :github:`20726` - arm: Specifying sp register in asm's clobber list is deprecated in GCC 9
* :github:`20715` - rtc driver may interrupt in a short time for large timeouts on cc13x2/cc26x2
* :github:`20707` - Define GATT service at run-time
* :github:`20695` - nRF5340: misc fixes for nRF53 porting
* :github:`20692` - samples: CAN: kconfig: CONFIG\_CAN\_AUTO\_BOFF\_RECOVERY does not exist
* :github:`20681` - samples: sensor: lps22hb: Reference to undefined CONFIG\_LPS22HB\_TRIGGER symbol
* :github:`20666` - Unexpected UART Kconfig warnings during build
* :github:`20660` - Bluetooth: host: bt\_conn\_create\_le sometimes fails to stop pre-scan before connecting
* :github:`20658` - The misc-flasher runner is not usable
* :github:`20651` - Bluetooth: disable and restart BT functionality
* :github:`20639` - x\_nucleo\_iks01a3 sample is not working anymore after #20560 has been merged
* :github:`20621` - Invalid baudrate on stm32 usart
* :github:`20620` - Advertiser seen alternating between RPA an ID address with privacy enabled
* :github:`20613` - HCI reset command complete before LL reset done
* :github:`20603` - tests/kernel/critical failed on sam\_e70\_xplained board in v.1.14-branch
* :github:`20598` - tests/lib/mem\_alloc newlibnano target run time error
* :github:`20587` - undefined reference when enabling CONFIG\_STACK\_CANARIES
* :github:`20582` - samples/subsys/logging/syst is broken when building with gcc-arm-none-eabi-7-2018-q2-update
* :github:`20571` - devicetree: fix non-deterministic multi-level interrupt encodings
* :github:`20558` - Build failure for samples/bluetooth/peripheral\_hr/sample.bluetooth.peripheral\_hr\_rv32m1\_vega\_ri5cy on rv32m1\_vega\_ri5cy
* :github:`20545` - imgtool: signing image fails: missing DT\_FLASH\_WRITE\_BLOCK\_SIZE
* :github:`20540` - [Coverity CID :205656]Error handling issues in /tests/net/tcp/src/main.c
* :github:`20539` - [Coverity CID :205637]Resource leaks in /tests/net/socket/tcp/src/main.c
* :github:`20538` - [Coverity CID :205673]Memory - corruptions in /tests/net/ppp/driver/src/main.c
* :github:`20536` - [Coverity CID :205607]Memory - corruptions in /tests/net/ppp/driver/src/main.c
* :github:`20535` - [Coverity CID :205619]Null pointer dereferences in /tests/net/ieee802154/fragment/src/main.c
* :github:`20534` - [Coverity CID :205669]Incorrect expression in /tests/kernel/mem\_protect/stack\_random/src/main.c
* :github:`20533` - [Coverity CID :205667]Error handling issues in /tests/drivers/counter/counter\_basic\_api/src/test\_counter.c
* :github:`20530` - [Coverity CID :205663]Memory - corruptions in /tests/crypto/tinycrypt/src/sha256.c
* :github:`20515` - [Coverity CID :205670]Code maintainability issues in /subsys/settings/src/settings\_nvs.c
* :github:`20514` - [Coverity CID :205633]Memory - illegal accesses in /subsys/settings/src/settings.c
* :github:`20513` - [Coverity CID :205621]Memory - illegal accesses in /subsys/net/lib/websocket/websocket.c
* :github:`20512` - [Coverity CID :143683]Error handling issues in /subsys/fs/fcb/fcb.c
* :github:`20511` - [Coverity CID :205612]Control flow issues in /subsys/disk/disk\_access\_spi\_sdhc.c
* :github:`20510` - [Coverity CID :205660]Incorrect expression in /subsys/debug/tracing/ctf/ctf\_top.c
* :github:`20509` - [Coverity CID :205632]Incorrect expression in /subsys/debug/tracing/ctf/ctf\_top.c
* :github:`20508` - [Coverity CID :205634]Code maintainability issues in /samples/net/sockets/websocket\_client/src/main.c
* :github:`20507` - [Coverity CID :205662]Memory - illegal accesses in /samples/net/sockets/dumb\_http\_server\_mt/src/main.c
* :github:`20506` - [Coverity CID :205672]Null pointer dereferences in /samples/drivers/espi/src/main.c
* :github:`20505` - [Coverity CID :205613]Null pointer dereferences in /samples/drivers/espi/src/main.c
* :github:`20504` - [Coverity CID :205661]Incorrect expression in /drivers/watchdog/wdt\_wwdg\_stm32.c
* :github:`20503` - [Coverity CID :205655]Error handling issues in /drivers/watchdog/wdt\_wwdg\_stm32.c
* :github:`20502` - [Coverity CID :205665]Integer handling issues in /drivers/video/mt9m114.c
* :github:`20501` - [Coverity CID :205643]Integer handling issues in /drivers/video/mt9m114.c
* :github:`20499` - [Coverity CID :205625]Error handling issues in /drivers/sensor/lsm6dso/lsm6dso\_shub.c
* :github:`20498` - [Coverity CID :205628]Error handling issues in /drivers/sensor/amg88xx/amg88xx\_trigger.c
* :github:`20496` - [Coverity CID :205630]Memory - illegal accesses in /drivers/pwm/pwm\_mchp\_xec.c
* :github:`20495` - [Coverity CID :205622]Memory - illegal accesses in /drivers/pwm/pwm\_mchp\_xec.c
* :github:`20494` - [Coverity CID :205617]Memory - corruptions in /drivers/kscan/kscan\_mchp\_xec.c
* :github:`20493` - [Coverity CID :205668]Insecure data handling in /drivers/ethernet/eth\_enc424j600.c
* :github:`20489` - [Coverity CID :205645]Integer handling issues in /drivers/counter/counter\_mchp\_xec.c
* :github:`20488` - [Coverity CID :205614]Integer handling issues in /drivers/clock\_control/nrf\_clock\_calibration.c
* :github:`20487` - [Coverity CID :205648]Memory - corruptions in /arch/arc/core/mpu/arc\_mpu\_v3\_internal.h
* :github:`20480` - i2c driver for cc13xx/cc26xx is configured with incorrect frequency
* :github:`20472` - drivers/flash: nRF flash driver uses absolute addressing instead of relative
* :github:`20450` - Bluetooth: hci\_uart: conn param update request from peripheral ignored
* :github:`20449` - 'west flash' command failed on sam\_e70\_xplained board.
* :github:`20445` - tests/kernel/critical failed on mimxrt1050\_evk board.
* :github:`20444` - sanitycheck error with tests/arch/x86/info.
* :github:`20438` - Kernel timeout API does not document well accepted values
* :github:`20431` - sockets\_tls: missing sendmsg
* :github:`20425` - storage/flash\_map: flash\_area\_get\_sectors can't fetch sectors on devices with non-zero flash base address
* :github:`20423` - drivers/flash: flash\_get\_page\_info\_by\_off uses relative addresses
* :github:`20422` - Device with bonds should not accept new keys without user awareness
* :github:`20417` - BME280 wrong pressure unit?
* :github:`20416` - sample: sensor: fxos8700 issues
* :github:`20406` - misc.app\_dev.libcxx test fails to build for qemu\_x86\_64
* :github:`20371` - Sanitycheck filtering broken
* :github:`20351` - sample vl53l0x fails on disco\_l475\_iot1
* :github:`20332` - Nordic: DocLib links are obsolete
* :github:`20325` - samples/drivers/i2c\_scanner does not work on STM32 NUCLEO and DISCOVERY boards
* :github:`20313` - Zperf documentation points to wrong iPerf varsion
* :github:`20310` - SDHC : Could not enable SPI clock on nucleo\_f091rc
* :github:`20299` - bluetooth: host: Connection not being unreferenced when using CCC match callback
* :github:`20297` - Bluetooth: can't close bt\_driver log output
* :github:`20285` - ST lis2dh sample with motion callback
* :github:`20284` - zephyr-env.sh Is this supposed to be unsetopt posixargzero ?
* :github:`20274` - Kconfig new libc changes cause echo server cmake error
* :github:`20260` - logging system call
* :github:`20255` - Meta-IRQs making cooperative threads preemptive
* :github:`20250` - hci\_usb: scanning crashes controller if a lot of devices are nearby
* :github:`20246` - Module Request: hal\_unisoc
* :github:`20245` - HTTP parser error with chunked transfer encoding
* :github:`20244` - mesh: demo: BT fails it init
* :github:`20232` - Bluetooth: Kernel panic on gatt discover in shell app
* :github:`20225` - [TOPIC-GPIO] sam\_e70\_xplained fails 2-pin active-low pull test
* :github:`20224` - [TOPIC-GPIO] rv32m1\_vega\_ri5cy fails 2-pin double-edge detection test
* :github:`20223` - [TOPIC-GPIO] efr32mg\_sltb004a fails 2-pin double-edge detection test
* :github:`20205` - ztest testing.ztest does not have a prj.conf with CONFIG\_ZTEST=y
* :github:`20202` - tests/arch/arm/arm\_interrupt failed on sam\_e70\_xplained board.
* :github:`20177` - sanitycheck error with tests/benchmarks/timing\_info.
* :github:`20176` - tests/drivers/pwm/pwm\_api failed on reel\_board.
* :github:`20167` - posix clock: unexpected value for CLOCK\_REALTIME when used with newlib
* :github:`20163` - doc: storage settings not clear
* :github:`20135` - Bluetooth: controller: split: Missing initialization of master terminate\_ack flag
* :github:`20122` - Deadlock in ASAN leak detection on exit
* :github:`20110` - Crash in hci\_driver.c when create\_connection\_cancel is issued after create connection
* :github:`20109` - altera\_nios2 support decision required
* :github:`20105` - tests/subsys/fs/fcb/ Using uninitialised memory/variables
* :github:`20104` - Kconfig is too slow
* :github:`20100` - Slave PTP clock time is updated with large value when Master PTP Clock time has changed
* :github:`20088` - tests/net/icmpv6/ failed on mimxrt1050\_evk board.
* :github:`20086` - Broken-looking duplicated ESPI\_XEC symbol
* :github:`20072` - Incompatible pointer types in Nordic Driver nrfx\_usbd.h
* :github:`20071` - Incompatible pointer types in Nordic Driver
* :github:`20049` - Build warnings in several unit tests
* :github:`20045` - z\_sched\_abort: sched\_spinlock should be released before k\_busy\_wait
* :github:`20042` - Telnet can connect only once
* :github:`20033` - Thread suspend only works if followed by k\_sleep in thread that is performing the suspension
* :github:`20032` - Make it clear in HTML docs what monospaced text is a link
* :github:`20030` - stm32 can: zcan\_frame from fifo uninitialized
* :github:`20022` - sanitycheck is not failing on build warnings
* :github:`20021` - Add a module to Zephyr to include TF-M project and it's related repos
* :github:`20016` - STM32F4: cannot erase sectors from bank2
* :github:`20010` - Cannot flash mimxrt1050\_evk board
* :github:`20007` - tests/net/mld failed on mimxrt1050\_evk board.
* :github:`20000` - Invalid callback parameters in drivers/serial/uart\_nrfx\_uarte.c (using async API)
* :github:`19969` - [TOPIC-GPIO] mcux driver problems with pull configuration
* :github:`19963` - settings test tests/subsys/settings/fcb/raw failing
* :github:`19918` - Incremental builds broken for OpenAMP sample
* :github:`19917` - Bluetooth: Controller: Missing LL\_ENC\_RSP after HCI LTK Negative Reply
* :github:`19915` - tests/net/icmpv6 failed on sam\_e70 board.
* :github:`19914` - tests/net/shell failed on sam\_e70 board.
* :github:`19910` - Bluetooth: Mesh: Thread stack can reduce by use malloc&free function
* :github:`19898` - CONFIG\_NET\_ROUTE\_MCAST and CONFIG\_NET\_ROUTING can't be enabled
* :github:`19889` - Buffer leak in GATT for Write Without Response and Notifications
* :github:`19885` - SMP doesn't work on ARC any longer
* :github:`19877` - Broken partition size
* :github:`19872` - sensor/lis2dh: using runtime scale other than 2g generates strange values
* :github:`19871` - display/ssd1306: allow "reverse display" in kconfig or dts
* :github:`19867` - modem: ublox-sara-r4/u2 build error
* :github:`19848` - stm32wb MPU failure
* :github:`19841` - MIPI Sys-T logging/tracing support
* :github:`19837` - SS register is 0 when taking exceptions on qemu\_x86\_long
* :github:`19833` - missing or empty reg/ranges property when trying to build blink\_led example
* :github:`19820` - Bluetooth: Host: Unable to use whitelist in peripheral only build
* :github:`19818` - Compiler error for counter example (nRF52\_pca10040)
* :github:`19811` - native\_posix stack smashing
* :github:`19802` - Zephyr was unable to find the toolchain after update to zephyr version 1.13.0
* :github:`19795` - bt\_gatt\_attr\_next returns first attribute in table for attributes with static storage.
* :github:`19791` - How to use CMSIS DSP Library on nRF52832 running zephyr LTS Version(V1.14) ?
* :github:`19783` - floating point in C++ on x86\_64 uses SSE
* :github:`19775` - net\_calc\_chksum: Use of un-initialized memory on 64 bit targets
* :github:`19769` - CONFIG\_FLASH\_SIZE should be CONFIG\_FLASH\_END and specified in hex
* :github:`19767` - Bluetooth: Mesh: Provision Random buffer has too small size
* :github:`19762` - tests/net/lib/tls\_credentials failed on sam\_e70\_xplained board.
* :github:`19759` - z\_arch\_switch() passed pointer to NULL outgoing switch handle on dummy thread context switch
* :github:`19748` - k\_sleep(K\_FOREVER) behavior unexpected
* :github:`19734` - "make gdbserver" doesn't work properly for qemu\_x86\_long
* :github:`19724` - Bluetooth: Mesh: Receiving an access message
* :github:`19722` - Settings: settings\_file\_save\_priv() use of uninitialized variable
* :github:`19721` - samples/bluetooth/ipsp does not respond to pings from Linux
* :github:`19717` - Add provisions for supporting multiple CMSIS variants
* :github:`19701` - mem\_pool\_threadsafe sporadic failures impacting CI
* :github:`19700` - nrfx\_uart RX hang on errors
* :github:`19697` - tests/subsys/fs/fat\_fs\_api uses unitialized variables
* :github:`19692` - [TOPIC-GPIO] gpi\_api\_1pin test failures
* :github:`19685` - Samples: BluetoothMesh: not able to connect with device over GATT to provision it
* :github:`19683` - nrf: clock reimplementation breaks test
* :github:`19678` - Noticeable delay between processing multiple client connection requests (200ms+)
* :github:`19660` - missing file reference in samples/sensor/ti\_hdc doc
* :github:`19649` - [TOPIC-GPIO]: Replace GPIO\_INT\_DEBOUNCE with GPIO\_DEBOUNCE
* :github:`19638` - Bluetooth: Mesh: Provisioning Over PB-ADV
* :github:`19629` - tinycbor buffer overflow causing mcumgr image upload failure
* :github:`19612` - ICMPv6 packet is routed to wrong interface when peer is not found in neighbor cache
* :github:`19604` - Bluetooth: ATT does not release all buffers on disconnect
* :github:`19603` - addition to winbond,w25q16.yaml required for SPI CS to be controlled by driver
* :github:`19599` - ARC builds missing z\_arch\_start\_cpu() when !SMP
* :github:`19592` - Request new repository to host the Eclipse plugin for building Zephyr applications
* :github:`19569` - nRF RTC Counter with compile time decision about support of custom top value
* :github:`19560` - Console on CDC USB crashes when CONFIG\_USB\_COMPOSITE\_DEVICE=y
* :github:`19552` - [TOPIC-GPIO]: Support for legacy interrupt configuration breaks new API contract
* :github:`19550` - drivers/pcie: \`pcie\_get\_mbar()\` should return a \`void \*\` not \`u32\_t\`
* :github:`19549` - kernel/mem\_protection/stackprot fails on NXP RT series platforms on v1.14.1-rc3 release
* :github:`19544` - make usb power settings in "Configuration Descriptor" setable
* :github:`19543` - net: tcp: echo server stops if CONFIG\_POSIX\_MAX\_FDS is not set
* :github:`19539` - Support MQTT over Websocket
* :github:`19537` - debug:object\_tracing: The trace list is not complete once we initialize the object on the trace list
* :github:`19536` - devicetree bindings path misinterpreted
* :github:`19535` - Doubly freed memory in the pipe\_api test
* :github:`19525` - Can't change the slave latency on a connection.
* :github:`19515` - Bluetooth: Controller: assertion failed
* :github:`19509` - Bluetooth: stm32wb55: Unable to pair with privacy-enabled peer
* :github:`19490` - Bluetooth: split: 'e' assert during disconnect
* :github:`19484` - Bluetooth: split: bt\_set\_name() asserts due to flash and radio coex
* :github:`19472` - drivers: usb\_dc\_stm32: shows after some time errors and warnings
* :github:`19459` - Bluetooth: Mesh: Mesh Model State Binding.
* :github:`19456` - arch/x86: make use of z\_bss\_zero() and z\_data\_copy()
* :github:`19452` - Bluetooth: Mesh: Mesh model implementation?
* :github:`19447` - SEGGER\_RTT.h: No such file or directory
* :github:`19438` - boot flags incorrect after image swapping
* :github:`19437` - tests/kernel/sched/schedule\_api tests fail to build
* :github:`19432` - nrfx: nrf52840\_pca10056 SPIM1 cannot be selected without SPIM3
* :github:`19420` - power: system power management sleep duration
* :github:`19419` - Build automation and testing tools
* :github:`19415` - typo in nucleo\_l496zg.dts
* :github:`19413` - Not able to scan and connect to other ble devices with HCI commands
* :github:`19398` - net: ENC28J60 driver does not respond to ping
* :github:`19385` - compilation error
* :github:`19381` - \`k\_yield()\` exhibits different behavior with \`CONFIG\_SMP\`
* :github:`19376` - Build on a ARM host
* :github:`19374` - net: echo server: TCP add support for multiple connections
* :github:`19370` - bugs in kernel/atomic\_c
* :github:`19367` - net: TCP/IPv4: TCP stops working after dropping segment with incorrect checksum
* :github:`19363` - arc: bug in \_firq\_enter
* :github:`19353` - arch/x86: QEMU doesn't appear to support x2APIC
* :github:`19347` - Bluetooth: BL654 USB dongle not found after flashing
* :github:`19342` - Bluetooth: Mesh: Persistent storage of Virtual Addresses
* :github:`19320` - build error using logger in test case
* :github:`19319` - tests/kernel/spinlock only runs on ESP32
* :github:`19317` - need a minimal log implementation that maps to printk()
* :github:`19307` - \_interrupt\_stack is defined in the kernel, but declared in arch headers
* :github:`19299` - kernel/spinlock: A SMP race condition in SPIN\_VALIDATE
* :github:`19284` - Service Changed indication not being sent in some cases
* :github:`19270` - GPIO: STM32: Migration to new API
* :github:`19267` - Service changed not notified upon reconnection.
* :github:`19265` - Bluetooth: Mesh: Friend Send model message to LPN
* :github:`19263` - Bluetooth: Mesh: Friend Clear Procedure Timeout
* :github:`19250` - NVS: Overwriting an item with a shorter matching item fails
* :github:`19239` - tests/kernel/common failed on iotdk board.
* :github:`19238` - tests/subsys/usb/device failed on reel\_board.
* :github:`19235` - move drivers/timer/apic\_timer.c to devicetree
* :github:`19231` - native\_posix\_64/tests/subsys/fs/fat\_fs\_api/filesystem.fat fails
* :github:`19227` - IOTDK uses QMSI DT binding
* :github:`19226` - Device Tree Enhancements in 2.1
* :github:`19219` - drivers/i2c/i2c\_dw.c is not 64-bit clean
* :github:`19216` - Ext library for WIN1500: different values of AF\_INET
* :github:`19198` - Bluetooth: LL split assert on connect
* :github:`19191` - problem with implementation of sock\_set\_flag
* :github:`19186` - BLE: Mesh: IVI Initiator When ivi in progress timeout
* :github:`19181` - sock\_set\_flag implementation in sock\_internal.h does not work for 64 bit pointers
* :github:`19178` - Segmentation fault when running echo server
* :github:`19177` - re-valuate commit 0951ce2
* :github:`19176` - NET: LLMNR: zephyr drops IPV4 LLMNR packets
* :github:`19167` - Message queues bug when using C++
* :github:`19165` - zephyr\_file generates bad links on branches
* :github:`19164` - compiling native\_posix64 with unistd.h & net/net\_ip.h fail
* :github:`19144` - arch/x86: CONFIG\_BOOT\_TIME\_MEASUREMENT broken
* :github:`19135` - net: ipv4: udp: echo server sends malformed data bytes in reply to broadcast packet
* :github:`19133` - Scheduler change in #17369 introduces crashes
* :github:`19103` - zsock\_accept\_ctx blocks even when O\_NONBLOCK is specified
* :github:`19098` - Failed to flash on ESP32
* :github:`19096` - No error thrown for device tree node with missing required property of type compound
* :github:`19079` - Enable shield sample on stm32mp157c\_dk2
* :github:`19078` - search for board specific shield overlays doesn't always work
* :github:`19066` - Build error with qemu\_x86\_64
* :github:`19065` - Build error with stm32h747i\_disco\_m4
* :github:`19064` - Correct docs for K\_THREAD\_DEFINE
* :github:`19059` - i2c\_ll\_stm32\_v2: nack on write is not handled correctly
* :github:`19051` - [Zephyr v2.0.0 nrf52840] Unable to reconnect to recently bonded peripheral
* :github:`19039` - Bluetooth: Qualification test case GATT/SR/UNS/BI-02-C fails
* :github:`19038` - [zephyr branch 1.14 and master -stm32-netusb]:errors when i view RNDIS Devices properties on Windows 10
* :github:`19034` - sanitycheck fail with ninja option with single-core machine
* :github:`19031` - nrfx\_clock.c functions are not available with CONFIG\_NRFX\_CLOCK
* :github:`19015` - Bluetooth: Mesh: Node doesn't respond to "All Proxies" address
* :github:`19013` - [Zephyr 1.14]: NetUsb and Ethernet work together
* :github:`19004` - problems in sanitycheck/CI infrastructure revealed by post-release change
* :github:`18999` - assignment in assert in test of arm\_thread\_arch causes build failures
* :github:`18990` - C++ New allocates memory from kernel heap
* :github:`18988` - BLE Central auto enables indications and notifies
* :github:`18986` - DTS: transition from alias to node label as the standard prefix
* :github:`18973` - z\_arch\_system\_halt() does not block interrupts
* :github:`18961` - [Coverity CID :203912]Error handling issues in /samples/net/sockets/coap\_client/src/coap-client.c
* :github:`18957` - NET\_L2: modem drivers (offloaded) aren't assigned a net\_l2 which causes a crash in net\_if\_up()/net\_if\_down()
* :github:`18956` - memory protection for x86 dependent on XIP
* :github:`18935` - [Zephyr 1.14] drivers: flash: spi\_nor: Problematic write with page boundaries
* :github:`18880` - boards: mec15xxevb\_assy6853: consider moving ARCH\_HAS\_CUSTOM\_BUSY\_WAIT to SoC definition
* :github:`18873` - zsock\_socket() should support proto==0
* :github:`18870` - zsock\_getaddrinfo() returns garbage values if IPv4 address is passed and hints->ai\_family == AF\_INET6
* :github:`18858` - Runner support for stm32flash utility
* :github:`18832` - Doc: contact-us page should use slack invite (not zephyrproject.slack.com)
* :github:`18824` - tests/subsys/usb/device/ failed on sam\_e70 board.
* :github:`18816` - ssd1306 driver can't work with lvgl
* :github:`18807` - Support the Ubuntu Cross Toolchain
* :github:`18803` - LTS - support time
* :github:`18787` - arch/x86: retire loapic\_timer.c driver in favor of new apic\_timer.c
* :github:`18749` - Avenger96 regressed in mainline for U-Boot M4 boot
* :github:`18695` - Watchdog: stm32: Wrong timeout value when watchdog started at boot
* :github:`18657` - drivers/timer/hpet.c should use devicetree, not CONFIG\_\* for MMIO/IRQ data
* :github:`18652` - Optimization flags from CMAKE\_BUILD\_TYPE are not taken into account
* :github:`18592` - (nRF51) The RSSI signal does not rise above -44 dBm
* :github:`18591` - tests/kernel/fifo/fifo\_timeout/kernel.fifo.timeout.poll fails to run on multiple ARM platforms
* :github:`18585` - STM32G4 support
* :github:`18583` - hci\_usb: NRF52840 connecting addtional peripheral fails
* :github:`18540` - MEC1501 ADC is missing in HAL
* :github:`18539` - MEC1501 PWM is missing in HAL
* :github:`18488` - Bluetooth: Mesh: Friend queue message seqnum order
* :github:`18480` - Microchip's MEC1501 HAL is broken (watchdog part)
* :github:`18465` - timeutil\_timegm() has undefined behavior
* :github:`18451` - [Coverity CID :203528]Integer handling issues in /tests/lib/fdtable/src/main.c
* :github:`18449` - [Coverity CID :203458]Integer handling issues in /tests/lib/fdtable/src/main.c
* :github:`18450` - [Coverity CID :203505]Integer handling issues in /tests/lib/fdtable/src/main.c
* :github:`18448` - [Coverity CID :203429]Integer handling issues in /tests/lib/fdtable/src/main.c
* :github:`18440` - [Coverity CID :203439]Memory - corruptions in /tests/kernel/mem\_protect/protection/src/main.c
* :github:`18441` - [Coverity CID :203460]Memory - corruptions in /tests/kernel/mem\_protect/protection/src/main.c
* :github:`18373` - [Coverity CID :203399]API usage errors in /samples/boards/olimex\_stm32\_e407/ccm/src/main.c
* :github:`18341` - settings: test setting FS back-end using littlefs
* :github:`18340` - settings: make NVS the default backend
* :github:`18308` - net: TCP/IPv6 set of fragmented packets causes Zephyr to quit
* :github:`18305` - Native Posix target can not use features with newlib dependencies
* :github:`18297` - Bluetooth: SMP: Pairing issues
* :github:`18282` - tests/kernel/sched/schedule\_api/ fails on LPC54114\_m4
* :github:`18160` - Cleanup dts compatible for "nxp,kinetis-sim" on nxp\_ke1xf
* :github:`18143` - stm32f SPI Slave TX does not work correctly, but occurs OVERRUN err
* :github:`18138` - xtensa arch has two different implementations
* :github:`18105` - BSD socket offload with IPv4 and IPv6 disabled breaks many client-based net samples
* :github:`18031` - samples/shields/x\_nucleo\_iks01a3 test is stucking due to dca45cb commit
* :github:`17998` - STM32 (Nucleo L476RG) SPI pins floating
* :github:`17983` - Bluetooth: Re-establish security before notifications/indications can be sent
* :github:`17949` - stm32 i2c driver has problems with AHB\_PRESCALER, APB1\_PRESCALER, APB2\_PRESCALER
* :github:`17892` - arch/x86: clean up segmentation.h
* :github:`17888` - arch/x86: remove IAMCU ABI support
* :github:`17832` - x86: update mmustructs.h and x86\_mmu.c to support long mode
* :github:`17829` - support default property values in devicetree bindings
* :github:`17805` - [Zepyhr v1.14.0 and master] Unable to run commands of mcumgr tool over UART like reset
* :github:`17781` - Question:Is it possible to connect the device on internet using bluetooth connection?
* :github:`17645` - VSCode debugging Zephyr application
* :github:`17626` - Change sanitycheck to use 'gcovr' instead of 'lcov'
* :github:`17625` - driver: gpio: PCAL9535A: can't write to register (read is possible)
* :github:`17548` - Can't set thread name with k\_thread\_create prevents useful tracing information
* :github:`17546` - Bluetooth: Central Scan fails continuously if last connect attempt failed to complete
* :github:`17454` - Bluetooth: Mesh: Add provisioner support
* :github:`17443` - Kconfig: move arch-specific stack sizes to arch trees?
* :github:`17430` - arch/x86: drivers/interrupt\_controller/system\_apic.c improperly classifies IRQs
* :github:`17361` - \_THREAD\_QUEUED overlaps with x86 \_EXC\_ACTIVE in k\_thread.thread\_state
* :github:`17337` - ArmV7-M mpu sub region alignment
* :github:`17239` - Too many open files crash when running "sanitycheck" with no arguments
* :github:`17234` - CONFIG\_KERNEL\_ENTRY appears to be superfluous
* :github:`17133` - arch/x86: x2APIC EOI should be inline
* :github:`17104` - arch/x86: fix -march flag for Apollo Lake
* :github:`17064` - drivers/serial/uart\_ns16550: CMD\_SET\_DLF should be removed
* :github:`17004` - arch/x86: build errors with newest build-grub.sh scripts
* :github:`16900` - Inline assembly in Arm z\_arch\_switch\_to\_main\_thread missing clobber list
* :github:`16880` - Systematic \*-zephyr-eabi/bin/ld: warning: toolchain\_is\_ok cannot find entry symbol \_start; defaulting to 000::00XXXXX
* :github:`16791` - build system does not see changes in DTS dependencies
* :github:`16723` - nrfx: uart: power management does not include CTS/RTS pins
* :github:`16721` - PCIe build warnings from devicetree
* :github:`16673` - usb\_dc\_stm32: If i remove the cable while writing, the program will freeze.
* :github:`16599` - drivers: usb\_dc\_nrfx: unstable handling of hosts suspend/resume
* :github:`16529` - LTS 1.14.0: sanitycheck: Cannot identify OOT boards and shields
* :github:`16452` - drivers: ethernet: stm32, sam, mcux: LAA bit not set
* :github:`16421` - drivers: rtc: stm32: correct tm\_mon conversion
* :github:`16376` - posix ext: Implement eventfd()
* :github:`16320` - The routing option CONFIG\_NET\_ROUTING needs clarification
* :github:`16223` - stm32: Unable to send 64 byte packet over control endpoint
* :github:`16167` - Implement interrupt driven GPIO on LPC families
* :github:`16097` - STM32 Ethernet driver should be able to detect the carrier state
* :github:`16041` - stm32f407 flash erase error sometimes
* :github:`16035` - facing problem with SDHC driver disk mount, need help to debug better
* :github:`16032` - Socket UDP: Low transmission efficiency
* :github:`16031` - Toolchain abstraction
* :github:`15912` - add Reject as an option to pull request reviews
* :github:`15881` - tests/net/buf fails on qemu\_x86\_64
* :github:`15841` - Support AT86RF233
* :github:`15604` - Suspicious PCI and build\_on\_all default test coverage
* :github:`15603` - Unable to use C++ Standard Library
* :github:`15598` - Standard devicetree connectors for boards
* :github:`15494` - 2.0 Release Checklist
* :github:`15359` - The docs incorrectly state that common.dts integrates with mcuboot
* :github:`15323` - blink\_led sample does not work on most of the nRF boards
* :github:`15196` - logging: Support for blocking deferred logging
* :github:`15027` - doc: PDF generation broken
* :github:`14906` - USB: NXP Device controller does not pass testusb tests
* :github:`14683` - need end-to-end memory protection samples
* :github:`13725` - drivers: ssd1306: When 128x32 is used, only half of the screen is output.
* :github:`13708` - No Arduino interface definition for Nordic dev. kits
* :github:`13417` - tests/drivers/watchdog/wdt\_basic\_api/testcase.yaml: test\_wdt\_no\_callback() failed at "Waiting to restart MCU"
* :github:`13000` - sanitycheck serializes running tests on ARC simulator
* :github:`12969` - settings: loading key-value pairs for given subtree
* :github:`12965` - POSIX subsys: Need more fine-grained enable options
* :github:`12961` - ARM Memory Protection functions not invoked in SWAP for ARMv6/ARMv8-M Baseline
* :github:`12703` - how to configure interrupt signals on shields via device tree?
* :github:`12677` - USB: There are some limitations for users to process descriptors
* :github:`12653` - Sanitycheck should not write results into scripts/sanity\_chk
* :github:`12535` - Bluetooth: suspend private address (RPA) rotating
* :github:`12509` - Fix rounding in \_ms\_to\_ticks()
* :github:`12504` - STM32: add USB\_OTG\_HS example
* :github:`12206` - OpenThread apps want to download and build OpenThread every time!
* :github:`12114` - assertion using nRF5 power clock with BLE and nRF5 temp sensor
* :github:`11743` - logging: add user mode access
* :github:`11717` - qemu\_x86 's SeaBIOS clears the screen every time it runs
* :github:`11655` - Alleged multiple design and implementation issues with logging
* :github:`11501` - RFC: Improve CI and add more status items
* :github:`10748` - Work waiting on pollable objects
* :github:`10701` - API: Prefix (aio\_) conflict between POSIX AsyncIO and Designware AnalogIO Comparator
* :github:`10503` - User defined USB function & usb\_get\_device\_descriptor()
* :github:`10338` - Add PyLint checking of all python scripts in CI
* :github:`10256` - Add support for shield x-nucleo-idb05a1
* :github:`9482` - Enable mpu on lpc54114
* :github:`9249` - Get non ST, STM32 Based boards compliant with default configuration guidelines
* :github:`9248` - Get Olimex boards compliant with default configuration guidelines
* :github:`9245` - Get TI SoC based boards compliant with default configuration guidelines
* :github:`9244` - Get SILABS board compliant with default configuration guidelines
* :github:`9243` - Get NXP SoC based boards compliant with default configuration guidelines
* :github:`9241` - Get ATMEL SoC based boards compliant with default configuration guidelines
* :github:`9240` - Get ARM boards compliant with default configuration guidelines
* :github:`9239` - Get NIOS boards compliant with default configuration guidelines
* :github:`9237` - Get RISCV boards compliant with default configuration guidelines
* :github:`9236` - Get X86 boards compliant with default configuration guidelines
* :github:`9235` - Get XTENSA boards compliant with default configuration guidelines
* :github:`9193` - STM32: Move DMA driver to LL/HAL and get it STM32 generic
* :github:`8758` - All nRF drivers: migrate configuration from Kconfig to DTS
* :github:`7909` - tests/kernel/common.test\_bitfield fails on max10
* :github:`7375` - Codecov does not report coverage of code that is not covered by the native\_posix test suite
* :github:`7213` - DTS should use (one or more) prefixes on all defines
* :github:`6991` - Enhance test reporting and maintain one source for testcase meta data
* :github:`6858` - Default board configuration guidelines
* :github:`6446` - sockets: Accept on non-blocking socket is currently blocking
* :github:`6152` - Inter-applications flash layout exchange mechanism
* :github:`5138` - dts: boards: provide generic dtsi file for 'generic' boards
* :github:`4028` - C++ 11 Support
* :github:`3981` - ESP32 uart driver does not support Interrupt/fifo mode
* :github:`3877` - Use mbedtls from Zephyr instead of openthread
* :github:`652` - Provide a mean to find tests with 0 platforms due to bad filtering
* :github:`3497` - refactor \_NanoFatalErrorHandler
* :github:`3181` - scalable solution for test case stack sizes
* :github:`3124` - Atmel SAM RTC driver
* :github:`3056` - arch-specific inline functions cannot manipulate \_kernel
* :github:`2686` - Add qemu\_cortex\_m0/m0+ board.
* :github:`2490` - Provide sanity test cases for NANO\_ESF/NANO\_ISF structures
* :github:`2144` - clearly document internal kernel interfaces
``` | /content/code_sandbox/doc/releases/release-notes-2.1.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 14,527 |
```restructuredtext
:orphan:
.. _zephyr_3.6:
Zephyr 3.6.0
############
We are pleased to announce the release of Zephyr version 3.6.0.
Major enhancements with this release include:
* New :ref:`GNSS subsystem <gnss_api>` added, enabling geo-awareness in Zephyr applications.
* New API and drivers introduced for interfacing with :ref:`keyboard matrices <gpio-kbd>`.
* New socket and CoAP service libraries streamlining the implementation of socket and CoAP servers
respectively, while also optimizing the use of resources.
* Integrated Trusted Firmware-M (TF-M) 2.0, including an update to Mbed TLS 3.5.2.
* Improved LLEXT tooling, simplifying module creation in the Zephyr build system.
* Userspace support extended to Xtensa architecture.
* Build system now supports Link Time Optimization (LTO), reducing the size of the final image.
* Bluetooth Mesh protocol 1.1 now supported by default.
* Major updates to the documentation of the :ref:`native simulator <native_sim>`, clarifying
supported peripherals and how to use them.
* Over 30 new supported boards, spanning all Zephyr-supported architectures.
An overview of the changes required or recommended when migrating your application from Zephyr
v3.5.0 to Zephyr v3.6.0 can be found in the separate :ref:`migration guide<migration_3.6>`.
The following sections provide detailed lists of changes by component.
Security Vulnerability Related
******************************
The following CVEs are addressed by this release:
More detailed information can be found in:
path_to_url
* CVE-2023-5779 `Zephyr project bug tracker GHSA-7cmj-963q-jj47
<path_to_url`_
* CVE-2023-6249 `Zephyr project bug tracker GHSA-32f5-3p9h-2rqc
<path_to_url`_
* CVE-2023-6749 `Zephyr project bug tracker GHSA-757h-rw37-66hw
<path_to_url`_
* CVE-2023-6881 `Zephyr project bug tracker GHSA-mh67-4h3q-p437
<path_to_url`_
* CVE-2023-7060: Under embargo until 2024-03-14
* CVE-2024-1638 `Zephyr project bug tracker GHSA-p6f3-f63q-5mc2
<path_to_url`_
Architectures
*************
* ARC
* Enabled hardware prefetcher and shared cluster cache (SCM - Shared Cluster
Memory) for ARCv3 processors (HS5x & HS6x).
* Disabled Thread-local Storage support for platforms with two or more register banks.
* Fixed unstable work of application built with MetaWare toolchain for hardware
platforms (garbage in .device_states section).
* ARM
* MPU regions are now always cleared before initialization.
* Standardized on :c:func:`arch_secondary_cpu_init` to provide consistency
across all architectures.
* Renamed :c:func:`z_arm_prep_c` as :c:func:`z_prep_c` to provide
consistency across all architectures.
* Renamed the exception header to be consistent across all architectures.
* GDB stubs added (currently only supports Zynq-7000).
* Added support for custom interrupt controllers using
:kconfig:option:`CONFIG_ARM_CUSTOM_INTERRUPT_CONTROLLER`.
* MMU and MPU initialization moved to :c:func:`z_prep_c` for Cortex-A and
Cortex-R to enable initialization by individual cores.
* Common Cortex-M MPU code moved to ``arch/arm/core/mpu``.
* Xtensa
* Removed the unused Kconfig option ``CONFIG_XTENSA_NO_IPC``.
* Added userspace support via MMU.
Bluetooth
*********
* Audio
* Changed ``bt_bap_scan_delegator_subgroup`` to :c:struct:`bt_bap_bass_subgroup` and
made it independent of :kconfig:option:`CONFIG_BT_BAP_SCAN_DELEGATOR`.
* Modified :c:func:`bt_bap_stream_send` to no longer take a timestamp as parameter,
and added :c:func:`bt_bap_stream_send_ts` that does.
* Modified :c:func:`bt_cap_stream_send` to no longer take a timestamp as parameter,
and added :c:func:`bt_cap_stream_send_ts` that does.
* Assigned number values have been moved from :file:`include/zephyr/bluetooth/audio/lc3.h` to
:file:`include/zephyr/bluetooth/audio/audio.h` and the ``LC3`` infix have been removed.
* The CAP initiator APIs have been streamlined and follow the same parameter pattern.
* Added Kconfig options to make MCC functionality optional to reduce memory usage for simple
clients.
* Added CAP Commander change volume and change volume offset.
* Added proper support for doing decoding in the application instead of in the controller by
modifying how the ISO data path is configured.
* Added :c:func:`bt_csip_set_member_unregister` to unregister a CSIS instance.
* Added helper functions to get and set assigned number values in codec configuration and
codec capabilities.
* Added support for the new mono audio location.
* Added ISO state callbacks for streams so the user knows the state of the CIS.
* Added :c:func:`bt_pacs_set_available_contexts_for_conn` to set available context per connection.
* Refactored the :c:struct:`bt_bap_base` to be an abstract struct with new helper functions,
so that Zephyr supports all BASEs regardless of the size.
* Host
* Added ``recycled()`` callback to :c:struct:`bt_conn_cb`, which notifies listeners when a
connection object has been freed, so it can be utilized for different purposes. No guarantees
are made to what listener will be granted the object, as only the first claim is served.
* Modified :c:func:`bt_iso_chan_send` to no longer take a timestamp as parameter,
and added :c:func:`bt_iso_chan_send_ts` that does.
* Mesh
* Added the delayable messages functionality to apply random delays for
the transmitted responses on the Access layer.
The functionality is enabled by the :kconfig:option:`CONFIG_BT_MESH_ACCESS_DELAYABLE_MSG`
Kconfig option.
* The Bluetooth Mesh protocol 1.1 is now supported by default.
* Controller
* Added deinit implementation for ESP32 controller.
* HCI Driver
* Split ST HCI SPI Bluetooth driver from the Zephyr one to provide more features
based on ST SPI protocols V1 and V2. As a result, :dtcompatible:`st,hci-spi-v1` and
:dtcompatible:`st,hci-spi-v2` were introduced.
Boards & SoC Support
********************
* Added support for these SoC series:
* Added support for Renesas R-Car Gen4 series.
* Added support for STM32F303xB SoC variants.
* Added support for STM32H7B0xx SoC variants.
* Added support for STM32L010xx SoC variants.
* Added support for STM32L081xx SoC variants.
* Added support for STM32U5A9xx SoC variants.
* Added support for NXP S32K1 devices.
* Added support for NXP IMX8ULP SoC.
* Added support for NXP MIMXRT595 DSP core.
* Made these changes in other SoC series:
* Nordic SoCs now imply :kconfig:option:`CONFIG_XIP` instead of selecting it. This allows for
creating RAM-based applications by disabling it.
* BLE is now supported on STM32WBA series.
* xtensa: imx8: Split the generic i.MX8 SoC into i.MX8QXP and i.MX8QM.
* LPC55xxx: Fixed the system hardware clock cycle rate.
* Added support for these ARM boards:
* Added support for Adafruit QTPy RP2040 board: ``adafruit_qt_py_rp2040``.
* Added support for FANKE FK7B0M1-VBT6 board: ``fk7b0m1_vbt6``.
* Added support for Renesas R-Car Spider board CR52: ``rcar_spider_cr52``.
* Added support for ST Nucleo F722ZE board: ``nucleo_f722ze``.
* Added support for ST STM32H750B Discovery Kit: ``stm32h750b_dk``.
* Added support for ST STM32L4R9I Discovery board: ``stm32l4r9i_disco``.
* Added support for ST STM32U5A9J-DK discovery kit: ``stm32u5a9j_dk``.
* Added support for ST Nucleo WBA55CG board: ``nucleo_wba55cg``.
* Added support for ST STM32WB5MM-DK Discovery board: ``stm32wb5mm_dk``.
* Added support for Wiznet W5500 Evaluation Pico board: ``w5500_evb_pico``.
* Added support for ADI boards: ``adi_sdp_k1``, ``adi_eval_adin1110ebz``,
``adi_eval_adin2111ebz``.
* Added support for NXP UCANS32K1SIC board: ``ucans32k1sic``.
* Added support for this RISC-V board:
* Added Lilygo TTGO T8-C3 board: ``ttgo_t8c3``.
* Added support for these Xtensa boards:
* Added support for NXP iMX8ULP board: ``nxp_adsp_imx8ulp``.
* Added Heltec Wireless Stick Lite (V3) board: ``heltec_wireless_stick_lite_v3``.
* Added KINCONY-KC868-A32 board: ``kincony_kc868_a32``.
* Added Lolin ESP32-S2 Mini board: ``esp32s2_lolin_mini``.
* Added Lilygo TTGO LoRa32 board: ``ttgo_lora32``.
* Added M5Stack AtomS3 board: ``m5stack_atoms3``.
* Added M5Stack AtomS3-Lite board: ``m5stack_atoms3_lite``.
* Added M5Stack StampS3 board: ``m5stack_stamps3``.
* Made these changes for ARM boards:
* Added support for low power on G1120B0MIPI using RT595.
* Added support for lpspi, lpi2c on NXP board: ``mimx93_evk_a55``.
* Fixed partition naming on ``lpcxpresso55s69`` to use the standard slot
naming used by TFM-enabled Zephyr platforms.
* Enabled support for linkserver debugger on ``frdm_kl25z``, ``mimxrt1015_evk``,
``mimxrt1020_evk``, ``mimxrt1050_evk``, ``mimxrt685_evk``, ``frdm_k64f``.
* Switched MCUBoot FW Update mode on NXP boards from Swap & Scratch to Swap & Move.
* Made these changes for RISC-V boards:
* Enabled ADC support on ``longan_nano``.
* Made these changes for native/POSIX boards:
* The :ref:`simulated nrf5340 targets<nrf5340bsim>` now include the IPC and MUTEX peripherals,
and support OpenAMP to communicate between the cores.
It is now possible to run the BLE controller or 802.15.4 driver in the net core, and application
and BT host in the app core.
* The nrf*_bsim simulated targets now include models of the UART peripheral. It is now possible
to connect a :ref:`nrf52_bsim<nrf52_bsim>` UART to another, or a UART in loopback, utilizing
both the new and legacy nRFx UART drivers, in any mode.
* For the native simulator based targets it is now possible to set via Kconfig command line
options which will be handled by the executable as if they were provided from the invoking
shell.
* For all native boards, the native logger backend will now also be
used even if the UART is enabled.
* Several bugfixes and other minor additions to the nRF5x HW models.
* Multiple documentation updates and fixes for all native boards.
* Added support for these following shields:
* Added support for M5Stack-Core2 base: ``m5stack_core2_ext``.
* Added support for MikroElektronika ACCEL 13 Click: ``mikroe_accel13_click``.
* Added support for Waveshare Pico UPS-B: ``waveshare_pico_ups_b``.
* Added support for X-NUCLEO-BNRG2A1: BLE expansion board: ``x_nucleo_bnrg2a1``.
* Added support for X-NUCLEO-IKS4A1: MEMS Inertial and Environmental Multi
sensor: ``x_nucleo_iks4a1``.
Build system and infrastructure
*******************************
* Added functionality for Link Time Optimization.
This change includes interrupt script generator rebuilding and adds the
following Kconfig options:
- :kconfig:option:`CONFIG_ISR_TABLES_LOCAL_DECLARATION`:
LTO compatible interrupt tables parser
- :kconfig:option:`CONFIG_LTO`: Enable Link Time Optimization
Currently the LTO compatible interrupt tables parser is only supported by ARM architectures and
GCC compiler/linker.
See pull request :github:`66392` for details.
* Dropped the ``COMPAT_INCLUDES`` option. It was unused since Zephyr v3.0.
* Fixed an issue whereby board revision ``0`` did not include overlay files for that revision.
* Added ``PRE_IMAGE_CMAKE`` and ``POST_IMAGE_CMAKE`` hooks to sysbuild modules, which allows for
modules to run code after and before each image's cmake invocation.
* Added :kconfig:option:`CONFIG_ROM_END_OFFSET` option which allows reducing the size of an image.
This is intended for use with firmware signing scripts which add additional data to the end of
images outside of the build itself.
* Added MCUboot image size reduction to sysbuild images which include MCUboot. This prevents
issues with building firmware images that are too large for MCUboot to swap.
* Deprecated :kconfig:option:`CONFIG_BOOTLOADER_SRAM_SIZE`. Users of this should transition to
having RAM set up properly in their board devicetree files.
* Fixed an issue whereby shields were processed in order of the root they resided in rather than
the order they were supplied to cmake in.
* Fixed an issue whereby using some shields with sysbuild would cause a cmake Kconfig error.
* Fixed an issue where the macros ``_POSIX_C_SOURCE`` and ``_XOPEN_SOURCE`` would be defined
globally when building with Picolibc or for the native (``ARCH_POSIX``) targets.
After this change users may need to define them for their own applications or libraries.
* Added support for sysbuild setting a signing script (``SIGNING_SCRIPT``). See
:ref:`west-extending-signing` for details.
* Added support for ``FILE_SUFFIX`` in the build system which allows for adding suffixes to
application Kconfig fragment file names and devicetree overlay file names. See
:ref:`application-file-suffixes` and :ref:`sysbuild_file_suffixes` for details.
* Deprecated ``CONF_FILE`` ``prj_<build>.conf`` build type.
* Added `-Wdouble-promotion` as a default warning when compiling to warn developers with
single-precision floats easily being promoted to double-precision.
Drivers and Sensors
*******************
* ADC
* Power Management for ADC is now supported on STM32 devices.
* STM32 ADC driver now supports mixing shared and separate IRQs (for instance on STM32G473
which has 5 ADCs, ADC1 and ADC2 share one IRQ while ADC3, ADC4 and ADC5 each have unique IRQs).
Enabling all instances in the same application is not possible on such devices as of now.
* Auxiliary Display
* Added Sparkfun SerLCD driver.
* Audio
* Added a driver :file:`drivers/audio/dmic_mcux.c` for NXP DMIC peripheral. This peripheral is
present on the ``iMX RT5xx`` and ``iMX RT6xx`` parts, as well as some LPC SOCs.
* Battery backed up RAM
* STM32WL devices now support BBRAM.
* CAN
* Added system call :c:func:`can_get_mode()` for getting the current operation mode of a CAN
controller.
* Add system call :c:func:`can_get_transceiver()` for getting the CAN transceiver associated with
a CAN controller.
* Added accessor functions for the CAN statistics.
* Added common bit error counter to the CAN statistics.
* Added CAN statistics support to the following drivers:
* :dtcompatible:`microchip,mcp2515`
* :dtcompatible:`espressif,esp32-twai`
* :dtcompatible:`kvaser,pcican`
* Added CAN controller driver for the Nuvoton NuMaker series
(:dtcompatible:`nuvoton,numaker-canfd`).
* Added CAN controller driver for the Infineon XMC4xxx family
(:dtcompatible:`infineon,xmc4xxx-can` and :dtcompatible:`infineon,xmc4xxx-can-node`).
* Added support for the NXP S32K1xx family to the :dtcompatible:`nxp,flexcan` driver.
* All Bosch M_CAN-based front-end drivers now use named IRQs, "int0" and "int1".
* The :dtcompatible:`zephyr,native-linux-can` driver now supports being built with embedded C
libraries.
* Added support for setting "raw" timing values from the :ref:`CAN shell <can_shell>`.
* Clock control
* Renesas R-Car clock control driver now supports Gen4 SoCs.
* Renamed ``CONFIG_CLOCK_CONTROL_RA`` to :kconfig:option:`CONFIG_CLOCK_CONTROL_RENESAS_RA`.
* On STM32 devices, :dtcompatible:`st,stm32-hse-clock` now allows setting a ``css-enabled``
property which enables HSE clock security system (CSS).
* Counter
* The nRFx counter driver now works with simulated nrf*_bsim targets.
* Added support for top value configuration and fixed a bug in the native posix driver.
* Added support for the MRT counter for NXP RT6xx, RT5xx and LPC55xxx.
* Crypto
* STM32WB devices now support crypto API through AES block.
* Display
* Introduced frame buffer config to STM32 LTDC driver.
* DMA
* STM32WBA Devices now support GPDMA.
* Introduced a new DMA driver :file:`drivers/dma/dma_nxp_edma.c` for NXP's eDMA IP.
* Entropy
* The "native_posix" entropy driver now accepts a new command line option ``seed-random``.
When used, the random generator will be seeded from ``/dev/urandom``
* On STM32devices, RNG block is now suspended when pool is full to save power.
* Ethernet
* The "native_posix" ethernet driver now supports being built with embedded C libraries.
* Enabled HW checksum offloading for STM32H7.
* Added implementation of Open Alliance's TC6 T1S driver.
* Added xmc4xxx driver.
* Added NXP enet driver with PTP support.
* Added KSZ8081 PHY driver.
* Added proper IPv4 multicast support to NXP mcux driver.
* Added LAN8651 T1S support.
* Added DSA support to STM32.
* Added tja1103 PHY support.
* Added Nuvoton numaker support.
* Fixed lan865x driver. Transmission speed improvements, IRQ handling fixes.
* Fixed s32_gmac driver. Link up/down handling fixes.
* Fixed phy_mii driver. The invalid phy id was incorrectly checked.
* Fixed sam_gmac driver. PTP clock adjustment was wrong for negative values.
* Fixed adin2111 driver. Initialization was done incorrectly when working with adin2110.
* Fixed ksz8081 driver. Logging changes, RMII clock fixes, GPIO pin fixes.
* Added a driver :file:`drivers/ethernet/eth_nxp_enet.c` for NXP ENET which is a rework of
the old driver :file:`drivers/ethernet/eth_mcux.c`. The old driver became
unmaintainable due to fundamental problems with the lack of PHY abstraction. The new driver
is still experimental and requires maturation. Eventually the old driver will be deprecated
and this new driver will be supported instead.
* Flash
* Redesigned the Atmel SAM controller to fully utilize flash page layout.
* ``spi_nor`` driver now sleeps between polls in ``spi_nor_wait_until_ready``. If this is not
desired (For example due to ROM constraints in a bootloader),
:kconfig:option:`CONFIG_SPI_NOR_SLEEP_WHILE_WAITING_UNTIL_READY` can be disabled.
* Flash readout protection configuration was added on STM32G4 and STM32L4 series.
* ``nordic_qspi_nor`` driver now supports user-configurable QSPI timeout with
:kconfig:option:`CONFIG_NORDIC_QSPI_NOR_TIMEOUT_MS`.
* GNSS
* Added GNSS device driver API and subsystem for parsing and publishing location,
datetime, and satellite information, enabled by
:kconfig:option:`CONFIG_GNSS` and :kconfig:option:`CONFIG_GNSS_SATELLITES`.
The GNSS subsystem and device drivers are based on the :ref:`modem` subsystem,
using the ``modem_pipe`` module, modem backends, and ``modem_chat`` module to
communicate with the modems. For systems which already contain a cellular modem,
adding a GNSS modem is very efficient due to the reuse of subsystems.
* Added GNSS-specific, safe, string-to-integer parsing utilities, enabled by
:kconfig:option:`CONFIG_GNSS_PARSE`.
* Added NMEA0183 parsing utilities, enabled by
:kconfig:option:`CONFIG_GNSS_NMEA0183`.
* Added extensive GNSS data logging, enabled by
:kconfig:option:`CONFIG_GNSS_DUMP_TO_LOG`.
* Added generic NMEA0183 over UART based modem device driver, matching the
devicetree compatible :dtcompatible:`gnss-nmea-generic`.
* Added fully featured device driver for the Quectel LCX6G series GNSS modems,
matching the devicetree compatibles :dtcompatible:`quectel,lc26g`,
:dtcompatible:`quectel,lc76g` and :dtcompatible:`quectel,lc86g`.
* GPIO
* Renesas R-Car GPIO driver now supports Gen4 SoCs.
* Renamed ``CONFIG_GPIO_RA`` to :kconfig:option:`CONFIG_GPIO_RENESAS_RA`.
* Added a new GPIO driver (:file:`drivers/gpio/gpio_mcux_rgpio.c`). This
driver is used for i.MX93 and i.MX8ULP.
* I2C
* :c:func:`i2c_get_config` is now supported on the STM32 driver.
* I2S
* STM32H7 devices now support I2S.
* I3C
* The Legacy Virtual Register defines have been renamed from ``I3C_DCR_I2C_*``
to ``I3C_LVR_I2C_*``.
* Added the ability to specify a start address when searching for a free I3C
address to be reserved. This requires a new function argument to
:c:func:`i3c_addr_slots_next_free_find`.
* Added a field named ``num_xfer`` in :c:struct:`i3c_msg` and
:c:struct:`i3c_ccc_taget_payload` as an output to indicate the actual
number of bytes transferred.
* Cadence I3C driver (:file:`drivers/i3c/i3c_cdns.c`):
* Added support to handle controller abort where the target does not emit
end of data for register read but continues sending data.
* Updated the timeout calculation to be coupled with CPU speed instead of
a fixed number of retries.
* NXP MCUX I3C driver (:file:`drivers/i3c/i3c_mcux.c`):
* Fixed ``mcux_i3c_config_get()`` not returning the configuration to the caller.
* Improved the FIFO read routine to support higher transfer rates.
* Removed the infinite wait for MCTRLDONE in auto IBI.
* Added ``disable-open-drain-high-pp`` property to
:dtcompatible:`nxp,mcux-i3c`, which allows alternative high time for
open-drain clock.
* IEEE 802.15.4
* Removed :kconfig:option:`CONFIG_IEEE802154_SELECTIVE_TXPOWER` Kconfig option.
* Input
* The ``short-codes`` property of :dtcompatible:`zephyr,input-longpress` is
now optional. The node can be used by specifying only input and long codes.
* Added support for keyboard matrix drivers, including a new
:dtcompatible:`gpio-kbd-matrix` and :dtcompatible:`input-keymap` drivers.
See :ref:`gpio-kbd` for more details.
* Added a pair of input codes to HID codes translation functions. See
:c:func:`input_to_hid_code` and :c:func:`input_to_hid_modifier`.
* Added power management support to :dtcompatible:`gpio-keys`
:dtcompatible:`focaltech,ft5336`.
* Added a :dtcompatible:`zephyr,native-linux-evdev` device node for getting
input events from a Linux evdev device node.
* Added support for optical encoders and power management to :dtcompatible:`gpio-qdec`.
* New driver :dtcompatible:`analog-axis`.
* Added ESP32 touch sensor driver including a :dtcompatible:`espressif,esp32-touch`.
* MDIO
* Fixed initialization priorities of NXP s32 NETC drivers.
* Fixed SAM GMAC transfer timeout errors caused by MDIO clock not being initialized.
* Fixed ESP32 MDIO driver being enabled when node was not status okay.
* Added support for C22 and C45 APIs on S32 GMAC.
* Added MDIO driver for NXP ENET peripheral.
* Added xmc4xxx MDIO drivers.
* Fixed build errors caused by mdio.h driver header not including errno.h
* MFD
* Added support for :dtcompatible:`maxim,max20335`.
* Added support for :dtcompatible:`adi,ad5592`.
* Added separate initialization priorities for :dtcompatible:`nordic,npm1300` and
:dtcompatible:`nordic,npm6001`.
* PCIE
* Fixed MMIO size calculation by disabling IO/memory decoding beforehand.
* Modified to use PNP ID for PRT retrieval.
* MEMC
* Added a new driver for NXP FlexRAM.
* MIPI-DBI
* Introduced a new :ref:`MIPI DBI driver class <mipi_dbi_api>`.
* Pin control
* Renesas R-Car pinctrl driver now supports Gen4 SoCs.
* Renamed ``CONFIG_PINCTRL_RA`` to :kconfig:option:`CONFIG_PINCTRL_RENESAS_RA`.
* Renesas R-Car pinctrl driver now supports voltage control for R8A77951 and
R8A77961 SoCs.
* Added driver for ZynqMP / Mercury XU.
* Added driver for i.MX8QM/QXP.
* Added driver for Renesas RZ/T2M.
* On STM32 devices, pins assigned to JTAG/SW port can now be put to analog state when
:kconfig:option:`CONFIG_PM` enabled and :kconfig:option:`CONFIG_DEBUG` disabled.
* PWM
* Fixed ESP32S3 low frequency PWM issue.
* Regulators
* Added new API functions
* :c:func:`regulator_set_active_discharge`
* :c:func:`regulator_get_active_discharge`
* :c:func:`regulator_list_current_limit`
* ``startup-delay-us`` and ``off-on-delay-us`` are now supported for all regulators.
* Added non-multithreading support.
* Added support for :dtcompatible:`maxim,max20335-regulator`.
* Added ASYS UVLO configuration for :dtcompatible:`nxp,pca9420`.
* Added LDO/DCDC support for :dtcompatible:`renesas,smartbond-regulator`.
* Added LDO soft start configuration for :dtcompatible:`nordic,npm1300-regulator`.
* Fixed init priority for :dtcompatible:`x-powers,axp192-regulator`.
* Fixed LDO GPIO control for :dtcompatible:`nordic,npm1300-regulator`.
* Retained memory
* Retained memory driver backend for registers was added.
* Retained memory API status was changed from experimental to unstable.
* RTC
* Added Atmel SAM driver.
* SMBUS:
* SMBUS is now supported on STM32 devices.
* SDHC
* Added SDHC driver for Cadence SDHC IP.
* Added SDHC driver for Infineon CAT1 IP.
* Added support for SDIO commands to iMX USDHC SDHC driver.
* Sensor
* Fixed arithmetic overflow in the LTRF216A driver.
* Fixed negative temperature calculation in MAX31865 driver.
* Added TI TMAG5273 3D Hall sensor driver.
* Added Vishay VCNL36825T proximity sensor driver.
* Added BMA4xx accelerometer sensor emulator.
* Added white channel support to the VEML7700 ambient light sensor driver.
* Added ST LIS2DE12 accelerometer sensor driver.
* Added Bosch BMP581 pressure sensor driver.
* Added support for triggering multiple sensor devices in the sensor shell.
* Added Aosong AGS10 TVOC air quality gas sensor driver.
* Extended MAX31865 temperature sensor driver to support changing three-wire
mode at runtime.
* Fixed Bosch BMI160 gyro range calculation and added support for getting
attributes.
* Optimized Bosch BMA4xx accelerometer sample calculation, improving
accuracy.
* Removed floating point arithmetic from the TI BQ274xx gauge driver.
* Fixed ST drivers Kconfig dependency to the HAL_ST module.
* Added Bosch BMA4xx accelerometer sensor driver.
* Added ST LIS2DU12 accelerometer sensor driver.
* Extended NTC thermistor driver to support TDK NTCG103JF103FT1.
* Added NXP S32 quadrature decoder driver.
* Fixed LSM6DSV16x gyro range table.
* Fixed missing return value checks in ADLTC2990, TSL2540, MAX17055 drivers.
* Added ST LPS28DFW pressure sensor driver.
* Fixed interrupt in BMI323 driver.
* Added devicetree properties macros to various ST sensor drivers.
* Added Renesas HS300x temperature/humidity sensor driver.
* Added Gas Sensing Solutions' ExplorIR-M CO2 sensor driver.
* Fixed self test delay in ADXL367 accelerometer sensor driver.
* Added ST LPS22DF pressure sensor driver.
* Added new streaming APIs and implemented in the ICM42688 driver.
* Added trigger support to the ADXL367 accelerometer sensor driver.
* Added PM suspend and resume support to the LSM6DSL accelerometer sensor
driver.
* Added AMS TSL2561 light sensor driver.
* Extended BQ274xx driver to support configuring and confirming the chemistry
profile.
* Extended LIS2DH and LSM6DSV16x drivers to support configuring INT1/INT2 in
devicetree.
* Added die temperature measurement support to NPM1300 charger driver.
* Added ADLTC2990 sensor emulator.
* Extended MPU6050 driver to support MPU6886 variant.
* Added ADXL367 accelerometer sensor driver.
* Added LiteOn LTR-F216A illuminance sensor driver.
* Added Memsic MC3419 accelerometer sensor driver.
* Added AMD SB temperature sensor driver.
* Added ESP32S3 internal temperature sensor driver.
* Added new self-documenting macros for setting ST sensor devicetree
properties (e.g., LSM6DSV16X_DT_ODR_AT_60Hz). (:github:`65410`)
* Serial
* Added drivers to support UART on Renesas RA and RZ/T2M.
* Added support for higher baud rate for ITE IT8xxx2.
* Added driver to support Intel Lightweight UART.
* Added UART asynchronous RX helper.
* Added support for async API on NS16550 driver.
* Updated ``uart_esp32`` to use serial port configuration from devicetree.
* Added an adaptation API to provide interrupt driven API for drivers
which have only implemented async API.
* Emulated UART driver (:file:`drivers/serial/uart_emul.c`):
* Added emulated interrupt based TX.
* Added emulated error for testing.
* Modified to use local work queue for data transfer.
* Modified FIFO size and its handling to be more aligned with real hardware.
* On STM32 devices, it is now possible to enable FIFO by setting a ``fifo-enable``
property in targeted serial node, with the following benefits:
In TX, FIFO allows to work in burst mode, easing scheduling of loaded applications.
It also allows more reliable communication with UART devices sensitive to variation of inter-frames delays.
In RX, FIFO reduces overrun occurrences.
* SPI
* On STM32H7 devices, ``fifo-enable`` property allows using SPI block FIFO. This
feature is still experimental and requires maturation.
* On STM32 devices impacted by BSY bit erratum, a workaround was implemented.
* USB
* On STM2G0 devices, property ``crs-usb-sof`` in ``clk_hsi48`` node enables support
for Clock Recovery System, allowing a more stable HSI48 clock and hence resilient USB
connection.
* On compatible STM32 devices, isochronous endpoints are now functional thanks to the
use of double buffering.
* Added new UDC driver for DWC2 controller.
* Added support for Nuvoton NuMaker series USBD controllers.
* W1
* Added 1-Wire GPIO master driver. See the :dtcompatible:`zephyr,w1-gpio`
devicetree binding for more information.
* Wi-Fi
* Added Infineon airoc driver.
* Fixed esp32 driver. Decreased minimum heap size, disabled automatic reconnection on leaving.
* Fixed esp_at driver. Allow building without IPv4 support. Passive Receive mode fixes. Depend on UART runtime configuration.
* Fixed winc1500 driver. Disconnect result event was not returned when disconnecting.
Networking
**********
* CoAP:
* Added support for Echo and Request-Tag CoAP options (RFC 9175).
* Changed :c:func:`coap_remove_observer` API function return type to bool.
* Introduced CoAP service library, which simplifies implementation of CoAP
server functionality.
* Updated CoAP server example to use CoAP service library.
* Added shell module for CoAP server.
* Fixed NULL pointer dereference in :c:func:`coap_packet_remove_option`.
* Added CoAP observer/service network events using the Network Event subsystem.
* Changed :c:func:`coap_pending_init` API function to take
:c:struct:`coap_transmission_parameters` instead of retry count.
* Added new API functions:
* :c:func:`coap_get_transmission_parameters`
* :c:func:`coap_set_transmission_parameters`
* :c:func:`coap_handle_request_len`
* :c:func:`coap_well_known_core_get_len`
* :c:func:`coap_uri_path_match`
* :c:func:`coap_packet_is_request`
* :c:func:`coap_find_observer`
* :c:func:`coap_find_observer_by_token`
* :c:func:`coap_pendings_count`
* :c:func:`coap_header_set_code`
* Connection Manager:
* Added a generic Wi-Fi connectivity backend.
* DHCP:
* Added missing DHCPv6 state structure initialization when initializing
network interface.
* DHCP-assigned IPv4 address is now removed when interface goes down.
* Added DHCPv4 server implementation.
* Rearranged DHCPv4 file structure. All DHCPv4 related files are now grouped
within ``subsys/net/lib/dhcpv4``.
* Moved DHCPv6 files to ``subsys/net/lib/dhcpv6`` to align with DHCPv4.
* DNS:
* Added support for enabling mDNS listener on all network interfaces.
* Added VLAN support to the ``mdns_responder`` sample.
* Fixed TTL/hop limit set on DNS packets.
* Added :kconfig:option:`CONFIG_DNS_RESOLVER_AUTO_INIT` which allows to disable
automatic initialization of the default DNS context on boot.
* Ethernet:
* Manual registration of ARP entries is now supported.
* Added PHY mode selection to device tree.
* Added TX-Injection mode support.
* gPTP:
* The local port identity is now used when forwarding sync messages.
* Fixed double converted byte order of BMCA info.
* GM PRIO root system id is now always used for announce messages.
* Created gPTP handler thread stack size Kconfig option.
* Inverted the priority of outgoing packets.
* ICMP:
* Fixed an error being emitted when unhandled ICMP message was received.
* Fixed a bug where ICMP Echo Reply could be sent without proper source IP
address set.
* Fixed a packet leak in ICMP Echo Request handlers in case priority check
failed.
* Improved thread safety of the module handling Neighbor Discovery.
* Added support for IPv6 Neighbor reachability hints, allowing to reduce
ICMPv6 traffic for active connections.
* IP:
* Fixed L3/L4 checksum calculation/validation for IP-fragmented packets on
interfaces that support checksum offload.
* Fixed net_context not being set on IP fragmented packets, preventing send
callback from being called.
* It is now possible to have separate IPv4 TTL value and IPv6 hop limit value for
unicast and multicast packets. This can be controlled in each socket via
:c:func:`setsockopt` API.
* Improved source IP address verification in the IP stack. Addresses received
to/from loopback address on non-loopback interfaces are dropped.
* Added new functions to verify if IPv6 address is site local or global.
* Added support for setting peer IP address in :c:struct:`net_pkt` structure
for offloaded interfaces. This allows for :c:func:`recvfrom` to return a
valid address in offloaded case.
* LwM2M:
* Added :kconfig:option:`CONFIG_LWM2M_UPDATE_PERIOD` which configures the LwM2M
Update period regardless of the lifetime value.
* Fixed composite read/write access rights check.
* Added shell command to delete object and resource instances.
* Fixed a bug in block-wise transfer where block-wise ACKs were sent with
wrong response code.
* Fixed object version reporting for LwM2M version 1.1.
* Added support for DTLS Connection Identifier in the LwM2M engine.
* Added support for LwM2M Server Disable executable resource.
* Implemented fallback mechanism for LwM2M server selection during registration
phase. The engine will now try to choose a different server if the current one
becomes unavailable or disabled.
* Added support for storing LwM2M error list in settings.
* Fixed pmin observer attribute handling in tickless mode.
* Added support for notifying the application about ongoing CoAP transmissions
with ``set_socket_state()`` callback.
* Deprecated unsigned 64-bit integer value type, as it's not represented in the spec.
Use signed 64-bit integer instead.
* Added a callback for LwM2M Gateway object, which allows to handle LwM2M messages
with prefixed path.
* Added LwM2M-specific macros for object initialization during boot.
* Several other minor bugfixes ans improvements.
* Misc:
* Added support for compile time network event handlers using the macro
:c:macro:`NET_MGMT_REGISTER_EVENT_HANDLER`.
* Added the :kconfig:option:`CONFIG_NET_MGMT_EVENT_WORKER` choice to
allow emitting network events using the system work queue or synchronously.
* Removed redundant Network Connectivity API documentation page.
* Improved thread safety of the network connections subsystem.
* Removed ``eth_native_posix`` sample.
* Removed redundant ``arb`` and ``fv2015`` fields from
``struct net_pkt_cb_ieee802154``.
* Introduced a separate mutex for TX at the network interface level to prevent
concurrent access on TX to drivers that are not re-entrant.
* Fixed netmask not being registered for loopback address.
* Added support for binding to a specific network interface at the net_context
level.
* Added IGMPv3 support.
* Added a new network event, ``NET_EVENT_HOSTNAME_CHANGED``, triggered upon
hostname change.
* Refactored net_context option getters/setters to reduce code duplication.
* Fixed a possible packet leak at the ARP level, in case of errors during ARP
packet creation.
* Added support for analyzing SNTP time uncertainty.
* Fixed network interface being brought up even when underlying device is not
ready.
* Added start/stop functions for dummy interfaces.
* Added a detailed :ref:`network configuration <network_configuration_guide>`
guide to the documentation.
* Added :kconfig:option:`CONFIG_NET_HOSTNAME_DYNAMIC` option, which allows to
enable setting hostname at runtime.
* MQTT-SN:
* Added :c:func:`mqtt_sn_get_topic_name` API function.
* Fixed handling of incoming Register messages when wildcard subscription is used.
* OpenThread:
* Implemented the following OpenThread platform APIs:
* ``otPlatRadioSetRxOnWhenIdle()``
* ``otPlatResetToBootloader()``
* ``otPlatCryptoPbkdf2GenerateKey()``
* Updated OpenThread platform UART driver so that it no longer waits for
communication with a host to start during boot.
* Added BLE TCAT implementation in OpenThread platform.
* Updated Crypto PSA backend for OpenThread with additional algorithms.
* Fixed ``otPlatAssertFail()`` so that it prints the location of the actual
assert instead of the function itself.
* PPP:
* Fixed PPP connection termination when interface goes down.
* Shell:
* Refactored networking shell module so that instead of large single file, it
is split into submodules, on a per command basis.
* Fixed unexpected timeout message when executing loopback ping.
* Added ``net sockets`` command to print information about open sockets and
socket services.
* Join IPv4/IPv6 multicast groups, if needed, when adding IPv4/IPv6 multicast
addresses via shell.
* Fixed ``tcp connect`` command operation (TCP context released prematurely).
* Added support for Echo option in telnet shell backend.
* Fixed unnecessary connection close in telnet shell backend in case of
non-fatal EAGAIN or ENOBUFS errors.
* Fixed double packet dereference in ping reply handler.
* Fixed possible deadlock when executing ``net arp`` command.
* Added more detailed Ethernet statistics printout for ``net stats`` command.
* Added ``net dhcpv4 server`` commands for DHCPv4 server management.
* Added shell module to manage TLS credentials.
* Sockets:
* Added support for v4-mapping-to-v6, which allows IPv4 and IPv6 to share the
same port space.
* Added support for :c:macro:`IPV6_V6ONLY` socket option.
* Added support for :c:macro:`SO_ERROR` socket option.
* Fixed :c:func:`select` not setting ``writefds`` in case of errors.
* Added support for object core, which allows to track networks sockets and
their statistics.
* Added support for :c:func:`recvmsg`.
* Added support for :c:macro:`IP_PKTINFO` and :c:macro:`IPV6_RECVPKTINFO`
socket options.
* Added support for :c:macro:`IP_TTL` socket option.
* Added support for IPv4 multicast :c:macro:`IP_ADD_MEMBERSHIP` and
:c:macro:`IP_DROP_MEMBERSHIP` socket options.
* Added support for IPv6 multicast :c:macro:`IPV6_ADD_MEMBERSHIP` and
:c:macro:`IPV6_DROP_MEMBERSHIP` socket options.
* Improved doxygen documentation of BSD socket API.
* Fixed POLLERR error reporting in TLS sockets.
* Fixed DTLS handshake processing during :c:func:`poll`.
* Aligned DTLS socket :c:func:`connect` behavior with regular TLS (handshake
during connect call).
* Added Socket Service library, which allows registering multiple socket-based
network services and processing them within a single thread.
* Added a new ``echo_service`` sample for Socket Service.
* Added support for :c:macro:`SO_DOMAIN` socket option.
* Fixed DTLS connection timeout when monitoring socket with :c:func:`poll`.
* Fixed NULL link layer address pointer dereference on packet socket, in case
of packet loopback.
* Several other minor bugfixes and improvements.
* TCP:
* TCP stack now replies with RST packet in response to connection attempt on
a closed port.
* Fixed remote address passed in :c:func:`accept` call.
* Fixed reference counting during active handshake to prevent TCP context
being released prematurely.
* Fixed compilation with :kconfig:option:`CONFIG_NET_TCP_CONGESTION_AVOIDANCE`
disabled.
* Reworked TCP data queueing API to prevent TCP stack from overflowing TX window.
* Fixed possible race condition between TCP workqueue and other threads when
releasing TCP context.
* Fixed possible race condition between input thread and TCP workqueue.
* Added support for TCP Keep-Alive feature.
* Fixed a bug where TCP state machine could get stuck in LAST_ACK state
during passive connection close.
* Fixed a bug where TCP state machine could get stuck in FIN_WAIT_1 state
in case peer did not respond.
* Several other minor bugfixes ans improvements.
* TFTP:
* Fixed potential buffer overflow when copying TFTP error message.
* Improved logging in case of errors.
* Wi-Fi:
* Added Wi-Fi driver version information to Wi-Fi shell.
* Added AP (Access Point) mode support to Wi-Fi shell.
* Added Regulatory channel information.
* Added Wi-Fi bindings to connection manager.
* Fixed Wi-Fi shell. SSID print fixes. Help text fixes. Channel validation fixes.
* Fixed TWT functionality. Teardown status was not updated. Powersave fixes.
* zperf:
* Improved IP address binding. Zperf will now bind to any address by default and
allow to override this with Kconfig/API provided address.
* Fixed TCP packet counting when transmitting.
* Refactored UDP/TCP received to use Socket Service to save memory.
* Fixed zperf session leak on interrupted downloads.
* Fixed the calculation ratio between Mbps, Kbps and bps.
* The zperf sample now supports relocating network code to RAM.
USB
***
* Device support:
* Introduced new USB Audio 2 implementation that uses devicetree for
instantiation, hiding descriptor complexity from the application. The initial
implementation is limited to full speed only and provides the absolute
minimum set of features required for basic implicit and explicit feedback.
Interrupt notification is not supported.
* Added support for SetFeature(TEST_MODE).
Devicetree
**********
Bindings
========
* Introduced new SPI properties ``spi-cpol``, ``spi-cpha``, and ``spi-hold-cs`` to be used by
the macro :c:macro:`SPI_CONFIG_DT` in order to set SPI mode in a Devicetree file.
Libraries / Subsystems
**********************
* Management
* Fixed an issue in MCUmgr image management whereby erasing an already erased slot would return
an unknown error. It now returns success.
* Fixed MCUmgr UDP transport structs being statically initialised. This results in about a
~5KiB flash saving.
* Fixed an issue in MCUmgr which would cause a user data buffer overflow if the UDP transport was
enabled on IPv4 only but IPv6 support was enabled in the kernel.
* Implemented datetime functionality in MCUmgr OS management group. This makes use of the RTC
driver API.
* Fixed an issue in MCUmgr console UART input whereby the FIFO would be read outside of an ISR,
which is not supported in the next USB stack.
* Fixed an issue whereby the ``mcuboot erase`` DFU shell command could be used to erase the
MCUboot or currently running application slot.
* Fixed an issue whereby messages that were too large to be sent over the UDP transport would
wrongly return :c:enumerator:`MGMT_ERR_EINVAL` instead of :c:enumerator:`MGMT_ERR_EMSGSIZE`.
* Fixed an issue where confirming an image in Direct XIP mode would always confirm the image in
the primary slot even when executing from the secondary slot. Now the currently active image is
always confirmed.
* Added support for retrieving registered command groups, to support registering and deregistering
default command groups at runtime, allowing an application to support multiple implementations
for the same command group.
* Fixed an issue in MCUmgr FS management whereby the semaphore lock would not be given if an
error was returned, leading to a possible deadlock.
* Added support for custom payload MCUmgr handlers. This can be enabled with
:kconfig:option:`CONFIG_MCUMGR_MGMT_CUSTOM_PAYLOAD`.
* Fixed an issue in MCUmgr image management whereby an error would be returned if a command was
sent to erase the slot which was already erased.
* Added support for image slot size checking to ensure an update can be utilised by MCUboot.
This can be performed by using sysbuild when building both application and MCUboot by enabling
:kconfig:option:`CONFIG_MCUMGR_GRP_IMG_TOO_LARGE_SYSBUILD` or by use of bootloader information
sharing from MCUboot by enabling
:kconfig:option:`CONFIG_MCUMGR_GRP_IMG_TOO_LARGE_BOOTLOADER_INFO`.
* Logging
* Added an option to remove string literals from the binary when dictionary-based logging is used.
* Optimized the most common logging messages (strings with up to 2 numeric arguments). Optimization
is done for code size (significant gain seen on riscv32) and performance.
* Extended logging frontend API to optionally implement dedicated functions for optimized messages.
Optional API is enabled by :kconfig:option:`CONFIG_LOG_FRONTEND_OPT_API`.
* Added support for runtime message filtering for the logging frontend.
* Added option to support multiple instances of the UART logging backend.
* Fixed userspace issue for :c:func:`printk` when :kconfig:option:`CONFIG_LOG_PRINTK` is enabled.
* Added compile time detection of logging messages that use character pointers for ``%p``.
It must be avoided when dictionary-based logging is used and strings are stripped from the
binary. When an erroneous case is detected, the user message is replaced with an error message
that suggests pointer casting must be added.
* Removed remaining references to v2 logging. Renamed :c:func:`log2_generic` to :c:func:`log_generic`.
* Modem modules
* Added ``TRANSMIT_IDLE`` event to the ``modem_pipe`` module which notifies the user of the pipe
that the backend has transmitted all bytes placed in its buffer using
:c:func:`modem_pipe_transmit()`.
The event greatly increases the efficiency of transmitting large quantities of data if used to
dynamically manage the delay between calls to :c:func:`modem_pipe_transmit()`.
* Implemented ``TRANSMIT_IDLE`` event in all modem backends.
* Extended all modem modules to utilize the ``TRANSMIT_IDLE`` event to dynamically manage the delay
between calls to :c:func:`modem_pipe_transmit()`. This addition reduced the utilization of the
system workqueue while transmitting large, continuous quantities of data, by 86%, while only
reducing the throughput by 12%. This optimization additionally allows lower priority threads,
like the deferred logging thread, to run during the transmission (it was blocked by the
relentless, continuous calls to :c:func:`modem_pipe_transmit()`).
* Improved ``modem_pipe`` event dispatching. The ``modem_pipe`` module now invokes the
``RECEIVE_READY`` event every time the pipe is attached using :c:func:`modem_pipe_attach()`
if it has data ready to be read, and always invokes ``TRANSMIT_IDLE`` when the pipe is
either opened or attached. This ensures event driven users of the modem pipe module can
rely solely on the events to start read/transmit work. A test suite has been added to
complement the improvements.
* Extended ``modem_cmux`` module to support acting both as DTE (user application) and DCE (modem).
With this addition, two Zephyr applications can communicate with each other through their
respective ``modem_cmux`` instances.
* Picolibc
* Updated to version 1.8.6. This removes the :c:macro:`_POSIX_C_SOURCE` definition from the build
system, so applications will need to add this if they use APIs outside of the Zephyr
requirements.
* Added new :c:func:`printf` modes, :kconfig:option:`CONFIG_PICOLIBC_IO_LONG_LONG` and
:kconfig:option:`CONFIG_PICOLIBC_IO_MINIMAL`. These provide applications with finer grained
control over the level of support provided by the library to control text space usage. By
default, the correct level of support is selected based upon other configuration parameters.
* Added :kconfig:option:`CONFIG_PICOLIBC_ASSERT_VERBOSE`. This option, which is false by default,
controls whether the :c:func:`assert` function displays verbose information, including the file
name, line number, function name and failing expression text, when the assertion fails. Leaving
this disabled saves text space.
* :kconfig:option:`CONFIG_THREAD_LOCAL_STORAGE` can now be disabled while using Picolibc. This is
very helpful in diagnosing issues when using Picolibc as those are often caused by enabling TLS
and not caused by using the library itself.
* Numerous improvements in the library including code-size reductions in areas like printf and
ctype and various fixes in the math library.
* Power management
* Introduced Atmel SAM SUPC functions to allow wakeup sources and poweroff.
* STM32F4 devices now support stop mode thanks to the use of a RTC based idle timer which
keeps track of tick evolution while cortex systick is off.
* :c:func:`pm_device_runtime_put_async()` got a parameter to specify a minimum delay to
the operation. This is useful to avoid multiple states transitions when a device is used.
* Devices that don't need to block when suspending or resuming can now be defined as ISR
safe (``PM_DEVICE_ISR_SAFE``). For those devices, Zephyr is able to reduce RAM consumption
and runtime device power management can be safely used from interrupts.
* Optimizations in device runtime power management. :c:func:`pm_device_runtime_get` and
:c:func:`pm_device_runtime_put` no longer wait for a pending operation to be concluded if it is still
in the work queue. In this case, the pending work is just canceled and the device state updated.
* The Kconfig options below were added to customize the initialization priority of different
power domains.
* :kconfig:option:`CONFIG_POWER_DOMAIN_GPIO_INIT_PRIORITY`
* :kconfig:option:`CONFIG_POWER_DOMAIN_GPIO_MONITOR_INIT_PRIORITY`
* :kconfig:option:`CONFIG_POWER_DOMAIN_INTEL_ADSP_INIT_PRIORITY`
* Crypto
* Mbed TLS updated to 3.5.2. Full release notes can be found in:
path_to_url
* Retention
* Fixed issue whereby :kconfig:option:`CONFIG_RETENTION_BUFFER_SIZE` values over 256 would cause
an infinite loop due to use of 8-bit variables.
* SD
* Added support for SDIO devices.
* Storage
* File systems: LittleFS module has been updated to version 2.8.1.
* Following Flash Map API macros, marked in 3.2 as deprecated, have been removed:
``FLASH_AREA_ID``, ``FLASH_AREA_OFFSET``, ``FLASH_AREA_SIZE``,
``FLASH_AREA_LABEL_EXISTS`` and ``FLASH_AREA_DEVICE``.
* POSIX API
* Completed support for ``POSIX_THREADS_EXT``, ``XSI_THREADS_EXT``,
``POSIX_CLOCK_SELECTION``, and ``POSIX_SEMAPHORES`` Option Groups.
* Completed support for ``_POSIX_MESSAGE_PASSING`` and
``_POSIX_PRIORITY_SCHEDULING`` Options.
* Fixed Coverity-CID 211585, 334906, 334909, and 340851.
* Improved structure and accuracy of POSIX documentation.
* Improved navigation and organization of POSIX Kconfig options.
* Added support to allocate and free stacks up to 8 MB with pthread_attr_t.
* Added support for deferred and asynchronous thread cancellation.
* Added dining philosophers sample application.
* Added support for named semaphores.
* Added a top-level ``posix`` command in the Zephyr shell. Zephyr shell utilities for
the POSIX API can be added as subcommands (e.g. ``posix uname -a``)
* Added support for async thread cancellation and ``SIGEV_THREAD``, ``CLOCK_REALTIME``.
* Added compile-time-constant sysconf() implementation.
* LoRa/LoRaWAN
* Added LoRaWAN remote multicast support with :kconfig:option:`CONFIG_LORAWAN_REMOTE_MULTICAST`
in preparation for OTA firmware upgrade support.
* ZBus
* Replaced mutexes with semaphores to lock channels and implement the Highest Locker Protocol (HLP)
priority boost for the zbus operations. This feature avoids priority inversions and preemptions,
making the VDED delivery process faster and more consistent. (:github:`63183`)
* Fixed documentation for :c:func:`zbus_chan_add` and :c:func:`zbus_chan_rm` adding the timeout
argument. (:github:`65544`)
* Fixed warning when mixing C and C++ files using zbus. (:github:`65222`)
* :c:macro:`ZBUS_CHANNEL_DEFINE` macro is now compatible with C++. (:github:`65196`)
* Fixed parameter order of net buf pool fixed definition. (:github:`65039`)
* Refactored the benchmark sample, adding message subscribers. (:github:`64524`)
* Renamed ``CONFIG_ZBUS_MSG_SUBSCRIBER_NET_BUF_DYNAMIC`` and
``CONFIG_ZBUS_MSG_SUBSCRIBER_NET_BUF_STATIC`` to
:kconfig:option:`CONFIG_ZBUS_MSG_SUBSCRIBER_BUF_ALLOC_DYNAMIC` and
:kconfig:option:`CONFIG_ZBUS_MSG_SUBSCRIBER_BUF_ALLOC_STATIC`. (:github:`65632`)
HALs
****
* STM32
* Updated STM32F1 to cube version V1.8.5.
* Updated STM32F7 to cube version V1.17.1.
* Updated STM32H7 to cube version V1.11.1.
* Updated STM32L4 to cube version V1.18.0.
* Updated STM32U5 to cube version V1.4.0.
* Updated STM32WBA to cube version V1.2.0.
* Updated STM32WB to cube version V1.18.0.
MCUboot
*******
* Fixed compatible sector checking in bootutil.
* Fixed Kconfig issue with saving encrypted TLVs not depending on encryption being enabled.
* Fixed issue with missing condition check for applications in sysflash include file.
* Fixed issue with single slot encrypted image listing support in boot_serial.
* Fixed issue with allowing MBEDTLS Kconfig selection when tinycrypt is used.
* Fixed missing response if echo command was disabled in boot_serial.
* Fixed issue with USB configurations not generating usable images.
* Added debug logging for boot status write in bootutil.
* Added estimated image overhead size to cache in sysbuild.
* Added firmware loader operating mode which allows for a dedicated secondary slot image that
is used to update the primary image.
* Added error if main thread is not pre-emptible when USB CDC serial recovery is enabled.
* Added error if USB CDC and console are both enabled and set to the same device.
* Removed the deprecated ``CONFIG_ZEPHYR_TRY_MASS_ERASE`` Kconfig option.
* Updated zcbor to version 0.8.1 and re-generated boot_serial files.
* Moved IO functions out of main to separate file.
* Made ``align`` parameter of imgtool optional.
* Added MCUBoot support for ``mimxrt1010_evk``, ``mimxrt1015_evk``,
``mimxrt1040_evk``, ``lpcxpresso55s06``, ``lpcxpresso55s16``,
``lpcxpresso55s28``, ``lpcxpresso55s36``, ``lpcxpresso55s69_cpu0``.
* Added :kconfig:option:`CONFIG_MCUBOOT_IMGTOOL_OVERWRITE_ONLY` which passes the --overwrite-only option
to imgtool to avoid adding the swap status area size when calculating overflow.
It is used by non-swap update modes.
* The MCUboot version in this release is version ``2.1.0+0-dev``.
zcbor
*****
zcbor has been updated from 0.7.0 to 0.8.1.
Full release notes can be found at:
path_to_url and
path_to_url
Highlights:
* Addded support for unordered maps.
* Performance improvements.
* Naming improvements for generated code.
* Bugfixes.
LVGL
****
LVGL has been updated from 8.3.7 to 8.3.11.
Detailed release notes can be found at:
path_to_url
Additionally, the following changes in Zephyr were done:
* Added the :dtcompatible:`zephyr,lvgl-keypad-input` compatible for keypad input.
* Fixed issue with the Zephyr log levels not mapping properly to LVGL log levels.
* Fixed issue where setting :kconfig:option:`CONFIG_LV_Z_FULL_REFRESH` did not
set :kconfig:option:`CONFIG_LV_Z_VDB_SIZE` to 100 percent.
Tests and Samples
*****************
* :ref:`native_sim<native_sim>` has replaced :ref:`native_posix<native_posix>` as the default
test platform.
:ref:`native_posix<native_posix>` remains supported and used in testing but will be deprecated
in a future release.
* Bluetooth split stacks tests, where the BT host and controller are run in separate MCUs, are
now run in CI based on the :ref:`nrf5340_bsim<nrf5340bsim>` targets.
Several other runtime AMP tests based on these targets have been added to CI, including tests
of OpenAMP, the mbox and IPC drivers/subsystem, and the logger multidomain functionality.
* Runtime UART tests have been added to CI based on the :ref:`nrf52_bsim<nrf52_bsim>` target.
These include tests of the nRFx UART driver and networked BT stack tests with the host and
controller in separate devices communicating over the HCI UART driver.
* Fixed an issue in :zephyr:code-sample:`smp-svr` sample whereby if USB was already initialised,
application would fail to boot properly.
* Added an LVGL sample :zephyr:code-sample:`lvgl-accelerometer-chart` showcasing displaying of live
sensor data in a chart widget.
* Added ESP32-S3 IPM support in :zephyr:code-sample:`ipm-esp32`.
* Added ESP32 memory-mapped flash access sample in :zephyr:code-sample:`esp32-flash-memory-mapped`.
* Added ESP32 PWM loopback test case.
* Added support in the mbox sample for NXP boards ``MIMXRT1160-EVK``, ``MIMXRT1170-EVK``,
``MIMXRT1170-EVKB``, ``LPCXpresso55S69``.
* Added a sample ``flexram-magic-addr`` for ``mimxrt11xx_cm7`` to show how to use flexram magic
address functionality when using memc flexram driver.
``` | /content/code_sandbox/doc/releases/release-notes-3.6.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 14,428 |
```restructuredtext
:orphan:
.. _migration_3.6:
Migration guide to Zephyr v3.6.0
################################
This document describes the changes required when migrating your application from Zephyr v3.5.0 to
Zephyr v3.6.0.
Any other changes (not directly related to migrating applications) can be found in
the :ref:`release notes<zephyr_3.6>`.
.. contents::
:local:
:depth: 2
Build System
************
* The deprecated ``prj_<board>.conf`` Kconfig file support has been removed, projects that use
this should switch to using board Kconfig fragments instead (``boards/<board>.conf``).
* Until now ``_POSIX_C_SOURCE``, ``_XOPEN_SOURCE``, and ``_XOPEN_SOURCE_EXTENDED`` were defined
globally when building for the native (``ARCH_POSIX``) targets, and ``_POSIX_C_SOURCE`` when
building with PicolibC. Since this release, these are set only for the files that need them.
If your library or application needed this, you may start getting an "implicit declaration"
warning for functions whose prototypes are only exposed if one of these is defined.
If so, you can fix it by defining the corresponding macro in your C source file before any
include, or by adding the equivalent of
``target_compile_definitions(app PRIVATE _POSIX_C_SOURCE=200809L)`` to your application
or ``zephyr_library_compile_definitions(_POSIX_C_SOURCE=200809L)`` to your library.
* Build type by setting ``CONF_FILE`` to ``prj_<build>.conf`` is now deprecated, users should
instead use the new ``-DFILE_SUFFIX`` feature :ref:`application-file-suffixes`.
Kernel
******
* The system heap size and its availability is now determined by a ``K_HEAP_MEM_POOL_SIZE``
define instead of the :kconfig:option:`CONFIG_HEAP_MEM_POOL_SIZE` Kconfig option. Subsystems
can specify their own custom system heap size requirements by specifying Kconfig options with
the prefix ``CONFIG_HEAP_MEM_POOL_ADD_SIZE_``. The old Kconfig option still exists, but will be
overridden if the custom requirements are larger. To force the old Kconfig option to be used,
even when its value is less than the indicated custom requirements, a new
:kconfig:option:`CONFIG_HEAP_MEM_POOL_IGNORE_MIN` option has been introduced (which defaults
being disabled).
* STM32H7 and STM32F7 should now activate the cache (Icache and Dcache) by setting explicitly
the ``CONFIG_CACHE_MANAGEMENT`` to ``y``.
Boards
******
* The deprecated Nordic SoC Kconfig option ``NRF_STORE_REBOOT_TYPE_GPREGRET`` has been removed,
applications that use this should switch to using the :ref:`boot_mode_api` instead.
* NXP: Enabled :ref:`linkserver<linkserver-debug-host-tools>` to be the default runner on the
following NXP boards: ``mimxrt685_evk_cm33``, ``frdm_k64f``, ``mimxrt1050_evk``, ``frdm_kl25z``,
``mimxrt1020_evk``, ``mimxrt1015_evk``
Modules
*******
Optional Modules
================
The following modules have been made optional and are not downloaded with `west update` by default
anymore:
* ``canopennode`` (:github:`64139`)
To enable them again use the ``west config manifest.project-filter -- +<module
name>`` command, or ``west config manifest.group-filter -- +optional`` to
enable all optional modules, and then run ``west update`` again.
MCUboot
=======
* MCUboot's deprecated ``CONFIG_ZEPHYR_TRY_MASS_ERASE`` Kconfig option has been removed. If an
erase is needed when flashing MCUboot, this should now be provided directly to the ``west``
command e.g. ``west flash --erase``. (:github:`64703`)
zcbor
=====
* If you have zcbor-generated code that relies on the zcbor libraries through Zephyr, you must
regenerate the files using zcbor 0.8.1. Note that the names of generated types and members has
been overhauled, so the code using the generated code must likely be changed.
For example:
* Leading single underscores and all double underscores are largely gone,
* Names sometimes gain suffixes like ``_m`` or ``_l`` for disambiguation.
* All enum (choice) names have now gained a ``_c`` suffix, so the enum name no longer matches
the corresponding member name exactly (because this broke C++ namespace rules).
* The function :c:func:`zcbor_new_state`, :c:func:`zcbor_new_decode_state` and the macro
:c:macro:`ZCBOR_STATE_D` have gained new parameters related to decoding of unordered maps.
Unless you are using that new functionality, these can all be set to NULL or 0.
* The functions :c:func:`zcbor_bstr_put_term` and :c:func:`zcbor_tstr_put_term` have gained a new
parameter ``maxlen``, referring to the maximum length of the parameter ``str``.
This parameter is passed directly to :c:func:`strnlen` under the hood.
* The function :c:func:`zcbor_tag_encode` has been renamed to :c:func:`zcbor_tag_put`.
* Printing has been changed significantly, e.g. :c:func:`zcbor_print` is now called
:c:func:`zcbor_log`, and :c:func:`zcbor_trace` with no parameters is gone, and in its place are
:c:func:`zcbor_trace_file` and :c:func:`zcbor_trace`, both of which take a ``state`` parameter.
Device Drivers and Devicetree
*****************************
Devicetree Labels
=================
* Various deprecated macros related to the deprecated devicetree label property
were removed. These are listed in the following table. The table also
provides replacements.
However, if you are still using code like
``device_get_binding(DT_LABEL(node_id))``, consider replacing it with
something like ``DEVICE_DT_GET(node_id)`` instead. The ``DEVICE_DT_GET()``
macro avoids run-time string comparisons, and is also safer because it will
fail the build if the device does not exist.
.. list-table::
:header-rows: 1
* - Removed macro
- Replacement
* - ``DT_GPIO_LABEL(node_id, gpio_pha)``
- ``DT_PROP(DT_GPIO_CTLR(node_id, gpio_pha), label)``
* - ``DT_GPIO_LABEL_BY_IDX(node_id, gpio_pha, idx)``
- ``DT_PROP(DT_GPIO_CTLR_BY_IDX(node_id, gpio_pha, idx), label)``
* - ``DT_INST_GPIO_LABEL(inst, gpio_pha)``
- ``DT_PROP(DT_GPIO_CTLR(DT_DRV_INST(inst), gpio_pha), label)``
* - ``DT_INST_GPIO_LABEL_BY_IDX(inst, gpio_pha, idx)``
- ``DT_PROP(DT_GPIO_CTLR_BY_IDX(DT_DRV_INST(inst), gpio_pha, idx), label)``
* - ``DT_SPI_DEV_CS_GPIOS_LABEL(spi_dev)``
- ``DT_PROP(DT_SPI_DEV_CS_GPIOS_CTLR(spi_dev), label)``
* - ``DT_INST_SPI_DEV_CS_GPIOS_LABEL(inst)``
- ``DT_PROP(DT_SPI_DEV_CS_GPIOS_CTLR(DT_DRV_INST(inst)), label)``
* - ``DT_LABEL(node_id)``
- ``DT_PROP(node_id, label)``
* - ``DT_BUS_LABEL(node_id)``
- ``DT_PROP(DT_BUS(node_id), label)``
* - ``DT_INST_LABEL(inst)``
- ``DT_INST_PROP(inst, label)``
* - ``DT_INST_BUS_LABEL(inst)``
- ``DT_PROP(DT_BUS(DT_DRV_INST(inst)), label)``
Multi-level Interrupts
======================
* For platforms that enabled :kconfig:option:`CONFIG_MULTI_LEVEL_INTERRUPTS`, the ``IRQ`` variant
of the Devicetree macros now return the as-seen value in the devicetree instead of the Zephyr
multilevel-encoded IRQ number. To get the IRQ number in Zephyr multilevel-encoded format, use
``IRQN`` variant instead. For example, consider the following devicetree:
.. code-block:: devicetree
plic: interrupt-controller@c000000 {
riscv,max-priority = <7>;
riscv,ndev = <1024>;
reg = <0x0c000000 0x04000000>;
interrupts-extended = <&hlic0 11>;
interrupt-controller;
compatible = "sifive,plic-1.0.0";
#address-cells = <0x0>;
#interrupt-cells = <0x2>;
};
uart0: uart@10000000 {
interrupts = <10 1>;
interrupt-parent = <&plic>;
clock-frequency = <0x384000>;
reg = <0x10000000 0x100>;
compatible = "ns16550";
reg-shift = <0>;
};
``plic`` is a second level interrupt aggregator and ``uart0`` is a child of ``plic``.
``DT_IRQ_BY_IDX(DT_NODELABEL(uart0), 0, irq)`` will return ``10``
(as-seen value in the devicetree), while ``DT_IRQN_BY_IDX(DT_NODELABEL(uart0), 0)`` will return
``(((10 + 1) << CONFIG_1ST_LEVEL_INTERRUPT_BITS) | 11)``.
Drivers and applications that are supposed to work in multilevel-interrupt configurations should
be updated to use the ``IRQN`` variant, i.e.:
* ``DT_IRQ(node_id, irq)`` -> ``DT_IRQN(node_id)``
* ``DT_IRQ_BY_IDX(node_id, idx, irq)`` -> ``DT_IRQN_BY_IDX(node_id, idx)``
* ``DT_IRQ_BY_NAME(node_id, name, irq)`` -> ``DT_IRQN_BY_NAME(node_id, name)``
* ``DT_INST_IRQ(inst, irq)`` -> ``DT_INST_IRQN(inst)``
* ``DT_INST_IRQ_BY_IDX(inst, idx, irq)`` -> ``DT_INST_IRQN_BY_IDX(inst, idx)``
* ``DT_INST_IRQ_BY_NAME(inst, name, irq)`` -> ``DT_INST_IRQN_BY_NAME(inst, name)``
Analog-to-Digital Converter (ADC)
=================================
* The io-channel cells of the following devicetree bindings were reduced from 2 (``positive`` and
``negative``) to the common ``input``, making it possible to use the various ADC DT macros with TI
LMP90xxx ADC devices:
* :dtcompatible:`ti,lmp90077`
* :dtcompatible:`ti,lmp90078`
* :dtcompatible:`ti,lmp90079`
* :dtcompatible:`ti,lmp90080`
* :dtcompatible:`ti,lmp90097`
* :dtcompatible:`ti,lmp90098`
* :dtcompatible:`ti,lmp90099`
* :dtcompatible:`ti,lmp90100`
* The io-channel cells of the :dtcompatible:`microchip,mcp3204` and
:dtcompatible:`microchip,mcp3208` devicetree bindings were renamed from ``channel`` to the common
``input``, making it possible to use the various ADC DT macros with Microchip MCP320x ADC devices.
Bluetooth HCI
=============
* The optional :c:func:`setup()` function in the Bluetooth HCI driver API (enabled through
:kconfig:option:`CONFIG_BT_HCI_SETUP`) has gained a function parameter of type
:c:struct:`bt_hci_setup_params`. By default, the struct is empty, but drivers can opt-in to
:kconfig:option:`CONFIG_BT_HCI_SET_PUBLIC_ADDR` if they support setting the controller's public
identity address, which will then be passed in the ``public_addr`` field.
(:github:`62994`)
* The :dtcompatible:`st,hci-spi-v1` should be used instead of :dtcompatible:`zephyr,bt-hci-spi`
for the boards which are based on ST BlueNRG-MS.
Controller Area Network (CAN)
=============================
* The native Linux SocketCAN driver, which can now be used in both :ref:`native_posix<native_posix>`
and :ref:`native_sim<native_sim>` with or without an embedded C-library, has been renamed to
reflect this:
* The devicetree compatible was renamed from ``zephyr,native-posix-linux-can`` to
:dtcompatible:`zephyr,native-linux-can`.
* The main Kconfig option was renamed from ``CONFIG_CAN_NATIVE_POSIX_LINUX`` to
:kconfig:option:`CONFIG_CAN_NATIVE_LINUX`.
* Two new structures for holding common CAN controller driver configuration (``struct
can_driver_config``) and data (``struct can_driver_data``) fields were introduced. Out-of-tree CAN
controller drivers need to be updated to use these new, common configuration and data structures
along with their initializer macros.
* The optional ``can_get_max_bitrate_t`` CAN controller driver callback was removed in favor of a
common accessor function. Out-of-tree CAN controller drivers need to be updated to no longer
supply this callback.
* The CAN transceiver API function :c:func:`can_transceiver_enable` now takes a :c:type:`can_mode_t`
argument for propagating the CAN controller operational mode to the CAN transceiver. Out-of-tree
CAN controller and CAN transceiver drivers need to be updated to match this new API function
signature.
* The ``CAN_FILTER_FDF`` flag for filtering classic CAN/CAN FD frames was removed since no known CAN
controllers implement support for this. Applications can still filter on classic CAN/CAN FD frames
in their receive callback functions as needed.
* The ``CAN_FILTER_DATA`` and ``CAN_FILTER_RTR`` flags for filtering between Data and Remote
Transmission Request (RTR) frames were removed since not all CAN controllers implement support for
individual RX filtering based on the RTR bit. Applications can now use
:kconfig:option:`CONFIG_CAN_ACCEPT_RTR` to either accept incoming RTR frames matching CAN filters
or reject all incoming CAN RTR frames (the default). When :kconfig:option:`CONFIG_CAN_ACCEPT_RTR`
is enabled, applications can still filter between Data and RTR frames in their receive callback
functions as needed.
* The :dtcompatible:`st,stm32h7-fdcan` CAN controller driver now supports configuring the
domain/kernel clock via devicetree. Previously, the driver only supported using the PLL1_Q clock
for kernel clock, but now it defaults to the HSE clock, which is the chip default. Boards that
use the PLL1_Q clock for FDCAN will need to override the ``clocks`` property as follows:
.. code-block:: devicetree
&fdcan1 {
clocks = <&rcc STM32_CLOCK_BUS_APB1_2 0x00000100>,
<&rcc STM32_SRC_PLL1_Q FDCAN_SEL(1)>;
};
Display
=======
* ILI9XXX based displays now use the MIPI DBI driver class. These displays
must now be declared within a MIPI DBI driver wrapper device, which will
manage interfacing with the display. Note that the `cmd-data-gpios` pin has
changed polarity with this update, to align better with the new
`dc-gpios` name. For an example, see below:
.. code-block:: devicetree
/* Legacy ILI9XXX display definition */
&spi2 {
ili9340: ili9340@0 {
compatible = "ilitek,ili9340";
reg = <0>;
spi-max-frequency = <32000000>;
reset-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
cmd-data-gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
rotation = <270>;
width = <320>;
height = <240>;
};
};
/* New display definition with MIPI DBI device */
mipi_dbi {
compatible = "zephyr,mipi-dbi-spi";
reset-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
dc-gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
spi-dev = <&spi2>;
#address-cells = <1>;
#size-cells = <0>;
ili9340: ili9340@0 {
compatible = "ilitek,ili9340";
reg = <0>;
mipi-max-frequency = <32000000>;
rotation = <270>;
width = <320>;
height = <240>;
};
};
Flash
=====
* The :dtcompatible:`st,stm32-ospi-nor` and :dtcompatible:`st,stm32-qspi-nor` give the nor flash
base address and size (in Bytes) with the **reg** property as follows.
The <size> property is not used anymore.
.. code-block:: devicetree
mx25lm51245: ospi-nor-flash@70000000 {
compatible = "st,stm32-ospi-nor";
reg = <0x70000000 DT_SIZE_M(64)>; /* 512 Mbits*/
};
General Purpose I/O (GPIO)
==========================
* The :dtcompatible:`nxp,pcf8574` driver has been renamed to
:dtcompatible:`nxp,pcf857x`. (:github:`67054`) to support pcf8574 and pcf8575.
The Kconfig option has been renamed from :kconfig:option:`CONFIG_GPIO_PCF8574` to
:kconfig:option:`CONFIG_GPIO_PCF857X`.
The Device Tree can be configured as follows:
.. code-block:: devicetree
&i2c {
status = "okay";
pcf8574: pcf857x@20 {
compatible = "nxp,pcf857x";
status = "okay";
reg = <0x20>;
gpio-controller;
#gpio-cells = <2>;
ngpios = <8>;
};
pcf8575: pcf857x@21 {
compatible = "nxp,pcf857x";
status = "okay";
reg = <0x21>;
gpio-controller;
#gpio-cells = <2>;
ngpios = <16>;
};
};
Input
=====
* Touchscreen drivers :dtcompatible:`focaltech,ft5336` and
:dtcompatible:`goodix,gt911` were using the incorrect polarity for the
respective ``reset-gpios``. This has been fixed so those signals now have to
be flagged as :c:macro:`GPIO_ACTIVE_LOW` in the devicetree. (:github:`64800`)
Interrupt Controller
====================
* The function signature of the ``isr_t`` callback function passed to the ``shared_irq``
interrupt controller driver API via :c:func:`shared_irq_isr_register()` has changed.
The callback now takes an additional `irq_number` parameter. Out-of-tree users of
this API will need to be updated.
(:github:`66427`)
Renesas RA Series Drivers
=========================
* Several Renesas RA series drivers Kconfig options have been renamed:
* ``CONFIG_CLOCK_CONTROL_RA`` -> :kconfig:option:`CONFIG_CLOCK_CONTROL_RENESAS_RA`
* ``CONFIG_GPIO_RA`` -> :kconfig:option:`CONFIG_GPIO_RENESAS_RA`
* ``CONFIG_PINCTRL_RA`` -> :kconfig:option:`CONFIG_PINCTRL_RENESAS_RA`
* ``CONFIG_UART_RA`` -> :kconfig:option:`CONFIG_UART_RENESAS_RA`
Sensors
=======
* The :dtcompatible:`st,lsm6dsv16x` sensor driver has been changed to support
configuration of both int1 and int2 pins. The DT attribute ``irq-gpios`` has been
removed and substituted by two new attributes, ``int1-gpios`` and ``int2-gpios``.
These attributes must be configured in the Device Tree similarly to the following
example:
.. code-block:: devicetree
/ {
lsm6dsv16x@0 {
compatible = "st,lsm6dsv16x";
int1-gpios = <&gpioa 4 GPIO_ACTIVE_HIGH>;
int2-gpios = <&gpiod 11 GPIO_ACTIVE_HIGH>;
drdy-pin = <2>;
};
};
Serial
======
* Runtime configuration is now disabled by default for Nordic UART drivers. The motivation for the
change is that this feature is rarely used and disabling it significantly reduces the memory
footprint.
Timer
=====
* The :dtcompatible:`st,stm32-lptim` lptim which is selected for counting ticks during
low power modes is identified by **stm32_lp_tick_source** in the device tree as follows.
The stm32_lptim_timer driver has been changed to support this.
.. code-block:: devicetree
stm32_lp_tick_source: &lptim1 {
status = "okay";
};
Bluetooth
*********
* ATT now has its own TX buffer pool.
If extra ATT buffers were configured using :kconfig:option:`CONFIG_BT_L2CAP_TX_BUF_COUNT`,
they now instead should be configured through :kconfig:option:`CONFIG_BT_ATT_TX_COUNT`.
* The HCI implementation for both the Host and the Controller sides has been
renamed for the IPC transport. The ``CONFIG_BT_RPMSG`` Kconfig option is now
:kconfig:option:`CONFIG_BT_HCI_IPC`, and the ``zephyr,bt-hci-rpmsg-ipc``
Devicetree chosen is now ``zephyr,bt-hci-ipc``. The existing sample has also
been renamed, from ``samples/bluetooth/hci_rpmsg`` to
``samples/bluetooth/hci_ipc``. (:github:`64391`)
* The BT GATT callback list, appended to by :c:func:`bt_gatt_cb_register`, is no longer
cleared on :c:func:`bt_enable`. Callbacks can now be registered before the initial
call to :c:func:`bt_enable`, and should no longer be re-registered after a :c:func:`bt_disable`
:c:func:`bt_enable` cycle. (:github:`63693`)
* The Bluetooth UUID has been modified to rodata in ``BT_UUID_DECLARE_16``, ``BT_UUID_DECLARE_32``
and ``BT_UUID_DECLARE_128`` as the return value has been changed to ``const``.
Any pointer to a UUID must be prefixed with ``const``, otherwise there will be a compilation
warning. For example change ``struct bt_uuid *uuid = BT_UUID_DECLARE_16(xx)`` to
``const struct bt_uuid *uuid = BT_UUID_DECLARE_16(xx)``. (:github:`66136`)
* The :c:func:`bt_l2cap_chan_send` API no longer allocates buffers from the same pool as its `buf`
parameter when segmenting SDUs into PDUs. In order to reproduce the previous behavior, the
application should register the `alloc_seg` channel callback and allocate from the same pool as
`buf`.
* The :c:func:`bt_l2cap_chan_send` API now requires the application to reserve
enough bytes for the L2CAP headers. Call ``net_buf_reserve(buf,
BT_L2CAP_SDU_CHAN_SEND_RESERVE);`` at buffer allocation time to do so.
* `BT_ISO_TIMESTAMP_NONE` has been removed and the `ts` parameter of :c:func:`bt_iso_chan_send` has
as well. :c:func:`bt_iso_chan_send` now always sends without timestamp. To send with a timestamp,
:c:func:`bt_iso_chan_send_ts` can be used.
* The ``CONFIG_BT_HCI_RESERVE`` and ``CONFIG_BT_HCI_RAW_RESERVE`` Kconfig options were removed. All
buffers get by default one byte of headroom now, which HCI transport implementations can rely on
(whether they need it or not).
Bluetooth Mesh
==============
* The Bluetooth Mesh ``model`` declaration has been changed to add prefix ``const``.
The ``model->user_data``, ``model->elem_idx`` and ``model->mod_idx`` field has been changed to
the new runtime structure, replaced by ``model->rt->user_data``, ``model->rt->elem_idx`` and
``model->rt->mod_idx`` separately. (:github:`65152`)
* The Bluetooth Mesh ``element`` declaration has been changed to add prefix ``const``.
The ``elem->addr`` field has been changed to the new runtime structure, replaced by
``elem->rt->addr``. (:github:`65388`)
* Deprecated :kconfig:option:`CONFIG_BT_MESH_PROV_DEVICE`. This option is
replaced by new option :kconfig:option:`CONFIG_BT_MESH_PROVISIONEE` to
be aligned with Mesh Protocol Specification v1.1, section 5.4. (:github:`64252`)
* Removed the ``CONFIG_BT_MESH_V1d1`` Kconfig option.
* Removed the ``CONFIG_BT_MESH_TX_SEG_RETRANS_COUNT``,
``CONFIG_BT_MESH_TX_SEG_RETRANS_TIMEOUT_UNICAST``,
``CONFIG_BT_MESH_TX_SEG_RETRANS_TIMEOUT_GROUP``, ``CONFIG_BT_MESH_SEG_ACK_BASE_TIMEOUT``,
``CONFIG_BT_MESH_SEG_ACK_PER_HOP_TIMEOUT``, ``BT_MESH_SEG_ACK_PER_SEGMENT_TIMEOUT``
Kconfig options. They are superseded by the
:kconfig:option:`CONFIG_BT_MESH_SAR_TX_SEG_INT_STEP`,
:kconfig:option:`CONFIG_BT_MESH_SAR_TX_UNICAST_RETRANS_COUNT`,
:kconfig:option:`CONFIG_BT_MESH_SAR_TX_UNICAST_RETRANS_WITHOUT_PROG_COUNT`,
:kconfig:option:`CONFIG_BT_MESH_SAR_TX_UNICAST_RETRANS_INT_STEP`,
:kconfig:option:`CONFIG_BT_MESH_SAR_TX_UNICAST_RETRANS_INT_INC`,
:kconfig:option:`CONFIG_BT_MESH_SAR_TX_MULTICAST_RETRANS_COUNT`,
:kconfig:option:`CONFIG_BT_MESH_SAR_TX_MULTICAST_RETRANS_INT`,
:kconfig:option:`CONFIG_BT_MESH_SAR_RX_SEG_THRESHOLD`,
:kconfig:option:`CONFIG_BT_MESH_SAR_RX_ACK_DELAY_INC`,
:kconfig:option:`CONFIG_BT_MESH_SAR_RX_SEG_INT_STEP`,
:kconfig:option:`CONFIG_BT_MESH_SAR_RX_DISCARD_TIMEOUT`,
:kconfig:option:`CONFIG_BT_MESH_SAR_RX_ACK_RETRANS_COUNT` Kconfig options.
Bluetooth Audio
===============
* The ``BT_AUDIO_CODEC_LC3_*`` values from ``<zephyr/bluetooth/audio/lc3.h>`` have moved to
``<zephyr/bluetooth/audio/audio.h>`` and have the ``LC3`` part of their names replaced by a
more semantically correct name: e.g.
``BT_AUDIO_CODEC_LC3_CHAN_COUNT`` is now ``BT_AUDIO_CODEC_CAP_TYPE_CHAN_COUNT``,
``BT_AUDIO_CODEC_LC3_FREQ`` is now ``BT_AUDIO_CODEC_CAP_TYPE_FREQ``, and
``BT_AUDIO_CODEC_CONFIG_LC3_FREQ`` is now ``BT_AUDIO_CODEC_CFG_FREQ``, etc.
Similarly the enumerations have also been renamed.
E.g. ``bt_audio_codec_config_freq`` is now ``bt_audio_codec_cfg_freq``,
``bt_audio_codec_capability_type`` is now ``bt_audio_codec_cap_type``,
``bt_audio_codec_config_type`` is now ``bt_audio_codec_cfg_type``, etc. (:github:`67024`)
* The `ts` parameter of :c:func:`bt_bap_stream_send` has been removed.
:c:func:`bt_bap_stream_send` now always sends without timestamp.
To send with a timestamp, :c:func:`bt_bap_stream_send_ts` can be used.
* The `ts` parameter of :c:func:`bt_cap_stream_send` has been removed.
:c:func:`bt_cap_stream_send` now always sends without timestamp.
To send with a timestamp, :c:func:`bt_cap_stream_send_ts` can be used.
Networking
**********
* The CoAP public API has some minor changes to take into account. The
:c:func:`coap_remove_observer` now returns a result if the observer was removed. This
change is used by the newly introduced :ref:`coap_server_interface` subsystem. Also, the
``request`` argument for :c:func:`coap_well_known_core_get` is made ``const``.
(:github:`64265`)
* CoAP observer events have moved from a callback function in a CoAP resource to the Network Events
subsystem. The ``CONFIG_COAP_OBSERVER_EVENTS`` configuration option has been removed.
(:github:`65936`)
* The CoAP public API function :c:func:`coap_pending_init` has changed. The parameter
``retries`` is replaced with a pointer to :c:struct:`coap_transmission_parameters`. This allows to
specify retransmission parameters of the confirmable message. It is safe to pass a NULL pointer to
use default values.
(:github:`66482`)
* The CoAP public API functions :c:func:`coap_service_send` and :c:func:`coap_resource_send` have
changed. An additional parameter pointer to :c:struct:`coap_transmission_parameters` has been
added. It is safe to pass a NULL pointer to use default values. (:github:`66540`)
* The IGMP multicast library now supports IGMPv3. This results in a minor change to the existing
api. The :c:func:`net_ipv4_igmp_join` now takes an additional argument of the type
``const struct igmp_param *param``. This allows IGMPv3 to exclude/include certain groups of
addresses. If this functionality is not used or available (when using IGMPv2), you can safely pass
a NULL pointer. IGMPv3 can be enabled using the Kconfig ``CONFIG_NET_IPV4_IGMPV3``.
(:github:`65293`)
* The network stack now uses a separate IPv4 TTL (time-to-live) value for multicast packets.
Before, the same TTL value was used for unicast and multicast packets.
The IPv6 hop limit value is also changed so that unicast and multicast packets can have a
different one. (:github:`65886`)
* The Ethernet phy APIs defined in ``<zephyr/net/phy.h>`` are removed from syscall list.
The APIs were marked as callable from usermode but in practice this does not work as the device
cannot be accessed from usermode thread. This means that the API calls will need to made
from supervisor mode thread.
* The zperf ratio between mbps and kbps, kbps and bps is changed to 1000, instead of 1024,
to align with iperf ratios.
* For network buffer pools maximum allocation size was added to a common structure
``struct net_buf_data_alloc`` as a new field ``max_alloc_size``. Similar member ``data_size`` of
``struct net_buf_pool_fixed`` that was specific only for buffer pools with a fixed size was
removed.
Other Subsystems
****************
LoRaWAN
=======
* The API to register a callback to provide battery level information to the LoRaWAN stack has been
renamed from ``lorawan_set_battery_level_callback`` to
:c:func:`lorawan_register_battery_level_callback` and the return type is now ``void``. This
is more consistent with similar functions for downlink and data rate changed callbacks.
(:github:`65103`)
MCUmgr
======
* MCUmgr applications that make use of serial transports (shell or UART) must now select
:kconfig:option:`CONFIG_CRC`, this was previously erroneously selected if MCUmgr was enabled,
when for non-serial transports it was not needed. (:github:`64078`)
Shell
=====
* The following subsystem and driver shell modules are now disabled by default. Each required shell
module must now be explicitly enabled via Kconfig (:github:`65307`):
* :kconfig:option:`CONFIG_ACPI_SHELL`
* :kconfig:option:`CONFIG_ADC_SHELL`
* :kconfig:option:`CONFIG_AUDIO_CODEC_SHELL`
* :kconfig:option:`CONFIG_CAN_SHELL`
* :kconfig:option:`CONFIG_CLOCK_CONTROL_NRF_SHELL`
* :kconfig:option:`CONFIG_DAC_SHELL`
* :kconfig:option:`CONFIG_DEBUG_COREDUMP_SHELL`
* :kconfig:option:`CONFIG_EDAC_SHELL`
* :kconfig:option:`CONFIG_EEPROM_SHELL`
* :kconfig:option:`CONFIG_FLASH_SHELL`
* :kconfig:option:`CONFIG_HWINFO_SHELL`
* :kconfig:option:`CONFIG_I2C_SHELL`
* :kconfig:option:`CONFIG_LOG_CMDS`
* :kconfig:option:`CONFIG_LORA_SHELL`
* :kconfig:option:`CONFIG_MCUBOOT_SHELL`
* :kconfig:option:`CONFIG_MDIO_SHELL`
* :kconfig:option:`CONFIG_OPENTHREAD_SHELL`
* :kconfig:option:`CONFIG_PCIE_SHELL`
* :kconfig:option:`CONFIG_PSCI_SHELL`
* :kconfig:option:`CONFIG_PWM_SHELL`
* :kconfig:option:`CONFIG_REGULATOR_SHELL`
* :kconfig:option:`CONFIG_SENSOR_SHELL`
* :kconfig:option:`CONFIG_SMBUS_SHELL`
* :kconfig:option:`CONFIG_STATS_SHELL`
* :kconfig:option:`CONFIG_USBD_SHELL`
* :kconfig:option:`CONFIG_USBH_SHELL`
* :kconfig:option:`CONFIG_W1_SHELL`
* :kconfig:option:`CONFIG_WDT_SHELL`
* The ``SHELL_UART_DEFINE`` macro now only requires a ``_name`` argument. In the meantime, the
macro accepts additional arguments (ring buffer TX & RX size arguments) for compatibility with
previous Zephyr version, but they are ignored, and will be removed in future release.
* :kconfig:option:`CONFIG_SHELL_BACKEND_SERIAL_API` now does not automatically default to
:kconfig:option:`CONFIG_SHELL_BACKEND_SERIAL_API_ASYNC` when
:kconfig:option:`CONFIG_UART_ASYNC_API` is enabled, :kconfig:option:`CONFIG_SHELL_ASYNC_API`
also has to be enabled in order to use the asynchronous serial shell (:github:`68475`).
ZBus
====
* The ``CONFIG_ZBUS_MSG_SUBSCRIBER_NET_BUF_DYNAMIC`` and
``CONFIG_ZBUS_MSG_SUBSCRIBER_NET_BUF_STATIC`` zbus options are renamed. Instead, the new
:kconfig:option:`CONFIG_ZBUS_MSG_SUBSCRIBER_BUF_ALLOC_DYNAMIC` and
:kconfig:option:`CONFIG_ZBUS_MSG_SUBSCRIBER_BUF_ALLOC_STATIC` options should be used.
(:github:`65632`)
* To enable the zbus HLP priority boost, the developer must call the
:c:func:`zbus_obs_attach_to_thread` inside the attaching thread. The observer will then assume the
attached thread priority which will be used by zbus to calculate HLP priority. (:github:`63183`)
Userspace
*********
* A number of userspace related functions have been moved out of the ``z_`` namespace
and into the kernel namespace.
* ``Z_OOPS`` to :c:macro:`K_OOPS`
* ``Z_SYSCALL_MEMORY`` to :c:macro:`K_SYSCALL_MEMORY`
* ``Z_SYSCALL_MEMORY_READ`` to :c:macro:`K_SYSCALL_MEMORY_READ`
* ``Z_SYSCALL_MEMORY_WRITE`` to :c:macro:`K_SYSCALL_MEMORY_WRITE`
* ``Z_SYSCALL_DRIVER_OP`` to :c:macro:`K_SYSCALL_DRIVER_OP`
* ``Z_SYSCALL_SPECIFIC_DRIVER`` to :c:macro:`K_SYSCALL_SPECIFIC_DRIVER`
* ``Z_SYSCALL_OBJ`` to :c:macro:`K_SYSCALL_OBJ`
* ``Z_SYSCALL_OBJ_INIT`` to :c:macro:`K_SYSCALL_OBJ_INIT`
* ``Z_SYSCALL_OBJ_NEVER_INIT`` to :c:macro:`K_SYSCALL_OBJ_NEVER_INIT`
* ``z_user_from_copy`` to :c:func:`k_usermode_from_copy`
* ``z_user_to_copy`` to :c:func:`k_usermode_to_copy`
* ``z_user_string_copy`` to :c:func:`k_usermode_string_copy`
* ``z_user_string_alloc_copy`` to :c:func:`k_usermode_string_alloc_copy`
* ``z_user_alloc_from_copy`` to :c:func:`k_usermode_alloc_from_copy`
* ``z_user_string_nlen`` to :c:func:`k_usermode_string_nlen`
* ``z_dump_object_error`` to :c:func:`k_object_dump_error`
* ``z_object_validate`` to :c:func:`k_object_validate`
* ``z_object_find`` to :c:func:`k_object_find`
* ``z_object_wordlist_foreach`` to :c:func:`k_object_wordlist_foreach`
* ``z_thread_perms_inherit`` to :c:func:`k_thread_perms_inherit`
* ``z_thread_perms_set`` to :c:func:`k_thread_perms_set`
* ``z_thread_perms_clear`` to :c:func:`k_thread_perms_clear`
* ``z_thread_perms_all_clear`` to :c:func:`k_thread_perms_all_clear`
* ``z_object_uninit`` to :c:func:`k_object_uninit`
* ``z_object_recycle`` to :c:func:`k_object_recycle`
* ``z_obj_validation_check`` to :c:func:`k_object_validation_check`
* ``Z_SYSCALL_VERIFY_MSG`` to :c:macro:`K_SYSCALL_VERIFY_MSG`
* ``z_object`` to :c:struct:`k_object`
* ``z_object_init`` to :c:func:`k_object_init`
* ``z_dynamic_object_aligned_create`` to :c:func:`k_object_create_dynamic_aligned`
Architectures
*************
Xtensa
======
* :kconfig:option:`CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC` no longer has a default in
the architecture layer. Instead, SoCs or boards will need to define it.
* Scratch registers ``ZSR_ALLOCA`` has been renamed to ``ZSR_A0SAVE``.
* Renamed files with hyhphens to underscores:
* ``xtensa-asm2-context.h`` to ``xtensa_asm2_context.h``
* ``xtensa-asm2-s.h`` to ``xtensa_asm2_s.h``
* ``xtensa_asm2.h`` has been removed. Use ``xtensa_asm2_context.h`` instead for
stack frame structs.
* Renamed functions out of ``z_`` namespace into ``xtensa_`` namespace.
* ``z_xtensa_irq_enable`` to :c:func:`xtensa_irq_enable`
* ``z_xtensa_irq_disable`` to :c:func:`xtensa_irq_disable`
* ``z_xtensa_irq_is_enabled`` to :c:func:`xtensa_irq_is_enabled`
``` | /content/code_sandbox/doc/releases/migration-guide-3.6.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 8,760 |
```restructuredtext
.. _zephyr_release_notes:
Releases
########
Zephyr project is provided as source code and build scripts for different target
architectures and configurations, and not as a binary image. Updated versions of
the Zephyr project are released approximately every four months.
All Zephyr project source code is maintained in a `GitHub repository`_. In order
to use a released version of the Zephyr project, it is recommended that you use
:ref:`west` to :ref:`get_the_code` of the release you are interested in.
The technical documentation for current and past releases is available at
path_to_url (use the version selector to select your release
of interest).
.. _zephyr_release_cycle:
Release Life Cycle and Maintenance
**********************************
Periodic Releases
=================
The Zephyr project provides periodic releases every 4 months leading to the
long term support releases approximately every 2 years. Periodic and non-LTS
releases are maintained with updates, bug fixes and security related updates
for at least two cycles, meaning that the project supports the most recent two
releases in addition to the most recent LTS.
Long Term Support and Maintenance
=================================
A Zephyr :ref:`Long Term Support (LTS) <release_process_lts>` release is
published every 2 years and is branched and maintained independently from the
main tree for at least 2.5 years after it was released.
Support and maintenance for an LTS release stops at least half a year
after the following LTS release is published.
Security Fixes
==============
Each security issue fixed within Zephyr is backported or submitted to the
following releases:
- Currently supported Long Term Support (LTS) release.
- The most recent two releases.
For more information, see :ref:`Security Vulnerability Reporting <reporting>`.
Supported Releases
******************
+-----------------+----------------+---------------+
| Release | Release date | EOL |
+=================+================+===============+
| `Zephyr 2.7.6`_ | 2024-03-01 | 2025-01-26 |
+-----------------+----------------+---------------+
| `Zephyr 3.7.0`_ | 2024-07-26 | 2027-01-26 |
+-----------------+----------------+---------------+
| `Zephyr 3.6.0`_ | 2024-02-23 | 2024-11-29 |
+-----------------+----------------+---------------+
As of 2022-01-01, LTS1 (1.14.x) is not supported and has reached end of life (EOL).
Release Notes
*************
Release notes contain a list of changes that have been made to the different
areas of the project during the development cycle of the release.
Changes that require the user to modify their own application to support the new
release may be mentioned in the release notes, but the details regarding `what`
needs to be changed are to be detailed in the release's migration guide.
.. toctree::
:maxdepth: 1
:glob:
:reversed:
eol_releases
release-notes-2.7
release-notes-3.[6-7]
release-notes-4.0
Migration Guides
****************
Zephyr provides migration guides for all major releases, in order to assist
users transition from the previous release.
As mentioned in the previous section, changes in the code that require an action
(i.e. a modification of the source code or configuration files) on the part of
the user in order to keep the existing behavior of their application belong in
in the migration guide. This includes:
- Breaking API changes
- Deprecations
- Devicetree or Kconfig changes that affect the user (changes to defaults,
renames, etc)
- Treewide changes that have an effect (e.g. changing the include path or
defaulting to a different C standard library)
- Anything else that can affect the compilation or runtime behavior of an
existing application
Each entry in the migration guide must include a brief explanation of the change
as well as refer to the Pull Request that introduced it, in order for the user
to be able to understand the context of the change.
.. toctree::
:maxdepth: 1
:glob:
:reversed:
migration-guide-*
.. _`GitHub repository`: path_to_url
.. _`GitHub tagged releases`: path_to_url
.. _`Zephyr 2.7.6`: path_to_url
.. _`Zephyr 3.6.0`: path_to_url
.. _`Zephyr 3.7.0`: path_to_url
``` | /content/code_sandbox/doc/releases/index.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,010 |
```restructuredtext
:orphan:
.. _zephyr_2.2:
.. _zephyr_2.2.1:
Zephyr 2.2.1
#############
This is a maintenance release for Zephyr 2.2 with fixes.
See :ref:`zephyr_2.2.0` for the previous version release notes.
Security Vulnerability Related
******************************
The following security vulnerabilities (CVE) were addressed in this release:
* Fix CVE-2020-10028
* Fix CVE-2020-10060
* Fix CVE-2020-10063
* Fix CVE-2020-10066
More detailed information can be found in:
path_to_url
Issues Fixed
************
These GitHub issues were addressed since the previous 2.2.0 tagged
release:
* :github:`23494` - Bluetooth: LL/PAC/SLA/BV-01-C fails if Slave-initiated Feature Exchange is disabled
* :github:`23485` - BT: host: Service Change indication sent regardless of whether it is needed or not.
* :github:`23482` - 2M PHY + DLE and timing calculations on an encrypted link are wrong
* :github:`23070` - Bluetooth: controller: Fix ticker implementation to avoid catch up
* :github:`22967` - Bluetooth: controller: ASSERTION FAIL on invalid packet sequence
* :github:`24183` - [v2.2] Bluetooth: controller: split: Regression slave latency during connection update
* :github:`23805` - Bluetooth: controller: Switching to non conn adv fails for Mesh LPN
* :github:`24086` - Bluetooth: SMP: Existing bond deleted on pairing failure
* :github:`24211` - [v2.2.x] lib: updatehub: Not working on Zephyr 2.x
* :github:`24601` - Bluetooth: Mesh: Config Client's net_key_status pulls two key indexes, should pull one.
* :github:`25067` - Insufficient ticker nodes for vendor implementations
* :github:`25350` - Bluetooth: controller: Data transmission delayed by slave latency
* :github:`25483` - Bluetooth: controller: split: feature exchange not conform V5.0 core spec
* :github:`25478` - settings_runtime_set() not populating bt/cf
* :github:`25447` - cf_set() returns 0 when no cfg is available
.. _zephyr_2.2.0:
Zephyr 2.2.0
############
We are pleased to announce the release of Zephyr RTOS version 2.2.0.
Major enhancements with this release include:
* We added initial support for 64-bit ARMv8-A architecture (Experimental).
* CANopen protocol support through 3rd party CANopenNode stack
* LoRa support was added through integration of the Semtech LoRaWAN endpoint
stack and addition of a new SX1276 LoRa modem driver.
The following sections provide detailed lists of changes by component.
Security Vulnerability Related
******************************
The following security vulnerabilities (CVEs) were addressed in this release:
* Fix CVE-2020-10019
* Fix CVE-2020-10021
* Fix CVE-2020-10023
* Fix CVE-2020-10024
* Fix CVE-2020-10026
* Fix CVE-2020-10027
* Fix CVE-2020-10028
* Fix CVE-2020-10058
More detailed information can be found in:
path_to_url
API Changes
***********
Deprecated in this release
==========================
* Settings
* SETTINGS_USE_BASE64, encoding values in base64 is marked for removal.
Stable API changes in this release
==================================
* GPIO
* GPIO API has been reworked to support flags known from Linux DTS GPIO
bindings. They will typically be defined in the board DTS file
- GPIO_ACTIVE_LOW, GPIO_ACTIVE_HIGH used to set pin active level
- GPIO_OPEN_DRAIN, GPIO_OPEN_SOURCE used to configure pin as open drain or
open source
- GPIO_PULL_UP, GPIO_PULL_DOWN used to configure pin bias
* Reading / writing of pin logical level is supported by gpio_pin_get,
gpio_pin_set functions.
* Reading / writing of pin physical level is supported by gpio_pin_get_raw,
gpio_pin_set_raw functions.
* New set of port functions that operate simultaneously on multiple pins
that belong to the same controller.
* Interrupts should be configured by a dedicated
gpio_pin_interrupt_configure() function. Configuring interrupts via
gpio_pin_configure() is still supported but this feature will be removed
in future releases.
* New set of flags allows to set arbitrary interrupt configuration (if
supported by the driver) based on pin physical or logical levels.
* New set of flags to configure pin as input, output or in/out as well as set
output initial state.
* Majority of the old GPIO API has been deprecated. While the care was taken
to preserve backward compatibility due to the scope of the work it was not
possible to fully achieve this goal. We recommend to switch to the new GPIO
API as soon as possible.
* Areas where the deprecated API may behave differently to the original old
implementation are:
- Configuration of pin interrupts, especially involving GPIO_INT_ACTIVE_LOW
and GPIO_POL_INV flags.
- Behavior of gpio_pin_configure() when invoked without interrupt related
flags. In the new implementation of this deprecated functionality the
interrupts remain unmodified. In the original implementation some of the
GPIO drivers would disable the interrupts.
* Several drivers that rely on the functionality provided by the GPIO API
were reworked to honor pin active level. Any external users of these
drivers will have to update their DTS board files.
- bluetooth/hci/spi.c
- display/display_ili9340.c
- display/ssd1306.c
- ieee802154/ieee802154_mcr20a.c
- ieee802154/ieee802154_rf2xx.c
- lora/sx1276.c
- wifi/eswifi/eswifi_core.c
- majority of the sensor drivers
* PWM
* The pwm_pin_set_cycles(), pwm_pin_set_usec(), and
pwm_pin_set_nsec() functions now take a flags parameter. The newly
introduced flags are PWM_POLARITY_NORMAL and PWM_POLARITY_INVERTED
for specifying the polarity of the PWM signal. The flags parameter
can be set to 0 if no flags are required (the default is
PWM_POLARITY_NORMAL).
* Similarly, the pwm_pin_set_t PWM driver API function function now
takes a flags parameter. The PWM controller driver must check the
value of the flags parameter and return -ENOTSUP if any
unsupported flag is set.
* USB
* The usb_enable() function, which was previously invoked automatically
by the USB stack, now needs to be explicitly called by the application
in order to enable the USB subsystem.
* The usb_enable() function now takes a parameter, usb_dc_status_callback
which can be set by the application to a callback to receive status events
from the USB stack. The parameter can also be set to NULL if no callback is required.
* nRF flash driver
* The nRF Flash driver has changed its default write block size to 32-bit
aligned. Previous emulation of 8-bit write block size can be selected using
the CONFIG_SOC_FLASH_NRF_EMULATE_ONE_BYTE_WRITE_ACCESS Kconfig option.
Usage of 8-bit write block size emulation is only recommended for
compatibility with older storage contents.
* Clock control
* The callback prototype (clock_control_cb_t) has now additional argument
(clock_control_subsys_t) indicating which clock subsystem got started.
Removed APIs in this release
============================
* Shell
* SHELL_CREATE_STATIC_SUBCMD_SET (deprecated), replaced by
SHELL_STATIC_SUBCMD_SET_CREATE
* SHELL_CREATE_DYNAMIC_CMD (deprecated), replaced by SHELL_DYNAMIC_CMD_CREATE
* Newtron Flash File System (NFFS) was removed. NFFS was removed since it has
serious issues, not fixed since a long time. Where it was possible
NFFS usage was replaced by LittleFS usage as the better substitute.
Kernel
******
* Addressed some race conditions observed on SMP-enabled systems
* Propagate a distinct error code if a workqueue item is submitted that
has already been completed
* Disable preemption when handing fatal errors
* Fix an issue with the system call stack frame if the system call is
preempted and then later tries to Z_OOPS()
* add k_thread_stack_space_get() system call for analyzing thread stack
space. Older methods which had problems in some cases or on some
architectures like STACK_ANALYZE() are now deprecated.
* Many kernel object APIs now optionally return runtime error values
instead of relying on assertions. Whether these return values, fail
assertions, or do no checking at all is controlled by the new
Kconfig options ASSERT_ON_ERRORS, NO_RUNTIME_CHECKS, RUNTIME_ERROR_CHECKS.
* Cleanups to the arch_cpu_start() API
* Spinlock validation now dumps the address of the incorrectly used spinlock
* Various improvements to the assertion mechanism
* k_poll() may be passed 0 events, in which case it just puts the caller to
sleep
* Add k_thread_foreach_unlocked() API
* Add an assertion if k_sleep() is called from an ISR
* Numerous 64-bit fixes, mostly related to data type sizes
* k_mutex_unlock() is now correctly a rescheduling point
* Calling k_thread_suspend() on the current thread now correctly invokes
the scheduler
* Calling k_thread_suspend() on any thread cancels any pending timeouts for
that thread
* Fix edge case in meta-IRQ preemption of co-operative threads
Architectures
*************
* ARC:
* Fixed several irq-handling related issues
* ARM:
* Added initial support for ARMv8-A 64-bit architecture (Experimental)
* Added support for Direct Dynamic Interrupts in ARM Cortex-M
* Fixed several critical bugs in ARM Cortex-R architecture port
* Fixed several critical bugs in Stack Limit checking for ARMv8-M
* Added QEMU emulation support for ARM Cortex-A53
* Enhanced QEMU emulation support for ARM Cortex-R architecture
* Enhanced test coverage for ARM-specific kernel features
* Added support for GIC SGI and PPI interrupt types
* Refactored GIC driver to support multiple GIC versions
* POSIX:
* N/A
* RISC-V:
* N/A
* x86:
* Fix an issue with Kconfig values larger than INT_MAX
* Fix an issue where callee-saved registers could be unnecessarily
saved on the stack when handling exceptions on x86_64
* Fix a potential race with saving RFLAGS on context switch on x86_64
* Enable 64-bit mode and X2APIC for the 'acrn' target
* Add a poison value of 0xB9 to RIP if a thread is dispatched on multiple
cores
* Implement CONFIG_USERSPACE on x86_64
* Fix an issue where reserved memory could be overwritten when loading the
Zephyr image on qemu_x86_64
* x86_64 will now exit QEMU when encountering a fatal error, much like
32-bit already does
* Cleanups and improvements to exception debug messages
Boards & SoC Support
********************
* Added support for these SoC series:
.. rst-class:: rst-columns
* Atmel SAM4E
* Atmel SAMV71
* Broadcom BCM58400
* NXP i.MX RT1011
* Silicon Labs EFM32GG11B
* Silicon Labs EFM32JG12B
* ST STM32F098xx
* ST STM32F100XX
* ST STM32F767ZI
* ST STM32L152RET6
* ST STM32L452XC
* ST STM32G031
* Intel Apollolake Audio DSP
* Added support for these Xtensa boards:
.. rst-class:: rst-columns
* Up Squared board Audio DSP
* Added support for these ARM boards:
.. rst-class:: rst-columns
* Atmel SAM 4E Xplained Pro
* Atmel SAM E54 Xplained Pro
* Atmel SAM V71 Xplained Ultra
* Broadcom BCM958401M2
* Cortex-A53 Emulation (QEMU)
* Google Kukui EC
* NXP i.MX RT1010 Evaluation Kit
* Silicon Labs EFM32 Giant Gecko GG11
* Silicon Labs EFM32 Jade Gecko
* ST Nucleo F767ZI
* ST Nucleo G474RE
* ST Nucleo L152RE
* ST Nucleo L452RE
* ST STM32G0316-DISCO Discovery kit
* ST STM32VLDISCOVERY
* Removed support for these ARM boards:
.. rst-class:: rst-columns
* TI CC2650
* Added support for these following shields:
.. rst-class:: rst-columns
* ST7789V Display generic shield
* TI LMP90100 Sensor Analog Frontend (AFE) Evaluation Board (EVB)
* Removed support for these following shields:
.. rst-class:: rst-columns
* Link board CAN
Drivers and Sensors
*******************
* ADC
* Added LMP90xxx driver with GPIO
* Audio
* N/A
* Bluetooth
* Update SPI driver to new GPIO API
* Minor fixes to H:5 (Three-wire UART) driver
* CAN
* Support for CAN_2 on STM32, but no simultaneous use of CAN_1 and CAN_2.
* Support for STM32F3 and STM32F4 series
* Added SocketCAN support to mcux flexcan driver
* Fixed bit timing conversion in stm32 driver
* Introduced can-primary device tree alias
* Clock Control
* Modified driver for nRF platform to use single device with multiple
subsystems, one for each clock source.
* Console
* N/A
* Counter
* The counter_read() API function is deprecated in favor of
counter_get_value(). The new API function adds a return value for
indicating whether the counter was read successfully.
* Added missing syscalls
* Crypto
* Added AES GCM, ECB, and CBC support to crypto_mtls_shim
* Added stm32 CRYP driver
* Debug
* N/A
* Display
* Added generic display driver sample
* Added support for BGR565 pixel format
* Added support for LVGL v6.1
* Introduced KSCAN based ft5336 touch panel driver
* Added support for LVGL touch input device
* DMA
* dw: renaming cavs drivers into DesignWare
* stm32: improvements over channels support
* EEPROM
* Added EEPROM driver for STM32L0 and STM32L1 SoC series
* Added EEPROM simulator (replacing native_posix EEPROM driver)
* Entropy
* Added support for sam0
* Added LiteX PRBS module driver
* ESPI
* N/A
* Ethernet
* Support for SiLabs Giant Gecko GG11 Ethernet driver
* Fixed Ethernet networking for LiteX VexRiscv
* Flash
* Added Nordic JEDEC QSPI NOR flash driver
* Unified native_posix flash driver with drivers/flash/flash_simulator
* fixed: erase native_posix flash in initialization
* extend MCUX flash drive to support LPC55xxx devices
* stm32: Replace register accesses for Flash driver to use STM32Cube
* Nios2: qspi unaligned read support
* sam0: Add support for SAME54
* Added the flash driver of the stm32f1x family
* GPIO
* Updated all drivers to the new API
* Added LiteX GPIO driver
* Hardware Info
* N/A
* I2C
* Enabled interrupts by default in stm32 driver
* Added I2C shell with scan command
* Added LiteX I2C controller driver
* Added STM32G0X support to stm32 driver
* Added support for bus idle timeout property to mcux lpspi driver
* Added support for SAME54 to sam0 driver
* I2S
* N/A
* IEEE 802.15.4
* Add support for IEEE 802.15.4 rf2xxx driver
* Interrupt Controller
* Added support for multiple GIC versions
* Renamed s1000 driver to cavs
* Added SweRV Programmable Interrupt Controller driver
* Fixed invalid channel bug for RV32M1 interrupt controller
* IPM
* N/A
* Keyboard Scan
* Added ft5336 touch panel driver
* LED
* N/A
* LED Strip
* Fixed up ws2812 driver
* LoRa
* Added APIs and drivers needed to support LoRa technology by reusing the
LoRaMac-node library.
* Modem
* Add support for generic GSM modem
* Neural Net
* N/A
* PCIe
* N/A
* Pinmux
* Removed CC2650 driver
* PS/2
* N/A
* PTP Clock
* N/A
* PWM
* Added RV32M1 timer/PWM driver
* Added LiteX PWM peripheral driver
* Added support for intverted PWM signals
* Sensor
* Fixed DRDY interrupt in lis3mdl driver
* Added nxp kinetis temperature sensor driver
* Reworked ccs811 driver
* Fixed tmp007 driver to use i2c_burst_read
* Introduced sensor shell module
* Added ms5607 driver
* Serial
* nRF UARTE driver support TX only mode with receiver permanently disabled.
* Enabled shared interrupts support in uart_pl011 driver
* Implemented configure API in ns16550 driver
* Removed cc2650 driver
* Added async API system calls
* SPI
* Added support for samv71 to sam driver
* Added support for same54 support to sam0 driver
* Added PM busy state support in DW driver
* Added Gecko SPI driver
* Added mcux flexcomm driver
* Timer
* Optimized reads of MTIME/MTIMECMP on 64-bit RISC-V
* Added per-core ARM architected timer driver
* Added support for same54 to sam0 rtc timer driver
* USB
* Add support for SAMV71 SoC
* Add support for SAME54 SoC
* Extend USB device support to all NXP IMX RT boards
* Video
* N/A
* Watchdog
* Added SiLabs Gecko watchdog driver
* Added system calls
* Fixed callback call on stm32 wwdg enable
* WiFi
* Reworked offloading mechanism in eswifi and simplelink drivers
Networking
**********
* Add support to configure OpenThread Sleepy End Device (SED)
* Add 64-bit support to net_buf APIs
* Add support for IEEE 802.15.4 rf2xxx driver
* Add TLS secure renegotiation support
* Add support for Timestamp and Record Route IPv4 options.
They are only used for ICMPv4 Echo-Request packets.
* Add sample cloud application that shows how to connect to Azure cloud
* Add optional timestamp resource to some of the LWM2M IPSO objects
* Add support to poll() which can now return immediately when POLLOUT is set
* Add support to PPP for enabling connection setup to Windows
* Add signed certificate support to echo-server sample application
* Add support for handling multiple simultaneous mDNS requests
* Add support for SiLabs Giant Gecko GG11 Ethernet driver
* Add support for generic GSM modem which uses PPP to connect to data network
* Add UTC offset and timezone support to LWM2M
* Add RX time statistics support to packet socket
* Update ACK handling in IEEE 802.154 nrf5 driver and OpenThread
* Update MQTT PINGREQ count handling
* Update wpan_serial sample to support more boards
* Update Ethernet e1000 driver debugging prints
* Update OpenThread to use settings subsystem
* Update IPv6 to use interface prefix in routing
* Update socket offloading support to support multiple registered interfaces
* Fix checks when waiting network interface to come up in configuration
* Fix zperf sample issue when running out of network buffers
* Fix PPP IPv4 Control Protocol (IPCP) handling
* Fix native_posix Ethernet driver to read data faster
* Fix PPP option handling
* Fix MQTT to close connection faster
* Fix 6lo memory corruption during uncompression
* Fix echo-server sample application accept handling
* Fix Websocket to receive data in small chunks
* Fix Virtual LAN (VLAN) support to add link local address to network interface
* Various fixes to new TCP stack implementation
* Remove NATS sample application
CAN Bus
*******
* CANopen protocol support through 3rd party CANopenNode stack.
* Added native ISO-TP subsystem.
* Introduced CAN-PRIMARY alias.
* SocketCAN for MCUX flexcan.
Bluetooth
*********
* Host:
* GAP: Add dynamic LE scan listener API
* GAP: Pre-allocate connection objects for connectable advertising and
whitelist initiator.
* GAP: Fixes for multi-identity support
* GAP: RPA timeout handling fixes
* GAP: Add remote version information
* GATT: Add return value to cfg_write callback
* L2CAP: move channel processing to the system workqueue
* L2CAP: multiple fixes for credit-based flowcontrol
* SMP: Add pairing_accept callback
* SMP: Fix Security Manager timeout handling
* Mesh:
* Add support for Mesh Configuration Database
* Multiple fixes to Friendship feature
* Add support for sending segmented control messages
* Add support for sending reliable model publication messages
* BLE split software Controller:
* Multiple fixes, including all those required to pass qualification
* Implemented software-deferred privacy for platforms without built-in
address resolution support
* Added dynamic TX power control, including a set of vendor-specific commands
to read and write the TX power
* Added a Kconfig option, BT_CTLR_PARAM_CHECK, to enable additional parameter
checking
* Added basic support for SMI (Stable Modulation Index)
* Ticker: Implemented dynamic rescheduling
* Nordic: switched to using a single clock device for clock control
* openisa: Added encryption and decryption support
* BLE legacy software Controller:
* Multiple fixes
* Added dynamic TX power control support
USB Device Stack
****************
* Stack:
* API: Add support for user device status callback
* Rework switching to alternate interface
* Make USB Descriptor power options configurable
* Derive USB device Serial Number String from HWINFO (required by USB MSC)
* Move USB transfer functions to appropriate file as preparation for
the rework
* Windows OS compatibility: Set USB version to 2.1 when using BOS descriptor
* Convert VBUS control to new GPIO API
* Classes:
* CDC ACM: Memory and performance improvements, avoid ZLP during IN transactions
* DFU: Limit upload length during DFU_UPLOAD to the request buffer size
* Loopback: Re-trigger usb_write after interface configuration event
Build and Infrastructure
************************
* The minimum Python version supported by Zephyr's build system and tools is
now 3.6.
* Renamed :file:`generated_dts_board.h` and :file:`generated_dts_board.conf` to
:file:`devicetree.h` and :file:`devicetree.conf`, along with various related
identifiers. Including :file:`generated_dts_board.h` now generates a warning
saying to include :file:`devicetree.h` instead.
Libraries / Subsystems
***********************
* LoRa
* LoRa support was added through official LoRaMac-node reference
implementation.
* Logging
* Improvements in immediate mode: less interrupts locking, better RTT usage,
logging from thread context.
* Improved notification about missing log_strdup.
* mbedTLS updated to 2.16.4
HALs
****
* HALs are now moved out of the main tree as external modules and reside in
their own standalone repositories.
Documentation
*************
* settings: include missing API subgoups into the documentation
* Documentation for new boards and samples.
* Improvements and clarity of API documentation.
Tests and Samples
*****************
* Added sample for show settings subsystem API usage
Issue Related Items
*******************
These GitHub issues were addressed since the previous 2.1.0 tagged
release:
.. comment List derived from GitHub Issue query: ...
* :github:`issuenumber` - issue title
* :github:`23351` - boards: nucle_g474re: west flash doesn't work
* :github:`23321` - Bluetooth: LE SC OOB authentication in central connects using different RPA
* :github:`23310` - GUI: LVGL: possible NULL dereference
* :github:`23281` - UART console input does not work on SAM E5x
* :github:`23268` - Unnecessary privileged stacks with CONFIG_USERSPACE=y
* :github:`23244` - kernel.scheduler fails on frdmkw41z
* :github:`23231` - RISCV Machine Timer consistently interrupts long running system after soft reset
* :github:`23221` - status register value always reads 0x0000 in eth_mcux_phy_setup
* :github:`23209` - Bug in tls_set_credential
* :github:`23208` - Can not flash test images into up_squared board.
* :github:`23202` - Macro value for 10 bit ADC is wrong in MEC driver.
* :github:`23198` - rf2xx driver uses mutex in ISR
* :github:`23173` - west flash --nobuild, west flash-signed
* :github:`23172` - Common west flash, debug arguments like --hex-file can't be used from command line
* :github:`23169` - "blinky" sample fails to build for BBC MicroBit (DT_ALIAS_LED0_GPIOS_CONTROLLER undefined)
* :github:`23168` - Toolchain docs: describe macOS un-quarantine procedure
* :github:`23165` - macOS setup fails to build for lack of "elftools" Python package
* :github:`23148` - bme280 sample does not compile
* :github:`23147` - tests/drivers/watchdog/wdt_basic_api failed on mec15xxevb_assy6853 board.
* :github:`23121` - Bluetooth: Mesh: Proxy servers only resends segments to proxy
* :github:`23110` - PTS: Bluetooth: GATT/SR/GAS/BV-07-C
* :github:`23109` - LL.TS Test LL/CON/SLA/BV-129-C fails (split)
* :github:`23072` - #ifdef __cplusplus missing in tracking_cpu_stats.h
* :github:`23069` - Bluetooth: controller: Assert in data length update procedure
* :github:`23050` - subsys/bluetooth/host/conn.c: conn->ref is not 0 after disconnected
* :github:`23047` - cdc_acm_composite sample doesn't catch DTR from second UART
* :github:`23035` - dhcpv4_client sample not working on sam e70
* :github:`23023` - Bluetooth: GATT CCC problem (GATT Server)
* :github:`23015` - Ongoing LL control procedures fails with must-expire latency (BT_CTLR_CONN_META)
* :github:`23004` - Can't use west to flash test images into up_squared board.
* :github:`23002` - unknown type name 'class'
* :github:`22999` - pend() assertion can allow user threads to crash the kernel
* :github:`22985` - Check if Zephyr is affected by SweynTooth vulnerabilities
* :github:`22982` - PTS: Test framework: Bluetooth: GATT/SR/GAS/BV-01-C, GATT/SR/GAS/BV-07-C - BTP Error
* :github:`22979` - drivers: hwinfo: Build fails on some SoC
* :github:`22977` - ARM Cortex-M4 stack offset when not using Floating point register sharing
* :github:`22968` - Bluetooth: controller: LEGACY: ASSERTION failure on invalid packet sequence
* :github:`22967` - Bluetooth: controller: ASSERTION FAIL on invalid packet sequence
* :github:`22945` - Bluetooth: controller: ASSERTION FAIL Radio is on during flash operation
* :github:`22933` - k_delayed_work_submit_to_queue returns error code when resubmitting previously completed work.
* :github:`22931` - GPIO callback is not triggered for tests/drivers/gpio/gpio_basic_api on microchip mec15xxevb_assy6853 board
* :github:`22930` - PTS: Test Framework :Bluetooth: SM/MAS/PKE/BV-01-C INCONCLUSIV
* :github:`22929` - PTS: Test Framework :Bluetooth: SM/SLA/SIP/BV-01-C Error
* :github:`22928` - PTS: Test Framework: Bluetooth: SM/MAS/SIGN/BV-03-C, SM/MAS/SIGN/BI-01-C - INCONCLUSIV
* :github:`22927` - PTS: Test Framework: Bluetooth: SM/MAS/SIP/BV-02-C-INCONCLUSIV
* :github:`22926` - Bluetooth: Cannot establish security and discover GATT when using Split LL
* :github:`22914` - tests/arch/arm/arm_irq_vector_table crashes for nRF5340
* :github:`22912` - [Coverity CID :208406] Macro compares unsigned to 0 in subsys/net/l2/ppp/ppp_l2.c
* :github:`22902` - eth_mcux_phy_setup called before ENET clock being enabled causes CPU to hang
* :github:`22893` - Problem using 3 instances of SPIM on NRF52840
* :github:`22890` - IP networking does not work on ATSAME70 Rev. B
* :github:`22888` - Can't flash test image into iotdk board.
* :github:`22885` - Sanitycheck timeout all test cases on mec15xxevb_assy6853 board.
* :github:`22874` - sanitycheck: when someone instance get stuck because of concurrent.futures.TimeoutErro exception, it always stuck
* :github:`22858` - WDT_DISABLE_AT_BOOT, if enabled by default, degrades functionality of the watchdog
* :github:`22855` - drivers: enc28j60: waits for wrong interrupt
* :github:`22847` - Test gpio_basic_api hangs on cc3220sf_launchxl
* :github:`22828` - kernel: fatal: interrupts left locked in TEST mode
* :github:`22822` - mesh: typo in condition in comp_add_elem of cfg_srv
* :github:`22819` - #define _current in kernel_structs.h leaks into global namespace
* :github:`22814` - mcuboot doesn't build with zephyr v2.1.0
* :github:`22803` - k_delayed_work_cancel documentation inconsistent with behavior
* :github:`22801` - Bluetooth: Split LL: Reconnection problem
* :github:`22786` - Bluetooth: SM/MAS/PROT/BV-01-C FAIL
* :github:`22784` - system hangs in settings_load() nrf52840 custom board
* :github:`22774` - Set USB version to 2.1 when CONFIG_USB_DEVICE_BOS is set
* :github:`22730` - CONFIG_BT_SETTINGS writes bt/hash to storage twice
* :github:`22722` - posix: redefinition of symbols while porting zeromq to zephyr
* :github:`22720` - armv8-m: userspace: some parts in userspace enter sequence need to be atomic
* :github:`22698` - log_stack_usage: prints err: missinglog_strdup()
* :github:`22697` - nrf52 telnet_shell panic. Mutex using in ISR.
* :github:`22693` - net: config: build break when CONFIG_NET_NATIVE=n
* :github:`22689` - driver: modem: sara-u2 error when connecting
* :github:`22685` - armv8-m: userspace: syscall return sequence needs to be atomic
* :github:`22682` - arm: cortex-a: no default board for testing
* :github:`22660` - gpio: legacy level interrupt disable API not backwards compatible
* :github:`22658` - [Coverity CID :208189] Self assignment in soc/xtensa/intel_apl_adsp/soc.c
* :github:`22657` - [Coverity CID :208191] Dereference after null check in subsys/canbus/isotp/isotp.c
* :github:`22656` - [Coverity CID :208192] Out-of-bounds access in tests/subsys/canbus/isotp/implementation/src/main.c
* :github:`22655` - [Coverity CID :208193] Unchecked return value in tests/bluetooth/mesh/src/microbit.c
* :github:`22654` - [Coverity CID :208194] Arguments in wrong order in tests/subsys/canbus/isotp/implementation/src/main.c
* :github:`22653` - [Coverity CID :208196] Out-of-bounds access in drivers/eeprom/eeprom_simulator.c
* :github:`22652` - [Coverity CID :208197] Pointless string comparison in tests/drivers/gpio/gpio_basic_api/src/main.c
* :github:`22651` - [Coverity CID :208198] Logical vs. bitwise operator in boards/xtensa/up_squared_adsp/bootloader/boot_loader.c
* :github:`22650` - [Coverity CID :208199] Arguments in wrong order in tests/subsys/canbus/isotp/conformance/src/main.c
* :github:`22649` - [Coverity CID :208200] Bad bit shift operation in drivers/interrupt_controller/intc_exti_stm32.c
* :github:`22648` - [Coverity CID :208201] Out-of-bounds write in soc/xtensa/intel_apl_adsp/soc.c
* :github:`22647` - [Coverity CID :208202] Arguments in wrong order in samples/subsys/canbus/isotp/src/main.c
* :github:`22646` - [Coverity CID :208203] Missing break in switch in drivers/interrupt_controller/intc_exti_stm32.c
* :github:`22645` - [Coverity CID :208204] Arguments in wrong order in samples/subsys/canbus/isotp/src/main.c
* :github:`22644` - [Coverity CID :208205] Improper use of negative value in tests/subsys/canbus/isotp/implementation/src/main.c
* :github:`22642` - [Coverity CID :208207] Arguments in wrong order in tests/subsys/canbus/isotp/conformance/src/main.c
* :github:`22641` - [Coverity CID :208208] Arguments in wrong order in tests/subsys/canbus/isotp/implementation/src/main.c
* :github:`22640` - [Coverity CID :208209] 'Constant' variable guards dead code in drivers/gpio/gpio_sx1509b.c
* :github:`22636` - Provide Linux-style IS_ERR()/PTR_ERR()/ERR_PTR() helpers
* :github:`22626` - tests/drivers/counter/counter_basic_api failed on frdm_k64f board.
* :github:`22624` - tests/kernel/semaphore/semaphore failed on iotdk board.
* :github:`22623` - tests/kernel/timer/timer_api failed on mimxrt1050_evk board.
* :github:`22616` - Zephyr doesn't build if x86_64 SDK toolchain isn't install
* :github:`22584` - drivers: spi: spi_mcux_dspi: bus busy status ignored in async
* :github:`22563` - Common west flash/debug etc. arguments cannot be set in CMake
* :github:`22559` - crash in semaphore tests on ARC nsim_em and nsim_sem
* :github:`22557` - document guidelines/principles related to DT usage in Zephyr
* :github:`22556` - document DT macro generation rules
* :github:`22543` - No way to address a particular FTDI for OpenOCD
* :github:`22542` - GEN_ABSOLUTE_SYM cannot handle value larger than INT_MAX on qemu_x86_64
* :github:`22539` - bt_gatt: unable to save SC: no cfg left
* :github:`22535` - drivers: lora: Make the SX1276 driver independent of loramac module
* :github:`22534` - sanitycheck qemu_x86_coverage problem with SDK 0.11.1
* :github:`22532` - Doc build warning lvgl/README.rst
* :github:`22525` - stm32f7xx.h: No such file or directory
* :github:`22522` - GPIO test code tests/drivers/gpio/gpio_basic_api does not compile for microchip board mec15xxevb_assy6853
* :github:`22519` - sanitycheck failures for native_posix
* :github:`22514` - Bluetooth: gatt: CCC cfg not flushed if device was previously paired
* :github:`22510` - Build warnings in samples/net/cloud/google_iot_mqtt
* :github:`22489` - Request to enable CONFIG_NET_PKT_RXTIME_STATS for SOCK_RAW
* :github:`22486` - Do we have driver for Texas Instruments DRV2605 haptic driver for ERM and LRA actuators?
* :github:`22484` - Linker error when building google_iot_mqtt sample with zephyr-sdk 0.11.1
* :github:`22482` - Unable to use LOG_BACKEND_DEFINE macro from log_backend.h using C++
* :github:`22478` - Bluetooth - peripheral_dis - settings_runtime_set not working
* :github:`22474` - boards that have Kconfig warnings on hello_world.
* :github:`22466` - Add hx711 sensor
* :github:`22462` - onoff: why client must be reinitialized after each transition
* :github:`22455` - How to assign USB endpoint address manually in stm32f4_disco for CDC ACM class driver
* :github:`22452` - not driver found in can bus samples for olimexino_stm32
* :github:`22447` - samples: echo_client sample breaks for UDP when larger than net if MTU
* :github:`22444` - [Coverity CID :207963] Argument cannot be negative in tests/net/socket/websocket/src/main.c
* :github:`22443` - [Coverity CID :207964] Dereference after null check in subsys/canbus/canopen/CO_driver.c
* :github:`22442` - [Coverity CID :207965] Missing break in switch in drivers/i2c/i2c_ll_stm32_v1.c
* :github:`22440` - [Coverity CID :207970] Out-of-bounds access in samples/net/sockets/websocket_client/src/main.c
* :github:`22439` - [Coverity CID :207971] Negative array index read in subsys/net/l2/ppp/ipcp.c
* :github:`22438` - [Coverity CID :207973] Out-of-bounds access in tests/net/socket/websocket/src/main.c
* :github:`22437` - [Coverity CID :207974] Out-of-bounds read in tests/net/socket/websocket/src/main.c
* :github:`22436` - [Coverity CID :207975] Logically dead code in subsys/net/l2/ppp/ipcp.c
* :github:`22435` - [Coverity CID :207977] Logically dead code in subsys/canbus/canopen/CO_driver.c
* :github:`22434` - [Coverity CID :207978] Dereference after null check in subsys/canbus/canopen/CO_driver.c
* :github:`22433` - [Coverity CID :207980] Untrusted loop bound in tests/net/socket/websocket/src/main.c
* :github:`22432` - [Coverity CID :207982] Explicit null dereferenced in tests/lib/onoff/src/main.c
* :github:`22430` - [Coverity CID :207985] Argument cannot be negative in subsys/net/lib/websocket/websocket.c
* :github:`22424` - RFC: API Change: clock_control
* :github:`22417` - Build warnings with atsamr21_xpro
* :github:`22410` - arch: arm64: ARM64 port not working on real target
* :github:`22390` - Unable to build http_get with TLS enabled on cc32xx
* :github:`22388` - Build warnings in http_get on cc3220sf_launchxl
* :github:`22366` - Bug in sockets.c (subsys\net\lib\sockets)
* :github:`22363` - drivers: clock_control: clock_stm32_ll_h7.c Move Power Configuration code
* :github:`22360` - test_mqtt_disconnect in mqtt_pubsub fails
* :github:`22356` - An application hook for early init
* :github:`22343` - stm32f303 - irq conflict between CAN and USB
* :github:`22317` - samples/arc_secure_services fails on nsim_sem
* :github:`22316` - samples/philosophers coop_only scenario times out on nsim_sem and nsim_em
* :github:`22307` - net: ip: net_pkt_pull(): packet corruption when using CONFIG_NET_BUF_DATA_SIZE larger than 256
* :github:`22304` - ARM Cortex-M STMF401RE: execution too slow
* :github:`22299` - The file flash_stm32wbx.c generates compilation error
* :github:`22297` - nucleo_wb55rg:samples/bluetooth/peripheral/sample.bluetooth.peripheral fails to build on master
* :github:`22290` - ARC crashes due to concurrent system calls
* :github:`22280` - incorrect linker routing
* :github:`22275` - arm: cortex-R & M: CONFIG_USERSPACE: intermittent Memory region write access failures
* :github:`22272` - aggregated devicetree source file needs to be restored to build directory
* :github:`22268` - timer not working when duration is too high
* :github:`22265` - Simultaneous BLE pairings getting the same slot in keys structure
* :github:`22259` - Bluetooth: default value 80 on BT_ACL_RX_COUNT clamped to 64
* :github:`22258` - sanitycheck fails to merge OVERLAY_CONFIG properly
* :github:`22257` - test wdt_basic_api failed on nucleo_f746zg
* :github:`22245` - STM32G4xx: Wrong SystemCoreClock variable
* :github:`22243` - stm32g431rb: PLL setting result to slow exccution
* :github:`22210` - Bluetooth - bt_gatt_get_value_attr_by_uuid
* :github:`22207` - Bluetooth MeshProvison init should after proxy
* :github:`22204` - CONFIG_BT_DEBUG_LOG vs atomic operations
* :github:`22202` - bt_rand() is called over HCI when BT_HOST_CRYPTO=y, even if BT_CTLR_LE_ENC=n
* :github:`22197` - dts: gen_defines.py bails out on new path property type
* :github:`22188` - drivers: espi: xec : eSPI driver should not send VWire SUS_ACK automatically in all cases
* :github:`22177` - Adafruit M0 boards are not set up to correctly flash in their code partitions
* :github:`22171` - West bossac runner inorrectly tries to include an offset parameter when flashing
* :github:`22128` - frdm_k82f:samples/drivers/spi_fujitsu_fram/sample.drivers.spi.fujitsu_fram fails
* :github:`22107` - mdns support with avahi as client
* :github:`22106` - intermittent emulator exit on samples/userspace/shared_mem on qemu_x86_64
* :github:`22088` - Bluetooth Mesh friendship is cleared due to no Friend response reception
* :github:`22086` - L2CAP/SMP: Race condition possible in native posix central when bonding.
* :github:`22085` - HCI/CCO/BV-07-C & HCI/GEV/BV-01-C failing in EDTT
* :github:`22066` - tests/kernel/mem_pool/mem_pool_threadsafe fails reliably on m2gl025_miv
* :github:`22062` - Adafruit Feather M0 does not flash correctly - incorrect flash code offset and bossa version incompatibility
* :github:`22060` - Build fails with gnuarmemb under windows
* :github:`22051` - Bluetooth Central: Discovery of 128bit primary service fails with later versions of gcc.
* :github:`22048` - Failing LL.TS Data Length Update Tests (split)
* :github:`22037` - qemu_cortex_r5 excludes too many tests
* :github:`22036` - sanitycheck for qemu_cortex_r5 fails
* :github:`22026` - west: openocd runner fails for boards without support/openocd.cfg
* :github:`22014` - RTC prescaler overflow on nRF(52)
* :github:`22010` - Bluetooth 'central' failure on native_posix
* :github:`22003` - 'central' failure on nrf52_pca10040
* :github:`21996` - Native POSIX or QEMU X86 emulation does not detect Bluetooth HCI Vendor-Specific Extensions
* :github:`21989` - websocket: recv_msg always returns full message length on last call
* :github:`21974` - make include hierarchy consistent with expected usage
* :github:`21970` - net: dns: mDNS resolving fails when responder is also enabled
* :github:`21967` - json: json_obj_parse will modify the input string
* :github:`21962` - drivers: usb: usb_dc_stm32: does not compile for stm32f3_disco board
* :github:`21949` - net: TCP: echo server deadlock from TCP packet
* :github:`21935` - SPI - STM32: transceive() should handle null tx buffer
* :github:`21917` - cmake error with CONFIG_COUNTER and CONFIG_BT both enabled (nrf52 board)
* :github:`21914` - net: dns: Answers to multiple mDNS queries sent in parallel aren't properly handled
* :github:`21888` - Print unmet Kconfig dependency
* :github:`21875` - sanitycheck warning for silabs,gecko-spi-usart.yaml
* :github:`21869` - IPv6 neighbors get added too eagerly
* :github:`21859` - Bluetooth LE Disconnect event not received
* :github:`21854` - HCI-UART: Bluetooth ACL data packets with 251 bytes not acknowledged
* :github:`21846` - RFC: API: Counter: counter_read() has no way of indicating failure
* :github:`21837` - net: socket: Add dependency to mbedtls
* :github:`21813` - tests/kernel/timer/timer_api failed on frdm_k64f board.
* :github:`21812` - tests/arch/arm/arm_irq_advanced_features failed on reel_board.
* :github:`21800` - Xtensa doesn't save SCOMPARE1 register on context switch
* :github:`21790` - tests/kernel/timer/timer_api fails on nucleo_g071rb board
* :github:`21789` - Merge topic-gpio back to master
* :github:`21784` - sanitycheck prints some build errors directly to the console
* :github:`21780` - OpenThread fails on nRF52840 Dongle (nrf52840_pca10059)
* :github:`21775` - echo_server and 802154 not build for NRF52811
* :github:`21768` - Make [CONFIG_NET_SOCKETS_SOCKOPT_TLS] dependent on [CONFIG_MBEDTLS] in menuconfig
* :github:`21764` - [SARA-R4] MQTT publisher not working - Impossible to connect to broker
* :github:`21763` - at86rf2xx radio driver does not report whether a TX was ACKed
* :github:`21756` - tests/kernel/obj_tracing failed on mec15xxevb_assy6853 board.
* :github:`21755` - tests/drivers/adc/adc_api failed on mec15xxevb_assy6853 board.
* :github:`21745` - tests: counter_basic_api: Failed on stm32 based boards
* :github:`21744` - dumb_http_server_mt with overlay-tls.conf does not connect
* :github:`21735` - ARM: Cortex-M: IRQ lock/unlock() API non-functional but accessible from user mode
* :github:`21716` - nucleo_g431rb: Hello world not working
* :github:`21715` - nucleo_g431rb: Blinky too slow / wrong clock setup?
* :github:`21713` - CDC ACM USB class issue with high transfer rate and ZLP
* :github:`21702` - [Coverity CID :206599] Out-of-bounds access in tests/bluetooth/uuid/src/main.c
* :github:`21700` - [Coverity CID :206606] Out-of-bounds access in tests/bluetooth/uuid/src/main.c
* :github:`21699` - [Coverity CID :206608] Dereference null return value in tests/net/icmpv4/src/main.c
* :github:`21695` - Documentation issues on v1.14-branch block backport
* :github:`21681` - nucleo_g431rb / STM32G4: Flashing works only once
* :github:`21679` - SPI broken on stm32f412 on master
* :github:`21676` - [Coverity CID :206389] Logically dead code in subsys/testsuite/ztest/src/ztest.c
* :github:`21674` - [Coverity CID :206392] Side effect in assertion in tests/kernel/timer/starve/src/main.c
* :github:`21673` - [Coverity CID :206393] Unintentional integer overflow in drivers/sensor/ms5607/ms5607.c
* :github:`21672` - [Coverity CID :206394] Logically dead code in subsys/testsuite/ztest/src/ztest.c
* :github:`21660` - Sample projects do not build for Nucleo WB55RG
* :github:`21659` - at86rf2xx radio driver not (reliably) sending ACKs
* :github:`21650` - _TEXT_SECTION_NAME_2 on ARM Cortex-R
* :github:`21637` - sanitycheck failed issue in parallel running.
* :github:`21629` - error with 'west update' on Windows 10
* :github:`21623` - DT: accept standard syntax for phandle in chosen node
* :github:`21618` - CI failing to complete tests
* :github:`21617` - Allow per module prj.conf
* :github:`21614` - host toolchain for x86 fails on empty CMAKE_C_FLAGS
* :github:`21607` - BME680 Sensor is not building
* :github:`21601` - '!radio_is_ready()' failed
* :github:`21599` - CONFIG_HEAP_MEM_POOL_SIZE and k_malloc, k_free not working in nrf51_pca10028
* :github:`21597` - sht3xd build error on olimexino_stm32
* :github:`21591` - Timeout error for the Microchip board during Sanitycheck
* :github:`21586` - Bluetooth Mesh fail to transmit messages after some time on nRF52840
* :github:`21581` - GNU ARM Embedded link broken in Getting Started
* :github:`21571` - CONFIG_BT_CENTRAL doesnot work fine with nrf51_pca10028
* :github:`21570` - how to select usb mps for SAME70 board
* :github:`21568` - mps2_an385:tests/kernel/tickless/tickless_concept/kernel.tickless.concept fail
* :github:`21552` - Constant disconnects while attempting BT LE multi-central application.
* :github:`21551` - gpio: xec: GPIO Interrupt is not triggered for range GPIO240_276
* :github:`21546` - SPI broken for STM32L1
* :github:`21536` - tests/subsys/fs/fat_fs_api fails on native_posix_64
* :github:`21532` - can not build the image ,No targets specified and no makefile found
* :github:`21514` - Logging - strange behaviour with RTT on nRF53
* :github:`21510` - re-v
* :github:`21493` - System tick is not running
* :github:`21483` - sanitycheck messages in CI are not informative anymore
* :github:`21475` - sanitycheck: hardware map generation unexpected exit during the first attempt
* :github:`21466` - doc: extract_content.py not copying images in a table
* :github:`21450` - sample.net.cloud.google_iot_mqtt test is failing for frdm_k64f
* :github:`21448` - nrf52840 errata_98 / 89 mixup
* :github:`21443` - "HCI_USB" sample doesn't compile with "nucleo_wb55rg" board
* :github:`21438` - sanitycheck reports "FAILED: N/A" for failed or hung tests
* :github:`21432` - watchdog subsystem has no system calls
* :github:`21431` - missing async uart.h system calls
* :github:`21429` - Impossible to override syscalls
* :github:`21426` - civetweb triggers an error on Windows with Git 2.24
* :github:`21422` - Added nucleo-f767zi board support and would like to share
* :github:`21419` - RFC: API Change: usb: Make users call usb_enable. Provide global status callback.
* :github:`21418` - Crash when suspending system
* :github:`21410` - bt_ctlr_hci: Tx Buffer Overflow on LL/CON/MAS/BV-04-C, LL/CON/SLA/BV-05-C & LL/CON/SLA/BV-06-C
* :github:`21409` - sanitycheck: cmd.exe colorized output
* :github:`21385` - board frdm_kl25z build passed, but can't flash
* :github:`21384` - RFC: API Change: PWM: add support for inverted PWM signals
* :github:`21379` - Bluetooth: Mesh: Node Reset Not Clear Bind Key Information
* :github:`21375` - GATT: gatt_write_ccc_rsp with error (0x0e) removes always beginning from subscriptions head
* :github:`21365` - implicit casts in API headers must be replaced for C++ support
* :github:`21351` - tests/drivers/counter/counter_basic_api failed on mimxrt1050_evk board.
* :github:`21341` - conditions required for safe call of kernel operations from interrupts
* :github:`21339` - Expired IPv6 router causes an infinite loop
* :github:`21335` - net: TCP: Socket echo server does not accept incoming connections when TLS is enabled
* :github:`21328` - Apparent network context leak with offloading driver (u-blox Sara r4)
* :github:`21325` - Where should the Digital-Input, Output, ADC driver be added?
* :github:`21321` - error update for project civetweb
* :github:`21318` - CONFIG_SYS_POWER_MANAGEMENT Makes Build Fail for nRF5340 and nRF9160
* :github:`21317` - intermittent SMP crashes on x86_64
* :github:`21306` - ARC: syscall register save/restore needs backport to 1.14
* :github:`21301` - Coverage report generated for qemu_x86 board is incomplete
* :github:`21300` - pyocd flash failing on bbc_microbit
* :github:`21299` - bluetooth: Controller does not release buffer on central side after peripheral reset
* :github:`21290` - Compiler warnings in flash.h: invalid conversion from 'const void*' to 'const flash_driver_api*'
* :github:`21281` - logging: msg_free may erroneously call log_free
* :github:`21278` - How to use pwm in nrf52832 for rgb led
* :github:`21275` - kl2x soc fixup is missing I2C_1 labels
* :github:`21257` - tests/net/net_pkt failed on mimxrt1050_evk board.
* :github:`21240` - Error west flash
* :github:`21229` - cc1plus: warning: '-Werror=' argument '-Werror=implicit-int' is not valid for C++
* :github:`21202` - Required upgrade of HAL
* :github:`21186` - Gatt discover callback gives invalid pointer to primary and secondary service UUID.
* :github:`21185` - zero-latency IRQ behavior is not documented?
* :github:`21181` - devicetree should support making properties with defaults required
* :github:`21177` - Long ATT MTU reports wrong length field in write callback.
* :github:`21171` - Module Request: Optiga Trust X
* :github:`21167` - libraries.libc.newlib test fails
* :github:`21165` - Bluetooth: Mesh: Friend Clear message from a Friend node
* :github:`21162` - Sanitycheck corrupted test case names in test-report.xml files
* :github:`21161` - question: openthread with other boards
* :github:`21148` - nrf51: uart_1 does not compile
* :github:`21139` - west: runners: blackmagicprobe: Keyboard Interrupt shouldn't kill the process
* :github:`21131` - Bluetooth: host: Subscriptions not removed upon unpair
* :github:`21126` - drivers: spi_nrfx_spim: Incorrect handling of extended SPIM configuration
* :github:`21123` - sanitycheck halt some test cases with parallel running.
* :github:`21121` - netusb: RNDIS host support
* :github:`21115` - Request a new repository for the Xtensa HAL
* :github:`21105` - Bluetooth API called before finished initialization.
* :github:`21103` - Bluetooth: host: Reduce overhead of GATT subscriptions
* :github:`21099` - echo server qemu_x86 e1000 cannot generate coverage reports
* :github:`21095` - [Coverity CID :206086] Out-of-bounds access in drivers/timer/cortex_m_systick.c
* :github:`21094` - native_posix doesn't call main function that's defined in C++
* :github:`21082` - tests/kernel/timer/timer_api failing on several nRF5x SoCs
* :github:`21074` - Enhance 802.1Qav documentation
* :github:`21058` - BLE: Enable/Disable Automatic sending of Connection Parameter update request on Timeout.
* :github:`21057` - BLE: No Valid Parameter check in send_conn_le_param_update()
* :github:`21045` - log_backend.h missing include for UTIL_CAT in LOG_BACKEND_DEFINE macro
* :github:`21036` - Add SMP function similar to bt_conn_get_info
* :github:`21025` - sam_e70_xplained reboots after 35secs
* :github:`20981` - mempool: MPU fault
* :github:`20974` - file resources exceeded with sanitycheck
* :github:`20953` - usb: nrf: usb on reel board becomes unavailable if USB cable is not connected at first
* :github:`20927` - ztest_1cpu_user_unit_test() doesn't work
* :github:`20915` - doc: Kconfig section in board_porting.rst should be moved or removed
* :github:`20904` - kernel.timer.tickless is failed due to missing TEST_USERSPACE flag
* :github:`20886` - [Coverity CID :205826] Memory - corruptions in tests/subsys/fs/nffs_fs_api/common/nffs_test_utils.c
* :github:`20885` - [Coverity CID :205819] Memory - corruptions in tests/subsys/fs/nffs_fs_api/common/nffs_test_utils.c
* :github:`20884` - [Coverity CID :205799] Memory - corruptions in tests/subsys/fs/nffs_fs_api/common/nffs_test_utils.c
* :github:`20877` - [Coverity CID :205823] Null pointer dereferences in tests/kernel/fifo/fifo_timeout/src/main.c
* :github:`20802` - reschedule not done after mutex unlock
* :github:`20770` - irq locking in logging backend can cause missing interrupts
* :github:`20755` - mcuboot: add as module and verify functionality
* :github:`20749` - samples:sample.net.dns_resolve.mdns:frdmk64f ipv4dns handler has not result
* :github:`20748` - build warnings on lpcxpresso54114_m0/m4 board
* :github:`20746` - Bluetooth: Mesh: Friend node Adding another Friend Update
* :github:`20724` - Packed pointer warning in LL Controller
* :github:`20698` - Bluetooth: host: Skip pre-scan done by bt_conn_create_le if not needed
* :github:`20697` - Confusing warning during cmake
* :github:`20673` - guiconfig not working properly?
* :github:`20640` - Bluetooth: l2cap do not recover when faced with long packets and run out of buffers
* :github:`20629` - when CONFIG_BT_SETTINGS is enabled, stack stores id in flash memory each power up of device (call to bt_enable)
* :github:`20618` - Can unicast address be relayed when send message over gatt proxy?
* :github:`20576` - DTS overlay files must include full path name
* :github:`20561` - Crypto API: Separate IV from ciphertext based on struct cipher_ctx::flags
* :github:`20535` - [Coverity CID :205619]Null pointer dereferences in /tests/net/ieee802154/fragment/src/main.c
* :github:`20497` - [Coverity CID :205638]Integer handling issues in /drivers/pwm/pwm_mchp_xec.c
* :github:`20490` - [Coverity CID :205651]Uninitialized variables in /drivers/dma/dma_stm32.c
* :github:`20484` - Tests/kernel/gen_isr_table failing when enabling WDT driver
* :github:`20426` - sensors: grove temperature and light drivers out of date
* :github:`20414` - nRF51 issues with the split link layer
* :github:`20411` - samples: lis3mdl trigger not working with x_nucleo_iks01a1
* :github:`20388` - Allow for runtime reconfiguration of SPI master / slave
* :github:`20355` - west build for zephyr/samples/net/sockets/echo_server/ on qemu_xtensa target outputs elf with panic
* :github:`20315` - zperf TCP uploader fails
* :github:`20286` - Problem building for ESP32
* :github:`20278` - Something is wrong when trying ST7789V sample
* :github:`20264` - Bluetooth: Delay advertising events instead of dropping them on collision
* :github:`20256` - settings subsystem sample
* :github:`20217` - Extend qemu_cortex_r5 test coverage
* :github:`20172` - devicetree support for compound elements
* :github:`20161` - Facing issue to setup zephyr on ubuntu
* :github:`20153` - BLE small throughput
* :github:`20140` - CMake: syscall macro's are not generated for out of tree DTS_ROOT
* :github:`20125` - Add system call to enter low power mode and reduce latency for deep sleep entry
* :github:`20026` - sanitycheck corrupts stty in some cases
* :github:`20017` - Convert GPIO users to new GPIO API
* :github:`19982` - Periodically wake up log process thread consume more power
* :github:`19922` - Linear time to give L2CAP credits
* :github:`19869` - Implement tickless capability for xlnx_psttc_timer
* :github:`19761` - tests/net/ieee802154/fragment failed on reel board.
* :github:`19737` - No Function In Zephyr For Reading BLE Channel Map?
* :github:`19666` - remove kernel/include and ``arch/*/include`` from default include path
* :github:`19643` - samples/boards/arc_secure_services fails on nsim_sem
* :github:`19545` - usb: obtain configuration descriptor's bmAttributes and bMaxPower from DT
* :github:`19540` - Allow running and testing network samples in automatic way
* :github:`19492` - sanitycheck: unreliable/inconsistent catch of ASSERTION FAILED
* :github:`19488` - Reference and sample codes to get started with the friendship feature in ble mesh
* :github:`19473` - Missing NULL parameter check in k_pipe_get
* :github:`19361` - BLE Scan fails to start when running in parallel with BLE mesh
* :github:`19342` - Bluetooth: Mesh: Persistent storage of Virtual Addresses
* :github:`19245` - Logging: Assert with LOG_IMMEDIATE
* :github:`19100` - LwM2M sample with DTLS: does not connect
* :github:`19053` - 2.1 Release Checklist
* :github:`18962` - [Coverity CID :203909]Memory - corruptions in /subsys/mgmt/smp_shell.c
* :github:`18867` - zsock_poll() unnecessarily wait when querying for ZSOCK_POLLOUT
* :github:`18852` - west flash fails for cc1352r_launchxl
* :github:`18635` - isr4 repeatedly gets triggered after test passes in tests/kernel/gen_isr_table
* :github:`18583` - hci_usb: NRF52840 connecting addtional peripheral fails
* :github:`18551` - address-of-temporary idiom not allowed in C++
* :github:`18530` - Convert GPIO drivers to new GPIO API
* :github:`18483` - Bluetooth: length variable inconsistency in keys.c
* :github:`18452` - [Coverity CID :203463]Memory - corruptions in /tests/lib/ringbuffer/src/main.c
* :github:`18447` - [Coverity CID :203400]Integer handling issues in /tests/lib/fdtable/src/main.c
* :github:`18410` - [Coverity CID :203448]Memory - corruptions in /subsys/net/lib/lwm2m/ipso_onoff_switch.c
* :github:`18378` - [Coverity CID :203537]Error handling issues in /samples/subsys/nvs/src/main.c
* :github:`18280` - tests/drivers/adc/adc_api fails on frdmkl25z
* :github:`18173` - ARM: Core Stack Improvements/Bug fixes for 2.1 release
* :github:`18169` - dts: bindings: inconsistent file names and base.yaml include of general device controllers
* :github:`18137` - Add section on IRQ generation to doc/guides/dts/index.rst
* :github:`17852` - Cmsis_rtos_v2_apis test failed on iotdk board.
* :github:`17838` - state DEVICE_PM_LOW_POWER_STATE of Device Power Management
* :github:`17787` - openocd unable to flash hello_world to cc26x2r1_launchxl
* :github:`17731` - Dynamically set TX power of BLE Radio
* :github:`17689` - On missing sensor, Init hangs
* :github:`17543` - dtc version 1.4.5 with ubuntu 18.04 and zephyr sdk-0.10.1
* :github:`17310` - boards: shields: use Kconfig.defconfig system for shields
* :github:`17309` - enhancements to device tree generation
* :github:`17102` - RFC: rework GPIO interrupt configuration
* :github:`16935` - Zephyr doc website: Delay search in /boards to the end of the search.
* :github:`16851` - west flash error on zephyr v1.14.99
* :github:`16735` - smp_svr sample does not discover services
* :github:`16545` - west: diagnose dependency version failures
* :github:`16482` - mcumgr seems to compromise BT security
* :github:`16472` - tinycrypt ecc-dh and ecc-dsa should not select entropy generator
* :github:`16329` - ztest teardown function not called if test function is interrupted
* :github:`16239` - Build: C++ compiler warning '-Wold-style-definition'
* :github:`16235` - STM32: Move STM32 Flash driver to CMSIS STM32Cube definitions
* :github:`16232` - STM32: implement pinmux api
* :github:`16202` - Improve help for west build target
* :github:`16034` - Net packet size of 64 bytes doesn't work.
* :github:`16023` - mcuboot: enabling USB functionality in MCUboot crashes zephyr application in slot0
* :github:`16011` - Increase coverage of tests
* :github:`15906` - WEST ERROR: extension command build was improperly defined
* :github:`15841` - Support AT86RF233
* :github:`15729` - flash: should write_protection be emulated?
* :github:`15657` - properly define kernel <--> arch APIs
* :github:`15611` - gpio/pinctrl: GPIO and introduce PINCTRL API to support gpio, pinctrl DTS nodes
* :github:`15593` - How to use gdb to view the stack of a thread
* :github:`15580` - SAMD21 Adafruit examples no longer run on boards
* :github:`15435` - device fails to boot when spi max frequency set above 1000000
* :github:`15278` - CANopen Support
* :github:`15229` - network tests have extremely restrictive whitelist
* :github:`15171` - BLE Throughput
* :github:`14927` - checkpatch: not expected behavior for multiple git commit check.
* :github:`14922` - samples/boards/altera_max10/pio: Error configuring GPIO PORT
* :github:`14753` - nrf52840_pca10056: Leading spurious 0x00 byte in UART output
* :github:`14668` - net: icmp4: Zephyr strips record route and time stamp options
* :github:`14650` - missing system calls in Counter driver APIs
* :github:`14639` - All tests should be SMP-safe
* :github:`14632` - Default for TLS_PEER_VERIFY socket option are set to required, may lead to confusion when running samples against self-signed certs
* :github:`14621` - BLE controller: Add support for Controller(SW deferred)-based Privacy
* :github:`14287` - USB HID Get_Report and Set_Report
* :github:`14206` - user mode documentation enhancements
* :github:`13991` - net: Spurious driver errors due to feeding packets into IP stack when it's not fully initialized (assumed reason)
* :github:`13943` - net: QEMU Ethernet drivers are flaky (seemingly after "net_buf" refactor)
* :github:`13941` - Alternatives for OpenThread settings
* :github:`13894` - stm32f429i_disc1: Add DTS for USB controller
* :github:`13403` - USBD event and composite-device handling
* :github:`13232` - native_posix doc: Add mention of virtual USB
* :github:`13151` - Update documentation on linking Zephyr within a flash partition
* :github:`12968` - dfu/mcuboot: solution for Set pending: don't crash when image slot corrupt
* :github:`12860` - No test builds these files
* :github:`12814` - TCP connet Net Shell function seems to not working when using NET_SOCKETS_OFFLOAD
* :github:`12635` - tests/subsys/fs/nffs_fs_api/common/nffs_test_utils.c fail with Assertion failure on nrf52840
* :github:`12553` - List of tests that keep failing sporadically
* :github:`12537` - potential over-use of k_spinlock
* :github:`12490` - Produced ELF does not follow the linux ELF spec
* :github:`12359` - Default address selection for IPv6 should follow RFC 6724
* :github:`12331` - Proposal to improve the settings subsystem
* :github:`12134` - I cannot see a Zephyr way to change the clock frequency at runtime
* :github:`12130` - Is zephyr targeting high-end phone or pc doing open ended computation on the roadmap?
* :github:`12027` - Make icount work for real on x86_64
* :github:`11751` - Rework exception & fatal error handling framework
* :github:`11519` - Add at least build test for cc1200
* :github:`11490` - setup_ipv6() treats event enums as bitmasks
* :github:`11296` - Possible ways to implement clock synchronisation over BLE
* :github:`11213` - NFFS: Handle unexpected Power Off
* :github:`11172` - ARM Cortex A Architecture support - ARMv8-A
* :github:`10996` - Add device tree support for usb controllers on x86
* :github:`10821` - ELCE: DT, Kconfig, EDTS path forward
* :github:`10534` - Can we get rid of zephyr-env.sh?
* :github:`10423` - log_core.h error on pointer-to-int-cast on 64bit system
* :github:`10339` - gpio: Cleanup flags
* :github:`10305` - RFC: Add pin mask for gpio_port_xxx
* :github:`9947` - CMake build architecture documentation
* :github:`9904` - System timer handling with low-frequency timers
* :github:`9873` - External flash driver for the MX25Rxx
* :github:`9748` - NFFS issue after many writes by btsettings
* :github:`9506` - Ztest becomes unresponsive while running SMP tests
* :github:`9349` - Support IPv6 privacy extension RFC 4941
* :github:`9333` - Support for STM32 L1-series
* :github:`9330` - network: clean up / implement supervisor to manage net services
* :github:`9194` - generated syscall header files don't have ifndef protection
* :github:`8833` - OpenThread: Minimal Thread Device (MTD) option is not building
* :github:`8539` - Categorize Kconfig options in documentation
* :github:`8262` - [Bluetooth] MPU FAULT on sdu_recv
* :github:`8242` - File system (littlefs & FAT) examples
* :github:`8236` - DTS Debugging is difficult
* :github:`7305` - CMake improvements to modularize gperf targets
* :github:`6866` - build: requirements: No module named yaml and elftools
* :github:`6562` - Question: Is QP Real-Time Frameworks/RTOS or libev supported in Zephyr? Or any plan?
* :github:`6521` - Scheduler needs spinlock-based synchronization
* :github:`6496` - Question: Is dynamical module loader supported in Zephyr? Or any plan?
* :github:`6389` - OpenThread: otPlatRandomGetTrue() implementation is not up to spec, may lead to security issues
* :github:`6327` - doc: GPIO_INT config option dependencies aren't clear
* :github:`6293` - Refining Zephyr's Device Driver Model
* :github:`6157` - SMP lacks low-power idle
* :github:`6084` - api: pinmux/gpio: It isn't possible to set pins as input and output simultaneously
* :github:`5943` - OT: utilsFlashWrite does not take into account the write-block-size
* :github:`5695` - C++ Support doesn't work
* :github:`5436` - Add LoRa Radio Support
* :github:`5027` - Enhance Testing and Test Coverage
* :github:`4973` - Provide Linux-style ERR_PTR/PTR_ERR/IS_ERR macros
* :github:`4951` - Prevent full rebuilds on Kconfig changes
* :github:`4917` - Reintroduce generic "outputexports" target after CMake migration
* :github:`4830` - device tree: generate pinmux
* :github:`3943` - x86: scope SMAP support in Zephyr
* :github:`3866` - To optimize the layout of the meta data of mem_slab & mem_pool
* :github:`3810` - application/kernel rodata split
* :github:`3717` - purge linker scripts of macro-based meta-language
* :github:`3701` - xtensa: scope MPU enabling
* :github:`3636` - Define region data structures exposed by linker script
* :github:`3490` - Move stm32 boards dts file to linux dts naming rules
* :github:`3488` - Dissociate board names from device tree file names
* :github:`3469` - Unify flash and code configuration across targets
* :github:`3429` - Add TSL2560 ambient light sensor driver
* :github:`3428` - Add HTU21D humidity sensor driver
* :github:`3427` - Add MPL3115A2 pressure sensor driver
* :github:`3397` - LLDP: Implement local MIB support for optional TLVs
* :github:`3276` - Dynamic Frequency Scaling
* :github:`3156` - xtensa: Support C++
* :github:`3098` - extend tests/kernel/arm_irq_vector_table to other platforms
* :github:`3044` - How to create a Zephyr ROM library
* :github:`2925` - cross-platform support for interrupt tables/code in RAM or ROM
* :github:`2814` - Add proper support for running Zephyr without a system clock
* :github:`2807` - remove sprintf() and it's brethen
* :github:`2664` - Running SanityCheck in Windows
* :github:`2338` - ICMPv6 "Packet Too Big" support
* :github:`2307` - DHCPv6
* :github:`1903` - Wi-Fi Host Stack
* :github:`1897` - Thread over BLE
* :github:`1583` - NFFS requires 1-byte unaligned accesses to flash
* :github:`1511` - qemu_nios2 should use the GHRD design
* :github:`1468` - Move NATS support from sample to a library + API
* :github:`1205` - C++ usage
``` | /content/code_sandbox/doc/releases/release-notes-2.2.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 17,640 |
```restructuredtext
:orphan:
.. _zephyr_1.12:
Zephyr Kernel 1.12.0
####################
We are pleased to announce the release of Zephyr kernel version 1.12.0.
Major enhancements with this release include:
- Asymmetric multiprocessing (AMP) via integration of OpenAMP
- Persistent storage support for Bluetooth Low Energy including Mesh
- 802.1Q - Virtual Local Area Network (VLAN) traffic on an Ethernet network
- Support multiple concurrent filesystem devices, partitions, and FS types
- Ethernet network management interface
- Networking traffic prioritization on a per-connection basis
- Support for Ethernet statistical counters
- Support for TAP net device on the native POSIX port
- Command-line Zephyr meta-tool "west"
- SPI slave support
- Runtime non-volatile configuration data storage system (settings)
The following sections provide detailed lists of changes by component.
Security Vulnerability Related
******************************
* A suitably sized k_malloc() request can result in a smaller than
requested buffer. Use of that buffer could result in writes to
unallocated memory. Proper overflow checks were added to fix this
issue in k_malloc and k_calloc.
* kernel: mempool: Check for overflow in k_malloc()
* kernel: mempool: Always check for overflow in k_calloc()
* tests: mempool: Add overflow checks
Kernel
******
* Added k_thread_foreach API
* kernel/sched: Fix preemption logic
* kernel/sched: Fix SMP scheduling
* kernel/sched: Don't preempt cooperative threads
* kernel: Scheduler rewrite
* kernel: Fix sloppy wait queue API
* kernel/mempool: Handle transient failure condition
* kernel: handle early entropy issues
* kernel: Earliest-deadline-first scheduling policy
* kernel: Add "meta IRQ" thread priorities
* kernel: introduce initial stack randomization
* k_poll: expose to user mode
* k_queue: allow user mode access via allocators
* mempool: add API for malloc semantics
* userspace: add support for dynamic kernel objects
Architectures
*************
* arch: arc: refactor the arc stack check support
* arch: arc: add the support of STACK_SENTINEL
* arch: arc: optimize the _SysFatalErrorHandler
* arch: arc: bug fixes in irq_load
* arch: arc: bug fixes and optimization in exception handling
* arch: arm: Fix zero interrupt latency priority level
* arch: arm: refactor default _FaultDump to provide fatal error code
* arch: arm: Define & implement API for test target (Non-Secure)
* arch: arm: thread built-in stack guard implementation
* arch: arm: lpc: Added support for Cortex-M0+ on lpc54114 soc
* arch: arm: Secure fault handling for Cortex-M23
* arch: arm: SecureFault Handling for Cortex-M33A
* arch: arm: Change method of __swap processing
* arm_mpu: reduce boot MPU regions for various soc
* arm: userspace: fix initial user sp location
* arm: userspace: Rework system call arguments
* arm: syscalls: fix some register issues
* dts: nios2-qemu: add device tree support
* dts: nios2f: Add device tree support
* dts: x86: derive RAM and ROM size from dts instead of Kconfig
* dts: xtensa: Add device tree support for xtensa
* newlib: fix heap user mode access for MPU devices
* nxp_imx/mcimx7_m4: Added support for i.MX7 Cortex M4 core
* x86: minnowboard: Enable the userspace mode
* arch: x86: Unwind the stack on fatal errors
* xtensa: provide XCC compiler support for Xtensa
Boards
******
* Added support for the following Arm boards:
* 96b_argonkey
* adafruit_feather_m0_basic_proto
* colibri_imx7d_m4
* dragino_lsn50
* lpcxpresso54114_m0
* nrf51_ble400
* nrf52_pca20020
* nucleo_f070rb
* nucleo_f446re
* nucleo_l053r8
* nucleo_l073rzA
* olimex_stm32_h407
* stm32f0_disco
* Added support for the following RISC-V boards:
* hifive1
* Added support for the following Xtensa boards:
* intel_s1000_crb
* arc: Added device tree support for all ARC SoCs
* arm: Renamed lpcxpresso54114 to lpcxpresso54114_m4
* nios2: Added device tree support for qemu_nios2 and altera_max10
* Continued adding dts support for device drivers (gpio, spi, i2c, sensors, usb)
Drivers and Sensors
*******************
* can: Added CAN driver support for STM32 SoCs
* display: Added ILI9340 LCD display driver
* dma: Added dma driver for Nios-II MSGDMA core
* dma: Introduce Intel CAVS DMA
* ethernet: Added ethernet driver for native posix arch
* gpio: Added support for i.MX GPIO
* gpio: Added driver for SX1509B
* gpio: Added GPIO for SAM family
* gpio: Added GPIO driver for stm32l0x
* i2s: Introduce CAVS I2S
* ieee802154: Added OpenThread modifications to KW41Z driver
* interrupts: introduce CAVS interrupt logic
* interrupts: Introduce Designware interrupt controller
* ipm: Added mcux ipm driver for LPC SoCs
* led: Added new public API and driver support for TI LP3943
* pinmux: Added pinmux driver for stm32l0x
* rtc: Added mcux RTC driver for Kinetis SoCs
* sensor: Added sensorhub support to lsm6dsl driver
* sensor: Added trigger support to lsm6dsl
* serial: Added support for i.MX UART interface
* spi: Added shims for nrfx SPIS and SPIM drivers
* spi: Updated mcux shim driver to new SPI API
* spi: Updated sensor and radio drivers to new SPI API
* usb: Added usb device driver for Kinetis USBFSOTG controller
* usb: Added usb support for stml072/73, stm32f070/72
* usb: Enable usb2.0 on intel_s1000
* usb: Added nRF52840 USB Device Controller Driver
* watchdog: Added mcux watchdog driver for Kinetis SoCs
* watchdog: Added nrfx watchdog driver for NRF SoCs
* wifi: Added winc1500 WiFi driver
Networking
**********
* Minimal server side websocket support.
* Add network support to syslog.
* Reducing net_pkt RAM usage.
* TCP code refactoring. TCP code is now in one place in tcp.c
* Support MSG_DONTWAIT and MSG_PEEK in recvfrom() socket call.
* Support MSG_DONTWAIT in sendto() socket call.
* Add support for freeaddrinfo() API.
* Allow empty service in getaddrinfo() API.
* Add PRIORITY support to net_context. This is working same way as SO_PRIORITY
in BSD sockets API.
* Add network traffic classification support to Rx and Tx paths. This allows
prioritization of incoming or outgoing network traffic. Both Rx and Tx can
have max 8 network queues.
* Add network interface up/down command to net-shell.
* Create ethernet driver for native_posix board. The driver is enabled
automatically if networking is active when compiling for native_posix board.
* Support network packet checksum calculation offloading. This is available for
ethernet based boards.
* Add support for ethernet virtual LANs (VLAN). Following ethernet drivers
support VLANs: frdm_k64f, sam_e70_explained, native_posix and qemu.
* Allow network statistics collection / network interface.
* Add network management support to ethernet sub-system.
* Add network capabilities support to ethernet network drivers. This is used
for management purposes.
* Allow collection of ethernet statistics. Currently only native_posix ethernet
driver supports this.
* Add OpenThread support for KW41Z driver.
* Add initial WiFi management API definitions.
* Add a shell module for controlling WiFi devices.
* Add dedicated net mgmt hooks for WiFi offload devices.
* Use proper IPv4 source address when sending IPv4 packets.
* Add support for energy detection scan on IEEE 802.15.4 driver API.
* Add support for filtering source short IEEE 802.15.4 addresses.
* Add RPL border router sample application.
* LWM2M code refactoring.
* LWM2M OPTIONAL resource fixes.
* LWM2M source port fixes.
* LWM2M resource usage enhancements.
* Fixing network management event ordering.
* Fix ENC28J70 ethernet driver.
* CoAP sample application fixes.
* Network timeout fixes.
* ICMPv6 error check fixes.
* Net-app API port number fixes.
* WPAN USB driver and sample application fixes.
* BSD socket sample application fixes.
* Fix IPv4 echo-request (ping) in net-shell when having multiple network
interfaces.
* Fixing IPv6 compile error in certain configuration.
Bluetooth
*********
* settings-based persistent storage functionality for BLE (including CCC) and
Mesh
* Mesh-specific optimizations to avoid flash wear
* Added a new API to set the identity address from the application
* Old bt_storage API removed from the codebase
* Rewrote the HCI SPI driver to comply with the new API
* Added BLE support for the standard entropy driver via an ISR-friendly call
* Multiple BLE Mesh bugfixes and improvements
* Added option to use the identity address for advertising even when using
privacy
* Added support for L2CAP dynamically allocated PSM values
* GATT CCC handling fixes
* GATT attribute declaration macros reworked for clarity
* Fixed handlng of connection cancellation in the controller
* Fixed a potential assertion failure in the controller related to white list
handling
Build and Infrastructure
************************
* build: use git version and hash for boot banner
* kconfig: Drop support for CONFIG_TOOLCHAIN_VARIANT
* kconfig: Remove the C Kconfig implementation
* scripts: kconfig: Add a Python menuconfig implementation
* scripts: west: introduce common runner configuration
* scripts: debug, debugserver and flash scripts for intel_s1000
* xtensa: provide XCC compiler support for Xtensa
Libraries / Subsystems
***********************
* subsys/disk: Added support for multiple disk interfaces
* subsys/fs: Added support for multiple instances of filesystem
* subsys/fs: Added Virtual File system Switch (VFS) support
* lib/posix: Added POSIX Mutex support
* lib/posix: Added POSIX semaphore support
* crypto: Updated mbedTLS to 2.9.0
* Imported libmetal and OpenAMP for IPC
HALs
****
* altera: Add modular Scatter-Gather DMA HAL driver
* atmel: Added winc1500 driver from Atmel
* cmsis: Update ARM CMSIS headers to version 5.3.0
* nordic: Import SVD files for nRF5 SoCs
* nordic: Update nrfx to version 1.0.0
* nxp: imported i.MX7 FreeRTOS HAL
* nxp: Added dual core startup code for lpc54114 based on mcux 2.3.0
* stm32l0x: Add HAL for the STM32L0x series
Documentation
*************
* Added description for kernel test cases through extensive doxygen comments
* Discovered some API docs were missing, and fixed
* Documentation added covering system calls and userspace, kernel, and
threading APIs, POSIX compatibility, VLANs, network traffic
classification, and the sanitycheck script used by CI.
* Documented writing guidelines and local doc generation process
* Improved Sphinx search results output (removed markup)
* Improved configuration options auto-generated documentation
* Significantly reduced local doc regeneration time
Tests and Samples
*****************
* Added test for POSIX mutex
* Added Apple iBeacon sample application
* Enhanced threads test suite
* Added tests for memory domain
Issue Related Items
*******************
These GitHub issues were closed since the previous 1.11.0 tagged release:
.. comment List derived from GitHub Issue query: ...
* :github:`issuenumber` - issue title
* :github:`1420` - LXR for Zephyr
* :github:`1582` - USB: Add support for MS OS Descriptors
* :github:`1620` - BT 4.2 Controller-based link-layer privacy
* :github:`1651` - ARC: remove tickless idle dependency on SW ISR table
* :github:`1655` - clean up how internal APIs are used
* :github:`1799` - Provide an interface for cpu/soc id and version
* :github:`1882` - SMP - Multi-core
* :github:`1896` - Thread Protocol
* :github:`2001` - Add support in I2C shim driver for DMA transfer mode
* :github:`2002` - Add support in SPI shim driver for DMA transfer mode
* :github:`2341` - Thread requirements in RFC1122
* :github:`2342` - Thread requirements in RFC2460
* :github:`2343` - Thread requirements in RFC4291
* :github:`2344` - Thread requirements in RFC4443
* :github:`2345` - Thread requirements in RFC4944
* :github:`2346` - Thread Requirements on RFC6282
* :github:`2360` - Review ALL device driver APIs and enhance them to support variety of devices and MCUs
* :github:`2410` - Create APIs for app to create and mount FS
* :github:`2446` - Different address used for advertising in non-connectable mode from oob data
* :github:`2452` - Add framework for provisioning-style device configuration
* :github:`2529` - GPIO API Update
* :github:`2593` - Consider subdividing applications into different categories
* :github:`2613` - Extend USB stack so it covers multiple device classes switchable on runtime
* :github:`2654` - Encoding/Decoding Libraries
* :github:`2860` - Customer: GUI for Zephyr configuration
* :github:`2916` - event logger: context switch event is not supported at ARC
* :github:`2977` - Install nSIM on CI machines
* :github:`2978` - Add Support for Multiple Simultaneous Backends/Partitions for FS
* :github:`2987` - Add support for computing IP, TCP, UDP checksums in hardware
* :github:`3065` - Asymmetric multiprocessing (AMP)
* :github:`3152` - Support Atmel WINC1500 Wifi module
* :github:`3167` - consolidate all quark se c1000 arc boards into one
* :github:`3234` - 802.1Q - Virtual LANs
* :github:`3282` - Quick Kernel Resume
* :github:`3339` - IoTivity Import and Interoperability with CoAP and DTLS
* :github:`3348` - Missing board documentation for arc/quark_se_c1000_ss_devboard
* :github:`3369` - BSD Sockets API layer
* :github:`3373` - Atmel board/ Driver Support
* :github:`3384` - DataReady triggers failed to stop on BMI160 when both Accel/Gyro is enabled
* :github:`3388` - Power management-Idle State
* :github:`3389` - Power management-Device State
* :github:`3433` - Nordic SPI driver
* :github:`3471` - Espressif ESP Architecture Support
* :github:`3479` - Implement complete set of stm32cube driver based on LL API for STM32 SoCs
* :github:`3482` - Standardize stm32 SoCs porting
* :github:`3500` - ESP8266 Architecture Configuration
* :github:`3516` - Arduino 101 filesystem fails test
* :github:`3624` - Memory protection: define allocators for kernel objects
* :github:`3637` - Xtensa build is producing huge zephyr.bin
* :github:`3650` - no board target for Risc-V Freedom E310 SOC
* :github:`3703` - Doesn't compile if XCHAL_HAVE_ICACHE_DYN_WAYS and XCHAL_HAVE_DCACHE_DYN_WAYS are defined for an Xtensa processor
* :github:`3711` - RPL root node Grounded flag should be followed by client node
* :github:`3739` - linker: implement MPU alignment constraints
* :github:`3744` - Improve configuration tools for Windows developers
* :github:`3782` - SPI Slave support
* :github:`3819` - Add 802.15.4 Sub-Ghz TI CC1200 driver
* :github:`3824` - Add RPL border router functionality to Zephyr
* :github:`3849` - Reduce the overall memory usage of the LwM2M library
* :github:`3869` - Verify thath echo_server and echo_client examples work over Thread network
* :github:`3910` - IEEE 802.15.4 MCR20A driver problem sending packets
* :github:`3994` - Watchdog API update
* :github:`4012` - echo_server with DTLS drops lots of packets on frdm_k64f
* :github:`4052` - Coverity issue seen with CID: 177217 , in file: /tests/subsys/dfu/img_util/src/main.c
* :github:`4053` - Coverity issue seen with CID: 177216 , in file: /tests/subsys/dfu/mcuboot/src/main.c
* :github:`4066` - Function typedef issue when generating htmldocs.
* :github:`4213` - samples/net/: unexpected communication happens between echo_client and echo_server sample applications
* :github:`4217` - samples:net:sockets:echo_async : unexpected communication blocks between client and server after few packets transmission
* :github:`4309` - xtensa: GDB: Unable to debug
* :github:`4533` - IPv6/DAD: Things should be synchronized around net if up status and ipv6 addr add
* :github:`4684` - mtls and tinycrypt crypto drivers not returning number of bytes written to output buffer
* :github:`4713` - SPI: Update drivers to drop support of the legacy API
* :github:`4959` - Failure to install on Mac OS High Sierra (return of the same error)
* :github:`4963` - Convert NIOS2 boards to device tree
* :github:`4964` - Convert ARC boards to device tree
* :github:`5149` - Runtime non-volatile configuration system
* :github:`5254` - missing test for kernel event logger
* :github:`5274` - Issue with pinmux combination for FRDK-K64F setup for cc2520
* :github:`5327` - 1.11 Release Checklist
* :github:`5344` - samples/net/http_client: unable to send the proper http request to Apache server in IPv6
* :github:`5482` - net: RFC: Move TCP-related code from net_context.c to tcp.c
* :github:`5554` - Support maintaining subsystems out-of-tree
* :github:`5577` - Document interaction between mcuboot and Zephyr
* :github:`5622` - Use the kconfiglib in scripts/kconfig for generating Kconfig documentation
* :github:`5633` - Optimize the CMake configuration time by reducing the time spent testing the toolchain
* :github:`5653` - STM32 boards: Generic guidelines for pin configuration
* :github:`5658` - Clicking on intra-page links broken on docs.zephyrproject.org
* :github:`5714` - 15.4 features required for OpenThread certification
* :github:`5718` - sanitycheck doesn't work on Windows (mkfifo not supported)
* :github:`5738` - [Coverity CID: 182194] Control flow issues in /subsys/storage/flash_map/flash_map.c
* :github:`5739` - [Coverity CID: 182193] Control flow issues in /subsys/storage/flash_map/flash_map.c
* :github:`5742` - [Coverity CID: 181921] Incorrect expression in /subsys/bluetooth/controller/ll_sw/ctrl.c
* :github:`5757` - native: fix -T warning while linking
* :github:`5767` - docs: Zephyr OpenOCD documentation is weak/non-existent
* :github:`5797` - SPI subsystem API & features updates
* :github:`5807` - Can't build Arduino_101 on Mac following instructions
* :github:`5839` - SPI API improvements proposals
* :github:`5847` - make menuconfig not supported on Windows
* :github:`5891` - [Coverity CID: 182585] Integer handling issues in /arch/x86/core/thread.c
* :github:`5892` - [Coverity CID: 182584] Integer handling issues in /kernel/sched.c
* :github:`5942` - OT: add framing part to OT build for the radio drivers with dependence on AR flag
* :github:`5953` - Build system: typedef not fit with zephyr type when CONFIG_NEWLIB_LIBC is enabled
* :github:`5956` - samples/net/coap_server: Failed to send response to coap client
* :github:`5978` - "$ ninja kconfig-usage" is out-of-date
* :github:`6007` - native: Add support for TAP net device
* :github:`6022` - Consistent feature dependency checks based on ARMvX-M
* :github:`6029` - doc: Zephyr sphinx/pygments support DTS
* :github:`6038` - Update Zephyr Licensing page
* :github:`6093` - [Coverity CID: 182778] Error handling issues in /samples/net/sockets/dumb_http_server/src/socket_dumb_http.c
* :github:`6094` - [Coverity CID: 182777] Error handling issues in /samples/net/sockets/dumb_http_server/src/socket_dumb_http.c
* :github:`6095` - [Coverity CID: 182776] Uninitialized variables in /tests/net/socket/udp/src/main.c
* :github:`6096` - [Coverity CID: 182775] Error handling issues in /tests/net/socket/udp/src/main.c
* :github:`6097` - [Coverity CID: 182774] Resource leaks in /tests/net/socket/udp/src/main.c
* :github:`6098` - [Coverity CID: 182773] Error handling issues in /samples/net/sockets/http_get/src/http_get.c
* :github:`6099` - [Coverity CID: 182772] Error handling issues in /tests/net/socket/udp/src/main.c
* :github:`6100` - [Coverity CID: 182771] Error handling issues in /samples/net/sockets/dumb_http_server/src/socket_dumb_http.c
* :github:`6101` - [Coverity CID: 182770] Error handling issues in /samples/net/sockets/http_get/src/http_get.c
* :github:`6103` - [Coverity CID: 182768] Error handling issues in /samples/net/sockets/dumb_http_server/src/socket_dumb_http.c
* :github:`6104` - [Coverity CID: 182767] Error handling issues in /tests/net/socket/udp/src/main.c
* :github:`6105` - [Coverity CID: 182766] Uninitialized variables in /tests/net/socket/udp/src/main.c
* :github:`6106` - [Coverity CID: 182765] Error handling issues in /tests/net/socket/udp/src/main.c
* :github:`6107` - [Coverity CID: 182764] Resource leaks in /tests/net/socket/udp/src/main.c
* :github:`6108` - [Coverity CID: 182763] Uninitialized variables in /tests/net/socket/udp/src/main.c
* :github:`6109` - [Coverity CID: 182762] Control flow issues in /subsys/storage/flash_map/flash_map.c
* :github:`6230` - Bluetooth: controller: refactor to use min/max macro
* :github:`6258` - [Coverity CID: 182894] Error handling issues in /samples/net/nats/src/main.c
* :github:`6259` - [Coverity CID: 182892] Various in /tests/ztest/src/ztest.c
* :github:`6260` - [Coverity CID: 182890] Null pointer dereferences in /tests/net/net_pkt/src/main.c
* :github:`6262` - [Coverity CID: 182886] Error handling issues in /subsys/bluetooth/controller/hal/nrf5/ticker.c
* :github:`6287` - runtime allocation of kernel objects
* :github:`6288` - better heap APIs for user mode
* :github:`6307` - Unaligned access in networking code causes unaligned exception on Nucleo-F429ZI
* :github:`6338` - Bluetooth: mesh: Node Identity Advertising issue
* :github:`6342` - echo server: incorrect Ethernet FCS and checksum in echo response when running in QEMU
* :github:`6347` - dhcpv4_client sample on spi_api_rework branch with board olimexino_stm32 does not work well
* :github:`6356` - samples/net/http_server causes an endless loop with wget
* :github:`6370` - I can't find adc name which is f429zi board
* :github:`6372` - ARMv8-M: implement & integrate SecureFault Handling
* :github:`6384` - Native (POSIX) zephyr.exe command line options not documented
* :github:`6388` - entropy_native_posix doesn't follow "entropy" contract and is thus security risk
* :github:`6400` - samples/net/http_client: Failed to connect to samples/net/http_server
* :github:`6413` - net_mgmt.h API event set data structure leads to undesirable behavior
* :github:`6424` - tests/kernel/mem_protect/x86_mmu_api: crashes on Arduino_101
* :github:`6450` - Several devices of same type on same bus - how to address?
* :github:`6511` - simics/qemu_x86_nommu: testscases with CONFIG_BOOT_DELAY !=0 do not boot
* :github:`6513` - arch: arc: the stack_sentinel is not supported in arc
* :github:`6514` - samples/drivers/i2c_fujitsu_fram: Data comparison on data written and data read fails randomly
* :github:`6515` - boards: em_starterkit: the reset mechanism is not stable
* :github:`6534` - coap-server: Canceling Observation not working
* :github:`6559` - boards with i2c child nodes fail to build on windows
* :github:`6564` - samples/net/echo_client: Failed to connect to samples/net/echo_server for IPV4 test
* :github:`6565` - samples/net/sockets/echo: Failed to connect to samples/net/echo_server for IPV6 test
* :github:`6577` - sam0: SPI CS released too early
* :github:`6583` - samples/net/http_client: Failed to connect to
* :github:`6588` - Traffic prioritization on per-connection basis
* :github:`6594` - usb: replace "unicode" with "utf16le"
* :github:`6611` - Make sanitycheck run on Windows
* :github:`6616` - Non-detected/delayed sanitycheck failures due to ROM/RAM overflow
* :github:`6621` - newlib expects HEAP to be in CONFIG_SRAM_*, on arc there isn't always SRAM
* :github:`6623` - Request to support Application's Kconfig tree
* :github:`6625` - stm32: pwm: PWM 3 typo
* :github:`6635` - tests/net/websocket/test doesnt build on qemu_xtensa
* :github:`6640` - Ethernet network management interface additions
* :github:`6643` - usb: nrf52 returns empty configuration responses
* :github:`6644` - Bluetooth: Add reason parameter to L2CAP Channel disconnected callback
* :github:`6646` - usb: protocol field in descriptor for CDC ACM should default to zero
* :github:`6651` - sanity tries to compile things when it should not
* :github:`6657` - Question: Is Bluetooth avrcp supported in Zephyr? Or any plan?
* :github:`6660` - [Coverity CID: 183072] Incorrect expression in /tests/lib/c_lib/src/main.c
* :github:`6661` - [Coverity CID: 183071] Incorrect expression in /tests/kernel/static_idt/src/static_idt.c
* :github:`6662` - [Coverity CID: 183070] Uninitialized variables in /tests/posix/timer/src/posix_timer.c
* :github:`6663` - [Coverity CID: 183068] Incorrect expression in /tests/kernel/fatal/src/main.c
* :github:`6665` - [Coverity CID: 183067] Incorrect expression in /tests/lib/c_lib/src/main.c
* :github:`6666` - [Coverity CID: 183066] Error handling issues in /tests/kernel/mbox/mbox_api/src/test_mbox_api.c
* :github:`6667` - [Coverity CID: 183065] Integer handling issues in /tests/posix/timer/src/posix_timer.c
* :github:`6668` - [Coverity CID: 183064] Incorrect expression in /tests/kernel/common/src/intmath.c
* :github:`6669` - [Coverity CID: 183063] Null pointer dereferences in /tests/net/websocket/src/server.c
* :github:`6670` - [Coverity CID: 183062] Error handling issues in /samples/net/sockets/big_http_download/src/big_http_download.c
* :github:`6671` - [Coverity CID: 183061] Incorrect expression in /tests/kernel/mem_pool/mem_pool/src/main.c
* :github:`6672` - [Coverity CID: 183060] Incorrect expression in /tests/kernel/fatal/src/main.c
* :github:`6674` - [Coverity CID: 183058] Incorrect expression in /tests/kernel/static_idt/src/static_idt.c
* :github:`6675` - [Coverity CID: 183057] Memory - illegal accesses in /subsys/net/lib/websocket/websocket.c
* :github:`6677` - [Coverity CID: 183055] Concurrent data access violations in /kernel/posix/pthread.c
* :github:`6679` - [Coverity CID: 183053] Memory - corruptions in /samples/net/ws_echo_server/src/ws.c
* :github:`6680` - [Coverity CID: 183052] Memory - corruptions in /tests/net/app/src/main.c
* :github:`6682` - [Coverity CID: 183050] Memory - illegal accesses in /subsys/net/lib/websocket/websocket.c
* :github:`6683` - [Coverity CID: 183049] Incorrect expression in /tests/lib/c_lib/src/main.c
* :github:`6684` - [Coverity CID: 183048] Program hangs in /tests/posix/pthread_rwlock/src/posix_rwlock.c
* :github:`6685` - [Coverity CID: 183047] Uninitialized variables in /kernel/smp.c
* :github:`6686` - [Coverity CID: 183046] Memory - corruptions in /drivers/console/uart_console.c
* :github:`6687` - [Coverity CID: 183045] Error handling issues in /tests/drivers/spi/spi_loopback/src/spi.c
* :github:`6688` - [Coverity CID: 183044] Memory - corruptions in /tests/net/app/src/main.c
* :github:`6689` - [Coverity CID: 183043] Incorrect expression in /tests/kernel/common/src/intmath.c
* :github:`6690` - [Coverity CID: 183042] Program hangs in /tests/posix/pthread_rwlock/src/posix_rwlock.c
* :github:`6691` - [Coverity CID: 183041] Memory - corruptions in /tests/net/websocket/src/server.c
* :github:`6692` - [Coverity CID: 183040] Incorrect expression in /tests/kernel/static_idt/src/static_idt.c
* :github:`6693` - [Coverity CID: 183039] Error handling issues in /tests/kernel/mem_slab/mslab_threadsafe/src/test_mslab_threadsafe.c
* :github:`6694` - [Coverity CID: 183038] Integer handling issues in /kernel/posix/timer.c
* :github:`6697` - [Coverity CID: 183035] Null pointer dereferences in /tests/net/udp/src/main.c
* :github:`6698` - [Coverity CID: 183034] Error handling issues in /tests/net/websocket/src/main.c
* :github:`6699` - [Coverity CID: 183033] Program hangs in /tests/posix/pthread_rwlock/src/posix_rwlock.c
* :github:`6700` - [Coverity CID: 183032] Error handling issues in /tests/net/websocket/src/main.c
* :github:`6701` - [Coverity CID: 183031] Error handling issues in /tests/posix/semaphore/src/sem.c
* :github:`6702` - [Coverity CID: 183030] Memory - corruptions in /drivers/console/uart_console.c
* :github:`6719` - compilation problems with posix/unistd.h
* :github:`6726` - setting locale breaks MacOS X builds
* :github:`6749` - kconfig: The error message is misleading when values are out-of-range
* :github:`6755` - stm32: Compile error if 2-nd UART console enabled
* :github:`6757` - kernel:the API of k_mem_pool_alloc need try again to -EAGAIN[bug]
* :github:`6759` - sanitycheck in shippable states faillure but reports 0 errors
* :github:`6764` - ARC EMSK dts enhancements
* :github:`6779` - websocket API documentation missing
* :github:`6792` - [Coverity CID: 183443] Memory - corruptions in /subsys/bluetooth/controller/ll_sw/ctrl.c
* :github:`6793` - [Coverity CID: 183442] Null pointer dereferences in /subsys/net/ip/icmpv6.c
* :github:`6802` - unexpected user mode stack overflows on ARM
* :github:`6811` - Add ReST/Sphinx usage guide to our contributing documentation
* :github:`6814` - user mode does not work with newlib
* :github:`6821` - Simplify rendering of Kconfig variable doc
* :github:`6822` - Document how to flash with openocd on windows
* :github:`6831` - Update template docs with build example
* :github:`6833` - Question: BLE 5.0 extended advertising feature support for HCI
* :github:`6844` - Update Kconfiglib to improve generated documentation
* :github:`6849` - Some Kconfig symbols select choice symbols, which is a no-op
* :github:`6851` - 'make html' in doc/ fails with lexer.DtsLexer import error
* :github:`6854` - 'make html' in doc/ gives an error if doc.log is missing or empty
* :github:`6866` - build: requirements: No module named yaml and elftools
* :github:`6874` - Not able to join OpenThread BorderRouter or a ot-ftd-cli network
* :github:`6879` - Display symbols with multiple defs. with the right properties in the Kconfig documentation
* :github:`6881` - [Coverity CID: 183487] Control flow issues in /subsys/net/ip/net_core.c
* :github:`6882` - [Coverity CID: 183486] Null pointer dereferences in /tests/net/traffic_class/src/main.c
* :github:`6883` - [Coverity CID: 183485] Memory - illegal accesses in /subsys/net/ip/net_tc.c
* :github:`6884` - [Coverity CID: 183484] Null pointer dereferences in /tests/net/checksum_offload/src/main.c
* :github:`6885` - [Coverity CID: 183482] Memory - illegal accesses in /subsys/net/ip/net_tc.c
* :github:`6886` - [Coverity CID: 183481] Insecure data handling in /ext/lib/crypto/mbedtls/library/pkparse.c
* :github:`6887` - [Coverity CID: 183480] Null pointer dereferences in /tests/net/checksum_offload/src/main.c
* :github:`6888` - [Coverity CID: 183479] Insecure data handling in /ext/lib/crypto/mbedtls/library/pkparse.c
* :github:`6889` - [Coverity CID: 183478] Error handling issues in /tests/net/ipv6/src/main.c
* :github:`6890` - tests: kernel: arm_irq_vector_table: Usage fault on nrf52_pca10040
* :github:`6891` - jlink flashing is broken in windows
* :github:`6893` - http_client: Struct data is erased for no apparent reason
* :github:`6896` - too many static MPU regions on many ARM targets
* :github:`6897` - Can't build i586 on Mac following instructions
* :github:`6899` - support Ethernet statistical counters
* :github:`6902` - k_call_stacks_analyze needs to be reimplemented and optimized
* :github:`6907` - driver_api structs should have all function pointers defined
* :github:`6908` - shippable: console limit error (Console size exceeds 16 MB limit)
* :github:`6909` - Number of regions in arm_core_mpu_buffer_validate() can overflow
* :github:`6911` - xtools build hard-coded to use IAMCU compiler for all x86 targets
* :github:`6912` - OS X: setup instructions are wrong
* :github:`6929` - Make slab allocator work on user mode
* :github:`6937` - Add option for configuring P0.9 and P0.10 as GPIO
* :github:`6948` - Kconfig choice symbols could not be assigned in Kconfig.* files
* :github:`6957` - NRF52840: I2C, SPI driver
* :github:`6972` - RFC: kernel heap requests on behalf of syscalls
* :github:`6973` - bad magic number in 'kconfiglib' error when generating docs
* :github:`6978` - Fix issues with running Python's curses module on Windows
* :github:`6980` - extended Advertising BLE-5
* :github:`6983` - top level CMakeList.txt test if LINKER_SCRIPT points to existing file
* :github:`6984` - include pthread in app -> compilation failed
* :github:`6988` - test checksum_offload fail on native_posix
* :github:`6992` - extern object declarations interfere with kernel object detection
* :github:`6996` - buffer management issues with k_pipe syscalls
* :github:`6997` - buffer management issues with k_msgq syscalls
* :github:`7009` - LSM6DSL: Isse with spi_config
* :github:`7020` - tests/kernel/smp: Test fails, scheduler schedules the threads on only one core
* :github:`7022` - HTTP Server crashes on native posix
* :github:`7026` - i2c based sensor test cases fails on arc core
* :github:`7032` - Have Sphinx search display txt not ReST as results
* :github:`7033` - tests:fp_sharing: Test takes almost an hour on frdm_k64f
* :github:`7044` - Boot banner not correct for application builds outside of zephyr
* :github:`7050` - tests: sys_mem_pool: Bus fault occurs on ARM boards (frdmk64f and nrf52840_pca10056)
* :github:`7055` - tests: fatal: Stack protection fatal test fails on ARC core
* :github:`7067` - scripts: extract_dts_includes: fails on multiple includes in yaml bindings file
* :github:`7070` - lwm2m: possible buffer overflow in LwM2M engine debug output
* :github:`7073` - Full persistent storage support for Bluetooth
* :github:`7075` - No such file or directory: CMAKE_READELF: 'CMAKE_READELF-NOTFOUND'
* :github:`7076` - NRF52840: I2C Sensor (SHT3XD) driver issue
* :github:`7078` - [Coverity CID: 185286] Error handling issues in /subsys/settings/src/settings_store.c
* :github:`7079` - [Coverity CID: 185285] Error handling issues in /subsys/settings/src/settings_fcb.c
* :github:`7080` - [Coverity CID: 185284] Error handling issues in /subsys/settings/src/settings_fcb.c
* :github:`7081` - [Coverity CID: 185283] Control flow issues in /subsys/fs/nffs_fs.c
* :github:`7082` - [Coverity CID: 185282] Error handling issues in /subsys/settings/src/settings_init.c
* :github:`7083` - [Coverity CID: 185281] Null pointer dereferences in /kernel/posix/mqueue.c
* :github:`7084` - [Coverity CID: 185280] Error handling issues in /tests/posix/pthread_rwlock/src/posix_rwlock.c
* :github:`7085` - [Coverity CID: 185279] Resource leaks in /tests/net/socket/getaddrinfo/src/main.c
* :github:`7086` - [Coverity CID: 185278] Null pointer dereferences in /samples/net/coap_server/src/coap-server.c
* :github:`7087` - [Coverity CID: 185277] Null pointer dereferences in /samples/net/coap_server/src/coap-server.c
* :github:`7088` - [Coverity CID: 185276] Uninitialized variables in /tests/posix/posix_checks/src/posix_checks.c
* :github:`7089` - [Coverity CID: 185275] Integer handling issues in /kernel/posix/pthread_common.c
* :github:`7090` - [Coverity CID: 185274] Error handling issues in /subsys/settings/src/settings_store.c
* :github:`7091` - [Coverity CID: 185273] Resource leaks in /tests/net/socket/getaddrinfo/src/main.c
* :github:`7097` - doc build kconfig warning for XOROSHIRO_RANDOM_GENERATOR
* :github:`7103` - Unpatched upstream vulnerabilities in mbedTLS
* :github:`7107` - Crash while running echo_server with openthread
* :github:`7115` - doc/subsystems/settings/settings.rst references non-existing variables
* :github:`7127` - STM32 ethernet driver crashes without connected cable
* :github:`7128` - msp uninitialized on reset leading to usage fault for non-XIP targets
* :github:`7137` - I2C Driver does not compile for nrf5 boards
* :github:`7144` - SDK Openocd stm32f4discovery.cfg is incorrect for new versions of the STM32F407G-DISC1
* :github:`7146` - scripts/sanitycheck will delete any folder given to --outdir argument
* :github:`7155` - DTS: qemu_x86.dts: Warning (unit_address_format): Node /flash@00001000 unit name should not have leading 0s
* :github:`7159` - Kconfig.defconfig is undocumented and unclear
* :github:`7170` - zassert: Confusing rules and actual usage for messages in zassert_*() calls
* :github:`7172` - Mcr20a initialization crashes with frdm_k64f board
* :github:`7184` - List of supported boards is incorrect when $BOARD_ROOT is set by user.
* :github:`7186` - settings_load() never returns when called
* :github:`7198` - sanitycheck issue w/ztest
* :github:`7200` - Commit 'tests: kernel: mem_protect: tests for userspace mode' breaks scripts/sanitycheck
* :github:`7207` - cmake fails when zephyr is used as submodule
* :github:`7208` - ztest_test_fail() not failing?
* :github:`7219` - printk output with gdbserver?
* :github:`7227` - /subsys/storage/flash_map/flash_map_default.c missing declarations.
* :github:`7236` - Sample Http_Client is deprecated
* :github:`7245` - EMSK 7d: can't build after 60ec8be309cb84d72c5fc61330abc968eb62333e
* :github:`7246` - esp32 fails to build with xtensa-esp32-elf-gcc: error: unrecognized command line option '-no-pie'
* :github:`7248` - i2c: Seems issue in dts
* :github:`7249` - Arduino 101 / ARC: tests/kernel/fifo/fifo_api/ fails after 3d9ba10b5c903265d870a9f24065340d93e7d465
* :github:`7254` - [Coverity CID :185402] Code maintainability issues in /drivers/spi/spi_dw.c
* :github:`7255` - [Coverity CID :185401] Integer handling issues in /drivers/spi/spi_mcux_dspi.c
* :github:`7256` - [Coverity CID :185400] Null pointer dereferences in /drivers/spi/spi_dw.c
* :github:`7257` - [Coverity CID :185399] Integer handling issues in /subsys/usb/usb_device.c
* :github:`7258` - [Coverity CID :185398] Memory - corruptions in /samples/net/mbedtls_sslclient/src/mini_client.c
* :github:`7259` - [Coverity CID :185397] Null pointer dereferences in /tests/net/ipv6_fragment/src/main.c
* :github:`7260` - [Coverity CID :185395] Memory - corruptions in /samples/net/mbedtls_sslclient/src/mini_client.c
* :github:`7261` - [Coverity CID :185394] Null pointer dereferences in /subsys/net/ip/l2/ethernet/arp.c
* :github:`7262` - [Coverity CID :185393] Memory - illegal accesses in /drivers/interrupt_controller/plic_fe310.c
* :github:`7263` - [Coverity CID :185392] Null pointer dereferences in /drivers/spi/spi_dw.c
* :github:`7264` - [Coverity CID :185391] Incorrect expression in /tests/lib/rbtree/src/main.c
* :github:`7266` - Zephyr's C Kconfig tools do not support <, <=, >, >=, due to being too old
* :github:`7269` - /samples/net/http_client: Error using https in http_cliente sample
* :github:`7280` - if we have two flash on board?
* :github:`7285` - buffer management issues with k_stack syscalls
* :github:`7287` - Git describe broken with older versions of Git
* :github:`7308` - qemu_xtensa cannot be debugged with SDK
* :github:`7309` - minnowboard DTS is not configured correctly
* :github:`7311` - FCB: CRC write size in append_finish doesn't honor flash min write size
* :github:`7327` - Interrupt stack is not initialized for Xtensa target
* :github:`7329` - is there has anyone who having portting stm32f2?
* :github:`7336` - USB DFU: this area can not be overwritten
* :github:`7340` - DISCUSS: usb_device.c: If condition judgment
* :github:`7342` - samples: net/dns_resolve does not build when activating dhcp
* :github:`7349` - Add STM32L0 USB support
* :github:`7364` - kernel crash: USB ECM: echo_server
* :github:`7365` - net: Regression in multiple client connection handling with samples/net/sockets/dumb_http_server (QEMU/SLIP)
* :github:`7377` - net: Regression in multiple client connection handling with samples/net/sockets/dumb_http_server (frdm_k64f/Ethernet)
* :github:`7378` - TOCTOU in spi_transceive syscall handler
* :github:`7379` - TOCTOU in adc_read() handler
* :github:`7380` - dma_stm32f4x possible access out of bounds in start/stop handlers
* :github:`7388` - nxp_mpu: suspicious ENDADDR_ROUND() macro
* :github:`7389` - t1_adc108s102 buffer overflow due to chan->buf_idx growth
* :github:`7412` - Mismatch between 'uint32_t' (and 'off_t') definitions in minimal libc and newlib
* :github:`7434` - bluetooth: host: sample applications can't set BT address w/o using an FS
* :github:`7437` - Zephyr's mailing list archives were hard to find
* :github:`7442` - menuconfig should perform fuzzy string matching for symbols
* :github:`7447` - net tests: valgrind detected issues
* :github:`7452` - nRF52, NXP kinetis, ARM Beetle and STM MPU option appear for every MPU-equipped device
* :github:`7453` - Bluetooth mesh message context API needs to expose DST address of RX messages
* :github:`7459` - net: Multiple inconsistent settings to configure TIME_WAIT delay in the IP stack
* :github:`7460` - Unable to view PR #6391
* :github:`7475` - LwM2M: UDP local port setting not obeyed, random port doesn't work
* :github:`7478` - tests: valgrind detected issues
* :github:`7480` - pthread_attr_init( ) does not conform to POSIX specification
* :github:`7482` - [Coverity CID :185523] Out-of-bounds read in lsm6dsl driver
* :github:`7495` - cmake: extensions: ToolchainCapabilityDatabase.cmake parse error in shippable
* :github:`7500` - DHCP: when CONFIG_NET_APP_MY_IPV4_ADDR is IP stack needs to rebind on DHCP acquire
* :github:`7508` - [Coverity CID :185523] Memory - illegal accesses in /drivers/sensor/lsm6dsl/lsm6dsl.c
* :github:`7511` - [Coverity CID :185391] Incorrect expression in /tests/lib/rbtree/src/main.c
* :github:`7519` - Verify CODEOWNERS (not) including subfolders is intended
* :github:`7521` - Website: git clone instructions refer to old (v1.10.0) tag
* :github:`7536` - tests: kernel.timer: fails on riscv32
* :github:`7541` - arm: struct k_thread->entry is overwritten once the thread is scheduled
* :github:`7565` - zephyr_library_ifdef has unexpected behaviour
* :github:`7569` - test: posix/pthread_rwlock
* :github:`7608` - ARC objdump crash when creating zephyr.lst for one test
* :github:`7610` - tests/lib/c_lib fails on native_posix on FC28
* :github:`7613` - OTA:an issue about OTA/mcumgr
* :github:`7644` - k_mem_slab_free triggers rescheduling even when no threads are pending
* :github:`7651` - nRF5x console broken
* :github:`7655` - Invalid argument passed to k_sleep
* :github:`7656` - Invalid argument passed to k_sleep
* :github:`7657` - Invalid argument passed to k_sleep
* :github:`7661` - LwM2M error: invisible error during registration
* :github:`7663` - Sample ipsp: bluetooth: not functional on disco_l475_iot1
* :github:`7666` - NVS API documentation is missing
* :github:`7671` - NVS broken for write-align > 4
* :github:`7673` - Eliminate recursive make in OpenAMP integration
* :github:`7676` - buildsystem: 'make flash' failed
* :github:`7677` - mcuboot-master imgtool.py sign error
* :github:`7692` - Kernel tests failing at runtime on frdm_k64f
* :github:`7694` - Have RTC binding for QMSI utilize base rtc.yaml
* :github:`7698` - Kernel tests failing at runtime on frdm_kw41z
* :github:`7699` - drivers: i2s: intel_s1000: I2S BCLK cannot be a fraction of reference clock
* :github:`7704` - nrf52_pca10040:tests/bluetooth/init/test_controller_dbg fails build with CONFIG_USERSPACE=y
* :github:`7709` - native_posix: hello_world fails to link on Fedora 28
* :github:`7712` - [Coverity CID :186063] Null pointer dereferences in /subsys/disk/disk_access.c
* :github:`7713` - [Coverity CID :186062] Error handling issues in /samples/net/sockets/big_http_download/src/big_http_download.c
* :github:`7714` - [Coverity CID :186061] Memory - corruptions in /drivers/usb/device/usb_dc_kinetis.c
* :github:`7715` - [Coverity CID :186059] Memory - illegal accesses in /drivers/usb/device/usb_dc_kinetis.c
* :github:`7716` - [Coverity CID :186058] Null pointer dereferences in /tests/kernel/fifo/fifo_timeout/src/main.c
* :github:`7717` - [Coverity CID :186057] Memory - corruptions in /samples/net/rpl_border_router/src/coap.c
* :github:`7718` - [Coverity CID :186056] Null pointer dereferences in /subsys/disk/disk_access.c
* :github:`7719` - [Coverity CID :186055] Memory - corruptions in /drivers/usb/device/usb_dc_kinetis.c
* :github:`7720` - [Coverity CID :186053] Code maintainability issues in /samples/net/rpl_border_router/src/http.c
* :github:`7721` - [Coverity CID :186051] Memory - illegal accesses in /drivers/usb/device/usb_dc_kinetis.c
* :github:`7722` - [Coverity CID :186049] Memory - corruptions in /samples/subsys/mgmt/mcumgr/smp_svr/src/main.c
* :github:`7723` - [Coverity CID :186048] Memory - illegal accesses in /drivers/usb/device/usb_dc_kinetis.c
* :github:`7724` - [Coverity CID :186047] Null pointer dereferences in /tests/net/arp/src/main.c
* :github:`7725` - [Coverity CID :186046] Memory - corruptions in /drivers/usb/device/usb_dc_kinetis.c
* :github:`7726` - [Coverity CID :186045] Null pointer dereferences in /subsys/disk/disk_access.c
* :github:`7727` - [Coverity CID :186044] Memory - illegal accesses in /drivers/usb/device/usb_dc_kinetis.c
* :github:`7728` - [Coverity CID :186043] Incorrect expression in /tests/posix/fs/src/test_fs_dir.c
* :github:`7729` - [Coverity CID :186042] Program hangs in /tests/posix/mutex/src/posix_mutex.c
* :github:`7730` - [Coverity CID :186041] Memory - corruptions in /samples/net/rpl_border_router/src/http.c
* :github:`7731` - [Coverity CID :186040] Resource leaks in /tests/posix/fs/src/test_fs_dir.c
* :github:`7732` - [Coverity CID :186039] Control flow issues in /subsys/net/ip/connection.c
* :github:`7733` - [Coverity CID :186037] Memory - corruptions in /lib/posix/fs.c
* :github:`7734` - [Coverity CID :186036] Memory - corruptions in /drivers/usb/device/usb_dc_kinetis.c
* :github:`7735` - [Coverity CID :186035] Incorrect expression in /drivers/ipm/ipm_mcux.c
* :github:`7736` - [Coverity CID :186034] Memory - corruptions in /tests/net/udp/src/main.c
* :github:`7737` - [Coverity CID :186033] Control flow issues in /subsys/mgmt/smp.c
* :github:`7738` - [Coverity CID :186032] Memory - illegal accesses in /drivers/usb/device/usb_dc_kinetis.c
* :github:`7739` - [Coverity CID :186030] Error handling issues in /subsys/bluetooth/host/settings.c
* :github:`7740` - [Coverity CID :186029] Null pointer dereferences in /subsys/disk/disk_access.c
* :github:`7741` - [Coverity CID :186028] Incorrect expression in /drivers/gpio/gpio_imx.c
* :github:`7742` - [Coverity CID :186027] Null pointer dereferences in /subsys/disk/disk_access.c
* :github:`7753` - security: ARM does not scrub registers when returning from system calls
* :github:`7754` - tests/kernel/threads/lifecycle/thread_init register corruption on ARM with user mode enabled
* :github:`7755` - getchar sample not working on nRF5x
* :github:`7761` - ARM: failed syscalls do not report site of faulting syscall
* :github:`7766` - tests/subsys/fs/fat_fs_api - fat_fs_basic_test hangs in fatfs_mount
* :github:`7776` - possible unaligned memory access to struct _k_object's perms
* :github:`7780` - Using latest Openthread in Zephyr
* :github:`7782` - tests/kernel/mem_protect/stack_random hangs without any console output on frdm_k64f
* :github:`7787` - tests: kernel: smp fatal exception observed on ESP32
* :github:`7789` - Reset sequence broken on nRF5x chips
* :github:`7793` - samples\sensor: bme280 and tmp112 hangs without any console output on quark_se_c1000_devboard
* :github:`7795` - STM32 related Kconfig symbols don't exist anymore or aren't referenced anywhere
* :github:`7797` - subsys/net/ip/Kconfig references NET_L2_OFFLOAD but that doesn't exist
* :github:`7798` - nonexistent Kconfig symbol in defconfig arch/x86/soc/intel_quark/quark_x1000/Kconfig.defconfig.series
* :github:`7799` - nonexistent Kconfig symbol in defconfig boards/x86/quark_se_c1000_devboard/Kconfig.defconfig
* :github:`7802` - Add RTC support for all NXP MCUX platforms
* :github:`7804` - samples/sensor/apds9960 fails with assertion "Fatal fault in essential thread" on quark_se_c1000_ss_devboard
* :github:`7811` - CAVS Interrupt controller - using undefined Kconfig symbols
* :github:`7812` - tests: Crypto tests fail on nrf52 boards after enabling user mode
* :github:`7814` - networking - Cleanup undefined but referenced Kconfig
* :github:`7815` - bluetooth - cleanup undefined Kconfig symbols
* :github:`7819` - build breakage due to enabling USER_SPACE by default
* :github:`7821` - net: Loopback broken: Packets sent locally to loopback address are now dropped
* :github:`7858` - Test for k_thread_foreach() is failing on some boards
* :github:`7862` - rpl_border_router sample bus_faults on frdm_k64f
* :github:`7873` - cc2650_sensortag_defconfig assigned missing Kconfig symbols (now dead code)
* :github:`7877` - tests: kernel/mem_protect/mem_protect is failed on nucleo_f429zi/disco_l475_iot1
* :github:`7882` - tests/dfu/mcuboot.test_bank_erase fails on nrf52840_pca10056
* :github:`7885` - em_starterkit_em7d_v22 failing multiple tests in user mode
* :github:`7891` - tests/posix/timer.test_timer fails on nrf51_pca10028
* :github:`7907` - tests/benchmarks/latency_measure fails on sam_e70_xplained
* :github:`7927` - West runner command doesn't work for em-starterkit
* :github:`7931` - Bluetooth controller nrf52 - connection event status
* :github:`7933` - drivers: can: stm32_can: bitrate ignored
* :github:`7942` - tests: benchmarks: build fail in arm/core/fault.c for frdm_k64f in footprint/min
* :github:`7954` - make flash failing for altera_max10
* :github:`7959` - shell: backspace doesn't work in minicom
* :github:`7972` - Bluetooth: Mesh: adv bearer does not use correct interval
* :github:`7974` - extract_dts_includes: Binding merge warning should be enhanced
* :github:`7979` - drivers: dma: dma_cavs: DMA driver does not support per-channel callbacks
* :github:`7989` - eth: ping: can't ping others from zephyr console
* :github:`8005` - FRDM-K64F boot hang w/ mcuboot + lwm2m client
* :github:`8009` - POSIX clock_gettime() is discontinuous
* :github:`8015` - Driver:spi_flash_w25qxxdv.c init mistake and can not be erased
* :github:`8032` - _SysFatalErrorHandler not working properly for arc on quark_se_c1000_ss_devboard
* :github:`8033` - tests/crypto/mbedtls/ results in exception on frdm_k64f
* :github:`8038` - tests/subsys/settings/fcb system.settings.fcb fails on nrf52
* :github:`8049` - kernel: scheduler tries to make polling threads active
* :github:`8054` - Ethernet initialization is unreliable and gets stuck on frdm-k64f
* :github:`8062` - [Coverity CID :186196] Error handling issues in /samples/sensor/mcp9808/src/main.c
* :github:`8063` - [Coverity CID :186190] Null pointer dereferences in /tests/kernel/fifo/fifo_timeout/src/main.c
* :github:`8064` - arm: multiple MemManage status flags may be set simultaneously
* :github:`8065` - tests/subsys/fs/fat_fs_api - test_fat_file and test_fat_dir results into Assertion failure on Arduino_101 due to spi_flash changes
* :github:`8069` - mem_slab/mslab_threadsafe testcase fails in CI sporadically
* :github:`8070` - table broken in S1000 documentation
* :github:`8073` - Zero Latency IRQ masked by interrupt locking
* :github:`8083` - Bluetooth ATT trying to access invalid pointer after disconnect
* :github:`8085` - tests/subsys/logging/logger-hook crashes on sam_e70_explained
* :github:`8086` - tests/net/ieee802154/crypto fails on Quark SE / x86
* :github:`8087` - tests/misc/test_build fails to build on esp32
* :github:`8088` - tests/kernel/xip fails on QEMU riscv32 with no output
* :github:`8090` - tests/sched/schedule_api fails to build on EMSK7d
* :github:`8092` - tests/kernel/fatal crashes on Quark SE / ARC
* :github:`8093` - tests/kernel/common fails to build on xtensa / ESP32
* :github:`8094` - tests/drivers/watchdog/wdt_basic_api fails to build on esp32 / xtensa
* :github:`8096` - tests/drivers/watchdog/wdt_basic_api fails on Quark SE / ARC with no output
* :github:`8098` - tests/drivers/rtc/rtc_basic_api fails on Quark SE / x86
* :github:`8099` - tests/drivers/rtc/rtc_basic_api assertion failure on Arduino 101 / ARC
* :github:`8111` - kconfiglib warning "quotes recommended around default value for string symbol SOC_SERIES"
* :github:`8117` - tests/kernel/errno crashes on minnowboard
* :github:`8118` - x86 may expose private kernel data to user mode
* :github:`8129` - scheduler: in update_cache() thread from next_up() and _current are the same
* :github:`8132` - stm3210c_eval.dts_compiled: Warning
* :github:`8142` - GPIO API not shown on docs.zephyrproject.org
* :github:`8145` - samples/subsys/usb/dfu: Build failure, Reference to non-existent node or label "slot0_partition"
* :github:`8150` - Doc: Update Zephyr security overview
* :github:`8171` - Tests failing with a stacking error on frdm_k64f
* :github:`8172` - Networking tests failing with an assertion on frdm_k64f
* :github:`8180` - objcopy bug
* :github:`8182` - Problem with obtaining hop_limit from a received packet
* :github:`8189` - lwm2m: Quickly running out of resources when using observe
* :github:`8192` - MPU Fault on some platforms after THREAD_MONITOR "fix"
* :github:`8193` - STM32 config BUILD_OUTPUT_HEX fail
* :github:`8198` - Tests: fifo_timeout fails on nrf51_pca10028
* :github:`8200` - Tests: arm_irq_vector_table: Assertion failure on nrf52840_pca10056
* :github:`8202` - question: is the irq_lock is necessary in console_putchar
* :github:`8213` - Failed test: usb.device.dfu.bank_erase
* :github:`8214` - Failed test: kernel.threads.customdata_get_set_coop
* :github:`8222` - tests/drivers/watchdog/wdt_basic_api crashes on multiple platforms
* :github:`8232` - Failed test: kernel.memory_protection.create_new_essential_thread_from_user
* :github:`8250` - UDP socket may lose data
* :github:`8274` - Make flash doesn't work on nrf51_pca10028
* :github:`8275` - when zephyr can support popular IDE develop?
* :github:`8280` - [Coverity CID :186491] Memory - corruptions in /lib/posix/fs.c
* :github:`8292` - Rework ARC exception stack
* :github:`8298` - Failed test: kernel.alert.isr_alert_consumed (in tests/kernel/alert/) on quark_se_c1000_ss
* :github:`8299` - Failed test: kernel.memory_pool.mpool_alloc_free_isr (in tests/kernel/mem_pool/mem_pool_api)
* :github:`8302` - Failed test: peripheral.adc.adc on quark_se
* :github:`8311` - tests/benchmarks/sys_kernel fails on frdm_k64f, sam_e70
``` | /content/code_sandbox/doc/releases/release-notes-1.12.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 15,182 |
```restructuredtext
:orphan:
.. _zephyr_1.14:
.. _zephyr_1.14.1:
Zephyr 1.14.3
####################
This is an LTS maintenance release with fixes.
Security Vulnerability Related
******************************
The following security vulnerabilities (CVEs) were addressed in this
release:
* CVE-2020-10066
* CVE-2020-10069
* CVE-2020-13601
* CVE-2020-13602
More detailed information can be found in:
path_to_url
Issues Fixed
************
These GitHub issues were addressed since the previous 1.14.0 tagged
release:
.. comment List derived from GitHub Issue query: ...
* :github:`issuenumber` - issue title
* :github:`18334` - DNS resolution is broken for some addresses in master/2.0-pre
* :github:`19917` - Bluetooth: Controller: Missing LL_ENC_RSP after HCI LTK Negative Reply
* :github:`21107` - LL_ASSERT and 'Imprecise data bus error' in LL Controller
* :github:`21257` - tests/net/net_pkt failed on mimxrt1050_evk board.
* :github:`21299` - bluetooth: Controller does not release buffer on central side after peripheral reset
* :github:`21601` - '!radio_is_ready()' failed
* :github:`21756` - tests/kernel/obj_tracing failed on mec15xxevb_assy6853 board.
* :github:`22968` - Bluetooth: controller: LEGACY: ASSERTION failure on invalid packet sequence
* :github:`23069` - Bluetooth: controller: Assert in data length update procedure
* :github:`23109` - LL.TS Test LL/CON/SLA/BV-129-C fails (split)
* :github:`23805` - Bluetooth: controller: Switching to non conn adv fails for Mesh LPN
* :github:`24601` - Bluetooth: Mesh: Config Client's net_key_status pulls two key indexes, should pull one.
* :github:`25518` - settings_fcb: Fix storing the data
* :github:`25519` - wrong debug function cause kinds of building error
* :github:`26080` - gPTP time sync fails if having more than one port
* :github:`28151` - gPTP should allow user setting of priority1 and priority2 fields used in BMCA
* :github:`28177` - gPTP gptp_priority_vector struct field ordering is wrong
* :github:`29386` - unexpected behavior when doing syscall with 7 or more arguments
* :github:`29858` - Bluetooth: Mesh: RPL cleared on LPN disconnect
* :github:`32430` - Bluetooth: thread crashes when configuring a non 0 Slave Latency
* :github:`32898` - Bluetooth: controller: Control PDU buffer leak into Data PDU buffer pool
Zephyr 1.14.2
####################
This is an LTS maintenance release with fixes.
Security Vulnerability Related
******************************
The following security vulnerabilities (CVEs) were addressed in this
release:
* CVE-2020-10019
* CVE-2020-10021
* CVE-2020-10022
* CVE-2020-10023
* CVE-2020-10024
* CVE-2020-10027
* CVE-2020-10028
More detailed information can be found in:
path_to_url
Issues Fixed
************
These GitHub issues were addressed since the previous 1.14.0 tagged
release:
.. comment List derived from GitHub Issue query: ...
* :github:`issuenumber` - issue title
* :github:`11617` - net: ipv4: udp: broadcast delivery not supported
* :github:`11743` - logging: add user mode access
* :github:`14459` - usb: samples: mass: doesn't build with FLASH overlay
* :github:`15119` - GPIO callback not disabled from an interrupt
* :github:`15339` - RISC-V: RV32M1: Load access fault when accessing GPIO port E
* :github:`15354` - counter: stm32: Issue with LSE clock source selection
* :github:`15373` - IPv4 link local packets are not sent with ARP ethernet type
* :github:`15443` - usb_dc_stm32: Missing semaphore initialization and missing pin remapping configuration
* :github:`15444` - Error initiating sdhc disk
* :github:`15497` - USB DFU: STM32: usb dfu mode doesn't work
* :github:`15507` - NRF52840: usb composite MSC + HID (with CONFIG_ENABLE_HID_INT_OUT_EP)
* :github:`15526` - Unhandled identity in bt_conn_create_slave_le
* :github:`15558` - support for power-of-two MPUs on non-XIP systems
* :github:`15601` - pwm: nRF default prescalar value is wrong
* :github:`15603` - Unable to use C++ Standard Library
* :github:`15605` - Unaligned memory access by ldrd
* :github:`15678` - Watchdog peripheral api docs aren't generated correctly.
* :github:`15698` - bluetooth: bt_conn: No proper ID handling
* :github:`15733` - Bluetooth: controller: Central Encryption setup overlaps Length Request procedure
* :github:`15794` - mps2_an385 crashes if CONFIG_INIT_STACKS=y and CONFIG_COVERAGE=y
* :github:`15817` - nrf52: HFXO is not turned off as expected
* :github:`15904` - concerns with use of CONFIG_BT_MESH_RPL_STORE_TIMEOUT in examples
* :github:`15911` - Stack size is smaller than it should be
* :github:`15975` - Openthread - fault with dual network interfaces
* :github:`16001` - ARC iotdk supports MPU and fpu in hardware but not enabled in kconfig
* :github:`16002` - the spi base reg address in arc_iot.dtsi has an error
* :github:`16010` - Coverage reporting fails on many tests
* :github:`16012` - Source IP address for DHCP renewal messages is unset
* :github:`16046` - modules are being processed too late.
* :github:`16080` - Zephyr UART shell crashes on start if main() is blocked
* :github:`16089` - Mcux Ethernet driver does not detect carrier anymore (it's alway on)
* :github:`16090` - mpu align support for code relocation on non-XIP system
* :github:`16143` - posix: clock_settime calculates the base time incorrectly
* :github:`16155` - drivers: can: wrong value used for filter mode set
* :github:`16257` - net: icmpv4: Zephyr sends echo reply with multicast source address
* :github:`16307` - cannot move location counter backwards error happen
* :github:`16323` - net: ipv6: tcp: unexpected reply to malformed HBH in TCP/IPv6 SYN
* :github:`16339` - openthread: off-by-one error when calculating ot_flash_offset for settings
* :github:`16354` - net: ipv6: Zephyr does not reply to fragmented packet
* :github:`16375` - net: ipv4: udp: Zephyr does not reply to a valid datagram with checksum zero
* :github:`16379` - net: ipv6: udp: Zephyr replies with illegal UDP checksum zero
* :github:`16411` - bad regex for west version check in host-tools.cmake
* :github:`16412` - on reel_board the consumption increases because TX pin is floating
* :github:`16413` - Missing dependency in cmake
* :github:`16414` - Backport west build --pristine
* :github:`16415` - Build errors with C++
* :github:`16416` - sram size for RT1015 and RT1020 needs to be update.
* :github:`16417` - issues with can filter mode set
* :github:`16418` - drivers: watchdog: sam0: check if timeout is valid
* :github:`16419` - Bluetooth: XTAL feature regression
* :github:`16478` - Bluetooth: Improper bonded peers handling
* :github:`16570` - [Coverity CID :198877]Null pointer dereferences in /subsys/net/ip/net_if.c
* :github:`16577` - [Coverity CID :198870]Error handling issues in /subsys/net/lib/lwm2m/lwm2m_obj_firmware_pull.c
* :github:`16581` - [Coverity CID :198866]Null pointer dereferences in /subsys/net/lib/dns/llmnr_responder.c
* :github:`16584` - [Coverity CID :198863]Error handling issues in /subsys/net/lib/sntp/sntp.c
* :github:`16600` - Bluetooth: Mesh: Proxy SAR timeout is not implemented
* :github:`16602` - Bluetooth: GATT Discovery: Descriptor Discovery by range Seg Fault
* :github:`16639` - eth: pinging frdm k64f eventually leads to unresponsive ethernet device
* :github:`16678` - LPN establishment of Friendship never completes if there is no response to the initial Friend Poll
* :github:`16711` - Settings reworked to const char processing
* :github:`16734` - Bluetooth: GATT: Writing 1 byte to a CCC access invalid memory
* :github:`16745` - PTHREAD_MUTEX_DEFINE(): don't store into the _k_mutex section
* :github:`16746` - boards: nrf52840_pca10059: Configure NFC pins as GPIOs by default
* :github:`16749` - IRQ_CONNECT and irq_enable calls in the SiFive UART driver is misconfigured
* :github:`16750` - counter: lack of interrupt when CC=0
* :github:`16760` - K_THREAD_STACK_EXTERN() confuses gen_kobject_list.py
* :github:`16779` - [Zephyr v1.14] ARM: fix the start address of MPU guard in stack-fail checking (when building with no user mode)
* :github:`16799` - Bluetooth: L2CAP: Interpretation of SCID and DCID in Disconnect is wrong
* :github:`16861` - nRF52: UARTE: Data corruption right after resuming device
* :github:`16864` - Bluetooth: Mesh: Rx buffer exhaustion causes deadlock
* :github:`16893` - Bluetooth: Multiple local IDs, privacy problem
* :github:`16943` - Missing test coverage for lib/os/crc*.c
* :github:`16944` - Insufficient test coverage for lib/os/json.c
* :github:`17031` - Compiler warnings in settings module in Zephyr 1.14
* :github:`17038` - code relocation generating different memory layout cause user mode not working
* :github:`17041` - [1.14] Bluetooth: Mesh: RPL handling is not in line with the spec
* :github:`17055` - net: Incorrect data length after the connection is established
* :github:`17057` - Bluetooth: Mesh: Implementation doesn't conform to latest errata and 1.0.1 version
* :github:`17092` - Bluetooth: GAP/IDLE/NAMP/BV-01-C requires Read by UUID
* :github:`17170` - x86_64 crash with spinning child thread
* :github:`17171` - Insufficient code coverage for lib/os/fdtable.c
* :github:`17177` - ARM: userspace/test_bad_syscall fails on ARMv8-M
* :github:`17190` - net-mgmt should pass info element size to callback
* :github:`17250` - After first GC operation the 1st sector had become scratch and the 2nd sector had became write sector.
* :github:`17251` - w25q: erase operations must be erase-size aligned
* :github:`17262` - insufficient code coverage for lib/os/base64.c
* :github:`17288` - Bluetooth: controller: Fix handling of L2CAP start frame with zero PDU length
* :github:`17294` - DB corruption when adding/removing service
* :github:`17337` - ArmV7-M mpu sub region alignment
* :github:`17338` - kernel objects address check in elf_helper.py
* :github:`17368` - Time Slicing cause system sleep short time
* :github:`17399` - LwM2M: Can't use an alternate mbedtls implementation
* :github:`17401` - LwM2M: requires that CONFIG_NET_IPV* be enabled (can't use 100% offloaded IP stack)
* :github:`17415` - Settings Module - settings_line_val_read() returning -EINVAL instead of 0 for deleted setting entries
* :github:`17427` - net: IPv4/UDP datagram with zero src addr and TTL causes Zephyr to segfault
* :github:`17450` - net: IPv6/UDP datagram with unspecified addr and zero hop limit causes Zephyr to quit
* :github:`17463` - Bluetooth: API limits usage of MITM flags in Pairing Request
* :github:`17534` - Race condition in GATT API.
* :github:`17595` - two userspace tests fail if stack canaries are enabled in board configuration
* :github:`17600` - Enable Mesh Friend support in Bluetooth tester application
* :github:`17613` - POSIX arch: occasional failures of tests/kernel/sched/schedule_api on CI
* :github:`17630` - efr32mg_sltb004a tick clock error
* :github:`17723` - Advertiser never clears state flags
* :github:`17732` - cannot use bt_conn_security in connected callback
* :github:`17764` - Broken link to latest development version of docs
* :github:`17802` - [zephyr 1.14] Address type 0x02 is used by LE Create Connection in device privacy mode
* :github:`17820` - Mesh bug report In access.c
* :github:`17838` - state DEVICE_PM_LOW_POWER_STATE of Device Power Management
* :github:`17843` - Bluetooth: controller: v1.14.x release conformance test failures
* :github:`17857` - GATT: Incorrect byte order for GATT database hash
* :github:`17861` - Tester application lacks BTP Discover All Primary Services handler
* :github:`17880` - Unable to re-connect to privacy enabled peer when using stack generated Identity
* :github:`17944` - [zephyr 1.14] LE Enhanced Connection Complete indicates Resolved Public once connected to Public peer address
* :github:`17948` - Bluetooth: privacy: Reconnection issue
* :github:`17967` - drivers/pwm/pwm_api test failed on frdm_k64f board.
* :github:`17971` - [zephyr 1.14] Unable to register GATT service that was unregistered before
* :github:`17979` - Security level cannot be elevated after re-connection with privacy
* :github:`18021` - Socket vtable can access null pointer callback function
* :github:`18090` - [zephyr 1.14][MESH/NODE/FRND/FN/BV-08-C] Mesh Friend queues more messages than indicates it's Friend Cache
* :github:`18178` - BLE Mesh When Provisioning Use Input OOB Method
* :github:`18183` - [zephyr 1.14][GATT/SR/GAS/BV-07-C] GATT Server does not inform change-unaware client about DB changes
* :github:`18297` - Bluetooth: SMP: Pairing issues
* :github:`18306` - Unable to reconnect paired devices with controller privacy disabled (host privacy enabled)
* :github:`18308` - net: TCP/IPv6 set of fragmented packets causes Zephyr to quit
* :github:`18394` - [Coverity CID :203464]Memory - corruptions in /subsys/net/l2/ethernet/gptp/gptp_mi.c
* :github:`18462` - potential buffer overrun in logging infrastructure
* :github:`18580` - Bluetooth: Security fail on initial pairing
* :github:`18658` - Bluetooth BR/EDR encryption key negotiation vulnerability
* :github:`18739` - k_uptime_get_32() does not behave as documented
* :github:`18935` - [Zephyr 1.14] drivers: flash: spi_nor: Problematic write with page boundaries
* :github:`18961` - [Coverity CID :203912]Error handling issues in /samples/net/sockets/coap_client/src/coap-client.c
* :github:`19015` - Bluetooth: Mesh: Node doesn't respond to "All Proxies" address
* :github:`19038` - [zephyr branch 1.14 and master -stm32-netusb]:errors when i view RNDIS Devices properties on Windows 10
* :github:`19059` - i2c_ll_stm32_v2: nack on write is not handled correctly
* :github:`19103` - zsock_accept_ctx blocks even when O_NONBLOCK is specified
* :github:`19165` - zephyr_file generates bad links on branches
* :github:`19263` - Bluetooth: Mesh: Friend Clear Procedure Timeout
* :github:`19515` - Bluetooth: Controller: assertion failed
* :github:`19612` - ICMPv6 packet is routed to wrong interface when peer is not found in neighbor cache
* :github:`19678` - Noticeable delay between processing multiple client connection requests (200ms+)
* :github:`19889` - Buffer leak in GATT for Write Without Response and Notifications
* :github:`19982` - Periodically wake up log process thread consume more power
* :github:`20042` - Telnet can connect only once
* :github:`20100` - Slave PTP clock time is updated with large value when Master PTP Clock time has changed
* :github:`20229` - cmake: add --divide to GNU assembler options for x86
* :github:`20299` - bluetooth: host: Connection not being unreferenced when using CCC match callback
* :github:`20313` - Zperf documentation points to wrong iPerf varsion
* :github:`20811` - spi driver
* :github:`20970` - Bluetooth: Mesh: seg_tx_reset in the transport layer
* :github:`21131` - Bluetooth: host: Subscriptions not removed upon unpair
* :github:`21306` - ARC: syscall register save/restore needs backport to 1.14
* :github:`21431` - missing async uart.h system calls
* :github:`21432` - watchdog subsystem has no system calls
* :github:`22275` - arm: cortex-R & M: CONFIG_USERSPACE: intermittent Memory region write access failures
* :github:`22280` - incorrect linker routing
* :github:`23153` - Binding AF_PACKET socket second time will fail with multiple network interfaces
* :github:`23339` - tests/kernel/sched/schedule_api failed on mps2_an385 with v1.14 branch.
* :github:`23346` - bl65x_dvk boards do not reset after flashing
Zephyr 1.14.1
#############
This is an LTS maintenance release with fixes, as well as Bluetooth
qualification listings for the Bluetooth protocol stack included in Zephyr.
See :ref:`zephyr_1.14.0` for the previous version release notes.
Security Vulnerability Related
******************************
The following security vulnerability (CVE) was addressed in this
release:
* Fixes CVE-2019-9506: The Bluetooth BR/EDR specification up to and
including version 5.1 permits sufficiently low encryption key length
and does not prevent an attacker from influencing the key length
negotiation. This allows practical brute-force attacks (aka "KNOB")
that can decrypt traffic and inject arbitrary ciphertext without the
victim noticing.
Bluetooth
*********
* Qualification:
* 1.14.x Host subsystem qualified with QDID 139258
* 1.14.x Mesh subsystem qualified with QDID 139259
* 1.14.x Controller component qualified on Nordic nRF52 with QDID 135679
Issues Fixed
************
These GitHub issues were addressed since the previous 1.14.0 tagged
release:
.. comment List derived from GitHub Issue query: ...
* :github:`issuenumber` - issue title
* :github:`11617` - net: ipv4: udp: broadcast delivery not supported
* :github:`11743` - logging: add user mode access
* :github:`14459` - usb: samples: mass: doesn't build with FLASH overlay
* :github:`15279` - mempool alignment might cause a memory block allocated twice
* :github:`15339` - RISC-V: RV32M1: Load access fault when accessing GPIO port E
* :github:`15354` - counter: stm32: Issue with LSE clock source selection
* :github:`15373` - IPv4 link local packets are not sent with ARP ethernet type
* :github:`15443` - usb_dc_stm32: Missing semaphore initialization and missing pin remapping configuration
* :github:`15444` - Error initiating sdhc disk
* :github:`15497` - USB DFU: STM32: usb dfu mode doesn't work
* :github:`15507` - NRF52840: usb composite MSC + HID (with CONFIG_ENABLE_HID_INT_OUT_EP)
* :github:`15526` - Unhandled identity in bt_conn_create_slave_le
* :github:`15558` - support for power-of-two MPUs on non-XIP systems
* :github:`15601` - pwm: nRF default prescalar value is wrong
* :github:`15603` - Unable to use C++ Standard Library
* :github:`15605` - Unaligned memory access by ldrd
* :github:`15606` - trickle.c can't work for multiple triggerings
* :github:`15678` - Watchdog peripheral api docs aren't generated correctly.
* :github:`15698` - bluetooth: bt_conn: No proper ID handling
* :github:`15733` - Bluetooth: controller: Central Encryption setup overlaps Length Request procedure
* :github:`15794` - mps2_an385 crashes if CONFIG_INIT_STACKS=y and CONFIG_COVERAGE=y
* :github:`15817` - nrf52: HFXO is not turned off as expected
* :github:`15904` - concerns with use of CONFIG_BT_MESH_RPL_STORE_TIMEOUT in examples
* :github:`15911` - Stack size is smaller than it should be
* :github:`15975` - Openthread - fault with dual network interfaces
* :github:`16001` - ARC iotdk supports MPU and fpu in hardware but not enabled in kconfig
* :github:`16002` - the spi base reg address in arc_iot.dtsi has an error
* :github:`16010` - Coverage reporting fails on many tests
* :github:`16012` - Source IP address for DHCP renewal messages is unset
* :github:`16027` - support for no-flash systems
* :github:`16046` - modules are being processed too late.
* :github:`16090` - mpu align support for code relocation on non-XIP system
* :github:`16107` - Using bt_gatt_read() with 'by_uuid' method returns 3 extra bytes
* :github:`16143` - posix: clock_settime calculates the base time incorrectly
* :github:`16155` - drivers: can: wrong value used for filter mode set
* :github:`16257` - net: icmpv4: Zephyr sends echo reply with multicast source address
* :github:`16307` - cannot move location counter backwards error happen
* :github:`16323` - net: ipv6: tcp: unexpected reply to malformed HBH in TCP/IPv6 SYN
* :github:`16339` - openthread: off-by-one error when calculating ot_flash_offset for settings
* :github:`16354` - net: ipv6: Zephyr does not reply to fragmented packet
* :github:`16375` - net: ipv4: udp: Zephyr does not reply to a valid datagram with checksum zero
* :github:`16379` - net: ipv6: udp: Zephyr replies with illegal UDP checksum zero
* :github:`16411` - bad regex for west version check in host-tools.cmake
* :github:`16412` - on reel_board the consumption increases because TX pin is floating
* :github:`16413` - Missing dependency in cmake
* :github:`16414` - Backport west build --pristine
* :github:`16415` - Build errors with C++
* :github:`16416` - sram size for RT1015 and RT1020 needs to be update.
* :github:`16417` - issues with can filter mode set
* :github:`16418` - drivers: watchdog: sam0: check if timeout is valid
* :github:`16419` - Bluetooth: XTAL feature regression
* :github:`16478` - Bluetooth: Improper bonded peers handling
* :github:`16570` - [Coverity CID :198877]Null pointer dereferences in /subsys/net/ip/net_if.c
* :github:`16577` - [Coverity CID :198870]Error handling issues in /subsys/net/lib/lwm2m/lwm2m_obj_firmware_pull.c
* :github:`16581` - [Coverity CID :198866]Null pointer dereferences in /subsys/net/lib/dns/llmnr_responder.c
* :github:`16584` - [Coverity CID :198863]Error handling issues in /subsys/net/lib/sntp/sntp.c
* :github:`16594` - net: dns: Zephyr is unable to unpack mDNS answers produced by another Zephyr node
* :github:`16600` - Bluetooth: Mesh: Proxy SAR timeout is not implemented
* :github:`16602` - Bluetooth: GATT Discovery: Descriptor Discovery by range Seg Fault
* :github:`16639` - eth: pinging frdm k64f eventually leads to unresponsive ethernet device
* :github:`16678` - LPN establishment of Friendship never completes if there is no response to the initial Friend Poll
* :github:`16711` - Settings reworked to const char processing
* :github:`16734` - Bluetooth: GATT: Writing 1 byte to a CCC access invalid memory
* :github:`16745` - PTHREAD_MUTEX_DEFINE(): don't store into the _k_mutex section
* :github:`16746` - boards: nrf52840_pca10059: Configure NFC pins as GPIOs by default
* :github:`16749` - IRQ_CONNECT and irq_enable calls in the SiFive UART driver is misconfigured
* :github:`16750` - counter: lack of interrupt when CC=0
* :github:`16760` - K_THREAD_STACK_EXTERN() confuses gen_kobject_list.py
* :github:`16779` - [Zephyr v1.14] ARM: fix the start address of MPU guard in stack-fail checking (when building with no user mode)
* :github:`16799` - Bluetooth: L2CAP: Interpretation of SCID and DCID in Disconnect is wrong
* :github:`16864` - Bluetooth: Mesh: Rx buffer exhaustion causes deadlock
* :github:`16893` - Bluetooth: Multiple local IDs, privacy problem
* :github:`16943` - Missing test coverage for lib/os/crc\*.c
* :github:`16944` - Insufficient test coverage for lib/os/json.c
* :github:`17031` - Compiler warnings in settings module in Zephyr 1.14
* :github:`17038` - code relocation generating different memory layout cause user mode not working
* :github:`17041` - [1.14] Bluetooth: Mesh: RPL handling is not in line with the spec
* :github:`17055` - net: Incorrect data length after the connection is established
* :github:`17057` - Bluetooth: Mesh: Implementation doesn't conform to latest errata and 1.0.1 version
* :github:`17092` - Bluetooth: GAP/IDLE/NAMP/BV-01-C requires Read by UUID
* :github:`17170` - x86_64 crash with spinning child thread
* :github:`17177` - ARM: userspace/test_bad_syscall fails on ARMv8-M
* :github:`17190` - net-mgmt should pass info element size to callback
* :github:`17250` - After first GC operation the 1st sector had become scratch and the 2nd sector had became write sector.
* :github:`17251` - w25q: erase operations must be erase-size aligned
* :github:`17262` - insufficient code coverage for lib/os/base64.c
* :github:`17288` - Bluetooth: controller: Fix handling of L2CAP start frame with zero PDU length
* :github:`17294` - DB corruption when adding/removing service
* :github:`17337` - ArmV7-M mpu sub region alignment
* :github:`17338` - kernel objects address check in elf_helper.py
* :github:`17368` - Time Slicing cause system sleep short time
* :github:`17399` - LwM2M: Can't use an alternate mbedtls implementation
* :github:`17401` - LwM2M: requires that CONFIG_NET_IPV\* be enabled (can't use 100% offloaded IP stack)
* :github:`17415` - Settings Module - settings_line_val_read() returning -EINVAL instead of 0 for deleted setting entries
* :github:`17427` - net: IPv4/UDP datagram with zero src addr and TTL causes Zephyr to segfault
* :github:`17450` - net: IPv6/UDP datagram with unspecified addr and zero hop limit causes Zephyr to quit
* :github:`17463` - Bluetooth: API limits usage of MITM flags in Pairing Request
* :github:`17534` - Race condition in GATT API.
* :github:`17564` - Missing stdlib.h include when C++ standard library is used.
* :github:`17595` - two userspace tests fail if stack canaries are enabled in board configuration
* :github:`17600` - Enable Mesh Friend support in Bluetooth tester application
* :github:`17613` - POSIX arch: occasional failures of tests/kernel/sched/schedule_api on CI
* :github:`17723` - Advertiser never clears state flags
* :github:`17732` - cannot use bt_conn_security in connected callback
* :github:`17764` - Broken link to latest development version of docs
* :github:`17789` - Bluetooth: host: conn.c missing parameter copy
* :github:`17802` - [zephyr 1.14] Address type 0x02 is used by LE Create Connection in device privacy mode
* :github:`17809` - Bluetooth Mesh message cached too early when LPN
* :github:`17820` - Mesh bug report In access.c
* :github:`17821` - Mesh Bug on access.c
* :github:`17843` - Bluetooth: controller: v1.14.x release conformance test failures
* :github:`17857` - GATT: Incorrect byte order for GATT database hash
* :github:`17861` - Tester application lacks BTP Discover All Primary Services handler
* :github:`17880` - Unable to re-connect to privacy enabled peer when using stack generated Identity
* :github:`17882` - [zephyr 1.14] Database Out of Sync error is not returned as expected
* :github:`17907` - BLE Mesh when resend use GATT bearer
* :github:`17932` - BLE Mesh When Friend Send Seg Message To LPN
* :github:`17936` - Bluetooth: Mesh: The canceled buffer is not free, causing a memory leak
* :github:`17944` - [zephyr 1.14] LE Enhanced Connection Complete indicates Resolved Public once connected to Public peer address
* :github:`17948` - Bluetooth: privacy: Reconnection issue
* :github:`17971` - [zephyr 1.14] Unable to register GATT service that was unregistered before
* :github:`17977` - BLE Mesh When IV Update Procedure
* :github:`17979` - Security level cannot be elevated after re-connection with privacy
* :github:`18013` - BLE Mesh On Net Buffer free issue
* :github:`18021` - Socket vtable can access null pointer callback function
* :github:`18090` - [zephyr 1.14][MESH/NODE/FRND/FN/BV-08-C] Mesh Friend queues more messages than indicates it's Friend Cache
* :github:`18150` - [zephyr 1.14] Host does not change the RPA
* :github:`18178` - BLE Mesh When Provisioning Use Input OOB Method
* :github:`18183` - [zephyr 1.14][GATT/SR/GAS/BV-07-C] GATT Server does not inform change-unaware client about DB changes
* :github:`18194` - [zephyr 1.14][MESH/NODE/CFG/HBP/BV-05-C] Zephyr does not send Heartbeat message on friendship termination
* :github:`18297` - Bluetooth: SMP: Pairing issues
* :github:`18306` - Unable to reconnect paired devices with controller privacy disabled (host privacy enabled)
* :github:`18308` - net: TCP/IPv6 set of fragmented packets causes Zephyr to quit
* :github:`18394` - [Coverity CID :203464]Memory - corruptions in /subsys/net/l2/ethernet/gptp/gptp_mi.c
* :github:`18462` - potential buffer overrun in logging infrastructure
* :github:`18522` - BLE: Mesh: When transport send seg_msg to LPN
* :github:`18580` - Bluetooth: Security fail on initial pairing
* :github:`18658` - Bluetooth BR/EDR encryption key negotiation vulnerability
* :github:`18739` - k_uptime_get_32() does not behave as documented
* :github:`18813` - fs: nvs: Cannot delete entries
* :github:`18873` - zsock_socket() should support proto==0
* :github:`18935` - [Zephyr 1.14] drivers: flash: spi_nor: Problematic write with page boundaries
* :github:`18961` - [Coverity CID :203912]Error handling issues in /samples/net/sockets/coap_client/src/coap-client.c
* :github:`19015` - Bluetooth: Mesh: Node doesn't respond to "All Proxies" address
* :github:`19165` - zephyr_file generates bad links on branches
* :github:`19181` - sock_set_flag implementation in sock_internal.h does not work for 64 bit pointers
* :github:`19191` - problem with implementation of sock_set_flag
.. _zephyr_1.14.0:
Zephyr Kernel 1.14.0
####################
We are pleased to announce the release of Zephyr kernel version 1.14.0.
Major enhancements with this release include:
* The Zephyr project now supports over 160 different board configurations
spanning 8 architectures. All architectures are rigorously tested and
validated using one of the many simulation platforms supported by the
project: QEMU, Renode, ARC Simulator, and the native POSIX configuration.
* The timing subsystem has been reworked and reimplemented, greatly
simplifying the resulting drivers, removing thousands of lines
of code, and reducing a typical kernel build size by hundreds of bytes.
TICKLESS_KERNEL mode is now the default on all architectures.
* The Symmetric Multi-Processing (SMP) subsystem continues to evolve
with the addition of a new CPU affinity API that can "pin" threads to
specific cores or sets of cores. The core kernel no longer uses the
global irq_lock on SMP systems, and exclusively uses the spinlock API
(which on uniprocessor systems reduces to the same code).
* Zephyr now has support for the x86_64 architecture. It is currently
implemented only for QEMU targets, supports arbitrary numbers of CPUs,
and runs in SMP mode by default, our first platform to do so.
* We've overhauled the Network packet (:ref:`net-pkt <net_pkt_interface>`)
API and moved the majority of components and protocols to use the
:ref:`BSD socket API <bsd_sockets_interface>`, including MQTT, CoAP,
LWM2M, and SNTP.
* We enhanced the native POSIX port by adding UART, USB, and display
drivers. Based on this port, we added a simulated NRF52832 SoC which enables
running full system, multi-node simulations, without the need of real
hardware.
* We added an experimental BLE split software Controller with Upper Link Layer
and Lower Link Layer for supporting multiple BLE radio hardware
architectures.
* The power management subsystem has been overhauled to support device idle
power management and move most of the power management logic from the
application back to the BSP.
* We introduced major updates and an overhaul to both the logging and
shell subsystems, supporting multiple back-ends, integration
of logging into the shell, and delayed log processing.
* Introduced the ``west`` tool for management of multiple repositories and
enhanced support for flashing and debugging.
* Added support for application user mode, application memory
partitions, and hardware stack protection in ARMv8m
* Applied MISRA-C code guideline on the kernel and core components of Zephyr.
MISRA-C is a well established code guideline focused on embedded systems and
aims to improve code safety, security and portability.
The following sections provide detailed lists of changes by component.
Security Vulnerability Related
******************************
The following security vulnerabilities (CVEs) were addressed in this release:
* Tinycrypt HMAC-PRNG implementation doesn't take the HMAC state
clearing into account as it performs the HMAC operations, thereby using a
incorrect HMAC key for some of the HMAC operations.
(CVE-2017-14200)
* The shell DNS command can cause unpredictable results due to misuse of stack
variables.
(CVE-2017-14201)
* The shell implementation does not protect against buffer overruns resulting
in unpredictable behavior.
(CVE-2017-14202)
* We introduced Kernel Page Table Isolation, a technique for
mitigating the Meltdown security vulnerability on x86 systems. This
technique helps isolate user and kernel space memory by ensuring
non-essential kernel pages are unmapped in the page tables when the CPU
is running in the least privileged user mode, Ring 3. This is the
fix for Rogue Data Cache Load. (CVE-2017-5754)
* We also addressed these CVEs for the x86 port:
- Bounds Check Bypass (CVE-2017-5753)
- Branch Target Injection (CVE-2017-5715)
- Speculative Store Bypass (CVE-2018-3639)
- L1 Terminal Fault (CVE-2018-3620)
- Lazy FP State Restore (CVE-2018-3665)
Kernel
******
* The timing subsystem has been reworked and mostly replaced:
- The timer driver API has been extensively reworked, greatly
simplifying the resulting drivers. By removing thousands of lines
of code, we reduced the size of a typical kernel build by hundreds
of bytes.
- TICKLESS_KERNEL mode is now the default on all architectures. Many
bugs were fixed in this support.
* Lots of work on the rapidly-evolving SMP subsystem:
- There is a new CPU affinity API available to "pin" threads to
specific cores or sets of cores.
- The core kernel is now 100% free of use of the global irq_lock on
SMP systems, and exclusively uses the spinlock API (which on
uniprocessor systems reduces to the same code).
- Zephyr now has a simple interprocessor interrupt framework for
applications, such as the scheduler, to use for synchronously
notifying other processors of state changes. It's currently implemented
only on x86_64 and used only for thread abort.
* Zephyr now has support for the x86_64 architecture. It is
currently implemented only for QEMU targets.
- It supports arbitrary numbers of CPUs in SMP, and runs in SMP mode
by default, our first platform to do so.
- It currently runs code built for the "x32" ABI, which is a native
64-bit hardware state, where pointers are 32 bit in memory.
Zephyr still has some lurking word size bugs that will need to be
fixed to turn on native 64 bit code generation.
* K_THREAD_STACK_BUFFER() has been demoted to a private API and will be removed
in a future Zephyr release.
* A new API sys_mutex has been introduced. It has the same semantics
as a k_mutex, but the memory for it can reside in user memory and so
no explicit permission management is required.
* sys_mem_pool() now uses a sys_mutex() for concurrency control.
* Memory protection changes:
- CONFIG_APPLICATION_MEMORY option has been removed from Zephyr. All test
cases have been appropriately converted to use memory domains.
- The build time memory domain partition generation mechanism, formerly
an optional feature under CONFIG_APP_SHARED_MEM, has been overhauled
and is now a core part of memory protection.
- Userspace is no longer enabled by default for tests. Tests that are
written to execute wholly or in part in user mode will need to enable
CONFIG_TEST_USERSPACE in the test's project configuration. There are
assertions in place to enforce that this is done.
- The default stack size for handling system calls has been increased to
1024 bytes.
* We started applying MISRA-C (path_to_url code guideline on
the Zephyr kernel. MISRA-C is a well established code guideline focused on
embedded systems and aims to improve code safety, security, and portability.
This initial effort was narrowed to the Zephyr kernel and architecture
code, and focused only on mandatory and required rules. The following rules
were addressed:
- Namespace changes
- Normalize switch() operators
- Avoid implicit conversion to boolean types
- Fix and normalize headers guard
- Make if() evaluate boolean operands
- Remove all VLAs (variable length array)
- Avoid undefined and implementation defined behavior with shift operator
- Remove recursions
Architectures
*************
* Introduced X86_64 (64 bit) architecture support with SMP features
* High-level Kconfig symbol structure for Trusted Execution
* ARM:
* Re-architect Memory Protection code for ARM and NXP
* Fully support application user mode, memory partitions, and
stack protection in ARMv8m
* Support built-in stack overflow protection in user mode in ARMv8m
* Fix stack overflow error reporting
* Support executing from SRAM in XIP builds
* Support non-cacheable memory sections
* Remove power-of-two align and size requirement for ARMv8-m
* Introduce sync barriers in ARM-specific IRQ lock/unlock functions
* Enforce double-word stack alignment on exception entry
* API to allow Non-Secure FPU Access (ARMv8-M)
* Various enhancements in ARM system boot code
* Indicate Secure domain fault in Non-Secure fault exception
* Update ARM CMSIS headers to version 5.4.0
* ARC:
* Userspace and MPU driver improvements
* Optimization of the thread stack definition macros
* Bug fixes: handling of lp_xxx registers in _rirq_return_from_coop, nested
interrupt handling, hardware stack bounds checking, execution benchmarking
* Atomic operations are now usable from user mode on all ARC CPUs
* x86:
- Support for non-PAE page tables has been dropped.
- Fixed various security CVEs related to micro-architecture side-effects of
speculative execution, as detailed in the security notes.
- Added robustness when reporting exceptions generated due to stack
overflows or induced in user mode
- Pages containing read-only data no longer have the execute disable (XD)
bit un-set.
- Fix potential IRQ stack corruption when handling double faults
Boards & SoC Support
********************
* Added the all new :ref:`NRF52 simulated board <nrf52_bsim>`:
This simulator models some of the hardware in an NRF52832 SOC, to enable
running full system, multi-node simulations, without the need of real
hardware. It enables fast, reproducible testing, development, and debugging
of an application, BlueTooth (BT) stack, and kernel. It relies on `BabbleSim`_
to simulate the radio physical layer.
* Added SoC configuration for nRF9160 and Musca ARM Cortex-M33 CPU
* Added support for the following ARM boards:
* 96b_stm32_sensor_mez
* b_l072z_lrwan1
* bl652_dvk
* bl654_dvk
* cy8ckit_062_wifi_bt_m0
* cy8ckit_062_wifi_bt_m4
* efm32hg_slstk3400a
* efm32pg_stk3402a
* efr32mg_sltb004a
* mimxrt1020_evk
* mimxrt1060_evk
* mimxrt1064_evk
* nrf52832_mdk
* nrf52840_blip
* nrf52840_mdk
* nrf52840_papyr
* nrf52840_pca10090
* nrf9160_pca10090
* nucleo_f302r8
* nucleo_f746zg
* nucleo_f756zg
* nucleo_l496zg
* nucleo_l4r5zi
* particle_argon
* particle_xenon
* v2m_musca
* Added support for the following RISC-V boards:
* rv32m1_vega
* Added support for the following ARC boards:
* Synopsys ARC IoT DevKit
* Several ARC simulation targets (ARC nSIM EM/SEM; with and without MPU stack guards)
* Added support for the following shield boards:
* frdm_kw41z
* x_nucleo_iks01a1
* x_nucleo_iks01a2
.. _BabbleSim:
path_to_url
Drivers and Sensors
*******************
* Added new drivers and backends for :ref:`native_posix <native_posix>`:
* A UART driver that maps the Zephyr UART to a new host PTY
* A USB driver that can expose a host connected USB device
* A display driver that will render to a dedicated window using the SDL
library
* A dedicated backend for the new logger subsystem
* Counter
* Refactored API
* Ported existing counter and RTC drivers to the new API
* Deprecated legacy API
* RTC
- Deprecated the RTC API. The Counter API should be used instead
* UART
* Added asynchronous API.
* Added implementation of the new asynchronous API for nRF series (UART and
UARTE).
* ADC
* ADC driver APIs are now available to threads running in user mode.
* Overhauled adc_dw and renamed it to adc_intel_quark_se_c1000_ss
* Fixed handling of invalid sampling requests
* Display
* Introduced mcux elcdif shim driver
* Added support for ssd16xx monochrome controllers
* Added support for ssd1608, gde029a1, and hink e0154a05
* Added SDL based display emulation driver
* Added SSD1673 EPD controller driver
* Added SSD1306 display controller driver
* Flash:
* nRF5 flash driver support UICR operations
* Added driver for STM32F7x series
* Added flash driver support for Atmel SAM E70
* Added a generic spi nor flash driver
* Added flash driver for SiLabs Gecko SoCs
* Ethernet:
* Extended mcux driver for i.mx rt socs
* Added driver for Intel PRO/1000 Ethernet controller
* I2C
* Added mcux lpi2c shim driver
* Removed deprecated i2c_atmel_sam3 driver
* Introduced Silabs i2c shim driver
* Added support for I2S stm32
* Pinmux
* Added RV32M1 driver
* Added pinmux driver for Intel S1000
* Added support for STM32F302x8
* PWM
* Added SiFive PWM driver
* Added Atmel SAM PWM driver
* Converted nRF drivers to use device tree
* Sensor
* Added lis2ds12, lis2dw12, lis2mdl, and lsm303dlhc drivers
* Added ms5837 driver
* Added support for Nordic QDEC
* Converted drivers to use device tree
* Serial
* Added RV32M1 driver
* Added new asynchronous UART API
* Added support for ARM PL011 UART
* Introduced Silabs leuart shim serial driver
* Adapted gecko uart driver for Silabs EFM32HG
* USB
* Added native_posix USB driver
* Added usb device driver for Atmel SAM E70 family
* Added nRF52840 USBD driver
* Other Drivers
* clock_control: Added RV32M1 driver
* console: Removed telnet driver
* entropy: Added Atmel SAM entropy generator driver
* spi: Converted nRF drivers to use device tree
* watchdog: Converted drivers to new API
* wifi: simplelink: Implemented setsockopt() for TLS offload
* wifi: Added inventek es-WiFi driver
* timer: Refactored and accuracy improvements of the arcv2 timer driver (boot
time measurements)
* timer: Added/reworked Xtensa, RISV-V, NRF, HPET, and ARM systick drivers
* gpio: Added RV32M1 driver
* hwinfo: Added new hwinfo API and drivers
* ipm: Added IMX IPM driver for i.MX socs
* interrupt_controller: Added RV32M1 driver
* interrupt_controller: Added support for STM32F302x8 EXTI_LINES
* neural_net: Added Intel GNA driver
* can: Added socket CAN support
Networking
**********
* The :ref:`BSD socket API <bsd_sockets_interface>` should be used by
applications for any network connectivity needs.
* Majority of the network sample applications were converted to use
the BSD socket API.
* New BSD socket based APIs were created for these components and protocols:
- :ref:`MQTT <mqtt_socket_interface>`
- :ref:`CoAP <coap_sock_interface>`
- :ref:`LWM2M <lwm2m_interface>`
- :ref:`SNTP <sntp_interface>`
* net-app client and server APIs were removed. This also required removal of
the following net-app based legacy APIs:
- MQTT
- CoAP
- SNTP
- LWM2M
- HTTP client and server
- Websocket
* Network packet (:ref:`net-pkt <net_pkt_interface>`) API overhaul. The new
net-pkt API uses less memory and is more streamlined than the old one.
* Implement following BSD socket APIs: ``freeaddrinfo()``, ``gethostname()``,
``getnameinfo()``, ``getsockopt()``, ``select()``, ``setsockopt()``,
``shutdown()``
* Converted BSD socket code to use global file descriptor numbers.
* Network subsystem converted to use new :ref:`logging system <logging_api>`.
* Added support for disabling IPv4, IPv6, UDP, and TCP simultaneously.
* Added support for :ref:`BSD socket offloading <net_socket_offloading>`.
* Added support for long lifetime IPv6 prefixes.
* Added enhancements to IPv6 multicast address checking.
* Added support for IPv6 Destination Options Header extension.
* Added support for packet socket (AF_PACKET).
* Added support for socket CAN (AF_CAN).
* Added support for SOCKS5 proxy in MQTT client.
* Added support for IPSO Timer object in LWM2M.
* Added support for receiving gratuitous ARP request.
* Added sample application for Google IoT Cloud.
* :ref:`Network interface <net_if_interface>` numbering starts now from 1 for
POSIX compatibility.
* :ref:`OpenThread <thread_protocol_interface>` enhancements.
* :zephyr:code-sample:`zperf <zperf>` sample application fixes.
* :ref:`LLDP <lldp_interface>` (Link Layer Discovery Protocol) enhancements.
* ARP cache update fix.
* gPTP link delay calculation fixes.
* Changed how network data is passed from
:ref:`L2 to network device driver <network_stack_architecture>`.
* Removed RPL (Ripple) IPv6 mesh routing support.
* MQTT is now available to threads running in user mode.
* Network device driver additions and enhancements:
- Added Intel PRO/1000 Ethernet driver (e1000).
- Added SMSC9118/LAN9118 Ethernet driver (smsc911x).
- Added Inventek es-WiFi driver for disco_l475_iot1 board.
- Added support for automatically enabling QEMU based Ethernet drivers.
- SAM-E70 gmac Ethernet driver Qav fixes.
- enc28j60 Ethernet driver fixes and enhancements.
Bluetooth
*********
* Host:
* GATT: Added support for Robust Caching
* GATT: L2CAP: User driven flow control
* Many fixes to Mesh
* Fixed and improved persistent storage handling
* Fixed direct advertising support
* Fixed security level 4 handling
* Add option to configure peripheral connection parameters
* Added support for updating advertising data without having to restart advertising
* Added API to iterate through existing bonds
* Added support for setting channel map
* Converted SPI HCI driver to use device tree
* New BLE split software Controller (experimental):
- Split design with Upper Link Layer and Lower Link Layer
- Enabled with :kconfig:option:`CONFIG_BT_LL_SW_SPLIT` (disabled by default)
- Support for multiple BLE radio hardware architectures
- Asynchronous handling of procedures in the ULL
- Enhanced radio utilization (99% on continuous 100ms scan)
- Latency resilience: Approx 100uS vs 10uS, 10x improvement
- CPU and power usage: About 20% improvement
- Multiple advertiser and scanner instances
- Support for both Big and Little-Endian architectures
* Controller:
* Added support for setting the public address
* Multiple control procedures fixes and improvements
* Advertising random delay fixes
* Fixed a serious memory corruption issue during scanning
* Fixes to RSSI measurement
* Fixes to Connection Failed to be Established sequence
* Transitioned to the new logging subsystem from syslog
* Switched from ``-Ofast`` to ``-O2`` in time-critical sections
* Reworked the RNG/entropy driver to make it available to apps
* Multiple size optimizations to make it fit in smaller devices
* nRF: Rework the PPI channel assignment to use pre-assigned ones
* Add extensive documentation to the shared primitives
* Several fixes for big-endian architectures
Build and Infrastructure
************************
* Added support for out-of-tree architectures.
* Added support for out-of-tree implementations of in-tree drivers.
* `BabbleSim`_ has been integrated in Zephyr's CI system.
* Introduced ``DT_`` prefix for all labels generated for information extracted
from device tree (with a few exceptions, such as labels for LEDs and buttons,
kept for backward compatibility with existing applications). Deprecated all
other defines that are generated.
* Introduce CMake variables for DT symbols, just as we have for CONFIG symbols.
* Move DeviceTree processing before Kconfig. Thereby allowing software
to be configured based on DeviceTree information.
* Automatically change the KCONFIG_ROOT when the application directory
has a Kconfig file.
* Added :ref:`west <west>` tool for multiple repository management
* Added support for :ref:`Zephyr modules <modules>`
* Build system ``flash`` and ``debug`` targets now require west
* Added generation of DT_<COMPAT>_<INSTANCE>_<PROP> defines which allowed
sensor or other drivers on buses like I2C or SPI to not require dts fixup.
* Added proper support for device tree boolean properties
Libraries / Subsystems
***********************
* Added a new display API and subsystem
* Added support for CTF Tracing
* Added support for JWT (JSON Web Tokens)
* Flash Maps:
- API extension
- Automatic generation of the list of flash areas
* Settings:
- Enabled logging instead of ASSERTs
- Always use the storage partition for FCB
- Fixed FCB backend and common bugs
* Logging:
- Removed sys_log, which has been replaced by the new logging subsystem
introduced in v1.13
- Refactored log modules registration macros
- Improved synchronous operation (see ``CONFIG_LOG_IMMEDIATE``)
- Added commands to control the logger using shell
- Added :c:macro:`LOG_PANIC()` call to the fault handlers to ensure that
logs are output on fault
- Added mechanism for handling logging of transient strings. See
:c:func:`log_strdup`
- Added support for up to 15 arguments in the log message
- Added optional function name prefix in the log message
- Changed logging thread priority to the lowest application priority
- Added notification about dropped log messages due to insufficient logger
buffer size
- Added log backends:
- RTT
- native_posix
- net
- SWO
- Xtensa Sim
- Changed default timestamp source function to :c:func:`k_uptime_get_32`
* Shell:
- Added new implementation of the shell sub-system. See :ref:`shell_api`
- Added shell backends:
- UART
- RTT
- telnet
* Ring buffer:
- Added byte mode
- Added API to work directly on ring buffer memory to reduce memory copying
- Removed ``sys_`` prefix from API functions
* MBEDTLS APIs may now be used from user mode.
HALs
****
* Updated Nordic nrfx to version 1.6.2
* Updated Nordic nrf ieee802154 radio driver to version 1.2.3
* Updated SimpleLink to TI CC32XX SDK 2.40.01.01
* Added Microchip MEC1701 Support
* Added Cypress PDL for PSoC6 SoC Support
* Updates to stm32cube, Silabs Gecko SDK, Atmel.
* Update ARM CMSIS headers to version 5.4.0
Documentation
*************
* Reorganized subsystem documentation into more meaningful collections
and added or improved introductory material for each subsystem.
* Overhauled Bluetooth documentation to split it into
manageable units and included additional information, such as
architecture and tooling.
* Added to and improved documentation on many subsystems and APIs
including socket offloading, Ethernet management, LLDP networking,
network architecture and overview, net shell, CoAP, network interface,
network configuration library, DNS resolver, DHCPv4, DTS, flash_area,
flash_mpa, NVS, settings, and more.
* Introduced a new debugging guide (see :ref:`debug-probes`) that documents
the supported debug probes and host tools in
one place, including which combinations are valid.
* Clarified and improved information about the west tool and its use.
* Improved :ref:`development process <development_model>` documentation
including how new features
are proposed and tracked, and clarifying API lifecycle, issue and PR
tagging requirements, contributing guidelines, doc guidelines,
release process, and PR review process.
* Introduced a developer "fast" doc build option to eliminate
the time needed to create the full kconfig option docs from a local
doc build, saving potentially five minutes for a full doc build. (Doc
building time depends on your development hardware performance.)
* Made dramatic improvements to the doc build processing, bringing
iterative local doc generation down from over two minutes to only a
few seconds. This makes it much faster for doc developers to iteratively
edit and test doc changes locally before submitting a PR.
* Added a new ``zephyr-file`` directive to link directly to files in the
Git tree.
* Introduced simplified linking to doxygen-generated API reference
material.
* Made board documentation consistent, enabling a board-image carousel
on the zephyrproject.org home page.
* Reduced unnecessarily large images to improve page load times.
* Added CSS changes to improve API docs appearance and usability
* Made doc version selector more obvious, making it easier to select
documentation for a specific release
* Added a friendlier and more graphic home page.
Tests and Samples
*****************
* A new set of, multinode, full system tests of the BT stack,
based on `BabbleSim`_ have been added.
* Added unique identifiers to all tests and samples.
* Removed old footprint benchmarks
* Added tests for CMSIS RTOS API v2, BSD Sockets, CANBus, Settings, USB,
and miscellaneous drivers.
* Added benchmark applications for the scheduler and mbedTLS
* Added samples for the display subsystem, LVGL, Google IOT, Sockets, CMSIS RTOS
API v2, Wifi, Shields, IPC subsystem, USB CDC ACM, and USB HID.
* Add support for using sanitycheck testing with Renode
Issue Related Items
*******************
These GitHub issues were addressed since the previous 1.13.0 tagged
release:
.. comment List derived from GitHub Issue query: ...
* :github:`issuenumber` - issue title
* :github:`15407` - [Coverity CID :197597]Incorrect expression in /tests/kernel/static_idt/src/main.c
* :github:`15406` - [Coverity CID :197598]Incorrect expression in /tests/drivers/uart/uart_async_api/src/test_uart_async.c
* :github:`15405` - [Coverity CID :197599]Incorrect expression in /tests/kernel/fatal/src/main.c
* :github:`15404` - [Coverity CID :197600]Incorrect expression in /tests/lib/c_lib/src/main.c
* :github:`15403` - [Coverity CID :197601]Incorrect expression in /tests/kernel/common/src/intmath.c
* :github:`15402` - [Coverity CID :197602]Incorrect expression in /tests/kernel/common/src/intmath.c
* :github:`15401` - [Coverity CID :197603]Incorrect expression in /tests/kernel/fatal/src/main.c
* :github:`15400` - [Coverity CID :197604]Memory - corruptions in /tests/kernel/mem_protect/userspace/src/main.c
* :github:`15399` - [Coverity CID :197605]Null pointer dereferences in /subsys/testsuite/ztest/src/ztest_mock.c
* :github:`15398` - [Coverity CID :197606]Incorrect expression in /tests/kernel/common/src/irq_offload.c
* :github:`15397` - [Coverity CID :197607]Incorrect expression in /tests/drivers/uart/uart_async_api/src/test_uart_async.c
* :github:`15396` - [Coverity CID :197608]Incorrect expression in /tests/lib/c_lib/src/main.c
* :github:`15395` - [Coverity CID :197609]Incorrect expression in /tests/kernel/interrupt/src/nested_irq.c
* :github:`15394` - [Coverity CID :197610]Incorrect expression in /tests/kernel/fatal/src/main.c
* :github:`15393` - [Coverity CID :197611]Integer handling issues in /lib/os/printk.c
* :github:`15392` - [Coverity CID :197612]Integer handling issues in /lib/os/printk.c
* :github:`15390` - [Coverity CID :197614]Incorrect expression in /tests/lib/c_lib/src/main.c
* :github:`15389` - [Coverity CID :197615]Incorrect expression in /tests/kernel/fatal/src/main.c
* :github:`15388` - [Coverity CID :197616]Null pointer dereferences in /subsys/testsuite/ztest/src/ztest_mock.c
* :github:`15387` - [Coverity CID :197617]Incorrect expression in /tests/kernel/common/src/multilib.c
* :github:`15386` - [Coverity CID :197618]Error handling issues in /subsys/shell/shell_telnet.c
* :github:`15385` - [Coverity CID :197619]Incorrect expression in /tests/kernel/mem_pool/mem_pool/src/main.c
* :github:`15384` - [Coverity CID :197620]Incorrect expression in /tests/kernel/static_idt/src/main.c
* :github:`15383` - [Coverity CID :197621]Incorrect expression in /tests/kernel/static_idt/src/main.c
* :github:`15382` - [Coverity CID :197622]Incorrect expression in /tests/kernel/tickless/tickless_concept/src/main.c
* :github:`15381` - [Coverity CID :197623]Incorrect expression in /tests/kernel/interrupt/src/nested_irq.c
* :github:`15380` - USAGE FAULT on tests/crypto/rand32/ on sam_e70_xplained
* :github:`15379` - foundries.io CI: tests/kernel/mem_protect/stackprot fails on nrf52
* :github:`15370` - log_strdup() leaks memory if log message is filtered
* :github:`15365` - Bluetooth qualification test MESH/SR/HM/CFS/BV-02-C is failing
* :github:`15361` - nRF timer: investigate race condition when setting clock timeout in TICKLESS mode
* :github:`15348` - ARM Cortex-M: SysTick: unhandled race condition
* :github:`15346` - VLAN support is broken
* :github:`15336` - Unable to transmit data using interrupt driven API with nrf UARTE peripheral
* :github:`15333` - hci_uart controller driver loses sync after host driver is reset
* :github:`15329` - Bluetooth: GATT Client Configuration is not cleared when device is unpaired
* :github:`15325` - conn->le.keys pointer is not cleared even after the keys struct is invalidated after unpair
* :github:`15324` - Error undefined reference to '__aeabi_uldivmod' when build Zephyr for nrf52_pca10040 board
* :github:`15309` - ARM Cortex-M SysTick Load value setting off-by-one
* :github:`15303` - net: Stackoverflow in net mgmt thread
* :github:`15300` - Bluetooth: Mesh: bt_mesh_fault_update() doesn't update publication message
* :github:`15299` - west init fails in powershell
* :github:`15289` - Zephyr module uses '\' in path on windows when creating Kconfig files
* :github:`15285` - arc: it's not reliable to use exc_nest_count to check nest interrupt
* :github:`15280` - tests/kernel/mem_protect/stackprot fails on platform qemu_riscv32
* :github:`15266` - doc: Contribution guidelines still link to IRC
* :github:`15260` - Shell doesn't always process input data when it arrives
* :github:`15259` - CAN sample does not work
* :github:`15251` - nRF Watchdog not triggering on kernel panic
* :github:`15246` - doc: confusion about dtc version
* :github:`15240` - esp32 build broken
* :github:`15236` - add external spi-nor flash will build fail
* :github:`15235` - Missing license references in DTS files
* :github:`15234` - Missing SPDX license references in drivers source files.
* :github:`15228` - tests: getnameinfo runs with user mode disabled
* :github:`15227` - sockets: no syscall for gethostname()
* :github:`15221` - ARC: incorrect value checked for MPU violation
* :github:`15216` - k_sleep() expires sooner than expected on STM32F4 (Cortex M4)
* :github:`15213` - cmake infrastructure in code missing file level license identifiers
* :github:`15206` - sanitycheck --coverage: stack overflows on qemu_x86, mps2_an385 and qemu_x86_nommu
* :github:`15205` - hci_usb not working on v1.14.0rc3 with SDK 0.10.0
* :github:`15204` - lwm2m engine hangs on native_posix
* :github:`15198` - tests/booting: Considering remove it
* :github:`15197` - Socket-based DNS API will hang device if DNS query is not answered
* :github:`15184` - Fix build issue with z_sys_trace_thread_switched_in
* :github:`15183` - BLE HID sample often asserts on Windows 10 reconnection
* :github:`15178` - samples/mpu/mem_domain_apis_test: Did not get to "destroy app0 domain", went into indefinite loop
* :github:`15177` - samples/drivers/crypto: CBC and CTR mode not supported
* :github:`15170` - undefined symbol TINYCBOR during doc build
* :github:`15169` - [Coverity CID :197534]Memory - corruptions in /subsys/logging/log_backend_rtt.c
* :github:`15168` - [Coverity CID :197535]Incorrect expression in /tests/drivers/uart/uart_async_api/src/test_uart_async.c
* :github:`15167` - [Coverity CID :197536]Parse warnings in /include/mgmt/buf.h
* :github:`15166` - [Coverity CID :197537]Control flow issues in /subsys/power/power.c
* :github:`15163` - nsim_*_mpu_stack_guard fails if CONFIG_USERSPACE=n but CONFIG_HW_STACK_PROTECTION=y
* :github:`15161` - stack overflow in tests/posix/common on nsim_em_mpu_stack_guard
* :github:`15157` - mps2_an385 and GNU Arm Embedded gcc-arm-none-eabi-7-2018-q2-update failed tests
* :github:`15154` - mempool can result in OOM while memory is available
* :github:`15153` - Some empty qemu_x86 output when running code coverage using sanity_check
* :github:`15152` - tests/kernel/pipe/pipe: "Kernel Oops" and "CPU Page Fault" when running coverage for qemu_x86
* :github:`15151` - tests/tickless/tickless_concept: Assertions when running code coverage on qemu_x86
* :github:`15150` - tests/kernel/threads/thread_api: "Double faults" when running code coverage in qemu_x86
* :github:`15149` - mps2_an385: fatal lockup when running code coverage
* :github:`15148` - tests/kernel/mem_pool/mem_pool_concept/: Assertion failures for mpns2_an385
* :github:`15146` - mps2_an385: Multiple "MPU Fault"s, "Hardware Fault"s "Stack Check Fail!" and "Bus Fault" when running code coverage
* :github:`15145` - USB HF clock stop fail
* :github:`15131` - ARC: off-by-one in MPU V2 _is_in_region()
* :github:`15130` - ARC: Z_ARCH_THREAD_STACK_MEMBER defined incorrectly
* :github:`15129` - ARC: tests/kernel/critical times out on nsim_sem
* :github:`15126` - multiple intermittent test failure on ARC
* :github:`15124` - DNS not working with NET_OFFLOAD
* :github:`15109` - ATSAME70 MCU(SAM E70 Xplained) RAM random after a watchdog reset.
* :github:`15107` - samples/application_development/code_relocation fails to build with coverage on mps2_an385
* :github:`15103` - nrf52810_pca10040 SRAM space not enough
* :github:`15100` - Bluetooth: GATT (un)subscribe can silently fail
* :github:`15099` - Bluetooth: GATT Subscribe does not detect duplicate if new parameters are used.
* :github:`15096` - Cannot build samples/net/ipv4_autoconf
* :github:`15093` - zephyr_library_compile_options() lost support for duplicates
* :github:`15090` - FIFO: Clarify doc for k_fifo_alloc_put
* :github:`15085` - Sanitycheck when running on devices is not counting samples in the final report
* :github:`15083` - MCUBoot is linked to slot0 because overlay is dropped in boilerplate.cmake
* :github:`15077` - Cannot boot application flashed to nrf52840_pca10059
* :github:`15073` - Device crashes when starting with USB connected
* :github:`15070` - ieee802154: Configuration for CC2520 is not working
* :github:`15069` - arch: arm: thread arch.mode not always inline with thread's privilege mode (e.g. system calls)
* :github:`15067` - bluetooth: bt_set_name rejects names of size CONFIG_BT_DEVICE_NAME_MAX
* :github:`15064` - tests/kernel/fp_sharing: undefined reference k_float_disable()
* :github:`15063` - tests/subsys/settings/fcb/src/settings_test_save_unaligned.c fail with assertion failure on nrf52_pca10040
* :github:`15061` - Builds on Windows are broken due to invalid zephyr_modules.txt parsing
* :github:`15059` - Fix builds w/o modules
* :github:`15056` - arch: arm: arch.mode variable _not_ initialized to nPRIV in user space enter
* :github:`15050` - Using TCP in zperf causes free memory access
* :github:`15044` - ARC: test failure in tests/kernel/threads/thread_apis
* :github:`15039` - ADC drivers adc_read_async() keep pointers to sequence
* :github:`15037` - xtensa: context returns to thread after kernel oops
* :github:`15035` - build breakage on two ARC targets: missing arc_exc_saved_sp
* :github:`15031` - net: 9cd547f53b "Fix ref counting for the net_pkt" allegedly broke reference counting
* :github:`15019` - tests/kernel/common: test_bitfield: test_bitfield: (b1 not equal to (1 << bit))
* :github:`15018` - tests/kernel/threads/no-multithreading: Not booting
* :github:`15017` - Not able to set "0xFFFF No specific value" for GAP PPCP structured data
* :github:`15013` - tests/kernel/fatal: check_stack_overflow: (rv equal to TC_FAIL)
* :github:`15012` - Unable to establish security after reconnect to dongle
* :github:`15009` - sanitycheck --coverage on qemu_x86: cannot move location counter backwards
* :github:`15008` - SWO logger backend produces no output in 'in place' mode
* :github:`14992` - West documentation is largely missing
* :github:`14989` - Doc build does not include the zephyr modules Kconfig files
* :github:`14988` - USB device not recognized on PCA10056 preview-DK
* :github:`14985` - Clarify in release docs NOT to use github tagging.
* :github:`14974` - Kconfig.modules needs to be at the top level build folder
* :github:`14958` - [Coverity CID :197457]Control flow issues in /subsys/bluetooth/host/gatt.c
* :github:`14957` - [Coverity CID :197458]Insecure data handling in /subsys/usb/usb_device.c
* :github:`14956` - [Coverity CID :197459]Memory - corruptions in /subsys/bluetooth/shell/gatt.c
* :github:`14955` - [Coverity CID :197460]Integer handling issues in /samples/bluetooth/ipsp/src/main.c
* :github:`14954` - [Coverity CID :197461]Insecure data handling in /subsys/usb/usb_device.c
* :github:`14953` - [Coverity CID :197462]Memory - corruptions in /subsys/bluetooth/host/gatt.c
* :github:`14952` - [Coverity CID :197463]Memory - corruptions in /samples/bluetooth/central_hr/src/main.c
* :github:`14951` - [Coverity CID :197464]Memory - corruptions in /subsys/bluetooth/host/gatt.c
* :github:`14950` - [Coverity CID :197465]Integer handling issues in /samples/bluetooth/ipsp/src/main.c
* :github:`14947` - no user mode access to MQTT subsystem
* :github:`14946` - cdc_acm example doesn't work on nrf52840_pca10059
* :github:`14945` - nrf52840_pca10059 executables do not work without mcuboot
* :github:`14943` - config BOARD_HAS_NRF5_BOOTLOADER not honored for nrf52840_pca10059
* :github:`14942` - tests/posix/fs don't build on em_starterkit_em11d
* :github:`14934` - tinycbor is failing in nightly CI
* :github:`14928` - Bluetooth: Mesh: Provisioning state doesn't always get properly re-initialized when doing reset
* :github:`14903` - tests/posix/fs test show messages dropped in the logs
* :github:`14902` - logger: Enabling USB CDC ACM disables logging
* :github:`14899` - Bluetooth controller ACL data packets stall
* :github:`14882` - USB DFU never enters DFU mode, when composite device is enabled and mcuboot is used
* :github:`14871` - tests/posix/fs : Dropped console output
* :github:`14870` - samples/mpu/mpu_stack_guard_test: Found "Test not passed"
* :github:`14869` - tests/lib/ringbuffer: Assertion failure at test_ring_buffer_main()
* :github:`14840` - settings: settings_save_one() doesn't always seem to store data, even if it returns success
* :github:`14837` - Bluetooth shell scan command parameter mandatory/optional evaluation is broken
* :github:`14833` - Bluetooth init procedure with BT_SETTINGS is not reliable
* :github:`14827` - cmake error
* :github:`14821` - [Coverity CID :196635]Error handling issues in /tests/net/mld/src/main.c
* :github:`14820` - [Coverity CID :196636]Integer handling issues in /kernel/sched.c
* :github:`14819` - [Coverity CID :196637]Uninitialized variables in /samples/net/sockets/can/src/main.c
* :github:`14818` - [Coverity CID :196638]Null pointer dereferences in /subsys/bluetooth/host/hci_core.c
* :github:`14817` - [Coverity CID :196639]Error handling issues in /samples/bluetooth/ipsp/src/main.c
* :github:`14816` - [Coverity CID :196640]Integer handling issues in /arch/x86/core/thread.c
* :github:`14815` - [Coverity CID :196641]Null pointer dereferences in /samples/net/nats/src/nats.c
* :github:`14814` - [Coverity CID :196642]Error handling issues in /subsys/shell/shell_uart.c
* :github:`14813` - [Coverity CID :196643]Null pointer dereferences in /subsys/net/ip/net_context.c
* :github:`14807` - disable SPIN_VALIDATE when SMP enabled
* :github:`14789` - doc: flash_map and flash_area
* :github:`14786` - Information about old sdk version provides wrong download link
* :github:`14782` - Build process produces hex files which will not install on BBC micro:bit
* :github:`14780` - USB: netusb: Unable to send maximum Ethernet packet
* :github:`14779` - stm32: If the memory usage is high, the flash is abnormal.
* :github:`14770` - samples/net/promiscuous_mode the include file is not there
* :github:`14767` - ARC: hang in exception handling when CONFIG_LOG is enabled
* :github:`14766` - K_THREAD_STACK_BUFFER() is broken
* :github:`14763` - PCI debug logging cannot work with PCI-enabled NS16550
* :github:`14762` - elf_helper: Call to undefined debug_die() in AggregateTypeMember (wrong class)
* :github:`14753` - nrf52840_pca10056: Get rid of leading spurious 0x00 byte in UART output
* :github:`14743` - Directed advertising to Android does not work
* :github:`14741` - Bluetooth scanning frequent resetting
* :github:`14714` - Mesh network traffic overflow ungraceful stop. (MMFAR Address: 0x0)
* :github:`14698` - USB: usb/console sample does not work for most of the boards
* :github:`14697` - USB: cdc_acm_composite sample might lose characters
* :github:`14693` - ARC: need test coverage for MPU stack guards
* :github:`14691` - samples: telnet: net shell is not working
* :github:`14684` - samples/net/promiscuous _mode : Cannot set promiscuous mode for interface
* :github:`14665` - samples/net/zperf does not work for TCP in qemu_x86
* :github:`14663` - net: echo server sends unknown packets on start
* :github:`14661` - samples/net/syslog_net fails for native_posix
* :github:`14658` - Disabling CONFIG_BT_PHY_UPDATE makes connections stall with iOS
* :github:`14657` - Sample: echo_async: setsockopt fail
* :github:`14654` - Samples: echo_client: No reply packet from the server
* :github:`14647` - IP: Zephyr replies to broadcast ethernet packets in other subnets on the same wire
* :github:`14643` - ARC: tests/kernel/mem_protect/mem_protect/kernel.memory_protection fails on nsim_sem
* :github:`14642` - ARC: tests/posix/common/ and tests/kernel/critical time out on nsim_sem with userspace enabled
* :github:`14641` - ARC: tests/kernel/critical/kernel.common times out on nsim_em and nsim_sem
* :github:`14640` - ARC: tests/cmsis_rtos_v2/portability.cmsis_rtos_v2 fails on nsim_em and nsim_sem
* :github:`14635` - bluetooth: controller: Control procedure collision with Encryption and PHY update procedure
* :github:`14627` - USB HID device only detected after replugging
* :github:`14623` - sanitycheck error when trying to run specific test
* :github:`14622` - net: IPv6: malformed packet in fragmented echo reply
* :github:`14612` - samples/net/sockets/echo_async_select doesnt work for qemu_x86 target
* :github:`14609` - mimxrt1050_evk Fatal fault in thread tests/kernel/mem_protect/stackprot Fatal fault in thread
* :github:`14608` - Promiscuous mode net sample cannot be build
* :github:`14606` - mimxrt1050_evk tests/kernel/fp_sharing kernel.fp_sharing fails
* :github:`14605` - mimxrt1060_evk cpp_synchronization meets Hardware exception
* :github:`14603` - pyocd can't support more board_runner_args
* :github:`14586` - Sanitycheck shows "FAILED: failed" for successful test: tests/kernel/fifo/fifo_api/kernel.fifo
* :github:`14568` - I2C stm32 LL driver V2 will hang when trying again after an error occurs
* :github:`14566` - mcuboot doesn't link into code-partition
* :github:`14556` - tests/benchmarks/timing_info reports strange values on quark_se_c1000:x86, altera_max10:nios2
* :github:`14554` - UP2 console no output after commit fb4f5e727b.
* :github:`14546` - shell compilation error when disabling CONFIG_SHELL_ECHO_STATUS
* :github:`14542` - STM32F4XX dts_fixup.h error
* :github:`14540` - kernel: message queue MACRO not compatible with C++
* :github:`14536` - out of bounds access in log_backend_rtt
* :github:`14523` - echo-client doesn't close socket if echo-server is offline
* :github:`14510` - USB DFU sample doc outdated
* :github:`14508` - mempool allocator can return with no allocation even if memory is available
* :github:`14504` - mempool can return success if no memory was available
* :github:`14501` - crash in qemu_x86_64:tests/kernel/fifo/fifo_usage/kernel.fifo.usage
* :github:`14500` - sanitycheck --coverage: stack overflows on qemu_x86 and mps2_an385
* :github:`14499` - sanitycheck --coverage on qemu_x86: stack overflows on qemu_x86 and mps2_an385
* :github:`14496` - PyYAML 5.1 breaks DTS parsing
* :github:`14492` - doc: update robots.txt to exclude more old docs
* :github:`14479` - Regression for net_offload API in net_if.c?
* :github:`14477` - tests/crypto/tinycrypt: test_ecc_dh() 's montecarlo_ecdh() hangs when num_tests (1st parameter) is greater than 1
* :github:`14476` - quark_d2000_crb: samples/sensor/bmg160 runs out of ROM (CI failure)
* :github:`14471` - MPU fault during application startup
* :github:`14469` - sanitycheck failures on 96b_carbon due to commit 75164763868ebd604904af3fdbc86845da833abc
* :github:`14462` - tests/kernel/threads/no-multithreading/testcase.yam: Not Booting
* :github:`14460` - python requirements.txt: pyocd and pyyaml conflict
* :github:`14454` - tests/kernel/threads/no-multithreading/: Single/Repeated delay boot banner
* :github:`14447` - Rename macro functions starting with two or three underscores
* :github:`14422` - [Coverity CID :195758]Uninitialized variables in /drivers/usb/device/usb_dc_nrfx.c
* :github:`14421` - [Coverity CID :195760]Error handling issues in /tests/net/tcp/src/main.c
* :github:`14420` - [Coverity CID :195768]API usage errors in /arch/x86_64/core/xuk-stub32.c
* :github:`14419` - [Coverity CID :195770]Memory - illegal accesses in /drivers/ethernet/eth_native_posix_adapt.c
* :github:`14418` - [Coverity CID :195774]API usage errors in /arch/x86_64/core/xuk-stub32.c
* :github:`14417` - [Coverity CID :195786]Error handling issues in /samples/drivers/CAN/src/main.c
* :github:`14416` - [Coverity CID :195789]Uninitialized variables in /subsys/usb/class/netusb/function_rndis.c
* :github:`14415` - [Coverity CID :195793]Insecure data handling in /drivers/counter/counter_ll_stm32_rtc.c
* :github:`14414` - [Coverity CID :195800]Memory - corruptions in /tests/net/traffic_class/src/main.c
* :github:`14413` - [Coverity CID :195816]Null pointer dereferences in /tests/net/dhcpv4/src/main.c
* :github:`14412` - [Coverity CID :195819]Null pointer dereferences in /tests/net/tcp/src/main.c
* :github:`14411` - [Coverity CID :195821]Memory - corruptions in /tests/net/traffic_class/src/main.c
* :github:`14410` - [Coverity CID :195828]Memory - corruptions in /boards/posix/native_posix/cmdline.c
* :github:`14409` - [Coverity CID :195835]Null pointer dereferences in /tests/net/ipv6/src/main.c
* :github:`14408` - [Coverity CID :195838]Memory - illegal accesses in /samples/subsys/usb/hid-cdc/src/main.c
* :github:`14407` - [Coverity CID :195839]Memory - corruptions in /tests/net/traffic_class/src/main.c
* :github:`14406` - [Coverity CID :195841]Insecure data handling in /drivers/usb/device/usb_dc_native_posix.c
* :github:`14405` - [Coverity CID :195844]Null pointer dereferences in /tests/net/mld/src/main.c
* :github:`14404` - [Coverity CID :195845]Memory - corruptions in /tests/net/traffic_class/src/main.c
* :github:`14403` - [Coverity CID :195847]Memory - corruptions in /tests/net/traffic_class/src/main.c
* :github:`14402` - [Coverity CID :195848]Error handling issues in /samples/net/sockets/echo_async_select/src/socket_echo_select.c
* :github:`14401` - [Coverity CID :195855]Memory - corruptions in /drivers/serial/uart_native_posix.c
* :github:`14400` - [Coverity CID :195858]Incorrect expression in /arch/posix/core/posix_core.c
* :github:`14399` - [Coverity CID :195860]Null pointer dereferences in /tests/net/tcp/src/main.c
* :github:`14398` - [Coverity CID :195867]Memory - corruptions in /arch/posix/core/posix_core.c
* :github:`14397` - [Coverity CID :195871]Integer handling issues in /drivers/counter/counter_ll_stm32_rtc.c
* :github:`14396` - [Coverity CID :195872]Error handling issues in /drivers/serial/uart_native_posix.c
* :github:`14395` - [Coverity CID :195880]Null pointer dereferences in /tests/net/dhcpv4/src/main.c
* :github:`14394` - [Coverity CID :195884]Control flow issues in /arch/x86_64/core/xuk.c
* :github:`14393` - [Coverity CID :195896]Memory - corruptions in /tests/net/traffic_class/src/main.c
* :github:`14392` - [Coverity CID :195897]Error handling issues in /samples/net/sockets/echo_async/src/socket_echo.c
* :github:`14391` - [Coverity CID :195900]Security best practices violations in /drivers/entropy/fake_entropy_native_posix.c
* :github:`14390` - [Coverity CID :195903]Null pointer dereferences in /tests/net/iface/src/main.c
* :github:`14389` - [Coverity CID :195905]Control flow issues in /arch/x86_64/core/x86_64.c
* :github:`14388` - [Coverity CID :195921]Null pointer dereferences in /tests/net/tcp/src/main.c
* :github:`14315` - iamcu has build issues due to lfence
* :github:`14313` - doc: API references such as :c:func:`funcname` aren't creating links
* :github:`14310` - 64 bit print format specifiers not defined with newlib and SDK 0.10.0
* :github:`14297` - mimxrt1020_evk tests/kernel/gen_isr_table test failure
* :github:`14293` - mimxrt1060_evk tests/benchmarks/latency_measure failed
* :github:`14289` - Cannot build GRUB2 boot loader image in Clear Linux
* :github:`14275` - [ci.foundries.io] regression 4344e27 all: Update reserved function names
* :github:`14265` - Bluetooth GATT descriptor discovery returns all attributes
* :github:`14261` - DTS file for the esp32
* :github:`14258` - doc: Recommended SDK version is out of date
* :github:`14247` - tests/net/ieee802154/crypto fails with assertion failure in subsys/net/ip/net_if.c
* :github:`14246` - ./sample/bluetooth/mesh/ always issue an "HARD FALUT"
* :github:`14244` - tests/crypto/rand32/testcase.yaml#crypto.rand32.random_hw_xoroshiro.rand32: Not Booting
* :github:`14235` - Bluetooth connection timeout
* :github:`14209` - unable to flash sam_e70_xplained due to west errors
* :github:`14191` - Logger corrupts itself on rescheduling
* :github:`14186` - tests/cmsis_rtos_v1 fails on nrf boards
* :github:`14184` - tests/benchmarks: Stuck at delaying boot banner on quark_se_c1000_ss_board
* :github:`14177` - Spurious Error: "zephyr-no-west/samples/hello_world" is not in a west installation
* :github:`14160` - Bluetooth API documentation - bt_conn_create_slave_le
* :github:`14156` - Mac OSX Documentation Update Needed
* :github:`14141` - USB suspend/resume on board startup
* :github:`14139` - nsim failed in tests/subsys/jwt/libraries_encoding
* :github:`14127` - netusb: TX path doesn't work in RNDIS driver
* :github:`14125` - system calls are vulnerable to Spectre V1 attacks on CPUs with speculative execution
* :github:`14121` - gaps between app shared memory partitions can waste a lot of space
* :github:`14109` - Incorrect documentation for k_work_*() API
* :github:`14105` - Race condition in k_delayed_work_submit_to_queue()
* :github:`14104` - Invalid locking in k_delayed_work_submit_to_queue()
* :github:`14099` - Minnowboard doesn't build tests/kernel/xip/
* :github:`14098` - Test Framework documentation issue
* :github:`14096` - Timeslicing is broken
* :github:`14093` - net: Description of net_pkt_skip() is not clear
* :github:`14087` - serial/stm32: uart_stm32_fifo_fill can't transmit data complete
* :github:`14084` - ADC driver subsystem has no system calls
* :github:`14063` - net: ipv6: Neighbor table management improvements
* :github:`14059` - CONFIG_XUK_64_BIT_ABI is referenced but undefined (outside of tests)
* :github:`14044` - BLE HID sample fails to reconnect on Windows 10 tablets - Wrong Sequence Number (follow-up)
* :github:`14042` - MCUboot fails to boot STM32L4 device
* :github:`14010` - logger: timestamp resets after 35.7 seconds on K64F
* :github:`14001` - drivers: modem: modem receiver is sending extra bytes around \r\n
* :github:`13984` - nucleo_l496zg: samples: console/echo: It doesn't echo
* :github:`13972` - bt_le_scan_stop() before finding device results in Data Access Violation
* :github:`13964` - rv32m1_vega_ri5cy doesn't build w/o warnings
* :github:`13960` - tests/kernel/lifo/lifo_usage fails on m2gl025_miv
* :github:`13956` - CI scripting doesn't retry modifications to tests on non-default platforms
* :github:`13949` - tests: Ztest problem - not booting properly
* :github:`13943` - net: QEMU Ethernet drivers are flaky
* :github:`13937` - tests/net/tcp: Page fault
* :github:`13934` - tests/kernel/fatal: test_fatal rv equal to TC_FAIL
* :github:`13923` - app shared memory placeholders waste memory
* :github:`13919` - tests/crypto/mbedtls reports some errors without failing
* :github:`13918` - x86 memory domain configuration not always applied correctly on context switch when partitions are added
* :github:`13906` - posix: Recently enabled POSIX+newlib tests fail to build with gnuarmemb
* :github:`13890` - stm32: serial: Data is not read properly at a certain baud rate
* :github:`13889` - ARM: Userspace: should we have default system app partitions?
* :github:`13888` - [Coverity CID :190924]Integer handling issues in /subsys/net/lib/sntp/sntp.c
* :github:`13887` - [Coverity CID :190925]Memory - corruptions in /subsys/bluetooth/controller/hci/hci_driver.c
* :github:`13886` - [Coverity CID :190926]Error handling issues in /drivers/can/stm32_can.c
* :github:`13885` - [Coverity CID :190928]Error handling issues in /samples/net/sockets/echo_async/src/socket_echo.c
* :github:`13884` - [Coverity CID :190929]Integer handling issues in /tests/drivers/hwinfo/api/src/main.c
* :github:`13883` - [Coverity CID :190930]Integer handling issues in /samples/subsys/fs/src/main.c
* :github:`13882` - [Coverity CID :190931]Control flow issues in /subsys/net/lib/lwm2m/lwm2m_rw_json.c
* :github:`13881` - [Coverity CID :190932]Control flow issues in /samples/subsys/ipc/openamp/src/main.c
* :github:`13880` - [Coverity CID :190933]Control flow issues in /drivers/gpio/gpio_intel_apl.c
* :github:`13879` - [Coverity CID :190934]Parse warnings in /tests/drivers/can/stm32/src/main.c
* :github:`13878` - [Coverity CID :190935]Parse warnings in /tests/drivers/can/stm32/src/main.c
* :github:`13877` - [Coverity CID :190936]Uninitialized variables in /tests/subsys/fs/nffs_fs_api/common/test_performance.c
* :github:`13876` - [Coverity CID :190937]Incorrect expression in /tests/drivers/counter/counter_basic_api/src/test_counter.c
* :github:`13875` - [Coverity CID :190938]Parse warnings in /tests/drivers/can/stm32/src/main.c
* :github:`13874` - [Coverity CID :190939]Error handling issues in /tests/subsys/fs/fat_fs_dual_drive/src/test_fat_file.c
* :github:`13873` - [Coverity CID :190940]Memory - corruptions in /soc/arm/microchip_mec/mec1701/soc.c
* :github:`13872` - [Coverity CID :190942]Memory - corruptions in /subsys/mgmt/smp_shell.c
* :github:`13871` - [Coverity CID :190943]Incorrect expression in /tests/kernel/fatal/src/main.c
* :github:`13870` - [Coverity CID :190944]Control flow issues in /subsys/usb/class/usb_dfu.c
* :github:`13869` - [Coverity CID :190945]Parse warnings in /tests/drivers/can/api/src/main.c
* :github:`13868` - [Coverity CID :190946]Null pointer dereferences in /tests/net/utils/src/main.c
* :github:`13867` - [Coverity CID :190948]Null pointer dereferences in /subsys/net/lib/lwm2m/lwm2m_rw_json.c
* :github:`13866` - [Coverity CID :190949]Error handling issues in /tests/subsys/fs/nffs_fs_api/common/test_append.c
* :github:`13865` - [Coverity CID :190950]Integer handling issues in /arch/arm/core/cortex_m/mpu/nxp_mpu.c
* :github:`13864` - [Coverity CID :190951]Control flow issues in /subsys/net/ip/net_context.c
* :github:`13863` - [Coverity CID :190952]Incorrect expression in /tests/drivers/counter/counter_basic_api/src/test_counter.c
* :github:`13862` - [Coverity CID :190953]Error handling issues in /subsys/fs/shell.c
* :github:`13861` - [Coverity CID :190954]Error handling issues in /subsys/bluetooth/controller/ll_sw/nordic/lll/lll_test.c
* :github:`13860` - [Coverity CID :190955]Error handling issues in /tests/subsys/fs/nffs_fs_api/common/nffs_test_utils.c
* :github:`13859` - [Coverity CID :190956]Error handling issues in /samples/net/sockets/can/src/main.c
* :github:`13858` - [Coverity CID :190957]Incorrect expression in /tests/kernel/fatal/src/main.c
* :github:`13857` - [Coverity CID :190958]Control flow issues in /samples/boards/96b_argonkey/microphone/src/main.c
* :github:`13856` - [Coverity CID :190960]Various in /tests/subsys/fs/fcb/src/fcb_test_last_of_n.c
* :github:`13855` - [Coverity CID :190961]Error handling issues in /subsys/bluetooth/host/mesh/prov.c
* :github:`13854` - [Coverity CID :190964]Integer handling issues in /arch/arm/core/cortex_m/mpu/nxp_mpu.c
* :github:`13853` - [Coverity CID :190965]Error handling issues in /subsys/net/ip/ipv4_autoconf.c
* :github:`13852` - [Coverity CID :190966]Error handling issues in /samples/net/sockets/echo_async_select/src/socket_echo_select.c
* :github:`13851` - [Coverity CID :190967]Incorrect expression in /tests/drivers/counter/counter_basic_api/src/test_counter.c
* :github:`13850` - [Coverity CID :190969]Uninitialized variables in /samples/net/sockets/coap_client/src/coap-client.c
* :github:`13849` - [Coverity CID :190970]Uninitialized variables in /subsys/bluetooth/shell/ll.c
* :github:`13848` - [Coverity CID :190971]Null pointer dereferences in /subsys/net/ip/net_pkt.c
* :github:`13847` - [Coverity CID :190972]Control flow issues in /subsys/power/power.c
* :github:`13846` - [Coverity CID :190973]Control flow issues in /subsys/net/ip/net_context.c
* :github:`13845` - [Coverity CID :190974]Integer handling issues in /subsys/net/ip/trickle.c
* :github:`13844` - [Coverity CID :190976]Integer handling issues in /arch/arm/core/cortex_m/mpu/nxp_mpu.c
* :github:`13843` - [Coverity CID :190977]Integer handling issues in /lib/os/printk.c
* :github:`13842` - [Coverity CID :190978]Control flow issues in /drivers/spi/spi_intel.c
* :github:`13841` - [Coverity CID :190980]Parse warnings in /tests/drivers/can/api/src/main.c
* :github:`13840` - [Coverity CID :190981]Error handling issues in /subsys/fs/nffs_fs.c
* :github:`13839` - [Coverity CID :190983]Incorrect expression in /tests/drivers/counter/counter_basic_api/src/test_counter.c
* :github:`13838` - [Coverity CID :190985]Memory - illegal accesses in /arch/x86/core/x86_mmu.c
* :github:`13837` - [Coverity CID :190986]Control flow issues in /subsys/net/lib/sockets/sockets_tls.c
* :github:`13836` - [Coverity CID :190987]Integer handling issues in /arch/arm/core/cortex_m/mpu/nxp_mpu.c
* :github:`13835` - [Coverity CID :190989]Parse warnings in /tests/drivers/can/api/src/main.c
* :github:`13834` - [Coverity CID :190990]Null pointer dereferences in /subsys/net/ip/net_pkt.c
* :github:`13833` - [Coverity CID :190991]Error handling issues in /subsys/bluetooth/controller/ll_sw/ull_conn.c
* :github:`13832` - [Coverity CID :190992]Null pointer dereferences in /subsys/net/ip/dhcpv4.c
* :github:`13831` - [Coverity CID :190993]Various in /subsys/shell/shell.c
* :github:`13830` - [Coverity CID :190995]Control flow issues in /subsys/net/ip/ipv6.c
* :github:`13829` - [Coverity CID :190996]Integer handling issues in /drivers/can/stm32_can.c
* :github:`13828` - [Coverity CID :190997]Integer handling issues in /lib/os/printk.c
* :github:`13827` - [Coverity CID :190998]Incorrect expression in /tests/drivers/uart/uart_async_api/src/test_uart_async.c
* :github:`13826` - [Coverity CID :191001]Control flow issues in /subsys/net/lib/lwm2m/lwm2m_rw_json.c
* :github:`13825` - [Coverity CID :191002]Error handling issues in /tests/net/lib/mqtt_pubsub/src/test_mqtt_pubsub.c
* :github:`13824` - [Coverity CID :191003]Resource leaks in /samples/net/sockets/can/src/main.c
* :github:`13823` - tests/kernel/arm_irq_vector_table: test case cannot quit displaying "isr 0 ran!"
* :github:`13822` - Invalid USB state: powered after cable is disconnected
* :github:`13821` - tests/kernel/sched/schedule_api: Assertion failed for test_slice_scheduling
* :github:`13813` - Test suite mslab_threadsafe fails randomly
* :github:`13783` - tests/kernel/mem_protect/stackprot failure in frdm_k64f due to limited privilege stack size
* :github:`13780` - mimxrt1060_evk tests/crypto/tinycrypt_hmac_prng and test_mbedtls meet Unaligned memory access
* :github:`13779` - mimxrt1060_evk tests/kernel/mem_pool/mem_pool_threadsafe meets Imprecise data bus error
* :github:`13778` - mimxrt1060_evk tests/kernel/pending meets assert
* :github:`13777` - mimxrt1060_evk tests/kernel/profiling/profiling_api meets Illegal use of the EPSR
* :github:`13769` - mimxrt1060_evk tests/kernel/fifo/fifo_timeout and kernel/fifo/fifo_usage meet system error
* :github:`13768` - mimxrt1060_evk tests/kernel/device illegal use of the EPSR
* :github:`13767` - mimxrt1060_evk tests/kernel/context and tests/kernel/critical caught system err
* :github:`13766` - mimxrt1060_evk tests/kernel/fatal meet many unwanted exceptions
* :github:`13765` - mimxrt1060_evk tests/kernel/workq/work_queue meets Illegal use of the EPSR
* :github:`13764` - mimxrt1060_evk test/kernel/mem_slab/mslab_threadsafe meets Imprecise data bus error
* :github:`13762` - mimxrt1060_evk test/lib/c_lib and test/lib/json test/lib/ringbuffer meet Unaligned memory access
* :github:`13754` - Error: "West version found in path does not support '/usr/bin/make flash', ensure west is installed and not only the bootstrapper"
* :github:`13753` - _UART_NS16550_PORT_{2,3}_ seems to be a (possibly broken) Kconfig/DTS mishmash
* :github:`13752` - The Arduino 101 docs tell people to set CONFIG_UART_QMSI_1_BAUDRATE, which was removed
* :github:`13750` - CONFIG_SPI_3_NRF_SPIS is undefined but referenced
* :github:`13748` - CONFIG_SOC_MCIMX7D_M4 is undefined but referenced
* :github:`13747` - CONFIG_NRFX_UARTE{2-3} are undefined but referenced
* :github:`13735` - mimxrt1020_evk tests/benchmarks/app_kernel meets Illegal use of the EPSR
* :github:`13734` - tests/subsys/settings/fcb/src/settings_test_save_unaligned.c fail with assertion failure on nrf52_pca10040
* :github:`13733` - mimxrt1020_evk samples/net/zperf meets Unaligned memory access
* :github:`13729` - sanitycheck --coverage failed
* :github:`13728` - mimxrt1020_evk tests/subsys/logging/log_core test_log_strdup_gc meets Unaligned memory access
* :github:`13727` - MIMXRT1020_EVK sample/subsys/logging/logger report unaligned memory access
* :github:`13716` - CAN tests don't build
* :github:`13710` - Build failure when using XCC toolchain
* :github:`13703` - Build error w/Flash driver enabled on hexiwear kw40
* :github:`13701` - x86 stack check fail w/posix-lib & newlib
* :github:`13686` - newlib, posix-lib and xtensa/riscv (with sdk-0.9.5) don't build cleanly
* :github:`13680` - XCC install directions need updating in boards/xtensa/intel_s1000_crb/doc/index.rst
* :github:`13665` - amples/subsys/usb/cdc_acm_composite: Stuck at "Wait for DTR"
* :github:`13664` - samples/subsys/usb/cdc_acm_composite: No output beyond "***** Booting Zephyr OS v1.14.0-rc- ....****** banner
* :github:`13662` - samples/subsys/usb/cdc_acm: Stuck at "Wait for DTR"
* :github:`13655` - mimxrt1050_evk test/crypto/rand32 meets Kernel Panic
* :github:`13654` - mimxrt1050_evk test/kernel/mem_protect/stack_random fails on stack fault
* :github:`13642` - stack canaries don't work with user mode threads
* :github:`13624` - ATMEL SAM family UART and USART - functions u(s)art_sam_irq_is_pending doesn't respect IRQ settings
* :github:`13610` - kernel: Non-deterministic and very high ISR latencies
* :github:`13609` - samples: cfb: text is not displayed due to display_blanking_off()
* :github:`13595` - tests/kernel/stack fails to build on nios2 with new SDK 0.10.0-rc3
* :github:`13594` - tests/kernel/mem_protect/mem_protect/kernel.memory_protection build failure on minnowboard with new SDK
* :github:`13585` - CONFIG_BT_HCI_TX_STACK_SIZE is too small
* :github:`13584` - i.MX RT board flashing and debugging sections are out of date
* :github:`13572` - settings: Bluetooth: Failed parse/lookup
* :github:`13567` - tests/subsys/settings/fcb/base64 fails when write-block-size is 8
* :github:`13560` - STM32 USB: netusb: kernel crash when testing example echo_server with nucleo_f412zg (ECM on Windows)
* :github:`13550` - stm32: i2c: SSD1306 does not work due to write size limitation
* :github:`13547` - tests/drivers/build_all: The Zephyr library 'drivers__adc' was created without source files
* :github:`13541` - sanitycheck errors when device-testing frdm_k64f
* :github:`13536` - test: tests/kernel/mem_slab/mslab_threadsafe fails sporadically on nrf52
* :github:`13522` - BT SUBSCRIBE to characteristic for Indication or WRITE to value results in kernel crash
* :github:`13515` - samples/net/sockets/echo doesnt link with CONFIG_NO_OPTIMIZATIONS=y
* :github:`13514` - #stm32 creating #gpio #interrupts on 2+ pins with the same pin number failes
* :github:`13502` - tests/benchmarks/timing_info: Output only consist of Delay Boot Banner
* :github:`13489` - frdm_k64f test/net/tcp bus fault after test ends
* :github:`13484` - net: (At least) eth_smsc911x driver is broken in the master
* :github:`13482` - The frdm_k64f board resets itself periodically/A possible NXP MPU bug
* :github:`13481` - Regression in CI coverage for (at least) some Ethernet drivers after net_app code removal
* :github:`13470` - Lack of POSIX compliance for sched_param struct
* :github:`13465` - tests/lib/mem_alloc/testcase.yaml#libraries.libc.minimal: Bus fault at test_malloc
* :github:`13464` - rb.h: macro RB_FOR_EACH_CONTAINER bug
* :github:`13463` - frdm_kl25z samples/basic/threads Kernel Panic
* :github:`13462` - frdm_kl25z samples/basic/disco meet hard fault
* :github:`13458` - galileo I2C bus master names aren't getting set in the build
* :github:`13449` - sanitycheck failure: [nocache] build failures with sdk-ng-0.10.0
* :github:`13448` - OpenOCD support code version not raised on recent additions
* :github:`13437` - 6LoWPAN: ICMP Ping Zephyr -> Linux broken in master [regression, bisected]
* :github:`13434` - Aliases inside dts leads to warnings
* :github:`13433` - Error when rebooting the frdm_k64f board
* :github:`13424` - Logger got recently slower
* :github:`13423` - Default logger stack size insufficient for various samples
* :github:`13422` - Can't use GPIO 2, 3 and 4
* :github:`13421` - tests/drivers/watchdog/wdt_basic_api: test_wdt_no_callback() repeats indefinitely
* :github:`13413` - x86 reports incorrect stack pointer for user mode exceptions
* :github:`13411` - kernel: ASSERTION FAIL [z_spin_lock_valid(l)]
* :github:`13410` - qemu_x86 transient build errors for mmu_tables.o
* :github:`13408` - DT_FLASH_AREA generated seems to be different for Zephyr and MCUBootloader
* :github:`13397` - Function documentation is missing for BSD sockets
* :github:`13396` - Cannot connect to Galaxy S8 via BLE
* :github:`13394` - Missing Documentation for Bluetooth subsystem
* :github:`13384` - linking error of gettimeofday with zephyr-sdk-0.10.0-rc2
* :github:`13380` - sockets: ordering of send() vs. poll() when using socket API + DTLS causes a crash
* :github:`13378` - Missing Documentation for Networking subsystem
* :github:`13361` - nucleo_f103rb blinky example cannot run
* :github:`13357` - Tracing hooks problem on POSIX
* :github:`13353` - z_timeout_remaining should subtract z_clock_elapsed
* :github:`13342` - arm: user thread stack overflows do not report _NANO_ERR_STACK_CHK_FAIL
* :github:`13341` - arc: user thread stack overflows do not report _NANO_ERR_STACK_CHK_FAIL
* :github:`13340` - NRF52 pca10040 boards open the "Flash hardware support" option, the BT Mesh example does not work properly
* :github:`13323` - No USB instance
* :github:`13320` - sanitycheck miss extra_args: OVERLAY_CONFIG parameter
* :github:`13316` - Notification enabled before connection
* :github:`13306` - Checking if UARTE TX complete on nRF52
* :github:`13301` - frdm_k64f: samples/net/sockets/echo_server doesn't work
* :github:`13300` - NET: USB Ethernet tests were removed allowing to submit not compiling code
* :github:`13291` - samples/drivers/watchdog: Fatal fault in ISR
* :github:`13290` - samples/drivers/watchdog: Watchdog setup error
* :github:`13289` - tests/kernel/fifo/fifo_timeout fails on nrf52840_pca10056
* :github:`13287` - Zephyr can no longer apply DT overlays on a per-SoC basis
* :github:`13272` - Catch all bug for build issues with SDK 0.10.0-rc2
* :github:`13257` - Shell not compatible with c++
* :github:`13256` - UART error bitmask broken by new asynchronous UART API
* :github:`13255` - tests/drivers/counter/counter_basic_api: Kernel panic and an assertion error when you run test_multiple_alarms() after test_single_shot_alarm_top() failed
* :github:`13254` - tests/drivers/counter/counter_basic_api: counter failed to raise alarm after ticks limit reached
* :github:`13253` - tests/drivers/counter/counter_basic_api: nchan not equal to alarm_cnt
* :github:`13251` - frdm_k64f: samples/net/sockets/echo_server doesn't work
* :github:`13249` - Latest Zephyr HEAD results in a crash in mcuboot tree
* :github:`13247` - tests/drivers/counter/counter_basic_api: counter_set_top_value() failed
* :github:`13245` - Including module(s):
* :github:`13243` - DT: error in generated_dts_board_fixups.h for board: frdm_k64f
* :github:`13237` - stm32 USB sanitycheck failures with sdk 0.10.0-beta2
* :github:`13236` - Failure tests/kernel/gen_isr_table on some stm32 platforms
* :github:`13223` - I2S transfers causes exception/crash in xtensa/Intel S1000
* :github:`13220` - qemu_x86_64 build failures
* :github:`13218` - tests: intel_s1000_crb: CONFIG_I2C_0_NAME undeclared build error
* :github:`13211` - net/sockets: send/sendto broken when len > MTU
* :github:`13209` - FATAL ERROR: unknown key "posixpath" in format string "{posixpath}"
* :github:`13203` - drivers: wifi: simplelink: Need to translate socket family macro values
* :github:`13194` - soc/arm/nordic_nrf/nrf52/soc_power.h warning spew when CONFIG_SYS_POWER_MANAGEMENT=n
* :github:`13192` - silabs flash_gecko driver warning (will fail in CI)
* :github:`13187` - qemu_x86_64 leaks system headers into the build process
* :github:`13166` - tests/kernel/threads/dynamic_thread test cases are failing on frdm_k64f board
* :github:`13161` - QMSI drivers/counter/counter_qmsi_aon.c doesn't build
* :github:`13147` - net: ICMPv4 echo reply packets do not use default values in the IP header
* :github:`13122` - build for KW40z, KW41z fails to generate isr_tables
* :github:`13113` - Samples fail to build for SimpleLink when CONFIG_XIP=n
* :github:`13110` - MPU fault on performing fifo operations
* :github:`13096` - Remove CONFIG_X86_PAE_MODE from scripts/gen_mmu_x86.py
* :github:`13084` - net: Align interface numbering with POSIX/BSD/Linux
* :github:`13083` - Problem pairing/bonding 2nd device, whilst the first device is still connected using sample project (bluetooth\peripheral)
* :github:`13082` - s1000 board: multiple registrations for irq error
* :github:`13073` - intermittent failure in tests/benchmarks/timing_info
* :github:`13066` - Bug on STM32F2 USB Low Layer HAL
* :github:`13065` - CONFIG_BT leads Fatal fault in ISR on esp32
* :github:`13051` - Two timers are expiring at one time and crashing for platform nrf52_pca10040
* :github:`13050` - net: Zephyr drops TCPv4 packet with extended MAC frame size
* :github:`13047` - Build error while executing tests/kernel/tickless/tickless on quark_se_c1000_devboard
* :github:`13044` - intermittent tests/kernel/workq/work_queue failure
* :github:`13043` - intermittent tests/posix/common/ failure
* :github:`13034` - samples/bluetooth/peripheral_hr: could not connect with reel board
* :github:`13025` - CAN not working on Nucleo L432KC with external transciever
* :github:`13014` - sanitycheck fails to generate coverage report if samples/application_development/external_lib is run
* :github:`13013` - Problem executing 'west flash' outside zephyr directory.
* :github:`13011` - tests/posix/fs/ segfaults randomly in POSIX arch
* :github:`13009` - Coverage broken for nrf52_bsim
* :github:`13005` - syslog_net doc error
* :github:`13001` - app shared memory rules in CMakeLists.txt breaks incremental builds
* :github:`12994` - intermittent failures in tests/net/socket/select/ on qemu_x86
* :github:`12982` - net: Zephyr drops IPv4 packet with extended MAC frame size
* :github:`12967` - settings/fcb-backend: value size might be bigger than expected
* :github:`12959` - Error with cmake build "string sub-command REGEX, mode MATCH needs at least 5 arguments"
* :github:`12958` - Missing LwM2M protocol information in the network section of docs
* :github:`12957` - Need documentation for MQTT
* :github:`12956` - CoAP missing documentation
* :github:`12955` - Missing Documentation for many subsystems and features
* :github:`12950` - tests/kernel/workq/work_queue_api/kernel.workqueue fails on nsim_em
* :github:`12949` - tests/benchmarks/timing_info/benchmark.timing.userspace fails on nsim_em
* :github:`12948` - tests/kernel/mem_protect/stack_random/kernel.memory_protection.stack_random fails on nsim_em
* :github:`12947` - tests/benchmarks/timing_info/benchmark.timing.default_kernel fails on nsim_em
* :github:`12946` - Zephyr/BLE stack: Problem pairing/bonding more than one device, whilst the first device is still connected.
* :github:`12945` - mqtt_socket connect is hung on sam_e70_xplained
* :github:`12933` - MCUboot: high current
* :github:`12908` - Data allocation in sections for quark_se is incorrect
* :github:`12905` - Build improperly does a partial discard of 'const' defined variables
* :github:`12900` - tests/benchmarks/timing_info doesn't print userspace stats
* :github:`12886` - Application development primer docs broken by west merge
* :github:`12873` - Early log panic does not print logs on shell
* :github:`12851` - Early log panic does not print logs
* :github:`12849` - i2c: frdm-k64f and mimxrt1050_evk I2C driver will cause hardware exception if read/write to a not existing device
* :github:`12844` - ARC MPU version 3 is configured incorrectly
* :github:`12821` - When CPU_STATS is enable with MPU_STACK_GUARD in DEBUG_OPTIMIZATIONS mode, it cause a MPU FAULT / Instruction Access Violation.
* :github:`12820` - CONFIG_NO_OPTIMIZATION triggers a usage fault
* :github:`12813` - DTS: CONFIG_FLASH_BASE_ADDRESS not being generated for SPI based Flash chip
* :github:`12812` - ninja flash when running without 'west'
* :github:`12810` - Up Squared serial console character output corrupted
* :github:`12804` - tests/drivers/watchdog/wdt_basic_api/: wdt_install_timeout() failed to call callback
* :github:`12803` - tests/drivers/watchdog/wdt_basic_api/: Watchdog setup error
* :github:`12800` - topic-counter: nrfx_*: counter_set_top_value inconsistent behavior
* :github:`12796` - USB Power Event Panic
* :github:`12766` - drivers: gpio: stm32: implementation silently ignores attempts to configure level interrupts
* :github:`12765` - drivers: gpio: intel_apl: implementation silently ignores double-edge interrupt config
* :github:`12764` - drivers: gpio: cmsdk_ahb: implementation silently ignores double-edge interrupt config
* :github:`12763` - drivers: gpio: sch: implementation does not configure interrupt level/edge
* :github:`12758` - doc: Samples and Demos documentation hierarchy looks unintentionally deep
* :github:`12745` - SimpleLink socket functions, on error, sometimes do not set errno and return (-1)
* :github:`12734` - drivers: flash: Recent change in spi_nor.c does not let have multiple flash devs on a board.
* :github:`12726` - Dead loop of the kernel during Bluetooth Mesh pressure communication
* :github:`12724` - SPI CS: in case of multiple slaves, wrong cs-gpio is chosen in DT\_ define
* :github:`12708` - Drivers may call net_pkt_(un)ref from ISR concurrently with other code
* :github:`12696` - CMAKE_EXPORT_COMPILE_COMMANDS is broken
* :github:`12688` - arm: userspace: inconsistent configuration between ARM and NXP MPU
* :github:`12685` - 717aa9cea7 broke use of dtc 1.4.6
* :github:`12657` - subsys/settings: fcb might compress areas more than once
* :github:`12654` - Build error while executing tests/kernel/smp on ESP32
* :github:`12652` - UART console is showing garbage with driver uart_ns15560
* :github:`12650` - drivers: wifi: simplelink: socket() always returns fd of zero on success
* :github:`12640` - CONFIG_ETH_ENC28J60_0_GPIO_SPI_CS=y cause build error
* :github:`12632` - tests/drivers/adc/adc_api/ fails on quark platforms
* :github:`12621` - warning about images when building docs
* :github:`12615` - Network documentation might miss API documentation
* :github:`12611` - Shell does not support network backends
* :github:`12609` - ext: stm32: revert fix path_to_url
* :github:`12594` - stm32_min_dev board no console output
* :github:`12589` - Several nRF based boards enable both I2C & SPI by default in dts at same MMIO address
* :github:`12574` - Bluetooth: Mesh: 2nd time commissioning configuration details (APP Key) not get saved on SoC flash
* :github:`12571` - No coverage reports are being generated
* :github:`12570` - Zephyr codebase incorrectly uses #ifdef for boolean config values
* :github:`12560` - Using TCP w/ wired NIC results in mismanagement of buffers due to ACK accounting error
* :github:`12559` - tests/kernel/mem_pool/mem_pool_threadsafe/kernel.memory_pool fails sporadically
* :github:`12553` - List of tests that keep failing sporadically
* :github:`12548` - ISR sometimes run with the MPU disabled: breaks __nocache
* :github:`12544` - commit 2fb616e broke I2C on Nucleo F401RE + IKS01A2 shield
* :github:`12543` - doc: Wrong file path for code relocation sample
* :github:`12541` - nrf timer handling exceeds bluetooth hard realtime deadline
* :github:`12530` - DTS: Changes done to support QSPI memory mapped flash breaks intel_s1000 build
* :github:`12528` - a bug in code
* :github:`12501` - nRF52: UARTE lacks pm interface
* :github:`12494` - Logging with CONFIG_LOG_IMMEDIATE=y from ISR leads to assert
* :github:`12488` - RedBear Nano v2 Mesh Instruction Fault
* :github:`12487` - Power management and RTTLogger
* :github:`12479` - arc: the pollution of lp_start,lpend and lp_count will break down the system
* :github:`12478` - tests/drivers/ipm/peripheral.mailbox failing sporadically on qemu_x86_64 (timeout)
* :github:`12455` - Fatal fault when openthread commissioner starts
* :github:`12454` - doc: Some board images are pretty big (> 1MB)
* :github:`12453` - nrf52 SPIM spi_transceive function occasionally doesn't return
* :github:`12449` - Existing LPN lookup in Mesh Friend Request handling
* :github:`12441` - include: net: Link error when inet_pton() is used and wifi offloading is enabled
* :github:`12429` - Bluetooth samples not working on qemu_x86
* :github:`12419` - cannot flash with segger jlink in windows environment
* :github:`12410` - Assert and printk not printed on RTT
* :github:`12409` - non-tickless kernels incorrectly advance system clock with delayed ticks
* :github:`12395` - Some Bluetooth samples wont run using the latest branch on some boards
* :github:`12369` - WDT: wdt callbacks are not getting triggerred before CPU going for a reboot
* :github:`12362` - BLE HID sample fails to reconnect on Windows 10 tablets
* :github:`12352` - intermittent kernel.mutex sanitycheck with mps2_an385
* :github:`12347` - net ping shell can't show reply
* :github:`12339` - drivers: nordic: usb: missing fragmentation handling for IN transfers, causing buffer overflow
* :github:`12329` - enable CONFIG_NET_DEBUG_HTTP_CONN cause build error
* :github:`12326` - [Coverity CID :158187]Control flow issues in /sanitylog/nrf52840_pca10056/samples/net/echo_server/test_nrf_openthread/zephyr/ext_proj/Source/ot/third_party/mbedtls/repo/library/ecp.c
* :github:`12325` - [Coverity CID :190377]Control flow issues in /sanitylog/nrf52840_pca10056/samples/net/echo_server/test_nrf_openthread/zephyr/ext_proj/Source/ot/examples/platforms/utils/settings_flash.c
* :github:`12324` - [Coverity CID :190380]Insecure data handling in /sanitylog/nrf52840_pca10056/samples/net/echo_server/test_nrf_openthread/zephyr/ext_proj/Source/ot/third_party/mbedtls/repo/library/ssl_tls.c
* :github:`12323` - [Coverity CID :190383]Null pointer dereferences in /sanitylog/nrf52840_pca10056/samples/net/echo_server/test_nrf_openthread/zephyr/ext_proj/Source/ot/third_party/mbedtls/repo/library/ssl_tls.c
* :github:`12322` - [Coverity CID :190611]Control flow issues in /drivers/usb/device/usb_dc_nrfx.c
* :github:`12321` - [Coverity CID :190612]Control flow issues in /subsys/net/lib/lwm2m/lwm2m_rw_json.c
* :github:`12320` - [Coverity CID :190613]Integer handling issues in /subsys/net/lib/lwm2m/lwm2m_engine.c
* :github:`12319` - [Coverity CID :190614]Control flow issues in /subsys/shell/shell_utils.c
* :github:`12318` - [Coverity CID :190615]Null pointer dereferences in /subsys/net/lib/lwm2m/lwm2m_engine.c
* :github:`12317` - [Coverity CID :190616]Integer handling issues in /subsys/net/lib/lwm2m/lwm2m_engine.c
* :github:`12316` - [Coverity CID :190617]Control flow issues in /subsys/net/lib/lwm2m/lwm2m_rw_json.c
* :github:`12315` - [Coverity CID :190618]Code maintainability issues in /drivers/modem/wncm14a2a.c
* :github:`12314` - [Coverity CID :190619]Memory - illegal accesses in /subsys/bluetooth/host/mesh/settings.c
* :github:`12313` - [Coverity CID :190620]Null pointer dereferences in /drivers/wifi/eswifi/eswifi_core.c
* :github:`12312` - [Coverity CID :190621]Memory - corruptions in /subsys/net/lib/lwm2m/lwm2m_rw_oma_tlv.c
* :github:`12311` - [Coverity CID :190622]Memory - corruptions in /drivers/wifi/eswifi/eswifi_offload.c
* :github:`12310` - [Coverity CID :190623]Error handling issues in /drivers/wifi/eswifi/eswifi_core.c
* :github:`12309` - [Coverity CID :190624]Memory - corruptions in /tests/posix/fs/src/test_fs_file.c
* :github:`12308` - [Coverity CID :190625]Integer handling issues in /samples/bluetooth/peripheral/src/main.c
* :github:`12307` - [Coverity CID :190626]Null pointer dereferences in /subsys/net/lib/coap/coap_sock.c
* :github:`12306` - [Coverity CID :190627]Incorrect expression in /samples/net/zperf/src/zperf_tcp_receiver.c
* :github:`12305` - [Coverity CID :190628]Memory - corruptions in /drivers/wifi/eswifi/eswifi_core.c
* :github:`12304` - [Coverity CID :190629]Incorrect expression in /samples/net/zperf/src/zperf_udp_receiver.c
* :github:`12303` - [Coverity CID :190630]Null pointer dereferences in /drivers/modem/wncm14a2a.c
* :github:`12302` - [Coverity CID :190631]Control flow issues in /subsys/net/lib/lwm2m/lwm2m_rw_json.c
* :github:`12301` - [Coverity CID :190632]Memory - corruptions in /drivers/wifi/eswifi/eswifi_offload.c
* :github:`12300` - [Coverity CID :190633]Control flow issues in /subsys/net/lib/lwm2m/lwm2m_rw_plain_text.c
* :github:`12299` - [Coverity CID :190634]Control flow issues in /subsys/net/lib/lwm2m/lwm2m_obj_device.c
* :github:`12298` - [Coverity CID :190635]Integer handling issues in /subsys/net/lib/coap/coap_link_format_sock.c
* :github:`12297` - [Coverity CID :190636]Incorrect expression in /samples/subsys/usb/console/src/main.c
* :github:`12296` - [Coverity CID :190637]Null pointer dereferences in /subsys/net/lib/lwm2m/lwm2m_rw_plain_text.c
* :github:`12295` - [Coverity CID :190638]Control flow issues in /samples/portability/cmsis_rtos_v2/timer_synchronization/src/main.c
* :github:`12294` - [Coverity CID :190639]Null pointer dereferences in /subsys/net/ip/route.c
* :github:`12293` - [Coverity CID :190640]Null pointer dereferences in /drivers/wifi/eswifi/eswifi_core.c
* :github:`12292` - [Coverity CID :190641]Null pointer dereferences in /lib/cmsis_rtos_v2/kernel.c
* :github:`12291` - [Coverity CID :190642]Error handling issues in /drivers/console/telnet_console.c
* :github:`12290` - [Coverity CID :190644]Memory - illegal accesses in /drivers/modem/wncm14a2a.c
* :github:`12282` - "make htmldocs" reports a cmake warning
* :github:`12274` - Assert crash in logger's out_func
* :github:`12268` - doc: nightly published AWS docs are not as generated
* :github:`12265` - doc: Some API documentation is not being generated
* :github:`12257` - The latest GNU ARM Embedded Toolchain can't produce hex files on Windows
* :github:`12252` - potential non-termination of k_mem_pool_alloc
* :github:`12250` - DTS: Inconsistencies seen for SPI node with size-cells
* :github:`12249` - Can't flash CC3220 with OpenOCD
* :github:`12243` - Build error with I2C driver for nucleo_f103rb: DT_ST_STM32_I2C_V1_40005400_BASE_ADDRESS' undeclared here
* :github:`12241` - logging: log output busy loops if log output function can not process buffer
* :github:`12224` - POSIX api are incompatible with arm gcc 2018q2 toolchain
* :github:`12203` - openthread: bind IP is randomly selected causing off-mesh communication problems
* :github:`12201` - Enabling CONFIG_LOG is throwing exceptions on intel_s1000
* :github:`12192` - include: __assert: enabling assert causes build errors
* :github:`12190` - Mbedtls MBEDTLS_PLATFORM_STD_SNPRINTF issue
* :github:`12186` - net: arp: Zephyr does not use MAC address from unicast ARP reply with wrong target MAC
* :github:`12179` - net: arp: Zephyr does not use MAC address from unicast ARP reply
* :github:`12171` - ot: ping ten times will crash
* :github:`12170` - logging: previous changes to dropped message notification break wifi sample debug
* :github:`12164` - net: icmpv4: Zephyr drops ICMPv4 packet with correct checksum 0
* :github:`12162` - net: icmpv4: Zephyr replies to ICMPv4 echo request with broadcast destination IPv4 address
* :github:`12159` - bt_gatt_attr_read_chrc: no characteristic for value
* :github:`12154` - 802.15.4 6LowPAN stopped working with multiple samples
* :github:`12147` - tests/kernel/interrupt fails on quark_se_c1000_ss_devboard
* :github:`12146` - tests/kernel/arm_irq_vector_table fails on NRF5 boards
* :github:`12144` - There's lots of references to undefined Kconfig symbols
* :github:`12123` - samples: cmsis_rtos_v1/philosophers faults with a FATAL EXCEPTION on esp32
* :github:`12122` - system.settings.nffs fails on NRF5 boards
* :github:`12120` - Can't pair with nrf52832 running zephyr
* :github:`12118` - printf doesn't work on qemu_cortex_m3 with newlib and arm gcc 2018q2 toolchain
* :github:`12092` - Default Virtual COM port on nucleo_l4r5zi is lpuart1
* :github:`12091` - tests/subsys/settings/fcb/base64 fails on NRF5 boards
* :github:`12089` - Unexpected fault during test does not cause test failure
* :github:`12069` - iwdg_stm32.c: potential failure in wdt_set_config()
* :github:`12066` - Observing a Python path Issue with Git based Compile
* :github:`12065` - enormous .BSS size while building tests/subsys/fs/nffs_fs_api
* :github:`12059` - kernel.memory_protection.stack_random fails on quark_d2000_crb board
* :github:`12058` - Lots of tests don't honor CONFIG_TEST_EXTRA_STACK_SIZE
* :github:`12051` - LOG_PANIC never returns if RTT is disconnected
* :github:`12045` - frdm_k64f + shell breaks Ethernet driver
* :github:`12043` - logger: Invalid pointer deference in samples/subsys/logging/logger/
* :github:`12040` - Log messages are dropped even with huge log buffer
* :github:`12037` - nrf52840 ram retention example failed
* :github:`12033` - samples/application_development/code_relocation fails on mps2_an385
* :github:`12029` - CONFIG_STACK_CANARIES doesn't work on x86_64
* :github:`12016` - Crash while disconnecting device from USB
* :github:`12006` - valgrind detected issue in tests/net/ipv6/
* :github:`11999` - CONFIG_TEXT_SECTION_OFFSET doesn't seem to work on x86
* :github:`11998` - intermittent failures in tests/kernel/common: test_timeout_order: (poll_events[ii].state not equal to K_POLL_STATE_SEM_AVAILABLE)
* :github:`11989` - Reel Board mesh_badge sample | Light sensor bug
* :github:`11980` - cmake: Build fails in an environment without 'python' binary
* :github:`11967` - nrfx SPI driver blocks indefinitely when transferring
* :github:`11961` - Python warning in process_gperf.py
* :github:`11935` - Invalid usage of k_busy_wait()
* :github:`11916` - ISR table (_sw_isr_table) generation is fragile and can result in corrupted binaries
* :github:`11914` - NXP documentation: frdm-k64f links dead
* :github:`11904` - blinky example can't work on nucleo-f070rb and nucleo-f030r8 platform
* :github:`11894` - zephyr_env.sh failes to correctly set $ZEPHYR_BASE with zsh hooks bound to cd
* :github:`11889` - Race between SimpleLink WiFi driver FastConnect and networking app startup.
* :github:`11859` - sanitycheck failures on lpcxpresso54114_m4: Error: Aborting due to non-whitelisted Kconfig warning
* :github:`11857` - cmake does not detect most recent python, it is fixed somehow to 3.4.x
* :github:`11844` - rtc_ll_stm32.c:232: undefined reference to 'LL_RCC_LSE_SetDriveCapability' #stm32 #rtc
* :github:`11841` - Assert invoked in exception in ctrl.c line 7653 (zephyr 1.13.00)
* :github:`11827` - gPTP Sample Application fails on frdm_k64f board ,and PDelay Response Receipt Timeout
* :github:`11815` - nxp_kinetis: system reset leaves interrupts enabled during startup
* :github:`11806` - gpio_nrf mishandles level interrupts
* :github:`11798` - A thread may lock a mutex before it is fully unlocked.
* :github:`11794` - cmake: CMake 3.13 doesn't like INTERFACE with target_link_libraries
* :github:`11792` - drivers: nrf: UARTE interrupt driven cannot be compiled
* :github:`11780` - Bluetooth: Mesh: initialisation delay after disabling CONFIG_BT_DEBUG_LOG
* :github:`11779` - watchdog sample application not being built on Nordic devices
* :github:`11767` - tests: counter api: Failed when MPU enabled
* :github:`11763` - logger drops log messages without any indication
* :github:`11754` - NRFX TWI driver does not compile with newlib
* :github:`11752` - tests/lib/ringbuffer: build error on Xtensa ESP32
* :github:`11749` - logging: default log thread priority is too high
* :github:`11744` - Regression: nNRF52840 HW dies at 8 minutes 20 seconds in various samples using IPSP
* :github:`11741` - mqtt_publisher sample not working with BLE IPSP and has outdated net setup/prj configs
* :github:`11723` - tests/cmsis_rtos_v1 fails on nrf52840_pca10056
* :github:`11722` - tests/kernel/timer/timer_api fails on nrf52_pca10040 board
* :github:`11721` - tests/kernel/sched/schedule_api fails on nrf5* boards
* :github:`11719` - Legacy MQTT sample app breaking
* :github:`11698` - net: ipv4: Zephyr replies to ICMPv4 packets with incorrect checksums
* :github:`11694` - system clock problem on NRF52 boards
* :github:`11682` - Mesh Friend replies to initial Friend Poll with "old" security credentials
* :github:`11675` - Cannot set UART device name in menuconfig
* :github:`11674` - Wrong assert condition @@zephyr/kernel/sched.c:345
* :github:`11651` - Time consumption is not constant during the pend and unpend operation with 0(1) pending queue
* :github:`11633` - logging: CONFIG_LOG_INPLACE_PROCESS is not synchronous
* :github:`11626` - k_busy_wait exits early on Nordic chips
* :github:`11625` - Problem with printk and LOG_ERR used with shell enabled
* :github:`11618` - net: icmpv4: Zephyr drops valid echo request
* :github:`11617` - net: ipv4: udp: broadcast delivery not supported
* :github:`11612` - i2c_burst_write on nrf51 is not a burst write
* :github:`11586` - mimxrt1050_evb board: Can't get Ethernet to work
* :github:`11579` - net: arp: MAC address not updated if target address is not its own
* :github:`11565` - gpio_callback ambiguity in union pin vs pin_mask
* :github:`11564` - Bluetooth: settings: Invalid base64 value written to flash
* :github:`11562` - net: arp: Zephyr does use MAC address from broadcast ARP reply
* :github:`11561` - Ping through net shell seems to be broken
* :github:`11533` - Energy-efficient BLE controller on the nRF52
* :github:`11532` - drivers: serial: uart_msp432p4xx.c not compile for interrupt API
* :github:`11531` - Networking samples documentation updates
* :github:`11513` - drivers: SPI NOR: Inconsistency with flash interface docs
* :github:`11502` - Delayed works are not scheduled when system is busy
* :github:`11495` - Printk processed by logger overwrites each other
* :github:`11489` - net: arp: Zephyr replies to localhost address
* :github:`11488` - [Coverity CID :183483]Incorrect expression in /sanitylog/v2m_beetle/tests/ztest/test/base/testing.ztest.verbose_2/zephyr/priv_stacks_hash.gperf
* :github:`11487` - [Coverity CID :185396]Incorrect expression in /sanitylog/v2m_beetle/tests/posix/fs/portability.posix/zephyr/kobject_hash.gperf
* :github:`11486` - [Coverity CID :186197]Parse warnings in /sanitylog/lpcxpresso54114_m4/samples/subsys/ipc/openamp/test/openamp_remote-prefix/src/openamp_remote-build/CMakeFiles/CheckIncludeFiles/HAVE_FCNTL_H.c
* :github:`11485` - [Coverity CID :189738]Null pointer dereferences in /subsys/net/lib/dns/llmnr_responder.c
* :github:`11484` - [Coverity CID :189739]Parse warnings in /subsys/usb/class/netusb/function_eem.c
* :github:`11483` - [Coverity CID :189740]Control flow issues in /samples/boards/reel_board/mesh_badge/src/reel_board.c
* :github:`11482` - [Coverity CID :189741]Memory - illegal accesses in /samples/boards/reel_board/mesh_badge/src/reel_board.c
* :github:`11481` - [Coverity CID :189742]Program hangs in /drivers/usb/device/usb_dc_sam.c
* :github:`11480` - [Coverity CID :189743]Incorrect expression in /drivers/usb/device/usb_dc_sam.c
* :github:`11465` - UART_INTERRUPT_DRIVEN broken on SOC_SERIES_IMX7_M4 and SOC_SERIES_IMX_6X_M4
* :github:`11464` - where is PM_CONTROL_OS defined in Kconfig?
* :github:`11462` - tests: intel_s1000: flash test will fail or erase code when booting from flash
* :github:`11461` - tests: intel_s1000: build error due to offsets lib
* :github:`11447` - Build error for lwm2m_client w/ modem overlay
* :github:`11425` - MISRA C Do not use recursions
* :github:`11417` - logging doesn't log, again
* :github:`11409` - Device crash on BLE reconnection
* :github:`11394` - GPIO API: Do not blindly re-install an already installed callback
* :github:`11393` - printk (RTT backend) from isr can deadlock the system
* :github:`11390` - soc: intel_s1000: Fix the tests for dma and i2s drivers
* :github:`11384` - CI ignores result of multiple test suites in one test application
* :github:`11383` - tests/drivers/i2s/i2s_api failing on sam_e70_xplained
* :github:`11373` - Move STM32 RTC to new counter API
* :github:`11339` - zephyr stm32f4 startup freezes at startup in PRINT_BOOT_BANNER() #stm32 #uart #boot
* :github:`11329` - net: arp: Zephyr replies to multicast address cause of malfored ARP request
* :github:`11310` - Wifi scan crashes on disco_l475_iot1
* :github:`11301` - KW41Z crash on echo apps (ieee802154)
* :github:`11281` - uart shell: ring buffer usage bug
* :github:`11276` - nrf51_pca10028:tests/kernel/interrupt/arch.interrupt registers IRQ 24 twice
* :github:`11275` - frdm_k64f/samples/net/gptp/test: irq line 85 registered twice
* :github:`11268` - soc: intel_s1000: linker section size updates
* :github:`11266` - intel_s1000: usb_hid: load/store alignment exception
* :github:`11260` - Detection of an MSYS environment sometimes fails
* :github:`11255` - Pinging sam_e70 leads to unresponsive ethernet device at some point
* :github:`11250` - 'net help' or 'kernel help' shell commands lead to a fatal fault
* :github:`11244` - Turning on SystemView causes error
* :github:`11232` - nrf52: reel_board: USB unable to send fragmented packets through Control endpoint
* :github:`11226` - Logging: duplicate log messages for some samples when building for qemu_x86
* :github:`11202` - recent "shell: shell_uart" commit breaks shell samples on cc3220sf
* :github:`11187` - cmake/toolchain/clang: selecting clang doesn't select the correct compiler file
* :github:`11182` - qemu_xtensa tests fail spuriously under sanitycheck/CI
* :github:`11179` - Minor Typo "dirver" in UART of Native Posix
* :github:`11171` - usb: nrf: usb_nrfx is in endless loop when USB cable in not connected
* :github:`11170` - kernel.profiling.call_stacks_analyze_idle: assertion fails on em_starterkit_em7d_v22
* :github:`11167` - Building failing in arm cortex-m0
* :github:`11166` - quark_se_c1000_devboard has no docs
* :github:`11147` - subsys: logging: rtt: undeclared macro
* :github:`11146` - ext: debug: segger: rtt: SEGGER_RTT_Init() missing return statement
* :github:`11136` - drivers/spi: WARNING: Unsigned expression compared with zero
* :github:`11135` - subsys/net/lib/: WARNING: Unsigned expression compared with zero
* :github:`11134` - drivers/flash/soc_flash_nios2_qspi.c: WARNING: Unsigned expression compared with zero
* :github:`11133` - lib/posix/mqueue.c: WARNING: Unsigned expression compared with zero
* :github:`11129` - CONFIG_TICKLESS_KERNEL makes z_clock_set_timeout doesn't work
* :github:`11103` - The wrong Python version can be detected on Windows
* :github:`11102` - [Coverity CID :189504]Error handling issues in /samples/net/sockets/echo/src/socket_echo.c
* :github:`11101` - [Coverity CID :189505]Error handling issues in /drivers/sensor/lis2mdl/lis2mdl_trigger.c
* :github:`11100` - [Coverity CID :189506]Control flow issues in /subsys/net/ip/net_shell.c
* :github:`11099` - [Coverity CID :189507]Parse warnings in /samples/drivers/flash_shell/src/main.c
* :github:`11098` - [Coverity CID :189508]Control flow issues in /drivers/usb/device/usb_dc_nrfx.c
* :github:`11097` - [Coverity CID :189509]Integer handling issues in /drivers/sensor/ms5837/ms5837.c
* :github:`11096` - [Coverity CID :189510]Memory - corruptions in /subsys/bluetooth/host/monitor.c
* :github:`11095` - [Coverity CID :189511]Code maintainability issues in /subsys/settings/src/settings_fcb.c
* :github:`11094` - [Coverity CID :189512]Null pointer dereferences in /subsys/logging/log_msg.c
* :github:`11093` - [Coverity CID :189513]Control flow issues in /subsys/bluetooth/shell/gatt.c
* :github:`11092` - [Coverity CID :189514]Possible Control flow issues in /drivers/display/ssd1673.c
* :github:`11091` - [Coverity CID :189515]Incorrect expression in /drivers/usb/device/usb_dc_stm32.c
* :github:`11090` - [Coverity CID :189516]Null pointer dereferences in /drivers/wifi/simplelink/simplelink_sockets.c
* :github:`11089` - [Coverity CID :189517]Control flow issues in /drivers/sensor/fxos8700/fxos8700.c
* :github:`11088` - [Coverity CID :189518]Memory - illegal accesses in /samples/boards/reel_board/mesh_badge/src/reel_board.c
* :github:`11087` - [Coverity CID :189519]Error handling issues in /samples/net/sockets/echo/src/socket_echo.c
* :github:`11086` - [Coverity CID :189520]Error handling issues in /samples/net/sockets/echo/src/socket_echo.c
* :github:`11077` - Compiler warning at include/misc/util.h when building for ESP32
* :github:`11047` - doc: missing Doxygen generated documentation for any function which name starts with an underscore
* :github:`11046` - Enabling SYS_POWER_MANAGEMENT results in a linker error.
* :github:`11034` - Enabling config XTENSA_ASM2 is causing system crash on intel_s1000
* :github:`11022` - mempool allocator is broken
* :github:`11019` - About printk configuration
* :github:`11016` - nRF52840-PCA10056/59: Cannot bring up HCI0 when using HCI_USB sample
* :github:`11008` - net-related logging: Don't see the expected output + crash in logging
* :github:`11007` - logging: "log_strdup pool empty!" is confusing
* :github:`10994` - upsquared sample gpio_counter sample.yaml is malformatted/sanitycheck doens't build samples/boards/up_squared/gpio_counter
* :github:`10993` - upsquared sample gpio_counter doesnt build
* :github:`10990` - ext: lib: crypto: mbedTLS: warning in platform.h glue
* :github:`10971` - net: ipv6: Zephyr replies to ICMPv6 packets with incorrect checksums
* :github:`10970` - net: ipv6: Zephyr replies to malformed ICMPv6 message
* :github:`10967` - FRDM-K64F and MCR-20A configuration does not work
* :github:`10961` - net: ipv6: Zephyr replies to a packet with organization local multicast destination address
* :github:`10960` - net: ipv6: Zephyr replies to a packet with site-local multicast destination address
* :github:`10959` - net: ipv6: Zephyr replies to a packet with interface-local multicast destination
* :github:`10958` - net: ipv6: Zephyr replies to a packet with destination multicast with scope zero
* :github:`10955` - I can't see the output using the minicom when flash on STM32F429IGT6
* :github:`10952` - Bluetooth Mesh: Disabling "CONFIG_BT_MESH_DEBUG_ACCESS" leads to wrong OpCode attached to sent messages
* :github:`10917` - Convert iwdg_stm32 STM32 Watchdog driver to new API
* :github:`10916` - Convert CMSDK APB Watchdog driver to new API
* :github:`10914` - Convert Atmel SAM0 Watchdog driver to new API
* :github:`10913` - Convert Atmel SAM Watchdog driver to new API
* :github:`10909` - Missing stm32l433.dtsi file
* :github:`10899` - nRF52840 DevKit generates USB TX timeout when using HCI_USB
* :github:`10894` - Add dts support to SPI slave drivers & tests
* :github:`10882` - Web instructions: quotes are wrong in build chain for Windows
* :github:`10878` - errno for error codes for key management break on newlib
* :github:`10845` - ext: hal: nxp: Use ARRAY_SIZE helper macro
* :github:`10825` - The DesignWare SPI driver should be hidden on unsupported platforms
* :github:`10817` - Getting Started Guide script error
* :github:`10811` - crash while connecting a USB cable
* :github:`10803` - Compiler warning at /kernel/sched.c
* :github:`10801` - Compiler warning in soc/xtensa/esp32/include/_soc_inthandlers.h
* :github:`10788` - riscv_machine_timer driver don't follow the spec ?
* :github:`10775` - Build error in zephyr.git/include/toolchain/gcc.h leading to shippable failures
* :github:`10772` - tests/drivers/adc/adc_api results into build failure on nRF platforms
* :github:`10760` - Flash Shell compilation error without BT
* :github:`10758` - [Coverity CID :188881]Control flow issues in /samples/net/zperf/src/zperf_shell.c
* :github:`10757` - [Coverity CID :188882]Incorrect expression in /tests/kernel/interrupt/src/nested_irq.c
* :github:`10756` - [Coverity CID :188883]Memory - illegal accesses in /subsys/bluetooth/host/hci_core.c
* :github:`10755` - [Coverity CID :188885]Error handling issues in /lib/ring_buffer/ring_buffer.c
* :github:`10754` - [Coverity CID :188886]Error handling issues in /tests/posix/common/src/mqueue.c
* :github:`10753` - [Coverity CID :188887]Error handling issues in /tests/posix/common/src/pthread.c
* :github:`10752` - [Coverity CID :188888]Incorrect expression in /tests/kernel/interrupt/src/nested_irq.c
* :github:`10751` - [Coverity CID :188889]Memory - illegal accesses in /subsys/bluetooth/host/gatt.c
* :github:`10750` - [Coverity CID :188890]Insecure data handling in /drivers/watchdog/wdt_qmsi.c
* :github:`10747` - tests/kernel/tickless/tickless_concept fails on ARC boards
* :github:`10733` - Logger thread should be started earlier than _init_static_threads() in init.c
* :github:`10720` - SSD1673 driver it setting a Kconfig symbol in dts_fixup.h
* :github:`10707` - tests/benchmarks/latency_measure fails on sam_e70_xplained
* :github:`10693` - samples/subsys/usb/console: Console routed to UART of no USB
* :github:`10685` - Missing # for else in segger conf
* :github:`10678` - nRF52840: hci_usb timeout during initialization by bluez
* :github:`10672` - nRF52: UARTE: uart_fifo_fill return value unreliable
* :github:`10671` - Callback function le_param_req() is never called.
* :github:`10668` - nRF52832: RTT vs. Bluetooth
* :github:`10662` - "Quick start - Integration testing" does not work as intended.
* :github:`10658` - Cannot use SPI_0 on nRF52810
* :github:`10649` - bug when build project which new c lib
* :github:`10639` - make run for native_posix has dependency issues
* :github:`10636` - quark_se is missing SPI_DRV_NAME symbol
* :github:`10635` - tests/kernel/mem_pool/mem_pool_api#test_mpool_alloc_timeout crashes on qemu_riscv32
* :github:`10633` - tests/kernel/mem_protect/syscall crashes on freedom_k64f, sam_e70_xplained and nrf52_pca10040
* :github:`10632` - tests/kernel/poll faults on freedom_k64f, sam_e70_xplained and nrf52_pca10040
* :github:`10623` - tests/drivers/watchdog/wdt_basic_api fails on Quark platforms
* :github:`10619` - [Zephyr] Firmware upgrade through UART [Nordic 52840 - pca 10056 Board]
* :github:`10617` - net: shell: Converting net and wifi shells to new shell breaks samples/net/wifi app for SimpleLink WiFi driver
* :github:`10611` - STM32L4 GPIOC Missing Interrupt support? (nucleo_l476rg)
* :github:`10610` - i2s driver for stm still uses old logger
* :github:`10609` - RISC-V timer incorrectly written
* :github:`10600` - [Coverity CID :174409]Memory - illegal accesses in /ext/hal/ti/simplelink/source/ti/drivers/net/wifi/source/fs.c
* :github:`10599` - [Coverity CID :174410]Memory - corruptions in /ext/hal/ti/simplelink/source/ti/drivers/net/wifi/source/wlan.c
* :github:`10598` - [Coverity CID :174412]Incorrect expression in /ext/hal/ti/simplelink/source/ti/drivers/net/wifi/source/wlan.c
* :github:`10597` - [Coverity CID :174414]Error handling issues in /ext/hal/ti/simplelink/source/ti/drivers/net/wifi/source/driver.c
* :github:`10596` - [Coverity CID :174417]Code maintainability issues in /ext/hal/ti/simplelink/source/ti/drivers/net/wifi/source/device.c
* :github:`10595` - [Coverity CID :174418]Error handling issues in /ext/hal/ti/simplelink/source/ti/drivers/net/wifi/source/fs.c
* :github:`10594` - [Coverity CID :188729]Uninitialized variables in /subsys/bluetooth/shell/bt.c
* :github:`10593` - [Coverity CID :188730]Memory - corruptions in /drivers/sensor/lis2dh/lis2dh_trigger.c
* :github:`10592` - [Coverity CID :188731]Memory - illegal accesses in /ext/hal/ti/simplelink/source/ti/drivers/net/wifi/source/driver.c
* :github:`10591` - [Coverity CID :188732]Integer handling issues in /subsys/net/lib/http/http_server.c
* :github:`10590` - [Coverity CID :188733]Error handling issues in /drivers/sensor/lis2dh/lis2dh_trigger.c
* :github:`10589` - [Coverity CID :188734]Control flow issues in /drivers/sensor/lis2dh/lis2dh.c
* :github:`10588` - [Coverity CID :188735]Uninitialized variables in /subsys/bluetooth/shell/bt.c
* :github:`10587` - [Coverity CID :188738]Memory - illegal accesses in /subsys/bluetooth/host/conn.c
* :github:`10586` - [Coverity CID :188739]Program hangs in /tests/posix/common/src/posix_rwlock.c
* :github:`10585` - [Coverity CID :188740]Error handling issues in /drivers/sensor/isl29035/isl29035_trigger.c
* :github:`10584` - [Coverity CID :188741]Control flow issues in /subsys/shell/shell_utils.c
* :github:`10583` - [Coverity CID :188742]Incorrect expression in /subsys/net/ip/connection.c
* :github:`10582` - [Coverity CID :188743]Program hangs in /tests/posix/common/src/posix_rwlock.c
* :github:`10581` - [Coverity CID :188744]Memory - corruptions in /drivers/sensor/lis2dh/lis2dh_trigger.c
* :github:`10580` - [Coverity CID :188745]Error handling issues in /drivers/wifi/winc1500/wifi_winc1500.c
* :github:`10579` - [Coverity CID :188747]Security best practices violations in /subsys/shell/shell.c
* :github:`10578` - [Coverity CID :188748]Memory - corruptions in /subsys/bluetooth/host/gatt.c
* :github:`10577` - [Coverity CID :188749]Null pointer dereferences in /subsys/bluetooth/controller/ll_sw/ctrl.c
* :github:`10576` - [Coverity CID :188750]Memory - illegal accesses in /subsys/bluetooth/shell/bt.c
* :github:`10575` - [Coverity CID :188752]Security best practices violations in /subsys/shell/shell.c
* :github:`10574` - [Coverity CID :188753]Incorrect expression in /subsys/net/ip/connection.c
* :github:`10573` - [Coverity CID :188754]Control flow issues in /samples/basic/userspace/shared_mem/src/enc.c
* :github:`10572` - [Coverity CID :188755]Control flow issues in /subsys/shell/shell_utils.c
* :github:`10571` - [Coverity CID :188756]Memory - corruptions in /drivers/sensor/lis2dh/lis2dh_trigger.c
* :github:`10570` - [Coverity CID :188757]Memory - illegal accesses in /subsys/bluetooth/shell/bt.c
* :github:`10569` - [Coverity CID :188758]Incorrect expression in /drivers/wifi/winc1500/wifi_winc1500.c
* :github:`10568` - [Coverity CID :188759]Integer handling issues in /subsys/net/l2/ethernet/gptp/gptp_mi.c
* :github:`10567` - [Coverity CID :188760]Error handling issues in /drivers/wifi/winc1500/wifi_winc1500.c
* :github:`10537` - nRF52 regression: random resets noted across several boards / use cases
* :github:`10535` - Failure on tests/posix/common/ due to uninitialized memory access
* :github:`10531` - Default idle thread stack sizes too small when OS controlled power management is used
* :github:`10524` - PM_CONTROL_OS doesn't work in combination with certain I2C drivers in a single thread context
* :github:`10518` - drivers/modem/modem_receiver.c needs LOG_MODULE_REGISTER(mdm_receiver)
* :github:`10517` - Compatibility problem with increased BLE Tx buffers
* :github:`10515` - tests/benchmarks/timing_info faults on ARM platforms
* :github:`10509` - tests/kernel/interrupt is failing on NRFx boards
* :github:`10508` - tests/posix/common fails randomly on all platforms
* :github:`10493` - native_posix: Warnings during link on orphan sections after #10368
* :github:`10476` - kernel/threads/thread_apis tests crashes on ARM boards
* :github:`10475` - tests/kernel/threads/dynamic_thread test cases are failing on ARM boards
* :github:`10474` - tests/kernel/pipe/pipe test cases are failing on ARM boards
* :github:`10473` - tests/kernel/mem_protect/mem_protect tests are failing on ARM boards
* :github:`10460` - Bluetooth: settings: No space to store CCC config after successful pairing
* :github:`10453` - dma_stm32 driver has been broken by commit 07ff2d5
* :github:`10444` - tests/subsys/logging/log_core fails on few ARM platforms
* :github:`10439` - Logger calls will execute functions even though the LOG_LEVEL is masked
* :github:`10428` - logging: Weird output from log_strdup()
* :github:`10420` - gcc: "Exec format error" - WSL in Windows 10 1803
* :github:`10415` - logging: Unaligned memory access in log_free
* :github:`10413` - Shell: trying to browse history freezes shell on disco_l475_iot1
* :github:`10402` - Crash with new logger and with new shell
* :github:`10389` - Conversion of net core to new logger breaks WiFi driver builds
* :github:`10382` - samples/sensor/apds9960/ results into build failure on multiple platforms.
* :github:`10369` - Logger crashes shell when boot banner is enabled
* :github:`10348` - valgrind detected issue in logger, during msg free
* :github:`10345` - The OpenAMP remote build is for wrong board
* :github:`10344` - SPI Chip Select usage is not unambiguous
* :github:`10329` - SystemView overflow event
* :github:`10320` - arm: mpu: mpu_config and mpu_regions to be declared/defined as const
* :github:`10318` - It is not documented what YAML bindings do
* :github:`10316` - net: sockets: Close doesn't unblock recv
* :github:`10313` - net: sockets: Packets are leaked on TCP abort connection
* :github:`10312` - Bluetooth: settings: CCC not stored on device reset
* :github:`10271` - Unexpected Kconfig warnings during documentation build
* :github:`10243` - native_posix linking issues under Ubuntu 18.04 after upgrade
* :github:`10241` - scripts/requirements.txt needs updating for west
* :github:`10234` - There is one too many "Shields" entry in the root Kconfig menu
* :github:`10231` - zephyr supported targets fail to flash with "ImportError: No module named 'colorama'"
* :github:`10207` - Shell should accept either CR or LF as line delimiter
* :github:`10204` - net: ipv6: corrupted UDP header after forwarding over 6lo iface
* :github:`10195` - Shell dereferences invalid pointer when printing demo command help
* :github:`10192` - SHELL asserts when pressing tab
* :github:`10191` - The new shell uses CONSOLE kconfig options, even though it does not use CONSOLE.
* :github:`10190` - The new shell can only be compiled on boards with SERIAL but it does not set the dependency in its Kconfig
* :github:`10186` - GPIO callback disable has no effect due to _gpio_fire_callbacks
* :github:`10164` - logger sample fails on qemu_xtensa due to lack of backend
* :github:`10152` - gitlint complains of apostrophe in user name
* :github:`10146` - [bluetooth][PTS] Getting Connection failed to be established occasionally
* :github:`10143` - Why does BT_SETTINGS require PRINTK?
* :github:`10137` - sample/basic/button should configure expected pin configuration
* :github:`10134` - sensor: vl53l0x: Warning message when building in ext/hal/st/lib/sensor/vl53l0x
* :github:`10130` - sanitycheck errors with "not well-formed text" warning
* :github:`10127` - Cannot use new shell with native_posix
* :github:`10102` - /tests/subsys/logging/log_core compilation fails on nios2 platform
* :github:`10096` - [Coverity CID :188167] Concurrent data access violations in /lib/posix/pthread.c
* :github:`10095` - [Coverity CID :188168] Concurrent data access violations in /lib/posix/pthread.c
* :github:`10094` - [Coverity CID :188169] Null pointer dereferences in /subsys/net/ip/rpl.c
* :github:`10093` - [Coverity CID :188170] Concurrent data access violations in /lib/posix/pthread.c
* :github:`10092` - [Coverity CID :188171] Null pointer dereferences in /lib/cmsis_rtos_v1/cmsis_thread.c
* :github:`10091` - [Coverity CID :188172] Null pointer dereferences in /subsys/net/ip/route.c
* :github:`10090` - [Coverity CID :188173] Null pointer dereferences in /subsys/net/ip/route.c
* :github:`10089` - [Coverity CID :188174] Control flow issues in /tests/crypto/mbedtls/src/mbedtls.c
* :github:`10058` - The test mem_pool_threadsafe sporadically hangs forever
* :github:`10055` - nRF52: MPU Fault issue
* :github:`10054` - Logger thread spins forever if there is no backend
* :github:`10043` - RISCv32 qemu configuration does not work with upstream qemu
* :github:`10038` - Inversed logic in fade_led sample for nRF boards
* :github:`10037` - fade_led sample doesn't work with pwm_nrfx driver
* :github:`10035` - nrfx PWM driver breaking API contract
* :github:`10034` - Possible regression of #8815 ("Nordic: Directly accessing GPIOTE might create unstable firmware"...)
* :github:`10028` - MCUBoot using W25Q SPI Flash not working (use of Zephyr semaphore)
* :github:`10026` - undefined reference to '__log_current_const_data_get' when using LOG_MODULE_DECLARE
* :github:`10013` - MISRA C - Review the use of memcpy, memcmp and memmove
* :github:`10012` - MISRA-C Do not use feature from stdarg.h
* :github:`10003` - Bluetooth: Identity creation is incomplete through vendor HCI
* :github:`9993` - Few error codes in POSIX API implementation is not supported
* :github:`9992` - cmake compiler cache failures in CI
* :github:`9975` - tests/lib/mem_alloc fails to build on Arduino Due after SoC move
* :github:`9972` - Porting to a new architecture needs to be documented
* :github:`9971` - doc: DT: use-prop-name is not documented
* :github:`9970` - Native posix port drivers need to be documented
* :github:`9960` - Stack check test fails - qemu_x86:tests/kernel/fatal/kernel.common.stack_protection
* :github:`9956` - Build failed when CONFIG_STM32_ARM_MPU_ENABLE=y
* :github:`9954` - samples/hello_world build failed on Windows/MSYS
* :github:`9953` - wrong behavior in pthread_barrier_wait()
* :github:`9949` - Make West launcher scripts in mainline zephyr compatible with multi- and mono-repo
* :github:`9936` - docs: Ring Buffers docs are hidden away under unexpected title
* :github:`9935` - sockets: Connect always binds the context to the default interface
* :github:`9932` - Invalid documentation link in README.rst
* :github:`9926` - samples/net/sockets/echo_client/server: No docs for testing TLS mode
* :github:`9924` - Segger Systemview + newlib does not compile
* :github:`9922` - Networking: Neighbour Discovery may be breaking an ongoing UDP Transmission
* :github:`9912` - Group posix tests
* :github:`9901` - Default nrfx PWM interrupt prio results in assert
* :github:`9892` - MISRA C Avoid dynamic memory allocation
* :github:`9879` - Portability: Arithmetic on void pointers
* :github:`9867` - Bluetooth LESC debug keys support (BT_USE_DEBUG_KEYS) is broken
* :github:`9861` - samples/subsys/usb/hid/ test hangs on quark_se_c1000_devboard
* :github:`9849` - samples/drivers/i2c fails with error writing to FRAM sensor
* :github:`9843` - tests/kernel/sched/deadline fails on NRF5x boards
* :github:`9830` - ASSERTION FAILURE : /tests/drivers/adc/adc_api fails on arduino_101 and quark_se_c1000 platforms
* :github:`9816` - DHT driver fetch fail
* :github:`9812` - drivers: eth: gmac: Fix incorrect cache coherency handling code
* :github:`9777` - tests/kernel/mem_pool/mem_pool_api:mpool_alloc_timeout crashes on qemu_riscv32 with boot delay
* :github:`9767` - [Coverity CID :187903] Uninitialized variables in /subsys/fs/nvs/nvs.c
* :github:`9765` - [Coverity CID :187905] Incorrect expression in /arch/arc/core/thread.c
* :github:`9763` - samples/net/http_client: Failed to send Head requrest
* :github:`9749` - NRF52 : NFFS file system : use of write function returns 0 but fails
* :github:`9743` - tests/posix/fs crashes with BUS FAULT on nRF52
* :github:`9741` - tests/kernel/spinlock:kernel.multiprocessing.spinlock_bounce crashing on ESP32
* :github:`9720` - samples\bluetooth\mesh_demo crash with real payload
* :github:`9708` - tests/kernel/tickless/tickless_concept fails on nRF5x with 1000msec boot delay
* :github:`9704` - tests/lib/mem_alloc/testcase.yaml#libraries.libc.newlib @ minnowboard:x86 results into exception
* :github:`9703` - tests/kernel/threads/no-multithreading: kernel.threads.no-multithreading failing on nrf52_pca10040 and qemu_x86 with boot delay
* :github:`9695` - Deprecated configurations around 'SPI_CS_GPIO'
* :github:`9689` - Multiple tests are failing on sam_e70_xplained once the cache is enabled
* :github:`9666` - tests/benchmarks/timing_info/testcase.yaml#benchmark.timing.default_kernel crashes on Arduino 101 / ARC
* :github:`9656` - tests/kernel/fp_sharing failing on sam_e70_xplained
* :github:`9653` - tests/lib/mem_alloc/testcase.yaml#libraries.libc.newlib @ esp32:xtensa BUILD failed
* :github:`9651` - Shell_module@mimxrt1050_evk runs failure on R1.13_RC1
* :github:`9650` - latency_measure@mimxrt1050_evk meets hard fault for R1.13 RC1
* :github:`9590` - Template with C linkage in util.h:41
* :github:`9587` - System stack usage analysis code seems to be broken
* :github:`9582` - Cannot find g++ when CONFIG_CPLUSPLUS is set to y
* :github:`9560` - Failed test: mem_protect/usespace failed in nsim_sem and em_starterkit_em7d_v22
* :github:`9510` - zephyr/doc/security/security-overview.rst needs update
* :github:`9509` - Unable to upload firmware over serial with mcumgr
* :github:`9498` - Invalid argument saved on IRQ_CONNECT
* :github:`9463` - bt_le_scan_start Fails with Error -5 after 128 scan start/stop cycles
* :github:`9432` - Overriding 'LOG_LEVEL' could crash the firmware
* :github:`9411` - checkpatch.pl generates warning messages during execution for tests/kernel/static_idt/src/main.c
* :github:`9340` - Failed test: kernel.common.errno.thread_context on em_starterkit_em7d_v22 and minnowboard
* :github:`9290` - [Coverity CID :187325] Control flow issues in /samples/boards/nrf52/mesh/onoff_level_lighting_vnd_app/src/mesh/device_composition.c
* :github:`9289` - [Coverity CID :187326] Control flow issues in /samples/boards/nrf52/mesh/onoff_level_lighting_vnd_app/src/mesh/device_composition.c
* :github:`9174` - STM32L4 I2C read polling hang on NACK in stm32_i2c_msg_read()
* :github:`9076` - doc: correct SMP server sample imgtool.py sign usage
* :github:`9043` - New logging subsystem's timestamps wrap a little before the 3-minute mark
* :github:`9015` - eth_sam_gmac driver (and BOARD=sam_e70_xplained using it) sets unduly high memory requirements on the IP stack overall
* :github:`9003` - [Coverity CID :187062] Incorrect expression in /samples/net/sockets/echo_server/src/udp.c
* :github:`8999` - [Coverity CID :187067] Memory - corruptions in /subsys/logging/log_output.c
* :github:`8988` - [Coverity CID :187079] Integer handling issues in /subsys/net/l2/ethernet/gptp/gptp.c
* :github:`8979` - Failed test: tests/subsys/dfu/mcuboot/dfu.bank_erase failing on nrf52840_pca10056
* :github:`8915` - STM32 I2C hang
* :github:`8914` - Failed test: net.app.no-ipv6 (/tests/net/app/) on sam_e70_xplained
* :github:`8869` - uart: Problems with interrupt-driven UART in QEMU and some hw boards
* :github:`8838` - hello_world not working on frdm_k64f/qemu_cortex_m3 with newlib and arm gcc embedded 2018q2
* :github:`8810` - Cannot flash board stm32f4_disco
* :github:`8804` - esp32 cannot get character from UART port
* :github:`8796` - Bluetooth: controller: assert on conn update in slave role under max. throughput usecases
* :github:`8789` - tests/ztest/test/mock fails to complete on max10/nios2
* :github:`8746` - net_app DTLS Client net/pkt ERR log when doing handshake
* :github:`8684` - driver: i2c_mcux: unable to perform more than one write transfer like i2c_burst_write
* :github:`8683` - issue with nrf52840_pca10040 and peripheral sample
* :github:`8631` - memory leak in mbedtls using net_app DTLS client
* :github:`8614` - cmake: Zephyr wrapped functions does not allow keywords on zephyr_link_libraries
* :github:`8470` - Broken Arduino 101 Bluetooth Core flashing
* :github:`8409` - Pin interrupt not handled when two pin ints fires in quick succession
* :github:`8376` - DTS: 'boolean' type value was defined as True, not 1
* :github:`8374` - arm: core: cortex_m: wrongly assumes double precision FPU on Cortex-M7
* :github:`8348` - sanitycheck: localized make error message leads to false "passed" result
* :github:`8339` - crypto: drivers use cipher_aead_pkt.tag differently
* :github:`8208` - tests/crypto/ecc_dsa hangs in montecarlo_signverify test on nrf51_pca10028:arm
* :github:`8197` - kernel.memory_protection.stack_random: Stack pointer randomization fails on em_starterkit_em7d_v22
* :github:`8190` - scheduler: thread priorities need to be cleaned up
* :github:`8187` - QEMU serial output is not reliable, may affect SLIP and thus network testing
* :github:`8160` - BUILD_ASSERT doesn't work outside gcc
* :github:`8159` - tests/kernel/fifo/fifo_timeout fails on nrf51_pca10028 and nrf52_pca10040
* :github:`8131` - net_if_tx sends a 0 Reference counter(pkt->ref == 0) packet
* :github:`8116` - tests/kernel/profiling/profiling_api fails to complete on minnowboard
* :github:`8115` - tests/kernel/xip crasshes on minnowboard
* :github:`8108` - make 'rom_report' misreports _sw_isr_table
* :github:`8104` - open-amp: enable C library cause open-amp\open-amp\lib\common\sh_mem.c compile error
* :github:`8097` - tests/drivers/watchdog/wdt_basic_api fails on Quark SE / x86 and esp32
* :github:`8057` - samples/net/: Experiencing the delayed response from zephyr networking stack
* :github:`7999` - HCI UART with Linux host cannot connect to nrf52 6lowpan peripheral
* :github:`7986` - The scripts (debug, debugserver and flash) are not working for Intel S1000 board
* :github:`7818` - big_http_download stuck during download on qemu_x86
* :github:`7817` - Confusing macros: SECONDS vs K_SECONDS, MSEC vs K_MSEC
* :github:`7760` - cmake failure using ExternalProject and dependencies w/ninja
* :github:`7706` - ARM NXP hardware stack overflows do not report _NANO_ERR_STACK_CHK_FAIL or provide MPU fault information
* :github:`7638` - get FAULT when fuzzing sys_ring_buf\_ put and sys_ring_bug_get APIs
* :github:`7510` - [Coverity CID :185395] Memory - corruptions in /samples/net/mbedtls_sslclient/src/mini_client.c
* :github:`7441` - newlib support in zephyr is untested and very broken
* :github:`7409` - Networking examples crash on optimization levels different than -Os
* :github:`7390` - pinmux subsystem API is undocumented and does not enforce validation
* :github:`7381` - gpio_mcux driver needs to validate pin parameters
* :github:`7291` - intermittent issue with tests/kernel/fatal
* :github:`7196` - kernel: CONFIG_INIT_STACKS : minor documentation & dependency update
* :github:`7193` - tickless and timeslicing don't play well together
* :github:`7179` - _vprintk incorrectly prints 64-bit values
* :github:`7048` - Tickless Kernel Timekeeping Problem
* :github:`7013` - cleanup device tree warnings on STM32
* :github:`6874` - Not able to join OpenThread BorderRouter or a ot-ftd-cli network
* :github:`6866` - build: requirements: No module named yaml and elftools
* :github:`6696` - [Coverity CID: 183036] Control flow issues in /drivers/gpio/gpio_sam.c
* :github:`6695` - [Coverity CID: 183037] Memory - corruptions in /samples/net/mbedtls_dtlsclient/src/dtls_client.c
* :github:`6666` - [Coverity CID: 183066] Error handling issues in /tests/kernel/mbox/mbox_api/src/test_mbox_api.c
* :github:`6585` - kernel: re-delete event list node [bug]
* :github:`6452` - Jumbled Console log over USB
* :github:`6365` - "dummy-flash" device tree bug
* :github:`6319` - Missing documentation for zephyr API to query kernel version: sys_kernel_version_get
* :github:`6276` - assert when running sys_kernel on disco_l475_iot1 (with asserts enabled)
* :github:`6226` - IRC-bot sample eventually stops responding to IRC commands
* :github:`6180` - CONFIG_IS_BOOTLOADER is poorly named and documented
* :github:`6147` - "ninja flash" cannot be used with DFU-capable applications
* :github:`5781` - Initial TLS connection failure causes TLS client handler to stop and fail endlessly w/ EBUSY
* :github:`5735` - mpu_stack_guard_test fails on many arm platforms, including qemu
* :github:`5734` - samples/drivers/crypto fails on qemu_nios2
* :github:`5702` - usb subsystem doc not pulling from header doxygen comments
* :github:`5678` - USB: DW driver does not work properly with mass storage class
* :github:`5634` - The dependency between the Kconfig source files and the Kconfig output is missing
* :github:`5605` - Compiler flags added late in the build are not exported to external build systems
* :github:`5603` - Bluetooth logging is hardcoded with level 4 (debug)
* :github:`5485` - tests: kernel/xip: CONFIG_BOOT_DELAY issue for qemu_riscv32
* :github:`5426` - [kconfig] Allow user-input when new options are detected
* :github:`5411` - Secondary repos are missing licenses
* :github:`5387` - Many of the samples using mbedtls_ssl_conf_psk() dont check for error
* :github:`5376` - No way to get clock control subsystem type
* :github:`5343` - cmake: libapp.a in unexpected location
* :github:`5289` - IPv6 over BLE: IPSP sample crashes and ble controller gets disconnected
* :github:`5244` - UART continuous interrupt
* :github:`5226` - Compiling with -O0 causes the kobject text area to exceed the limit (linker error)
* :github:`5006` - syscalls: properly fix how unit testing deals with __syscall
* :github:`4977` - USB: documentation needs to be updated
* :github:`4927` - Hard Fault when no device driver is setup for ENTROPY results
* :github:`4888` - LwM2M: Fix BT device pending / retry errors
* :github:`4836` - connection disconnected due to Le timeout(0x22)
* :github:`4682` - http_server example fails for ESP32
* :github:`4324` - samples/net/http_client: error in detecting and processing the message received
* :github:`4082` - remove _current NULL check in ARM's _is_thread_user()
* :github:`4042` - net: NET_CONN_CACHE relevant
* :github:`4002` - Can not compile C++ project without setting -fpermissive
* :github:`3999` - qemu_xtensa crash while running sample/net/sockets/echo with ipv6 enabled
* :github:`3997` - *** ERROR *** pkt 0x2000c524 is freed already by prepare_segment():388 (mqtt_tx_publish():242)
* :github:`3906` - Static code scan (coverity CID: 151975, 173645, 173658 ) issues seen
* :github:`3847` - Fix LwM2M object firmware pull block transfer mode to select size via interface type (BT, ethernet, etc)
* :github:`3796` - Multiple issues with http_server library design and implementation
* :github:`3670` - ARC: timeslice not reset on interrupt-induced swap
* :github:`3669` - xtensa: timeslice not reset for interrupt-induced swaps
* :github:`3606` - _NanoFatalErrorHandler and other internal kernel APIs are inconsistently defined
* :github:`3524` - Bluetooth data types missing API documentation
* :github:`3522` - New Zephyr-defined types missing API documentation
* :github:`3464` - xtensa hifi_mini SOC does not build
* :github:`3375` - Debugging difficulties on Cortex-M with frame pointer missing
* :github:`3288` - Fatal fault in SPI ISR when using multiple interfaces
* :github:`3244` - Ataes132a fails to encrypt/decrypt with mode ECB and CCM mode
* :github:`3226` - ATT channel gets disconnected on ATT timeout but GATT API doesn't check for it
* :github:`3198` - ARC: Boot_time test not functioning
* :github:`3132` - frdm_k64f: Sometimes, there may be 1000+ms roundtrip for pings and other Ethernet packets (instead of sub-ms)
* :github:`3129` - frdm_k64f: Ethernet may become stuck in semi-persistent weird state, not transferring data, potentially affecting host Ethernet
* :github:`2984` - frdm_k64f bus exception bug due to peculiar RAM configuration
* :github:`2907` - make menuconfig .config easily overwritten
* :github:`2627` - LE L2CAP CoC transfers less octets that claims to be
* :github:`2108` - Stack alignment on ARM doesn't always follow Procedure Call Standard
* :github:`1677` - sys_*_bit and sys_bitfield_*_bit APIs are not implemented on ARM
* :github:`1550` - problem with pci_bus_scan resulting in an endless loop
* :github:`1533` - It is not documented how to discover, install, and use external toolchains
* :github:`1495` - esp32: newlibc errors
* :github:`1429` - LWM2M configs not defined
* :github:`1381` - HMC5883L driver config error
* :github:`729` - TCP SYN backlog change likely has concurrent global var access issues
``` | /content/code_sandbox/doc/releases/release-notes-1.14.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 43,872 |
```restructuredtext
End-of-life releases
====================
Release notes for end-of-life releases of Zephyr RTOS are kept here for historical purposes.
.. toctree::
:maxdepth: 1
:glob:
:reversed:
release-notes-1.?
release-notes-1.*
release-notes-2.[0-6]
release-notes-3.[0-5]
``` | /content/code_sandbox/doc/releases/eol_releases.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 84 |
```restructuredtext
:orphan:
.. _zephyr_1.11:
Zephyr Kernel 1.11.0
#####################
We are pleased to announce the release of Zephyr kernel version 1.11.0.
Major enhancements with this release include:
* Thread-level memory protection on x86, ARC and Arm, userspace and memory
domains
* Symmetric Multi Processing (SMP) support on the Xtensa architecture.
* Initial Armv8-M architecture support.
* Native development environment on Microsoft Windows.
* Native build target on POSIX platforms.
* POSIX PSE52 partial support.
* Thread support via integration with OpenThread.
* Firmware over-the-air (FOTA) updates over BLE using MCUmgr.
* Lightweight flash storage layer for constrained devices.
* Additional SoC, platform and driver support for many of the already supported
platforms.
The following sections provide detailed lists of changes by component.
Kernel
******
* Initial Symmetric Multi Processing (SMP) support added:
* SMP-aware scheduler
* SMP timer and idling support
* Available on the Xtensa architecture
* POSIX PSE52 support:
* Timer, clock, scheduler and pthread APIs
Architectures
*************
* User space and system call related changes:
* Added ARC user space implementation
* Added Arm user space implementation
* Fixed a few MPU related issues with stack guards
* Armv8-M initial architecture support, including the following cores:
* Arm Cortex-M23
* Arm Cortex-M33
* New POSIX architecture for native GNU/Linux and macOS build targets:
* Targets native executables that can be run on the host operating system
Boards
******
* New native_posix board for the POSIX architecture:
* Includes a template for hardware models
* Adds support for console and logging
* Interrupts and timers are simulated in several different configurations
* Added support for the following Arm boards:
* adafruit_trinket_m0
* arduino_zero
* lpcxpresso54114
* nrf52_sparkfun
* nucleo_f429zi
* stm32f072_eval
* stm32f072b_disco
* Removed Panther board support, which included boards/x86/panther and
boards/arc/panther_ss
* Refactored dts.fixup so common SoC-related fixes are in arch/<*>/soc
and board dts.fixup is only used for board-specific items.
Drivers and Sensors
*******************
* New LED PWM driver for ESP32 SoC
* Fixed ESP32 I2C driver
* Added I2C master, QSPI flash, and GPIO drivers for nios-II
* Added PinMux, GPIO, serial drivers for LPC54114
* Added PinMux, GPIO, serial, SPI, and watchdog drivers for sam0
* Added APA102 and WS2821B led_strip drivers
* Added native entropy driver
* Moved some sensors to dts
* Added AMG88xx, CCS811, and VL53L0x sensor drivers
* Redefined SENSOR_CHAN_HUMIDITY in percent
Networking
**********
* Generic OpenThread support added
* OpenThread support to nRF5 IEEE 802.15.4 driver added
* NXP MCUX ethernet driver IPv6 multicast join/leave enhancements
* Ethernet STM32 fixes
* IEEE 802.15.4 Sub-GHz TI CC1200 chip support added
* IEEE 802.15.4 test driver (upipe) hw filtering support added
* IEEE 802.15.4 radio API enhancements
* Net loopback driver fixes
* Net management API event enhancements
* IPv6 neighbor addition and removal can be monitored
* Static IPv4 and DHCPv4 configuration enhancements
* Bluetooth IPSP disconnect fix
* Network buffer enhancements
* ICMPv4 and ICMPv6 error checking fixes
* Network interface address handling enhancements
* Add routing support between network interfaces
* LWM2M fixes and enhancements
* Old legacy HTTP API removed
* Old legacy ZoAP API removed
* CoAP fixes
* TCP fixes
* HTTP fixes
* RPL fixes
* Net-app API fixes
* Net-shell fixes
* BSD socket API fixes
Bluetooth
*********
* Multiple fixes to the controller
* Fixed potential connection transmission deadlock issue with the help
of a dedicated fragment pool
* Multiple fixes to Mesh support
* Added test automation for Mesh (for tests/bluetooth/tester)
Build and Infrastructure
************************
* Native development environment on Microsoft Windows:
* Uses CMake and Kconfiglib to avoid requiring an emulation layer
* Package management support with Chocolatey for simple setup
* Build time now comparable to Linux and macOS using Ninja
Libraries / Subsystems
***********************
* New management subsystem based on the cross-RTOS MCUmgr:
* Secure Firmware Updates over BLE and serial
* Support for file system access and statistics
* mcumgr cross-platform command-line tool
* FCB (File Circular Buffer) lightweight storage layer:
* Wear-leveling support for NOR flashes
* Suitable for memory constrained devices
HALs
****
* Updated Arm CMSIS from version 4.5.0 to 5.2.0
* Updated stm32cube stm32l4xx from version 1.9.0 to 1.10.0
* Updated stm32cube stm32f4xx from version 1.16.0 to 1.18.0
* Added Atmel SAMD21 HAL
* Added mcux 2.2.1 for LPC54114
* Added HAL for VL53L0x sensor from STM
* Imported and moved to nRFx 0.8.0 on Nordic SoCs
* Added QSPI Controller HAL driver
Documentation
*************
* Added MPU specific stack and userspace documentation
* Improved docs for Native (POSIX) support
* Docs for new samples and supported board
* General documentation clarifications and improvements
* Identify daily-built master-branch docs as "Latest" version
* Addressed Sphinx-generated intra-page link issues
* Updated doc generation tools (Doxygen, Sphinx, Breathe, Docutils)
Tests and Samples
*****************
* Added additional tests and test improvements for user space testing
Issue Related Items
*******************
These GitHub issues were addressed since the previous 1.10.0 tagged
release:
.. comment List derived from GitHub Issue query: ...
* :github:`1082` - build all tests have issues for devices that don't exist on a given board
* :github:`1281` - spi_ll_stm32 driver does not support stm32f1soc
* :github:`1291` - Initial Posix PSE52 Support
* :github:`1460` - 1.10 Release Checklist
* :github:`1462` - rename nano_internal.h to kernel_internal.h
* :github:`1526` - Bluetooth:mesh:prov_start: Invalid authentication
* :github:`1532` - There are no RISC-V boards in the list of supported boards
* :github:`1727` - Support out-of-tree board definitions
* :github:`1793` - I2S device APIs and Drivers
* :github:`1868` - Build System cleanup and Kernel / Application build separation
* :github:`1877` - Provide single point of notification for new data on multiple sockets.
* :github:`1890` - Memory Management
* :github:`1891` - Native Port
* :github:`1892` - NFC Stack
* :github:`1893` - Unified Kernel
* :github:`1921` - Bluetooth LE 4.2 Hardware Support
* :github:`1926` - build system does not re-link if linker script changed
* :github:`1930` - bluetooth tester shall support logging on Arduino101
* :github:`2007` - C++ compiler flags are not managed correctly
* :github:`2072` - create abstraction layer to directly use Altera HAL drivers for Nios II IP blocks
* :github:`2107` - handle configuration changes with more code coverage
* :github:`2239` - sporadic illegal instruction exception on Nios II in test_errno
* :github:`2244` - LE Controller: remove util folder
* :github:`2280` - Move defaults.tc and .known-issue under tests/
* :github:`2347` - Thread Protocol v1.1 Dependencies on the IP Stack
* :github:`2365` - Port IOT Protocols to the new IP Stack
* :github:`2477` - no unit tests exist for CONFIG_DEBUG_INFO
* :github:`2620` - object files created outside of $O directory when obj-XYZ path is relative
* :github:`2722` - QEMU NIOS2 sporadic FAIL in tests/legacy/kernel/test_timer/nanokernel
* :github:`2760` - Implement Virtual USB ethernet Adapter support
* :github:`2819` - legacy/kernel/test_task_priv randomly fails on EMSK ARC
* :github:`2889` - [ARC] legacy/benchmark/latency_measure not measuring RIRQ/FIRQ
* :github:`2891` - implement _tsc_read equivalent for all architectures
* :github:`2912` - Develop Guideline for Handling Configuration Changes with More Code Coverage
* :github:`2937` - Thread-level Memory Protection Support
* :github:`2939` - Add Xtensa Port
* :github:`2943` - Support for the KW22D512 Kinetis MCU based USB Dongle
* :github:`2971` - I2C High-Speed Mode is not implemented
* :github:`2994` - The build system crashes when GCCARMEMB_TOOLCHAIN_PATH has a space in it
* :github:`3069` - XML encoding/decoding library
* :github:`3081` - Concise Binary Object Representation (CBOR)
* :github:`3083` - I2C problem Zephyr OS sensor example on NRF51 and F401re
* :github:`3127` - IP stack does not implement multicasting requirements of IPv6 RFCs and network driver model lacks features to implement it properly
* :github:`3240` - Unnecessary code footprint bloat due to "static inline"
* :github:`3279` - Reclaiming Memory
* :github:`3283` - Split net_buf parsing context from the actual data
* :github:`3302` - samples/subsys/logging/logger-hook needs to be a test case
* :github:`3308` - [TAHI] No "ICMPv6 error message" is received while sending echo request with parameter problem header
* :github:`3316` - [IPv6 TAHI] Section 1: RFC 2460 - IPv6 Specification
* :github:`3317` - [IPv6 TAHI]Section 4: RFC 1981 - Path MTU Discovery for IPv6
* :github:`3318` - [IPv6 TAHI]Section 5: RFC 4443 - ICMPv6
* :github:`3322` - [IPv6 TAHI] Section 3: RFC 4862 - IPv6 Stateless Address Autoconfiguration
* :github:`3323` - [IPv6 TAHI] Section 2: RFC 4861 - Neighbor Discovery for IPv6
* :github:`3329` - Build warnings [-Wpointer-sign] with LLVM/icx (bluetooth_ipsp)
* :github:`3345` - Missing board documentation for riscv32/zedboard_pulpino
* :github:`3346` - Missing board documentation for riscv32/qemu_riscv32
* :github:`3351` - Missing board documentation for arm/bbc_microbit board
* :github:`3352` - Missing board documentation for arm/nrf51_blenano
* :github:`3439` - IP stack: No MTU handling on send()
* :github:`3440` - IP stack: No TCP receive window handling
* :github:`3483` - Unify STM32 configuration files
* :github:`3546` - Enabling networking for targets w/o network hw causes hang on boot
* :github:`3565` - Symmetric multiprocessing (SMP) for Xtensa architecture
* :github:`3597` - Build warnings [-Wpointer-sign] with LLVM/icx (tests/net/ieee802154/crypto)
* :github:`3614` - cdc-acm error when printing one byte at a time
* :github:`3617` - Build warnings [-Wshift-overflow] with LLVM/icx (K_MEM_POOL_DEFINE)
* :github:`3667` - _IsInIsr doesn't work properly on Cortex M0
* :github:`3685` - Test suite cleanup and Test Coverage
* :github:`3704` - Move all X86 boards to device tree
* :github:`3707` - intermittent work_queue test failure
* :github:`3712` - RPL client node version bogus incrementation
* :github:`3718` - Mpu stack guard is not set when reaching main
* :github:`3747` - tests/kernel/mem_slab/test_mslab_threadsafe/testcase.ini#test type:qemu-zephyr-arm
* :github:`3809` - Build warnings [-Wimplicit-function-declaration] with LLVM/icx (tests/drivers/pci_enum)
* :github:`3833` - make device_get_binding() more efficient
* :github:`3834` - CDC_ACM is limited to 4 bytes at a time for Arduino 101
* :github:`3838` - Some tests end up with 0 platforms due to bad filtering
* :github:`3850` - SPI fails on Nucleo_f334r8
* :github:`3855` - Support board files located in application directory
* :github:`3856` - LwM2M: Support write attributes (section 5.4.4 of spec)
* :github:`3858` - Enable OpenThread support for Zephyr
* :github:`3859` - Create OpenThread platform adaptation for Zephyr
* :github:`3860` - Create OpenThread network interface driver
* :github:`3862` - Verify that the OpenThread requirements are fulfilled by Zephyr 15.4 radio driver
* :github:`3870` - Create a shell to configure OpenThread stack
* :github:`3872` - build on windows failed " error: unrecognized command line option '-no-pie'"
* :github:`3918` - Build error [use of undeclared identifier]with LLVM/icx (samples/net/nats)
* :github:`4000` - xtensa-vectors.S builds wrong versions of ISRs based on HAL information
* :github:`4010` - [CID: 174928]: Control flow issues in /tests/kernel/mem_slab/mslab/src/slab.c
* :github:`4025` - Upgrade to TinyCrypt 0.2.7 has significant API changes
* :github:`4045` - convert to ztest for files in tests/kernel
* :github:`4105` - Sensors: move all the drivers using SPI bus to new SPI API
* :github:`4106` - Flash: move w25qxxdv driver to new SPI API
* :github:`4216` - samples:net:sockets:echo : communication blocks between client and server after few packets transmission
* :github:`4351` - arduino_101: USB device is not listed after flashing with a Zephyr sample
* :github:`4401` - tests/net/ipv6/test.yaml :--Cannot add multicast IPv6 address
* :github:`4445` - sanitycheck --platform-limit is broken
* :github:`4513` - parsetab.py is getting corrupted when multiple instance of sanitycheck is executed simultaneously
* :github:`4549` - tests/crypto/mbedtls/testcase.yaml#test :Build failed
* :github:`4566` - k_busy_wait( ) gives compilation error when CONFIG_SYS_CLOCK_TICKS_PER_SEC is set to 0
* :github:`4568` - dts generation incorrect
* :github:`4576` - no testcase.yaml for tests/drivers/spi/spi_loopback
* :github:`4578` - tests/net/socket/udp/testcase.yaml#test : Build failed on esp32
* :github:`4596` - tests/net/mgmt/testcase.yaml#test :failed due to un-handled exception
* :github:`4597` - tests/drivers/ipm/testcase.yaml#test :unable to print the Expected output
* :github:`4603` - sanitycheck either conceals information from user or spams it
* :github:`4606` - usb mass storage : config waits for Vendor ID and Product ID from user during building
* :github:`4633` - Implement flash page layout api in the Kinetis flash driver
* :github:`4635` - xtensa-esp32-elf-gcc.exe: error: unrecognized command line option '-no-pie'
* :github:`4653` - net: tcp->recv_max_ack isn't used
* :github:`4666` - x86 device trees need interrupt controller nodes
* :github:`4687` - Windows: Remove all dependencies on MSYS2
* :github:`4699` - PWM LED Driver for ESP32
* :github:`4705` - tests/net/socket/tcp/ undefined reference to __getreent
* :github:`4709` - tests/kernel/fatal/testcase.yaml#stack-sentinel : Kernel Panic
* :github:`4724` - sanitycheck build_only option can be confusing
* :github:`4772` - doc: add contributing info about shippable failures
* :github:`4777` - need a testcase for version number of the kernel and version.h
* :github:`4779` - net: tcp: FIN isn't sent when performing active close.
* :github:`4826` - Bluetooth IPSP example does not reach main() on qemu_cortex_m3
* :github:`4828` - device tree: Introduce bus objects (i2c-device)
* :github:`4851` - cmake does not show verbose output of build tools
* :github:`4885` - cmake: IS_TEST guessing gets thrown off by symlinks
* :github:`4924` - dumb_http_server pollutes the source directory
* :github:`4934` - net: 15.4 network interfaces use incorrect MTU setting of 127
* :github:`4941` - LwM2M: support discovery other than '/'
* :github:`4983` - ARMv8-M basic support
* :github:`4989` - Bluetooth: PTS fails to connect to Zephyr
* :github:`5010` - changes to included linker scripts are not picked up by the build system
* :github:`5017` - Genuino/Arduino 101 Sensor Sample BMI160: Gyro Device not found
* :github:`5091` - MPU fault at drivers/flash/soc_flash_nrf5.c:493 with NFFS enabled on nrf52840_pca10056
* :github:`5101` - LwM2M: device hang after requesting a firmware update to a loopback device IP
* :github:`5109` - yaml: fix key/value syntax to 'mapping' instead of 'series'
* :github:`5130` - include guards missing in toolchain/gcc.h and toolchain/common.h
* :github:`5136` - "Distinguishing Features" section in docs is outdated and needs an update
* :github:`5143` - Cmake ignores setting CONFIG_ETH_MCUX_0=n in prj.conf
* :github:`5148` - Lightweight flash storage layer
* :github:`5162` - Reduce duplication in UUID definitions?
* :github:`5184` - kernel system call handlers missing due to -Wl,--no-whole-archive
* :github:`5221` - Build doesn't fail if total RAM usage is greater than the RAM available on the board
* :github:`5226` - Compiling with -O0 causes the kobject text area to exceed the limit (linker error)
* :github:`5228` - The build fails when building echo_server with nrf52840_pca10056
* :github:`5240` - I2C is enabled by default on ESP32
* :github:`5247` - Object tracing test case fails in NRF boards
* :github:`5256` - _nano_tick_delta, sys_tick_delta, sys_tick_delta_32: not used or tested
* :github:`5270` - Not all IEEE802154_MCR20A_RAW references were removed
* :github:`5282` - net: IPv6 DAD is incorrect, wouldn't work ("always succeed") on mcast medium like Ethernet
* :github:`5283` - reference to non-existing functions in arch/x86/core/intstub.S
* :github:`5305` - flash: use generated FLASH_WRITE_BLOCK_SIZE in flash_stm32_api
* :github:`5317` - IPSP deadlock during disconnect -> net_if_down
* :github:`5326` - IPSP ping fails
* :github:`5328` - build system should try and create conf if not found for non-zephyr SDK
* :github:`5334` - CMake: Ninja support is broken
* :github:`5345` - Cmake: ext: Header file include error: No such file or directory
* :github:`5348` - rom_report is broken for some environments
* :github:`5351` - Some libraries should automatically be linked with 'app'
* :github:`5355` - qemu_x86/qemu_x86_nommu hangs on big executable files
* :github:`5370` - [Coverity CID: 180699] Error handling issues in /tests/bluetooth/tester/src/gatt.c
* :github:`5374` - merge_config.sh can behave differently from merge_config.py
* :github:`5379` - sample: net/socket/http_get: no printf output
* :github:`5382` - P2P Device Firmware Update (FOTA) over BLE and Serial
* :github:`5391` - drivers: stm32 clock control: F0 Series with PREDIV1 Support uses wrong PLLSOURCE define for HSI clock
* :github:`5401` - delta_ticks_from_prev become negative and waiting tasks never scheduled
* :github:`5406` - UART1 on STM32F0 Series not working: errors in makro to enable clock
* :github:`5418` - Provide a python based replacement for gperf
* :github:`5419` - Provide a python based kconfig processing script, replacement for conf/mconf..
* :github:`5428` - can not build for esp32
* :github:`5444` - bluetooth controller fails when building with -Wshadow
* :github:`5448` - STM32: Entropy test could not build
* :github:`5449` - STM32: provide default configuration for entropy sample
* :github:`5453` - gitlint should allow tabs in commit messages
* :github:`5458` - [ESP32] Make error
* :github:`5466` - sanitycheck: "CMake Error: : System Error: File name too long"
* :github:`5467` - NFFS file system does no build when newlib libc is used
* :github:`5471` - cmake errors at -B containing @
* :github:`5476` - Native port (posix) to write own PID into a file
* :github:`5477` - Native port (posix) to support receiving signals
* :github:`5483` - Native port (POSIX) should accept command-line arguments
* :github:`5484` - net: ARP/ND: Possibility for deadlocks and DoS
* :github:`5486` - Bluetooth: Cannot connect to prevoiusly disconnected device when BT_PRIVACY is enabled
* :github:`5488` - target_ld_options will apply flags that should be skipped
* :github:`5493` - NFFS does not work with STM32L4 devices due to flash restrictions
* :github:`5497` - cmake: allow to link external libraries with --whole-archive
* :github:`5499` - config BT_CTLR_DEBUG_PINS
* :github:`5504` - net: Incorrect logic for TCP "ackerr" statistics
* :github:`5530` - [Coverity CID: 181848] Null pointer dereferences in /subsys/bluetooth/host/mesh/access.c
* :github:`5531` - [Coverity CID: 181847] Incorrect expression in /samples/drivers/crypto/src/main.c
* :github:`5539` - tests/kernel/fatal/stack-sentinel fails when asserts are enabled
* :github:`5546` - (Stupid) questions about coverage reports
* :github:`5548` - coverage should be collected from code built with -O0
* :github:`5557` - Cloning Zephyr with git's core.autocrlf=true leads to obscure errors
* :github:`5565` - net: Kconfig: NET_BUF_LOG and NET_BUF_SIMPLE_LOG unrightly select STDOUT_CONSOLE
* :github:`5566` - kconfig: STDOUT_CONSOLE unrightly stuffed under subsys/debug
* :github:`5576` - None of the :github:'XYZ' links work in the 1.10 release notes
* :github:`5589` - Issue with using generic gcc cross compile with cmake
* :github:`5601` - docs for cc3220sf_launchxl are out of date/incorrect
* :github:`5608` - Bluetooth LE continuous scan weird behaviour
* :github:`5619` - zephyr.git/tests/misc/test_build/testcase.yaml#test_newlib @ esp32:xtensa BUILD failed
* :github:`5626` - Building samples failed
* :github:`5640` - MacOS compile error with -std=gnu89
* :github:`5645` - build failures with asserts enabled/newlib: arch/arm/core/cortex_m/mpu/nxp_mpu.c
* :github:`5646` - userbuffer_validate test fails with double fault if CONFIG_USERSPACE disabled
* :github:`5650` - i2c driver test on ESP32 fails with error
* :github:`5651` - [In Progress] arch: arm: linkder: vt must be linked at address 0x00000000 for Cortex-M0
* :github:`5660` - doc: make: make htmldocs fails in genrest.py/kconfiglib.py
* :github:`5673` - kconfig regression: Existing configuration is overwritten on reconfiguration
* :github:`5687` - docs: Confusing treatment of "Sensor Drivers" in Zephyr subsystem docs
* :github:`5692` - sensors: struct sensor_value::val2 is confusingly defined
* :github:`5693` - sensors: SENSOR_CHAN_HUMIDITY confusingly defined in "milli percent", SENSOR_CHAN_DISTANCE inconsistently defined in millimeters
* :github:`5696` - net_app: Static vs DHCPv4 behavior appears to be not as described
* :github:`5699` - Zephyr installs a broken pyOCD
* :github:`5717` - CONTRIBUTING instructions are Linux-specific and don't work for Windows
* :github:`5719` - need a zephyr-env.sh equivalent for Windows developers
* :github:`5720` - Add CONFIG_NOOPTIMIZATIONS option
* :github:`5722` - dts board configuration is incompatible with "build all" kind of test
* :github:`5724` - [Windows] Instructions for setting up a bash-less environment uses bashisms
* :github:`5726` - CI should use the same generator as the sanitycheck default
* :github:`5737` - [Coverity CID: 182195] Error handling issues in /subsys/fs/fcb/fcb_walk.c
* :github:`5740` - [Coverity CID: 181923] Incorrect expression in /subsys/bluetooth/controller/ll_sw/ctrl.c
* :github:`5741` - [Coverity CID: 181922] Incorrect expression in /subsys/bluetooth/controller/ll_sw/ctrl.c
* :github:`5743` - Windows and Linux are writing .config files with options re-ordered
* :github:`5749` - Exception and Interrupt vector forwarding
* :github:`5753` - Bluetooth: controller: In nRF5 radio. c RATEBOOST event not cleared in ISRs
* :github:`5755` - Support flash in jlink runner
* :github:`5756` - MCUboot-compatible builds in Zephyr
* :github:`5760` - doc: device.h defines device_power_management_api group twice
* :github:`5761` - NRF5 BLE radio driver: PPI18 is cleared unconditionally
* :github:`5762` - Windows 10 WSL does not supports Native POSIX Boards
* :github:`5766` - boards: nucleo_f413zh: Likely outdated OpenOCD info in docs
* :github:`5771` - Linking issues with host cross compile with cmake
* :github:`5772` - sanitycheck crashes if ZEPHYR_BASE has symlinks in its path
* :github:`5778` - Add/fix flash controller nodes for NXP kinetis SoCs
* :github:`5779` - bluetooth test_controller_4_0 fails to build on nrf52840_pca10056
* :github:`5784` - make rom_report fails for qemu_x86 (not finding zephyr.bin)
* :github:`5794` - wiki/Development-Model is out of date
* :github:`5808` - msys2 getting started instructions are missing Ninja install step
* :github:`5817` - socket.h: Using #define for POSIX redefinition of zsock\_ functions has unintended consequences
* :github:`5821` - [MSYS2] Unable to build Zephyr
* :github:`5823` - Bluetooth: Collision during Start Encryption procedure
* :github:`5836` - spi: stm32: convert remaining boards that support SPI to using dts
* :github:`5853` - Using newlibc in a project breaks 'rom_report' and 'ram_report' targets.
* :github:`5866` - ram_report not working for qemu targets
* :github:`5877` - sensors: Cleanup Kconfig for address, driver & bus name
* :github:`5881` - enabling THREAD_MONITOR causes tests to fail
* :github:`5886` - [Coverity CID: 182602] Integer handling issues in /drivers/interrupt_controller/system_apic.c
* :github:`5887` - [Coverity CID: 182597] Control flow issues in /drivers/sensor/vl53l0x/vl53l0x.c
* :github:`5888` - [Coverity CID: 182594] Control flow issues in /drivers/sensor/lsm6ds0/lsm6ds0.c
* :github:`5889` - [Coverity CID: 182593] Control flow issues in /drivers/sensor/vl53l0x/vl53l0x.c
* :github:`5890` - [Coverity CID: 182588] Integer handling issues in /drivers/sensor/hts221/hts221.c
* :github:`5903` - Code coverage reports seem wrong
* :github:`5919` - Remove obsolete FLASH_DRIVER_NAME
* :github:`5938` - Incorrectly reported coverage changes
* :github:`5952` - API k_delayed_work_submit_to_queue() make a delayed_work unusable
* :github:`5958` - "Ninja flash" swallows user prompts
* :github:`5968` - datastructure for LIFO
* :github:`5982` - nRF5x subscribe will cause HardFault while disconnect and reconnect
* :github:`5989` - workstation setup instructions are broken for Fedora
* :github:`5992` - doc: Discrepancy in Zephyr memory domain API documentation
* :github:`5994` - samples/bluetooth/ipsp: build failed for MICRO-BIT & NRF51-PCA10028 HW
* :github:`5996` - Need a "ps aux" like command to list all running threads and their attributes
* :github:`6010` - Removal of old HTTP API is causing errors and faults
* :github:`6013` - updated workstations setup breaks FC27
* :github:`6023` - Bluetooth: Invalid behaviour of Transport Layer after Incomplete timer expiration
* :github:`6025` - mbedTLS: Buffer overflow security issue, requires upgrade to 2.7.0
* :github:`6050` - IPSP sample failed: Cannot bind IPv6 mcast (-2)
* :github:`6062` - build failure in tests/boards/altera_max10/i2c_master with sys log enabled
* :github:`6064` - k_is_in_isr() returns false inside "direct" interrupts on several arches
* :github:`6081` - echo server crash from corrupt ICMPv4 packet
* :github:`6083` - Bluetooth: Regression in MESH tests
* :github:`6091` - [Coverity CID: 182780] Error handling issues in /samples/net/sockets/http_get/src/http_get.c
* :github:`6092` - [Coverity CID: 182779] Memory - corruptions in /drivers/flash/soc_flash_nios2_qspi.c
* :github:`6102` - [Coverity CID: 182769] Error handling issues in /subsys/bluetooth/host/mesh/beacon.c
* :github:`6121` - doc: unit tests documentation refers to non existing sample code
* :github:`6127` - net: Semantics of CONFIG_NET_BUF_POOL_USAGE changed (incorrectly)
* :github:`6131` - mbedtls: Name of config-mini-tls1_2.h contradicts description
* :github:`6135` - build error with gcc 7.3
* :github:`6164` - timer: cortex_m: Incorrect read of clock cycles counter after idle tickless period
* :github:`6185` - [MSYS2] Unable to build hello_world sample
* :github:`6194` - K64F ethernet regression since f7ec62eb
* :github:`6197` - echo server crash from corrupt ICMPv6 packet
* :github:`6204` - bluetooth controller: crc init is not random
* :github:`6217` - echo server crash from corrupt ICMPv6 NS packet
* :github:`6229` - Bluetooth, nRF51: ticker_success_assert during flash erase
* :github:`6231` - samples/bluetooth/eddystone: failed to connect with central device
* :github:`6232` - samples/bluetooth/central_hr: Run time HARD fault occurs
* :github:`6233` - samples/bluetooth/central: Run time HARD fault occurs
* :github:`6235` - echo server crash from ICMPv6 NS source link layer address anomaly
* :github:`6238` - spi: stm32f0 IRQ priority is invalid
* :github:`6240` - "Previous execution" and "Next execution" display problem.
* :github:`6257` - test, please ignore
* :github:`6261` - [Coverity CID: 182887] Control flow issues in /drivers/gpio/gpio_esp32.c
* :github:`6263` - ARC: Implement userspace
* :github:`6264` - ARM: Implement Userspace
* :github:`6279` - Add doc to samples/bluetooth/mesh & samples/bluetooth/mesh_demo
* :github:`6284` - docs.zephyrproject.org should be served with HTTPS
* :github:`6309` - Non-blocking BSD sockets not working as expected
* :github:`6312` - The shell sample does not working on k64f board
* :github:`6315` - echo server crash from malformed ICMPv6 NA
* :github:`6322` - shell crashes when enter is pressed
* :github:`6323` - "SPI master port SPI_1 not found* when porting spi ethernet device enc28j60 on stm32_min_dev board
* :github:`6324` - doc: Project coding standards: page not found
* :github:`6333` - How do I implement GPIO on the f429zi board?
* :github:`6339` - samples/drivers/gpio Sample doesn't work on ESP32 after SMP support was added
* :github:`6346` - ESP-32 preemption regressions with asm2
* :github:`6382` - echo server: crash from unsolicited RA reachable time anomaly
* :github:`6393` - echo server: crash from NS flood
* :github:`6429` - How to add custom driver subdirectory to application project?
* :github:`6432` - daily doc build pages don't indicate their version
* :github:`6439` - ESP32 doesn't compile in master
* :github:`6444` - tests/kernel/mem_protect/obj_validation/ fails to build
* :github:`6455` - k_sleep() fails on ESP32 sometimes
* :github:`6469` - tests/crypto/ecc_dsa results in FATAL EXCEPTION on esp32
* :github:`6470` - tests/crypto/ecc_dh results in FATAL EXCEPTION on esp32
* :github:`6471` - tests/crypto/aes results in Assertion failure on esp32
* :github:`6472` - tests/crypto/sha256 results in Assertion failure on esp32
* :github:`6505` - Userspace support: stack corruption for ARC em7d v2.3
``` | /content/code_sandbox/doc/releases/release-notes-1.11.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 8,187 |
```restructuredtext
:orphan:
.. _zephyr_3.2:
Zephyr 3.2.0
############
We are pleased to announce the release of Zephyr version 3.2.0.
Major enhancements with this release include:
* Introduced :ref:`sysbuild`.
* Added support for :ref:`bin-blobs` (also see :ref:`west-blobs`).
* Added support for Picolibc (see :kconfig:option:`CONFIG_PICOLIBC`).
* Converted all supported boards from ``pinmux`` to :ref:`pinctrl-guide`.
* Initial support for :ref:`i3c_api` controllers.
* Support for :ref:`W1 api<w1_api>`.
* Improved access to Devicetree compatibles from Kconfig (new generated
``DTS_HAS_..._ENABLED`` configs).
The following sections provide detailed lists of changes by component.
Security Vulnerability Related
******************************
The following CVEs are addressed by this release:
More detailed information can be found in:
path_to_url
* CVE-2022-2993: Under embargo until 2022-11-03
* CVE-2022-2741: Under embargo until 2022-10-14
API Changes
***********
Changes in this release
=======================
* Zephyr now requires Python 3.8 or higher
* Changed :c:struct:`spi_cs_control` to remove anonymous struct.
This causes possible breakage for static initialization of the
struct. Updated :c:macro:`SPI_CS_CONTROL_PTR_DT` to reflect
this change.
* The :kconfig:option:`CONFIG_LEGACY_INCLUDE_PATH` option has been disabled by
default, all upstream code and modules have been converted to use
``<zephyr/...>`` header paths. The option is still available to facilitate
the migration of external applications, but will be removed with the 3.4
release. The :zephyr_file:`scripts/utils/migrate_includes.py` script is
provided to automate the migration.
* :zephyr_file:`include/zephyr/zephyr.h` no longer defines ``__ZEPHYR__``.
This definition can be used by third-party code to compile code conditional
to Zephyr. The definition is already injected by the Zephyr build system.
Therefore, any third-party code integrated using the Zephyr build system will
require no changes. External build systems will need to inject the definition
by themselves, if they did not already.
* :zephyr_file:`include/zephyr/zephyr.h` has been deprecated in favor of
:zephyr_file:`include/zephyr/kernel.h`, since it only included that header. No
changes are required by applications other than replacing ``#include
<zephyr/zephyr.h>`` with ``#include <zephyr/kernel.h>``.
* Bluetooth: Applications where :kconfig:option:`CONFIG_BT_EATT` is enabled
must set the :c:member:`chan_opt` field on the GATT parameter structs.
To keep the old behavior use :c:enumerator:`BT_ATT_CHAN_OPT_NONE`.
* CAN
* The Zephyr SocketCAN definitions have been moved from :zephyr_file:`include/zephyr/drivers/can.h`
to :zephyr_file:`include/zephyr/net/socketcan.h`, the SocketCAN ``struct can_frame`` has been
renamed to :c:struct:`socketcan_frame`, and the SocketCAN ``struct can_filter`` has been renamed
to :c:struct:`socketcan_filter`. The SocketCAN utility functions are now available in
:zephyr_file:`include/zephyr/net/socketcan_utils.h`.
* The CAN controller ``struct zcan_frame`` has been renamed to :c:struct:`can_frame`, and ``struct
zcan_filter`` has been renamed to :c:struct:`can_filter`.
* The :c:enum:`can_state` enumerations have been renamed to contain the word STATE in order to make
their context more clear:
* ``CAN_ERROR_ACTIVE`` renamed to :c:enumerator:`CAN_STATE_ERROR_ACTIVE`.
* ``CAN_ERROR_WARNING`` renamed to :c:enumerator:`CAN_STATE_ERROR_WARNING`.
* ``CAN_ERROR_PASSIVE`` renamed to :c:enumerator:`CAN_STATE_ERROR_PASSIVE`.
* ``CAN_BUS_OFF`` renamed to :c:enumerator:`CAN_STATE_BUS_OFF`.
* The error code for :c:func:`can_send` when the CAN controller is in bus off state has been
changed from ``-ENETDOWN`` to ``-ENETUNREACH``. A return value of ``-ENETDOWN`` now indicates
that the CAN controller is in :c:enumerator:`CAN_STATE_STOPPED`.
* The list of valid return values for the CAN timing calculation functions have been expanded to
allow distinguishing between an out of range bitrate/sample point, an unsupported bitrate, and a
resulting sample point outside the guard limit.
* Memory Management Drivers
* Added :c:func:`sys_mm_drv_update_page_flags` and
:c:func:`sys_mm_drv_update_region_flags` to update flags associated
with memory pages and regions.
Removed APIs in this release
============================
* The following functions, macros, and structures related to the
deprecated kernel work queue API have been removed:
* ``k_work_pending()``
* ``k_work_q_start()``
* ``k_delayed_work``
* ``k_delayed_work_init()``
* ``k_delayed_work_submit_to_queue()``
* ``k_delayed_work_submit()``
* ``k_delayed_work_pending()``
* ``k_delayed_work_cancel()``
* ``k_delayed_work_remaining_get()``
* ``k_delayed_work_expires_ticks()``
* ``k_delayed_work_remaining_ticks()``
* ``K_DELAYED_WORK_DEFINE``
* Removed support for enabling passthrough mode on MPU9150 to
AK8975 sensor.
* Removed deprecated SPI :c:struct:`spi_cs_control` fields for GPIO management
that have been replaced with :c:struct:`gpio_dt_spec`.
* Removed support for configuring the CAN-FD maximum DLC value via Kconfig
``CONFIG_CANFD_MAX_DLC``.
* Removed deprecated civetweb module and the associated support code and samples.
Deprecated in this release
==========================
* :c:macro:`DT_SPI_DEV_CS_GPIOS_LABEL` and
:c:macro:`DT_INST_SPI_DEV_CS_GPIOS_LABEL` are deprecated in favor of
utilizing :c:macro:`DT_SPI_DEV_CS_GPIOS_CTLR` and variants.
* :c:macro:`DT_GPIO_LABEL`, :c:macro:`DT_INST_GPIO_LABEL`,
:c:macro:`DT_GPIO_LABEL_BY_IDX`, and :c:macro:`DT_INST_GPIO_LABEL_BY_IDX`,
are deprecated in favor of utilizing :c:macro:`DT_GPIO_CTLR` and variants.
* :c:macro:`DT_LABEL`, and :c:macro:`DT_INST_LABEL`, are deprecated
in favor of utilizing :c:macro:`DT_PROP` and variants.
* :c:macro:`DT_BUS_LABEL`, and :c:macro:`DT_INST_BUS_LABEL`, are deprecated
in favor of utilizing :c:macro:`DT_BUS` and variants.
* STM32 LPTIM domain clock should now be configured using devicetree.
Related Kconfig :kconfig:option:`CONFIG_STM32_LPTIM_CLOCK` option is now
deprecated.
* ``label`` property from devicetree as a base property. The property is still
valid for specific bindings to specify like :dtcompatible:`gpio-leds` and
:dtcompatible:`fixed-partitions`.
* Bluetooth mesh Configuration Client API prefixed with ``bt_mesh_cfg_``
is deprecated in favor of a new API with prefix ``bt_mesh_cfg_cli_``.
* Pinmux API is now officially deprecated in favor of the pin control API.
Its removal is scheduled for the 3.4 release. Refer to :ref:`pinctrl-guide`
for more details on pin control.
* Flash Map API macros :c:macro:`FLASH_MAP_`, which have been using DTS node label
property to reference partitions, have been deprecated and replaced with
:c:macro:`FIXED_PARTITION_` which use DTS node label instead.
Replacement list:
.. table::
:align: center
+-----------------------------------+------------------------------------+
| Deprecated, takes label property | Replacement, takes DTS node label |
+===================================+====================================+
| :c:macro:`FLASH_AREA_ID` | :c:macro:`FIXED_PARTITION_ID` |
+-----------------------------------+------------------------------------+
| :c:macro:`FLASH_AREA_OFFSET` | :c:macro:`FIXED_PARTITION_OFFSET` |
+-----------------------------------+------------------------------------+
| :c:macro:`FLASH_AREA_SIZE` | :c:macro:`FIXED_PARTITION_SIZE` |
+-----------------------------------+------------------------------------+
| :c:macro:`FLASH_AREA_LABEL_EXISTS`| :c:macro:`FIXED_PARTITION_EXISTS` |
+-----------------------------------+------------------------------------+
| :c:macro:`FLASH_AREA_DEVICE` | :c:macro:`FIXED_PARTITION_DEVICE` |
+-----------------------------------+------------------------------------+
:c:macro:`FLASH_AREA_LABEL_STR` is deprecated with no replacement as its sole
purpose was to obtain the DTS node property label.
Stable API changes in this release
==================================
New APIs in this release
========================
* CAN
* Added :c:func:`can_start` and :c:func:`can_stop` API functions for starting and stopping a CAN
controller. Applications will need to call :c:func:`can_start` to bring the CAN controller out
of :c:enumerator:`CAN_STATE_STOPPED` before being able to transmit and receive CAN frames.
* Added :c:func:`can_get_capabilities` for retrieving a bitmask of the capabilities supported by a
CAN controller.
* Added :c:enumerator:`CAN_MODE_ONE_SHOT` for enabling CAN controller one-shot transmission mode.
* Added :c:enumerator:`CAN_MODE_3_SAMPLES` for enabling CAN controller triple-sampling receive
mode.
* I3C
* Added a set of new API for I3C controllers.
* W1
* Introduced the :ref:`W1 api<w1_api>`, used to interact with 1-Wire masters.
Kernel
******
* Source files using multiple :c:macro:`SYS_INIT` macros with the
same initialisation function must now use :c:macro:`SYS_INIT_NAMED`
with unique names per instance.
Architectures
*************
* ARC
* Added support of non-multithreading mode for all UP ARC targets.
* Added extra compile-time checks of :kconfig:option:`CONFIG_ISR_STACK_SIZE`
and :kconfig:option:`CONFIG_ARC_EXCEPTION_STACK_SIZE` value.
* Added support of generation symbol file for ARC MWDT toolchain variant.
* Added ARC MWDT toolchain version check.
* Added support for GCC mcpu option tuning for ARC targets on SoC level.
* Switched ARCv3 64bit targets for usage of new linker output format value.
* Added ARCv3 64bit accumulator reg save / restore, cleanup it for ARCv3
32bit targets.
* Fixed SMP race in ASM ARC interrupt handling code.
* ARM
* Improved HardFault handling on Cortex-M.
* Enabled automatic placement of the IRQ vector table.
* Enabled S2RAM for Cortex-M, hooking up the provided API functions.
* Added icache and dcache maintenance functions, and switched to the new
Kconfig symbols (:kconfig:option:`CONFIG_CPU_HAS_DCACHE` and
:kconfig:option:`CONFIG_CPU_HAS_ICACHE`).
* Added data/instr. sync barriers after writing to ``SCTLR`` to disable MPU.
* Use ``spsr_cxsf`` instead of unpredictable ``spsr_hyp`` on Cortex-R52.
* Removes ``-Wstringop-overread`` warning with GCC 12.
* Fixed handling of system off failure.
* Fixed issue with incorrect ``ssf`` under bad syscall.
* Fixed region check issue with mmu.
* ARM64
* :c:func:`arch_mem_map` now supports :c:enumerator:`K_MEM_PERM_USER`.
* Added :kconfig:option:`CONFIG_WAIT_AT_RESET_VECTOR` to spin at reset vector
allowing a debugger to be attached.
* Implemented erratum 822227 "Using unsupported 16K translation granules
might cause Cortex-A57 to incorrectly trigger a domain fault".
* Enabled single-threaded support for some platforms.
* IRQ stack is now initialized when :kconfig:option:`CONFIG_INIT_STACKS` is set.
* Fixed issue when cache API are used from userspace.
* Fixed issue about the way IPI are delivered.
* TF-A (TrustedFirmware-A) is now shipped as module.
* RISC-V
* Introduced support for RV32E.
* Reduced callee-saved registers for RV32E.
* Introduced Zicsr, Zifencei and BitManip as separate extensions.
* Introduced :kconfig:option:`CONFIG_RISCV_ALWAYS_SWITCH_THROUGH_ECALL` for
platforms that require every ``mret`` to be balanced by ``ecall``.
* IRQ vector table is now used for vectored mode.
* Disabled :kconfig:option:`CONFIG_IRQ_VECTOR_TABLE_JUMP_BY_CODE` for CLIC.
* ``STRINGIFY`` macro is now used for CSR helpers.
* :kconfig:option:`CONFIG_CODE_DATA_RELOCATION` is now supported.
* PLIC and CLIC are now decoupled.
* ``jedec,spi-nor`` is no longer required to be ``okay`` by the RISC-V arch
linker script.
* Removed usage of ``SOC_ERET``.
* Removed usage of ``ulong_t``.
* Added new TLS-based :c:func:`arch_is_user_context` implementation.
* Fixed PMP for builds with SMP enabled.
* Fixed the per-thread m-mode/u-mode entry array.
* :c:func:`semihost_exec` function is now aligned at 16-byte boundary.
* Xtensa
* Macros ``RSR`` and ``WSR`` have been renamed to :c:macro:`XTENSA_RSR`
and :c:macro:`XTENSA_WSR` to give them proper namespace.
* Fixed a rounding error in timing function when converting from cycles
to nanoseconds.
* Fixed the calculation of average "cycles to nanoseconds" to actually
return nanoseconds instead of cycles.
Bluetooth
*********
* Audio
* Implemented central security establishment when required.
* Added additional security level options to the connection call.
* Switched the unicast client and server to bidirectional CIS if available.
* Added a new RSI advertising callback for CSIS.
* Added multiple improvements to context handling, including public functions
to get contexts.
* Added ordered access procedure for the CSIS client, as well as storing
active members by rank.
* Added support for Write Preset Name in HAS.
* Added support for using PACS for the broadcast sink role.
* Cleaned up the MICP implementation, including renaming several structures
and functions.
* Implemented the CAP Acceptor role.
* Added ASCS Metadata verification support.
* Started exposing broadcast sink advertising data to the application.
* Added support for unicast server start, reconfigure, release, disable and
metadata.
* Added support for multi-CIS.
* Implemented HAS client support for preset switching.
* Added support for setting vendor-specific non-HCI data paths for audio
streams.
* Direction Finding
* Added support for selectable IQ samples conversion to 8-bit.
* Added support for VS IQ sample reports in ``int16_t`` format.
* Host
* Added support for LE Secure Connections permission checking.
* Added support for Multiple Variable Length Read procedure without EATT.
* Added a new callback :c:func:`rpa_expired` in the struct
:c:struct:`bt_le_ext_adv_cb` to enable synchronization of the advertising
payload updates with the Resolvable Private Address (RPA) rotations when
the :kconfig:option:`CONFIG_BT_PRIVACY` is enabled.
* Added a new :c:func:`bt_le_set_rpa_timeout()` API call to dynamically change
the Resolvable Private Address (RPA) timeout when the
:kconfig:option:`CONFIG_BT_RPA_TIMEOUT_DYNAMIC` is enabled.
* Added :c:func:`bt_conn_auth_cb_overlay` to overlay authentication callbacks
for a Bluetooth LE connection.
* Removed ``CONFIG_BT_HCI_ECC_STACK_SIZE``. A new Bluetooth long workqueue
(:kconfig:option:`CONFIG_BT_LONG_WQ`) is used for processing ECC commands
instead of the former dedicated thread.
* :c:func:`bt_conn_get_security` and :c:func:`bt_conn_enc_key_size` now take
a ``const struct bt_conn*`` argument.
* The handling of GATT multiple notifications has been rewritten, and is now
only to be used as a low-level API.
* Added support for GATT CCCs in arbitrary locations as a client.
* Extended the :c:struct:`bt_conn_info` structure with security information.
* Added a new :kconfig:option:`CONFIG_BT_PRIVACY_RANDOMIZE_IR` that prevents
the Host from using Controller-provided identity roots.
* Added support for GATT over EATT.
* Implemented the Immediate Alert Client.
* Mesh
* Added support for selectable RPL backends.
* Changed the way segmented messages are sent, avoiding bulk transmission.
* Added an async config client API.
* Added model publish support to the Health Client.
* Moved relayed messages to a separate buffer pool.
* Reduced delay of sending segment acknowledge message. Set
:kconfig:option:`CONFIG_BT_MESH_SEG_ACK_PER_SEGMENT_TIMEOUT` to 100 to get
the previous timing.
* Restructured shell commands.
* Controller
* Made the new LLCP implementation the default one. Enable
:kconfig:option:`CONFIG_BT_LL_SW_LLCP_LEGACY` to revert back to the legacy
implementation. :kconfig:option:`CONFIG_BT_LL_SW_LLCP_LEGACY` is marked
deprecated in favor of the new :kconfig:option:`CONFIG_BT_LL_SW_LLCP`, which
is the default now.
* Marked Extended Advertising as stable, no longer experimental.
* Added deinit() infrastructure in order to properly support disabling
Bluetooth support, including the controller.
* Implemented the Peripheral CIS Create procedure.
* Implemented the CIS Terminate procedure.
* Added support for Periodic Advertising ADI.
* Implemented support for Extended Scan Response Data fragment operations.
* Enable back-to-back PDU chaining for AD data.
* Added a new :kconfig:option:`CONFIG_BT_CTLR_SYNC_PERIODIC_SKIP_ON_SCAN_AUX`
for allowing periodic sync event skipping.
* Added a new :kconfig:option:`CONFIG_BT_CTLR_SCAN_AUX_SYNC_RESERVE_MIN` for
minimal time reservation.
* Implemented ISO Test Mode HCI commands.
* Added support for multiple BIS sync selection within a BIG.
* Implement flushing pending ISO TX PDUs when a BIG event is terminated.
* Added a new :kconfig:option:`CONFIG_BT_CTLR_ADV_DATA_CHAIN` to enable
experimental Advertising Data chaining support.
* HCI Driver
* Added a new Telink B91 HCI driver.
Boards & SoC Support
********************
* Added support for these SoC series:
* Atmel SAML21, SAMR34, SAMR35
* GigaDevice GD32E50X
* GigaDevice GD32F470
* NXP i.MX8MN, LPC55S36, LPC51U68
* renesas_smartbond da1469x SoC series
* Made these changes in other SoC series:
* gigadevice: Enable SEGGER RTT
* Raspberry Pi Pico: Added ADC support
* Raspberry Pi Pico: Added PWM support
* Raspberry Pi Pico: Added SPI support
* Raspberry Pi Pico: Added watchdog support
* Changes for ARC boards:
* Added support for qemu_arc_hs5x board (ARCv3, 32bit, UP, HS5x)
* Simplified multi-runner setup for SMP nSIM ARC platforms
* Fixed mdb execution folder for mdb-based west runners (mdb-nsim and mdb-hw)
* Added support for these ARM boards:
* Arduino MKR Zero
* Atmel atsaml21_xpro
* Atmel atsamr34_xpro
* Blues Wireless Swan
* Digilent Zybo
* EBYTE E73-TBB
* GigaDevice GD32E507V-START
* GigaDevice GD32E507Z-EVAL
* GigaDevice GD32F407V-START
* GigaDevice GD32F450V-START
* GigaDevice GD32F450Z-EVAL
* GigaDevice GD32F470I-EVAL
* NXP lpcxpresso51u68, RT1060 EVKB
* NXP lpcxpresso55s36
* Olimex LoRa STM32WL DevKit
* PAN1770 Evaluation Board
* PAN1780 Evaluation Board
* PAN1781 Evaluation Board
* PAN1782 Evaluation Board
* ST STM32F7508-DK Discovery Kit
* TDK RoboKit 1
* WeAct Studio Black Pill V1.2
* WeAct Studio Black Pill V3.0
* XIAO BLE
* da1469x_dk_pro
* Added support for these ARM64 boards:
* i.MX8M Nano LPDDR4 EVK board series
* Added support for these RISC-V boards:
* ICE-V Wireless
* RISCV32E Emulation (QEMU)
* Added support for these Xtensa boards:
* ESP32-NET
* intel_adsp_ace15_mtpm
* Removed support for these Xtensa boards:
* Intel S1000
* Made these changes in other boards:
* sam_e70_xplained: Uses EEPROM devicetree bindings for Ethernet MAC
* sam_v71_xult: Uses EEPROM devicetree bindings for Ethernet MAC
* rpi_pico: Added west runner configurations for Picoprobe, Jlink and Blackmagicprobe
* Added support for these following shields:
* ARCELI W5500 ETH
* MAX7219 LED display driver shield
* Panasonic Grid-EYE (AMG88xx)
Build system and infrastructure
*******************************
* Introduced sysbuild, a new higher-level build system layer that enables
combining multiple build systems together. It can be used to generate multiple
images from a single build system invocation while maintaining a link between
those different applications/images via a shared Kconfig layer.
* Introduced support for binary blobs in west, via a new ``west blobs`` command
that allows users to list, fetch and delete binary blobs from their
filesystem. Vendors can thus now integrate binary blobs, be it images or
libraries, with upstream Zephyr.
* Removed deprecated ``GCCARMEMB_TOOLCHAIN_PATH`` setting.
Drivers and Sensors
*******************
* ADC
* STM32: Now supports Vbat monitoring channel and STM32U5 series.
* Added driver for GigaDevice GD32 SoCs.
* Raspberry Pi Pico: Added ADC support for the Pico series.
* Added :c:struct:`adc_dt_spec` related helpers for sequence initialization,
setting up channels, and converting raw values to millivolts.
* Fixed :c:macro:`ADC_DT_SPEC_GET` and related macros to properly handle
channel identifiers >= 10.
* CAN
* A driver for bridging from :ref:`native_posix` to Linux SocketCAN has been added.
* A driver for the Espressif ESP32 TWAI has been added. See the
:dtcompatible:`espressif,esp32-twai` devicetree binding for more information.
* The STM32 CAN-FD CAN driver clock configuration has been moved from Kconfig to :ref:`devicetree
<dt-guide>`. See the :dtcompatible:`st,stm32-fdcan` devicetree binding for more information.
* The filter handling of STM32 bxCAN driver has been simplified and made more reliable.
* The STM32 bxCAN driver now supports dual instances.
* The CAN loopback driver now supports CAN-FD.
* The CAN shell module has been rewritten to properly support the additions and changes to the CAN
controller API.
* The Zephyr network CAN bus driver, which provides raw L2 access to the CAN bus via a CAN
controller driver, has been moved to :zephyr_file:`drivers/net/canbus.c` and can now be enabled
using :kconfig:option:`CONFIG_NET_CANBUS`.
* Added CAN support for NXP LPC55S36.
* Clock control
* STM32: PLL_P, PLL_Q, PLL_R outputs can now be used as domain clock.
* Added driver for GigaDevice GD32 SoCs (peripheral clocks configuration only).
* Documented behavior when clock is not on.
* Counter
* Added :c:func:`counter_get_value_64` function.
* STM32: RTC : Now supports STM32U5 and STM32F1 series.
* STM32: Timer : Now supports STM32L4 series.
* Added counter support using CTimer for NXP MIMXRT595.
* ESP32: Added support to Pulse Counter Mode (PCNT) and RTC.
* Crypto
* Added Intel ADSP sha driver.
* stm32: Check if clock device is ready before accessing clock control
devices.
* ataes132a: Convert to devicetree.
* DFU
* Fixed fetch of the flash write block size from incorrect device by
``flash_img``.
* Fixed possible build failure in the image manager for mcuboot on
redefinitions of :c:macro:`BOOT_MAX_ALIGN` and :c:macro:`BOOT_MAGIC_SZ`.
* Display
* Renamed EPD controller driver GD7965 to UC81xx.
* Improved support for different controllers in ssd16xx and uc81xx drivers.
* Added basic read support for ssd16xx compatible EPD controllers.
* Revised intel_multibootfb driver.
* Added MAX7219 display controller driver.
* Disk
* Added support for DMA transfers when using STM32 SD host controller.
* Added support for SD host controller present on STM32L5X family.
* DMA
* STM32: Now supports stm32u5 series.
* cAVS drivers renamed with the broader Intel ADSP naming.
* Kconfig depends on improvements with device tree statuses.
* Added driver for GigaDevice GD32 SoCs.
* Added DMA support for NXP MIMXRT595.
* EEPROM
* Added Microchip XEC (MEC172x) on-chip EEPROM driver. See the
:dtcompatible:`microchip,xec-eeprom` devicetree binding for more information.
* Entropy
* Update drivers to use devicetree Kconfig symbol.
* gecko: Add driver using Secure Element module of EFR3.
* Added entropy driver for MCUX CAAM.
* stm32: Check if clock device is ready before accessing.
* ESPI
* eSPI emulator initialization improvements.
* Nuvoton: Enabled platform specific Virtual Wire GPIO.
* Microchip: Added XEC (MEC152x) overcurrent platform-specific virtual wires.
* Nuvoton: Added driver flash channel operations support.
* Ethernet
* Atmel gmac: Add EEPROM devicetree bindings for MAC address.
* Performance improvements on the NXP MCUX Ethernet Driver.
* Flash
* Atmel eefc: Fix support for Cortex-M4 variants.
* Added flash driver for Renesas Smartbond platform
* Added support for STM32H7 and STM32U5 in the STM32 OSPI driver.
* Added DMA transfer support in the STM32 OSPI driver.
* Added driver for GigaDevice GD32 SoCs
* Added Flash support for NXP LPCXpresso55S36.
* Added Flash support for NXP MIMXRT595 EVK.
* Added on-chip flash driver for TI CC13xx/CC26xx.
* Fixed flash to flash write for Telink B91.
* Fixed DMA priority configuration in the stm32 QSPI driver.
* Drivers are enabled by default based on their devicetree hardware declarations.
* Fixed write from unaligned source for STM32G0x.
* Added Flash support for Renesas Smartbond platform.
* Added Flash support for Cadence QSPI NOR FLASH.
* Fixed usage fault on nRF driver (along with BLE) due to possible incorrect handling of the ticker stop operation.
* GPIO
* Added GPIO driver for Renesas Smartbond platform.
* I2C
* Terminology updated to latest i2c specification removing master/slave
terminology and replacing with controller/target terminology.
* Asynchronous APIs added for requesting i2c transactions without
waiting for the completion of them.
* Added NXP LPI2C driver asynchronous i2c implementation with sample
showing usage with a FRDM-K64F board.
* STM32: support for second target address was added.
* Kconfig depends on improvements with device tree statuses.
* Improved ITE I2C support with FIFO and command queue mode.
* Improve gd32 driver stability (remove repeated START, use STOP + START conditions instead).
* Fixed gd32 driver incorrect Fast-mode config.
* Add bus recovery support to the NXP MCUX LPI2C driver.
* Enable I2C support on NXP MIMXRT595 EVK.
* I2S
* Removed the Intel S1000 I2S driver.
* I3C
* Added a driver to support the NXP MCUX I3C hardware acting as the primary controller
on the bus (tested using RT685).
* IEEE 802.15.4
* All IEEE 802.15.4 drivers have been converted to Devicetree-based drivers.
* Atmel AT86RF2xx: Add Power Table on devicetree.
* Atmel AT86RF2xx: Add support to RF212/212B Sub-Giga devices.
* Interrupt Controller
* Added support for ACE V1X.
* Fixed an addressing issue on GICv3 controllers.
* Removed support for ``intel_s1000_crb``.
* IPM
* Kconfig is split into smaller, vendor oriented files.
* Support for Intel S1000 in cAVS IDC driver has been removed as the board
``intel_s1000_crb`` has been removed.
* KSCAN
* Enabled the touch panel on the NXP MIMXRT1170 EVK.
* LED
* Added support for using multiple instances of LP5562 LED module.
* Devicetree usage cleanups.
* i2c_dt_spec migration.
* Updated LED PWM support for ESP32 boards.
* LoRa
* Added support for setting the sync-word and iq-inverted modes in LoRa modems.
* Removed ``REQUIRES_FULL_LIBC`` library dependency from LoRa drivers. This
results in considerable flash memory savings.
* Devicetree usage cleanups.
* MEMC
* Added support for Atmel SAM SMC/EBI.
* PCIE
* Added a ``dump`` subcommand to the ``pcie`` shell command to print out
the first 16 configuration space registers.
* Added a ``ls`` subcommand to the ``pcie`` shell command to list
devices.
* PECI
* Added PECI driver for Nuvoton NPCX family.
* Devicetree binding for ITE it8xxx2 PECI driver has changed from
``ite,peci-it8xxx2`` to :dtcompatible:`ite,it8xxx2-peci` so that this aligns
with other ITE devices.
* Pin control
* Added driver for Infineon XMC4XXX.
* Added driver for Renesas Smartbond platform.
* Added driver for Xilinx Zynq-7000.
* Added support for PSL pads in NPCX driver.
* MEC15XX driver now supports both MEC15XX and MEC17XX.
* nRF driver now supports disconnecting a pin by using ``NRF_PSEL_DISCONNECT``.
* nRF driver will use S0D1 drive mode for TWI/TWIM pins by default.
* PWM
* Added PWM driver for Renesas R-Car platform.
* Added PWM driver for Raspberry Pi Pico series.
* Added PWM support for NXP LPC55S36.
* Added MCPWM support for ESP32 boards.
* Fixed the nRF PWM driver to properly handle cases where PWM generation is
used for some channels while some others are set to a constant level (active
or inactive), e.g. when the LED driver API is used to turn off a PWM driven
LED while another one (within the same PWM instance) is blinking.
* Power Domain
* Enabled access to the PMIC on NXP MXRT595 EVK.
* Added soft off mode to the RT10xx Power Management.
* Added support for power gating for Intel ADSP devices.
* Reset
* Added driver for GigaDevice GD32 SoCs.
* SDHC
* Added SDHC driver for NXP LPCXpresso platform.
* Added support for card busy signal in SDHC SPI driver, to support
the :ref:`File System API <file_system_api>`.
* Sensor
* Converted drivers to use Kconfig 'select' instead of 'depends on' for I2C,
SPI, and GPIO dependencies.
* Converted drivers to use I2C, SPI, and GPIO dt_spec helpers.
* Added multi-instance support to various drivers.
* Added DS18B20 1-wire temperature sensor driver.
* Added Wrth Elektronik WSEN-HIDS driver.
* Fixed unit conversion in the ADXL345 driver.
* Fixed TTE and TTF time units in the MAX17055 driver.
* Removed MPU9150 passthrough support from the AK8975 driver.
* Changed the FXOS8700 driver default mode from accel-only to hybrid.
* Enhanced the ADXL345 driver to support SPI.
* Enhanced the BQ274XX driver to support the data ready interrupt trigger.
* Enhanced the INA237 driver to support triggered mode.
* Enhanced the LPS22HH driver to support being on an I3C bus.
* Enhanced the MAX17055 driver to support VFOCV.
* Serial
* Added serial driver for Renesas Smartbond platform.
* The STM32 driver now allows to use serial device as stop mode wake up source.
* Added check for clock control device readiness during configuration
for various drivers.
* Various fixes on ``lpuart``.
* Added a workaround on bytes dropping on ``nrfx_uarte``.
* Fixed compilation error on ``uart_pl011`` when interrupt is disabled.
* Added power management support on ``stm32``.
* ``xlnx_ps`` has moved to using ``DEVICE_MMIO`` API.
* ``gd32`` now supports using reset API to reset hardware and clock
control API to enable UART clock.
* SPI
* Add interrupt-driven mode support for gd32 driver.
* Enable SPI support on NXP MIMXRT595 EVK.
* PL022: Added SPI driver for the PL022 peripheral.
* Timer
* STM32 LPTIM based timer should now be configured using device tree.
* USB
* Restructured the NXP MCUX USB driver.
* Added USB support for NXP MXRT595.
* Fixed detach behavior in nRF USBD and Atmel SAM drivers.
* W1
* Added Zephyr-Serial 1-Wire master driver.
* Added DS2484 1-Wire master driver. See the :dtcompatible:`maxim,ds2484`
devicetree binding for more information.
* Added DS2485 1-Wire master driver. See the :dtcompatible:`maxim,ds2485`
devicetree binding for more information.
* Introduced a shell module for 1-Wire.
* Watchdog
* Added support for Raspberry Pi Pico watchdog.
* Added watchdog support on NXP MIMXRT595 EVK.
* WiFi
* Added ESP32 WiFi integration to Wi-Fi API management.
Networking
**********
* CoAP:
* Replaced constant CoAP retransmission count and acknowledgment random factor
with configurable :kconfig:option:`CONFIG_COAP_ACK_RANDOM_PERCENT` and
:kconfig:option:`CONFIG_COAP_MAX_RETRANSMIT`.
* Updated :c:func:`coap_packet_parse` and :c:func:`coap_handle_request` to
return different error code based on the reason of parsing error.
* Ethernet:
* Added EAPoL and IEEE802154 Ethernet protocol types.
* HTTP:
* Improved API documentation.
* LwM2M:
* Moved LwM2M 1.1 support out of experimental.
* Refactored SenML-JSON and JSON encoder/decoder to use Zephyr's JSON library
internally.
* Extended LwM2M shell module with the following commands: ``exec``, ``read``,
``write``, ``start``, ``stop``, ``update``, ``pause``, ``resume``.
* Refactored LwM2M engine module into smaller sub-modules: LwM2M registry,
LwM2M observation, LwM2M message handling.
* Added an implementation of the LwM2M Access Control object (object ID 2).
* Added support for LwM2M engine pause/resume.
* Improved API documentation of the LwM2M engine.
* Improved thread safety of the LwM2M library.
* Added :c:func:`lwm2m_registry_lock` and :c:func:`lwm2m_registry_unlock`
functions, which allow to update multiple resources w/o sending a
notification for every update.
* Multiple minor fixes/improvements.
* Misc:
* ``CONFIG_NET_CONFIG_IEEE802154_DEV_NAME`` has been removed in favor of
using a Devicetree choice given by ``zephyr,ieee802154``.
* Fixed net_pkt leak with shallow clone.
* Fixed websocket build with :kconfig:option:`CONFIG_POSIX_API`.
* Extracted zperf shell commands into a library.
* Added support for building and using IEEE 802.15.4 L2 without IP support.
* General clean up of inbound packet handling.
* Added support for restarting DHCP w/o randomized delay.
* Fixed a bug, where only one packet could be queued on a pending ARP
request.
* OpenThread:
* Moved OpenThread glue code into ``modules`` directory.
* Fixed OpenThread build with :kconfig:option:`CONFIG_NET_MGMT_EVENT_INFO`
disabled.
* Fixed mbed TLS configuration for Service Registration Protocol (SRP)
OpenThread feature.
* Added Kconfig option to enable Thread 1.3 support
(:kconfig:option:`CONFIG_OPENTHREAD_THREAD_VERSION_1_3`).
* Updated :c:func:`otPlatSettingsSet` according to new API documentation.
* Added new Kconfig options:
* :kconfig:option:`CONFIG_OPENTHREAD_MESSAGE_BUFFER_SIZE`
* :kconfig:option:`CONFIG_OPENTHREAD_MAC_STAY_AWAKE_BETWEEN_FRAGMENTS`
* Sockets:
* Fixed filling of the address structure provided in :c:func:`recvfrom` for
packet socket.
* Fixed a potential deadlock in TCP :c:func:`send` call.
* Added support for raw 802.15.4 packet socket.
* TCP:
* Added support for Nagle's algorithm.
* Added "Silly Window Syndrome" avoidance.
* Fixed MSS calculation.
* Avoid unnecessary packet cloning on the RX path.
* Implemented randomized retransmission timeouts and exponential backoff.
* Fixed out-of-order data processing.
* Implemented fast retransmit algorithm.
* Multiple minor fixes/improvements.
* Wi-Fi
* Added support for using offloaded wifi_mgmt API with native network stack.
* Extended Wi-Fi headers with additional Wi-Fi parameters (security, bands,
modes).
* Added new Wi-Fi management APIs for retrieving status and statistics.
USB
***
* Minor bug fixes and improvements in class implementations CDC ACM, DFU, and MSC.
Otherwise no significant changes.
Devicetree
**********
* Use of the devicetree *label property* has been deprecated, and the property
has been made optional in almost all bindings throughout the tree.
In previous versions of zephyr, label properties like this commonly appeared
in devicetree files:
.. code-block:: dts
foo {
label = "FOO";
/* ... */
};
You could then use something like the following to retrieve a device
structure for use in the :ref:`device_model_api`:
.. code-block:: c
const struct device *my_dev = device_get_binding("FOO");
if (my_dev == NULL) {
/* either device initialization failed, or no such device */
} else {
/* device is ready for use */
}
This approach has multiple problems.
First, it incurs a runtime string comparison over all devices in the system
to look up each device, which is inefficient since devices are statically
allocated and known at build time. Second, missing devices due to
misconfigured device drivers could not easily be distinguished from device
initialization failures, since both produced ``NULL`` return values from
``device_get_binding()``. This led to frequent confusion. Third, the
distinction between the label property and devicetree *node labels* -- which
are different despite the similar terms -- was a frequent source of user
confusion, especially since either one can be used to retrieve device
structures.
Instead of using label properties, you should now generally be using node
labels to retrieve devices instead. Node labels look like the ``lbl`` token
in the following devicetree:
.. code-block:: dts
lbl: foo {
/* ... */
};
and you can retrieve the device structure pointer like this:
.. code-block:: c
/* If the next line causes a build error, then there
* is no such device. Either fix your devicetree or make sure your
* device driver is allocating a device. */
const struct device *my_dev = DEVICE_DT_GET(DT_NODELABEL(lbl));
if (!device_is_ready(my_dev)) {
/* device exists, but it failed to initialize */
} else {
/* device is ready for use */
}
As shown in the above snippet, :c:macro:`DEVICE_DT_GET` should generally be
used instead of ``device_get_binding()`` when getting device structures from
devicetree nodes. Note that you can pass ``DEVICE_DT_GET`` any devicetree
:ref:`node identifier <dt-node-identifiers>` -- you don't have to use
:c:macro:`DT_NODELABEL`, though it is usually convenient to do so.
* Support for devicetree "fixups" was removed. For more details, see `commit
b2520b09a7
<path_to_url`_
* :ref:`devicetree_api`
* All devicetree macros now recursively expand their arguments. This means
that in the following example, ``INDEX`` is always replaced with the number
``3`` for any hypothetical devicetree macro ``DT_FOO()``:
.. code-block:: c
#define INDEX 3
int foo = DT_FOO(..., INDEX)
Previously, devicetree macro arguments were expanded or not on a
case-by-case basis. The current behavior ensures you can always rely on
macro expansion when using devicetree APIs.
* New API macros:
* :c:macro:`DT_FIXED_PARTITION_EXISTS`
* :c:macro:`DT_FOREACH_CHILD_SEP_VARGS`
* :c:macro:`DT_FOREACH_CHILD_SEP`
* :c:macro:`DT_FOREACH_CHILD_STATUS_OKAY_SEP_VARGS`
* :c:macro:`DT_FOREACH_CHILD_STATUS_OKAY_SEP`
* :c:macro:`DT_FOREACH_NODE`
* :c:macro:`DT_FOREACH_STATUS_OKAY_NODE`
* :c:macro:`DT_INST_CHILD`
* :c:macro:`DT_INST_FOREACH_CHILD_SEP_VARGS`
* :c:macro:`DT_INST_FOREACH_CHILD_SEP`
* :c:macro:`DT_INST_FOREACH_CHILD_STATUS_OKAY_SEP_VARGS`
* :c:macro:`DT_INST_FOREACH_CHILD_STATUS_OKAY_SEP`
* :c:macro:`DT_INST_FOREACH_CHILD_STATUS_OKAY_VARGS`
* :c:macro:`DT_INST_FOREACH_CHILD_STATUS_OKAY`
* :c:macro:`DT_INST_STRING_TOKEN_BY_IDX`
* :c:macro:`DT_INST_STRING_TOKEN`
* :c:macro:`DT_INST_STRING_UPPER_TOKEN_BY_IDX`
* :c:macro:`DT_INST_STRING_UPPER_TOKEN_OR`
* :c:macro:`DT_INST_STRING_UPPER_TOKEN`
* :c:macro:`DT_NODE_VENDOR_BY_IDX_OR`
* :c:macro:`DT_NODE_VENDOR_BY_IDX`
* :c:macro:`DT_NODE_VENDOR_HAS_IDX`
* :c:macro:`DT_NODE_VENDOR_OR`
* :c:macro:`DT_STRING_TOKEN_BY_IDX`
* :c:macro:`DT_STRING_UPPER_TOKEN_BY_IDX`
* :c:macro:`DT_STRING_UPPER_TOKEN_OR`
* Deprecated macros:
* ``DT_LABEL(node_id)``: use ``DT_PROP(node_id, label)`` instead. This is
part of the general deprecation of the label property described at the
top of this section.
* ``DT_INST_LABEL(inst)``: use ``DT_INST_PROP(inst, label)`` instead.
* ``DT_BUS_LABEL(node_id)``: use ``DT_PROP(DT_BUS(node_id), label))`` instead.
* ``DT_INST_BUS_LABEL(node_id)``: use ```DT_PROP(DT_INST_BUS(inst),
label)`` instead. Similar advice applies for the rest of the following
deprecated macros: if you need to access a devicetree node's label
property, do so explicitly using another property access API macro.
* ``DT_GPIO_LABEL_BY_IDX()``
* ``DT_GPIO_LABEL()``
* ``DT_INST_GPIO_LABEL_BY_IDX()``
* ``DT_INST_GPIO_LABEL()``
* ``DT_SPI_DEV_CS_GPIOS_LABEL()``
* ``DT_INST_SPI_DEV_CS_GPIOS_LABEL()``
* ``DT_CHOSEN_ZEPHYR_FLASH_CONTROLLER_LABEL``
* Bindings
* The :ref:`bus <dt-bindings-bus>` key in a bindings file can now be a list
of strings as well as a string. This allows a single node to declare that
it represents hardware which can communicate over multiple bus protocols.
The primary use case is simultaneous support for I3C and I2C buses in the
same nodes, with the base bus definition provided in
:zephyr_file:`dts/bindings/i3c/i3c-controller.yaml`.
* New:
* :dtcompatible:`adi,adxl345`
* :dtcompatible:`altr,nios2-qspi-nor`
* :dtcompatible:`altr,nios2-qspi`
* :dtcompatible:`andestech,atciic100`
* :dtcompatible:`andestech,atcpit100`
* :dtcompatible:`andestech,machine-timer`
* :dtcompatible:`andestech,atcspi200`
* :dtcompatible:`arduino-mkr-header`
* :dtcompatible:`arm,armv6m-systick`
* :dtcompatible:`arm,armv7m-itm`
* :dtcompatible:`arm,armv7m-systick`
* :dtcompatible:`arm,armv8.1m-systick`
* :dtcompatible:`arm,armv8m-itm`
* :dtcompatible:`arm,armv8m-systick`
* :dtcompatible:`arm,beetle-syscon`
* :dtcompatible:`arm,pl022`
* :dtcompatible:`aspeed,ast10x0-clock`
* :dtcompatible:`atmel,at24mac402`
* :dtcompatible:`atmel,ataes132a`
* :dtcompatible:`atmel,sam-smc`
* :dtcompatible:`atmel,sam4l-flashcalw-controller`
* :dtcompatible:`atmel,saml2x-gclk`
* :dtcompatible:`atmel,saml2x-mclk`
* :dtcompatible:`cdns,qspi-nor`
* :dtcompatible:`espressif,esp32-ipm`
* :dtcompatible:`espressif,esp32-mcpwm`
* :dtcompatible:`espressif,esp32-pcnt`
* :dtcompatible:`espressif,esp32-rtc-timer`
* :dtcompatible:`espressif,esp32-timer`
* :dtcompatible:`espressif,esp32-twai`
* :dtcompatible:`espressif,esp32-usb-serial`
* :dtcompatible:`espressif,esp32-wifi`
* :dtcompatible:`gd,gd32-adc`
* :dtcompatible:`gd,gd32-cctl`
* :dtcompatible:`gd,gd32-dma`
* :dtcompatible:`gd,gd32-flash-controller`
* :dtcompatible:`gd,gd32-rcu`
* :dtcompatible:`goodix,gt911`
* :dtcompatible:`infineon,xmc4xxx-gpio`
* :dtcompatible:`infineon,xmc4xxx-pinctrl`
* :dtcompatible:`intel,ace-art-counter`
* :dtcompatible:`intel,ace-intc`
* :dtcompatible:`intel,ace-rtc-counter`
* :dtcompatible:`intel,ace-timestamp`
* :dtcompatible:`intel,adsp-gpdma` (formerly ``intel,cavs-gpdma``)
* :dtcompatible:`intel,adsp-hda-host-in` (formerly ``intel,cavs-hda-host-in``)
* :dtcompatible:`intel,adsp-hda-host-out` (formerly ``intel,cavs-hda-host-out``)
* :dtcompatible:`intel,adsp-hda-link-in` (formerly ``intel,cavs-hda-link-in``)
* :dtcompatible:`intel,adsp-hda-link-out` (formerly ``intel,cavs-hda-link-out``)
* :dtcompatible:`intel,adsp-host-ipc`
* :dtcompatible:`intel,adsp-idc` (formerly ``intel,cavs-idc``)
* :dtcompatible:`intel,adsp-imr`
* :dtcompatible:`intel,adsp-lps`
* :dtcompatible:`intel,adsp-mtl-tlb`
* :dtcompatible:`intel,adsp-power-domain`
* :dtcompatible:`intel,adsp-shim-clkctl`
* :dtcompatible:`intel,agilex-clock`
* :dtcompatible:`intel,alh-dai`
* :dtcompatible:`intel,multiboot-framebuffer`
* :dtcompatible:`ite,it8xxx2-peci` (formerly ``ite,peci-it8xxx2``)
* :dtcompatible:`maxim,ds18b20`
* :dtcompatible:`maxim,ds2484`
* :dtcompatible:`maxim,ds2485`
* :dtcompatible:`maxim,max7219`
* :dtcompatible:`microchip,mpfs-gpio`
* :dtcompatible:`microchip,xec-eeprom`
* :dtcompatible:`microchip,xec-espi`
* :dtcompatible:`microchip,xec-i2c`
* :dtcompatible:`microchip,xec-qmspi`
* :dtcompatible:`neorv32-machine-timer`
* :dtcompatible:`nordic,nrf-ieee802154`
* :dtcompatible:`nuclei,systimer`
* :dtcompatible:`nuvoton,npcx-leakage-io`
* :dtcompatible:`nuvoton,npcx-peci`
* :dtcompatible:`nuvoton,npcx-power-psl`
* :dtcompatible:`nxp,gpt-hw-timer`
* :dtcompatible:`nxp,iap-fmc11`
* :dtcompatible:`nxp,imx-caam`
* :dtcompatible:`nxp,kw41z-ieee802154`
* :dtcompatible:`nxp,lpc-rtc`
* :dtcompatible:`nxp,lpc-sdif`
* :dtcompatible:`nxp,mcux-i3c`
* :dtcompatible:`nxp,os-timer`
* :dtcompatible:`panasonic,reduced-arduino-header`
* :dtcompatible:`raspberrypi,pico-adc`
* :dtcompatible:`raspberrypi,pico-pwm`
* :dtcompatible:`raspberrypi,pico-spi`
* :dtcompatible:`raspberrypi,pico-watchdog`
* :dtcompatible:`renesas,pwm-rcar`
* :dtcompatible:`renesas,r8a7795-cpg-mssr` (formerly ``renesas,rcar-cpg-mssr``)
* :dtcompatible:`renesas,smartbond-flash-controller`
* :dtcompatible:`renesas,smartbond-gpio`
* :dtcompatible:`renesas,smartbond-pinctrl`
* :dtcompatible:`renesas,smartbond-uart`
* :dtcompatible:`sifive,clint0`
* :dtcompatible:`sifive,e24` (formerly ``riscv,sifive-e24``)
* :dtcompatible:`sifive,e31` (formerly ``riscv,sifive-e31``)
* :dtcompatible:`sifive,e51` (formerly ``riscv,sifive-e51``)
* :dtcompatible:`sifive,s7` (formerly ``riscv,sifive-s7``)
* :dtcompatible:`silabs,gecko-semailbox`
* :dtcompatible:`snps,arc-iot-sysconf`
* :dtcompatible:`snps,arc-timer`
* :dtcompatible:`snps,archs-ici`
* :dtcompatible:`st,stm32-vbat`
* :dtcompatible:`st,stm32g0-hsi-clock`
* :dtcompatible:`st,stm32h7-spi`
* :dtcompatible:`st,stm32u5-dma`
* :dtcompatible:`starfive,jh7100-clint`
* :dtcompatible:`telink,b91-adc`
* :dtcompatible:`telink,machine-timer`
* :dtcompatible:`ti,ads1119`
* :dtcompatible:`ti,cc13xx-cc26xx-flash-controller`
* :dtcompatible:`ti,cc13xx-cc26xx-ieee802154-subghz`
* :dtcompatible:`ti,cc13xx-cc26xx-ieee802154`
* :dtcompatible:`ti,sn74hc595`
* :dtcompatible:`ultrachip,uc8176`
* :dtcompatible:`ultrachip,uc8179`
* :dtcompatible:`xen,hvc-uart`
* :dtcompatible:`xen,xen-4.15`
* :dtcompatible:`xlnx,pinctrl-zynq`
* :dtcompatible:`zephyr,coredump`
* :dtcompatible:`zephyr,ieee802154-uart-pipe`
* :dtcompatible:`zephyr,native-posix-counter`
* ``zephyr,native-posix-linux-can``
* :dtcompatible:`zephyr,sdl-kscan`
* :dtcompatible:`zephyr,sdmmc-disk`
* :dtcompatible:`zephyr,w1-serial`
* :ref:`pinctrl-guide` support added via new ``pinctrl-0``, etc. properties:
* :dtcompatible:`microchip,xec-qmspi`
* :dtcompatible:`infineon,xmc4xxx-uart`
* :dtcompatible:`nxp,lpc-mcan`
* :dtcompatible:`xlnx,xuartps`
* Other changes:
* Analog Devices parts:
* :dtcompatible:`adi,adxl372`: new properties as part of a general conversion
of the associated upstream driver to support multiple instances.
* :dtcompatible:`adi,adxl362`: new ``wakeup-mode``, ``autosleep`` properties.
* Atmel SoCs:
* :dtcompatible:`atmel,rf2xx`: new ``channel-page``, ``tx-pwr-table``,
``tx-pwr-min``, ``tx-pwr-max`` properties.
* GMAC: new ``mac-eeprom`` property.
* Espressif SoCs:
* :dtcompatible:`espressif,esp32-i2c`: the ``sda-pin`` and ``scl-pin``
properties are now ``scl-gpios`` and ``sda-gpios``.
* :dtcompatible:`espressif,esp32-ledc`: device configuration moved to
devicetree via a new child binding.
* :dtcompatible:`espressif,esp32-pinctrl`: this now uses pin groups.
* :dtcompatible:`espressif,esp32-spi`: new ``use-iomux`` property.
* :dtcompatible:`espressif,esp32-usb-serial`: removed ``peripheral``
property.
* GigaDevice SoCs:
* Various peripheral bindings have had their SoC-specific
``rcu-periph-clock`` properties replaced with the standard ``clocks``
property as part of driver changes associated with the new
:dtcompatible:`gd,gd32-cctl` clock controller binding:
* :dtcompatible:`gd,gd32-afio`
* :dtcompatible:`gd,gd32-dac`
* :dtcompatible:`gd,gd32-gpio`
* :dtcompatible:`gd,gd32-i2c`
* :dtcompatible:`gd,gd32-pwm`
* :dtcompatible:`gd,gd32-spi`
* :dtcompatible:`gd,gd32-syscfg`
* :dtcompatible:`gd,gd32-timer`
* :dtcompatible:`gd,gd32-usart`
* Similarly, various GigaDevice peripherals now support the standard
``resets`` property as part of related driver changes to support
resetting the peripheral state before initialization via the
:dtcompatible:`gd,gd32-rcu` binding:
* :dtcompatible:`gd,gd32-dac`
* :dtcompatible:`gd,gd32-gpio`
* :dtcompatible:`gd,gd32-i2c`
* :dtcompatible:`gd,gd32-pwm`
* :dtcompatible:`gd,gd32-spi`
* :dtcompatible:`gd,gd32-usart`
* Intel SoCs:
* :dtcompatible:`intel,adsp-tlb`:
new ``paddr-size``, ``exec-bit-idx``, ``write-bit-idx`` properties.
* :dtcompatible:`intel,adsp-shim-clkctl`: new ``wovcro-supported`` property.
* Removed ``intel,dmic`` binding.
* Removed ``intel,s1000-pinmux`` binding.
* Nordic SoCs:
* :dtcompatible:`nordic,nrf-pinctrl`: ``NRF_PSEL_DISCONNECTED`` can be used
to disconnect a pin.
* :dtcompatible:`nordic,nrf-spim`: new ``rx-delay-supported``,
``rx-delay`` properties.
* :dtcompatible:`nordic,nrf-spim`, :dtcompatible:`nordic,nrf-spi`: new
``overrun-character``, ``max-frequency``, ``memory-region``,
``memory-region-names`` properties.
* :dtcompatible:`nordic,nrf-uarte`: new ``memory-region``,
``memory-region-names`` properties.
* Various bindings have had ``foo-pin`` properties deprecated. For
example, :dtcompatible:`nordic,nrf-qspi` has a deprecated ``sck-pin``
property. Uses of such properties should be replaced with pinctrl
equivalents; see :dtcompatible:`nordic,nrfpinctrl`.
* Nuvoton SoCs:
* :dtcompatible:`nuvoton,npcx-leakage-io`: new ``lvol-maps`` property.
* :dtcompatible:`nuvoton,npcx-scfg`: removed ``io_port``, ``io_bit``
cells in ``lvol_cells`` specifiers.
* Removed: ``nuvoton,npcx-lvolctrl-def``, ``nuvoton,npcx-psl-out``,
``nuvoton,npcx-pslctrl-conf``, ``nuvoton,npcx-pslctrl-def``.
* Added pinctrl support for PSL (Power Switch Logic) pads.
* NXP SoCs:
* :dtcompatible:`nxp,imx-pwm`: new ``run-in-wait``, ``run-in-debug`` properties.
* :dtcompatible:`nxp,lpc-spi`: new ``def-char`` property.
* :dtcompatible:`nxp,lpc-iocon-pinctrl`: new ``nxp,analog-alt-mode`` property.
* removed deprecated ``nxp,lpc-iap`` binding.
* :dtcompatible:`nxp,imx-csi`: new ``sensor`` property replacing the
``sensor-label`` property.
* :dtcompatible:`nxp,imx-lpi2c`: new ``scl-gpios``, ``sda-gpios`` properties.
* STM32 SoCs:
* :dtcompatible:`st,stm32-adc`: new ``has-vbat-channel`` property.
* :dtcompatible:`st,stm32-can`: removed ``one-shot`` property.
* :dtcompatible:`st,stm32-fdcan`: new ``clocks``, ``clk-divider`` properties.
* :dtcompatible:`st,stm32-ospi`: new ``dmas``, ``dma-names`` properties.
* :dtcompatible:`st,stm32-ospi-nor`: new ``four-byte-opcodes``,
``writeoc`` properties; new enum values ``2`` and ``4`` in
``spi-bus-width`` property.
* :dtcompatible:`st,stm32-pwm`: removed deprecated ``st,prescaler`` property.
* :dtcompatible:`st,stm32-rng`: new ``nist-config`` property.
* :dtcompatible:`st,stm32-sdmmc`: new ``dmas``, ``dma-names``,
``bus-width`` properties.
* :dtcompatible:`st,stm32-temp-cal`: new ``ts-cal-resolution`` property;
removed ``ts-cal-offset`` property.
* :dtcompatible:`st,stm32u5-pll-clock`: new ``div-p`` property.
* temperature sensor bindings no longer have a ``ts-voltage-mv`` property.
* UART bindings: new ``wakeup-line`` properties.
* Texas Instruments parts:
* :dtcompatible:`ti,ina237`: new ``alert-config``, ``irq-gpios`` properties.
* :dtcompatible:`ti,bq274xx`: new ``zephyr,lazy-load`` property.
* Ultrachip UC81xx displays:
* The ``gooddisplay,gd7965`` binding was removed in favor of new
UltraChip device-specific bindings (see list of new ``ultrachip,...``
bindings above). Various required properties in the removed binding are
now optional in the new bindings.
* New ``pll``, ``vdcs``, ``lutc``, ``lutww``, ``lutkw``, ``lutwk``,
``lutkk``, ``lutbd``, ``softstart`` properties. Full and partial
refresh profile support. The ``pwr`` property is now part of the child
binding.
* Zephyr-specific bindings:
* :dtcompatible:`zephyr,bt-hci-spi`: new ``reset-assert-duration-ms`` property.
* removed ``zephyr,ipm-console`` binding.
* :dtcompatible:`zephyr,ipc-openamp-static-vrings`: new
``zephyr,buffer-size`` property.
* :dtcompatible:`zephyr,memory-region`: new ``PPB`` and ``IO`` region support.
* :dtcompatible:`infineon,xmc4xxx-uart`: new ``input-src`` property.
* WSEN-HIDS sensors: new ``drdy-gpios``, ``odr`` properties.
* :dtcompatible:`sitronix,st7789v`: ``cmd-data-gpios`` is now optional.
* :dtcompatible:`solomon,ssd16xxfb`: new ``dummy-line``,
``gate-line-width`` properties. The ``gdv``, ``sdv``, ``vcom``, and
``border-waveform`` properties are now optional.
* ``riscv,clint0`` removed; all in-tree users were converted to
``sifive,clint0`` or derived bindings.
* :dtcompatible:`worldsemi,ws2812-spi`: SPI bindings have new ``spi-cpol``,
``spi-cpha`` properties.
* :dtcompatible:`ns16550`: ``reg-shift`` is now required.
* Removed ``reserved-memory`` binding.
* Implementation details
* The generated devicetree header file placed in the build directory was
renamed from ``devicetree_unfixed.h`` to ``devicetree_generated.h``.
* The generated ``device_extern.h`` has been replaced using
``DT_FOREACH_STATUS_OKAY_NODE``. See `commit
0224f2c508df154ffc9c1ecffaf0b06608d6b623
<path_to_url`_
Libraries / Subsystems
**********************
* C Library
* Added Picolibc as a Zephyr module. Picolibc module is a footprint-optimized
full C standard library implementation that is configurable at the build
time.
* C library heap initialization call has been moved from the ``APPLICATION``
phase to the ``POST_KERNEL`` phase to allow calling the libc dynamic memory
management functions (e.g. ``malloc()``) during the application
initialization phase.
* Added ``strerror()`` and ``strerror_r()`` functions to the minimal libc.
* Removed architecture-specific ``off_t`` type definition in the minimal
libc. ``off_t`` is now defined as ``intptr_t`` regardless of the selected
architecture.
* C++ Subsystem
* Added ``std::ptrdiff_t``, ``std::size_t``, ``std::max_align_t`` and
``std::nullptr_t`` type definitions to the C++ subsystem ``cstddef``
header.
* Renamed global constructor list symbols to prevent the native POSIX host
runtime from executing the constructors before Zephyr loads.
* Cbprintf
* Updated cbprintf static packaging to interpret ``unsigned char *`` as a pointer
to a string. See :ref:`cbprintf_packaging_limitations` for more details about
how to efficienty use strings. Change mainly applies to the ``logging`` subsystem
since it uses this feature.
* Emul
* Added :c:macro:`EMUL_DT_DEFINE` and :c:macro:`EMUL_DT_INST_DEFINE` to mirror
:c:macro:`DEVICE_DT_DEFINE` and :c:macro:`DEVICE_DT_INST_DEFINE` respectively.
* Added :c:macro:`EMUL_DT_GET` to mirror :c:macro:`DEVICE_DT_GET`.
* Removed the need to manually register emulators in their init function (automatically done).
* Filesystem
* Added cash used to reduce the NVS data lookup time, see
:kconfig:option:`CONFIG_NVS_LOOKUP_CACHE` option.
* Changing mkfs options to create FAT32 on larger storage when FAT16 fails.
* Added :kconfig:option:`CONFIG_FS_FATFS_MIN_SS` that allows to set
minimal expected sector size to be supported.
* Management
* MCUMGR race condition when using the task status function whereby if a
thread state changed it could give a falsely short process list has been
fixed.
* MCUMGR shell (group 9) CBOR structure has changed, the ``rc``
response is now only used for mcumgr errors, shell command
execution result codes are instead returned in the ``ret``
variable instead, see :ref:`mcumgr_smp_group_9` for updated
information. Legacy behaviour can be restored by enabling
:kconfig:option:`CONFIG_MCUMGR_CMD_SHELL_MGMT_LEGACY_RC_RETURN_CODE`.
* MCUMGR img_mgmt erase command now accepts an optional slot number
to select which image will be erased, using the ``slot`` input
(will default to slot 1 if not provided).
* MCUMGR :kconfig:option:`CONFIG_OS_MGMT_TASKSTAT_SIGNED_PRIORITY` is now
enabled by default, this makes thread priorities in the taskstat command
signed, which matches the signed priority of tasks in Zephyr, to revert
to previous behaviour of using unsigned values, disable this Kconfig.
* MCUMGR taskstat runtime field support has been added, if
:kconfig:option:`CONFIG_OS_MGMT_TASKSTAT` is enabled, which will report the
number of CPU cycles have been spent executing the thread.
* MCUMGR transport API drops ``zst`` parameter, of :c:struct:`zephyr_smp_transport`
type, from :c:func:`zephyr_smp_transport_out_fn` type callback as it has
not been used, and the ``nb`` parameter, of :c:struct:`net_buf` type,
can carry additional transport information when needed.
* A dummy SMP transport has been added which allows for testing MCUMGR
functionality and commands/responses.
* An issue with the UART/shell transports whereby large packets would wrongly
be split up with multiple start-of-frame headers instead of only one has been
fixed.
* SMP now runs in its own dedicated work queue which prevents issues running in
the system workqueue with some transports, e.g. Bluetooth, which previously
caused a deadlock if buffers could not be allocated.
* Bluetooth transport will now reduce the size of packets that are sent if they
are too large for the remote device instead of failing to send them, if the
remote device cannot accept a notification of 20 bytes then the attempt is
aborted.
* Unaligned memory access problems for CPUs that do not support it in MCUMGR
headers has been fixed.
* Groups in MCUMGR now use kernel slist entries rather than the custom MCUMGR
structs for storage.
* Levels of function redirection which were previously used to support multiple
OS's have been reduced to simplify code and reduce output size.
* Bluetooth SMP debug output format specifier has been fixed to avoid a build
warning on native_posix platforms.
* Issue with :c:func:`img_mgmt_dfu_stopped` being wrongly called on success
has been fixed.
* Issue with MCUMGR img_mgmt image erase wrongly returning success during an
error condition has been fixed.
* Unused MCUMGR header files such as mcumgr_util.h have been removed.
* Verbose error response reporting has been fixed and is now present when
enabled.
* Internal SMP functions have been removed from the public smp.h header file
and moved to smp_internal.h
* Kconfig files have been split up and moved to directories containing the
systems they influence.
* MCUMGR img_mgmt image upload over-riding/hiding of result codes has been
fixed.
* Logging
* Removed legacy (v1) implementation and removed any references to the logging
v2.
* Added :c:macro:`LOG_RAW` for logging strings without additional formatting.
It is similar to :c:macro:`LOG_PRINTK` but do not append ``<cr>`` when new line is found.
* Improvements in the ADSP backend.
* File system backend: Only delete old files if necessary.
* IPC
* Introduced a 'zephyr,buffer-size' DT property to set the sizes for TX and
RX buffers per created instance.
* Set WQ priority back to ``PRIO_PREEMPT`` to fix an issue that was starving
the scheduler.
* ``icmsg_buf`` library was renamed to ``spsc_pbuf``.
* Added cache handling support to ``spsc_pbuf``.
* Fixed an issue where the TX virtqueue was misaligned by 2 bytes due to the
way the virtqueue start address is calculated
* Added :c:func:`ipc_service_deregister_endpoint` function to deregister endpoints.
* LoRaWAN
* Added Class-C support.
* Upgraded the loramac-node repository to v4.6.0.
* Moved the ``REQUIRES_FULL_LIBC`` library dependency from LoRa to LoRaWAN.
* Fixed the async reception in SX127x modems.
* Modbus
* Added user data entry for ADU callback.
* Power management
* Allow multiple subscribers to latency changes in the policy manager.
* Added new API to implement suspend-to-RAM (S2RAM). Select
:kconfig:option:`CONFIG_PM_S2RAM` to enable this feature.
* Added :c:func:`pm_device_is_powered` to query a device power state.
* POSIX
* Made ``tz`` non-const in ``gettimeofday()`` for conformance to spec.
* Fixed pthread descriptor resource leak. Previously only pthreads with state
``PTHREAD_TERMINATED`` could be reused. However, ``pthread_join()`` sets
the state to ``PTHREAD_EXITED``. Consider both states as candidates in
``pthread_create()``.
* Added ``perror()`` implementation.
* Used consistent timebase in ``sem_timedwait()``.
* RTIO
* Initial version of an asynchronous task and executor API for I/O similar inspired
by Linux's very successful io_uring.
* Provided a simple linear and limited concurrency executor, simple task queuing,
and the ability to poll for task completions.
* SD Subsystem
* SDMMC STM32: Now compatible with STM32L5 series. Added DMA support for DMA-V1
compatible devices.
* Added support for handling the :c:macro:`DISK_IOCTL_CTRL_SYNC` ioctl call.
this enables the filesystem api :c:func:`fs_sync`.
* Settings
* Added API function :c:func:`settings_storage_get` which allows to get
the storage instance used by the settings backed to store its records.
* Shell
* Added new API function checking shell readiness: :c:func:`shell_ready`.
* Added option to control formatting of the logging timestamp.
* Added missing asserts to the shell api functions.
* MQTT backend: bug fix to handle negative return value of the wait function.
* A new ``backends`` command that lists the name and number of active shell backends.
* Fixed handling mandatory args with optional raw arg.
* Storage
* :c:func:`flash_area_open` returns error if area's flash device is unreachable.
* ``flash_area`` components were reworked so build-time reference to the flash
device is used instead of its name with runtime driver buinding.
* Added ``FIXED_PARTITION_`` macros that move flash_map to use DTS node labels.
* Testsuite
* Added Kconfig support to ``unit_testing`` platform.
* Migrated tests to use :kconfig:option:`CONFIG_ZTEST_NEW_API`.
* Added ztest options for shuffling tests/suites via:
* :kconfig:option:`CONFIG_ZTEST_SHUFFLE`
* :kconfig:option:`CONFIG_ZTEST_SHUFFLE_SUITE_REPEAT_COUNT`
* :kconfig:option:`CONFIG_ZTEST_SHUFFLE_TEST_REPEAT_COUNT`
* Added ztest native_posix command line arguments for running specific tests/suites using
``--test suite_name:*`` or ``--test suite_name::test_name`` command line arguments.
* Storage
* Flash Map API deprecates usage of :c:macro:`FLASH_AREA_` macros and replaces
them with :c:macro:`FIXED_PARTITION_` macros. This follows removal of ``label``
property from DTS nodes.
HALs
****
* Atmel
* sam: Fixed incorrect CIDR values for revision b silicon of SAMV71 devices.
* Espressif
* Updated Espressif HAL with esp-idf 4.4.1 updates.
* Added support to binary blobs implementation.
* Fixed ESP32-C3 wifi issues.
* GigaDevice
* Added support for gd32e50x.
* gd32e10x: upgraded to v1.3.0.
* gd32f4xx: upgraded to v3.0.0.
* NXP
* Updated the NXP MCUX SDK to version 2.12.
* Updated the USB middleware to version 2.12.
* Removed all binary Blobs for power management libraries.
* Removed all binary archive files.
* Nordic
* Updated nrfx to version 2.9.0.
* RPi Pico
* Renamed ``adc_read`` to ``pico_adc_read``, to avoid name collision with Zephyr's API.
* STM32
* stm32cube: update stm32f7 to cube version V1.17.0.
* stm32cube: update stm32g0 to cube version V1.6.1.
* stm32cube: update stm32g4 to cube version V1.5.1.
* stm32cube: update stm32l4 to cube version V1.17.2.
* stm32cube: update stm32u5 to cube version V1.1.1.
* stm32cube: update stm32wb to cube version V1.14.0.
* pinctrl: some pin definitions did not contain the "_c" suffix, used by pins
with analog switch on certain H7 devices.
* TI
* simplelink: cc13x2_cc26x2: include ADC driverlib sources.
* simplelink: cc13x2_cc26x2: include flash driverlib sources.
* cc13x2: kconfig conditions for P variant support & custom RF hwattrs.
* cc13x2_cc26x2: update to TI SimpleLink SDK 4.40.04.04.
MCUboot
*******
* Added initial support for leveraging the RAM-LOAD mode with the zephyr-rtos port.
* Added the MCUboot status callback support.
See :kconfig:option:`CONFIG_MCUBOOT_ACTION_HOOKS`.
* Edited includes to have the ``zephyr/`` prefix.
* Edited the DFU detection's GPIO-pin configuration to be done through DTS using the ``mcuboot-button0`` pin alias.
* Edited the LED usage to prefer DTS' ``mcuboot-led0`` alias over the ``bootloader-led0`` alias.
* Removed :c:func:`device_get_binding()` usage in favor of :c:func:`DEVICE_DT_GET()`.
* Added support for generic `watchdog0` alias.
* Enabled watchdog feed by default.
* Dropped the :kconfig:option:`CONFIG_BOOT_IMAGE_ACCESS_HOOKS_FILE` option.
The inclusion of the Hooks implementation file is now up to the project's customization.
* Switched zephyr port from using ``FLASH_AREA_`` macros to ``FIXED_PARTITION_`` macros.
* Made flash_map_backend.h compatible with a C++ compiler.
* Allowed to get the flash write alignment based on the ``zephyr,flash`` DT chosen node property.
* boot_serial:
* Upgraded from cddl-gen v0.1.0 to zcbor v0.4.0.
* Refactored and optimized the code, mainly in what affects the progressive erase implementation.
* Fixed a compilation issue with the echo command code.
* imgtool:
* Added support for providing a signature through a third party.
Trusted Firmware-M
******************
* Allowed enabling FPU in the application when TF-M is enabled.
* Added option to exclude non-secure TF-M application from build.
* Relocated ``mergehex.py`` to ``scripts/build``.
* Added option for custom reset handlers.
Documentation
*************
Tests and Samples
*****************
* A large number of tests have been reworked to use the new ztest API, see
:ref:`test-framework` for more details. This should be used for newly
introduce tests as well.
* smp_svr Bluetooth overlay (overlay-bt) has been reworked to increase
throughput and enable packet reassembly.
* Added test for the new shell API function: :c:func:`shell_ready`.
Issue Related Items
*******************
Known Issues
============
- :github:`22049` - Bluetooth: IRK handling issue when using multiple local identities
- :github:`25917` - Bluetooth: Deadlock with TX of ACL data and HCI commands (command blocked by data)
- :github:`30348` - XIP can't be enabled with ARC MWDT toolchain
- :github:`31298` - tests/kernel/gen_isr_table failed on hsdk and nsim_hs_smp sometimes
- :github:`33747` - gptp does not work well on NXP rt series platform
- :github:`34269` - LOG_MODE_MINIMAL BUILD error
- :github:`37193` - mcumgr: Probably incorrect error handling with udp backend
- :github:`37731` - Bluetooth: hci samples: Unable to allocate command buffer
- :github:`38041` - Logging-related tests fails on qemu_arc_hs6x
- :github:`38880` - ARC: ARCv2: qemu_arc_em / qemu_arc_hs don't work with XIP disabled
- :github:`38947` - Issue with SMP commands sent over the UART
- :github:`39598` - use of __noinit with ecc memory hangs system
- :github:`40023` - Build fails for ``native_posix`` board when using C++ <atomic> header
- :github:`41606` - stm32u5: Re-implement VCO input and EPOD configuration
- :github:`41622` - Infinite mutual recursion when SMP and ATOMIC_OPERATIONS_C are set
- :github:`41822` - BLE IPSP sample cannot handle large ICMPv6 Echo Request
- :github:`41823` - Bluetooth: Controller: llcp: Remote request are dropped due to lack of free proc_ctx
- :github:`42030` - can: "bosch,m-can-base": Warning "missing or empty reg/ranges property"
- :github:`43099` - CMake: ARCH roots issue
- :github:`43249` - MBEDTLS_ECP_C not build when MBEDTLS_USE_PSA_CRYPTO
- :github:`43308` - driver: serial: stm32: uart will lost data when use dma mode[async mode]
- :github:`43555` - Variables not properly initialized when using data relocation with SDRAM
- :github:`43562` - Setting and/or documentation of Timer and counter use/requirements for Nordic Bluetooth driver
- :github:`43836` - stm32: g0b1: RTT doesn't work properly after stop mode
- :github:`44339` - Bluetooth:controller: Implement support for Advanced Scheduling in refactored LLCP
- :github:`44377` - ISO Broadcast/Receive sample not working with coded PHY
- :github:`44410` - drivers: modem: shell: ``modem send`` doesn't honor line ending in modem cmd handler
- :github:`44948` - cmsis_dsp: transofrm: error during building cf64.fpu and rf64.fpu for mps2_an521_remote
- :github:`45218` - rddrone_fmuk66: I2C configuration incorrect
- :github:`45241` - (Probably) unnecessary branches in several modules
- :github:`45323` - Bluetooth: controller: llcp: Implement handling of delayed notifications in refactored LLCP
- :github:`45427` - Bluetooth: Controller: LLCP: Data structure for communication between the ISR and the thread
- :github:`45814` - Armclang build fails due to missing source file
- :github:`46073` - IPSP (IPv6 over BLE) example stop working after a short time
- :github:`46121` - Bluetooth: Controller: hci: Wrong periodic advertising report data status
- :github:`46126` - pm_device causes assertion error in sched.c with lis2dh
- :github:`46401` - ARM64: Relax 4K MMU mapping alignment
- :github:`46596` - STM32F74X RMII interface does not work
- :github:`46598` - Logging with RTT backend on STM32WB strange behavier
- :github:`46844` - Timer drivers likely have off-by-one in rapidly-presented timeouts
- :github:`46846` - lib: libc: newlib: strerror_r non-functional
- :github:`46986` - Logging (deferred v2) with a lot of output causes MPU fault
- :github:`47014` - can: iso-tp: implementation test failed with twister on nucleo_g474re
- :github:`47092` - driver: nrf: uarte: new dirver breaks our implementation for uart.
- :github:`47120` - shell uart: busy wait for DTR in ISR
- :github:`47477` - qemu_leon3: tests/kernel/fpu_sharing/generic/ failed when migrating to new ztest API
- :github:`47500` - twister: cmake: Failure of "--build-only -M" combined with "--test-only" for --device-testing
- :github:`47607` - Settings with FCB backend does not pass test on stm32h743
- :github:`47732` - Flash map does not fare well with MCU who do bank swaps
- :github:`47817` - samples/modules/nanopb/sample.modules.nanopb fails with protobuf > 3.19.0
- :github:`47908` - tests/kernel/mem_protect/stack_random works unreliably and sporadically fails
- :github:`47988` - JSON parser not consistent on extra data
- :github:`48018` - ztest: static threads are not re-launched for repeated test suite execution.
- :github:`48037` - Grove LCD Sample Not Working
- :github:`48094` - pre-commit scripts fail when there is a space in zephyr_base
- :github:`48102` - JSON parses uses recursion (breaks rule 17.2)
- :github:`48147` - ztest: before/after functions may run on different threads, which may cause potential issues.
- :github:`48287` - malloc_prepare ASSERT happens when enabling newlib libc with demand paging
- :github:`48299` - SHT3XD_CMD_WRITE_TH_LOW_SET should be SHT3XD_CMD_WRITE_TH_LOW_CLEAR
- :github:`48304` - bt_disable() does not work properly on nRF52
- :github:`48390` - [Intel Cavs] Boot failures on low optimization levels
- :github:`48394` - vsnprintfcb writes to ``*str`` if it is NULL
- :github:`48468` - GSM Mux does not transmit all queued data when uart_fifo_fill is called
- :github:`48473` - Setting CONFIG_GSM_MUX_INITIATOR=n results in a compile error
- :github:`48505` - BLE stack can get stuck in connected state despite connection failure
- :github:`48520` - clang-format: #include reorder due to default: SortIncludesOptions != SI_Never
- :github:`48603` - LoRa driver asynchronous receive callback clears data before the callback.
- :github:`48608` - boards: mps2_an385: Unstable system timer
- :github:`48625` - GSM_PPP api keeps sending commands to muxed AT channel
- :github:`48726` - net: tests/net/ieee802154/l2/net.ieee802154.l2 failed on reel board
- :github:`48841` - Bluetooth: df: Assert in lower link layer when requesting CTE from peer periodically with 7.5ms connection interval
- :github:`48850` - Bluetooth: LLCP: possible access to released control procedure context
- :github:`48857` - samples: Bluetooth: Buffer size mismatch in samples/bluetooth/hci_usb for nRF5340
- :github:`48953` - 'intel,sha' is missing binding and usage
- :github:`48954` - several NXP devicetree bindings are missing
- :github:`48992` - qemu_leon3: tests/posix/common/portability.posix.common fails
- :github:`49021` - uart async api does not provide all received data
- :github:`49032` - espi saf testing disabled
- :github:`49069` - log: cdc_acm: hard fault message does not output
- :github:`49148` - Asynchronous UART API triggers Zephyr assertion on STM32WB55
- :github:`49210` - BL5340 board cannot build bluetooth applications
- :github:`49213` - logging.add.log_user test fails when compiled with GCC 12
- :github:`49266` - Bluetooth: Host doesn't seem to handle INCOMPLETE per adv reports
- :github:`49313` - nRF51822 sometimes hard fault on connect
- :github:`49338` - Antenna switching for Bluetooth direction finding with the nRF5340
- :github:`49373` - BLE scanning - BT RX thread hangs on.
- :github:`49390` - shell_rtt thread can starve other threads of the same priority
- :github:`49484` - CONFIG_BOOTLOADER_SRAM_SIZE should not be defined by default
- :github:`49492` - kernel.poll test fails on qemu_arc_hs6x when compiled with GCC 12
- :github:`49494` - testing.ztest.ztress test fails on qemu_cortex_r5 when compiled with GCC 12
- :github:`49584` - STM32WB55 Failed read remote feature, remote version and LE set PHY
- :github:`49588` - Json parser is incorrect with undefined parameter
- :github:`49611` - ehl_crb: Failed to run timer testcases
- :github:`49614` - acrn_ehl_crb: The testcase tests/kernel/sched/schedule_api failed to run.
- :github:`49656` - acrn_ehl_crb: testcases tests/kernel/smp failed to run on v2.7-branch
- :github:`49746` - twister: extra test results
- :github:`49811` - DHCP cannot obtain IP, when CONFIG_NET_VLAN is enabled
- :github:`49816` - ISOTP receive fails for multiple binds with same CAN ID but different extended ID
- :github:`49889` - ctf trace: unknown event id when parsing samples/tracing result on reel board
- :github:`49917` - http_client_req() sometimes hangs when peer disconnects
- :github:`49963` - Random crash on the L475 due to work->handler set to NULL
- :github:`49996` - tests: drivers: clock_control: nrf_lf_clock_start and nrf_onoff_and_bt fails
- :github:`50028` - flash_stm32_ospi Write enable failed when building with TF-M
- :github:`50084` - drivers: nrf_802154: nrf_802154_trx.c - assertion fault when enabling Segger SystemView tracing
- :github:`50095` - ARC revision Kconfigs wrongly mixed with board name
- :github:`50149` - tests: drivers: flash fails on nucleo_l152re because of wrong erase flash size
- :github:`50196` - LSM6DSO interrupt handler not being called
- :github:`50256` - I2C on SAMC21 sends out stop condition incorrectly
- :github:`50306` - Not able to flash stm32h735g_disco - TARGET: stm32h7x.cpu0 - Not halted
- :github:`50345` - Network traffic occurs before Bluetooth NET L2 (IPSP) link setup complete
- :github:`50354` - ztest_new: _zassert_base : return without post processing
- :github:`50404` - Intel CAVS: tests/subsys/logging/log_immediate failed.
- :github:`50427` - Bluetooth: host: central connection context leak
- :github:`50446` - MCUX CAAM is disabled temporarily
- :github:`50452` - mec172xevb_assy6906: The testcase tests/lib/cmsis_dsp/matrix failed to run.
- :github:`50501` - STM32 SPI does not work properly with async + interrupts
- :github:`50506` - nxp,mcux-usbd devicetree binding issues
- :github:`50515` - Non-existing test cases reported as "Skipped" with reason No results captured, testsuite misconfiguration? in test report
- :github:`50546` - drivers: can: rcar: likely inconsistent behavior when calling can_stop() with pending transmissions
- :github:`50554` - Test uart async failed on Nucleo F429ZI
- :github:`50565` - Fatal error after ``west flash`` for nucleo_l053r8
- :github:`50567` - Passed test cases are reported as "Skipped" because of incomplete test log
- :github:`50570` - samples/drivers/can/counter fails in twister for native_posix
- :github:`50587` - Regression in Link Layer Control Procedure (LLCP)
- :github:`50590` - openocd: Can't flash on various STM32 boards
- :github:`50598` - UDP over IPSP not working on nRF52840
- :github:`50614` - Zephyr if got the ip is "10.xxx.xxx.xxx" when join in the switchboard, then the device may can not visit the outer net, also unable to Ping.
- :github:`50620` - fifo test fails with CONFIG_CMAKE_LINKER_GENERATOR enabled on qemu_cortex_a9
- :github:`50652` - RAM Loading on i.MXRT1160_evk
- :github:`50655` - STM32WB55 Bus Fault when connecting then disconnecting then connecting then disconnecting then connecting
- :github:`50658` - BLE stack notifications blocks host side for too long
- :github:`50709` - tests: arch: arm: arm_thread_swap fails on stm32g0 or stm32l0
- :github:`50732` - net: tests/net/ieee802154/l2/net.ieee802154.l2 failed on reel_board due to build failure
- :github:`50735` - Intel CAVS18: tests/boards/intel_adsp/hda_log/boards.intel_adsp.hda_log.printk failed
- :github:`50746` - Stale kernel memory pool API references
- :github:`50766` - Zephyr build system doesn't setup CMake host environment correctly
- :github:`50776` - CAN Drivers allow sending FD frames without device being set to FD mode
- :github:`50777` - LE Audio: Receiver start ready command shall only be sent by the receiver
- :github:`50778` - LE Audio: Audio shell: Unicast server cannot execute commands for the default_stream
- :github:`50780` - LE Audio: Bidirectional handling of 2 audio streams as the unicast server when streams are configured separately not working as intended
- :github:`50781` - LE Audio: mpl init causes warnings when adding objects
- :github:`50783` - LE Audio: Reject ISO data if the stream is not in the streaming state
- :github:`50789` - west: runners: blackmagicprobe: Doesn't work on windows due to wrong path separator
- :github:`50801` - JSON parser fails on multidimensional arrays
- :github:`50812` - MCUmgr udp sample fails with shell - BUS FAULT
- :github:`50841` - high SRAM usage with picolibc on nRF platforms
Addressed issues
================
* :github:`50861` - Intel ADSP HDA and GPDMA Bugs
* :github:`50843` - tests: kernel: timer: timer_behavior: kernel.timer.timer - SRAM overflow on nrf5340dk_nrf5340_cpunet and nrf52dk_nrf52832
* :github:`50841` - high SRAM usage with picolibc on some userspace platforms
* :github:`50774` - ESP32 GPIO34 IRQ not working
* :github:`50771` - mcan driver has tx and rx error counts swapped
* :github:`50754` - MCUboot update breaks compilation for boards without CONFIG_WATCHDOG=y
* :github:`50737` - tfm_ram_report does not work with sdk-ng 0.15.0
* :github:`50728` - missing SMP fixes for RISC-V
* :github:`50691` - Bluetooth: Host: CONFIG_BT_LOG_SNIFFER_INFO doesn't work as intended without bonding
* :github:`50689` - Suspected unaligned access in Bluetooth controller connection handling
* :github:`50681` - gpio: ite: gpio_ite_configure() neither supporting nor throwing error when gpio is configured with GPIO_DISCONNECTED flag
* :github:`50656` - Wrong definition of bank size for intel memory management driver.
* :github:`50654` - Some files are being ALWAYS built, without them being used
* :github:`50635` - hal: stm32: valid pins were removed in the last version
* :github:`50631` - Please Add __heapstats() to stdlib.h
* :github:`50621` - The history of the multi API / MFD discussions 2022 July - Sep
* :github:`50619` - tests/kernel/timer/starve fails to run on devices
* :github:`50618` - STM32 Ethernet
* :github:`50615` - ESP32 GPIO driver
* :github:`50611` - k_heap_aligned_alloc does not handle a timeout of K_FOREVER correctly
* :github:`50603` - Upgrade to loramac-node 4.7.0 when it is released to fix async LoRa reception on SX1276
* :github:`50579` - arch: arm: Using ISR_DIRECT_PM with zero-latency-interrupt violation
* :github:`50549` - USB: samhs: Device does not work after detach-attach sequence
* :github:`50545` - drivers: can: inconsistent behavior when calling can_stop() with pending transmissions
* :github:`50538` - lpcxpresso55s69_cpu0 samples/subsys/usb/dfu/sample.usb.dfu build failure
* :github:`50525` - Passed test cases reported as "Skipped" because test log lost
* :github:`50522` - mgmt: mcumgr: img_mgmt: Failure of erase returns nothing
* :github:`50520` - Bluetooth: bsim eatt_notif test fails with assertion in some environments
* :github:`50502` - iMX 7D GPIO Pinmux Array Has Incorrect Ordering
* :github:`50482` - mcumgr: img_mgmt: zephyr_img_mgmt_flash_area_id has wrong slot3 ID
* :github:`50468` - Incorrect Z_THREAD_STACK_BUFFER in arch_start_cpu for Xtensa
* :github:`50467` - Possible memory corruption on ARC when userspace is enabled
* :github:`50465` - Possible memory corruption on RISCV when userspace is enabled
* :github:`50464` - Boot banner can cut through output of shell prompt
* :github:`50455` - Intel CAVS15/25: tests/subsys/shell/shell failed with no console output
* :github:`50438` - Bluetooth: Conn: Bluetooth stack becomes unusable when communicating with both centrals and peripherals
* :github:`50432` - Bluetooth: Controller: Restarting BLE scanning not always working and sometimes crashes together with periodic. adv.
* :github:`50421` - Sysbuild-configured project using ``west flash --recover`` will wrongly recover (and reset) the MCU each time it flashes an image
* :github:`50414` - smp_dummy.h file is outside of zephyr include folder
* :github:`50394` - RT685 flash chip size is incorrect
* :github:`50386` - Twister "FLASH overflow" does not account for imgtool trailer.
* :github:`50374` - CI failure in v3.1.0-rc2 full run
* :github:`50368` - esp32: counter driver not working with absolute value
* :github:`50344` - bl5340_dvk_cpuapp: undefined reference to ``__device_dts_ord_14``
* :github:`50343` - uninitialized variable in kernel.workqueue test
* :github:`50342` - mcuboot: BOOT_MAX_ALIGN is redefined
* :github:`50341` - undefined reference to ``log_output_flush`` in sample.logger.syst.catalog
* :github:`50331` - net mem shell output indents TX DATA line
* :github:`50330` - Fail to find GICv3 Redistributor base address for Cortex-R52 running in a cluster different than 0
* :github:`50327` - JLink needs flashloader for MIMXRT1060-EVK
* :github:`50317` - boards/arm/thingy53_nrf5340: lack of mcuboot's gpio aliases
* :github:`50306` - Not able to flash stm32h735g_disco - TARGET: stm32h7x.cpu0 - Not halted
* :github:`50299` - CI fails building stm32u5 tests/subsys/pm/device_runtime_api
* :github:`50297` - mcumgr: fs_mgmt: hash/checksum: Build warnings on native_posix_64
* :github:`50294` - test-ci: timer_behavior: mimxrt1170_evk_cm7/1160: test failure
* :github:`50284` - Generated linker scripts break when ZEPHYR_BASE and ZEPHYR_MODULES share structure that contains symlinks
* :github:`50282` - samples: drivers: can: babbling: can controller not started.
* :github:`50266` - drivers: can: native_posix_linux: should not receive frames while stopped
* :github:`50263` - drivers: can: mcan: transceiver is enabled at driver initialization
* :github:`50257` - twister: --coverage option does not work for qemu_x86_64 and other boards
* :github:`50255` - Test process crash when run twister with --coverage
* :github:`50244` - GPIO manipulation from a counter (ie HW timer) when Bluetooth (BLE) is enabled.
* :github:`50238` - ESP32: rtcio_ll_pullup_disable crash regression
* :github:`50235` - UDP: Memory leak when allocated packet is smaller than requested
* :github:`50232` - gpio_shell: Not functional anymore following DT label cleanup and deprecation
* :github:`50226` - MPU FAULT: Stacking error with lvgl on lv_timer_handler()
* :github:`50224` - tests/kernel/tickless/tickless_concept: Failed on STM32
* :github:`50219` - Kernel tests failing on qemu_riscv32_smp
* :github:`50218` - rcar_h3ulcb: can: failed to run RTR test cases
* :github:`50214` - Missing human readable names in names file od deive structure
* :github:`50202` - Configuring ``GPIO25`` crashes ESP32
* :github:`50192` - nrf_qspi_nor driver might crash if power management is enabled
* :github:`50191` - nrf_qspi_nor-driver leaves CS pin to undefined state when pinctrl is enabled
* :github:`50172` - QSPI NAND Flash driver question
* :github:`50165` - boards: riscv: ite: No flash and RAM stats are shown whenever building ITE board
* :github:`50158` - Drivers: gpio: stm32u5 portG not working
* :github:`50152` - SMT32: incorrect internal temperature value
* :github:`50150` - tests: drivers: flash: building error with b_u585i_iot02a_ns board
* :github:`50146` - tests: kernel: mem_protect fails on ARMv6-M and ARMv8-M Baseline
* :github:`50142` - NXP i.MX RT1024 CPU GPIO access bug.
* :github:`50140` - ARP handling causes dropped packets when multiple outgoing packets are queued
* :github:`50135` - cannot boot up on custom board
* :github:`50119` - non-IPI path of SMP is broken
* :github:`50118` - Twister: ``--coverage-formats`` Does not work despite ``--coverage`` added
* :github:`50108` - drivers: console: rtt_console: undefined reference to ``__printk_hook_install``
* :github:`50107` - subsys: pm: device_runtime.c: compile error
* :github:`50106` - ram_report stopped working with zephyr-sdk 0.15
* :github:`50099` - boards: pinnacle_100_dvk should enable QSPI and modem by default
* :github:`50096` - tests: drivers: the gpio_basic_api test cannot be build successfully on bl5340_dvk_cpuapp board
* :github:`50073` - mcumgr: Bluetooth backend does not restart advertising after disconnect
* :github:`50070` - LoRa: Support on RFM95 LoRa module combined with a nRF52 board
* :github:`50066` - tests: tests/drivers/can/shell failed in daily test on many platforms
* :github:`50065` - tests: tests/subsys/shell/shell test case fail in daily test on many platforms
* :github:`50061` - Bluetooth: Samples: bluetooth_audio_source does not send multiple streams
* :github:`50044` - reel_board: pyocd.yaml causes flashing error on reel board
* :github:`50033` - tests: subsys: fs: littlefs: filesystem.littlefs.custom fails to build
* :github:`50032` - tests: subsys: shell: shell.core and drivers.can.shell fails at shell_setup
* :github:`50029` - Unable to use functions from gsm_ppp driver
* :github:`50023` - tests: some driver tests of frdm_k64f build failed in twister (shows devicetree error)
* :github:`50016` - jlinkarm.so files renamed in latest J-Link drivers
* :github:`49988` - boards: pinnacle_100_dvk: UART1 flow control is not turned on
* :github:`49987` - Unable to compile on windows
* :github:`49985` - STM32:NUCLEO_WL55JC No serial RX in STOP mode
* :github:`49982` - SD: f_sync will always fail using the sdhc_spi driver
* :github:`49970` - strange behavior in the spi_flash example
* :github:`49960` - LoRaWAN Code won't linking when config with CN470 region
* :github:`49956` - ``NRF_DRIVE_S0D1`` option is not always overridden in the ``nordic,nrf-twi`` and ``nordic,nrf-twim`` nodes
* :github:`49953` - stm32 gpio_basic_api test fail with CONFIG_ZTEST_NEW_API
* :github:`49939` - stm32 adc driver_api test fails on stm32wb55 and stm32l5
* :github:`49938` - drivers/modem/gsm_ppp.c: unnecessary modem_cmd_handler_tx_lock when CONFIG_GSM_MUX disabled
* :github:`49924` - tests: drivers: pwm_api and pwm_loopback tests failed on frdm_k64f boards
* :github:`49923` - ASSERTION FAIL [!arch_is_in_isr()] @ WEST_TOPDIR/zephyr/kernel/sched.c:1449
* :github:`49916` - renesas smartbond family Kconfig visible to non-renesas devices
* :github:`49915` - Bluetooth: Controller: Syncing with devices with per. adv. int. < ~10ms eventually causes events from BT controller stop arriving
* :github:`49903` - riscv: Enabling IRQ vector table makes Zephyr unbootable
* :github:`49897` - STM32: NUCLEO_WL55JC internal (die) temperature incorrect
* :github:`49890` - drivers/can: stm32_fd: CONFIG_CAN_STM32FD_CLOCK_DIVISOR not applied in driver setup
* :github:`49876` - drivers: can: twai: driver fails initialization
* :github:`49874` - STM32G0 HW_STACK_PROTECTION Warning
* :github:`49852` - uart: extra XOFF byte in the read buffer
* :github:`49851` - Bluetooth Controller with Extended Advertising
* :github:`49846` - mimxrt1160_evk network samples stopped working
* :github:`49825` - net: ip: tcp: use zu format specifier for size_t
* :github:`49823` - Example Application: Use of undocumented zephyr/module.yml in application folder
* :github:`49814` - Cortex-A9 fails to build cmsis due to missing core_ca.h
* :github:`49805` - stm32f1: can2 & eth pin remap not working
* :github:`49803` - I/O APIC Driver in Zephyr makes incorrect register access.
* :github:`49792` - test-ci: adc-dma : frdm-k64f: dma dest addess assert
* :github:`49790` - Intel CAVS25: Failure in tests/boards/intel_adsp/smoke sporadically
* :github:`49789` - it8xxx2_evb: tests/crypto/tinycrypt/ test takes longer on sdk 0.15.0
* :github:`49786` - nsim_em: tests: fail to run tests/kernel/timer/timer_behavior
* :github:`49769` - STM32F1 CAN2 does not enable master can gating clock
* :github:`49766` - Document downstream module configuration recommendations
* :github:`49763` - nucleo_f767zi: sample.net.gptp build fails
* :github:`49762` - esp32: testing.ztest.error_hook.no_userspace build fails due to array-bounds warnings
* :github:`49760` - frdm_kl25z: sample.usb.dfu Kconfig issue causing build failure
* :github:`49747` - CAN2 interface on STM32F105 not working
* :github:`49738` - Bluetooth: Controller: Restarting periodic advertising causes crash when ADV_SYNC_PDU_BACK2BACK=y
* :github:`49733` - Error log "Could not lookup stream by iso 0xXXXXXXXX" from unicast server if client release the stream
* :github:`49717` - mcumgr: Bluetooth transport fix prevents passing GATT notify status back to SMP
* :github:`49716` - Intel CAVS15/18: Failure in tests/arch/common/timing
* :github:`49715` - The function ospi_read_sfdp in drivers/flash/flash_stm32_ospi.c can corrupt the stack
* :github:`49714` - tests: tests/drivers/gpio/gpio_api_1pin failed on mec172xevb_assy6906 in daily test
* :github:`49713` - frdm_k64f: tests: failed to run tests/drivers/adc/adc_dma/drivers.adc-dma
* :github:`49711` - tests/arch/common/timing/arch.common.timing.smp fails for CAVS15, 18
* :github:`49703` - eSPI: Add platform specific Slave to Master Virtual Wires
* :github:`49696` - twister: testplan: toolchain_exclude filter is overridden by integration_platforms
* :github:`49687` - West: Allow having .west folder and west.yml in the same folder
* :github:`49678` - Zephyr 3.2 module updates overview
* :github:`49677` - STM32U5 consumes more current using power management
* :github:`49663` - Bluetooth seems to not work randomly on target device
* :github:`49662` - hello world+ mcuboot is not working
* :github:`49661` - mcumgr: bt transport runs in system workqueue thread and can cause resource deadlock
* :github:`49659` - logging: LOG_* appends 0x0D to 0x0A
* :github:`49648` - tests/subsys/logging/log_switch_format, log_syst build failures on CAVS
* :github:`49637` - CMSIS-DSP tests broken with SDK 0.15.0
* :github:`49631` - arch: arm: FP stack warning with GCC 12 and ``CONFIG_FPU=y``
* :github:`49629` - Bluetooth: ISO Broadcast sample fails to send data on nRF5340
* :github:`49628` - Compilation fails when ASAN is used with gcc
* :github:`49618` - &usart2_rx_pd6 no more available for STM32L073RZ
* :github:`49616` - acrn_ehl_crb: The testcase tests/kernel/common failed to run.
* :github:`49609` - sdk: failed to run tests/subsys/logging/log_core_additional
* :github:`49607` - ADC reading on E73-2G4M04S1B and nrf52dk
* :github:`49606` - BeagleBone Black / AM335x Support
* :github:`49605` - it8xxx2_evb: tests/kernel/timer/timer_api test failed after commit cb041d06
* :github:`49602` - Bluetooth: Audio: Build error when enable CONFIG_LIBLC3
* :github:`49601` - mec15xxevb_assy6853: tests/drivers/adc/adc_api asynchronous test failed
* :github:`49599` - Bluetooth: Host: Unable to pair zephyr bluetooth peripheral with Secure connection and static passkey
* :github:`49590` - devicetree parsing does not error out on duplicate node names
* :github:`49587` - cross-compile toolchain variant doesn't working properly with multilib toolchain
* :github:`49586` - Json parser is incorrect with undefined parameter
* :github:`49578` - [RFC] Deprecate <zephyr/zephyr.h>
* :github:`49576` - tests: kernel: timer: timer_behavior: kernel.timer.timer fails
* :github:`49572` - Reproducable builds with MCUboot signing
* :github:`49542` - sdk: it8xxx2_evb cannot build the hello_world sample after zephyr SDK upgrade to 0.15.0
* :github:`49540` - Bluetooth: Host: sync termination callback parameters not populated correctly when using per. adv. list feature.
* :github:`49531` - LE Audio: Broadcast Sink not supporting general and specific BIS codec configurations in the BASE
* :github:`49523` - k_sleep in native_posix always sleeps one tick too much
* :github:`49498` - net: lib: coap: update method_from_code() to report success/failure
* :github:`49493` - Bluetooth: ISO: samples/bluetooth/broadcast_audio_source error -122
* :github:`49491` - arch.interrupt test fails on ARM64 QEMU targets when compiled with GCC 12
* :github:`49482` - stm32g0 interrupts for usart3,4,5,6 all set to 29
* :github:`49471` - stm32: dietemp node generates warning
* :github:`49465` - Bluetooth: Controller: Periodic adv. sync. degraded performance on latest main branch
* :github:`49463` - STM32G0B0 errors out on stm32g0_disable_dead_battery function in soc.c
* :github:`49462` - tests: tests/kernel/fatal/exception/ test case fail
* :github:`49444` - mcumgr: Outgoing packets that are larger than the transport MTU are wrongly split into different individual messages
* :github:`49442` - Intel CAVS25: Failure in tests/kernel/smp
* :github:`49440` - test-ci: mimxrt11xx: testing.ztest.base.verbose_x and crypto.tinycryp : run failure no console output
* :github:`49439` - test-ci: lpcxpresso54114_m4: libraries.devicetree.devices.requires test failure
* :github:`49410` - Bluetooth: Scan responses with info about periodic adv. sometimes stops being reported
* :github:`49406` - flash_stm32_ospi: OSPI wr in OPI/STR mode is for 32bit address only
* :github:`49360` - west boards doesn't print boards from modules
* :github:`49359` - nrf5*: crash when Bluetooth advertisements and flash write/erase are used simultaneously
* :github:`49350` - RFC: Add arch aligned memory Kconfig option
* :github:`49342` - Zephyr hci_usb sample cannot use LE coded phy
* :github:`49331` - device if got the ip is "10.4.239.xxx" when join in the switchboard, then the device can not visit the outer net.
* :github:`49329` - twister: frdm_k64f: test string mismatch
* :github:`49315` - loopback socket send from shell hangs
* :github:`49305` - Can't read and write to the Nor Flash at address 0x402a8000 on RT1060
* :github:`49268` - tests: samples/boards/stm32/power_mgmt/serial_wakeup failed on mec15xxevb_assy6853 (and several stm32 boards)
* :github:`49263` - ztest: tracing backend works incorrectly when new ZTEST enabled.
* :github:`49258` - MCUboot not loading properly due to missing ALIGN
* :github:`49251` - STM32 HW TIMER + DMA + DAC
* :github:`49203` - Intel CAVS15: Failure in tests/boards/intel_adsp/hda,hda_log
* :github:`49200` - Intel CAVS: Failure in tests/kernel/interrupt
* :github:`49195` - Integrate Zephyr SDK 0.15.0 to the Zephyr main CI
* :github:`49184` - DHCP client is not ``carrier`` aware
* :github:`49183` - Missing handling of UNKNOWN_RSP in peripheral PHY UPDATE procedure
* :github:`49178` - subsys: pm: stats: typo causes build failure
* :github:`49177` - usb: sam0: device driver is leaking memory when interface is reset
* :github:`49173` - Bluetooth: empty notification received by peer after unsubscribe
* :github:`49169` - v2m_musca_s1_ns fails to build several tfm related samples
* :github:`49166` - samples/drivers/flash_shell/sample.drivers.flash.shell fails to build on a few nxp platforms
* :github:`49164` - samples/arch/smp/pi/sample.smp.pi fails on a number esp32 platforms
* :github:`49162` - Calling cache maintenance APIs from user mode threads result in a bad syscall error.
* :github:`49154` - SDMMC driver with STM32 U575
* :github:`49145` - tests: kernel: fifo: fifo_timeout: kernel.fifo.timeout fails on nrf5340dk_nrf5340_cpuapp
* :github:`49142` - Bluetooth: Audio: MCC subscribe failure
* :github:`49136` - L2CAP ecred test cases failed.
* :github:`49134` - STM32G070RBT6 can not build with zephyr 3.1.99
* :github:`49119` - ARC: west: mdb runner: fix folder where MDB is run
* :github:`49116` - cmake cached BOARD_DIR variable does not get overwritten
* :github:`49106` - Add cherryusb as a module
* :github:`49105` - hda_host and hda_link registers block size are not equal
* :github:`49102` - hawkbit - dns name randomly not resolved
* :github:`49100` - STM b_u585i_iot02a NOR flash and OSPI_SPI_MODE, erase failed
* :github:`49086` - twister: frdm_k64f: twister process blocks after the flash error occurs
* :github:`49074` - GD32: Use clocks instead rcu-periph-clock property
* :github:`49073` - SOC_FLASH_LPC vs SOC_FLASH_MCUX
* :github:`49066` - Mcumgr img_mgmt_impl_upload_inspect() can cause unaligned memory access hard fault.
* :github:`49057` - USB Mass Storage Sample crashes due to overflow of Mass Storage Stack
* :github:`49056` - STM b_u585i_iot02a MCUboot crash
* :github:`49054` - STM32H7 apps are broken in C++ mode due to HAL include craziness
* :github:`49051` - Nrf52832 ADC SAMPLE cannot compile
* :github:`49047` - LORAWAN Devicetree sx1262 setup on rak4631_nrf52840 board
* :github:`49046` - Cannot use devices behind I2C mux (TCA9548A)
* :github:`49044` - doc: boards: litex_vexrisc: update with common environment variables and arty-a7-100t support
* :github:`49036` - soc: telink_b91: ROM region section overlap
* :github:`49027` - Regulator support for gpio-leds
* :github:`49019` - Fix multiple issues with adxl372 driver
* :github:`49016` - intel_adsp smoke test fails with CONFIG_LOG_MIPI_SYST_USE_CATALOG=y
* :github:`49014` - Advertising address not updated after RPA Timeout with Extended Advertising enabled
* :github:`49012` - pm breaks intel dai ssp in cavs25
* :github:`49008` - ESP32: net_buf_get() FAILED
* :github:`49006` - tests: subsys: portability: cmsis_rtos_v2: portability.cmsis_rtos_v2 - test_timer - does not end within 60 sec
* :github:`49005` - samples: tfm_integration: tfm_regression_test: sample.tfm.regression_ipc_lvl2 no console output within 210 sec - timeout
* :github:`49004` - unexpected eof in qemu_cortex and mps2
* :github:`49002` - tests: subsys: settings: functional: fcb: system.settings.functional.fcb fails
* :github:`49000` - tests: arch: arm: arm_thread_swap: arch.arm.swap.common.no_optimizations USAGE FAULT
* :github:`48999` - tests: arch: arm: arm_interrupt: arch.interrupt.no_optimizations Wrong crash type got 2 expected 0
* :github:`48997` - tests: kernel: workq: work_queue: kernel.workqueue fails
* :github:`48991` - Receiving message from pc over PCAN-USB FD
* :github:`48977` - kernel: mem_protect: mimxrt11xx series build failure
* :github:`48967` - modem: hl7800 runtime log control API is broken
* :github:`48960` - coap_packet_parse() should return different values based on error type
* :github:`48951` - stm32wb55 BLE unable to connect / pair
* :github:`48950` - cmake: string quotes are removed from extra_kconfig_options.conf
* :github:`48937` - Compilation error when adding lwm2m client on CHIP/matter sample
* :github:`48921` - build system/west: Add a warning if any project repo does not match the manifest
* :github:`48918` - ztest: tests: add CONFIG_ZTEST_SHUFFLE=y to tests/subsys/logging/log_benchmark/prj.conf cause build failure
* :github:`48913` - net: Add pointer member to net_mgmt_event_callback struct to pass user data to the event handler.
* :github:`48912` - sample.drivers.flash.shell: Failed on NXP targets
* :github:`48911` - sample.drivers.flash.shell: Failed on atmel targets
* :github:`48907` - Does esp32 support BLE Mesh
* :github:`48897` - twister --sub-test never works
* :github:`48880` - BLE notifications on custom service not working anymore: <wrn> bt_gatt: Device is not subscribed to characteristic
* :github:`48877` - tests: kernel: mem_slab: mslab: kernel.memory_slabs fails
* :github:`48875` - tests: kernel: context: kernel.context fails at test_busy_wait and Kernel panic at test_k_sleep
* :github:`48863` - hawkbit subsystem - prints garbage if debug enabled and no update pending
* :github:`48829` - cbprintf is broken on multiple platforms with GCC 12
* :github:`48828` - Clicking a link leads to "Sorry, Page Not Found", where they ask to notify this GitHub
* :github:`48823` - Bluetooth: controller: llcp: limited nr. of simultaneous connections
* :github:`48813` - Bluetooth: bt_conn_disconnect randomly gives error "bt_conn: not connected!"
* :github:`48812` - Bluetooth controller extended advertisement crashes in lll layer
* :github:`48808` - Pinctl api breaks NXP imx6sx
* :github:`48806` - Bluetooth: controller: conformance test instability
* :github:`48804` - LE Audio: Add HAP sample to Zephyr footprint tracking
* :github:`48801` - test: driver: wdt: wdt cases fails in LPC platform randonly
* :github:`48799` - Why is the command input incomplete?
* :github:`48780` - boards: bus devices label names should include address on bus
* :github:`48779` - net.socket.select: failed (qemu/mps2_an385)
* :github:`48757` - Windows10 Installation: Failed to run ``west update``
* :github:`48742` - Linking fails during build when referencing functions in ``zephyr/bluetooth/crypto.h``
* :github:`48739` - net: tcp: Implicit MSS value is not correct
* :github:`48738` - dts: label: label defined in soc does not take effects in final zephyr.dts
* :github:`48731` - gen_handles script fails with pwmleds handle
* :github:`48725` - arm_thread_swap: tests/arch/arm/arm_thread_swap/ failed on reel_board
* :github:`48724` - mpu9250 driver init function register setup using the same config parameter twice.
* :github:`48722` - flash_map: pointer dereferencing causes build to fail
* :github:`48718` - Completely disabling IP support leads to a build error when enabling IEEE 802.15.4 L2 support
* :github:`48715` - Enabling NET_L2_IEEE802154 and IEEE802154_RAW_MODE together breaks the build
* :github:`48699` - Is there a way to port the Bluetooth host stack to linux?
* :github:`48682` - ADC Support for STM32U575
* :github:`48671` - SAM V71B Initial USB Transfer Drops Data Bytes
* :github:`48665` - tests/usb/device: Add zassert to match zassume usage.
* :github:`48642` - nucleo_l011k4 does not build
* :github:`48630` - Process: maintainer involvement in triaging issues
* :github:`48626` - jlink flasher not working with recent versions of pylink dependency
* :github:`48620` - LC3 External Source Code
* :github:`48591` - Can't run zephyr application from SDRAM on RT1060-EVKB
* :github:`48585` - net: l2: ieee802154: decouple l2/l3 layers
* :github:`48584` - Remove netifaces Python package dependency
* :github:`48578` - NRF GPIO Toggle introduces race condition when multithreaded
* :github:`48567` - MIMXRT1060 custom board support for NXP HAL modules
* :github:`48547` - ztest: Incorrect display of test duration value.
* :github:`48541` - subsys/net/l2/ppp/fsm.c: BUS FAULT
* :github:`48537` - Can gpio output configuration flags be expressed in the devicetree?
* :github:`48534` - SMF missing events
* :github:`48531` - RFC: Changing the sys_clock interface to fix race conditions.
* :github:`48523` - Mathematical operations in Kconfig
* :github:`48518` - ``samples/sensor/*``: Build issue when board expose sensors defined on both I2C and SPI buses
* :github:`48516` - flash: sam: Build error for sam4s_xplained
* :github:`48514` - bsim mesh establish_multi.sh doesn't send data for one of devices
* :github:`48512` - frdm_k64f : failed to run tests/drivers/dma/scatter_gather
* :github:`48507` - error on console usb app.overlay
* :github:`48501` - Usage Fault : Illegal use of EPSR , NRFSDK 2.0.0 and BLE DFU NRF52840 DK
* :github:`48492` - gdbstub for arc core
* :github:`48480` - ZTEST: duplicate symbol linker error
* :github:`48471` - net: tcp: Persistent timer for window probing does not implement exponential backoff
* :github:`48470` - Inconsistent return value of uart_mux_fifo_fill when called inside/outside of an ISR
* :github:`48469` - [bisected] 5a850a5d06e1 is breaking some tests on ARM64
* :github:`48465` - net: tcp: SYN flag received after connection is established should result in connection reset
* :github:`48463` - Grant Triage permission level to @aurel32
* :github:`48460` - Provide duration of each testsuite and testcase in ztest test summary.
* :github:`48459` - bluetooth: host: Dangling pointer in le_adv_recv
* :github:`48447` - ``hwinfo devid`` does not work correctly for NXP devices using ``nxp,lpc-uid`` device binding
* :github:`48444` - Problem upgrading ncs 1.5.1 upgrade to ncs 1.9.1 failed
* :github:`48424` - ZTEST Framework fails when ztest_run_all is called multiple times
* :github:`48416` - samples: samples/subsys/tracing is broken for UART tracing
* :github:`48392` - Compiling failure watchdog sample with nucleo_u575zi_q
* :github:`48386` - twister cannot take ``board@revision`` as platform filter
* :github:`48385` - Compilation failures on Cavs 18/20/25 GCC
* :github:`48380` - shell: Mixing mandatory arguments w/ SHELL_OPT_ARG_RAW causes crash
* :github:`48367` - Wrong clock assigned
* :github:`48343` - NVS nvs_recover_last_ate() does not align data length
* :github:`48328` - Add API to get the nvs_fs struct from the settings backend
* :github:`48321` - twister: bug in platform names verification
* :github:`48306` - Lwm2m_client sample broken on native_posix target
* :github:`48302` - West search for "compatible" device tree property does not expand C preprocessor macros
* :github:`48290` - ESP32 ble no work while enable CONFIG_SETTINGS
* :github:`48282` - BT_H4 overriding BT_SPI=y causing build to fail - HCI Host only build SPI bus
* :github:`48281` - Fix github permissions for user "alevkoy"
* :github:`48267` - No model in devicetree_unfixed.h :
* :github:`48253` - Only the first failing test is aborted and marked failed
* :github:`48223` - base64.c encode returns wrong count of output bytes
* :github:`48220` - adxl345: sensor value calculation should be wrong
* :github:`48216` - Running gPTP sample application on SAMe54 Xplained pro(Supports IEEE 802.1 AS gPTP clock) , PDelay Response Receipt Timeout
* :github:`48215` - docs: build the documentation failed due to "Could NOT find LATEX"
* :github:`48198` - NPCX Tachometer driver compiled despite status = "disabled"
* :github:`48194` - Support J-Link debugger for RaspberryPi Pico
* :github:`48185` - LV_Z_DISPLAY_DEV_NAME symbol has not got "parent" symbol with a type
* :github:`48175` - stm32 octospi flash driver
* :github:`48149` - Sensor Subsystem: client facing API: finding sensors
* :github:`48115` - tests: subsys: dfu: mcuboot_multi: dfu.mcuboot.multiimage hangs at first test case - test_request_upgrade_multi
* :github:`48113` - Zephyr support for STM32U5 series MCU
* :github:`48104` - [v 1.13 ] HID is not connecting to Linux based Master device
* :github:`48098` - Build error for samples/bluetooth/unicast_audio_server of nrf52dk-nrf52832 board
* :github:`48089` - AF_PACKET sockets not filling L2 header details in ``sockaddr_ll``
* :github:`48081` - tests/drivers/clock_control/stm32_clock_configuration/stm32u5_core not working with msis 48
* :github:`48071` - mec15xxevb_assy6853: test_i2c_pca95xx failed
* :github:`48060` - Have modbus RTU Client and modbus TCP Master on the same microcontroller
* :github:`48058` - Reading out a GPIO pin configured as output returns invalid value.
* :github:`48056` - Possible null pointer dereference after k_mutex_lock times out
* :github:`48055` - samples: subsys: usb: audio: headphones_microphone and headset - Can not get USB Device
* :github:`48051` - samples: logger: samples/subsys/logging/logger/sample.logger.basic failed on acrn_ehl_crb board
* :github:`48047` - Reference to obsolete files in cmake package docs
* :github:`48007` - tests: gpio driver fails in pin_get_config
* :github:`47991` - BLE functionality for STM32WB55 is limited with full version of BLE stack
* :github:`47987` - test: samples/boards/mec15xxevb_assy6853/power_management failed after commit 5f60164a0fc
* :github:`47986` - Rework of STM32 bxCAN driver filter handling required
* :github:`47985` - ARC wrong .debug_frame
* :github:`47970` - Flash: SFDP parameter address is not correct
* :github:`47966` - TCP: Zero window probe packet incorrect
* :github:`47948` - _kernel.threads' always points to NULL(0x0000'0000)
* :github:`47942` - Mutex priority inheritance when thread holds multiple mutexes
* :github:`47933` - tests: subsys: logging: log_switch_format: logging.log_switch_format - test_log_switch_format_success_case - Assertion failed
* :github:`47930` - tests: arch: arm: arm_interrupt: arch.interrupt.no_optimizations - Data Access Violation - MPU Fault
* :github:`47929` - tests: arch: arm: arm_thread_swap: arch.arm.swap.common.no_optimizations - Data Access Violation - MPU Fault
* :github:`47925` - Asynchronous UART API (DMA) not working like expected on nrf52840
* :github:`47921` - tests: pin_get_config failed on it8xxx2_evb
* :github:`47904` - drivers: can: loopback driver only compares loopback frames against CAN IDs in installed filters
* :github:`47902` - drivers: can: mcux: flexcan: failure to handle RTR frames correctly
* :github:`47895` - samples: smp_svr missing CONFIG_MULTITHREADING=y dependency
* :github:`47860` - Bluetooth: shell: bt init sync enables Bluetooth asynchronously
* :github:`47857` - Zephyr USB-RNDIS
* :github:`47855` - tests: arch: arm: fpu: arch.arm.swap.common.fpu_sharing.no_optimizations - Data Access Violation - MPU Fault
* :github:`47854` - Multiple blinking LED's cannot be turned off
* :github:`47852` - samples: boards: nrf: s2ram No valid output on console
* :github:`47847` - How to PM change pm_state
* :github:`47833` - Intel CAVS: cavstool.py fails to extract complete log from winstream buffer when logging is frequent
* :github:`47830` - Intel CAVS: Build failure due to #47713 PR
* :github:`47825` - qemu_cortex_a53_smp: tests/kernel/profiling/profiling_api failed
* :github:`47822` - Stack Overflow when calling spi at an interrupt on STM32l4
* :github:`47783` - warning: attempt to assign the value 'y' to the undefined symbol UART_0_NRF_FLOW_CONTROL
* :github:`47781` - MCUbootloader with b_u585i_iot02a (stm32u585) boot error
* :github:`47780` - WS2812 driver not work on nRF52833DK
* :github:`47762` - Some github users in the MAINTAINERS file are missing permissions
* :github:`47751` - soc/arm/common/cortex_m doesn't work for out-of-tree socs
* :github:`47742` - NXP LPC MCAN driver front-end lacks pinctrl support
* :github:`47734` - tests/posix/eventfd/ : failed on both nucleo_f103rb and nucleo_l073rz with 20K RAM only
* :github:`47731` - JESD216 fails to read SFDP on STM32 targets
* :github:`47725` - qemu_arc: tests/kernel/context/ failed when migrating to new ztest API
* :github:`47719` - Configure-time library dependency problem
* :github:`47714` - test: tests/lib/sprintf/ build fail
* :github:`47702` - twister: regression : Failures are counted as errors
* :github:`47696` - tests: arch: arm: arm_thread_swap: regression since use of new ztest API
* :github:`47682` - bt_gatt_unsubscribe creates write request to CCC and then cancels it
* :github:`47676` - bt_data_parse is destructive without warning
* :github:`47652` - The client-server based cavstool.py might be stuck when the ROM is not start
* :github:`47649` - ATT Notification buffer not released after reconnection
* :github:`47641` - Poor Ethernet Performance using NXP Enet MCUX Driver
* :github:`47640` - Zephyr and caches: a difficult love story.
* :github:`47613` - Samples / Tests without a testcase.yaml or sample.yaml
* :github:`47683` - TCP Connected Change the window size to 1/3/ff fail
* :github:`47609` - posix: pthread: descriptor leak with pthread_join
* :github:`47606` - nvs_read return value is not correct
* :github:`47592` - test: tests/drivers/gpio/gpio_basic_api failed after commit 2a8e3fe
* :github:`47588` - tests: sprintf: zero-length gnu_printf format string
* :github:`47580` - https connect failing with all the samples (qemu_x86 & mbedtls)
* :github:`47576` - undefined reference to ``__device_dts_ord_20`` When building with board hifive_unmatched on flash_shell samples
* :github:`47568` - uart_mcux_lpuart driver activates the noise error interrupt but does not clear the noise error flag
* :github:`47556` - sample: logging: Builds failing for samples/subsys/logging/syst
* :github:`47551` - Enabling CONFIG_OPENTHREAD_SRP_CLIENT on NRF52840 dongle board leads to MBED compilation errors.
* :github:`47546` - Revert path_to_url
* :github:`47520` - Support for sub-ghz channels in at86rf2xx radio driver
* :github:`47512` - up_squared: issues of EFI console feature
* :github:`47508` - tests: arch: the xtensa_asm2 test is broken
* :github:`47483` - PPP + GSM MUX doesn't work with Thales PLS83-W modem
* :github:`47476` - SX127x LoRaWAN - Failing on Boot - Missing Read/Write functions?
* :github:`47461` - Unable to build the flash_shell samples with board cc1352r1_launchxl
* :github:`47458` - BQ274XX Sensors Driver - Fails with CONFIG_BQ274XX_LAZY_CONFIGURE
* :github:`47445` - USB OTG FS controller support on STM32F413 broken
* :github:`47428` - SRAM increase in Bluetooth [samples: bbc_microbit: pong fails to build]
* :github:`47426` - ZTEST_USER tests being skipped on systems without userspace support
* :github:`47420` - Tests: unittest with new ZTEST API
* :github:`47409` - LE Audio: Read PACS available contexts as unicast client
* :github:`47407` - stm32l5: tfm: Build error on tests/arch/arm/arm_thread_swap_tz
* :github:`47379` - Crypto sample fail to build with cryp node in .dts for STM32u5 (error: unknown type name 'CRYP_HandleTypeDef' etc.)
* :github:`47356` - cpp: global static object initialisation may fail for MMU and MPU platforms
* :github:`47330` - ARM Cortex-R52 doesn't have SPSR_hyp
* :github:`47326` - drivers: WINC1500: issues with buffer allocation when using sockets
* :github:`47323` - STM32WL LoRa SoC stuck at initialization due to SPI transmit buffer not emptying
* :github:`47307` - tests: kernel: fatal: exception: build failure on multiple platforms
* :github:`47301` - Module request: Lua
* :github:`47300` - Intel CAVS: Failure in tests/lib/spsc_pbuf
* :github:`47292` - it8xxx2_evb: many test cases failed probably due to the west update
* :github:`47288` - tests: posix: increase coverage for picolibc
* :github:`47275` - builds are broken with gnuarmemb toolchain, due to picolibc tests/configuration
* :github:`47273` - linker script: Vector table regression due to change in definition of _vector_end
* :github:`47272` - nrf51_ble400: onboard chip should be updated to nRF51822_QFAC in dts
* :github:`47248` - LE Audio: Crash on originating call.
* :github:`47240` - net: tcp: Correctly handle overlapped TCP retransmits
* :github:`47238` - SD Card init issue when CONFIG_SPEED_OPTIMIZATIONS=y
* :github:`47232` - Please add STM32F412RX
* :github:`47222` - zephyr doc: Unable to open pdf document version 3.1.0
* :github:`47220` - Twister: Skipping ``*.cpp`` files
* :github:`47204` - CAN filter with RTR mask causes infinite loop in MCAN driver on filtered message arrival
* :github:`47197` - BLE latency decreasing and increasing over time (possibly GPIO issue)
* :github:`47146` - STM32F103: USB clock prescaler isn't set during USB initialisation
* :github:`47127` - twister : frdm_k64f Non-existent tests appear and fail on tests/lib/cmsis_dsp/transform
* :github:`47126` - New ztest API: build failure on qemu_cortex_m3 when CONFIG_CMAKE_LINKER_GENERATOR=y
* :github:`47119` - ADC_DT_SPEC_GET not working for channels >= 10
* :github:`47114` - ``check_compliance.py`` crash on Ubuntu 22.04
* :github:`47105` - drivers: clock_control: stm32 common: wrong PLLCLK rate returned
* :github:`47104` - Bluetooth: Controller: Errors in implementation of tx buffer queue mechanism
* :github:`47101` - drivers: clock_control: stm32 common: PLL_Q divider not converted to reg val
* :github:`47095` - ppp network interface - MQTT/TCP communication
* :github:`47082` - drivers: modem: AT commands sent before OK from previous is received
* :github:`47081` - on x86, k_is_in_isr() returns false in execption context
* :github:`47077` - Intel CAVS: tests/subsys/logging/log_switch_format/ are skipped as no result captured
* :github:`47072` - ZTEST Docs Page
* :github:`47062` - dt-bindings: clock: STM32G4 device clk sources selection helper macros don't match the SOCs CCIPR register
* :github:`47061` - pipes: Usage between task and ISR results in corrupted pipe state
* :github:`47054` - it8xxx2_evb: flash fail in daily test
* :github:`47051` - drivers: usb: stm32: usb_write size on bulk transfer problematic
* :github:`47046` - samples/net/sockets/packet: Bus fault
* :github:`47030` - drivers: gpio: nrfx: return -ENOTSUP rather than -EIO for misconfigurations
* :github:`47025` - mimxrt1050_evk: reset cause
* :github:`47021` - Integrate Wrth Elektronik Sensors SDK code for use in sensor drivers
* :github:`47010` - ACRN: failed to run the test case tests/drivers/coredump/coredump_api
* :github:`46988` - samples: net: openthread: coprocessor: RCP is missing required capabilities: tx-security tx-timing
* :github:`46985` - uOSCORE/uEDHOC integration as a Zephyr module
* :github:`46962` - Regression in apds9960 driver
* :github:`46954` - Binaries found in hal_nxp without conspicuous license information
* :github:`46935` - Not printk/log output working
* :github:`46931` - flash_stm32_ospi.c: Unable to erase flash partition using flash_map API
* :github:`46928` - drivers: modem: gsm_ppp: support hardware flow control
* :github:`46925` - Intel CAVS: tests/lib/mem_block/ failed, caused by too frequent log output.
* :github:`46917` - frdm_k64f : failed to run tests/drivers/gpio/gpio_get_direction
* :github:`46901` - RFC: I3C I2C API
* :github:`46887` - Automatically organize BLE EIR/AD data into a struct instead of providing it in a simple_network_buffer.
* :github:`46865` - Intel CAVS: Support for different ports for client / server
* :github:`46864` - Intel CAVS: cavstool_client.py sporadically fails
* :github:`46847` - STOP2 Mode on Nucleo-WL55JC1 not accessed
* :github:`46829` - LE Audio: Avoid multiple calls to ``bt_iso_chan_connect`` in parallel
* :github:`46822` - L2CAP disconnected packet timing in ecred reconf function
* :github:`46807` - lib: posix: semaphore: use consistent timebase in sem_timedwait
* :github:`46801` - Revisit modules and inclusion in the default manifest
* :github:`46799` - IRQ vector table: how to support different formats
* :github:`46798` - Zephyr does not store a new IRK when another device re-bonds with a Zephyr device
* :github:`46797` - UART Asynchronous API continuous data receiving weird behaviour
* :github:`46796` - IRQ vector table
* :github:`46793` - tests: posix: use new ztest api
* :github:`46765` - test-ci: kernel.timer: test_timer_remaining asserts
* :github:`46763` - LE Audio: Unicast Audio read PAC location
* :github:`46761` - logging: tagged arguments feature does not work with char arrays in C++
* :github:`46757` - Bluetooth: Controller: Missing validation of unsupported PHY when performing PHY update
* :github:`46749` - mbox: wrong syscall check
* :github:`46743` - samples: net: civetweb: websocket_server
* :github:`46740` - stm32 flash ospi fails on stm32l5 and stm32u5 disco
* :github:`46734` - drivers/disk: sdmmc: Doesn't compile for STM32F4
* :github:`46733` - ipc_rpmsg_static_vrings creates unaligned TX virtqueues
* :github:`46728` - mcumgr: rt1060: upload an image over the shell does not work
* :github:`46725` - stm32: QSPI flash driver have a broken priority configuration
* :github:`46721` - HAL module request: hal_renesas
* :github:`46706` - add missing checks for segment number
* :github:`46705` - Check buffer size in rx
* :github:`46698` - sm351 driver faults when using global thread
* :github:`46697` - Missed interrupts in NXP RT685 GPIO driver
* :github:`46694` - Bluetooth: controller: LLCP: missing release of tx nodes on disconnect when tx data paused
* :github:`46692` - Bluetooth: controller: LLCP: reduced throughput
* :github:`46689` - Missing handling of DISK_IOCTL_CTRL_SYNC in sdmmc_ioctl
* :github:`46684` - ethernet: w5500: driver will be stack overflowed when reading the invalid(corrupt) packet length
* :github:`46656` - Scheduling timing issue
* :github:`46650` - qemu_x86: shell does not work with tip of main
* :github:`46645` - NRFX samples use deprecated API
* :github:`46641` - tests : kernel: context test_kernel_cpu_idle fails on nucleo_f091 board
* :github:`46635` - tests: subsys: modbus: testcase hang up when running by twister
* :github:`46632` - Intel CAVS: Assertion failures in tests/boards/intel_adsp/hda
* :github:`46626` - USB CDC ACM Sample Application build fail with stm32_mini_dev_blue board
* :github:`46623` - Promote user "tari" to traige permission level
* :github:`46621` - drivers: i2c: Infinite recursion in driver unregister function
* :github:`46602` - BLEparing/connection issue on Windows (Zephyr 3.1.0)
* :github:`46594` - openthread net_mgmt_event_callback expects event info.
* :github:`46582` - LE Audio: PACS notify warns about failure when not connected
* :github:`46580` - Suggestion for additional configuration of ``twister --coverage`` gcovr formats
* :github:`46573` - raspberry pi pico always in mass storage mode
* :github:`46570` - Compiler warning when enabling userspace, sockets and speed optimization
* :github:`46558` - Bluetooth: Controller: Crash on bt_le_adv_start() when using CONFIG_BT_CTLR_ADVANCED_FEATURES
* :github:`46556` - Kconfig search webpage no longer shows all flags
* :github:`46555` - test: samples/drivers/adc twister result wrong
* :github:`46541` - Duplicate IDs used for different Systemview trace events
* :github:`46525` - PWM of it8xxx2
* :github:`46521` - '__device_dts_ord___BUS_ORD' undeclared here (not in a function); did you mean '__device_dts_ord_94'?
* :github:`46519` - STM32F4 CAN2 peripheral not working
* :github:`46510` - bluetooth: controller: llcp: set refactored LLCP as default
* :github:`46500` - Removal of logging v1
* :github:`46497` - Modbus: Add support for FC03 without floating-point extension as client
* :github:`46493` - Ethernet W5500 driver fails initialization with latest change - revert needed
* :github:`46483` - Update RISC-V ISA configs
* :github:`46478` - mimxrt1050_evk_qspi freeze when erasing flash
* :github:`46474` - LE Audio: Add seq_num and TS to bt_audio_send
* :github:`46470` - twister : retry failed parameter is not valid
* :github:`46464` - frdm_k64f : sudden failure to flash program
* :github:`46459` - Test framework incorrectly uses c++ keyword ``this``
* :github:`46453` - nRF52840 PWM with pinctrl - Unable to build samples/basic/blinky_pwm
* :github:`46446` - lvgl: Using sw_rotate with SSD1306 shield causes memory fault
* :github:`46444` - Proposal to integrate Cadence QSPI driver from Trusted Firmware-A
* :github:`46434` - ESP32-C3 UART1 broken since introduction of pinctrl
* :github:`46426` - Intel CAVS: Assertion failures on tests/boards/intel_adsp/smoke
* :github:`46422` - SDK version 14.2 increases image size significantly
* :github:`46414` - mcuboot: rt1060: confirmed image causes usage fault
* :github:`46413` - No multicast reception on IMX1064
* :github:`46410` - Add devicetree binding for ``zephyr,sdmmc-disk``
* :github:`46400` - STM32WB BLE HCI interface problem.
* :github:`46398` - ``mem_protect/mem_map`` is failing on ``qemu_x86_tiny`` when userspace is enabled
* :github:`46383` - fatal error: sys/cbprintf_enums.h: No such file or directory
* :github:`46382` - twister -x / --extra-args escaping quotes issue with CONFIG_COMPILER_OPTIONS
* :github:`46378` - CONFIG_SYS_CLOCK_TICKS_PER_SEC affects app code speed with tickless kernel
* :github:`46372` - Intel-ADSP: sporadic core boot
* :github:`46369` - LE Audio: Bidirectional stream is not created
* :github:`46368` - twister : frdm_k64f the test case tests/subsys/logging/log_switch_format/logger.syst.v2.immediate/ blocks
* :github:`46366` - test_thread_stats_usage fail on arm64 fvp
* :github:`46363` - Initial Setup: Ubuntu 20.04: ensurepip is not available
* :github:`46355` - Sample wifi_station not building for esp32: No SOURCES given to Zephyr library: drivers__ethernet
* :github:`46350` - net: tcp: When the first FIN message is lost, the connection does not properly close
* :github:`46347` - MCUMGR_SMP_BT: system workqueue blocked during execution of shell commands
* :github:`46346` - LE Audio: Fatal crash when sending Audio data
* :github:`46345` - get_maintainer.py incorrectly invoked by Github?
* :github:`46341` - Zephyr scheduler lock: add selective locking up to a given priority ceiling
* :github:`46335` - For ESP32, initialization of static object during declaration with derived class type doesn't work.
* :github:`46326` - Async UART for STM32 U5 support
* :github:`46325` - ESP32 strcmp error while enable MCUBOOT and NEWLIB_LIBC
* :github:`46324` - it8xxx2_evb: tests/kernel/sched/schedule_api fail due to k_sleep(K_MSEC(100)) not correct
* :github:`46322` - Time units in shtcx sensor
* :github:`46312` - sample: bluetooth: ipsp - TCP not running over IPSP
* :github:`46286` - python-devicetree tox run fails
* :github:`46285` - nrf_qspi_nor: Inconsistent state of HOLD and WP for QSPI command execution causes hang on startup for some flash chips
* :github:`46284` - ring buffer in item mode crashes
* :github:`46277` - IMX8MM: Running fail a zephyr sample in the imx8mm
* :github:`46269` - docs: include/zephyr/net/socket.h is not documented anywhere
* :github:`46267` - docs: include/zephyr/net/http_client.h is not documented anywhere
* :github:`46266` - zephyr,sdmmc-disk compatible lacks a binding
* :github:`46263` - Regulator Control
* :github:`46255` - imxrt1010 wrong device tree addresses
* :github:`46235` - subsystem: Bluetooth LLL: ASSERTION FAIL [!link->next]
* :github:`46234` - samples: lsm6dso: prints incorrect anglular velocity units
* :github:`46208` - it8xxx2_evb: tests/kernel/sleep failed, elapsed_ms = 2125
* :github:`46206` - it8xxx2_evb: tests/kernel/fatal/exception/ assertion failed -- "thread was not aborted"
* :github:`46199` - LIS2DW12 I2C driver uses invalid write command
* :github:`46186` - ISO Broadcaster fails silently on unsupported RTN/SDU_Interval combination
* :github:`46183` - LE Audio: Broadcast sink stop sending syncable once synced
* :github:`46180` - Add GitHub app for Googler notifications
* :github:`46173` - nRF UART callback is not passed correct index via evt->data.rx.offset sometimes
* :github:`46170` - ipc_service: open-amp backend may never leave
* :github:`46167` - esp32: Unable to select GPIO for PWM LED driver channel
* :github:`46164` - scripts: release: ci checks for issues associated with backport prs
* :github:`46158` - frdm_k64ffailed to run test case tests/subsys/modbus/modbus.rtu/server_setup_low_none
* :github:`46157` - ACRN: some cases still failed because of the log missing
* :github:`46124` - stm32g071 ADC drivers apply errata during sampling config
* :github:`46117` - Kernel events cant be manipulated without race conditions
* :github:`46100` - lib: posix: support for perror()
* :github:`46099` - libc: minimal: add strerror() function
* :github:`46075` - BT HCI Raw on STM32WB55RG
* :github:`46072` - subsys/hawkBit: Debug log error in hawkbit example "CONFIG_LOG_STRDUP_MAX_STRING"
* :github:`46066` - TF-M: Unable to trigger NMI interrupt from non-secure
* :github:`46065` - Bluetooth: controller: llcp: verify that refactored LLCP is used in EDTT
* :github:`46049` - Usage faults on semaphore usage in driver (stm32l1)
* :github:`46048` - Use dts memory-region property to retrieve memory region used by driver
* :github:`46008` - stm32h7: gptp sample does not work at all
* :github:`45993` - Matter(CHIP) support
* :github:`45955` - stm32h7 i2s support
* :github:`45953` - modem: simcom-sim7080: sendmsg() should result in single outgoing datagram
* :github:`45951` - modem: ublox-sara-r4: outgoing datagrams are truncated if they do not fit MTU
* :github:`45938` - Unable to combine USB CDC-ACM and Modbus Serial due to dependecy on uart_configure().
* :github:`45934` - ipc_service: nocopy tx buffer allocation works unexpectedly with RPMSG backend
* :github:`45933` - webusb sample code linking error for esp32 board
* :github:`45929` - up_squaredfailed to run test case tests/posix/common
* :github:`45914` - test: tests/kernel/usage/thread_runtime_stats/ test fail
* :github:`45866` - drivers/entropy: stm32: non-compliant RNG configuration on some MCUs
* :github:`45848` - tests: console harness: inaccuracy testcases report
* :github:`45846` - New ZTEST API for noisily skipping a test based dependency failures
* :github:`45845` - tests: The failure test case number increase significantly in CMSIS DSP tests on ARM boards.
* :github:`45844` - Not all bytes are downloaded with HTTP request
* :github:`45842` - drivers: modem: uart_mux errors after second call to gsm_ppp_start
* :github:`45827` - bluetooth: bluetooth host: Adding the same device to resolving list
* :github:`45807` - CivetWeb doesn't build for CC3232SF
* :github:`45802` - Some tests reported as PASSED (device) but they were only build
* :github:`45774` - drivers: gpio: pca9555: Driver is writing to output port despite all pins been configured as input
* :github:`45760` - Running twister on new board files
* :github:`45741` - LE Audio: Allow unique ``bt_codec_qos`` for each unicast stream
* :github:`45678` - Lorawan: Devnonce has already been used
* :github:`45675` - testing.ztest.customized_output: mismatch twister results in json/xml file
* :github:`45666` - Building samples about BLE audio with nrf5340dk does not work
* :github:`45658` - Build failure: civetweb/http_server with target blackpill_f411ce and CONFIG_DEBUG=y
* :github:`45647` - test: drivers: counter: Test passes even when no instances are found
* :github:`45613` - LE Audio: Setting ISO chan path and CC from BAP
* :github:`45611` - GD32 build failure: CAN_MODE_NORMAL is redefined
* :github:`45596` - samples: Code relocation nocopy sample has some unusual failure on nrf5340dk
* :github:`45581` - samples: usb: mass: Sample.usb.mass_flash_fatfs fails on non-secure nrf5340dk
* :github:`45564` - Zephyr does not boot with CONFIG_PM=y
* :github:`45558` - LE Audio: Update MICP API with new naming scheme
* :github:`45532` - uart_msp432p4xx_poll_in() seems to be a blocking function
* :github:`45509` - ipc: ipc_icmsg: Can silently drop buffer if message is too big
* :github:`45441` - SPI NOR driver assume all SPI controller HW is implemnted in an identical way
* :github:`45374` - Creating the unicast group before both ISO connections have been configured might cause issue
* :github:`45349` - ESP32: fails to chain-load sample/board/esp32/wifi_station from MCUboot
* :github:`45315` - drivers: timer: nrf_rtc_timer: NRF boards take a long time to boot application in CONFIG_TICKLESS_KERNEL=n mode after OTA update
* :github:`45304` - drivers: can: CAN interfaces are brought up with default bitrate at boot, causing error frames if bus bitrate differs
* :github:`45270` - CMake - TEST_BIG_ENDIAN
* :github:`45234` - stm32: Allow multiple GPIOs to trigger an interrupt
* :github:`45222` - drivers: peci: user space handlers not building correctly
* :github:`45169` - rcar_h3ulcb: failed to run test case tests/drivers/can/api
* :github:`45168` - rcar_h3ulcb: failed to run test case tests/drivers/can/timing
* :github:`45157` - cmake: Use of -ffreestanding disables many useful optimizations and compiler warnings
* :github:`45130` - LE Audio: Allow CSIS set sizes of 1
* :github:`45117` - drivers: clock_control: clock_control_nrf
* :github:`45114` - Sample net/sockets/echo not working with disco_l475_iot1
* :github:`45105` - ACRN: failed to run testcase tests/kernel/fifo/fifo_timeout/
* :github:`45039` - Bluetooth: Controller: Broadcast multiple BIS (broadcast ISO streams)
* :github:`45021` - Configurable SDMMC bus width for STM32
* :github:`45012` - sam_e70b_xplained: failed to run test case tests/drivers/can/timing/drivers.can.timing
* :github:`45009` - twister: many tests failed with "mismatch error" after met a SerialException.
* :github:`45008` - esp32: i2c_read() error was returned successfully at the bus nack
* :github:`44998` - SMP shell exec command causes BLE stack breakdown if buffer size is too small to hold response
* :github:`44996` - logging: transient strings are no longer duplicated correctly
* :github:`44980` - ws2812_spi allow setting CPHA in overlay
* :github:`44944` - LE Audio: Add ISO part to broadcast audio bsim tests
* :github:`44925` - intel_adsp_cavs25: multiple tests failed after running tests/boards/intel_adsp
* :github:`44898` - mgmt/mcumgr: Fragmentation of responses may cause mcumgr to drop successfully processed response
* :github:`44861` - WiFi support for STM32 boards
* :github:`44830` - Unable to set compiler warnings on app exclusively
* :github:`44824` - mgmt/mcumgr/lib: Use slist in group registration to unify with Zephyr code
* :github:`44725` - drivers: can: stm32: can_add_rx_filter() does not respect CONFIG_CAN_MAX_FILTER
* :github:`44622` - Microbit v2 board dts file for lsm303agr int line
* :github:`44579` - MCC: Discovery cannot complete with success
* :github:`44573` - Do we have complete RNDIS stack available for STM32 controller in zephyr ?
* :github:`44466` - Zephyr misses strict aliasing disabling
* :github:`44455` - LE Audio: Remove ``struct bt_codec *codec`` parameter from ``bt_audio_broadcast_sink_sync``
* :github:`44403` - MPU fault and ``CONFIG_CMAKE_LINKER_GENERATOR``
* :github:`44400` - LE Audio: Unicast server stream control
* :github:`44340` - Bluetooth: controller: Handle parallel (across connections) CU/CPRs in refactored LLCP
* :github:`44338` - Intel CAVS: tests/subsys/logging/log_immediate/ failed due to non-intact log
* :github:`44324` - Compile error in byteorder.h
* :github:`44228` - drivers: modem: bg9x: bug on cmd AT+QICSGP
* :github:`44219` - mgmt/mcumgr/lib: Incorrect processing of img_mgmt_impl_write_image_data leaves mcumgr in broken state in case of error
* :github:`44214` - mgmt/mcumgr/lib: Parasitic use of CONFIG_HEAP_MEM_POOL_SIZE in image management
* :github:`44143` - Adding picolibc as a module
* :github:`44071` - LE Audio: Upstream remaining parts of topic branch
* :github:`44070` - west spdx TypeError: 'NoneType' object is not iterable
* :github:`44059` - Hearing Aid Role
* :github:`44058` - Hearing Access Service API
* :github:`44005` - add strtoll and strtoull to libc minimal
* :github:`43940` - Support for CH32V307 devices
* :github:`43933` - llvm: twister: multiple errors with set but unused variables
* :github:`43928` - pm: going to PM_STATE_SOFT_OFF in pm_policy_next_state causes assert in some cases
* :github:`43913` - LE Audio: Callbacks as singletons or lists?
* :github:`43910` - civetweb/http_server - DEBUG_OPTIMIZATIONS enabled
* :github:`43887` - SystemView tracing with STM32L0x fails to compile
* :github:`43859` - Bluetooth: ISO: Add sequence number and timestamp to bt_iso_chan_send
* :github:`43828` - Intel CAVS: multiple tests under tests/boards/intel_adsp/smoke are failing
* :github:`43811` - ble: gatt: db_hash_work runs for too long and makes serial communication fail
* :github:`43788` - LE Audio: Broadcast Sink shall instantiate PACS
* :github:`43767` - LE Audio: Broadcast sink/source use list of streams instead of array
* :github:`43718` - Bluetooth: bt_conn: Unable to allocate buffer within timeout
* :github:`43655` - esp32c3: Connection fail loop
* :github:`43646` - mgmt/mcumgr/lib: OS taskstat may give shorter list than expected
* :github:`43515` - reel_board: failed to run tests/kernel/workq/work randomly
* :github:`43450` - twister: platform names from quarantine file are not verified
* :github:`43435` - Bluetooth: controller: llcp: failing EBQ and Harmony tests
* :github:`43335` - Automatic Automated Backports?
* :github:`43246` - Bluetooth: Host: Deadlock with Mesh and Ext Adv on native_posix
* :github:`43245` - GitHub settings: Update topics
* :github:`43202` - LE Audio: Avoid hardcoding context type for LC3 macros
* :github:`43135` - stm32: uart: Support for wakeup from stop
* :github:`43130` - STM32WL ADC idles / doesn't work
* :github:`43124` - twister: Create pytest-based PoC for twister v2
* :github:`43115` - Data corruption in STM32 SPI driver in Slave Mode
* :github:`43103` - LwM2M library should use JSON library for parsing
* :github:`42890` - Bluetooth: Controller: Periodic Advertising: AD data fragmentation
* :github:`42889` - Bluetooth: Controller: Extended Advertising: AD data fragmentation
* :github:`42885` - Bluetooth: Controller: Group auxiliary PDU transmissions
* :github:`42842` - BBRAM API is missing a documentation reference page
* :github:`42700` - Support module.yml in zephyr repo
* :github:`42684` - New LLCP handling of Preferred PHY (default tx/rx phy) needs a review
* :github:`42649` - bt_ots_client_unregister()
* :github:`42629` - stm32g0: Device hang/hard fault with AT45 + ``CONFIG_PM_DEVICE``
* :github:`42574` - i2c: No support for bus recovery imx.rt and or timeout on bus busy
* :github:`42522` - LE Audio: Immediate alert service
* :github:`42472` - ztest: add support for assumptions
* :github:`42450` - cmake: dts.cmake: Add Board overlays before shields
* :github:`42420` - mgmt/mcumgr/lib: Async image erase command with status check
* :github:`42356` - Repo size - board documentation - large PNGs
* :github:`42341` - LE Audio: CSIS Ordered Access procedure use rank
* :github:`42324` - mgmt/mcumgr/lib: Move to direct use of net_buf
* :github:`42277` - Zephyr Docs on West need to be updated to include SBOM generation
* :github:`42208` - tests/subsys/logging/log_api/ fails qemu_leon3 if ptr_in_rodata() is enabled for SPARC
* :github:`42197` - Bluetooth: Controller: llcp: No disconnect if remote does not response for initiated control procedure
* :github:`42134` - TLS handshake error using DTLS on updatehub
* :github:`42102` - doc: searches for sys_reboot() are inconsistent
* :github:`41954` - Bluetooth: Controller: BIS: Event timing calculations
* :github:`41922` - Bluetooth: Controller: ISOAL: TX: Implement SDU Fragmentation into Unframed PDUs
* :github:`41880` - Strict test ordering in new ztest API
* :github:`41776` - LLVM: support -fuse-ld=lld linker on qemu_x86.
* :github:`41772` - stm32: G0: adc: Add support for VBAT internal channel
* :github:`41711` - LE Audio: CAP Acceptor Implementation
* :github:`41355` - Bluetooth: API to determine if notification over EATT is possible
* :github:`41286` - Bluetooth SDP: When the SDP attribute length is greater than SDP_MTU, the attribute is discarded
* :github:`41281` - Style Requirements Seem to Be Inconsistent with Uncrustify Configuration
* :github:`41224` - LE Audio: Telephony and Media Audio Profile (TMAP)
* :github:`41217` - LE Audio: Support for a minimum CCP client
* :github:`41214` - LE Audio: Add public API to CCP/TBS
* :github:`41211` - LE Audio: BASS support for multiple connection
* :github:`41208` - LE Audio: BASS use multi-characteristic macro for receive states
* :github:`41205` - OTS: Debug metadata output
* :github:`41204` - LE Audio: BASS read long
* :github:`41203` - LE Audio: BASS write long
* :github:`41199` - LE Audio: Media API with one call per command, rather than sending opcodes
* :github:`41197` - LE Audio: Use BT_MEDIA_PROXY values instead of BT_MCS
* :github:`41193` - LE Audio: Couple IN audio stream with an OUT audio stream
* :github:`40933` - mgmt/mcumgr/lib: Divide the lib Kconfig into sub-Kconfigs dedicated to specific mgmt cmd group
* :github:`40893` - mgmt/mcumg/lib: Encode shell command execution result in additional field of response
* :github:`40855` - mgmt/mcumgr/lib: Add optional image/slot parameter to "image erase" mcumgr request command
* :github:`40854` - mgmt/mcumgr/lib: Extend taskstat response with "runtime" statistics
* :github:`40827` - Tensorflow example not working in zephyr v2.6
* :github:`40664` - Bluetooth: GATT: EATT: Multiple notify feature not utilize new PDU fully
* :github:`40444` - Late C++ constructor initialization on native posix boards
* :github:`40389` - Inconsistent use of CMake / environment variables
* :github:`40309` - Multi-image support for MCUboot
* :github:`40146` - On the status of DT-defined regions and MPU
* :github:`39888` - STM32L4: usb-hid: regression in hal 1.17.0
* :github:`39491` - Add a hal module for Nuclei RISC-V core (NMSIS)
* :github:`39486` - Improve emulator APIs for testing
* :github:`39347` - Static object constructors do not execute on the NATIVE_POSIX_64 target
* :github:`39153` - Improve ztest test suites (setup/teardown/before/after + OOD)
* :github:`39037` - CivetWeb samples fail to build with CONFIG_NEWLIB_LIBC
* :github:`38727` - [RFC] Add hal_gigadevice to support GigaDevice SoC Vendor
* :github:`38654` - drivers: modem: bg9x: Has no means to update size of received packet.
* :github:`38613` - BLE connection parameters updated with inconsistent values
* :github:`38544` - drivers: wifi: esWIFI: Regression due to 35815
* :github:`38494` - Flooded logs when using CDC_ACM as back-end
* :github:`38336` - Bluetooth: Host: separate authentication callbacks for each identity
* :github:`37883` - Mesh Bluetooth Sample not working with P-NUCLEO-WB55RG
* :github:`37704` - hello world doesn't work on qemu_arc_em when CONFIG_ISR_STACK_SIZE=1048510
* :github:`37212` - improve docs with diagram for boot flow of ACRN on x86 ehl_crb
* :github:`36819` - qemu_leon3 samples/subsys/portability/cmsis_rtos_v2 samples failing
* :github:`36644` - Toolchain C++ headers can be included when libstdc++ is not selected
* :github:`36476` - Add intel HAL support
* :github:`36084` - Arduino Nano 33 BLE: USB gets disconnected after flashing
* :github:`36026` - wolfssl / wolfcrypt
* :github:`35931` - Bluetooth: controller: Assertion in ull_master.c
* :github:`35816` - timer: STM32: using hw timer for counting and interrupt callback
* :github:`35778` - pwm : STM32: Timer handling interrupt callback handling
* :github:`35762` - SAMPLES: shell_module gives no console output on qemu_leon3
* :github:`35719` - WiFi Management expects networking to be offloaded
* :github:`35512` - OpenThread can't find TRNG driver on nRF5340
* :github:`34927` - Add error check to twister if set of platforms between platform_allow and integration_platforms is empty
* :github:`34600` - Bluetooth: L2CAP: Deadlock when there are no free buffers while transmitting on multiple channels
* :github:`34571` - Twister mark successfully passed tests as failed
* :github:`34438` - CivetWeb sample only supports HTTP, Zephyr lacks TLS support
* :github:`34413` - Improve __used attribute to actually keep requested function/variable
* :github:`34227` - Use compile time resolved device bindings in flash map, when possible
* :github:`34226` - Compile error when building civetweb samples for posix_native
* :github:`34190` - Newbie: Simple C++ List App Builds for QEMU but not Native Posix Emulation
* :github:`33876` - Lora sender sample build error for esp32
* :github:`33865` - Bluetooth: iso_server security is not applied
* :github:`33725` - Modularisation and Restructuring of Documentation
* :github:`33627` - Provide alternative nvs_init that will take const struct ``*device`` instead of device name
* :github:`33520` - Update module civetweb (bug fixes and increased stack size requirement)
* :github:`33339` - API/functions to get remaining free heap size
* :github:`33185` - TCP traffic with IPSP sample not working on 96Boards Nitrogen
* :github:`33015` - spi_nor driver: SPI_NOR_IDLE_IN_DPD breaks SPI_NOR_SFDP_RUNTIME
* :github:`32665` - Bluetooth: controller: inclusion of vendor data type and function overrides provided by vendor LLL
* :github:`32608` - Revert practice of removing devicetree labels
* :github:`32516` - RFC: 1-Wire driver
* :github:`32197` - arch_switch() on SPARC isn't quite right
* :github:`31290` - dts: arm: st: standardize pwm default property st,prescaler to 0
* :github:`31208` - Bluetooth Mesh CCM Hardware Acceleration
* :github:`31175` - STM32F1 RTC
* :github:`30694` - Some boards enable non-minimal peripherals by default
* :github:`30505` - Rework pipe_api test for coverage
* :github:`30365` - TCP2 does not implement Nagle algorithm
* :github:`29866` - Drivers/PCIE: read/write 8/16/32 bit word to an endpoint's configuration space
* :github:`28145` - nRF52840 Dongle cannot scan LE Coded PHY devices
* :github:`27997` - Errors in copy paste lengthy script into Shell Console
* :github:`27975` - [Thingy52_nrf52832 board] - Working with other led than led0
* :github:`27735` - Enable DT-based sanity-check test filtering
* :github:`27585` - investigate using the interrupt stack for the idle thread
* :github:`27511` - coverage: qemu platforms: sanitycheck generates many ``unexpected eof`` failures when enable coverage
* :github:`27033` - Update terminology related to I2C
* :github:`26938` - gpio: api to query pin configuration
* :github:`26179` - devicetree: Missing support of unquoted strings
* :github:`25442` - Does Zephyr support USB host mode ?
* :github:`25382` - devicetree: Add ranges property support for PCIe node
* :github:`24457` - Common Trace Format - Failed to produce correct trace output
* :github:`24373` - NULL-pointer dereferencing in GATT when master connection fails
* :github:`23893` - server to client ble coms: two characteristics with notifications failing to notify the right characteristics at the client
* :github:`23302` - Poor TCP performance
* :github:`23165` - macOS setup fails to build for lack of "elftools" Python package
* :github:`23111` - drivers:usb:device:sam0: Descriptor tables are filled with zeros in attach()
* :github:`23032` - Need help to enable Sub-GHz for ieee802154_cc13xx_cc26xx
* :github:`22208` - gpio: clean up debounce configuration
* :github:`22079` - Add reception channel information to advertise_report
* :github:`21980` - Doesn't Install on Raspberry Pi
* :github:`21234` - drivers: usb_dc_sam0: usb detach and reattach does not work
* :github:`19979` - Implement Cortex-R floating-point support
* :github:`19244` - BLE throughput of DFU by Mcumgr is too slow
* :github:`18551` - address-of-temporary idiom not allowed in C++
* :github:`16683` - [RFC] Missing parts of libc required for CivetWeb
* :github:`16674` - Checkpatch generates incorrect warning for __DEPRECATED_MACRO
* :github:`15591` - Add STM32 LCD-TFT Display Controller (LTDC) Driver
* :github:`15429` - shields: improve cmake to define/extract pinmux and defconfig info
* :github:`15256` - Link Layer Control Procedure overhaul
* :github:`15214` - Enforce correct compilers in boilerplate.cmake
* :github:`14527` - [wip] Generic support for out-of-tree drivers
* :github:`14068` - Allow better control on SPI pin settings
* :github:`13662` - samples/subsys/usb/cdc_acm: Stuck at "Wait for DTR"
* :github:`13639` - Use dirsync for doxygen directory syncing
* :github:`13519` - BLE Split Link Layer Improvements
* :github:`13196` - LwM2M: support Access Control objects (object id 2)
* :github:`12272` - SD/MMC interface support
* :github:`12191` - Nested interrupt test has very poor coverage
* :github:`11975` - Logging subsystem doesn't work with prink char_out functions
* :github:`11918` - Runtime pin configuration
* :github:`11636` - Generic GPIO reset driver
* :github:`10938` - Standardize labels (string device names) used for device binding
* :github:`10516` - Migrate drivers to Devicetree
* :github:`10512` - Console, logger, shell architecure
* :github:`8945` - Explore baselibc as a replacement for minimal libc
* :github:`8497` - Need a "monitor" spin-for-ISR API
* :github:`8496` - Need a "lock" wrapper around k_sem
* :github:`8139` - Driver for BMA400 accelerometer
* :github:`7876` - net: tcp: Zero Window Probes are not supported/handled properly
* :github:`7516` - Support binary blobs / libraries and glue code in vanilla upstream Zephyr
* :github:`6498` - Kernel high-resolution timer support
* :github:`5408` - Improve docs & samples on device tree overlay
* :github:`1392` - No module named 'elftools'
* :github:`2170` - I2C fail to read GY2561 sensor when GY2561 & GY271 sensor are attached to I2C bus.
``` | /content/code_sandbox/doc/releases/release-notes-3.2.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 41,485 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.