includes.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. #ifdef ENABLE_DEBUG
  46. #include "debug.h"
  47. #endif
  48. #define PT_THREAD_STACK 1024*64
  49. #define LCD_INIT_TASK_THREAD_STACK 1024*32
  50. #define SUB_TASK_THREAD_STACK 1024*32
  51. //是否使用PWM作为TONE音,否则使用模块内置TONE音
  52. //#define ENABLE_PWM_BEEP
  53. #ifdef ENABLE_PWM_BEEP
  54. //#include "nwy_pwm.h"
  55. #endif
  56. //禁止休眠,可以轻度休眠/深度休眠
  57. //#define DISABLE_SLEEP
  58. //#define ENABLE_ANT_MODE
  59. //#define DEVELOP_MODE //研发模式:不授权,手刷不恢复默认生产PSN。 正式时不能开此宏
  60. extern LSAPI_OSI_Thread_t * mainThreadPtr;
  61. extern LSAPI_OSI_Thread_t * ToneThreadPtr;
  62. //#define USE_LEFT_MOVING //主界面/群组/成员列表 使用滚动操作显示
  63. //#define CONFIG_AUDIO_AFTER_INIT
  64. #endif