This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

AGSI Menu Limit

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);
}