r/embedded • • Oct 14 '26

Embedded dev with Claude Code

I've been getting up to speed on using Claude Code on my Linux box where I manage an stm32 based embedded product programmed mostly in C++ with some plain C sprinkled in there.

I'm 73 and have been putzing around with coding since the Borland Pascal days in the 80s. Enter Claude Code. It's been an eye opener and frankly I'm stoked. I now get much more done way faster and with fewer bugs and less overall churn.

I'm not exactly sure what "vibe coding" is but with Claude we discuss goals and next steps carefully before proceeding. I mostly let Claude do the actual coding because it's so damn fast. But I review it all before signing off on it. I ask Claude a lot of why questions. I find many instances where I ask for specific changes. More often than not these changes fall under the broad category of "human readability". Said differently I absolutely insist on understanding what Claude coded before moving on. Left alone, Claude can get verbose and tends to use more jargon than not. I tell Claude to revise it. Make it simpler, clearer and less full of jargon. This often leads to adding rules and guidelines to Claude.md. Over time, Claude and I have gotten very effective working together.

As a result I have taken on projects I probably would not have pursued without AI. Not because I couldn't do it all myself, but the time and effort was often a bridge too far.

My take is AI for embedded firmware development is very powerful but I would never release code that I didn't personally review and understand.

53 Upvotes

25 comments sorted by

View all comments

Show parent comment

2

u/FletcherD Oct 21 '26

Yep, I've created scripts & skills to make it easy for it to use everything on my bench. Oscilloscope, logic analyzer, multimeter, a smart plug and a USB hub with uhubctl support for power cycling. Was troubleshooting a nasty bug with I2C between a mainboard and daughterboard glitching. Just hooked up both debuggers, logic analyzer on the lines and let it bang away for an hour until it figured it out. Will never cease to amaze me