We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
In EcMain.cpp the extern void *operator new(size_t size) fails to allocate memory for a new object on its first invocation. I think that the problem is that _main() is never called, so init_mempool is never called. Does anyone know where the call to _main() is made?
BTW I'm using RTX166
Take a look to: \Keil\C166\Examples\EC++\RtxTiny.
This example shows the setup required for RtxTiny. The RTX166 setup is similar, but RTX166 is replaced now with AR166.
What am I looking for in this example? I still can't see a call to _main(), and the example doesn't dynamically create any objects.