fly_param.c 908 B

1234567891011121314151617181920212223
  1. #define _VAR_FUNC_IMPL
  2. #include "fly_param.h"
  3. OS_EVENT *bmu_mutex = NULL;
  4. OS_EVENT *bms_mutex = NULL;
  5. OS_EVENT *net_mutex = NULL;
  6. OS_EVENT *config_mutex = NULL;
  7. OS_EVENT *can1_sem = NULL;
  8. OS_EVENT *can2_sem = NULL;
  9. OS_EVENT *net_sem = NULL;
  10. OS_EVENT *uart1_mbox = NULL;
  11. OS_EVENT *uart3_mbox = NULL;
  12. SqQueue CanQueueCan1 __attribute__((section("EXT_SRAM")));
  13. SqQueue CanQueueCan2 __attribute__((section("EXT_SRAM")));
  14. CPU_STK uart1_task_stk[UART1_TASK_STK_SIZE] __attribute__((section("EXT_SRAM")));
  15. CPU_STK uart3_task_stk[UART3_TASK_STK_SIZE] __attribute__((section("EXT_SRAM")));
  16. CPU_STK init_task_stk[INIT_STK_SIZE];
  17. CPU_STK iec104_task_stk[IEC_TASK_STK_SIZE]; //__attribute__((section("EXT_SRAM")));
  18. CPU_STK iec_state_task_stk[IEC_STATE_TASK_STK_SIZE];
  19. CPU_STK tcp_task_stk[TCP_TASK_STK_SIZE];
  20. CPU_STK misc_task_stk[MISC_TASK_STK_SIZE]; //__attribute__((section("EXT_SRAM")));