This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

auto configuration tool for sdk_config.h

Hello,

I'm developing custom firmware with Keil 5.31 and SDK 17.0.0. I have to configure the SDK and so I started to edit sdk_config.h, but it's quite hard to read the whole 12800 lines and set what I need.

In the file heading there is a reference to "// <<< Use Configuration Wizard in Context Menu >>>\n" so I suppose that there is a tool to generate quickly the sdk_config.h file.

Please can someone give me an hint?

Parents Reply Children
  • Sorry but I cant found a solution in your links, indeed there is the same issue:

    The problem I have is that the "full" config file does not contains all the available defines (especially the one used for log backend)

    Yes exactly the "full" file is not full.

    Moreover, the documentation specify that "All examples contain a full configuration header file in which only the used modules are enabled" but in fact these config file are not full at all wich make it difficult to compare to "generic" config file.

    About using Keil, yes it has a good text editor

    I guess Keil also has the advantage of letting you edit in plain text mode

    but edit 12000 lines in plain text is a nightmare.

  • The point is that, with Keil, you don't have to edit it just as a plain text file - it gives you a "structured" view in its 'Configuration Wizard':

    and you will have seen from the linked threads that there is also a Java tool

    AFAIK, those are the only 2 tools available.

    The Java one is open-source - so I guess you could modify it to your needs ...

Related