<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: hilpcb</title>
    <description>The latest articles on DEV Community by hilpcb (@hilpcb).</description>
    <link>https://dev.to/hilpcb</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4277966%2F04a96f1a-7d9d-4353-aa61-668d3f8f4357.png</url>
      <title>DEV Community: hilpcb</title>
      <link>https://dev.to/hilpcb</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hilpcb"/>
    <language>en</language>
    <item>
      <title>Keep one raw UART log before cleaning it up</title>
      <dc:creator>hilpcb</dc:creator>
      <pubDate>Thu, 03 Dec 2026 07:08:35 +0000</pubDate>
      <link>https://dev.to/hilpcb/keep-one-raw-uart-log-before-cleaning-it-up-3i6l</link>
      <guid>https://dev.to/hilpcb/keep-one-raw-uart-log-before-cleaning-it-up-3i6l</guid>
      <description>&lt;p&gt;A cleaned UART excerpt is useful in a bug report. Keeping the original capture alongside it makes the excerpt much easier to trust and investigate.&lt;/p&gt;

&lt;p&gt;Record the firmware commit, board revision, baud rate, and the action that started the capture. If the terminal adds host timestamps, say so. Those timestamps describe when the host received data, which may differ from when the firmware generated the event.&lt;/p&gt;

&lt;p&gt;Save one unedited text file first. Put your filtered excerpt in a separate file or issue comment, and describe the filtering. Removing repetitive lines may make a report readable, but it can also remove evidence about timing or frequency.&lt;/p&gt;

&lt;p&gt;If you need to compare two runs, keep the starting condition consistent. For example, distinguish a software reset from a complete power cycle. Capture the startup output in both cases, including warnings that look unrelated. The first message after a reset can be as useful as the final failure message.&lt;/p&gt;

&lt;p&gt;Before sharing the capture, check for credentials, device identifiers, customer data, or other sensitive values. Redact those in the shared copy and mark where you did so. Keep any original only in an appropriate private location.&lt;/p&gt;

&lt;p&gt;This does not require a complicated logging system. Two files named with the firmware revision and run number, plus a few lines describing the setup, can preserve the context that an attractive screenshot leaves out.&lt;/p&gt;

</description>
      <category>debugging</category>
      <category>hardware</category>
      <category>testing</category>
    </item>
    <item>
      <title>Make a firmware pin map reviewable in Git</title>
      <dc:creator>hilpcb</dc:creator>
      <pubDate>Wed, 02 Dec 2026 09:06:24 +0000</pubDate>
      <link>https://dev.to/hilpcb/make-a-firmware-pin-map-reviewable-in-git-3llg</link>
      <guid>https://dev.to/hilpcb/make-a-firmware-pin-map-reviewable-in-git-3llg</guid>
      <description>&lt;p&gt;A firmware pin map is easy to read when your editor is open on the source and the schematic is on a second screen. It’s harder to review in a pull request, especially when the change swaps two pins but the diff only shows numbers.&lt;/p&gt;

&lt;p&gt;Keep a small table in the repository alongside the board definition. For each signal, record the MCU pin, direction, active level if relevant, and board revision. A row might say &lt;code&gt;STATUS_LED | PA5 | output | active low | Rev B&lt;/code&gt;. Signal names should match the schematic wherever practical. This gives a reviewer a term they can search for in both places.&lt;/p&gt;

&lt;p&gt;If the same firmware supports multiple revisions, keep the mappings separate and select the target explicitly at build time. A build flag named for the board revision gives more context than an undocumented default. If you generate the pin constants from a table, add a check that the generated file is current. Where signals intentionally share a physical pin, record that exception so duplicate checks can distinguish it from a typo.&lt;/p&gt;

&lt;p&gt;On the review for a pin change, include a small bench check. For an active-low LED, a useful check names the expected logic level and what should be visible. This takes one line in the pull request and gives the next person a way to repeat the check on the intended board revision.&lt;/p&gt;

</description>
      <category>git</category>
      <category>hardware</category>
      <category>softwaredevelopment</category>
    </item>
  </channel>
</rss>
