This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS: How to use Hotmenu addJSFunction

Tool/software: Code Composer Studio

Hello,

I'm try to add a JS function to the hot menu from CCS scripting console. For example:

   fn = function coucou() {print(coucou);}

  hotmenu.addJSFunction('coucou', fn, true);

I can see the 'coucou' item in the menu Script. But nothing happens when click on it.

What should I do to get this working?

Thank by advance.

Laurent