os_config.h
来自「An Demo of uCGUI from SEGGER」· C头文件 代码 · 共 45 行
H
45 行
/*********************************************************************
* SEGGER MICROCONTROLLER SYSTEME GmbH *
* Solutions for real time microcontroller applications *
**********************************************************************
* *
* (C) 2007 SEGGER Microcontroller Systeme GmbH *
* *
* www.segger.com Support: support@segger.com *
* *
**********************************************************************
File : OS_Config.h
Purpose : Configuration settings for the OS build and UART
-------- END-OF-HEADER ---------------------------------------------
*/
#ifndef OS_CONFIG_H /* Avoid multiple inclusion */
#define OS_CONFIG_H
/*********************************************************************
*
* Configuration for RTOS build and UART
*
* One of the following builds needs to be selected for both DEBUG and Release builds:
*
* OS_LIBMODE_XR Extremly small release build without Round robin
* OS_LIBMODE_R Release build
* OS_LIBMODE_S Release build with stack check
* OS_LIBMODE_SP Release build with stack check and profiling
* OS_LIBMODE_D Debug build
* OS_LIBMODE_DP Debug build with profiling
* OS_LIBMODE_DT Debug build with trace
*/
#if DEBUG
#define OS_LIBMODE_DP
#else
#define OS_LIBMODE_R
#define OS_UART -1
#endif
#endif /* Avoid multiple inclusion */
/***** EOF ********************************************************/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?