AppTaskMain.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /****************************************************************************
  2. *
  3. * Copy right: Qx.
  4. * File name: MainTask.h
  5. * Description: APP任务调取和异常处理
  6. * History: 2021-03-05
  7. *
  8. ****************************************************************************/
  9. #include "commontypedef.h"
  10. #include "bsp.h"
  11. #include "bsp_custom.h"
  12. #include "osasys.h"
  13. #include "ostask.h"
  14. #include "queue.h"
  15. #include "ps_event_callback.h"
  16. #include "cmisim.h"
  17. #include "cmimm.h"
  18. #include "cmips.h"
  19. #include "sockets.h"
  20. #include "psifevent.h"
  21. #include "ps_lib_api.h"
  22. #include "lwip/netdb.h"
  23. #include "debug_log.h"
  24. #include "slpman_ec616.h"
  25. #include "plat_config.h"
  26. #include "ec_tcpip_api.h"
  27. #include "hal_module_adapter.h"
  28. #include "timers.h"
  29. #include "AppSignal.h"
  30. #include "AppFunc.h"
  31. #define PROC_MAIN_TASK_STACK_SIZE (1024+512)
  32. typedef enum
  33. {
  34. PROCESS_STATE_IDLE = 0,
  35. PROCESS_STATE_WORK,
  36. PROCESS_STATE_LISTEN
  37. }process_Main;
  38. void AppTaskMainInit(void* arg);
  39. void AppTaskMainDeInit(void* arg);