Thanks for making this! I tried to use this on KiCad 9, but it turns out KiCad 8 is the last version that can read footprints in this format. I used KiCad 8 to convert it, and put an updated version in...
What @tomas said. And std::vector will be using new under the hood, so all you’re doing is losing control while gaining convenience. You can guess, but not know, when memory is going to be allocated and freed; if it’s in your app, in code you...
Heap allocation is never guaranteed to succeed. Heap fragmentation is real thing and dlmalloc is not magical cure. I have seen it fragmenting memory too. So as long as you do hobby project, or music app that will just stop playing and you will...
How about using std::vector? I have used vector successfully (no detected failures) due to the nice features that regular arrays do not have.
I've seen lots of notes of caution about using standard library stuff in embedded applications. So far...