I have to add a function that will run every specified period. it seems straight forward as Code composer has a GUI tool to do that : DSP/BIOS Condig->PRD->
alt text http://bauhaus.ece.curtin.edu.au/~iain/c54-tutorial/imag开发者_StackOverflow社区es/Image33.gif
in the properties form I can fill in the function name that gets called with every clk interrupt, but the GUI rejects my functions as "undefined labels'
the function I want to call is a C++ static function : static void MyClass::func1()
what am i missing here ?
You definitely need to have it be an extern "C" function.
精彩评论