I am following the directions on the app note 154/196 to create a debug DLL. When I attempt to add 20 menu items to the peripheral menu uVision freezes when the DLL is loaded. Is there a limit?
PeriMenu has more than 20 items.
DWORD DefineAllMenuEntries(void) { // declare all peripheral-menu entries and dialogs for (int i = 0; i < 20; i++) { if (!Agsi.DefineMenuItem(&(PeriMenu[i]))) return(FALSE); } return(TRUE); }