build: W600-SDK importiert, Firmware-Build und Hello am EVK
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.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* @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
|
||||
Reference in New Issue
Block a user