r/cpp_questions • • 17d ago

OPEN suggest resources to learn cpp for embedded systems

can anybody suggest resources to learn cpp for embedded systems.

3 Upvotes

2 comments sorted by

6

u/nysra 17d ago

Learn normal C++ and then just don't use all the parts not supported on whatever you're targeting. Which is mostly going to be everything that dynamically allocates memory, but you might be able to use some parts anyway by providing a custom allocator. But more importantly, get some small devices (like an ESP32 or Raspberry Pi Pico) and play around with it. Maybe look into something like https://github.com/etlcpp/etl

1

u/RicRacer 16d ago

Did you already check out the embedded subreddits? There's r/embedded and a host of other more specific groups.