1234567891011121314151617181920212223242526272829303132333435 |
- #ifndef __PARAM_H
- #define __PARAM_H
- #include "includes.h"
- // #include "ext_flash.h"
- #include "queue.h"
- // #include "soc_out.h"
- // #include "bms_config.h"
- #include <string.h>
- #define CAN_MSG_LEN 8
- #define LED0_RX_PRIO 7
- #define MISC_PRIO 28
- #define NET_PRIO 30
- #define INIT_TASK_PRIO 35
- #define INIT_STK_SIZE 128
- #define MISC_TASK_STK_SIZE 512
- #define NET_TASK_STK_SIZE 512
- #define LED0_STK_SIZE 512
- #define LED1_STK_SIZE 512
- extern OS_EVENT *can1_sem;
- extern OS_EVENT *can2_sem;
- extern SqQueue CanQueueCan1;
- extern SqQueue CanQueueCan2;
- extern CPU_STK init_task_stk[INIT_STK_SIZE];
- extern CPU_STK misc_task_stk[MISC_TASK_STK_SIZE];
- extern CPU_STK net_task_stk[NET_TASK_STK_SIZE];
- extern CPU_STK LED0_TASK_STK[LED0_STK_SIZE];
- extern CPU_STK LED1_TASK_STK[LED1_STK_SIZE];
- #endif
|