Docker-Build mit gcc-arm-none-eabi 4.9-2014q4 (statt Homebrew-Cask) verwendet, Dockerfile/tools/docker.sh dafür aus Task 13 vorgezogen. cmake/sdk.cmake schont gcc 4.9 (kennt -fcommon/-Wno-error=... nicht). Zwei zusätzliche SDK-Stubs (EarlyInit, pre_gpio_config) in src/sys/sdk_stubs.c ergänzt, siehe sdk/PATCHES.md.
20 lines
490 B
C
20 lines
490 B
C
/**
|
|
* @file wm_os_config.h
|
|
*
|
|
* @brief WM OS select freertos or ucos
|
|
*
|
|
* @author winnermicro
|
|
*
|
|
* Copyright (c) 2015 Winner Microelectronics Co., Ltd.
|
|
*/
|
|
|
|
#ifndef __WM_OS_CONFIG_H__
|
|
#define __WM_OS_CONFIG_H__
|
|
#define OS_CFG_ON 1
|
|
#define OS_CFG_OFF 0
|
|
|
|
#define TLS_OS_UCOS OS_CFG_OFF /*UCOSII need to modify wm_config.inc*/
|
|
#undef TLS_OS_FREERTOS
|
|
#define TLS_OS_FREERTOS OS_CFG_ON /*FreeRTOS need to modify wm_config.inc*/
|
|
#endif
|