Editing sdk_config.h in IDE in keil graphical representation. how does this work ?

Overriding the sdk_config.h configuration

Each define in the sdk_config.h file is a conditional define that is added only if it has not been defined previously so it can be easily overriden.

Configuration in sdk_config.h can be overriden in two ways:

  • Adding a project flag/define.
  • Adding the USE_APP_CONFIG flag to the project settings and creating an app_config.h file which is included at the top of the sdk_config.h file.

Editing sdk_config.h in IDE

This section contains information on how to edit the sdk_config.h file in different IDEs.

ARM Keil uVision

ARM Keil uVision natively supports the standard and when special markers are detected in the file, the editor allows to switch to

Related