I want to design an agent-based control system for an embedded application with multiple Arduino Uno microcontrollers. I would like to do so in C++, mainly because it's the language I am most familiar with. I know run-time memory allocation and other dynamic operations are a concern (new and throw are seemingly the big baddies), and found some warnings against the usage of virtual base classes and multiple inheritance (I am no fan of the latter in any application). But I have been unable to find any reference to inheritance in general, and especially multilevel inheritance.
As far as I know, inheritance-tree depth should not affect performance, but I just wanted to make sure before kicking off. I'm also interested in advice regarding coding style (i.e., whether it is, in general, advisable to use inheritance on embedded systems).
Thank you for your help. Please let me know if I need to elaborate more.