includes.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. #ifndef __INCLUDES_H__
  2. #define __INCLUDES_H__
  3. #include <stdbool.h>
  4. #include <stdint.h>
  5. #include <string.h>
  6. #include <stdio.h>
  7. #include <stdlib.h>
  8. #include "lsapi_audio.h"
  9. #include "lsapi_types.h"
  10. #include "lsapi_sys.h"
  11. #include "lsapi_os.h"
  12. #include "lsapi_network.h"
  13. #include "lsapi_fs.h"
  14. #include "lsapi_device.h"
  15. #include "lsapi_sock.h"
  16. #include "lsapi_event.h"
  17. #include "ohpoc.h"
  18. #include "language.h"
  19. #include "app.h"
  20. #include "setting.h"
  21. #include "board.h"
  22. #include "log.h"
  23. #include "gui.h"
  24. #include "poc.h"
  25. #include "uio.h"
  26. #include "uiEntry.h"
  27. #include "uiBlock.h"
  28. #include "gpsCtl.h"
  29. #include "message.h"
  30. #include "Palace.h"
  31. #include "uiMenu.h"
  32. #include "ListBox.h"
  33. #include "NumEdit.h"
  34. #include "ManageMessage.h"
  35. #include "mymd5.h"
  36. #include "hook.h"
  37. #include "appAuth.h"
  38. #include "common.h"
  39. #include "dotListBox.h"
  40. #define PT_THREAD_STACK 1024*64
  41. #define LCD_INIT_TASK_THREAD_STACK 1024*32
  42. #define SUB_TASK_THREAD_STACK 1024*32
  43. //是否使用PWM作为TONE音,否则使用模块内置TONE音
  44. //#define ENABLE_PWM_BEEP
  45. #ifdef ENABLE_PWM_BEEP
  46. //#include "nwy_pwm.h"
  47. #endif
  48. //禁止休眠,可以轻度休眠/深度休眠
  49. //#define DISABLE_SLEEP
  50. //#define ENABLE_ANT_MODE
  51. #define DEVELOP_MODE //研发模式:不授权,手刷不恢复默认生产PSN。 正式时不能开此宏
  52. extern LSAPI_OSI_Thread_t * mainThreadPtr;
  53. extern LSAPI_OSI_Thread_t * ToneThreadPtr;
  54. #define USE_LEFT_MOVING //主界面/群组/成员列表 使用滚动操作显示
  55. #endif