Vance is a Firmware Developer at Golioth. He has 4 years experience writing firmware for a variety of embedded operating systems. He enjoys working with sensors and learning new hardware platforms.
Sensor drivers sometimes need to live outside of the Zephyr tree, for privacy or maintenance reasons. This post shows how to operate a sensor driver "Out-Of-Tree", and in the process, showcases how sensor drivers work.
Sometimes you don't have extra pins for TX/RX, the UART is already in use, or you don't want to upset critical timing by printing out messages. Real Time Transfer (RTT) is perfect in these situations. It uses the J-Link programmer to transfer console debugging output, without getting a UART involved at all. Good news, it's easy to use with Zephyr!
Embedded software developers regularly have to maintain a development environment and toolchain for their target product or chipset. Traditional methods are stuck in the past. Golioth is trying new experiments to improve overall developer experience.