includes.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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 "bsp.h"
  19. #include "ble.h"
  20. #include "language.h"
  21. #include "xinbiao.h"
  22. #include "app.h"
  23. #include "setting.h"
  24. #include "board.h"
  25. #include "log.h"
  26. #include "gui.h"
  27. #include "poc.h"
  28. #include "uio.h"
  29. #include "uiEntry.h"
  30. #include "uiBlock.h"
  31. #include "gpsCtl.h"
  32. #include "GpsData.h"
  33. #include "message.h"
  34. #include "Palace.h"
  35. #include "uiMenu.h"
  36. #include "ListBox.h"
  37. #include "checkbox.h"
  38. #include "NumEdit.h"
  39. #include "ManageMessage.h"
  40. #include "mymd5.h"
  41. #include "hook.h"
  42. #include "appAuth.h"
  43. #include "common.h"
  44. #include "newMessage.h"
  45. #include "tupApi.h"
  46. #include "AppTcpPart.h"
  47. #ifdef ENABLE_DEBUG
  48. #include "debug.h"
  49. #endif
  50. #define PT_THREAD_STACK 1024*64
  51. #define LCD_INIT_TASK_THREAD_STACK 1024*32
  52. #define SUB_TASK_THREAD_STACK 1024*32
  53. //是否使用PWM作为TONE音,否则使用模块内置TONE音
  54. //#define ENABLE_PWM_BEEP
  55. #ifdef ENABLE_PWM_BEEP
  56. //#include "nwy_pwm.h"
  57. #endif
  58. //禁止休眠,可以轻度休眠/深度休眠
  59. //#define DISABLE_SLEEP
  60. //#define ENABLE_ANT_MODE
  61. //#define DEVELOP_MODE //研发模式:不授权,手刷不恢复默认生产PSN。 正式时不能开此宏
  62. extern LSAPI_OSI_Thread_t * mainThreadPtr;
  63. extern LSAPI_OSI_Thread_t * ToneThreadPtr;
  64. //#define USE_LEFT_MOVING //主界面/群组/成员列表 使用滚动操作显示
  65. //#define CONFIG_AUDIO_AFTER_INIT
  66. #endif