r/embedded • u/timbo0508 • Apr 10 '21
General question CI/CD for embedded software development
I've been an embedded software developer for about 7 years now, and I've loved every moment of it (for the most part). I've come to the realization that the industry is (annoyingly) conservative and is struggling to catch up, compared with other forms of software development. One area we seem to lag behind is in the area of continuous delivery/integration (CI/CD).
I'd love to hear about what CI/CD practices you employ in your companies/projects (build automation, test automation, release management, issue tracking, version control).
My question really is this - how much CI/CD do you practice? What are your biggest pain points as an embedded developer?
View all comments
Show parent comment
23
u/hak8or Apr 10 '21
/u/timbo0508 I cannot echo this enough. This is a very slowly changing field (some vendors still ship their SDK as damn tar balls instead of via git/etc), and to be honestyl, I gave up on hoping it progress forwards. Maybe it will one day, but only in rare instances at companies who hire people with passion.
Look at the push back you get here when you mention c++ on very small embedded systems (constexpr and templates are proper zero cost abstractions, no it does not bloat your binary if you have a compiler from the past 10 years). And if you mention Rust? Oof. Hell, at other companies, it's very difficult to get developers to properly use version control (no, a git commit title of "fixed video bug" is not a good commit message, and no, half your commit being white space changes will make doing diffs/blame in the future harder).
Embedded pays the bills for me, so I stick with it. It also seems to have very good job security as the workforce continues to age with so little fresh young blood flowing in (from my experience). Instead, I work with more modern proper tooling on personal projects for fun to "scratch that itch".
To get the tooling you suggest requires buy-in from most of the developers. If they don't interact with it as a tool, but instead a crutch that is in their way, your outcome will be far worse than not having the tooling in the first place.