I am trying to implement a "generic" TRACE32 menu that takes a parameter and can be reused across different projects.
Would something like that be possible? How do I pass an argument to a .mem
file loaded by MENU.ReProgram
?
;my_menu.mem
ADD
MENU
(
POPUP "&User"
(
DEFAULT
MENUITEM "Disable watchdog"
(
DO ~~~~/boards/&board/disable_wdg.cmm
; ^^^^^^
)
)
)