

Note that this file also needs to be added to the Include Paths. For detailed information about all available configuration settings, please see configuration. The last thing to do is copying the from the uGFX library directory to the Keil project and renaming it to gfxconf.h. The path needs to be added to the Include Paths. This is done in the C/C++ tab of the Target Options dialog. Next, we need to add the top level uGFX library directory to the compiler include path. Inside that newly create group we have to add the gfx_mk.c file which can be found in the src directory of the ugfx library. As this folder will contain some of the uGFX source files, we'll name it ugfx. We start by creating a new group in the project tree on the left side by right-clicking on the project top level folder and selecting Add Group. For more information, see Integrate uGFX. Therefore, we'll use the single-file technique to add µGFX to an existing Keil project. Keil µVision doesn't support using Makefiles. We recommend using the following structure: Therefore, the µGFX library directory needs to be somewhere near the project directory.

Unfortunately Keil µVision doesn't really support a way of defining variables. You don't need to use the Professional version. Note: The same guide applies for all Keil µVision versions. Keil µVision 5.16a MDK-ARM Professional.The following tools were used in this article:
