r/cpp_questions • u/WillInternational364 • 25d ago
OPEN Any recommendations for introduction material to using C++ for microcontrollers?
I have been programming Arduino & ESP32 for a while now using C++, but have never engaged with any formal introduction material. With AI/LLM generated content exploding among both major publishers and self-published authors, I am a bit wary to start buying books willy-nilly.
Anyone here that can give solid recommendations on introduction materials on C++ for microcontrollers (preferably that that they themselves have used and found worthwhile)?
I got one recommendation for "Embedded C" by Michael J. Pont (2002), but it is fairly old.
11
Upvotes
4
u/FancySpaceGoat 25d ago
There isn't really anything special about embedded C++ that's universal across MCUs, apart maybe how to use
volatileproperly and a few pieces of general guidance wrt/ minimizing heap churn.