<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Zephyr on cge.dev</title>
    <link>https://cge.dev/tags/zephyr/</link>
    <description>Recent content in Zephyr on cge.dev</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Tue, 08 Sep 2026 17:56:33 -0700</lastBuildDate>
    <atom:link href="https://cge.dev/tags/zephyr/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Prototyping a WiFi serial logger with Golioth</title>
      <link>https://cge.dev/posts/golioth-wifi-serial-logger-prototype/</link>
      <pubDate>Tue, 18 Jun 2024 00:00:00 +0000</pubDate>
      <guid>https://cge.dev/posts/golioth-wifi-serial-logger-prototype/</guid>
      <description>&lt;p&gt;&#xA;&#xA;&#xA;&#xA;&lt;a href=&#34;images/golioth-wifi-serial-logger.webp&#34;&gt;&#xA;  &lt;img src=&#34;images/golioth-wifi-serial-logger.webp&#34; alt=&#34;golioth-wifi-serial-logger&#34; class=&#34;center&#34; /&gt;&#xA;&lt;/a&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;In this post, I&amp;rsquo;ll show how I built a cloud-connected WiFi serial logger proof-of-concept in a couple hours (and for less than $10) by leveraging &lt;a href=&#34;https://www.zephyrproject.org/&#34;  class=&#34;external-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Zephyr&lt;/a&gt; and &lt;a href=&#34;https://golioth.io/&#34;  class=&#34;external-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Golioth&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;requirements&#34;&gt;&#xA;  Requirements&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#requirements&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;Link to heading&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;Link to heading&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;A couple days ago, one of the folks in the consulting forum on &lt;a href=&#34;https://forum.contextualelectronics.com/&#34;  class=&#34;external-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;https://forum.contextualelectronics.com/&lt;/a&gt; asked if anybody knew of an off-the-shelf device that could forward log messages from a generic target device to the cloud.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Enforce Zephyr code quality with pre-commit</title>
      <link>https://cge.dev/posts/enforce-zephyr-code-quality-pre-commit/</link>
      <pubDate>Sun, 16 Jul 2023 00:00:00 +0000</pubDate>
      <guid>https://cge.dev/posts/enforce-zephyr-code-quality-pre-commit/</guid>
      <description>&lt;p&gt;&#xA;&#xA;&#xA;&#xA;&lt;a href=&#34;images/zephyr_kite.png&#34;&gt;&#xA;  &lt;img src=&#34;images/zephyr_kite.png&#34; alt=&#34;zephyr_kite&#34; class=&#34;center&#34; /&gt;&#xA;&lt;/a&gt;&#xA;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;In this article, I&amp;rsquo;ll describe how embedded firmware developers can leverage &lt;a href=&#34;https://pre-commit.com/&#34;  class=&#34;external-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;&lt;code&gt;pre-commit&lt;/code&gt;&lt;/a&gt; to automate and enforce code quality checks in their Zephyr RTOS embedded firmware projects.&lt;/p&gt;&#xA;&lt;div class=&#34;notice note&#34;&gt;&#xA;  &lt;div class=&#34;notice-title&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-sticky-note&#34; aria-hidden=&#34;true&#34;&gt;&lt;/i&gt;Note&#xA;  &lt;/div&gt;&#xA;  &lt;div class=&#34;notice-content&#34;&gt;&lt;p&gt;An earlier revision of this article recommended running &lt;code&gt;clang-format&lt;/code&gt; as a pre-commit hook. While this is still possible, there are some downsides to running &lt;code&gt;clang-format&lt;/code&gt; automatically via &lt;code&gt;pre-commit&lt;/code&gt; (for example, &lt;code&gt;clang-format&lt;/code&gt; formatting &lt;a href=&#34;https://github.com/zephyrproject-rtos/zephyr/issues/52712#issuecomment-1516541794&#34;  class=&#34;external-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;does not 100% align&lt;/a&gt; with the Zephyr project coding style and needs some manual fixing).&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
