Zephyr 4.2.0 (Working Draft)
We are pleased to announce the release of Zephyr version 4.2.0.
Major enhancements with this release include:
An overview of the changes required or recommended when migrating your application from Zephyr v4.1.0 to Zephyr v4.2.0 can be found in the separate migration guide.
The following sections provide detailed lists of changes by component.
API Changes
Removed APIs and options
Removed the deprecated the
net_buf_put()
andnet_buf_get()
API functions.Removed the deprecated
include/zephyr/net/buf.h
header file.
Deprecated APIs and options
The scheduler Kconfig options CONFIG_SCHED_DUMB and CONFIG_WAITQ_DUMB were renamed and deprecated. Use
CONFIG_SCHED_SIMPLE
andCONFIG_WAITQ_SIMPLE
instead.TLS credential type
TLS_CREDENTIAL_SERVER_CERTIFICATE
was renamed and deprecated, useTLS_CREDENTIAL_PUBLIC_CERTIFICATE
instead.
arduino_uno_r4_minima
andarduino_uno_r4_wifi
board targets have been deprecated in favor of a newarduino_uno_r4
board with revisions (arduino_uno_r4@minima
andarduino_uno_r4@wifi
).esp32c6_devkitc
board target has been deprecated and renamed toesp32c6_devkitc/esp32c6/hpcore
.
New APIs and options
I2C
Bluetooth
Audio
Host
LE Connection Subrating is no longer experimental.
Display
Networking:
IPv4
Stepper
New Boards
New Drivers
New Samples
Other notable changes
Added support for Armv8.1-M MPU’s PXN (Privileged Execute Never) attribute. With this, the MPU attributes for
__ramfunc
and__ram_text_reloc
were modified such that, PXN attribute is set for these regions if compiled withCONFIG_ARM_MPU_PXN
andCONFIG_USERSPACE
. This results in a change in behaviour for code being executed from these regions because, if these regions have pxn attribute set in them, they cannot be executed in privileged mode.