/** ************************************************************************************************************ * Copyright(c) 2015, Realtek Semiconductor Corporation. All rights reserved. ************************************************************************************************************ * @file platform_autoconf.h * @brief Platform configuration * @author * @date 2018-04-16 * @version v0.1 ************************************************************************************************************* */ #ifndef _PLATFORM_AUTOCONF_H_ #define _PLATFORM_AUTOCONF_H_ #include "board.h" /** @defgroup BUILD_CONFIGURATION Build Configuration * @brief Platform build configuration * @{ */ #if IS_RELEASE_VERSION #define RELEASE_VERSION #endif #ifdef RELEASE_VERSION #define CHECK_STACK_OVERFLOW_ENABLE 0 #define CHECK_LOG_BUFFER_BEFORE_DLPS_ENABLE 0 #define PLATFORM_ASSERT_ENABLE 0 #define CONFIG_LOG_FUNCTION_ENABLE 0 #define RUN_APP_IN_HCIMODE_ENABLE 0 #define SUPPORT_FTL_IN_APP 0 /*disable it if need reduce code size*/ #define ENABLE_FULL_FEATURED_DIRECT_LOG 1 #else #define CHECK_STACK_OVERFLOW_ENABLE 1 #define CHECK_LOG_BUFFER_BEFORE_DLPS_ENABLE 1 #define PLATFORM_ASSERT_ENABLE 1 #define CONFIG_LOG_FUNCTION_ENABLE 1 #define RUN_APP_IN_HCIMODE_ENABLE 0 #define SUPPORT_FTL_IN_APP 0 /*disable it if need reduce code size*/ #define ENABLE_FULL_FEATURED_DIRECT_LOG 1 #endif /** End of BUILD_CONFIGURATION * @} */ #endif /* End of _PLATFORM_AUTOCONF_H_ */