Happy Friday! In case you missed it, yesterday I had the opportunity to join Robert and Michael from Arm (thanks again for the invitation, guys!) as part of their Innovation Coffee series. I forgot to actually bring some coffee, but we had a nice chat nevertheless, and you may want to catch up the recording.
Also on YouTube, and also live, donât forget to join the first ever Zephyr Tech Talk next week next Wednesday, Sept. 13, at 1pm UTC.
And now for this weekâs updateâŠ!
New battery charger subsystem
Thereâs been a lot happening recently in Zephyr around all things battery-powered, and this week a new subsystem has been introduced to help dealing with battery chargers.
Among other features, battery chargers play a crucial role in preventing your smartphone or other battery-powered devices from overheating and basically exploding during recharging. đ
They typically expose a range of properties that allow to get information about the battery (voltage, temperature, âŠ), as well as settings that can be applied to e.g. limit the charging current (again, you donât want that poor battery of your to explode!).
You can check out pull request #56666 for more context.
Boards & SoCs
- Support has been added for Silicon Labs BRD4170A board. (PRÂ #62145)
- Texas Instruments SimpleLink CC13x2/CC26x2 family now support MCUboot out-of-the-box, as PRÂ #62239 introduced the changes required to properly described the flash partitions it requires.
- If you are a user of NXP RT1170, you can now use the LinkServer utility to flash your board. (PRÂ #62229)
Drivers
- A driver has been added for the F75303 temperature sensor from Fintek. The sensor has three temperature channels in total: one local (on-chip), and two remote. (PRÂ #60833)
Something thatâs pretty cool is that Pawel (a first-time contributor to Zephyr!) also added an emulator for the sensor! đ - The AD56xx series of DACs (Digital-to-Analogue Converters) from Analog Devices is now supported. (PRÂ #60347)
- New driver for Texas Instrumentâs VIM (Vectored Interrupt Manager), which is an external interrupt controller used e.g. in Beaglebone AI64. (PRÂ #60856)
- PWM driver for STM32 now supports capturing on four channels. (PRÂ #57607)
- Power management support has been added to the very popular LM75 digital temperature sensor, so that reading from it properly fails when the sensor is not powered. (PRÂ #61167)
Miscellaneous
- Two significant improvements to IÂČC logging were introduced with PRÂ #60301:
IÂČC log outputs are now better aligned to make them much easier to compare visually:
D: I2C msg: io_i2c_ctrl7_port0, addr=50
D: W len=01: 00
D: R Sr P len=08:
D: contents:
D: 43 42 41 00 00 00 00 00 |CBA.....
You can now use the Devicetree to filter which subset of IÂČC communications you want to get logs for. Very smart and very cool!
/ {
i2c {
display0: some-display@a {
...
};
sensor3: some-sensor@b {
...
};
};
i2c-dump-allowlist {
compatible = "zephyr,i2c-dump-allowlist";
devices = < &display0 >, < &sensor3 >;
};
};
- For maintainers and contributors, please be aware that a new extension to Zephyrâs documentation generation system (Sphinx) allows to document code samples more precisely, in particular by indicating which API they are a good sample for, so that they then show up nicely in the associated documentation. Of course, I encourage everyone to help with porting over existing code samples to the new system đ (PRÂ #62029)
.. zephyr:code-sample:: blinky
:name: Blinky
:relevant-api: gpio_interface
Blink an LED forever using the GPIO API.
- Sysbuild now allows to configure/build applications in a specific order. (PRÂ #57884). Read more here.
A big thank you to the 11 individuals who had their first pull request accepted this week, đ đ: @piotrnarajowski, @warrenb78, @chienhung-lin, @inteljiangwe1, @semihalf-anikiel-pawel, @semihalf-jakiela-albert, @RichardSWheatley, @rriveramcrus, @andrewmclachlanadi, @rtalbott-tmo, and @ihidchaos.
As always please feel free to jump in with your thoughts or questions in the comments below. See you next week!
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: