version 2.8
gos_keil.h
Go to the documentation of this file.
1 /*
2  * This file is subject to the terms of the GFX License. If a copy of
3  * the license was not distributed with this file, you can obtain one at:
4  *
5  * http://ugfx.org/license.html
6  */
7 
8 /**
9  * @file src/gos/gos_keil.h
10  * @brief GOS - Operating System Support header file for Keil RTX
11  */
12 
13 #ifndef _GOS_KEIL_H
14 #define _GOS_KEIL_H
15 
16 #if GFX_USE_OS_KEIL
17 
18 /*
19  * Keil RTX uses the CMSIS RTOS interface. Therefore, just use the CMSIS RTOS port
20  */
21 
22 // Disable KEIL to avoid error: "GOS: More than one operation system has been defined as TRUE."
23 #undef GFX_USE_OS_KEIL
24 #define GFX_USE_OS_KEIL FALSE
25 
26 // Enable generic CMSIS RTOS implementation
27 #undef GFX_USE_OS_CMSIS
28 #define GFX_USE_OS_CMSIS TRUE
29 #include "gos_cmsis.h"
30 
31 #endif /* GFX_USE_OS_KEIL */
32 #endif /* _GOS_KEIL_H */
GOS - Operating System Support header file for CMSIS RTOS.