diff options
Diffstat (limited to 'inc/platform/platform_autoconf.h')
-rw-r--r-- | inc/platform/platform_autoconf.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/inc/platform/platform_autoconf.h b/inc/platform/platform_autoconf.h new file mode 100644 index 0000000..8d50f4b --- /dev/null +++ b/inc/platform/platform_autoconf.h @@ -0,0 +1,48 @@ +/** +************************************************************************************************************ +* 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_ + + +/** @defgroup BUILD_CONFIGURATION Build Configuration + * @brief Platform build configuration + * @{ + */ + +//#define RELEASE_VERSION + +#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_ */ |