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

How to set the buttons in the toolbox of simulation target?

Hello
I run the measure project in the folder C:\Keil\ARM\RV30\Examples\Measure and I found that if the target is simulation, a tool box containing "Update windows", "My status Info", "Analog0 0..3V","Stop Analog0" items appears. I tried to find what defines the itmes in the tool box and I found that they are defined in the Measure.Opt as
OPTBT 0,(My Status Info)(MyStatus())
OPTBT 1,(Analog0 0..3V)(Analog0(3.0))
OPTBT 2,(Stop Analog0)(signal kill analog0). But I don't know how to set the items in the tool box by GUI of Keil IDE. Will someone tell me how to do? Thanks.

Parents
  • Hello
    I've read the document but there's no such code
    >DEFINE BUTTON "Decimal Output", "radix=0x0A"
    >DEFINE BUTTON "Hex Output", "radix=0x10"
    >DEFINE BUTTON "My Status Info", "MyStatus ()" /* call debug function */
    >DEFINE BUTTON "Analog0..5V", "analog0 ()" /* call signal function */
    >DEFINE BUTTON "Show R15", "printf (\"R15=%04XH\\n\")"
    in the measure.ini file which is in the options of measure project. I wonder although there's no code like that in the document, the measure project can set the items in toolbox. Can you help me? Thanks.

Reply
  • Hello
    I've read the document but there's no such code
    >DEFINE BUTTON "Decimal Output", "radix=0x0A"
    >DEFINE BUTTON "Hex Output", "radix=0x10"
    >DEFINE BUTTON "My Status Info", "MyStatus ()" /* call debug function */
    >DEFINE BUTTON "Analog0..5V", "analog0 ()" /* call signal function */
    >DEFINE BUTTON "Show R15", "printf (\"R15=%04XH\\n\")"
    in the measure.ini file which is in the options of measure project. I wonder although there's no code like that in the document, the measure project can set the items in toolbox. Can you help me? Thanks.

Children
No data