#ifndef __INCLUDES_H_ #define __INCLUDES_H_ #define OSI_LOG_TAG OSI_MAKE_LOG_TAG('H','L','O','G') #include "stdbool.h" #include "osi_log.h" #include "nwy_osi_api.h" #include "nwy_gpio_open.h" #include "nwy_pm.h" #include "nwy_file.h" #include "nwy_adc.h" #include "ohpoc.h" #include "log.h" #include "board.h" #include "app.h" #include "poc.h" #include "gui.h" #include "uio.h" #include "common.h" #include "setting.h" #include "uiEntry.h" #include "uiBlock.h" #include "hook.h" #include "ListBox.h" #include "NumEdit.h" #include "message.h" #include "ManageMessage.h" #include "gpsCtl.h" #include "setSystemPara.h" #include "newMessage.h" #include "cJSON.h" #include "learnHttp.h" #include "learnTask.h" #include "learnAudio.h" #include "appAuth.h" //mainTask线程? #define MAIN_TASK_THREAD_STACK 1024*64 //subTask线程?用于处理其它定时任务(定时? #define SUB_TASK_THREAD_STACK 1024*8 //GPIO处理线程 #define GPIO_TASK_THREAD_STACK 1024*4 //LCD初始化线?初始化时需要延时,用线程操作,可以节省启动时间 #define LCD_INIT_TASK_THREAD_STACK 1024*4 //用于调试使用 //#define DEBUG_ON //禁止休眠,可以轻度休眠/深度休眠 //#define DISABLE_SLEEP //允许深度休眠 #define ENABLE_DEEP_SLEEP //是否使用PWM作为TONE音,否则使用模块内置TONE音 #define ENABLE_PWM_BEEP #ifdef ENABLE_PWM_BEEP #include "nwy_pwm.h" #endif #define SD_TOKEN "/sdcard0" //define ENABLE_PTT_VOICE //使能留音功能 //使能通用模式(学习任务,学习排名不显示,班级,同学显示为群组,成员) //#define MAKE_IT_COMMON_VERSION //#define DEVELOP_MODE //研发模式:不授权,手刷不恢复默认生产PSN。 正式时不能开此宏 #endif