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

Where are all the configurations of the "Customise Tools Menu" saved?

Hi everybody :)

As you may know there is an option to customize the tools menu over the UI (as documented here https://www.keil.com/support/man/docs/uv4cl/uv4cl_dg_toolmnu.htm). I am totally fine with it but I want to maniplate them with some self-written scripts and not over the UI (e. g, add new tools by extending the configuration file). Therefore, I need to know where that configuration file is located. First I thought that it is some project-specific stuff but then I realized that the added/customized tools can be used in all projects. I went through most of the files inside of a sample project and for sure inside of the Keil installation folder. I could not find any configuration (e. g. XML-file) which contains those configuration. I also took a look at the Windows Registery Editor but could not find any relevant information (fyi I use µVision V5.37.0.0). Can you tell me if such a file exists and if so, where is it?

Thank you so mucn in advance :)

Parents Reply Children
  • Thank you so much for providing the path (I could not find it out and had a hard time searching it [due to huge number of entries it takes too much time to search there]). Now with the path provided by you I could finally find them. Maybe for those who need the same thing:

    1. Search for regedit (Registery Editor) in Windows
    2. There is a field where you can enter the path provieded by Hans
      HKEY_CURRENT_USER\Software\Keil\µVision5\ToolM
    3. You will see a list of entries (name, type and value)

    They are mapped to the UI elements as following (as I understood):

    1. Mtx{n}: I could not resolve the abbrevation (simply the name of entry in the list of custoimzed tools visible in the UI)
    2. Mid{n}: Initial Directory of the menu item (it is marked as "initial folder" in the UI)
    3. Mfg{n}: I could not resolve the abbrevation (there are 3 checkboxes in the UI and their values are saved as a hexadecimal constant)
      1. Non of them selected: 0x0000 0100 -> 0 ... 0001 ... 0 (in binary) *
      2. "Prompt for Arguments" selected: 0x0000 0300 -> 0 ... 0011 ... 0 (in binary) *
      3. "Run Minimized" selected: 0x0000 0500 -> 0 ... 0101 ... 0 (in binary) *
      4. "Run Independent" selected: 0x0000 0900 -> 0 ... 1001 ... 0 (in binary) *
    4. Mex{n}:  I could not resolve the abbrevation (it is marked as "Command" in the UI)
    5. Mag{n}:Arguments (it is marked as "Arguments" in the UI)

    n ∈ N0 (just an index starting with 0)

    *: They use one nibble to code the options selected (we have three options -> 8 different cases [3 bits should be enough but they took an extra bit and so they have a nibble for that [a digit of that hexadecimal constant]). Note that the LSB of that nibble is always 1. You can create other combinations by your own (e. g. 0x0000 0F00 -> all of three options selected)