arduino-managed-serial-device
                                
                                
                                
                                    arduino-managed-serial-device copied to clipboard
                            
                            
                            
                        Statically allocate callback functions
Currently this library relies on use of std::functional which itself creates function objects on the heap.  This isn't ideal for use on constrained memory devices due to fragmentation issues, but is extremely handy for defining callback functions.  My C++ skills aren't strong enough at the moment to handle this, but it's apparently possible for functions to be statically allocated to avoid this problem.