can测试代码

This commit is contained in:
jizd 2024-11-20 15:33:37 +08:00
parent 4f953834a8
commit 9df19ac084
25 changed files with 1927 additions and 6497 deletions

View File

@ -1,9 +1,10 @@
#include "drv_wdog.h" #include "bsp_can.h"
#include "bsp_delay.h"
#include "bsp_led.h"
#include "bsp_task.h" #include "bsp_task.h"
#include "kit_time.h" #include "drv_sys.h"
#include "kit_debug.h" #include "drv_usart.h"
#include "bsp_malloc.h" #include "drv_gpio.h"
#include "os.h"
CAN_HandleTypeDef g_canx_handler; /* CANx句柄 */ CAN_HandleTypeDef g_canx_handler; /* CANx句柄 */
CAN_TxHeaderTypeDef g_canx_txheader; /* 发送参数句柄 */ CAN_TxHeaderTypeDef g_canx_txheader; /* 发送参数句柄 */
@ -16,76 +17,71 @@ CAN_RxHeaderTypeDef g_canx_rxheader; /*
* @param tbs1 : 1.: 1~16; * @param tbs1 : 1.: 1~16;
* @param brp : .: 1~1024; * @param brp : .: 1~1024;
* @note 4, 1, , 0 * @note 4, 1, , 0
* CAN挂在APB1上面, Fpclk1 = PCLK1 = 36Mhz * CAN挂在APB1上面, Fpclk1 = PCLK1 = 42Mhz
* tq = brp * tpclk1; * tq = brp * tpclk1;
* = Fpclk1 / ((tbs1 + tbs2 + 1) * brp); * = Fpclk1 / ((tbs1 + tbs2 + 1) * brp);
* can_init(1, 8, 9, 4, 1), CAN波特率为: * can_init(1, 6, 7, 6, 1), CAN波特率为:
* 36M / ((8 + 9 + 1) * 4) = 500Kbps * 42M / ((6 + 7 + 1) * 6) = 500Kbps
* *
* @param mode : CAN_MODE_NORMAL, ; * @param mode : CAN_MODE_NORMAL, ;
CAN_MODE_LOOPBACK,; CAN_MODE_LOOPBACK,;
* @retval 0, ; , ; * @retval 0, ; , ;
*/ */
/* can_init(CAN_SJW_1TQ, CAN_BS2_8TQ, CAN_BS1_9TQ, 4, CAN_MODE_LOOPBACK); /* CAN初始化, 回环模式, 波特率500Kbps */
uint8_t can_init(uint32_t tsjw, uint32_t tbs2, uint32_t tbs1, uint16_t brp, uint32_t mode) uint8_t can_init(uint32_t tsjw, uint32_t tbs2, uint32_t tbs1, uint16_t brp, uint32_t mode)
{ {
g_canx_handler.Instance = CAN1; g_canx_handler.Instance = CAN1;
g_canx_handler.Init.Mode = CAN_MODE_LOOPBACK; g_canx_handler.Init.Prescaler = brp; /* 分频系数(Fdiv)为brp+1 */
g_canx_handler.Init.Mode = mode; /* 模式设置 */
g_canx_handler.Init.SyncJumpWidth = tsjw; /* 重新同步跳跃宽度(Tsjw)为tsjw+1个时间单位 CAN_SJW_1TQ~CAN_SJW_4TQ */
/*设置波特率 */ g_canx_handler.Init.TimeSeg1 = tbs1; /* tbs1范围CAN_BS1_1TQ~CAN_BS1_16TQ */
g_canx_handler.Init.Prescaler = 4; /*brp; */ /* 分频系数(Fdiv)为brp+1 */ g_canx_handler.Init.TimeSeg2 = tbs2; /* tbs2范围CAN_BS2_1TQ~CAN_BS2_8TQ */
g_canx_handler.Init.TimeSeg1 = CAN_BS1_9TQ ; /*tbs1; */ /* tbs1范围CAN_BS1_1TQ~CAN_BS1_16TQ */ g_canx_handler.Init.TimeTriggeredMode = DISABLE; /* 非时间触发通信模式 */
g_canx_handler.Init.TimeSeg2 = CAN_BS2_8TQ; /*tbs2; */ /* tbs2范围CAN_BS2_1TQ~CAN_BS2_8TQ */ g_canx_handler.Init.AutoBusOff = DISABLE; /* 软件自动离线管理 */
g_canx_handler.Init.SyncJumpWidth = CAN_SJW_1TQ ;/*tsjw; */ /* 重新同步跳跃宽度(Tsjw)为tsjw+1个时间单位 CAN_SJW_1TQ~CAN_SJW_4TQ */ g_canx_handler.Init.AutoWakeUp = DISABLE; /* 睡眠模式通过软件唤醒(清除CAN->MCR的SLEEP位) */
g_canx_handler.Init.AutoRetransmission = ENABLE; /* 禁止报文自动传送 */
/*设置CAN功能 */ g_canx_handler.Init.ReceiveFifoLocked = DISABLE; /* 报文不锁定,新的覆盖旧的 */
g_canx_handler.Init.AutoBusOff = DISABLE; /* 软件自动离线管理 */ g_canx_handler.Init.TransmitFifoPriority = DISABLE; /* 优先级由报文标识符决定 */
g_canx_handler.Init.AutoWakeUp = DISABLE; /* 睡眠模式通过软件唤醒(清除CAN->MCR的SLEEP位) */ if (HAL_CAN_Init(&g_canx_handler) != HAL_OK)
g_canx_handler.Init.AutoRetransmission = ENABLE; /* 禁止报文自动传送 */ {
g_canx_handler.Init.ReceiveFifoLocked = DISABLE; /* 报文不锁定,新的覆盖旧的 */ return 1;
g_canx_handler.Init.TimeTriggeredMode = DISABLE; /* 非时间触发通信模式 */ }
g_canx_handler.Init.TransmitFifoPriority = DISABLE; /* 优先级由报文标识符决定 */
if (HAL_CAN_Init(&g_canx_handler) != HAL_OK)
{
return 1;
}
#if CAN_RX0_INT_ENABLE #if CAN_RX0_INT_ENABLE
/* 使用中断接收 */
__HAL_CAN_ENABLE_IT(&g_canx_handler, CAN_IT_RX_FIFO0_MSG_PENDING); /* FIFO0消息挂号中断允许 */ /* 使用中断接收 */
HAL_NVIC_EnableIRQ(USB_LP_CAN1_RX0_IRQn); /* 使能CAN中断 */ __HAL_CAN_ENABLE_IT(&g_canx_handler, CAN_IT_RX_FIFO0_MSG_PENDING); /* FIFO0消息挂号中断允许 */
HAL_NVIC_SetPriority(USB_LP_CAN1_RX0_IRQn, 1, 0); /* 抢占优先级1子优先级0 */ HAL_NVIC_EnableIRQ(CAN1_RX0_IRQn); /* 使能CAN中断 */
HAL_NVIC_SetPriority(CAN1_RX0_IRQn, 1, 0); /* 抢占优先级1子优先级0 */
#endif #endif
CAN_FilterTypeDef sFilterConfig; CAN_FilterTypeDef sFilterConfig;
/*配置CAN过滤器*/ /* 配置CAN过滤器 */
sFilterConfig.FilterBank = 0; /* 过滤器0 */ sFilterConfig.FilterBank = 0; /* 过滤器0 */
sFilterConfig.FilterMode = CAN_FILTERMODE_IDMASK; /* 标识符屏蔽位模式 */ sFilterConfig.FilterMode = CAN_FILTERMODE_IDMASK;
sFilterConfig.FilterScale = CAN_FILTERSCALE_32BIT; /* 长度32位位宽*/ sFilterConfig.FilterScale = CAN_FILTERSCALE_32BIT;
sFilterConfig.FilterIdHigh = 0x0000; /* 32位ID */ sFilterConfig.FilterIdHigh = 0x0000; /* 32位ID */
sFilterConfig.FilterIdLow = 0x0000; sFilterConfig.FilterIdLow = 0x0000;
sFilterConfig.FilterMaskIdHigh = 0x0000; /* 32位MASK */ sFilterConfig.FilterMaskIdHigh = 0x0000; /* 32位MASK */
sFilterConfig.FilterMaskIdLow = 0x0000; sFilterConfig.FilterMaskIdLow = 0x0000;
sFilterConfig.FilterFIFOAssignment = CAN_FILTER_FIFO0; /* 过滤器0关联到FIFO0 */ sFilterConfig.FilterFIFOAssignment = CAN_FILTER_FIFO0; /* 过滤器0关联到FIFO0 */
sFilterConfig.FilterActivation = CAN_FILTER_ENABLE; /* 激活滤波器0 */ sFilterConfig.FilterActivation = CAN_FILTER_ENABLE; /* 激活滤波器0 */
sFilterConfig.SlaveStartFilterBank = 14; sFilterConfig.SlaveStartFilterBank = 14;
/* 过滤器配置 */ /* 过滤器配置 */
if (HAL_CAN_ConfigFilter(&g_canx_handler, &sFilterConfig) != HAL_OK) if (HAL_CAN_ConfigFilter(&g_canx_handler, &sFilterConfig) != HAL_OK)
{ {
return 2; return 2;
} }
/* 启动CAN外围设备 */ /* 启动CAN外围设备 */
if (HAL_CAN_Start(&g_canx_handler) != HAL_OK) if (HAL_CAN_Start(&g_canx_handler) != HAL_OK)
{ {
return 3; return 3;
} }
return 0;
return 0;
} }
/** /**
@ -96,24 +92,24 @@ uint8_t can_init(uint32_t tsjw, uint32_t tbs2, uint32_t tbs1, uint16_t brp, uint
*/ */
void HAL_CAN_MspInit(CAN_HandleTypeDef *hcan) void HAL_CAN_MspInit(CAN_HandleTypeDef *hcan)
{ {
if (CAN1 == hcan->Instance) if (CAN1 == hcan->Instance)
{ {
CAN_RX_GPIO_CLK_ENABLE(); /* CAN_RX脚时钟使能 */ CAN_RX_GPIO_CLK_ENABLE(); /* CAN_RX脚时钟使能 */
CAN_TX_GPIO_CLK_ENABLE(); /* CAN_TX脚时钟使能 */ CAN_TX_GPIO_CLK_ENABLE(); /* CAN_TX脚时钟使能 */
__HAL_RCC_CAN1_CLK_ENABLE(); /* 使能CAN1时钟 */ __HAL_RCC_CAN1_CLK_ENABLE(); /* 使能CAN1时钟 */
GPIO_InitTypeDef gpio_initure; GPIO_InitTypeDef gpio_init_struct;
gpio_initure.Pin = CAN_TX_GPIO_PIN; gpio_init_struct.Pin = CAN_TX_GPIO_PIN;
gpio_initure.Mode = GPIO_MODE_AF_PP; gpio_init_struct.Mode = GPIO_MODE_AF_PP;
gpio_initure.Pull = GPIO_PULLUP; gpio_init_struct.Pull = GPIO_PULLUP;
gpio_initure.Speed = GPIO_SPEED_FREQ_HIGH; gpio_init_struct.Speed = GPIO_SPEED_FREQ_HIGH;
HAL_GPIO_Init(CAN_TX_GPIO_PORT, &gpio_initure); /* CAN_TX脚 模式设置 */ gpio_init_struct.Alternate = GPIO_AF9_CAN1;
HAL_GPIO_Init(CAN_TX_GPIO_PORT, &gpio_init_struct); /* CAN_TX脚 模式设置 */
gpio_initure.Pin = CAN_RX_GPIO_PIN; gpio_init_struct.Pin = CAN_RX_GPIO_PIN;
gpio_initure.Mode = GPIO_MODE_AF_INPUT; HAL_GPIO_Init(CAN_RX_GPIO_PORT, &gpio_init_struct); /* CAN_RX脚 必须设置成输入模式 */
HAL_GPIO_Init(CAN_RX_GPIO_PORT, &gpio_initure); /* CAN_RX脚 必须设置成输入模式 */ }
}
} }
#if CAN_RX0_INT_ENABLE /* 使能RX0中断 */ #if CAN_RX0_INT_ENABLE /* 使能RX0中断 */
@ -126,23 +122,22 @@ void HAL_CAN_MspInit(CAN_HandleTypeDef *hcan)
*/ */
void USB_LP_CAN1_RX0_IRQHandler(void) void USB_LP_CAN1_RX0_IRQHandler(void)
{ {
uint8_t rxbuf[8]; uint8_t rxbuf[8];
uint32_t id; uint32_t id;
uint8_t ide, rtr, len; can_receive_msg(id, rxbuf);
printf("id:%d\r\n", g_canx_rxheader.StdId);
can_receive_msg(id, rxbuf); printf("ide:%d\r\n", g_canx_rxheader.IDE);
printf("id:%d\r\n", g_canx_rxheader.StdId); printf("rtr:%d\r\n", g_canx_rxheader.RTR);
printf("ide:%d\r\n", g_canx_rxheader.IDE); printf("len:%d\r\n", g_canx_rxheader.DLC);
printf("rtr:%d\r\n", g_canx_rxheader.RTR);
printf("len:%d\r\n", g_canx_rxheader.DLC); printf("rxbuf[0]:%d\r\n", rxbuf[0]);
printf("rxbuf[0]:%d\r\n", rxbuf[0]); printf("rxbuf[1]:%d\r\n", rxbuf[1]);
printf("rxbuf[1]:%d\r\n", rxbuf[1]); printf("rxbuf[2]:%d\r\n", rxbuf[2]);
printf("rxbuf[2]:%d\r\n", rxbuf[2]); printf("rxbuf[3]:%d\r\n", rxbuf[3]);
printf("rxbuf[3]:%d\r\n", rxbuf[3]); printf("rxbuf[4]:%d\r\n", rxbuf[4]);
printf("rxbuf[4]:%d\r\n", rxbuf[4]); printf("rxbuf[5]:%d\r\n", rxbuf[5]);
printf("rxbuf[5]:%d\r\n", rxbuf[5]); printf("rxbuf[6]:%d\r\n", rxbuf[6]);
printf("rxbuf[6]:%d\r\n", rxbuf[6]); printf("rxbuf[7]:%d\r\n", rxbuf[7]);
printf("rxbuf[7]:%d\r\n", rxbuf[7]);
} }
#endif #endif
@ -151,26 +146,38 @@ void USB_LP_CAN1_RX0_IRQHandler(void)
* @brief CAN * @brief CAN
* @note : ID, * @note : ID,
* @param id : ID(11) * @param id : ID(11)
* @param msg :
* @param len :
* @retval 0, ; 1, ; * @retval 0, ; 1, ;
*/ */
uint8_t can_send_msg(uint32_t id, uint8_t *msg, uint8_t len) uint8_t can_send_msg(uint32_t id, uint8_t *msg, uint8_t len)
{ {
uint32_t TxMailbox = CAN_TX_MAILBOX0; uint16_t t = 0;
uint32_t TxMailbox = CAN_TX_MAILBOX0;
g_canx_txheader.StdId = id; /* 标准标识符 */ g_canx_txheader.StdId = id; /* 标准标识符 */
g_canx_txheader.ExtId = id; /* 扩展标识符(29位) 标准标识符情况下,该成员无效*/ g_canx_txheader.ExtId = id; /* 扩展标识符(29位) */
g_canx_txheader.IDE = CAN_ID_STD; /* 使用标准标识符 */ g_canx_txheader.IDE = CAN_ID_STD; /* 使用标准 */
g_canx_txheader.RTR = CAN_RTR_DATA; /* 数据帧 */ g_canx_txheader.RTR = CAN_RTR_DATA; /* 数据帧 */
g_canx_txheader.DLC = len; g_canx_txheader.DLC = len;
if (HAL_CAN_AddTxMessage(&g_canx_handler, &g_canx_txheader, msg, &TxMailbox) != HAL_OK) /* 发送消息 */ if (HAL_CAN_AddTxMessage(&g_canx_handler, &g_canx_txheader, msg, &TxMailbox) != HAL_OK) /* 发送消息 */
{ {
return 1; return 1;
} }
while (HAL_CAN_GetTxMailboxesFreeLevel(&g_canx_handler) != 3); /* 等待发送完成,所有邮箱(有三个邮箱)为空 */ while (HAL_CAN_GetTxMailboxesFreeLevel(&g_canx_handler) != 3) /* 等待发送完成,所有邮箱为空 */
{
return 0; t++;
if (t > 0xFFF)
{
HAL_CAN_AbortTxRequest(&g_canx_handler, TxMailbox); /* 超时,直接中止邮箱的发送请求 */
return 1;
}
}
return 0;
} }
/** /**
@ -184,20 +191,21 @@ uint8_t can_send_msg(uint32_t id, uint8_t *msg, uint8_t len)
*/ */
uint8_t can_receive_msg(uint32_t id, uint8_t *buf) uint8_t can_receive_msg(uint32_t id, uint8_t *buf)
{ {
if (HAL_CAN_GetRxFifoFillLevel(&g_canx_handler, CAN_RX_FIFO0) == 0) /* 没有接收到数据 */ if (HAL_CAN_GetRxFifoFillLevel(&g_canx_handler, CAN_RX_FIFO0) == 0) /* 没有接收到数据 */
{ {
return 0; return 0;
} }
if (HAL_CAN_GetRxMessage(&g_canx_handler, CAN_RX_FIFO0, &g_canx_rxheader, buf) != HAL_OK) /* 读取数据 */ if (HAL_CAN_GetRxMessage(&g_canx_handler, CAN_RX_FIFO0, &g_canx_rxheader, buf) != HAL_OK) /* 读取数据 */
{ {
return 0; return 0;
} }
if (g_canx_rxheader.StdId!= id || g_canx_rxheader.IDE != CAN_ID_STD || g_canx_rxheader.RTR != CAN_RTR_DATA) /* 接收到的ID不对 / 不是标准帧 / 不是数据帧 */
{
return 0;
}
return g_canx_rxheader.DLC; if (g_canx_rxheader.StdId!= id || g_canx_rxheader.IDE != CAN_ID_STD || g_canx_rxheader.RTR != CAN_RTR_DATA) /* 接收到的ID不对 / 不是标准帧 / 不是数据帧 */
} {
return 0;
}
return g_canx_rxheader.DLC;
}

View File

@ -1,18 +1,25 @@
#ifndef __STMFLASH_H #ifndef __CAN_H
#define __STMFLASH_H #define __CAN_H
#include "bsp_can.h"
#include "bsp_delay.h"
#include "bsp_led.h"
#include "bsp_task.h"
#include "drv_sys.h" #include "drv_sys.h"
#include "drv_usart.h"
#include "drv_gpio.h"
/******************************************************************************************/ /******************************************************************************************/
/* CAN 多신 땍屢 */ /* CAN 多신 땍屢 */
#define CAN_RX_GPIO_PORT GPIOA #define CAN_RX_GPIO_PORT GPIOB
#define CAN_RX_GPIO_PIN GPIO_PIN_11 #define CAN_RX_GPIO_PIN GPIO_PIN_12
#define CAN_RX_GPIO_CLK_ENABLE() do{ __HAL_RCC_GPIOA_CLK_ENABLE(); }while(0) /* PA口时钟使能 */ #define CAN_RX_GPIO_CLK_ENABLE() do{ __HAL_RCC_GPIOB_CLK_ENABLE(); }while(0) /* PAżÚĘąÖÓĘšÄÜ */
#define CAN_TX_GPIO_PORT GPIOA #define CAN_TX_GPIO_PORT GPIOB
#define CAN_TX_GPIO_PIN GPIO_PIN_12 #define CAN_TX_GPIO_PIN GPIO_PIN_13
#define CAN_TX_GPIO_CLK_ENABLE() do{ __HAL_RCC_GPIOA_CLK_ENABLE(); }while(0) /* PA口时钟使能 */ #define CAN_TX_GPIO_CLK_ENABLE() do{ __HAL_RCC_GPIOB_CLK_ENABLE(); }while(0) /* PAżÚĘąÖÓĘšÄÜ */
/******************************************************************************************/ /******************************************************************************************/

View File

@ -19,4 +19,4 @@ typedef struct {
// 声明初始化所有配置的GPIO引脚函数 // 声明初始化所有配置的GPIO引脚函数
void InitGPIOs(void); void InitGPIOs(void);
#endif // GPIO_CONFIG_H #endif // GPIO_CONFIG_H

View File

@ -81,70 +81,136 @@ uint8_t g_usart_rx_buf[USART_REC_LEN];
* bit14 0x0d * bit14 0x0d
* bit13~0 * bit13~0
*/ */
/*********************************************************************************************************************************************/
/*********************************************************************************************************************************************/
/*********************************************************************************************************************************************/
uint16_t g_usart_rx_sta = 0; uint16_t g_usart_rx_sta = 0;
uint8_t rx_buffer[RXBUFFERSIZE]; /* HAL库使用的串口接收缓冲 */
uint8_t g_rx_buffer[RXBUFFERSIZE]; /* HAL库使用的串口接收缓冲 */ UART_HandleTypeDef g_uart1_handle; /* UART句柄 */
UART_HandleTypeDef g_uart3_handle; /* UART句柄 */
UART_HandleTypeDef g_uart4_handle; /* UART句柄 */
UART_HandleTypeDef g_uart2_handle; /* UART句柄 */ uint16_t rx_size = sizeof(rx_buffer) / sizeof(rx_buffer[0]);
UARTConfig uart_configs[] = {
/**
* @brief X初始化函数
* @param baudrate: ,
* @note : , .
* USART的时钟源在sys_stm32_clock_init().
* @retval
*/
void usart_init(uint32_t baudrate)
{
g_uart2_handle.Instance = USART_UX; /* USART2 */
g_uart2_handle.Init.BaudRate = baudrate; /* 波特率 */
g_uart2_handle.Init.WordLength = UART_WORDLENGTH_8B; /* 字长为8位数据格式 */
g_uart2_handle.Init.StopBits = UART_STOPBITS_1; /* 一个停止位 */
g_uart2_handle.Init.Parity = UART_PARITY_NONE; /* 无奇偶校验位 */
g_uart2_handle.Init.HwFlowCtl = UART_HWCONTROL_NONE; /* 无硬件流控 */
g_uart2_handle.Init.Mode = UART_MODE_TX_RX; /* 收发模式 */
HAL_UART_Init(&g_uart2_handle); /* HAL_UART_Init()会使能UART1 */
/* 该函数会开启接收中断标志位UART_IT_RXNE并且设置接收缓冲以及接收缓冲接收最大数据量 */
HAL_UART_Receive_IT(&g_uart2_handle, (uint8_t *)g_rx_buffer, RXBUFFERSIZE);
}
/**
* @brief UART底层初始化函数
* @param huart: UART句柄类型指针
* @note HAL_UART_Init()
* 使
* @retval
*/
void HAL_UART_MspInit(UART_HandleTypeDef *huart)
{
GPIO_InitTypeDef gpio_init_struct;
if(huart->Instance == USART_UX) /* 如果是串口2进行串口2 MSP初始化 */
{ {
USART_UX_CLK_ENABLE(); /* USART2 时钟使能 */ UART4, // UART实例
USART_TX_GPIO_CLK_ENABLE(); /* 发送引脚时钟使能 */ GPIOA, GPIO_PIN_0, // Tx引脚
USART_RX_GPIO_CLK_ENABLE(); /* 接收引脚时钟使能 */ GPIOA, GPIO_PIN_1, // Rx引脚
UART_WORDLENGTH_8B, // 字长
gpio_init_struct.Pin = USART_TX_GPIO_PIN; /* TX引脚 */ UART_STOPBITS_1, // 停止位
gpio_init_struct.Mode = GPIO_MODE_AF_PP; /* 复用推挽输出 */ UART_PARITY_NONE, // 校验
gpio_init_struct.Speed = GPIO_SPEED_FREQ_HIGH; /* 高速 */ UART_MODE_TX_RX, // 工作模式
// gpio_init_struct.Alternate = USART_TX_GPIO_AF; /* 复用为USART2 */ UART_HWCONTROL_NONE, // 硬件流控制
HAL_GPIO_Init(USART_TX_GPIO_PORT, &gpio_init_struct); /* 初始化发送引脚 */ UART_OVERSAMPLING_16, // 过采样
gpio_init_struct.Pin = USART_RX_GPIO_PIN; /* RX引脚 */
gpio_init_struct.Mode = GPIO_MODE_INPUT; /* 输入 */
// gpio_init_struct.Alternate = USART_RX_GPIO_AF; /* 复用为USART2 */
gpio_init_struct.Pull = GPIO_PULLUP; /* 上拉 */
HAL_GPIO_Init(USART_RX_GPIO_PORT, &gpio_init_struct); /* 初始化接收引脚 */
#if USART_EN_RX
HAL_NVIC_SetPriority(USART_UX_IRQn, 3, 3); /* 抢占优先级3子优先级3 */
HAL_NVIC_EnableIRQ(USART_UX_IRQn); /* 使能USART2中断通道 */
#endif
} }
} ,
{
USART3, // UART实例
GPIOD, GPIO_PIN_8, // Tx引脚
GPIOD, GPIO_PIN_9, // Rx引脚
UART_WORDLENGTH_8B, // 字长
UART_STOPBITS_1, // 停止位
UART_PARITY_NONE, // 校验
UART_MODE_TX_RX, // 工作模式
UART_HWCONTROL_NONE, // 硬件流控制
UART_OVERSAMPLING_16, // 过采样
}
,
{
USART1, // UART实例
GPIOA, GPIO_PIN_9, // Tx引脚
GPIOA, GPIO_PIN_10, // Rx引脚
UART_WORDLENGTH_8B, // 字长
UART_STOPBITS_1, // 停止位
UART_PARITY_NONE, // 校验
UART_MODE_TX_RX, // 工作模式
UART_HWCONTROL_NONE, // 硬件流控制
UART_OVERSAMPLING_16, // 过采样
}
};
//////////////////////////////////////////////////////////////////////////////////////////////
// 实例化一个UART_HandleTypeDef和接收缓冲区
UART_HandleTypeDef huart[sizeof(uart_configs) / sizeof(UARTConfig)];
void IRQ_Handler(void);
// 初始化所有配置的UART允许每次调用传入波特率
void InitUARTs(uint32_t baudRate) {
// GPIO初始化结构体
GPIO_InitTypeDef GPIO_InitStruct = {0};
// 启用所需的UART时钟
__HAL_RCC_USART1_CLK_ENABLE();
__HAL_RCC_USART2_CLK_ENABLE();
__HAL_RCC_USART3_CLK_ENABLE();
__HAL_RCC_UART4_CLK_ENABLE();
__HAL_RCC_GPIOA_CLK_ENABLE();
__HAL_RCC_GPIOD_CLK_ENABLE();
// 如果使用其他UART端口需要启用相应的时钟
// 遍历配置数组并初始化每个UART
for (int i = 0; i < sizeof(uart_configs) / sizeof(UARTConfig); i++) {
// 配置Tx引脚
GPIO_InitStruct.Pin = uart_configs[i].TxPin;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
GPIO_InitStruct.Alternate = GPIO_AF7_USART1;
HAL_GPIO_Init(uart_configs[i].TxPort, &GPIO_InitStruct);
// 配置Rx引脚
GPIO_InitStruct.Pin = uart_configs[i].RxPin;
GPIO_InitStruct.Alternate = GPIO_AF7_USART1;
HAL_GPIO_Init(uart_configs[i].RxPort, &GPIO_InitStruct);
// 设置UART参数
huart[i].Instance = uart_configs[i].Instance;
huart[i].Init.BaudRate = baudRate; // 使用传入的波特率
huart[i].Init.WordLength = uart_configs[i].WordLength;
huart[i].Init.StopBits = uart_configs[i].StopBits;
huart[i].Init.Parity = uart_configs[i].Parity;
huart[i].Init.Mode = uart_configs[i].Mode;
huart[i].Init.HwFlowCtl = uart_configs[i].HwFlowCtl;
huart[i].Init.OverSampling = uart_configs[i].OverSampling;
// 初始化UART
HAL_UART_Init(&huart[i]);
// 配置NVIC IRQ通道
if (uart_configs[i].Instance == USART1)
{
#if USART_EN_RX
HAL_NVIC_SetPriority(USART1_IRQn, 3, 1);
HAL_NVIC_EnableIRQ(USART1_IRQn);
#endif
}
if (uart_configs[i].Instance == USART3)
{
#if USART_EN_RX
HAL_NVIC_SetPriority(USART3_IRQn, 3, 2);
HAL_NVIC_EnableIRQ(USART3_IRQn);
#endif
}
if (uart_configs[i].Instance == UART4)
{
#if USART_EN_RX
HAL_NVIC_SetPriority(UART4_IRQn, 3, 3);
HAL_NVIC_EnableIRQ(UART4_IRQn);
#endif
}
}
// 启用接收中断
HAL_UART_Receive_IT(&g_uart1_handle, rx_buffer, rx_size);
HAL_UART_Receive_IT(&g_uart3_handle, rx_buffer, rx_size);
HAL_UART_Receive_IT(&g_uart4_handle, rx_buffer, rx_size);
}
/*********************************************************************************************************************************************/
/*********************************************************************************************************************************************/
/*********************************************************************************************************************************************/
/** /**
* @brief Rx传输回调函数 * @brief Rx传输回调函数
* @param huart: UART句柄类型指针 * @param huart: UART句柄类型指针
@ -152,13 +218,11 @@ void HAL_UART_MspInit(UART_HandleTypeDef *huart)
*/ */
void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart) void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart)
{ {
if(huart->Instance == USART_UX) /* 如果是串口2 */
{
if((g_usart_rx_sta & 0x8000) == 0) /* 接收未完成 */ if((g_usart_rx_sta & 0x8000) == 0) /* 接收未完成 */
{ {
if(g_usart_rx_sta & 0x4000) /* 接收到了0x0d */ if(g_usart_rx_sta & 0x4000) /* 接收到了0x0d */
{ {
if(g_rx_buffer[0] != 0x0a) if(rx_buffer[0] != 0x0a)
{ {
g_usart_rx_sta = 0; /* 接收错误,重新开始 */ g_usart_rx_sta = 0; /* 接收错误,重新开始 */
} }
@ -169,13 +233,13 @@ void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart)
} }
else /* 还没收到0X0D */ else /* 还没收到0X0D */
{ {
if(g_rx_buffer[0] == 0x0d) if(rx_buffer[0] == 0x0d)
{ {
g_usart_rx_sta |= 0x4000; g_usart_rx_sta |= 0x4000;
} }
else else
{ {
g_usart_rx_buf[g_usart_rx_sta & 0X3FFF] = g_rx_buffer[0] ; g_usart_rx_buf[g_usart_rx_sta & 0X3FFF] = rx_buffer[0] ;
g_usart_rx_sta++; g_usart_rx_sta++;
if(g_usart_rx_sta > (USART_REC_LEN - 1)) if(g_usart_rx_sta > (USART_REC_LEN - 1))
{ {
@ -184,9 +248,10 @@ void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart)
} }
} }
} }
}
} }
/** /**
* @brief 2 * @brief 2
* @param * @param
@ -201,10 +266,10 @@ void USART_UX_IRQHandler(void)
OSIntEnter(); OSIntEnter();
#endif #endif
HAL_UART_IRQHandler(&g_uart2_handle); /* 调用HAL库中断处理公用函数 */ HAL_UART_IRQHandler(&g_uart1_handle); /* 调用HAL库中断处理公用函数 */
timeout = 0; timeout = 0;
while (HAL_UART_GetState(&g_uart2_handle) != HAL_UART_STATE_READY) /* 等待就绪 */ while (HAL_UART_GetState(&g_uart1_handle) != HAL_UART_STATE_READY) /* 等待就绪 */
{ {
timeout++; /* 超时处理 */ timeout++; /* 超时处理 */
if(timeout > maxDelay) if(timeout > maxDelay)
@ -216,7 +281,7 @@ void USART_UX_IRQHandler(void)
timeout=0; timeout=0;
/* 一次处理完成之后重新开启中断并设置RxXferCount为1 */ /* 一次处理完成之后重新开启中断并设置RxXferCount为1 */
while (HAL_UART_Receive_IT(&g_uart2_handle, (uint8_t *)g_rx_buffer, RXBUFFERSIZE) != HAL_OK) while (HAL_UART_Receive_IT(&g_uart1_handle, (uint8_t *)rx_buffer, RXBUFFERSIZE) != HAL_OK)
{ {
timeout++; /* 超时处理 */ timeout++; /* 超时处理 */
if (timeout > maxDelay) if (timeout > maxDelay)
@ -225,6 +290,56 @@ void USART_UX_IRQHandler(void)
} }
} }
HAL_UART_IRQHandler(&g_uart3_handle); /* 调用HAL库中断处理公用函数 */
timeout = 0;
while (HAL_UART_GetState(&g_uart3_handle) != HAL_UART_STATE_READY) /* 等待就绪 */
{
timeout++; /* 超时处理 */
if(timeout > maxDelay)
{
break;
}
}
timeout=0;
/* 一次处理完成之后重新开启中断并设置RxXferCount为1 */
while (HAL_UART_Receive_IT(&g_uart3_handle, (uint8_t *)rx_buffer, RXBUFFERSIZE) != HAL_OK)
{
timeout++; /* 超时处理 */
if (timeout > maxDelay)
{
break;
}
}
HAL_UART_IRQHandler(&g_uart4_handle); /* 调用HAL库中断处理公用函数 */
timeout = 0;
while (HAL_UART_GetState(&g_uart4_handle) != HAL_UART_STATE_READY) /* 等待就绪 */
{
timeout++; /* 超时处理 */
if(timeout > maxDelay)
{
break;
}
}
timeout=0;
/* 一次处理完成之后重新开启中断并设置RxXferCount为1 */
while (HAL_UART_Receive_IT(&g_uart4_handle, (uint8_t *)rx_buffer, RXBUFFERSIZE) != HAL_OK)
{
timeout++; /* 超时处理 */
if (timeout > maxDelay)
{
break;
}
}
#if SYS_SUPPORT_OS /* 使用OS */ #if SYS_SUPPORT_OS /* 使用OS */
OSIntExit(); OSIntExit();
#endif #endif

View File

@ -27,6 +27,30 @@
#include "stdio.h" #include "stdio.h"
#include "drv_sys.h" #include "drv_sys.h"
#include "stm32f4xx_hal.h"
#define USART_EN_RX 1 /* 使能1/禁止0串口1接收 */
typedef struct {
USART_TypeDef* Instance; // UART实例
GPIO_TypeDef* TxPort; // Tx引脚的GPIO端口
uint16_t TxPin; // Tx引脚的GPIO引脚
GPIO_TypeDef* RxPort; // Rx引脚的GPIO端口
uint16_t RxPin; // Rx引脚的GPIO引脚
uint32_t WordLength; // 字长
uint32_t StopBits; // 停止位
uint32_t Parity; // 校验
uint32_t Mode; // 工作模式
uint32_t HwFlowCtl; // 硬件流控制
uint32_t OverSampling; // 过采样
} UARTConfig;
// 声明初始化所有配置的UART函数
void InitUARTs(uint32_t baudRate);
/*******************************************************************************************************/ /*******************************************************************************************************/
@ -53,14 +77,15 @@
/*******************************************************************************************************/ /*******************************************************************************************************/
#define USART_REC_LEN 200 /* 定义最大接收字节数 200 */ #define USART_REC_LEN 200 /* 定义最大接收字节数 200 */
#define USART_EN_RX 1 /* 使能1/禁止0串口1接收 */
#define RXBUFFERSIZE 1 /* 缓存大小 */ #define RXBUFFERSIZE 1 /* 缓存大小 */
extern UART_HandleTypeDef g_uart2_handle; /* UART句柄 */ extern UART_HandleTypeDef g_uart1_handle; /* UART句柄 */
extern UART_HandleTypeDef g_uart3_handle; /* UART句柄 */
extern UART_HandleTypeDef g_uart4_handle; /* UART句柄 */
extern uint8_t g_usart_rx_buf[USART_REC_LEN]; /* 接收缓冲,最大USART_REC_LEN个字节.末字节为换行符 */ extern uint8_t g_usart_rx_buf[USART_REC_LEN]; /* 接收缓冲,最大USART_REC_LEN个字节.末字节为换行符 */
extern uint16_t g_usart_rx_sta; /* 接收状态标记 */ extern uint16_t g_usart_rx_sta; /* 接收状态标记 */
extern uint8_t g_rx_buffer[RXBUFFERSIZE]; /* HAL库USART接收Buffer */ extern uint8_t rx_buffer[RXBUFFERSIZE]; /* HAL库USART接收Buffer */
void usart_init(uint32_t baudrate); /* 串口初始化函数 */ void usart_init(uint32_t baudrate); /* 串口初始化函数 */

View File

@ -23,10 +23,13 @@
/*drv*********************************************************************************************/ /*drv*********************************************************************************************/
#include "drv_sys.h" #include "drv_sys.h"
#include "drv_usart.h" #include "drv_usart.h"
#include "drv_gpio.h"
/*uC/OS-III*********************************************************************************************/ /*uC/OS-III*********************************************************************************************/
#include "os.h" #include "os.h"
uint8_t canbuf[8];
uint8_t rxlen = 0;
uint8_t res;
OS_TCB StartTask1_TCB; /* 任务控制块 */ OS_TCB StartTask1_TCB; /* 任务控制块 */
void poll_start_task1_init(void) void poll_start_task1_init(void)
@ -34,8 +37,13 @@ void poll_start_task1_init(void)
HAL_Init(); /* 初始化HAL库 */ HAL_Init(); /* 初始化HAL库 */
sys_stm32_clock_init(336, 8, 2, 7); /* 设置时钟,168Mhz */ sys_stm32_clock_init(336, 8, 2, 7); /* 设置时钟,168Mhz */
delay_init(168); /* 延时初始化 */ delay_init(168); /* 延时初始化 */
usart_init(115200); /* 串口初始化为115200 */ usart_init(115200); /* 串口初始化为115200 */
led_init(); /* 初始化LED */ led_init(); /* 初始化LED */
InitGPIOs(); /* 初始化GPIO */
// uint32_t userBaudRate = 115200; // 这里可以设置用户需要的波特率
InitUARTs(115200); // 使用用户指定的波特率初始化UART
can_init(CAN_SJW_1TQ, CAN_BS2_6TQ, CAN_BS1_7TQ, 6, CAN_MODE_LOOPBACK); /* CAN初始化, 正常模式, 波特率500Kbps */
} }
void poll_start_task1_handler(uint32_t baseTime) void poll_start_task1_handler(uint32_t baseTime)
@ -55,29 +63,30 @@ TASK_STATIC_INIT_CCM(poll_start_task2, 2, 5, 1000, 2000, NULL, poll_start_task2
int main(void) int main(void)
{ {
/* */ // for (i = 0; i < 8; i++)
/* can_init(CAN_SJW_1TQ, CAN_BS2_8TQ, CAN_BS1_9TQ, 4, CAN_MODE_LOOPBACK); /* CAN初始化, 回环模式, 波特率500Kbps */ // {
/* */ // canbuf[i] = 1 + i; /* 填充发送缓冲区 */
/* */ // }
/* */ // res = can_send_msg(0X66, canbuf, 8); /* ID = 0X66, 发送8个字节 */
/* */ // rxlen = can_receive_msg(0X66, canbuf); /* CAN ID = 0X66, 接收数据查询 */
/* */ // delay_ms(10);
/* */
OS_ERR err;
// KIT_DEBUG_PRINTF("12323 \r\n");
/* 关闭所有中断 */
CPU_IntDis();
KIT_DEBUG_PRINTF("BMS start \r\n");
/* 初始化uC/OS-III */
OSInit(&err);
bsp_task_creat(&poll_start_task1,(uint8_t *)"poll_start_task1"); // OS_ERR err;
bsp_task_creat(&poll_start_task2,(uint8_t *)"poll_start_task2"); //// KIT_DEBUG_PRINTF("12323 \r\n");
// /* 关闭所有中断 */
// CPU_IntDis();
//
// KIT_DEBUG_PRINTF("BMS start \r\n");
/* 开始任务调度 */ // /* 初始化uC/OS-III */
OSStart(&err); // OSInit(&err);
//
// bsp_task_creat(&poll_start_task1,(uint8_t *)"poll_start_task1");
// bsp_task_creat(&poll_start_task2,(uint8_t *)"poll_start_task2");
// /* 开始任务调度 */
// OSStart(&err);
} }

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -30,33 +30,19 @@ Build target 'stm32f407'
compiling app_demo.c... compiling app_demo.c...
"no source": Error: #5: cannot open source input file "..\..\app\app_demo.c": No such file or directory "no source": Error: #5: cannot open source input file "..\..\app\app_demo.c": No such file or directory
..\..\app\app_demo.c: 0 warnings, 1 error ..\..\app\app_demo.c: 0 warnings, 1 error
compiling drv_gpio.c...
..\..\drv\drv_gpio.h(22): warning: #1-D: last line of file ends without a newline
#endif // GPIO_CONFIG_H
..\..\drv\drv_gpio.c(35): warning: #1-D: last line of file ends without a newline
}
..\..\drv\drv_gpio.c: 2 warnings, 0 errors
compiling dsp_can.c... compiling dsp_can.c...
..\..\bsp\dsp_can.c(29): warning: #9-D: nested comment is not allowed ..\..\bsp\dsp_can.c(1): error: #5: cannot open source input file "bsp_can.h": No such file or directory
/* can_init(CAN_SJW_1TQ, CAN_BS2_8TQ, CAN_BS1_9TQ, 4, CAN_MODE_LOOPBACK); /* CAN初始化, 回环模式, 波特率500Kbps */ #include "bsp_can.h"
..\..\bsp\dsp_can.c(101): warning: #223-D: function "CAN_RX_GPIO_CLK_ENABLE" declared implicitly ..\..\bsp\dsp_can.c: 0 warnings, 1 error
CAN_RX_GPIO_CLK_ENABLE(); /* CAN_RX脚时钟使能 */ compiling main.c...
..\..\bsp\dsp_can.c(102): warning: #223-D: function "CAN_TX_GPIO_CLK_ENABLE" declared implicitly ..\..\main\main.c(45): warning: #223-D: function "can_init" declared implicitly
CAN_TX_GPIO_CLK_ENABLE(); /* CAN_TX脚时钟使能 */ can_init(CAN_SJW_1TQ, CAN_BS2_6TQ, CAN_BS1_7TQ, 6, CAN_MODE_LOOPBACK); /* CANåˆ<C3A5>å§åŒ?, 正常模å¼<C3A5>, 波特çŽ?500Kbps */
..\..\bsp\dsp_can.c(107): error: #20: identifier "CAN_TX_GPIO_PIN" is undefined ..\..\main\main.c(51): warning: #223-D: function "task1" declared implicitly
gpio_initure.Pin = CAN_TX_GPIO_PIN; task1(baseTime);
..\..\bsp\dsp_can.c(111): error: #20: identifier "CAN_TX_GPIO_PORT" is undefined ..\..\main\main.c(56): warning: #223-D: function "task2" declared implicitly
HAL_GPIO_Init(CAN_TX_GPIO_PORT, &gpio_initure); /* CAN_TX脚 模式设置 */ task2(baseTime);
..\..\bsp\dsp_can.c(113): error: #20: identifier "CAN_RX_GPIO_PIN" is undefined ..\..\main\main.c: 3 warnings, 0 errors
gpio_initure.Pin = CAN_RX_GPIO_PIN; ".\Objects\HF_BCU_APP.axf" - 1 Error(s), 3 Warning(s).
..\..\bsp\dsp_can.c(114): error: #20: identifier "GPIO_MODE_AF_INPUT" is undefined
gpio_initure.Mode = GPIO_MODE_AF_INPUT;
..\..\bsp\dsp_can.c(115): error: #20: identifier "CAN_RX_GPIO_PORT" is undefined
HAL_GPIO_Init(CAN_RX_GPIO_PORT, &gpio_initure); /* CAN_RX脚 必须设置成输入模式 */
..\..\bsp\dsp_can.c(203): warning: #1-D: last line of file ends without a newline
}
..\..\bsp\dsp_can.c: 4 warnings, 5 errors
".\Objects\HF_BCU_APP.axf" - 5 Error(s), 6 Warning(s).
<h2>Software Packages used:</h2> <h2>Software Packages used:</h2>
@ -71,7 +57,7 @@ Package Vendor: Keil
<h2>Collection of Component Files used:</h2> <h2>Collection of Component Files used:</h2>
Target not created. Target not created.
Build Time Elapsed: 00:00:08 Build Time Elapsed: 00:00:04
</pre> </pre>
</body> </body>
</html> </html>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -19,6 +19,7 @@
".\objects\bsp_task.o" ".\objects\bsp_task.o"
".\objects\bsp_flash.o" ".\objects\bsp_flash.o"
".\objects\bsp_spi.o" ".\objects\bsp_spi.o"
".\objects\dsp_can.o"
".\objects\stm32f4xx_hal.o" ".\objects\stm32f4xx_hal.o"
".\objects\stm32f4xx_hal_cortex.o" ".\objects\stm32f4xx_hal_cortex.o"
".\objects\stm32f4xx_hal_gpio.o" ".\objects\stm32f4xx_hal_gpio.o"

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,97 +1 @@
.\objects\dsp_can.o: ..\..\bsp\dsp_can.c .\objects\dsp_can.o: ..\..\bsp\dsp_can.c
.\objects\dsp_can.o: ..\..\drv\drv_wdog.h
.\objects\dsp_can.o: D:\keil5\ARM\ARMCC\Bin\..\include\stdint.h
.\objects\dsp_can.o: ..\..\bsp\bsp_task.h
.\objects\dsp_can.o: ..\..\kit\kit_macro.h
.\objects\dsp_can.o: D:\keil5\ARM\ARMCC\Bin\..\include\stddef.h
.\objects\dsp_can.o: D:\keil5\ARM\ARMCC\Bin\..\include\stdbool.h
.\objects\dsp_can.o: ..\..\system\uC-OS3\uC-OS3\Source\os.h
.\objects\dsp_can.o: ..\..\system\uC-OS3\uC-OS3\Cfg\Template\os_cfg.h
.\objects\dsp_can.o: ..\..\system\uC-OS3\uC-OS3\Cfg\Template\os_cfg_app.h
.\objects\dsp_can.o: ..\..\system\uC-OS3\uC-CPU\cpu_core.h
.\objects\dsp_can.o: ..\..\system\uC-OS3\uC-CPU\ARM-Cortex-M\ARMv7-M\ARM\cpu.h
.\objects\dsp_can.o: ..\..\system\uC-OS3\uC-CPU\cpu_def.h
.\objects\dsp_can.o: ..\..\system\uC-OS3\uC-CPU\Cfg\Template\cpu_cfg.h
.\objects\dsp_can.o: ..\..\system\uC-OS3\uC-LIB\lib_def.h
.\objects\dsp_can.o: ..\..\system\uC-OS3\uC-LIB\lib_mem.h
.\objects\dsp_can.o: ..\..\system\uC-OS3\uC-CPU\cpu_core.h
.\objects\dsp_can.o: ..\..\system\uC-OS3\uC-LIB\Cfg\Template\lib_cfg.h
.\objects\dsp_can.o: ..\..\system\uC-OS3\uC-LIB\lib_str.h
.\objects\dsp_can.o: ..\..\system\uC-OS3\uC-LIB\lib_ascii.h
.\objects\dsp_can.o: ..\..\system\uC-OS3\uC-OS3\Source\os_type.h
.\objects\dsp_can.o: ..\..\system\uC-OS3\uC-OS3\Ports\ARM-Cortex-M\ARMv7-M\ARM\os_cpu.h
.\objects\dsp_can.o: ..\..\system\uC-OS3\uC-OS3\Source\os_trace.h
.\objects\dsp_can.o: ..\..\kit\kit_time.h
.\objects\dsp_can.o: D:\keil5\ARM\ARMCC\Bin\..\include\time.h
.\objects\dsp_can.o: ..\..\kit\kit_debug.h
.\objects\dsp_can.o: ..\..\system\segger\SEGGER\SEGGER_RTT.h
.\objects\dsp_can.o: ..\..\system\segger\Config\SEGGER_RTT_Conf.h
.\objects\dsp_can.o: D:\keil5\ARM\ARMCC\Bin\..\include\stdlib.h
.\objects\dsp_can.o: D:\keil5\ARM\ARMCC\Bin\..\include\stdarg.h
.\objects\dsp_can.o: ..\..\bsp\bsp_malloc.h
.\objects\dsp_can.o: ..\..\drv\drv_sys.h
.\objects\dsp_can.o: ..\..\system\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h
.\objects\dsp_can.o: ..\..\system\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h
.\objects\dsp_can.o: ..\..\system\CMSIS\Include\core_cm4.h
.\objects\dsp_can.o: ..\..\system\CMSIS\Include\cmsis_version.h
.\objects\dsp_can.o: ..\..\system\CMSIS\Include\cmsis_compiler.h
.\objects\dsp_can.o: ..\..\system\CMSIS\Include\cmsis_armcc.h
.\objects\dsp_can.o: ..\..\system\CMSIS\Include\mpu_armv7.h
.\objects\dsp_can.o: ..\..\system\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h
.\objects\dsp_can.o: ..\..\system\stm32f4xx_hal_conf.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h
.\objects\dsp_can.o: ..\..\system\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\Legacy/stm32_hal_legacy.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_adc.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc_ex.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_can.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_crc.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cryp.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dac.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dac_ex.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dcmi.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dcmi_ex.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_sram.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_fsmc.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_nor.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_nand.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pccard.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_hash.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c_ex.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2s.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2s_ex.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_iwdg.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr_ex.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rng.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rtc.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rtc_ex.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_sd.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_sdmmc.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_spi.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_usart.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_irda.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_smartcard.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_wwdg.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd_ex.h
.\objects\dsp_can.o: ..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_hcd.h
.\objects\dsp_can.o: ..\..\system\CMSIS\Include\core_cm4.h

Binary file not shown.

View File

@ -97,3 +97,4 @@
.\objects\main.o: ..\..\system\uC-OS3\uC-OS3\Source\os_trace.h .\objects\main.o: ..\..\system\uC-OS3\uC-OS3\Source\os_trace.h
.\objects\main.o: ..\..\drv\drv_usart.h .\objects\main.o: ..\..\drv\drv_usart.h
.\objects\main.o: D:\keil5\ARM\ARMCC\Bin\..\include\stdio.h .\objects\main.o: D:\keil5\ARM\ARMCC\Bin\..\include\stdio.h
.\objects\main.o: ..\..\drv\drv_gpio.h

Binary file not shown.

View File

@ -1,5 +1,5 @@
Dependencies for Project 'stm32f4xx_app', Target 'stm32f407': (DO NOT MODIFY !) Dependencies for Project 'stm32f4xx_app', Target 'stm32f407': (DO NOT MODIFY !)
F (..\..\main\main.c)(0x6733358B)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I ..\..\app -I ..\..\bsp -I ..\..\drv -I ..\..\kit -I ..\..\table -I ..\..\logic -I ..\..\system -I ..\..\system\CMSIS\Device\ST\STM32F4xx\Include -I ..\..\system\CMSIS\Include -I ..\..\system\STM32F4xx_HAL_Driver\Inc -I ..\..\system\uC-OS3\uC-CPU\Cfg\Template -I ..\..\system\uC-OS3\uC-CPU\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-CPU -I ..\..\system\uC-OS3\uC-LIB\Cfg\Template -I ..\..\system\uC-OS3\uC-LIB -I ..\..\system\uC-OS3\uC-OS3\Cfg\Template -I ..\..\system\uC-OS3\uC-OS3\Ports\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-OS3\Source -I ..\..\system\segger\SEGGER -I ..\..\system\segger\Config -I.\RTE\_stm32f407 -ID:\keil5\ARM\PACK\Keil\STM32F4xx_DFP\2.15.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include -ID:\keil5\ARM\CMSIS\Include -D__UVISION_VERSION="524" -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -DUCOS3 -DDEBUG_PRINTF_RTT -o .\objects\main.o --omf_browse .\objects\main.crf --depend .\objects\main.d) F (..\..\main\main.c)(0x673D8F87)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I ..\..\app -I ..\..\bsp -I ..\..\drv -I ..\..\kit -I ..\..\table -I ..\..\logic -I ..\..\system -I ..\..\system\CMSIS\Device\ST\STM32F4xx\Include -I ..\..\system\CMSIS\Include -I ..\..\system\STM32F4xx_HAL_Driver\Inc -I ..\..\system\uC-OS3\uC-CPU\Cfg\Template -I ..\..\system\uC-OS3\uC-CPU\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-CPU -I ..\..\system\uC-OS3\uC-LIB\Cfg\Template -I ..\..\system\uC-OS3\uC-LIB -I ..\..\system\uC-OS3\uC-OS3\Cfg\Template -I ..\..\system\uC-OS3\uC-OS3\Ports\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-OS3\Source -I ..\..\system\segger\SEGGER -I ..\..\system\segger\Config -I.\RTE\_stm32f407 -ID:\keil5\ARM\PACK\Keil\STM32F4xx_DFP\2.15.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include -ID:\keil5\ARM\CMSIS\Include -D__UVISION_VERSION="524" -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -DUCOS3 -DDEBUG_PRINTF_RTT -o .\objects\main.o --omf_browse .\objects\main.crf --depend .\objects\main.d)
I (..\..\kit\kit_debug.h)(0x67317724) I (..\..\kit\kit_debug.h)(0x67317724)
I (..\..\kit\kit_time.h)(0x67317724) I (..\..\kit\kit_time.h)(0x67317724)
I (D:\keil5\ARM\ARMCC\include\time.h)(0x588B8344) I (D:\keil5\ARM\ARMCC\include\time.h)(0x588B8344)
@ -93,8 +93,9 @@ I (..\..\system\uC-OS3\uC-LIB\lib_ascii.h)(0x67317724)
I (..\..\system\uC-OS3\uC-OS3\Source\os_type.h)(0x67317724) I (..\..\system\uC-OS3\uC-OS3\Source\os_type.h)(0x67317724)
I (..\..\system\uC-OS3\uC-OS3\Ports\ARM-Cortex-M\ARMv7-M\ARM\os_cpu.h)(0x67317724) I (..\..\system\uC-OS3\uC-OS3\Ports\ARM-Cortex-M\ARMv7-M\ARM\os_cpu.h)(0x67317724)
I (..\..\system\uC-OS3\uC-OS3\Source\os_trace.h)(0x67317724) I (..\..\system\uC-OS3\uC-OS3\Source\os_trace.h)(0x67317724)
I (..\..\drv\drv_usart.h)(0x6731C308) I (..\..\drv\drv_usart.h)(0x6737049F)
I (D:\keil5\ARM\ARMCC\include\stdio.h)(0x588B8344) I (D:\keil5\ARM\ARMCC\include\stdio.h)(0x588B8344)
I (..\..\drv\drv_gpio.h)(0x673D8C43)
F (..\..\app\app_demo.c)(0x00000000)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I ..\..\app -I ..\..\bsp -I ..\..\drv -I ..\..\kit -I ..\..\table -I ..\..\logic -I ..\..\system -I ..\..\system\CMSIS\Device\ST\STM32F4xx\Include -I ..\..\system\CMSIS\Include -I ..\..\system\STM32F4xx_HAL_Driver\Inc -I ..\..\system\uC-OS3\uC-CPU\Cfg\Template -I ..\..\system\uC-OS3\uC-CPU\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-CPU -I ..\..\system\uC-OS3\uC-LIB\Cfg\Template -I ..\..\system\uC-OS3\uC-LIB -I ..\..\system\uC-OS3\uC-OS3\Cfg\Template -I ..\..\system\uC-OS3\uC-OS3\Ports\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-OS3\Source -I ..\..\system\segger\SEGGER -I ..\..\system\segger\Config -I.\RTE\_stm32f407 -ID:\keil5\ARM\PACK\Keil\STM32F4xx_DFP\2.15.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include -ID:\keil5\ARM\CMSIS\Include -D__UVISION_VERSION="524" -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -DUCOS3 -DDEBUG_PRINTF_RTT -o .\objects\app_demo.o --omf_browse .\objects\app_demo.crf --depend .\objects\app_demo.d) F (..\..\app\app_demo.c)(0x00000000)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I ..\..\app -I ..\..\bsp -I ..\..\drv -I ..\..\kit -I ..\..\table -I ..\..\logic -I ..\..\system -I ..\..\system\CMSIS\Device\ST\STM32F4xx\Include -I ..\..\system\CMSIS\Include -I ..\..\system\STM32F4xx_HAL_Driver\Inc -I ..\..\system\uC-OS3\uC-CPU\Cfg\Template -I ..\..\system\uC-OS3\uC-CPU\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-CPU -I ..\..\system\uC-OS3\uC-LIB\Cfg\Template -I ..\..\system\uC-OS3\uC-LIB -I ..\..\system\uC-OS3\uC-OS3\Cfg\Template -I ..\..\system\uC-OS3\uC-OS3\Ports\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-OS3\Source -I ..\..\system\segger\SEGGER -I ..\..\system\segger\Config -I.\RTE\_stm32f407 -ID:\keil5\ARM\PACK\Keil\STM32F4xx_DFP\2.15.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include -ID:\keil5\ARM\CMSIS\Include -D__UVISION_VERSION="524" -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -DUCOS3 -DDEBUG_PRINTF_RTT -o .\objects\app_demo.o --omf_browse .\objects\app_demo.crf --depend .\objects\app_demo.d)
F (..\..\kit\kit_data.c)(0x67317724)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I ..\..\app -I ..\..\bsp -I ..\..\drv -I ..\..\kit -I ..\..\table -I ..\..\logic -I ..\..\system -I ..\..\system\CMSIS\Device\ST\STM32F4xx\Include -I ..\..\system\CMSIS\Include -I ..\..\system\STM32F4xx_HAL_Driver\Inc -I ..\..\system\uC-OS3\uC-CPU\Cfg\Template -I ..\..\system\uC-OS3\uC-CPU\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-CPU -I ..\..\system\uC-OS3\uC-LIB\Cfg\Template -I ..\..\system\uC-OS3\uC-LIB -I ..\..\system\uC-OS3\uC-OS3\Cfg\Template -I ..\..\system\uC-OS3\uC-OS3\Ports\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-OS3\Source -I ..\..\system\segger\SEGGER -I ..\..\system\segger\Config -I.\RTE\_stm32f407 -ID:\keil5\ARM\PACK\Keil\STM32F4xx_DFP\2.15.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include -ID:\keil5\ARM\CMSIS\Include -D__UVISION_VERSION="524" -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -DUCOS3 -DDEBUG_PRINTF_RTT -o .\objects\kit_data.o --omf_browse .\objects\kit_data.crf --depend .\objects\kit_data.d) F (..\..\kit\kit_data.c)(0x67317724)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I ..\..\app -I ..\..\bsp -I ..\..\drv -I ..\..\kit -I ..\..\table -I ..\..\logic -I ..\..\system -I ..\..\system\CMSIS\Device\ST\STM32F4xx\Include -I ..\..\system\CMSIS\Include -I ..\..\system\STM32F4xx_HAL_Driver\Inc -I ..\..\system\uC-OS3\uC-CPU\Cfg\Template -I ..\..\system\uC-OS3\uC-CPU\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-CPU -I ..\..\system\uC-OS3\uC-LIB\Cfg\Template -I ..\..\system\uC-OS3\uC-LIB -I ..\..\system\uC-OS3\uC-OS3\Cfg\Template -I ..\..\system\uC-OS3\uC-OS3\Ports\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-OS3\Source -I ..\..\system\segger\SEGGER -I ..\..\system\segger\Config -I.\RTE\_stm32f407 -ID:\keil5\ARM\PACK\Keil\STM32F4xx_DFP\2.15.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include -ID:\keil5\ARM\CMSIS\Include -D__UVISION_VERSION="524" -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -DUCOS3 -DDEBUG_PRINTF_RTT -o .\objects\kit_data.o --omf_browse .\objects\kit_data.crf --depend .\objects\kit_data.d)
I (..\..\kit\kit_data.h)(0x67317724) I (..\..\kit\kit_data.h)(0x67317724)
@ -235,7 +236,7 @@ I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h)(0x67317724) I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd_ex.h)(0x67317724) I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd_ex.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_hcd.h)(0x67317724) I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_hcd.h)(0x67317724)
F (..\..\drv\drv_usart.c)(0x6731C2F0)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I ..\..\app -I ..\..\bsp -I ..\..\drv -I ..\..\kit -I ..\..\table -I ..\..\logic -I ..\..\system -I ..\..\system\CMSIS\Device\ST\STM32F4xx\Include -I ..\..\system\CMSIS\Include -I ..\..\system\STM32F4xx_HAL_Driver\Inc -I ..\..\system\uC-OS3\uC-CPU\Cfg\Template -I ..\..\system\uC-OS3\uC-CPU\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-CPU -I ..\..\system\uC-OS3\uC-LIB\Cfg\Template -I ..\..\system\uC-OS3\uC-LIB -I ..\..\system\uC-OS3\uC-OS3\Cfg\Template -I ..\..\system\uC-OS3\uC-OS3\Ports\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-OS3\Source -I ..\..\system\segger\SEGGER -I ..\..\system\segger\Config -I.\RTE\_stm32f407 -ID:\keil5\ARM\PACK\Keil\STM32F4xx_DFP\2.15.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include -ID:\keil5\ARM\CMSIS\Include -D__UVISION_VERSION="524" -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -DUCOS3 -DDEBUG_PRINTF_RTT -o .\objects\drv_usart.o --omf_browse .\objects\drv_usart.crf --depend .\objects\drv_usart.d) F (..\..\drv\drv_usart.c)(0x6737051A)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I ..\..\app -I ..\..\bsp -I ..\..\drv -I ..\..\kit -I ..\..\table -I ..\..\logic -I ..\..\system -I ..\..\system\CMSIS\Device\ST\STM32F4xx\Include -I ..\..\system\CMSIS\Include -I ..\..\system\STM32F4xx_HAL_Driver\Inc -I ..\..\system\uC-OS3\uC-CPU\Cfg\Template -I ..\..\system\uC-OS3\uC-CPU\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-CPU -I ..\..\system\uC-OS3\uC-LIB\Cfg\Template -I ..\..\system\uC-OS3\uC-LIB -I ..\..\system\uC-OS3\uC-OS3\Cfg\Template -I ..\..\system\uC-OS3\uC-OS3\Ports\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-OS3\Source -I ..\..\system\segger\SEGGER -I ..\..\system\segger\Config -I.\RTE\_stm32f407 -ID:\keil5\ARM\PACK\Keil\STM32F4xx_DFP\2.15.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include -ID:\keil5\ARM\CMSIS\Include -D__UVISION_VERSION="524" -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -DUCOS3 -DDEBUG_PRINTF_RTT -o .\objects\drv_usart.o --omf_browse .\objects\drv_usart.crf --depend .\objects\drv_usart.d)
I (..\..\drv\drv_sys.h)(0x67317724) I (..\..\drv\drv_sys.h)(0x67317724)
I (..\..\system\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h)(0x67317724) I (..\..\system\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h)(0x67317724)
I (..\..\system\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h)(0x67317724) I (..\..\system\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h)(0x67317724)
@ -302,7 +303,7 @@ I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h)(0x67317724) I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd_ex.h)(0x67317724) I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd_ex.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_hcd.h)(0x67317724) I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_hcd.h)(0x67317724)
I (..\..\drv\drv_usart.h)(0x6731C308) I (..\..\drv\drv_usart.h)(0x6737049F)
I (D:\keil5\ARM\ARMCC\include\stdio.h)(0x588B8344) I (D:\keil5\ARM\ARMCC\include\stdio.h)(0x588B8344)
F (..\..\drv\drv_wdog.c)(0x67317724)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I ..\..\app -I ..\..\bsp -I ..\..\drv -I ..\..\kit -I ..\..\table -I ..\..\logic -I ..\..\system -I ..\..\system\CMSIS\Device\ST\STM32F4xx\Include -I ..\..\system\CMSIS\Include -I ..\..\system\STM32F4xx_HAL_Driver\Inc -I ..\..\system\uC-OS3\uC-CPU\Cfg\Template -I ..\..\system\uC-OS3\uC-CPU\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-CPU -I ..\..\system\uC-OS3\uC-LIB\Cfg\Template -I ..\..\system\uC-OS3\uC-LIB -I ..\..\system\uC-OS3\uC-OS3\Cfg\Template -I ..\..\system\uC-OS3\uC-OS3\Ports\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-OS3\Source -I ..\..\system\segger\SEGGER -I ..\..\system\segger\Config -I.\RTE\_stm32f407 -ID:\keil5\ARM\PACK\Keil\STM32F4xx_DFP\2.15.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include -ID:\keil5\ARM\CMSIS\Include -D__UVISION_VERSION="524" -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -DUCOS3 -DDEBUG_PRINTF_RTT -o .\objects\drv_wdog.o --omf_browse .\objects\drv_wdog.crf --depend .\objects\drv_wdog.d) F (..\..\drv\drv_wdog.c)(0x67317724)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I ..\..\app -I ..\..\bsp -I ..\..\drv -I ..\..\kit -I ..\..\table -I ..\..\logic -I ..\..\system -I ..\..\system\CMSIS\Device\ST\STM32F4xx\Include -I ..\..\system\CMSIS\Include -I ..\..\system\STM32F4xx_HAL_Driver\Inc -I ..\..\system\uC-OS3\uC-CPU\Cfg\Template -I ..\..\system\uC-OS3\uC-CPU\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-CPU -I ..\..\system\uC-OS3\uC-LIB\Cfg\Template -I ..\..\system\uC-OS3\uC-LIB -I ..\..\system\uC-OS3\uC-OS3\Cfg\Template -I ..\..\system\uC-OS3\uC-OS3\Ports\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-OS3\Source -I ..\..\system\segger\SEGGER -I ..\..\system\segger\Config -I.\RTE\_stm32f407 -ID:\keil5\ARM\PACK\Keil\STM32F4xx_DFP\2.15.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include -ID:\keil5\ARM\CMSIS\Include -D__UVISION_VERSION="524" -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -DUCOS3 -DDEBUG_PRINTF_RTT -o .\objects\drv_wdog.o --omf_browse .\objects\drv_wdog.crf --depend .\objects\drv_wdog.d)
I (D:\keil5\ARM\ARMCC\include\stddef.h)(0x588B8344) I (D:\keil5\ARM\ARMCC\include\stddef.h)(0x588B8344)
@ -382,7 +383,7 @@ I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd_ex.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_hcd.h)(0x67317724) I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_hcd.h)(0x67317724)
I (..\..\bsp\bsp_malloc.h)(0x67317724) I (..\..\bsp\bsp_malloc.h)(0x67317724)
I (..\..\drv\drv_sys.h)(0x67317724) I (..\..\drv\drv_sys.h)(0x67317724)
F (..\..\drv\drv_gpio.c)(0x67345DAD)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I ..\..\app -I ..\..\bsp -I ..\..\drv -I ..\..\kit -I ..\..\table -I ..\..\logic -I ..\..\system -I ..\..\system\CMSIS\Device\ST\STM32F4xx\Include -I ..\..\system\CMSIS\Include -I ..\..\system\STM32F4xx_HAL_Driver\Inc -I ..\..\system\uC-OS3\uC-CPU\Cfg\Template -I ..\..\system\uC-OS3\uC-CPU\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-CPU -I ..\..\system\uC-OS3\uC-LIB\Cfg\Template -I ..\..\system\uC-OS3\uC-LIB -I ..\..\system\uC-OS3\uC-OS3\Cfg\Template -I ..\..\system\uC-OS3\uC-OS3\Ports\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-OS3\Source -I ..\..\system\segger\SEGGER -I ..\..\system\segger\Config -I.\RTE\_stm32f407 -ID:\keil5\ARM\PACK\Keil\STM32F4xx_DFP\2.15.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include -ID:\keil5\ARM\CMSIS\Include -D__UVISION_VERSION="524" -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -DUCOS3 -DDEBUG_PRINTF_RTT -o .\objects\drv_gpio.o --omf_browse .\objects\drv_gpio.crf --depend .\objects\drv_gpio.d) F (..\..\drv\drv_gpio.c)(0x67347ADB)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I ..\..\app -I ..\..\bsp -I ..\..\drv -I ..\..\kit -I ..\..\table -I ..\..\logic -I ..\..\system -I ..\..\system\CMSIS\Device\ST\STM32F4xx\Include -I ..\..\system\CMSIS\Include -I ..\..\system\STM32F4xx_HAL_Driver\Inc -I ..\..\system\uC-OS3\uC-CPU\Cfg\Template -I ..\..\system\uC-OS3\uC-CPU\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-CPU -I ..\..\system\uC-OS3\uC-LIB\Cfg\Template -I ..\..\system\uC-OS3\uC-LIB -I ..\..\system\uC-OS3\uC-OS3\Cfg\Template -I ..\..\system\uC-OS3\uC-OS3\Ports\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-OS3\Source -I ..\..\system\segger\SEGGER -I ..\..\system\segger\Config -I.\RTE\_stm32f407 -ID:\keil5\ARM\PACK\Keil\STM32F4xx_DFP\2.15.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include -ID:\keil5\ARM\CMSIS\Include -D__UVISION_VERSION="524" -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -DUCOS3 -DDEBUG_PRINTF_RTT -o .\objects\drv_gpio.o --omf_browse .\objects\drv_gpio.crf --depend .\objects\drv_gpio.d)
I (..\..\drv\drv_sys.h)(0x67317724) I (..\..\drv\drv_sys.h)(0x67317724)
I (..\..\system\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h)(0x67317724) I (..\..\system\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h)(0x67317724)
I (..\..\system\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h)(0x67317724) I (..\..\system\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h)(0x67317724)
@ -449,9 +450,9 @@ I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h)(0x67317724) I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd_ex.h)(0x67317724) I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd_ex.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_hcd.h)(0x67317724) I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_hcd.h)(0x67317724)
I (..\..\drv\drv_gpio.h)(0x67345DAD) I (..\..\drv\drv_gpio.h)(0x673D8C43)
I (D:\keil5\ARM\ARMCC\include\stdio.h)(0x588B8344) I (D:\keil5\ARM\ARMCC\include\stdio.h)(0x588B8344)
F (..\..\drv\drv_gpio.h)(0x67345DAD)() F (..\..\drv\drv_gpio.h)(0x673D8C43)()
F (..\..\bsp\bsp_delay.c)(0x67317724)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I ..\..\app -I ..\..\bsp -I ..\..\drv -I ..\..\kit -I ..\..\table -I ..\..\logic -I ..\..\system -I ..\..\system\CMSIS\Device\ST\STM32F4xx\Include -I ..\..\system\CMSIS\Include -I ..\..\system\STM32F4xx_HAL_Driver\Inc -I ..\..\system\uC-OS3\uC-CPU\Cfg\Template -I ..\..\system\uC-OS3\uC-CPU\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-CPU -I ..\..\system\uC-OS3\uC-LIB\Cfg\Template -I ..\..\system\uC-OS3\uC-LIB -I ..\..\system\uC-OS3\uC-OS3\Cfg\Template -I ..\..\system\uC-OS3\uC-OS3\Ports\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-OS3\Source -I ..\..\system\segger\SEGGER -I ..\..\system\segger\Config -I.\RTE\_stm32f407 -ID:\keil5\ARM\PACK\Keil\STM32F4xx_DFP\2.15.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include -ID:\keil5\ARM\CMSIS\Include -D__UVISION_VERSION="524" -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -DUCOS3 -DDEBUG_PRINTF_RTT -o .\objects\bsp_delay.o --omf_browse .\objects\bsp_delay.crf --depend .\objects\bsp_delay.d) F (..\..\bsp\bsp_delay.c)(0x67317724)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I ..\..\app -I ..\..\bsp -I ..\..\drv -I ..\..\kit -I ..\..\table -I ..\..\logic -I ..\..\system -I ..\..\system\CMSIS\Device\ST\STM32F4xx\Include -I ..\..\system\CMSIS\Include -I ..\..\system\STM32F4xx_HAL_Driver\Inc -I ..\..\system\uC-OS3\uC-CPU\Cfg\Template -I ..\..\system\uC-OS3\uC-CPU\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-CPU -I ..\..\system\uC-OS3\uC-LIB\Cfg\Template -I ..\..\system\uC-OS3\uC-LIB -I ..\..\system\uC-OS3\uC-OS3\Cfg\Template -I ..\..\system\uC-OS3\uC-OS3\Ports\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-OS3\Source -I ..\..\system\segger\SEGGER -I ..\..\system\segger\Config -I.\RTE\_stm32f407 -ID:\keil5\ARM\PACK\Keil\STM32F4xx_DFP\2.15.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include -ID:\keil5\ARM\CMSIS\Include -D__UVISION_VERSION="524" -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -DUCOS3 -DDEBUG_PRINTF_RTT -o .\objects\bsp_delay.o --omf_browse .\objects\bsp_delay.crf --depend .\objects\bsp_delay.d)
I (..\..\drv\drv_sys.h)(0x67317724) I (..\..\drv\drv_sys.h)(0x67317724)
I (..\..\system\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h)(0x67317724) I (..\..\system\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h)(0x67317724)
@ -927,101 +928,8 @@ I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd_ex.h)(0x67317724) I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd_ex.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_hcd.h)(0x67317724) I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_hcd.h)(0x67317724)
F (..\..\bsp\bsp_spi.h)(0x67317B34)() F (..\..\bsp\bsp_spi.h)(0x67317B34)()
F (..\..\bsp\dsp_can.c)(0x673441A2)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I ..\..\app -I ..\..\bsp -I ..\..\drv -I ..\..\kit -I ..\..\table -I ..\..\logic -I ..\..\system -I ..\..\system\CMSIS\Device\ST\STM32F4xx\Include -I ..\..\system\CMSIS\Include -I ..\..\system\STM32F4xx_HAL_Driver\Inc -I ..\..\system\uC-OS3\uC-CPU\Cfg\Template -I ..\..\system\uC-OS3\uC-CPU\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-CPU -I ..\..\system\uC-OS3\uC-LIB\Cfg\Template -I ..\..\system\uC-OS3\uC-LIB -I ..\..\system\uC-OS3\uC-OS3\Cfg\Template -I ..\..\system\uC-OS3\uC-OS3\Ports\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-OS3\Source -I ..\..\system\segger\SEGGER -I ..\..\system\segger\Config -I.\RTE\_stm32f407 -ID:\keil5\ARM\PACK\Keil\STM32F4xx_DFP\2.15.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include -ID:\keil5\ARM\CMSIS\Include -D__UVISION_VERSION="524" -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -DUCOS3 -DDEBUG_PRINTF_RTT -o .\objects\dsp_can.o --omf_browse .\objects\dsp_can.crf --depend .\objects\dsp_can.d) F (..\..\bsp\dsp_can.c)(0x673D8E5C)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I ..\..\app -I ..\..\bsp -I ..\..\drv -I ..\..\kit -I ..\..\table -I ..\..\logic -I ..\..\system -I ..\..\system\CMSIS\Device\ST\STM32F4xx\Include -I ..\..\system\CMSIS\Include -I ..\..\system\STM32F4xx_HAL_Driver\Inc -I ..\..\system\uC-OS3\uC-CPU\Cfg\Template -I ..\..\system\uC-OS3\uC-CPU\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-CPU -I ..\..\system\uC-OS3\uC-LIB\Cfg\Template -I ..\..\system\uC-OS3\uC-LIB -I ..\..\system\uC-OS3\uC-OS3\Cfg\Template -I ..\..\system\uC-OS3\uC-OS3\Ports\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-OS3\Source -I ..\..\system\segger\SEGGER -I ..\..\system\segger\Config -I.\RTE\_stm32f407 -ID:\keil5\ARM\PACK\Keil\STM32F4xx_DFP\2.15.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include -ID:\keil5\ARM\CMSIS\Include -D__UVISION_VERSION="524" -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -DUCOS3 -DDEBUG_PRINTF_RTT -o .\objects\dsp_can.o --omf_browse .\objects\dsp_can.crf --depend .\objects\dsp_can.d)
I (..\..\drv\drv_wdog.h)(0x67317724) F (..\..\bsp\dsp_can.h)(0x673D8E5C)()
I (D:\keil5\ARM\ARMCC\include\stdint.h)(0x588B8344)
I (..\..\bsp\bsp_task.h)(0x67317724)
I (..\..\kit\kit_macro.h)(0x67317724)
I (D:\keil5\ARM\ARMCC\include\stddef.h)(0x588B8344)
I (D:\keil5\ARM\ARMCC\include\stdbool.h)(0x588B8344)
I (..\..\system\uC-OS3\uC-OS3\Source\os.h)(0x67317724)
I (..\..\system\uC-OS3\uC-OS3\Cfg\Template\os_cfg.h)(0x67317724)
I (..\..\system\uC-OS3\uC-OS3\Cfg\Template\os_cfg_app.h)(0x67317724)
I (..\..\system\uC-OS3\uC-CPU\cpu_core.h)(0x67317724)
I (..\..\system\uC-OS3\uC-CPU\ARM-Cortex-M\ARMv7-M\ARM\cpu.h)(0x67317724)
I (..\..\system\uC-OS3\uC-CPU\cpu_def.h)(0x67317724)
I (..\..\system\uC-OS3\uC-CPU\Cfg\Template\cpu_cfg.h)(0x67317724)
I (..\..\system\uC-OS3\uC-LIB\lib_def.h)(0x67317724)
I (..\..\system\uC-OS3\uC-LIB\lib_mem.h)(0x67317724)
I (..\..\system\uC-OS3\uC-LIB\Cfg\Template\lib_cfg.h)(0x67317724)
I (..\..\system\uC-OS3\uC-LIB\lib_str.h)(0x67317724)
I (..\..\system\uC-OS3\uC-LIB\lib_ascii.h)(0x67317724)
I (..\..\system\uC-OS3\uC-OS3\Source\os_type.h)(0x67317724)
I (..\..\system\uC-OS3\uC-OS3\Ports\ARM-Cortex-M\ARMv7-M\ARM\os_cpu.h)(0x67317724)
I (..\..\system\uC-OS3\uC-OS3\Source\os_trace.h)(0x67317724)
I (..\..\kit\kit_time.h)(0x67317724)
I (D:\keil5\ARM\ARMCC\include\time.h)(0x588B8344)
I (..\..\kit\kit_debug.h)(0x67317724)
I (..\..\system\segger\SEGGER\SEGGER_RTT.h)(0x67317724)
I (..\..\system\segger\Config\SEGGER_RTT_Conf.h)(0x67317724)
I (D:\keil5\ARM\ARMCC\include\stdlib.h)(0x588B8344)
I (D:\keil5\ARM\ARMCC\include\stdarg.h)(0x588B8344)
I (..\..\bsp\bsp_malloc.h)(0x67317724)
I (..\..\drv\drv_sys.h)(0x67317724)
I (..\..\system\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h)(0x67317724)
I (..\..\system\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h)(0x67317724)
I (..\..\system\CMSIS\Include\core_cm4.h)(0x67317724)
I (..\..\system\CMSIS\Include\cmsis_version.h)(0x67317724)
I (..\..\system\CMSIS\Include\cmsis_compiler.h)(0x67317724)
I (..\..\system\CMSIS\Include\cmsis_armcc.h)(0x67317724)
I (..\..\system\CMSIS\Include\mpu_armv7.h)(0x67317724)
I (..\..\system\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h)(0x67317724)
I (..\..\system\stm32f4xx_hal_conf.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\Legacy/stm32_hal_legacy.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_adc.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc_ex.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_can.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_crc.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cryp.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dac.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dac_ex.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dcmi.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dcmi_ex.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_sram.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_fsmc.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_nor.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_nand.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pccard.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_hash.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2c_ex.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2s.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_i2s_ex.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_iwdg.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr_ex.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rng.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rtc.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rtc_ex.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_sd.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_sdmmc.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_spi.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_usart.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_irda.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_smartcard.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_wwdg.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usb.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pcd_ex.h)(0x67317724)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_hcd.h)(0x67317724)
F (..\..\bsp\dsp_can.h)(0x67332D47)()
F (..\..\system\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c)(0x67317724)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I ..\..\app -I ..\..\bsp -I ..\..\drv -I ..\..\kit -I ..\..\table -I ..\..\logic -I ..\..\system -I ..\..\system\CMSIS\Device\ST\STM32F4xx\Include -I ..\..\system\CMSIS\Include -I ..\..\system\STM32F4xx_HAL_Driver\Inc -I ..\..\system\uC-OS3\uC-CPU\Cfg\Template -I ..\..\system\uC-OS3\uC-CPU\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-CPU -I ..\..\system\uC-OS3\uC-LIB\Cfg\Template -I ..\..\system\uC-OS3\uC-LIB -I ..\..\system\uC-OS3\uC-OS3\Cfg\Template -I ..\..\system\uC-OS3\uC-OS3\Ports\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-OS3\Source -I ..\..\system\segger\SEGGER -I ..\..\system\segger\Config -I.\RTE\_stm32f407 -ID:\keil5\ARM\PACK\Keil\STM32F4xx_DFP\2.15.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include -ID:\keil5\ARM\CMSIS\Include -D__UVISION_VERSION="524" -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -DUCOS3 -DDEBUG_PRINTF_RTT -o .\objects\stm32f4xx_hal.o --omf_browse .\objects\stm32f4xx_hal.crf --depend .\objects\stm32f4xx_hal.d) F (..\..\system\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c)(0x67317724)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I ..\..\app -I ..\..\bsp -I ..\..\drv -I ..\..\kit -I ..\..\table -I ..\..\logic -I ..\..\system -I ..\..\system\CMSIS\Device\ST\STM32F4xx\Include -I ..\..\system\CMSIS\Include -I ..\..\system\STM32F4xx_HAL_Driver\Inc -I ..\..\system\uC-OS3\uC-CPU\Cfg\Template -I ..\..\system\uC-OS3\uC-CPU\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-CPU -I ..\..\system\uC-OS3\uC-LIB\Cfg\Template -I ..\..\system\uC-OS3\uC-LIB -I ..\..\system\uC-OS3\uC-OS3\Cfg\Template -I ..\..\system\uC-OS3\uC-OS3\Ports\ARM-Cortex-M\ARMv7-M\ARM -I ..\..\system\uC-OS3\uC-OS3\Source -I ..\..\system\segger\SEGGER -I ..\..\system\segger\Config -I.\RTE\_stm32f407 -ID:\keil5\ARM\PACK\Keil\STM32F4xx_DFP\2.15.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include -ID:\keil5\ARM\CMSIS\Include -D__UVISION_VERSION="524" -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -DUCOS3 -DDEBUG_PRINTF_RTT -o .\objects\stm32f4xx_hal.o --omf_browse .\objects\stm32f4xx_hal.crf --depend .\objects\stm32f4xx_hal.d)
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h)(0x67317724) I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h)(0x67317724)
I (..\..\system\stm32f4xx_hal_conf.h)(0x67317724) I (..\..\system\stm32f4xx_hal_conf.h)(0x67317724)

File diff suppressed because one or more lines are too long

View File

@ -143,7 +143,7 @@
<SetRegEntry> <SetRegEntry>
<Number>0</Number> <Number>0</Number>
<Key>DLGUARM</Key> <Key>DLGUARM</Key>
<Name>d</Name> <Name>/</Name>
</SetRegEntry> </SetRegEntry>
</TargetDriverDllRegistry> </TargetDriverDllRegistry>
<Breakpoint/> <Breakpoint/>
@ -576,7 +576,7 @@
<Group> <Group>
<GroupName>hal</GroupName> <GroupName>hal</GroupName>
<tvExp>1</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel> <cbSel>0</cbSel>
<RteFlg>0</RteFlg> <RteFlg>0</RteFlg>