#define _VAR_FUNC_IMPL
#include "fly_param.h"

OS_EVENT *bmu_mutex    = NULL;
OS_EVENT *bms_mutex    = NULL;
OS_EVENT *net_mutex    = NULL;
OS_EVENT *config_mutex = NULL;
OS_EVENT *can1_sem     = NULL;
OS_EVENT *can2_sem     = NULL;
OS_EVENT *net_sem      = NULL;
OS_EVENT *uart1_mbox   = NULL;
OS_EVENT *uart3_mbox   = NULL;

SqQueue CanQueueCan1;
SqQueue CanQueueCan2;

CPU_STK uart1_task_stk[UART1_TASK_STK_SIZE];
CPU_STK uart3_task_stk[UART3_TASK_STK_SIZE];
CPU_STK init_task_stk[INIT_STK_SIZE];
CPU_STK net_task_stk[NET_TASK_STK_SIZE];
CPU_STK misc_task_stk[MISC_TASK_STK_SIZE];
CPU_STK LED_TASK_STK[LED0_STK_SIZE];