1:orphan: 2 3.. _zephyr_4.0: 4 5Zephyr 4.0.0 6############ 7 8We are pleased to announce the release of Zephyr version 4.0.0. 9 10Major enhancements with this release include: 11 12* **Secure Storage Subsystem**: 13 A newly introduced :ref:`secure storage<secure_storage>` subsystem allows the use of the 14 PSA Secure Storage API and of persistent keys in the PSA Crypto API on *all* board targets. It 15 is now the standard way to provide device-specific protection to data at rest. (:github:`76222`) 16 17* **ZMS (Zephyr Memory Storage) Subsystem**: 18 :ref:`ZMS <zms_api>` is a new key-value storage subsystem compatible with all non-volatile storage 19 types, including traditional NOR flash and advanced technologies like RRAM and MRAM that support 20 write without erasure. 21 22* **Analog Comparators**: 23 A new :ref:`comparator<comparator_api>` device driver subsystem for analog comparators has been 24 added, complete with shell support. It supports initial configuration through Devicetree and 25 runtime configuration through vendor specific APIs. Initially the :dtcompatible:`nordic,nrf-comp`, 26 :dtcompatible:`nordic,nrf-lpcomp` and :dtcompatible:`nxp,kinetis-acmp` are supported. 27 28* **Stepper Motors**: 29 It is now possible to interact with stepper motors using a standard API thanks to the new 30 :ref:`stepper<stepper_api>` device driver subsystem, which also comes with shell support. 31 Initially implemented drivers include a simple :dtcompatible:`zephyr,gpio-steppers` and a complex 32 sensor-less stall-detection capable with integrated ramp-controller :dtcompatible:`adi,tmc5041`. 33 34* **Haptics**: 35 A new :ref:`haptics_api` device driver subsystem allows unified access to haptic controllers, 36 enabling users to add haptic feedback to their applications. 37 38* **Multimedia Capabilities** 39 Zephyr's audio and video capabilities have been expanded with support for new image sensors, video 40 interfaces, audio interfaces, and codecs being supported. 41 42* **Prometheus Library**: 43 A `Prometheus`_ metrics library has been added to the networking stack. It provides a way to 44 expose metrics to Prometheus clients over HTTP, facilitating the consolidated remote monitoring of 45 Zephyr devices alongside other systems typically monitored using Prometheus. 46 47* **Documentation Improvements**: 48 Several enhancements were made to the online documentation to improve content discovery and 49 navigation. These include a new :ref:`interactive board catalog <boards>` and an interactive 50 directory for :zephyr:code-sample-category:`code samples <samples>`. 51 52* **Expanded Board Support**: 53 Over 60 :ref:`new boards <boards_added_in_zephyr_4_0>` and 54 :ref:`shields <shields_added_in_zephyr_4_0>` are supported in Zephyr 4.0. 55 56.. _`Prometheus`: https://prometheus.io/ 57 58An overview of the changes required or recommended when migrating your application from Zephyr 59v3.7.0 to Zephyr v4.0.0 can be found in the separate :ref:`migration guide<migration_4.0>`. 60 61The following sections provide detailed lists of changes by component. 62 63Security Vulnerability Related 64****************************** 65The following CVEs are addressed by this release: 66 67More detailed information can be found in: 68https://docs.zephyrproject.org/latest/security/vulnerabilities.html 69 70* :cve:`2024-8798`: Under embargo until 2024-11-22 71* :cve:`2024-10395`: Under embargo until 2025-01-23 72* :cve:`2024-11263` `Zephyr project bug tracker GHSA-jjf3-7x72-pqm9 73 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-jjf3-7x72-pqm9>`_ 74 75API Changes 76*********** 77 78Removed APIs in this release 79============================ 80 81* Macro ``K_THREAD_STACK_MEMBER``, deprecated since v3.5.0, has been removed. 82 Use :c:macro:`K_KERNEL_STACK_MEMBER` instead. 83 84* ``CBPRINTF_PACKAGE_COPY_*`` macros, deprecated since Zephyr 3.5.0, have been removed. 85 86* ``_ENUM_TOKEN`` and ``_ENUM_UPPER_TOKEN`` macros, deprecated since Zephyr 2.7.0, 87 are no longer generated. 88 89* Removed deprecated arch-level CMSIS header files 90 ``include/zephyr/arch/arm/cortex_a_r/cmsis.h`` and 91 ``include/zephyr/arch/arm/cortex_m/cmsis.h``. ``cmsis_core.h`` needs to be 92 included now. 93 94* Removed deprecated ``ceiling_fraction`` macro. :c:macro:`DIV_ROUND_UP` needs 95 to be used now. 96 97* Removed deprecated header file 98 ``include/zephyr/random/rand32.h``. ``random.h`` needs to be included now. 99 100* Deprecated ``EARLY``, ``APPLICATION`` and ``SMP`` init levels can no longer be 101 used for devices. 102 103* Removed deprecated net_pkt functions. 104 105Deprecated in this release 106========================== 107 108* Deprecated the ``net_buf_put()`` and ``net_buf_get()`` API functions in favor of 109 :c:func:`k_fifo_put` and :c:func:`k_fifo_get`. 110 111* The ``kscan_api`` subsystem has been marked as deprecated. 112 113* Deprecated the TinyCrypt shim driver ``CONFIG_CRYPTO_TINYCRYPT_SHIM``. 114 115* ``native_posix`` has been deprecated in favour of 116 :ref:`native_sim<native_sim>`. 117 118* ``include/zephyr/net/buf.h`` is deprecated in favor of 119 ``include/zephyr/net_buf.h>``. The old header will be removed in future releases 120 and its usage should be avoided. 121 122Architectures 123************* 124 125* ARC 126 127* ARM 128 129 * Added support of device memory attributes on Cortex-M (arm_mpu_v8) 130 131* ARM64 132 133 * Added initial support for :c:func:`arch_stack_walk` that supports unwinding via esf only 134 * Added sys_arch_reboot() support to ARM64 135 136 * Added support for demand paging. 137 138 * Added support for Linkable Loadable Extensions (LLEXT). 139 140* RISC-V 141 142 * The stack traces upon fatal exception now prints the address of stack pointer (sp) or frame 143 pointer (fp) depending on the build configuration. 144 145 * When :kconfig:option:`CONFIG_EXTRA_EXCEPTION_INFO` is enabled, the exception stack frame (arch_esf) 146 has an additional field ``csf`` that points to the callee-saved-registers upon an fatal error, 147 which can be accessed in :c:func:`k_sys_fatal_error_handler` by ``esf->csf``. 148 149 * For SoCs that select ``RISCV_SOC_HAS_ISR_STACKING``, the ``SOC_ISR_STACKING_ESF_DECLARE`` has to 150 include the ``csf`` member, otherwise the build would fail. 151 152* Xtensa 153 154* x86 155 156 * Added initial support for :c:func:`arch_stack_walk` that supports unwinding via esf only 157 158Kernel 159****** 160 161* Devicetree devices are now exported to :ref:`llext`. 162 163Bluetooth 164********* 165 166* Audio 167 168 * :c:func:`bt_tbs_client_register_cb` now supports multiple listeners and may now return an error. 169 170 * Added APIs for getting and setting the assisted listening stream values in codec capabilities 171 and codec configuration: 172 173 * :c:func:`bt_audio_codec_cfg_meta_get_assisted_listening_stream` 174 * :c:func:`bt_audio_codec_cfg_meta_set_assisted_listening_stream` 175 * :c:func:`bt_audio_codec_cap_meta_get_assisted_listening_stream` 176 * :c:func:`bt_audio_codec_cap_meta_set_assisted_listening_stream` 177 178 * Added APIs for getting and setting the broadcast name in codec capabilities 179 and codec configuration: 180 181 * :c:func:`bt_audio_codec_cfg_meta_get_broadcast_name` 182 * :c:func:`bt_audio_codec_cfg_meta_set_broadcast_name` 183 * :c:func:`bt_audio_codec_cap_meta_get_broadcast_name` 184 * :c:func:`bt_audio_codec_cap_meta_set_broadcast_name` 185 186* Host 187 188 * Added API :c:func:`bt_gatt_get_uatt_mtu` to get current Unenhanced ATT MTU of a given 189 connection (experimental). 190 * Added :kconfig:option:`CONFIG_BT_CONN_TX_NOTIFY_WQ`. 191 The option allows using a separate workqueue for connection TX notify processing 192 (:c:func:`bt_conn_tx_notify`) to make Bluetooth stack more independent from the system workqueue. 193 194 * The host now disconnects from the peer upon ATT timeout. 195 196 * Added a warning to :c:func:`bt_conn_le_create` and :c:func:`bt_conn_le_create_synced` if 197 the connection pointer passed as an argument is not NULL. 198 199 * Added Kconfig option :kconfig:option:`CONFIG_BT_CONN_CHECK_NULL_BEFORE_CREATE` to enforce 200 :c:func:`bt_conn_le_create` and :c:func:`bt_conn_le_create_synced` return an error if the 201 connection pointer passed as an argument is not NULL. 202 203 * Fixed an ltk derive issue in L2CAP 204 * Added listener callback for discovery (BR) 205 * Corrected BR bonding type (SSP) 206 * Added support for non-bondable mode (SSP) 207 * Changed SSP so that no MITM if required level is less than L3 208 * Added checking the receiving buffer length before pulling data (AVDTP) 209 * Added support of security level 4 to SSP 210 * Fixed LE LTK cannot be derived 211 * Added support for Multi-Command Packet (l2cap) 212 * Improved the L2CAP code to Set flags in CFG RSP 213 * Improved the L2CAP code to handle all configuration options 214 * Improved the SSP code to clear pairing flag if ssp pairing completed area 215 * Improved the SMP code to check if remote supports CID 0x0007 216 * Added support for SMP CT2 flag 217 * Improved the SSP code so the proper callback is called when pairing fails 218 219* Controller 220 221 * Added Periodic Advertising Sync Transfer (PAST) support with support for both sending and receiving roles. 222 The option can be enabled by :kconfig:option:`CONFIG_BT_CTLR_SYNC_TRANSFER_SENDER` and 223 :kconfig:option:`CONFIG_BT_CTLR_SYNC_TRANSFER_RECEIVER`. 224 225* HCI Drivers 226 227* Mesh 228 229 * Introduced a mesh-specific workqueue to increase reliability of the mesh messages 230 transmission. To get the old behavior enable :kconfig:option:`CONFIG_BT_MESH_WORKQ_SYS`. 231 232Boards & SoC Support 233******************** 234 235* Added support for these SoC series: 236 237 * Added ESP32-C2 and ESP8684 SoC support. 238 * Added STM32U0 series with GPIO, Serial, I2C, DAC, ADC, flash, PWM and counter driver support. 239 * Added STM32WB0 series with GPIO, Serial, I2C, SPI, ADC, DMA and flash driver support. 240 * Added STM32U545xx SoC variant. 241 * Added NXP i.MX93's Cortex-M33 core 242 * Added NXP MCXW71, MCXC242, MCXA156, MCXN236, MCXC444, RT1180 243 244* Made these changes in other SoC series: 245 246 * NXP S32Z270: Added support for the new silicon cut version 2.0. Note that the previous 247 versions (1.0 and 1.1) are no longer supported. 248 * NXP s32k3: fixed RAM retention issue 249 * NXP s32k1: obtain system clock frequency from Devicetree 250 versions (1.0 and 1.1) are no longer supported. 251 * Added ESP32 WROVER-E-N16R4 variant. 252 * STM32H5: Added support for OpenOCD through STMicroelectronics OpenOCD fork. 253 * MAX32: Enabled Segger RTT and SystemView support. 254 * Silabs Series 2: Use oscillator, clock and DCDC configuration from device tree during init. 255 * Silabs Series 2: Added initialization for SMU (Security Management Unit). 256 * Silabs Series 2: Use sleeptimer as the default OS timer instead of systick. 257 * NXP i.MX8MP: Enable the IRQ_STEER interrupt controller. 258 * NXP RWxxx: 259 260 * added additional support to Wakeup from low power modes 261 * RW61x: increased main stack size to avoid stack overflows when running BLE 262 * RW612: enabled SCTIMER 263 264 * NXP IMXRT: Fixed flexspi boot issue caused by an erroneous relocation of the Flash Configuration Block 265 of Kconfig defaults being sourced 266 * NXP RT11xx: enabled FlexIO 267 * NXP IMXRT116x: Fixed bus clocking to align with the settings of the MCUXpresso SDK 268 * NXP mimxrt685: fixed clocks to enable DMIC 269 * NXP MCX N Series: Fixed NXP LPSPI native chip select when using synchronous API with DMA bug 270 * Nordic nRF54H: Added support for the FLPR (Fast Lightweight Processor) RISC-V CPU. 271 272.. _boards_added_in_zephyr_4_0: 273 274* Added support for these boards: 275 276 * :zephyr:board:`01space ESP32C3 0.42 OLED <esp32c3_042_oled>` (``esp32c3_042_oled``) 277 * :zephyr:board:`ADI MAX32662EVKIT <max32662evkit>` (``max32662evkit``) 278 * :zephyr:board:`ADI MAX32666EVKIT <max32666evkit>` (``max32666evkit``) 279 * :zephyr:board:`ADI MAX32666FTHR <max32666fthr>` (``max32666fthr``) 280 * :zephyr:board:`ADI MAX32675EVKIT <max32675evkit>` (``max32675evkit``) 281 * :zephyr:board:`ADI MAX32690FTHR <max32690fthr>` (``max32690fthr``) 282 * :zephyr:board:`arduino_nicla_vision` (``arduino_nicla_vision``) 283 * :zephyr:board:`BeagleBone AI-64 <beaglebone_ai64>` (``beaglebone_ai64``) 284 * :zephyr:board:`BeaglePlay (CC1352) <beagleplay>` (``beagleplay``) 285 * :zephyr:board:`DPTechnics Walter <walter>` (``walter``) 286 * :zephyr:board:`Espressif ESP32-C3-DevKitC <esp32c3_devkitc>` (``esp32c3_devkitc``) 287 * :zephyr:board:`Espressif ESP32-C3-DevKit-RUST <esp32c3_rust>` (``esp32c3_rust``) 288 * :zephyr:board:`Espressif ESP32-S3-EYE <esp32s3_eye>` (``esp32s3_eye``) 289 * :zephyr:board:`Espressif ESP8684-DevKitM <esp8684_devkitm>` (``esp8684_devkitm``) 290 * :zephyr:board:`Gardena Smart Garden Radio Module <sgrm>` (``sgrm``) 291 * :zephyr:board:`mikroe STM32 M4 Clicker <mikroe_stm32_m4_clicker>` (``mikroe_stm32_m4_clicker``) 292 * :ref:`Nordic Semiconductor nRF54L15 DK <nrf54l15dk_nrf54l15>` (``nrf54l15dk``) 293 * :ref:`Nordic Semiconductor nRF54L20 PDK <nrf54l20pdk_nrf54l20>` (``nrf54l20pdk``) 294 * :ref:`Nordic Semiconductor nRF7002 DK <nrf7002dk_nrf5340>` (``nrf7002dk``) 295 * :zephyr:board:`Nuvoton NPCM400_EVB <npcm400_evb>` (``npcm400_evb``) 296 * :zephyr:board:`NXP FRDM-MCXA156 <frdm_mcxa156>` (``frdm_mcxa156``) 297 * :zephyr:board:`NXP FRDM-MCXC242 <frdm_mcxc242>` (``frdm_mcxc242``) 298 * :zephyr:board:`NXP FRDM-MCXC444 <frdm_mcxc444>` (``frdm_mcxc444``) 299 * :zephyr:board:`NXP FRDM-MCXN236 <frdm_mcxn236>` (``frdm_mcxn236``) 300 * :zephyr:board:`NXP FRDM-MCXW71 <frdm_mcxw71>` (``frdm_mcxw71``) 301 * :zephyr:board:`NXP i.MX95 EVK <imx95_evk>` (``imx95_evk``) 302 * :zephyr:board:`NXP MIMXRT1180-EVK <mimxrt1180_evk>` (``mimxrt1180_evk``) 303 * :ref:`PHYTEC phyBOARD-Nash i.MX93 <phyboard_nash>` (``phyboard_nash``) 304 * :zephyr:board:`Renesas RA2A1 Evaluation Kit <ek_ra2a1>` (``ek_ra2a1``) 305 * :zephyr:board:`Renesas RA4E2 Evaluation Kit <ek_ra4e2>` (``ek_ra4e2``) 306 * :zephyr:board:`Renesas RA4M2 Evaluation Kit <ek_ra4m2>` (``ek_ra4m2``) 307 * :zephyr:board:`Renesas RA4M3 Evaluation Kit <ek_ra4m3>` (``ek_ra4m3``) 308 * :zephyr:board:`Renesas RA4W1 Evaluation Kit <ek_ra4w1>` (``ek_ra4w1``) 309 * :zephyr:board:`Renesas RA6E2 Evaluation Kit <ek_ra6e2>` (``ek_ra6e2``) 310 * :zephyr:board:`Renesas RA6M1 Evaluation Kit <ek_ra6m1>` (``ek_ra6m1``) 311 * :zephyr:board:`Renesas RA6M2 Evaluation Kit <ek_ra6m2>` (``ek_ra6m2``) 312 * :zephyr:board:`Renesas RA6M3 Evaluation Kit <ek_ra6m3>` (``ek_ra6m3``) 313 * :zephyr:board:`Renesas RA6M4 Evaluation Kit <ek_ra6m4>` (``ek_ra6m4``) 314 * :zephyr:board:`Renesas RA6M5 Evaluation Kit <ek_ra6m5>` (``ek_ra6m5``) 315 * :zephyr:board:`Renesas RA8D1 Evaluation Kit <ek_ra8d1>` (``ek_ra8d1``) 316 * :zephyr:board:`Renesas RA6E1 Fast Prototyping Board <fpb_ra6e1>` (``fpb_ra6e1``) 317 * :zephyr:board:`Renesas RA6E2 Fast Prototyping Board <fpb_ra6e2>` (``fpb_ra6e2``) 318 * :zephyr:board:`Renesas RA8T1 Motor Control Kit <mck_ra8t1>` (``mck_ra8t1``) 319 * :zephyr:board:`Renode Cortex-R8 Virtual <cortex_r8_virtual>` (``cortex_r8_virtual``) 320 * :zephyr:board:`Seeed XIAO ESP32-S3 Sense Variant <xiao_esp32s3>`: ``xiao_esp32s3``. 321 * :ref:`sensry.io Ganymed Break-Out-Board (BOB) <ganymed_bob>` (``ganymed_bob``) 322 * :zephyr:board:`SiLabs SiM3U1xx 32-bit MCU USB Development Kit <sim3u1xx_dk>` (``sim3u1xx_dk``) 323 * :ref:`SparkFun Thing Plus Matter <sparkfun_thing_plus_mgm240p>` (``sparkfun_thing_plus_matter_mgm240p``) 324 * :zephyr:board:`ST Nucleo G431KB <nucleo_g431kb>` (``nucleo_g431kb``) 325 * :zephyr:board:`ST Nucleo H503RB <nucleo_h503rb>` (``nucleo_h503rb``) 326 * :zephyr:board:`ST Nucleo H755ZI-Q <nucleo_h755zi_q>` (``nucleo_h755zi_q``) 327 * :zephyr:board:`ST Nucleo U031R8 <nucleo_u031r8>` (``nucleo_u031r8``) 328 * :zephyr:board:`ST Nucleo U083RC <nucleo_u083rc>` (``nucleo_u083rc``) 329 * :zephyr:board:`ST Nucleo WB05KZ <nucleo_wb05kz>` (``nucleo_wb05kz``) 330 * :zephyr:board:`ST Nucleo WB09KE <nucleo_wb09ke>` (``nucleo_wb09ke``) 331 * :zephyr:board:`ST STM32U083C-DK <stm32u083c_dk>` (``stm32u083c_dk``) 332 * :zephyr:board:`TI CC1352P7 LaunchPad <cc1352p7_lp>` (``cc1352p7_lp``) 333 * :zephyr:board:`vcc-gnd YD-STM32H750VB <yd_stm32h750vb>` (``yd_stm32h750vb``) 334 * :zephyr:board:`WeAct Studio STM32F405 Core Board V1.0 <weact_stm32f405_core>` (``weact_stm32f405_core``) 335 * :zephyr:board:`WeAct Studio USB2CANFDV1 <usb2canfdv1>` (``usb2canfdv1``) 336 * :zephyr:board:`Witte Technology Linum Board <linum>` (``linum``) 337 338 339* Made these board changes: 340 341 * The nrf54l15bsim target now includes models of the AAR, CCM and ECB peripherals, and many 342 other improvements. 343 * Support for Google Kukui EC board (``google_kukui``) has been dropped. 344 * STM32: Deprecated MCO configuration via Kconfig in favour of setting it through Devicetree. 345 See ``samples/boards/st/mco`` sample. 346 * STM32: STM32CubeProgrammer is now the default runner on all STMicroelectronics STM32 boards. 347 * Removed the ``nrf54l15pdk`` board, use :ref:`nrf54l15dk_nrf54l15` instead. 348 * PHYTEC: ``mimx8mp_phyboard_pollux`` has been renamed to :ref:`phyboard_pollux<phyboard_pollux>`, 349 with the old name marked as deprecated. 350 * PHYTEC: ``mimx8mm_phyboard_polis`` has been renamed to :ref:`phyboard_polis<phyboard_polis>`, 351 with the old name marked as deprecated. 352 * The board qualifier for MPS3/AN547 is changed from: 353 354 * ``mps3/an547`` to ``mps3/corstone300/an547`` for secure and 355 * ``mps3/an547/ns`` to ``mps3/corstone300/an547/ns`` for non-secure. 356 357 * Added Thingy53 forwarding of network core pins to network core for SPI peripheral (disabled 358 by default) including pin mappings. 359 * Added uart, flexio pwm, flexio spi, watchdog, flash, rtc, i2c, lpspi, edma, gpio, acmp, adc and lptmr support 360 to NXP ``frdm_ke17z`` and ``frdm_ke17z512`` 361 * Enabled support for MCUmgr on NXP boards 362 * Enabled MCUboot, FlexCAN, LPI2C, VREF, LPADC and timers (TPM, LPTMR, counter, watchdog) on NXP ``frdm_mcxw71`` 363 * Enabled I2C, PWM on NXP ``imx95_evk`` 364 * Enabled FLEXCAN, LPI2C on NXP ``s32z2xxdc2`` 365 * Enabled DSPI and EDMA3 on NXP ``s32z270dc2`` 366 * Enabled ENET ethernet on NXP ``imx8mm`` and ``imx8mn`` 367 * Added support for the NXP ``imx8qm`` and ``imx8qxp`` DSP core to enable the openAMP sample 368 369 370.. _shields_added_in_zephyr_4_0: 371 372* Added support for the following shields: 373 374 * :ref:`ADI EVAL-ADXL362-ARDZ <eval_adxl362_ardz>` 375 * :ref:`ADI EVAL-ADXL372-ARDZ <eval_adxl372_ardz>` 376 * :ref:`Digilent Pmod ACL <pmod_acl>` 377 * :ref:`MikroElektronika BLE TINY Click <mikroe_ble_tiny_click_shield>` 378 * :ref:`Nordic SemiConductor nRF7002 EB <nrf7002eb>` 379 * :ref:`Nordic SemiConductor nRF7002 EK <nrf7002ek>` 380 * :ref:`ST X-NUCLEO-WB05KN1: BLE expansion board <x-nucleo-wb05kn1>` 381 * :ref:`WeAct Studio MiniSTM32H7xx OV2640 Camera Sensor <weact_ov2640_cam_module>` 382 383Build system and Infrastructure 384******************************* 385 386* Added support for .elf files to the west flash command for jlink, pyocd and linkserver runners. 387 388* Extracted pickled EDT generation from gen_defines.py into gen_edt.py. This moved the following 389 parameters from the cmake variable ``EXTRA_GEN_DEFINES_ARGS`` to ``EXTRA_GEN_EDT_ARGS``: 390 391 * ``--dts`` 392 * ``--dtc-flags`` 393 * ``--bindings-dirs`` 394 * ``--dts-out`` 395 * ``--edt-pickle-out`` 396 * ``--vendor-prefixes`` 397 * ``--edtlib-Werror`` 398 399* Switched to using imgtool directly from the build system when signing images instead of calling 400 ``west sign``. 401 402* Added support for selecting MCUboot operating mode in sysbuild using ``SB_CONFIG_MCUBOOT_MODE``. 403 404* Added support for RAM-load MCUboot operating mode in build system, including sysbuild support. 405 406* Added a script parameter to Twister to enable HW specific arguments, such as a system specific 407 timeout 408 409Documentation 410************* 411 412* Added a new :ref:`interactive board catalog <boards>` enabling users to search boards by criteria 413 such as name, architecture, vendor, or SoC. 414* Added a new :zephyr:code-sample-category:`interactive code sample catalog <samples>` for quickly 415 finding code samples based on name and description. 416* Added :rst:dir:`zephyr:board` directive and :rst:role:`zephyr:board` role to mark Sphinx pages as 417 board documentation and reference them from other pages. Most existing board documentation pages 418 have been updated to use this directive, with full migration planned for the next release. 419* Added :rst:dir:`zephyr:code-sample-category` directive to describe and group code samples in the 420 documentation. 421* Added a link to the source code of the driver matching a binding's compatible string (when one can 422 be found in the Zephyr tree) to the :ref:`Devicetree bindings <devicetree_binding_index>` documentation. 423* Added a button to all code sample README pages allowing to directly browse the sample's source 424 code on GitHub. 425* Moved Zephyr C API documentation out of main documentation. API references now feature a rich 426 tooltip and link to the dedicated Doxygen site. 427* Added two new build commands, ``make html-live`` and ``make html-live-fast``, that automatically 428 locally host the generated documentation. They also automatically rebuild and rehost the 429 documentation when changes to the input ``.rst`` files are detected on the filesystem. 430 431Drivers and Sensors 432******************* 433 434* ADC 435 436 * Added proper ADC2 calibration entries in ESP32. 437 * Fixed calibration scheme in ESP32-S3. 438 * STM32H7: Added support for higher sampling frequencies thanks to boost mode implementation. 439 * Added initial support for Renesas RA8 ADC driver (:dtcompatible:`renesas,ra-adc`) 440 * Added driver for Analog Devices MAX32 SoC series (:dtcompatible:`adi,max32-adc`). 441 * Added support for NXP S32 SAR_ADC (:dtcompatible:`nxp,s32-adc-sar`) 442 * Added support for Ambiq Apollo3 series (:dtcompatible:`ambiq,adc`). 443 444* CAN 445 446 * Added initial support for Renesas RA CANFD (:dtcompatible:`renesas,ra-canfd-global`, 447 :dtcompatible:`renesas,ra-canfd`) 448 * Added Flexcan support for S32Z27x (:dtcompatible:`nxp,flexcan`, :dtcompatible:`nxp,flexcan-fd`) 449 * Improved NXP S32 CANXL error reporting (:dtcompatible:`nxp,s32-canxl`) 450 451* Clock control 452 453 * STM32 MCO (Microcontroller Clock Output) is now available on STM32U5 series. 454 * STM32 MCO can and should now be configured with device tree. 455 * STM32: :kconfig:option:`CONFIG_CLOCK_CONTROL` is now enabled by default at family level and doesn't need 456 to be enabled at board level anymore. 457 * STM32H7: PLL FRACN can now be configured (see :dtcompatible:`st,stm32h7-pll-clock`) 458 * Added initial support for Renesas RA clock control driver (:dtcompatible:`renesas,ra-cgc-pclk`, 459 :dtcompatible:`renesas,ra-cgc-pclk-block`, :dtcompatible:`renesas,ra-cgc-pll`, 460 :dtcompatible:`renesas,ra-cgc-external-clock`, :dtcompatible:`renesas,ra-cgc-subclk`, 461 :dtcompatible:`renesas,ra-cgc-pll-out`) 462 * Silabs: Added support for Series 2+ Clock Management Unit (see :dtcompatible:`silabs,series-clock`) 463 * Added initial support for Nordic nRF54H Series clock controllers. 464 465* Codec (Audio) 466 467 * Added a driver for the Wolfson WM8904 audio codec (:dtcompatible:`wolfson,wm8904`) 468 469* Comparator 470 471 * Introduced comparator device driver subsystem selected with :kconfig:option:`CONFIG_COMPARATOR` 472 * Introduced comparator shell commands selected with :kconfig:option:`CONFIG_COMPARATOR_SHELL` 473 * Added support for Nordic nRF COMP (:dtcompatible:`nordic,nrf-comp`) 474 * Added support for Nordic nRF LPCOMP (:dtcompatible:`nordic,nrf-lpcomp`) 475 * Added support for NXP Kinetis ACMP (:dtcompatible:`nxp,kinetis-acmp`) 476 477* Counter 478 479 * Added initial support for Renesas RA8 AGT counter driver (:dtcompatible:`renesas,ra-agt`) 480 * Added driver for Analog Devices MAX32 SoC series (:dtcompatible:`adi,max32-counter`). 481 * Updated the NXP counter_mcux_lptmr driver to support multiple instances of the lptmr 482 peripheral. 483 * Converted the NXP S32 System Timer Module driver to native Zephyr code 484 * Added support for late and short relative alarms area to NXP nxp_sys_timer (:dtcompatible:`nxp,s32-sys-timer`) 485 486* Crypto 487 488 * Added support for STM32L4 AES. 489 490* DAC 491 492 * DAC API now supports specifying channel path as internal. Support has been added in STM32 drivers. 493 494* Disk 495 496 * STM32F7 SDMMC driver now supports usage of DMA. 497 * STM32 mem controller driver now supports FMC for STM32H5. 498 * SDMMC subsystem driver will now power down the SD card when the disk is 499 deinitialized 500 501* Display 502 503 * NXP ELCDIF driver now supports flipping the image along the horizontal 504 or vertical axis using the PXP. Use 505 :kconfig:option:`CONFIG_MCUX_ELCDIF_PXP_FLIP_DIRECTION` to set the desired 506 flip. 507 * ST7789V driver now supports BGR565, enabled with 508 :kconfig:option:`CONFIG_ST7789V_BGR565`. 509 * Added driver for SSD1327 OLED display controller (:dtcompatible:`solomon,ssd1327fb`). 510 * Added driver for SSD1322 OLED display controller (:dtcompatible:`solomon,ssd1322`). 511 * Added driver for IST3931 monochrome display controller (:dtcompatible:`istech,ist3931`). 512 513* DMA 514 515 * Added driver for Analog Devices MAX32 SoC series (:dtcompatible:`adi,max32-dma`). 516 * Added flip feature to the NXP dma_mcux_pxp driver (:dtcompatible:`nxp,pxp`) 517 * Added support for eDMAv5 and cyclic mode (:github:`80584`) to the NXP EMDA driver (:dtcompatible:`nxp,edma`) 518 519* EEPROM 520 521 * Added support for using the EEPROM simulator with embedded C standard libraries 522 (:dtcompatible:`zephyr,sim-eeprom`). 523 524* Entropy 525 526 * Added initial support for Renesas RA8 Entropy driver (:dtcompatible:`renesas,ra-rsip-e51a-trng`) 527 * Added driver for Analog Devices MAX32 SoC series (:dtcompatible:`adi,max32-trng`). 528 529* Ethernet 530 531 * Added a :c:func:`get_phy` function to the ethernet driver api, which returns the phy device 532 associated to a network interface. 533 * Added 2.5G and 5G link speeds to the ethernet hardware capabilities api. 534 * Added check for null api pointer in :c:func:`net_eth_get_hw_capabilities`, fixing netusb crash. 535 * Added synopsis dwc_xgmac ethernet driver. 536 * Added NXP iMX NETC driver. 537 * Adin2111 538 539 * Fixed bug that resulted in double RX buffer read when generic spi protocol is used. 540 * Fixed essential thread termination on OA read failure. 541 * Skip checks for port 2 on the adin1110 since it doesn't apply, as there is no port 2. 542 * ENC28J60 543 544 * Added support for the ``zephyr,random-mac-address`` property. 545 * Fixed race condition between interrupt service and L2 init affecting carrier status in init. 546 * ENC424j600: Added ability to change mac address at runtime with net management api. 547 * ESP32: Added configuration of interrupts from DT. 548 * Lan865x 549 550 * Enable all multicast MAC address for IPv6. All multicast mac address can now be 551 received and allows for correct handling of the IPv6 neighbor discovery protocol. 552 * Fixed transmission stopping when setting mac address or promiscuous mode. 553 * LiteX 554 555 * Renamed the ``compatible`` from ``litex,eth0`` to :dtcompatible:`litex,liteeth`. 556 * Added support for multiple instances of the liteX ethernet driver. 557 * Added support for VLAN to the liteX ethernet driver. 558 * Added phy support. 559 * Native_posix 560 561 * Implemented getting the interface name from the command line. 562 * Now prints error number in error message when creating an interface. 563 * NXP ENET_QOS: Fixed check for ``zephyr,random-mac-address`` property. 564 * NXP ENET: 565 566 * Fixed fused MAC address initialization code. 567 * Fixed code path for handling tx errors with timestamped frames. 568 * Fixed network carrier status race condition during init. 569 * NXP S32: Added configs to enable VLAN promiscuous and untagged, and enable SI message interrupt. 570 * STM32 571 572 * Driver can now be configured to use a preemptive RX thread priority, which could be useful 573 in case of high network traffic load (reduces jitter). 574 * Added support for DT-defined mdio. 575 * Fixed bus error after network disconnection that happened in some cases. 576 * TC6: Combine read chunks into continuous net buffer. This fixes IPv6 neighbor discovery protocol 577 because 64 bytes was not enough for all headers. 578 * PHY driver changes 579 580 * Added Qualcomm AR8031 phy driver. 581 * Added DP83825 phy driver. 582 * PHY_MII 583 584 * Fixed generic phy_mii driver not using the value of the ``no-reset`` property from Devicetree. 585 * Removed excess newlines from log output of phy_mii driver. 586 * KSZ8081 587 588 * Fixed reset times during init that were unnecessarily long. 589 * Removed unnecessary reset on every link configuration that blocked system workqueue 590 * Fixed issue relating to strap-in override bits. 591 592 593* Flash 594 595 * Fixed SPI NOR driver issue where wp, hold and reset pins were incorrectly initialized from 596 device tee when SFDP at run-time has been enabled (:github:`80383`) 597 * Updated all Espressif's SoC driver initialization to allow new chipsets and octal flash support. 598 * Added :kconfig:option:`CONFIG_SPI_NOR_ACTIVE_DWELL_MS`, to the SPI NOR driver configuration, 599 which allows setting the time during which the driver will wait before triggering Deep Power Down (DPD). 600 This option replaces ``CONFIG_SPI_NOR_IDLE_IN_DPD``, aiming at reducing unnecessary power 601 state changes and SPI transfers between other operations, specifically when burst type 602 access to an SPI NOR device occurs. 603 * Added :kconfig:option:`CONFIG_SPI_NOR_INIT_PRIORITY` to allow selecting the SPI NOR driver initialization priority. 604 * The flash API has been extended with the :c:func:`flash_copy` utility function which allows performing 605 direct data copies between two Flash API devices. 606 * Fixed a Flash Simulator issue where offsets were assumed to be absolute instead of relative 607 to the device base address (:github:`79082`). 608 * Extended STM32 OSPI drivers to support QUAL, DUAL and SPI modes. Additionally, added support 609 for custom write and SFDP:BFP opcodes. 610 * Added possibility to run STM32H7 flash driver from Cortex-M4 core. 611 * Implemented readout protection handling (RDP levels) for STM32F7 SoCs. 612 * Added initial support for Renesas RA8 Flash controller driver (:dtcompatible:`renesas,ra-flash-hp-controller`) 613 * Added driver for Analog Devices MAX32 SoC series (:dtcompatible:`adi,max32-flash-controller`). 614 * Added support for W25Q512JV and W25Q512NW-IQ/IN to NXP's MCUX Flexspi driver 615 * Renamed the binding :dtcompatible:`nxp,iap-msf1` to :dtcompatible:`nxp,msf1` for accuracy 616 617* GPIO 618 619 * tle9104: Add support for the parallel output mode via setting the properties ``parallel-out12`` and 620 ``parallel-out34``. 621 * Converted the NXP S32 SIUL2 drivers to native Zephyr code 622 * Converted the NXP wake-up drivers to native Zephyr code 623 624* Haptics 625 626 * Introduced a haptics device driver subsystem selected with :kconfig:option:`CONFIG_HAPTICS` 627 * Added support for TI DRV2605 haptic driver IC (:dtcompatible:`ti,drv2605`) 628 * Added a sample for the DRV2605 haptic driver to trigger ROM events (:zephyr:code-sample:`drv2605`) 629 630* I2C 631 632 * Added initial support for Renesas RA8 I2C driver (:dtcompatible:`renesas,ra-iic`) 633 634* I2S 635 636 * Added ESP32-S3 and ESP32-C3 driver support. 637 638* I3C 639 640 * Added support for SETAASA optimization during initialization. Added a 641 ``supports-setaasa`` property to ``i3c-devices.yaml``. 642 * Added sending DEFTGTS if any devices that support functioning as a secondary 643 controller on the bus. 644 * Added retrieving GETMXDS within :c:func:`i3c_device_basic_info_get` if BCR mxds 645 bit is set. 646 * Added helper functions for sending CCCs for ENTTM, VENDOR, DEFTGTS, SETAASA, 647 GETMXDS, SETBUSCON, RSTACT DC, ENTAS0, ENTAS1, ENTAS2, and ENTAS3. 648 * Added shell commands for sending CCCs for ENTTM, VENDOR, DEFTGTS, SETAASA, 649 GETMXDS, SETBUSCON, RSTACT DC, ENTAS0, ENTAS1, ENTAS2, and ENTAS3. 650 * Added shell commands for setting the I3C speed, sending HDR-DDR, raising IBIs, 651 enabling IBIs, disabling IBIs, and scanning I2C addresses. 652 * :c:func:`i3c_ccc_do_setdasa` has been modified to now require specifying the assigned 653 dynamic address rather than having the dynamic address be determined within the function. 654 * :c:func:`i3c_determine_default_addr` has been removed 655 * ``attach_i3c_device`` now no longer requires the attached address as an argument. It is now 656 up to the driver to determine the attached address from the ``i3c_device_desc``. 657 658* Input 659 660 * New feature: :dtcompatible:`zephyr,input-double-tap`. 661 662 * New driver: :dtcompatible:`ilitek,ili2132a`. 663 664 * Added power management support to all keyboard matrix drivers, added a 665 ``no-disconnect`` property to :dtcompatible:`gpio-keys` so it can be used 666 with power management on GPIO drivers that do not support pin 667 disconnection. 668 669 * Added a new framework for touchscreen common properties and features 670 (screen size, inversion, xy swap). 671 672 * Fixed broken ESP32 input touch sensor driver. 673 674 * gt911: 675 * Fixed the INT pin to be always set during probe to allow for proper initialization 676 * Fixed OOB buffer write to touch points array 677 * Add support for multitouch events 678 679* Interrupt 680 681 * Updated ESP32 family interrupt allocator with proper IRQ flags and priorities. 682 * Implemented a function to set pending interrupts for Arm GIC 683 * Added a safe configuration option so multiple OS'es can share the same GIC and avoid reconfiguring 684 the distributor 685 686* LED 687 688 * lp5562: added ``enable-gpios`` property to describe the EN/VCC GPIO of the lp5562. 689 690 * lp5569: added ``charge-pump-mode`` property to configure the charge pump of the lp5569. 691 692 * lp5569: added ``enable-gpios`` property to describe the EN/PWM GPIO of the lp5569. 693 694 * LED code samples have been consolidated under the :zephyr_file:`samples/drivers/led` directory. 695 696* LED Strip 697 698 * Updated ws2812 GPIO driver to support dynamic bus timings 699 700* Mailbox 701 702 * Added driver support for ESP32 and ESP32-S3 SoCs. 703 704* MDIO 705 706 * Added litex MDIO driver. 707 * Added support for mdio shell to stm32 mdio. 708 * Added mdio driver for dwc_xgmac synopsis ethernet. 709 * Added NXP IMX NETC mdio driver. 710 * NXP ENET MDIO: Fixed inconsistent behavior by keeping the mdio interrupt enabled all the time. 711 712* MEMC 713 714 * Add driver for APS6404L PSRAM using NXP FLEXSPI 715 716* MFD 717 718* Modem 719 720 * Added support for the U-Blox LARA-R6 modem. 721 * Added support for setting the modem's UART baudrate during init. 722 723* MIPI-DBI 724 725 * Added bitbang MIPI-DBI driver, supporting 8080 and 6800 mode 726 (:dtcompatible:`zephyr,mipi-dbi-bitbang`). 727 * Added support for STM32 FMC memory controller (:dtcompatible:`st,stm32-fmc-mipi-dbi`). 728 * Added support for 8080 mode to NXP LCDIC controller (:dtcompatible:`nxp,lcdic`). 729 * Fixed the calculation of the reset delay for NXP's LCD controller (:dtcompatible:`nxp,lcdic`) 730 731* MIPI-CSI 732 733 * Improve NXP CSI and MIPI_CSI2Rx drivers to support varibale frame rates 734 735* Pin control 736 737 * Added support for Microchip MEC5 738 * Added SCMI-based driver for NXP i.MX 739 * Added support for i.MX93 M33 core 740 * Added support for ESP32C2 741 * STM32: :kconfig:option:`CONFIG_PINCTRL` is now selected by drivers requiring it and 742 shouldn't be enabled at board level anymore. 743 744* PWM 745 746 * rpi_pico: The driver now configures the divide ratio adaptively. 747 * Added initial support for Renesas RA8 PWM driver (:dtcompatible:`renesas,ra8-pwm`) 748 * Added driver for Analog Devices MAX32 SoC series (:dtcompatible:`adi,max32-pwm`). 749 * Fixed a build issue of the NXP TPM driver for variants without the capability to combine channels 750 751* Regulators 752 753 * Upgraded CP9314 driver to B1 silicon revision 754 * Added basic driver for MPS MPM54304 755 756* RTC 757 758 * STM32: HSE can now be used as domain clock. 759 * Added the NXP IRTC Driver. 760 761* RTIO 762 763* SAI 764 765 * Improved NXP's SAI driver to use a default clock if none is provided in the DT 766 * Fixed a bug in the NXP SAI driver that caused a crash on a FIFO under- and overrun 767 * Fixed a bug that reset the NXP ESAI during initialization (unnecessary) 768 * Added support for PM operations in NXP's SAI driver 769 770* SDHC 771 772 * Added ESP32-S3 driver support. 773 * SPI SDHC driver now handles SPI devices with runtime PM support correctly 774 * Improved NXP's imx SDHC driver to assume card is present if no detection method is provided 775 776* Sensors 777 778 * General 779 780 * The existing driver for the Microchip MCP9808 temperature sensor transformed and renamed to 781 support all JEDEC JC 42.4 compatible temperature sensors. It now uses the 782 :dtcompatible:`jedec,jc-42.4-temp` compatible string instead to the ``microchip,mcp9808`` 783 string. 784 * Added support for VDD based ADC reference to the NTC thermistor driver. 785 * Added Avago APDS9253 (:dtcompatible:`avago,apds9253`) and APDS9306 786 (:dtcompatible:`avago,apds9306`) ambient light sensor drivers. 787 * Added gain and resolution attributes (:c:enum:`SENSOR_ATTR_GAIN` and 788 :c:enum:`SENSOR_ATTR_RESOLUTION`). 789 790 * ADI 791 792 * Add RTIO streaming support to ADXL345, ADXL362, and ADXL372 accelerometer drivers. 793 794 * Bosch 795 796 * Merged BMP390 into BMP388. 797 * Added support for power domains to BMM150 and BME680 drivers. 798 * Added BMP180 pressure sensor driver (:dtcompatible:`bosch,bmp180`). 799 800 * Memsic 801 802 * Added MMC56X3 magnetometer and temperature sensor driver (:dtcompatible:`memsic,mmc56x3`). 803 804 * NXP 805 806 * Added P3T1755 digital temperature sensor driver (:dtcompatible:`nxp,p3t1755`). 807 * Added FXLS8974 accelerometer driver (:dtcompatible:`nxp,fxls8974`). 808 809 * ST 810 811 * Aligned drivers to stmemsc HAL i/f v2.6. 812 * Added LSM9DS1 accelerometer/gyroscope/magnetometer sensor driver (:dtcompatible:`st,lsm9ds1`). 813 814 * TDK 815 816 * Added I2C bus support to ICM42670. 817 818 * TI 819 820 * Added support for INA236 to the existing INA230 driver. 821 * Added support for TMAG3001 to the existing TMAG5273 driver. 822 * Added TMP1075 temperature sensor driver (:dtcompatible:`ti,tmp1075`). 823 824 * Vishay 825 826 * Added trigger capability to VCNL36825T driver. 827 828 * WE 829 830 * Added Würth Elektronik HIDS-2525020210002 831 :dtcompatible:`we,wsen-hids-2525020210002` humidity sensor driver. 832 * Added general samples for triggers 833 834* Serial 835 836 * LiteX: Renamed the ``compatible`` from ``litex,uart0`` to :dtcompatible:`litex,uart`. 837 * Nordic: Removed ``CONFIG_UART_n_GPIO_MANAGEMENT`` Kconfig options (where n is an instance 838 index) which had no use after pinctrl driver was introduced. 839 * NS16550: Added support for Synopsys Designware 8250 UART. 840 * Renesas: Added support for SCI UART. 841 * Sensry: Added UART support for Ganymed SY1XX. 842 843* SPI 844 845 * Added initial support for Renesas RA8 SPI driver (:dtcompatible:`renesas,ra8-spi-b`) 846 * Added RTIO support to the Analog Devices MAX32 driver. 847 * Silabs: Added support for EUSART (:dtcompatible:`silabs,gecko-spi-eusart`) 848 849* Steppers 850 851 * Introduced stepper controller device driver subsystem selected with 852 :kconfig:option:`CONFIG_STEPPER` 853 * Introduced stepper shell commands for controlling and configuring 854 stepper motors with :kconfig:option:`CONFIG_STEPPER_SHELL` 855 * Added support for ADI TMC5041 (:dtcompatible:`adi,tmc5041`) 856 * Added support for gpio-stepper-controller (:dtcompatible:`zephyr,gpio-steppers`) 857 * Added stepper api test-suite 858 * Added stepper shell test-suite 859 860* Timer 861 862 * Silabs: Added support for Sleeptimer (:dtcompatible:`silabs,gecko-stimer`) 863 864* USB 865 866 * Added support for USB HS on STM32U59x/STM32U5Ax SoC variants. 867 * Enhanced DWC2 UDC driver 868 * Added UDC drivers for Smartbond, NuMaker USBD and RP2040 device controllers 869 * Enabled SoF in NXP USB drivers (UDC) 870 * Enabled cache maintenance in the NXP EHCI USB driver 871 872* Video 873 874 * Introduced API to control frame rate 875 * Introduced API for partial frames transfer with the video buffer field ``line_offset`` 876 * Introduced API for :ref:`multi-heap<memory_management_shared_multi_heap>` video buffer allocation with 877 :kconfig:option:`CONFIG_VIDEO_BUFFER_USE_SHARED_MULTI_HEAP` 878 * Introduced bindings for common video link properties in ``video-interfaces.yaml``. Migration to the 879 new bindings is tracked in :github:`80514` 880 * Introduced missing :kconfig:option:`CONFIG_VIDEO_LOG_LEVEL` 881 * Added a sample for capturing video and displaying it with LVGL 882 (:zephyr:code-sample:`video-capture-to-lvgl`) 883 * Added an automatic test to check colorbar pattern correctness 884 * Added support for GalaxyCore GC2145 image sensor (:dtcompatible:`galaxycore,gc2145`) 885 * Added support for ESP32-S3 LCD-CAM interface (:dtcompatible:`espressif,esp32-lcd-cam`) 886 * Added support for NXP MCUX SMARTDMA interface (:dtcompatible:`nxp,smartdma`) 887 * Added support for more OmniVision OV2640 controls (:dtcompatible:`ovti,ov2640`) 888 * Added support for more OmniVision OV5640 controls (:dtcompatible:`ovti,ov5640`) 889 * STM32: Implemented :c:func:`video_get_ctrl` and :c:func:`video_set_ctrl` APIs. 890 * Removed an init order circular dependency for the camera pipeline on NXP RT10xx platforms 891 (:github:`80304`) 892 * Added an NXP's smartdma based video driver (:dtcompatible:`nxp,video-smartdma`) 893 * Added frame interval APIs to support variable frame rates (video_sw_generator.c) 894 * Added image controls to the OV5640 driver 895 896* W1 897 898 * Added 1-Wire master driver for Analog Devices MAX32 SoC series (:dtcompatible:`adi,max32-w1`) 899 900* Watchdog 901 902 * Added driver for Analog Devices MAX32 SoC series (:dtcompatible:`adi,max32-watchdog`). 903 * Converted NXP S32 Software Watchdog Timer driver to native Zephyr code 904 905* Wi-Fi 906 907 * Add Wi-Fi Easy Connect (DPP) support. 908 * Add support for Wi-Fi credentials library. 909 * Add enterprise support for station. 910 * Add Wi-Fi snippet support for networking samples. 911 * Add build testing for various Wi-Fi config combinations. 912 * Add regulatory domain support to Wi-Fi shell. 913 * Add WPS support to Wi-Fi shell. 914 * Add 802.11r connect command usage in Wi-Fi shell. 915 * Add current PHY rate to hostap status message. 916 * Allow user to reset Wi-Fi statistics in Wi-Fi shell. 917 * Display RTS threshold in Wi-Fi shell. 918 * Fix SSID array length size in scanning results. 919 * Fix the "wifi ap config" command using the STA interface instead of SAP interface. 920 * Fix memory leak in hostap when doing a disconnect. 921 * Fix setting of frequency band both in AP and STA mode in Wi-Fi shell. 922 * Fix correct channel scan range in Wi-Fi 6GHz. 923 * Fix scan results printing in Wi-Fi shell. 924 * Increase main and shell stack sizes for Wi-Fi shell sample. 925 * Increase the maximum count of connected STA to 8 in Wi-Fi shell. 926 * Relocate AP and STA Wi-Fi sample to samples/net/wifi directory. 927 * Run Wi-Fi tests together with network tests. 928 * Updated ESP32 Wi-Fi driver to reflect actual negotiated PHY mode. 929 * Add ESP32-C2 Wi-Fi support. 930 * Add ESP32 driver APSTA support. 931 * Add NXP RW612 driver support. 932 * Added nRF70 Wi-Fi driver. 933 934Networking 935********** 936 937* 802.15.4: 938 939 * Implemented support for beacons without association bit. 940 * Implemented support for beacons payload. 941 * Fixed a bug where LL address endianness was swapped twice when deciphering a frame. 942 * Fixed missing context lock release when checking destination address. 943 * Improved error logging in 6LoWPAN fragmentation. 944 * Improved error logging in 802.15.4 management commands. 945 946* ARP: 947 948 * Fixed ARP probe verification during IPv4 address conflict detection. 949 950* CoAP: 951 952 * Added new API :c:func:`coap_rst_init` to simplify creating RST replies. 953 * Implemented replying with CoAP RST response for unknown queries in CoAP client. 954 * Added support for runtime configuration of ACK random factor parameter. 955 * Added support for No Response CoAP option. 956 * Added a new sample demonstrating downloading a resource with GET request. 957 * Fixed handling of received CoAP RST reply in CoAP client. 958 * Fixed socket error reporting to the application in CoAP client. 959 * Fixed handling of response retransmissions in CoAP client. 960 * Fixed a bug where CoAP block numbers were limited to ``uint8_t``. 961 * Various fixes in the block transfer support in CoAP client. 962 * Improved handling of truncated datagrams in CoAP client. 963 * Improved thread safety of CoAP client. 964 * Fixed missing ``static`` keyword in some internal functions. 965 * Various other minor fixes in CoAP client. 966 967* DHCPv4: 968 969 * Added support for parsing multiple DNS servers received from DHCP server. 970 * Added support for DNS Server option in DHCPv4 server. 971 * Added support for Router option in DHCPv4 server. 972 * Added support for application callback which allows to assign custom addresses 973 in DHCPv4 server. 974 * Fixed DNS server list allocation in DHCPv4 client. 975 * Fixed a bug where system workqueue could be blocked indefinitely by DHCPv4 client. 976 977* DHCPv6: 978 979 * Fixed a bug where system workqueue could be blocked indefinitely by DHCPv6 client. 980 981* DNS/mDNS/LLMNR: 982 983 * Added support for collecting DNS statistics. 984 * Added support for more error codes in :c:func:`zsock_gai_strerror`. 985 * Fixed handling of DNS responses encoded with capital letters. 986 * Fixed DNS dispatcher operation on multiple network interfaces. 987 * Fixed error being reported for mDNS queries with query count equal to 0. 988 * Various other minor fixes in DNS/mDNS implementations. 989 990* Ethernet: 991 992* gPTP/PTP: 993 994 * Fixed handling of second overflow/underflow. 995 * Fixed PTP clock adjusting with offset. 996 997* HTTP: 998 999 * Added support for specifying response headers and response code by the application. 1000 * Added support for netusb in the HTTP server sample. 1001 * Added support for accessing HTTP request headers from the application callback. 1002 * Added support for handling IPv4 connections over IPv6 socket in HTTP server. 1003 * Added support for creating HTTP server instances without specifying local host. 1004 * Added overlays to support HTTP over IEEE 802.15.4 for HTTP client and server 1005 samples. 1006 * Added support for static filesystem resources in HTTP server. 1007 * Fixed assertion in HTTP server sample when resource upload was aborted. 1008 * Refactored dynamic resource callback format for easier handling of short 1009 requests/replies. 1010 * Fixed possible busy-looping in case of errors in the HTTP server sample. 1011 * Fixed possible incorrect HTTP headers matching in HTTP server. 1012 * Refactored HTTP server sample to better demonstrate server use cases. 1013 * Fixed processing of multiple HTTP/1 requests over the same connection. 1014 * Improved HTTP server test coverage. 1015 * Various other minor fixes in HTTP server. 1016 1017* IPv4: 1018 1019 * Improved IGMP test coverage. 1020 * Fixed IGMPv2 queries processing when IGMPv3 is enabled. 1021 * Fixed :kconfig:option:`CONFIG_NET_NATIVE_IPV4` dependency for native IPv4 options. 1022 * Fix net_pkt leak in :c:func:`send_ipv4_fragment`.` 1023 * Fixed tx_pkts slab leak in send_ipv4_fragment 1024 1025* IPv6: 1026 1027 * Added a public header for Multicast Listener Discovery APIs. 1028 * Added new :c:func:`net_ipv6_addr_prefix_mask` API function. 1029 * Made IPv6 Router Solicitation timeout configurable. 1030 * Fixed endless IPv6 packet looping with both routing and VLAN support enabled. 1031 * Fixed unneeded error logging in case of dropped NS packets. 1032 * Fixed accepting of incoming DAD NS messages. 1033 * Various fixes improving IPv6 routing. 1034 * Added onlink and forwarding check to IPv6-prepare 1035 1036* LwM2M: 1037 1038 * Location object: optional resources altitude, radius, and speed can now be 1039 used optionally as per the location object's specification. Users of these 1040 resources will now need to provide a read buffer. 1041 * Added TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8 to DTLS cipher list. 1042 * Added LwM2M shell command for listing resources. 1043 * Added LwM2M shell command to list observations. 1044 * Added support for accepting SenML-CBOR floats decoded as integers. 1045 * Added support for X509 hostname verification if using certificates, when 1046 URI contains valid name. 1047 * Regenerated generated code files using zcbor 0.9.0 for lwm2m_senml_cbor. 1048 * Improved thread safety of the LwM2M engine. 1049 * Fixed block transfer issues for composite operations. 1050 * Fixed enabler version reporting during bootstrap discovery. 1051 * Removed unneeded Security object instance from the LwM2M client sample. 1052 * Fixed buffer size check for U16 resource. 1053 * Removed deprecated APIs and configs. 1054 * Optional Location object resources altitude, radius, and speed can now be 1055 used optionally as per the location object's specification. Users of these 1056 resources will now need to provide a read buffer. 1057 * Fixed the retry counter not being reset on successful Registration update. 1058 * Fixed REGISTRATION_TIMEOUT event not always being emitted on registration 1059 errors. 1060 * Fixed c++ support in LwM2M public header. 1061 * Fixed a bug where DISCONNECTED event was not always emitted when needed. 1062 1063* Misc: 1064 1065 * Added support for network packet allocation statistics. 1066 * Added a new library implementing Prometheus monitoring support. 1067 * Added USB CDC NCM support for Echo Server sample. 1068 * Added packet drop statistics for capture interfaces. 1069 * Added new :c:func:`net_hostname_set_postfix_str` API function to set hostname 1070 postfix in non-hexadecimal format. 1071 * Added API version information to public networking headers. 1072 * Implemented optional periodic SNTP time resynchronization. 1073 * Improved error reporting when starting/stopping virtual interfaces. 1074 * Fixed build error of packet capture library when variable sized buffers are used. 1075 * Fixed build error of packet capture library when either IPv4 or IPv6 is disabled. 1076 * Fixed CMake complaint about missing sources in net library in certain 1077 configurations. 1078 * Fixed compilation issues with networking and SystemView Tracing enabled. 1079 * Removed redundant DHCPv4 code from telnet sample. 1080 * Fixed build warnings in Echo Client sample with IPv6 disabled. 1081 * Extended network tracing support and added documentation page 1082 (:ref:`network_tracing`). 1083 * Moved network buffers implementation out of net subsystem into lib directory 1084 * Removed ``wpansub`` sample. 1085 1086* MQTT: 1087 1088 * Updated information in the mqtt_publisher sample about Mosquitto broker 1089 configuration. 1090 * Updated MQTT tests to be self-contained, no longer requiring external broker. 1091 * Optimized buffer handling in MQTT encoder/decoder. 1092 1093* Network contexts: 1094 1095 * Fixed IPv4 destination address setting when using :c:func:`sendmsg` with 1096 :kconfig:option:`CONFIG_NET_IPV4_MAPPING_TO_IPV6` option enabled. 1097 * Fixed possible unaligned memory access when in :c:func:`net_context_bind`. 1098 * Fixed missing NULL pointer check for V6ONLY option read. 1099 1100* Network Interface: 1101 1102 * Added new :c:func:`net_if_ipv4_get_gw` API function. 1103 * Fixed checksum offloading checks for VLAN interfaces. 1104 * Fixed native IP support being required to register IP addresses on an 1105 interface. 1106 * Fixed missing mutex locks in a few net_if functions. 1107 * Fixed rejoining of IPv6 multicast groups. 1108 * Fixed :c:func:`net_if_send_data` operation for offloaded interfaces. 1109 * Fixed needless IPv6 multicast groups joining if IPv6 is disabled. 1110 * Fixed compiler warnings when building with ``-Wtype-limits``. 1111 1112* OpenThread: 1113 1114 * Added support for :kconfig:option:`CONFIG_IEEE802154_SELECTIVE_TXCHANNEL` 1115 option in OpenThread radio platform. 1116 * Added NAT64 send and receive callbacks. 1117 * Added new Kconfig options: 1118 1119 * :kconfig:option:`CONFIG_OPENTHREAD_NAT64_CIDR` 1120 * :kconfig:option:`CONFIG_OPENTHREAD_STORE_FRAME_COUNTER_AHEAD` 1121 * :kconfig:option:`CONFIG_OPENTHREAD_DEFAULT_RX_SENSITIVITY` 1122 * :kconfig:option:`CONFIG_OPENTHREAD_CSL_REQUEST_TIME_AHEAD` 1123 1124 * Fixed deprecated/preferred IPv6 address state transitions. 1125 * Fixed handling of deprecated IPv6 addresses. 1126 * Other various minor fixes in Zephyr's OpenThread port. 1127 1128* Shell: 1129 1130 * Added support for enabling/disabling individual network shell commands with 1131 Kconfig. 1132 * Added new ``net dhcpv4/6 client`` commands for DHCPv4/6 client management. 1133 * Added new ``net virtual`` commands for virtual interface management. 1134 * ``net ipv4/6`` commands are now available even if native IP stack is disabled. 1135 * Added new ``net cm`` commands exposing Connection Manager functionality. 1136 * Fixed possible assertion if telnet shell backend connection is terminated. 1137 * Event monitor thread stack size is now configurable with Kconfig. 1138 * Relocated ``bridge`` command under ``net`` command, i. e. ``net bridge``. 1139 * Multiple minor improvements in various command outputs. 1140 1141* Sockets: 1142 1143 * Added dedicated ``net_socket_service_handler_t`` callback function type for 1144 socket services. 1145 * Added TLS 1.3 support for TLS sockets. 1146 * Fixed socket leak when closing NSOS socket. 1147 * Moved socket service library out of experimental. 1148 * Deprecated ``CONFIG_NET_SOCKETS_POLL_MAX``. 1149 * Moved ``zsock_poll()`` and ``zsock_select`` implementations into ``zvfs`` 1150 library. 1151 * Removed ``work_q`` parameter from socket service macros as it was no longer 1152 used. 1153 * Separated native INET sockets implementation from socket syscalls so that 1154 it doesn't have to be built when offloaded sockets are used. 1155 * Fixed possible infinite block inside TLS socket :c:func:`zsock_connect` when 1156 peer goes down silently. 1157 * Fixed ``msg_controllen`` not being set correctly in :c:func:`zsock_recvmsg`. 1158 * Fixed possible busy-looping when polling TLS socket for POLLOUT event. 1159 1160* TCP: 1161 1162 * Fixed propagating connection errors to the socket layer. 1163 * Improved ACK reply logic when peer does not send PSH flag with data. 1164 1165* Websocket: 1166 1167 * Added support for Websocket console in the Echo Server sample. 1168 * Fixed undefined reference to ``MSG_DONTWAIT`` while building websockets 1169 without POSIX. 1170 1171* Wi-Fi: 1172 1173 * Add a 80211R fast BSS transition argument usage to the wifi shell's connect command. 1174 * Fixed the shell's ap config command using the sta interface area 1175 * Added AP configuration cmd support to the NXP Wifi drivers 1176 * Fixed the dormant state in the NXP WiFi driver to be set to off once a connection to an AP is achieved 1177 1178* zperf: 1179 1180 * Added support for USB CDC NCM in the zperf sample. 1181 * Fixed DHCPv4 client not being started in the zperf sample in certain 1182 configurations. 1183 1184USB 1185*** 1186 1187* New USB device stack: 1188 1189 * Added USB CDC Network Control Model implementation 1190 * Enhanced USB Audio class 2 implementation 1191 * Made USB device stack high-bandwidth aware 1192 * Enhanced CDC ACM and HID class implementations 1193 1194Devicetree 1195********** 1196 1197* Added support for string-array and array type properties to be enums. 1198 Many new macros added for this, for example :c:macro:`DT_ENUM_IDX_BY_IDX`. 1199* Added :c:macro:`DT_ANY_COMPAT_HAS_PROP_STATUS_OKAY`. 1200* Added :c:macro:`DT_NODE_HAS_STATUS_OKAY`. 1201* Added :c:macro:`DT_INST_NUM_IRQS`. 1202* Added macros :c:macro:`DT_NODE_FULL_NAME_UNQUOTED`, :c:macro:`DT_NODE_FULL_NAME_TOKEN`, 1203 and :c:macro:`DT_NODE_FULL_NAME_UPPER_TOKEN`. 1204* ``DT_*_REG_ADDR`` now returns an explicit unsigned value with C's ``U`` suffix. 1205* Fixed escaping of double quotes, backslashes, and new line characters from DTS 1206 so that they can be used in string properties. 1207* Renamed ``power-domain`` base property to ``power-domains``, 1208 and introduced ``power-domain-names`` property. ``#power-domain-cells`` is now required as well. 1209* Moved the NXP Remote Domain Controller property to its own schema file 1210 1211Kconfig 1212******* 1213 1214Libraries / Subsystems 1215********************** 1216 1217* Debug 1218 1219 * Added west runner for probe-rs, a Rust-based embedded toolkit. 1220 1221* Demand Paging 1222 1223 * Added LRU (Least Recently Used) eviction algorithm. 1224 1225 * Added on-demand memory mapping support (:kconfig:option:`CONFIG_DEMAND_MAPPING`). 1226 1227 * Made demand paging SMP compatible. 1228 1229* Management 1230 1231 * MCUmgr 1232 1233 * Added support for :ref:`mcumgr_smp_group_10`, which allows for listing information on 1234 supported groups. 1235 * Fixed formatting of milliseconds in :c:enum:`OS_MGMT_ID_DATETIME_STR` by adding 1236 leading zeros. 1237 * Added support for custom os mgmt bootloader info responses using notification hooks, this 1238 can be enabled with :kconfig:option:`CONFIG_MCUMGR_GRP_OS_BOOTLOADER_INFO_HOOK`, the data 1239 structure is :c:struct:`os_mgmt_bootloader_info_data`. 1240 * Added support for img mgmt slot info command, which allows for listing information on 1241 images and slots on the device. 1242 * Added support for LoRaWAN MCUmgr transport, which can be enabled with 1243 :kconfig:option:`CONFIG_MCUMGR_TRANSPORT_LORAWAN`. 1244 1245 * hawkBit 1246 1247 * :c:func:`hawkbit_autohandler` now takes one argument. If the argument is set to true, the 1248 autohandler will reshedule itself after running. If the argument is set to false, the 1249 autohandler will not reshedule itself. Both variants are scheduled independent of each other. 1250 The autohandler always runs in the system workqueue. 1251 1252 * Use the :c:func:`hawkbit_autohandler_wait` function to wait for the autohandler to finish. 1253 1254 * Running hawkBit from the shell is now executed in the system workqueue. 1255 1256 * Use the :c:func:`hawkbit_autohandler_cancel` function to cancel the autohandler. 1257 1258 * Use the :c:func:`hawkbit_autohandler_set_delay` function to delay the next run of the 1259 autohandler. 1260 1261 * The hawkBit header file was separated into multiple header files. The main header file is now 1262 ``<zephyr/mgmt/hawkbit/hawkbit.h>``, the autohandler header file is now 1263 ``<zephyr/mgmt/hawkbit/autohandler.h>`` and the configuration header file is now 1264 ``<zephyr/mgmt/hawkbit/config.h>``. 1265 1266* Power management 1267 1268 * Added initial ESP32-C6 power management interface to allow light and deep-sleep features. 1269 1270* Crypto 1271 1272 * Mbed TLS was updated to version 3.6.2 (from 3.6.0). The release notes can be found at: 1273 1274 * https://github.com/Mbed-TLS/mbedtls/releases/tag/mbedtls-3.6.1 1275 * https://github.com/Mbed-TLS/mbedtls/releases/tag/mbedtls-3.6.2 1276 1277 * The Kconfig symbol :kconfig:option:`CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG_ALLOW_NON_CSPRNG` 1278 was added to allow ``psa_get_random()`` to make use of non-cryptographically 1279 secure random sources when :kconfig:option:`CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG` 1280 is also enabled. This is only meant to be used for test purposes, not in production. 1281 (:github:`76408`) 1282 * The Kconfig symbol :kconfig:option:`CONFIG_MBEDTLS_TLS_VERSION_1_3` was added to 1283 enable TLS 1.3 support from Mbed TLS. When this is enabled the following 1284 new Kconfig symbols can also be enabled: 1285 1286 * :kconfig:option:`CONFIG_MBEDTLS_TLS_SESSION_TICKETS` to enable session tickets 1287 (RFC 5077); 1288 * :kconfig:option:`CONFIG_MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_ENABLED` 1289 for TLS 1.3 PSK key exchange mode; 1290 * :kconfig:option:`CONFIG_MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED` 1291 for TLS 1.3 ephemeral key exchange mode; 1292 * :kconfig:option:`CONFIG_MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL_ENABLED` 1293 for TLS 1.3 PSK ephemeral key exchange mode. 1294 1295* SD 1296 1297 * No significant changes in this release 1298 1299* Settings 1300 1301 * Settings has been extended to allow prioritizing the commit handlers using 1302 ``SETTINGS_STATIC_HANDLER_DEFINE_WITH_CPRIO(...)`` for static_handlers and 1303 ``settings_register_with_cprio(...)`` for dynamic_handlers. 1304 1305* Shell: 1306 1307 * Reorganized the ``kernel threads`` and ``kernel stacks`` shell command under the 1308 L1 ``kernel thread`` shell command as ``kernel thread list`` & ``kernel thread stacks`` 1309 * Added multiple shell command to configure the CPU mask affinity / pinning a thread in 1310 runtime, do ``kernel thread -h`` for more info. 1311 * ``kernel reboot`` shell command without any additional arguments will now do a cold reboot 1312 instead of requiring you to type ``kernel reboot cold``. 1313 1314* Storage 1315 1316 * LittleFS: The module has been updated with changes committed upstream 1317 from version 2.8.1, the last module update, up to and including 1318 the released version 2.9.3. 1319 * Fixed static analysis error caused by mismatched variable assignment in NVS 1320 1321 * LittleFS: Fixed an issue where the DTS option for configuring block cycles for LittleFS instances 1322 was ignored (:github:`79072`). 1323 1324 * LittleFS: Fixed issue with lookahead buffer size mismatch to actual allocated buffer size 1325 (:github:`77917`). 1326 1327 * FAT FS: Added :kconfig:option:`CONFIG_FILE_SYSTEM_LIB_LINK` to allow linking file system 1328 support libraries without enabling the File System subsystem. This option can be used 1329 when a user wants to directly use file system libraries, bypassing the File System 1330 subsystem. 1331 1332 * FAT FS: Added :kconfig:option:`CONFIG_FS_FATFS_LBA64` to enable support for the 64-bit LBA 1333 and GPT in FAT file system driver. 1334 1335 * FAT FS: Added :kconfig:option:`CONFIG_FS_FATFS_MULTI_PARTITION` that enables support for 1336 devices partitioned with GPT or MBR. 1337 1338 * FAT FS: Added :kconfig:option:`CONFIG_FS_FATFS_HAS_RTC` that enables RTC usage for time-stamping 1339 files on FAT file systems. 1340 1341 * FAT FS: Added :kconfig:option:`CONFIG_FS_FATFS_EXTRA_NATIVE_API` that enables additional FAT 1342 file system driver functions, which are not exposed via Zephyr File System subsystem, 1343 for users that intend to directly call them in their code. 1344 1345 * Stream Flash: Fixed an issue where :c:func:`stream_flash_erase_page` did not properly check 1346 the requested erase range and possibly allowed erasing any page on a device (:github:`79800`). 1347 1348 * Shell: Fixed an issue were a failed file system mount attempt using the shell would make it 1349 impossible to ever succeed in mounting that file system again until the device was reset (:github:`80024`). 1350 1351 * :ref:`ZMS<zms_api>`: Introduction of a new storage system that is designed to work with all types of 1352 non-volatile storage technologies. It supports classical on-chip NOR flash as well as 1353 new technologies like RRAM and MRAM that do not require a separate erase operation at all. 1354 1355* Task Watchdog 1356 1357* Tracing 1358 1359 * Added support for a "user event" trace, with the purpose to allow driver or 1360 application developers to quickly add tracing for events for debug purposes 1361 1362* POSIX API 1363 1364 * Added support for the following Option Groups: 1365 1366 * :ref:`POSIX_DEVICE_IO <posix_option_group_device_io>` 1367 * :ref:`POSIX_SIGNALS <posix_option_group_signals>` 1368 1369 * Added support for the following Options: 1370 1371 * :ref:`_POSIX_SYNCHRONIZED_IO <posix_option_synchronized_io>` 1372 * :ref:`_POSIX_THREAD_PRIO_PROTECT <posix_option_thread_prio_protect>` 1373 1374 * :ref:`POSIX_FILE_SYSTEM <posix_option_group_file_system>` improvements: 1375 1376 * Support for :c:macro:`O_TRUNC` flag in :c:func:`open()`. 1377 * Support for :c:func:`rmdir` and :c:func:`remove`. 1378 1379 * :ref:`_POSIX_THREAD_SAFE_FUNCTIONS <posix_option_thread_safe_functions>` improvements: 1380 1381 * Support for :c:func:`asctime_r`, :c:func:`ctime_r`, and :c:func:`localtime_r`. 1382 1383 * :ref:`POSIX_THREADS_BASE <posix_option_group_threads_base>` improvements: 1384 1385 * Use the :ref:`user mode semaphore API <semaphores_v2>` instead of the 1386 :ref:`spinlock API <smp_arch>` for pool synchronization. 1387 1388* LoRa/LoRaWAN 1389 1390* ZBus 1391 1392* JWT (JSON Web Token) 1393 1394 * The following new symbols were added to allow specifying both the signature 1395 algorithm and crypto library: 1396 1397 * :kconfig:option:`CONFIG_JWT_SIGN_RSA_PSA` (default) RSA signature using the PSA Crypto API; 1398 * :kconfig:option:`CONFIG_JWT_SIGN_RSA_LEGACY` RSA signature using Mbed TLS; 1399 * :kconfig:option:`CONFIG_JWT_SIGN_ECDSA_PSA` ECDSA signature using the PSA Crypto API. 1400 1401 (:github:`79653`) 1402 1403* Firmware 1404 1405 * Introduced basic support for ARM's System Control and Management Interface, which includes: 1406 1407 * Subset of clock management protocol commands 1408 * Subset of pin control protocol commands 1409 * Shared memory and mailbox-based transport 1410 1411HALs 1412**** 1413 1414* Nordic 1415 1416 * Updated nrfx to version 3.7.0. 1417 * Added OS agnostic parts of the nRF70 Wi-Fi driver. 1418 1419* STM32 1420 1421 * Updated STM32C0 to cube version V1.2.0. 1422 * Updated STM32F1 to cube version V1.8.6. 1423 * Updated STM32F2 to cube version V1.9.5. 1424 * Updated STM32F4 to cube version V1.28.1. 1425 * Updated STM32G4 to cube version V1.6.0. 1426 * Updated STM32H5 to cube version V1.3.0. 1427 * Updated STM32H7 to cube version V1.11.2. 1428 * Updated STM32H7RS to cube version V1.1.0. 1429 * Added STM32U0 Cube package (1.1.0) 1430 * Updated STM32U5 to cube version V1.6.0. 1431 * Updated STM32WB to cube version V1.20.0. 1432 * Added STM32WB0 Cube package (1.0.0) 1433 * Updated STM32WBA to cube version V1.4.1. 1434 1435* ADI 1436 1437* Espressif 1438 1439 * Synced HAL to version v5.1.4 to update SoCs low level files, RF libraries and 1440 overall driver support. 1441* NXP 1442 1443 * Updated the MCUX HAL to the SDK version 2.16.000 1444 * Updated the NXP S32ZE HAL drivers to version 2.0.0 1445 1446* Silabs 1447 1448 * Updated Series 2 to Simplicity SDK 2024.6, while Series 0/1 continue to use Gecko SDK 4.4. 1449 1450MCUboot 1451******* 1452 1453 * Removed broken target config header feature. 1454 * Removed ``image_index`` from ``boot_encrypt``. 1455 * Renamed boot_enc_decrypt to boot_decrypt_key. 1456 * Updated to use ``EXTRA_CONF_FILE`` instead of the deprecated ``OVERLAY_CONFIG`` argument. 1457 * Updated ``boot_encrypt()`` to instead be ``boot_enc_encrypt()`` and ``boot_enc_decrypt()``. 1458 * Updated ``boot_enc_valid`` to take slot instead of image index. 1459 * Updated ``boot_enc_load()`` to take slot number instead of image. 1460 * Updated logging to debug level in boot_serial. 1461 * Updated Kconfig to allow disabling NRFX_WDT on nRF devices. 1462 * Updated CMake ERROR statements into FATAL_ERROR. 1463 * Added application version that is being booted output prior to booting it. 1464 * Added sysbuild support to the hello-world sample. 1465 * Added SIG_PURE TLV to bootutil. 1466 * Added write block size checking to bootutil. 1467 * Added check for unexpected flash sector size. 1468 * Added SHA512 support to MCUboot code and support for calculating SHA512 hash in imgtool. 1469 * Added fallback to USB DFU option. 1470 * Added better mode selection checks to bootutil. 1471 * Added bootutil protected TLV size to image size check. 1472 * Added functionality to remove images with conflicting flags or where features are required 1473 that are not supported. 1474 * Added compressed image flags and TLVs to MCUboot, Kconfig options and support for generating 1475 compressed LZMA2 images with ARM thumb filter to imgtool. 1476 * Added image header verification before checking image. 1477 * Added state to ``boot_is_header_valid()`` function. 1478 * Added ``CONFIG_MCUBOOT_ENC_BUILTIN_KEY`` Kconfig option. 1479 * Added non-bootable flag to imgtool. 1480 * Added zephyr prefix to generated header path. 1481 * Added optional img mgmt slot info feature. 1482 * Added bootutil support for maximum image size details for additional images. 1483 * Added support for automatically calculating max sectors. 1484 * Added missing ``boot_enc_init()`` function. 1485 * Added support for keeping image encrypted in scratch area in bootutil. 1486 * Fixed serial recovery for NXP IMX.RT, LPC55x and MCXNx platforms 1487 * Fixed issue with public RSA signing in imgtool. 1488 * Fixed issue with ``boot_serial_enter()`` being defined but not used warning. 1489 * Fixed issue with ``main()`` in sample returning wrong type warning. 1490 * Fixed issue with using pointers in bootutil. 1491 * Fixed wrong usage of slot numbers in boot_serial. 1492 * Fixed slot info for directXIP/RAM load in bootutil. 1493 * Fixed bootutil issue with not zeroing AES and SHA-256 contexts with mbedTLS. 1494 * Fixed boot_serial ``format`` and ``incompatible-pointer-types`` warnings. 1495 * Fixed bootutil wrong definition of ``find_swap_count``. 1496 * Fixed bootutil swap move max app size calculation. 1497 * Fixed imgtool issue where getpub failed for ed25519 key. 1498 * Fixed issue with sysbuild if something else is named mcuboot. 1499 * Fixed RAM load chain load address. 1500 * Fixed issue with properly retrieving image headers after interrupted swap-scratch in bootutil. 1501 * The MCUboot version in this release is version ``2.1.0+0-dev``. 1502 * Add the following nxp boards as test targets area: ``frdm_ke17z``, ``frdm_ke17z512``, 1503 ``rddrone_fmuk66``, ``twr_ke18f``, ``frdm_mcxn947/mcxn947/cpu0`` 1504 1505OSDP 1506**** 1507 1508Trusted Firmware-M (TF-M) 1509************************* 1510 1511* TF-M was updated to version 2.1.1 (from 2.1.0). 1512 The release notes can be found at: https://trustedfirmware-m.readthedocs.io/en/tf-mv2.1.1/releases/2.1.1.html 1513 1514Nanopb 1515****** 1516 1517* Updated the nanopb module to version 0.4.9. 1518 Full release notes at https://github.com/nanopb/nanopb/blob/0.4.9/CHANGELOG.txt 1519 1520LVGL 1521**** 1522 1523* Added definition of ``LV_ATTRIBUTE_MEM_ALIGN`` so library internal data structures can be aligned 1524 to a specific boundary. 1525* Provided alignment definition to accommodate the alignment requirement of some GPU's 1526 1527zcbor 1528***** 1529 1530* Updated the zcbor library to version 0.9.0. 1531 Full release notes at https://github.com/NordicSemiconductor/zcbor/blob/0.9.0/RELEASE_NOTES.md 1532 Migration guide at https://github.com/NordicSemiconductor/zcbor/blob/0.9.0/MIGRATION_GUIDE.md 1533 Highlights: 1534 1535 * Many code generation bugfixes 1536 1537 * You can now decide at run-time whether the decoder should enforce canonical encoding. 1538 1539 * Allow --file-header to accept a path to a file with header contents 1540 1541Tests and Samples 1542***************** 1543 1544* Together with the deprecation of ``native_posix``, many tests which were 1545 explicitly run in native_posix now run in :ref:`native_sim<native_sim>` instead. 1546 native_posix as a platform remains tested though. 1547* Extended the tests of counter_basic_api with a testcase for counters without alarms 1548* Added support for testing SDMMC devices to the fatfs API test 1549* Extended net/vlan to add IPv6 prefix config to each vlan-iface 1550* Enhanced the camera fixture test by adding a color bar to enable automation 1551* Added a number crunching (maths such as FFT, echo cancellation) sample using an optimized 1552 library for the NXP ADSP board 1553* Tailored the SPI_LOOPBACK test to the limitations of NXP Kinetis MCU's 1554* Enabled the video sample to run video capture (samples/drivers/video) 1555 1556* Added :zephyr:code-sample:`smf_calculator` sample demonstrating the usage of the State Machine framework 1557 in combination with LVGL to create a simple calculator application. 1558* Consolidated display sample where possible to use a single testcase for all shields 1559 1560Issue Related Items 1561******************* 1562 1563Known Issues 1564============ 1565 1566- :github:`71042` stream_flash: stream_flash_init() size parameter allows to ignore partition layout 1567- :github:`67407` stream_flash: stream_flash_erase_page allows to accidentally erase stream 1568- :github:`80875` stepper_api: incorrect c-prototype stepper.h and absence of NULL check stepper_shell.c 1569