除了显示驱动,其余全部测试通过
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
#ifndef APP_CONFIG_H
|
||||
#define APP_CONFIG_H
|
||||
|
||||
/* WiFi配置 */
|
||||
#define CONFIG_WIFI_ENABLE
|
||||
|
||||
#ifdef CONFIG_NO_SDRAM_ENABLE
|
||||
#define CONFIG_RF_TRIM_CODE_MOVABLE
|
||||
#else
|
||||
#define CONFIG_RF_TRIM_CODE_AT_RAM
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* AC7911BB 存储容量 */
|
||||
#define __FLASH_SIZE__ (16 * 1024 * 1024)
|
||||
#define __SDRAM_SIZE__ (8 * 1024 * 1024)
|
||||
|
||||
/* 电源配置 */
|
||||
#define TCFG_LOWPOWER_BTOSC_DISABLE 0
|
||||
#define TCFG_LOWPOWER_LOWPOWER_SEL 0//(RF_SLEEP_EN|RF_FORCE_SYS_SLEEP_EN|SYS_SLEEP_EN) //该宏在睡眠低功耗才用到,此处设置为0
|
||||
#define TCFG_LOWPOWER_VDDIOM_LEVEL VDDIOM_VOL_32V //正常工作的内部vddio电压值,一般使用外部3.3V,内部设置需比外部3.3V小
|
||||
#ifdef CONFIG_RTC_ENABLE
|
||||
#define TCFG_LOWPOWER_VDDIOW_LEVEL VDDIOW_VOL_32V //弱VDDIO电压档位。RTCVDD电压低于3.2V可能不走时,因此RTCVDD由IOVDD供电时,VDDIOW应设置为VDDIOW_VOL_32V档
|
||||
#else
|
||||
#define TCFG_LOWPOWER_VDDIOW_LEVEL VDDIOW_VOL_21V //弱VDDIO电压档位
|
||||
#endif
|
||||
#define VDC14_VOL_SEL_LEVEL VDC14_VOL_SEL_140V //内部的1.4V默认1.4V
|
||||
#define SYSVDD_VOL_SEL_LEVEL SYSVDD_VOL_SEL_126V //系统内核电压,默认1.26V
|
||||
|
||||
/* C++程序识别开关 */
|
||||
#define CONFIG_CXX_SUPPORT //使能C++支持
|
||||
|
||||
/* 调试开关 */
|
||||
#define CONFIG_USER_DEBUG_ENABLE // 保留 user_printf 业务日志
|
||||
#define CONFIG_SYS_DEBUG_DISABLE // 关闭 SDK 和普通 printf 日志
|
||||
#define CONFIG_DEBUG_ENABLE // 串口打印调试:printf()、puts()、log_print()正常输出
|
||||
//#define SDTAP_DEBUG // JTAG/SWD调试
|
||||
#define CONFIG_LIB_DEBUG_DISABLE // 关闭 SDK 库 Tag 日志
|
||||
|
||||
#define CONFIG_APP_LOG_ENABLE 1 // JL-AIBT-SoundBox 业务日志总开关
|
||||
|
||||
#if !defined CONFIG_DEBUG_ENABLE || defined CONFIG_LIB_DEBUG_DISABLE
|
||||
#define LIB_DEBUG 0
|
||||
#else
|
||||
#define LIB_DEBUG 1
|
||||
#endif
|
||||
#define CONFIG_DEBUG_LIB(x) (x & LIB_DEBUG)
|
||||
#endif
|
||||
Reference in New Issue
Block a user