You will need to add the following include paths to your compilation (here mentioned relative to the directory where you have unpacked TouchGFX): The compilation process will mention each file being compiled, thereby giving you a list of exactly the files you need to add. In order to determine what files you need, the recommended approach is to simply try compiling the application using the TouchGFX environment shell for the appropriate board.
Keil Univision 4 Ide S drivers#
Exactly which files to include depend on your target board, since the low-level drivers are different for each board. Required files #īasically you will need to add the same TouchGFX files to your IDE project as are compiled when building with make from the TouchGFX environment shell. If you instead wish to have more control over the build process and file locations, you can instead integrate the relevant TouchGFX code files into your own existing project, and add the necessary include paths and compiler switches in order to make it compile. Add TouchGFX code files to your own project # Please note that your current directory must be the root directory of the application you want to compile.
![Keil Univision 4 Ide S Keil Univision 4 Ide S](https://i.ytimg.com/vi/Ihx20r1T_1s/maxresdefault.jpg)
This article assumes that you will use either the GCC cross compiler toolchain distributed with the TouchGFX environment shell, or alternatively your own GCC toolchain of a flavor that is able to link with the TouchGFX core library compiled using the environment shell toolchain.
![Keil Univision 4 Ide S Keil Univision 4 Ide S](http://www.ocfreaks.com/imgs/lpc2148-tutorial/keil_mdk_uv5/10_keil_window.png)
Alternatively you can manually add the necessary TouchGFX files and configuration options to your existing project. This is probably the easiest approach, but is not always desirable if you want to have more control over the compilation process and file locations. One approach is to invoke the TouchGFX Makefile from within the IDE. This article will describe two different approaches to getting TouchGFX to work with other IDEs.
![Keil Univision 4 Ide S Keil Univision 4 Ide S](https://www2.keil.com/images/default-source/mdk5/uvision_ide.png)
Please note that this article describes only the setup procedure in general terms - support for all the various IDEs cannot be provided, but hopefully the information presented here is sufficient for you to use TouchGFX with your favorite IDE.