ugfx/src/gos/gos_keil.h

28 lines
696 B
C
Raw Normal View History

2015-10-12 10:52:42 +00:00
/*
* This file is subject to the terms of the GFX License. If a copy of
* the license was not distributed with this file, you can obtain one at:
*
* http://ugfx.org/license.html
*/
/**
* @file src/gos/gos_keil.h
* @brief GOS - Operating System Support header file for Keil RTX
2015-10-12 10:52:42 +00:00
*/
#ifndef _GOS_KEIL_H
#define _GOS_KEIL_H
#if GFX_USE_OS_KEIL
/*
* Keil RTX uses the CMSIS RTOS interface. Therefore, just use the CMSIS RTOS port
*/
#define GFX_USE_OS_KEIL FALSE // Disable KEIL to avoid error: "GOS: More than one operation system has been defined as TRUE."
#define GFX_USE_OS_CMSIS TRUE
2015-10-12 10:52:42 +00:00
#include "gos_cmsis.h"
2015-10-12 10:52:42 +00:00
#endif /* GFX_USE_OS_KEIL */
#endif /* _GOS_KEIL_H */