Happy Friday, folks! Once is not custom, let’s dive right into this week’s updates from Zephyr RTOS land, although don’t forget to submit a talk to FOSDEM 2024 before midnight!
New emulated DMA driver
It is nice to see an increasing amount of emulated drivers added to Zephyr recently.
This week, a new zephyr,dma-emul
binding was introduced. The associated driver provides a software implementation of a DMA controller that can be used to enable testing of areas and drivers otherwise difficult to test for they rely on DMA to be present.
See PR #58375 for more details.
Support for LVGL keypad input binding
Until PR #65002 being merged earlier this week, the LVGL keypad input device interface was the only input interface not yet supported in Zephyr (pointers, encoders, and buttons were already supported).
The new zephyr,lvgl-keypad-input
binding allows to declare a new LVGL input device in your Devicetree that maps input codes (ex. INPUT_KEY_DOWN
) coming from a Zephyr input device, to LVGL ones (ex. LV_KEY_NEXT
).
The LVGL sample has been updated to support keypads, and is therefore now a neat showcase for all four LVGL input interfaces!
Networking
- Added support for setting multicast IPv4 TTL and IPv6 hop limit. (PR #65886)
- It is now possible to perform multicast join/leave operations through the standard BSD Sockets API. (PR #66018)
- A new fallback mechanism has been added to LwM2M subsystem.
It is very common for a LwM2M client to have a list of several bootstrap server it may be trying to connecting to, so it only makes sense for the subsystem to support that and automatically try another bootstrap server from the configured list should connecting to the main one fail. Similarly, the fallback mechanism can be used for the connection to the actual LwM2M server, to switch to another one in case of lost connection. (PR #65745) - The CoAP server now implements network management events. These can be quite convenient to be notified when e.g. a new observer is added/removed, or when the server start/stops.
Boards & SoCs
- Adafruit Grand Central M4 Express is a devkit based on the Microchip ATSAMD51, with 1MB flash, 256 KB RAM, and a whooping 70 GPIO pins in total! (PR #62618)
- STM32WBA55 SoC series is now supported, alongside the ST Nucleo WBA55CG board. Featuring both Arduino and STMorpho headers, and based on a Cortex-M33, this devkit aims at ultra low-power BLE applications. (PR #66073)
Drivers
- The keyboard matrix driver keeps getting nice improvements. It now supports polling and scan mode, to help in situations where one is not able to use interrupts for the GPIOs corresponding to the rows/columns.
For example, large keyboard matrices might typically be accessed through a GPIO multiplexer that allows you to only “talk” to one row or column at a time.
I am really looking forward to putting this new feature to use to add support for the M5Stack Cardputer and its cool keyboard 🙂 - Several fixes to Sierra Wireless HL7800 modem driver for better low-power support. (PR #66237)
- Added support for NTCG103JF103FT1 thermistor. (PR #62185)
- Quadrature decoder support has been added for NXP S32 series. (PR #65035)
- Added support for the ST LPS28DFW pressure sensor. (PR #65416).
Miscellaneous
- When using SNTP (Simple network time protocol), a new
CONFIG_SNTP_UNCERTAINTY
allows to get a more reliable timestamp. (PR #66233) - When using Bluetooth Mesh, advertising is automatically suspended/resumed when enabling disabling Mesh. (PR #64721)
- OpenThread version has been updated, with added support for BLE TCAT (commissionning over BLE). (PR #66160)
- New POSIX API:
A big thank you to the 7 individuals who had their first pull request accepted this week, 💙 🙌: @rabarar, @pillo79, @lukas-jung, @mikevoyt, @naNEQ, @jrhrsmit, and @TangleZ.
As always, I very much welcome your thoughts and feedback in the comments below!
If you enjoyed this article, don’t forget to subscribe to this blog to be notified of upcoming publications! And of course, you can also always find me on Twitter and Mastodon.
Catch up on all previous issues of the Zephyr Weekly Update: