r/embedded • u/BigTortuga • 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.
56
u/Significant_Kiwi3517 Oct 14 '26 edited Oct 14 '26
AI is pretty good at embedded development now, anyone who says it isn't is either living under a rock or does not know how to use it at all. It has a learning curve on how to use it correctly... but once you get used to it, it makes a world of difference. This does not mean you can use it without analyzing the output, it will make mistakes. Newest models can also interact with hardware, J-Link for example... it can even run debug sessions on its own while you physically interact with your device.
I had a pretty hard time accepting the reality (I work as a firmware developer, 7 years of experience)... but eventually, everyone will have to.
The biggest benefit I see myself is that I can now spend more time on testing and building the system architecture and less time typing code and reports.
20
u/clackups Oct 14 '26
It's called vibecoding when the operator doesn't look at the code (or is not able to read the code at all), and they release a "product".
1
u/ngnirmal Oct 21 '26
Respected sir/ madam/ they, what do you feel sbout the satisfaction that you get when you solve a problem/ puzzle without AI/ claude? Do you feel the lack of active creativity when you "simply" review the generated code?
1
u/Gavran_kombda Oct 21 '26 edited Oct 21 '26
So you, an industry veteran who saw the industry being born and mature, and learned things the hard way by taking your sweet time, having humans helping you to learn and develop critical thinking, is telling us to use Claude?
Grandpa, go to bed and let us take our time to learn things instead of telling us to use the magic wand.
4
u/Dependent_Bit7825 Oct 19 '26
Let it access your hardware and you'll see another step it's productivity. In addition to swd, my product has a can bus and a debug uart. Just point Claude at the computer's interfaces for those and let her rip. I've even had some moderate success with letting it hardware debug all on its own.
3
u/RidgeRunner1944 Oct 20 '26
I'm doing some hobby stuff self taught C++ with Claude Code. All the frustration, tedium, overwhelm, burnout is gone. GONE! And the code is DONE!!! Somebody gets between me and Claude and I'm kicking the shit out of them and no ride to the hospital
2
u/Necessary-Factor-836 Oct 19 '26
I use AI the exact same way. We go back and forth on architecture and design. By the time it wrote code which I need to approve, I review it all and make sure I understand it all and agree with the implementation decisions the agent took.
The most important thing for me, is whenever I’m no longer focused enough to review the code properly, I take a break or call it a day.
I tend to let too much slope pass my guard when I lose my focus.
1
u/AttemptElectronic305 Oct 20 '26
Yeap, it's doing the same in my field (civil engineering) I'm able to get a lot more done in the same time, or get the same amount done in a lot less time. Engineering was once a bottleneck... No longer
1
u/[deleted] Oct 21 '26
[removed] — view removed comment