I have a program running on an atmel SAM4S processor. The program runs out of flash and was originally written in C. I've recently added a small amount of C++. I have a base class that defines a virtual function. A second class extends the base class and redefines the virtual function. The program will not run. It starts but hangs shortly after starting. If I change the code and make the virtual function not virtual (losing the desired functionality), the program runs. I've tried a small program…