Menu

📰
0

Sharing useful tool : CI/CD for hardware — compile, flash, and read serial as part of an automated pipeline, from the command line

Reddit r/embedded·u/Altruistic_Tomato162·about 1 month ago
#7ed7cNBG
#serial#board#useful#tool#photo#article
Reading 0:00
15s threshold

https://reddit.com/link/1szctjo/video/8yjiw2e097yg1/player

Every software project has CI. Hardware projects still have someone manually hitting "Upload" in the IDE and squinting at the serial monitor.

nff fixes that. It's a Python tool + MCP server that exposes your board as callable functions:

  • nff flash ./sketch.ino — compile and upload from the CLI
  • nff monitor — scripted serial capture
  • nff init — auto-detects your board by USB vendor ID, no config needed

You can script it, pipe it, schedule it. Uno, Mega, Nano, ESP32, ESP8266 supported out of the box. Adding a board is two lines.

pip install nff

Fully open source @ https://github.com/GLechevalier/nff, and full roadmap on https://nanoforgeflow.com . What would make this useful in your workflow?

Read More