串口修改好
This commit is contained in:
parent
a44625b602
commit
162803a14e
|
@ -85,7 +85,7 @@ uint16_t g_usart_rx_sta = 0;
|
|||
|
||||
uint8_t g_rx_buffer[RXBUFFERSIZE]; /* HAL库使用的串口接收缓冲 */
|
||||
|
||||
UART_HandleTypeDef g_uart1_handle; /* UART句柄 */
|
||||
UART_HandleTypeDef g_uart2_handle; /* UART句柄 */
|
||||
|
||||
|
||||
/**
|
||||
|
@ -97,17 +97,17 @@ UART_HandleTypeDef g_uart1_handle; /* UART句柄 */
|
|||
*/
|
||||
void usart_init(uint32_t baudrate)
|
||||
{
|
||||
g_uart1_handle.Instance = USART_UX; /* USART1 */
|
||||
g_uart1_handle.Init.BaudRate = baudrate; /* 波特率 */
|
||||
g_uart1_handle.Init.WordLength = UART_WORDLENGTH_8B; /* 字长为8位数据格式 */
|
||||
g_uart1_handle.Init.StopBits = UART_STOPBITS_1; /* 一个停止位 */
|
||||
g_uart1_handle.Init.Parity = UART_PARITY_NONE; /* 无奇偶校验位 */
|
||||
g_uart1_handle.Init.HwFlowCtl = UART_HWCONTROL_NONE; /* 无硬件流控 */
|
||||
g_uart1_handle.Init.Mode = UART_MODE_TX_RX; /* 收发模式 */
|
||||
HAL_UART_Init(&g_uart1_handle); /* HAL_UART_Init()会使能UART1 */
|
||||
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_uart1_handle, (uint8_t *)g_rx_buffer, RXBUFFERSIZE);
|
||||
HAL_UART_Receive_IT(&g_uart2_handle, (uint8_t *)g_rx_buffer, RXBUFFERSIZE);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -120,26 +120,27 @@ void usart_init(uint32_t baudrate)
|
|||
void HAL_UART_MspInit(UART_HandleTypeDef *huart)
|
||||
{
|
||||
GPIO_InitTypeDef gpio_init_struct;
|
||||
if(huart->Instance == USART_UX) /* 如果是串口1,进行串口1 MSP初始化 */
|
||||
if(huart->Instance == USART_UX) /* 如果是串口2,进行串口2 MSP初始化 */
|
||||
{
|
||||
USART_UX_CLK_ENABLE(); /* USART1 时钟使能 */
|
||||
USART_UX_CLK_ENABLE(); /* USART2 时钟使能 */
|
||||
USART_TX_GPIO_CLK_ENABLE(); /* 发送引脚时钟使能 */
|
||||
USART_RX_GPIO_CLK_ENABLE(); /* 接收引脚时钟使能 */
|
||||
|
||||
gpio_init_struct.Pin = USART_TX_GPIO_PIN; /* TX引脚 */
|
||||
gpio_init_struct.Mode = GPIO_MODE_AF_PP; /* 复用推挽输出 */
|
||||
gpio_init_struct.Pull = GPIO_PULLUP; /* 上拉 */
|
||||
gpio_init_struct.Speed = GPIO_SPEED_FREQ_HIGH; /* 高速 */
|
||||
gpio_init_struct.Alternate = USART_TX_GPIO_AF; /* 复用为USART1 */
|
||||
// gpio_init_struct.Alternate = USART_TX_GPIO_AF; /* 复用为USART2 */
|
||||
HAL_GPIO_Init(USART_TX_GPIO_PORT, &gpio_init_struct); /* 初始化发送引脚 */
|
||||
|
||||
gpio_init_struct.Pin = USART_RX_GPIO_PIN; /* RX引脚 */
|
||||
gpio_init_struct.Alternate = USART_RX_GPIO_AF; /* 复用为USART1 */
|
||||
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_EnableIRQ(USART_UX_IRQn); /* 使能USART1中断通道 */
|
||||
HAL_NVIC_SetPriority(USART_UX_IRQn, 3, 3); /* 抢占优先级3,子优先级3 */
|
||||
HAL_NVIC_EnableIRQ(USART_UX_IRQn); /* 使能USART2中断通道 */
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
@ -151,7 +152,7 @@ void HAL_UART_MspInit(UART_HandleTypeDef *huart)
|
|||
*/
|
||||
void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart)
|
||||
{
|
||||
if(huart->Instance == USART_UX) /* 如果是串口1 */
|
||||
if(huart->Instance == USART_UX) /* 如果是串口2 */
|
||||
{
|
||||
if((g_usart_rx_sta & 0x8000) == 0) /* 接收未完成 */
|
||||
{
|
||||
|
@ -187,7 +188,7 @@ void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart)
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief 串口1中断服务函数
|
||||
* @brief 串口2中断服务函数
|
||||
* @param 无
|
||||
* @retval 无
|
||||
*/
|
||||
|
@ -200,10 +201,10 @@ void USART_UX_IRQHandler(void)
|
|||
OSIntEnter();
|
||||
#endif
|
||||
|
||||
HAL_UART_IRQHandler(&g_uart1_handle); /* 调用HAL库中断处理公用函数 */
|
||||
HAL_UART_IRQHandler(&g_uart2_handle); /* 调用HAL库中断处理公用函数 */
|
||||
|
||||
timeout = 0;
|
||||
while (HAL_UART_GetState(&g_uart1_handle) != HAL_UART_STATE_READY) /* 等待就绪 */
|
||||
while (HAL_UART_GetState(&g_uart2_handle) != HAL_UART_STATE_READY) /* 等待就绪 */
|
||||
{
|
||||
timeout++; /* 超时处理 */
|
||||
if(timeout > maxDelay)
|
||||
|
@ -215,7 +216,7 @@ void USART_UX_IRQHandler(void)
|
|||
timeout=0;
|
||||
|
||||
/* 一次处理完成之后,重新开启中断并设置RxXferCount为1 */
|
||||
while (HAL_UART_Receive_IT(&g_uart1_handle, (uint8_t *)g_rx_buffer, RXBUFFERSIZE) != HAL_OK)
|
||||
while (HAL_UART_Receive_IT(&g_uart2_handle, (uint8_t *)g_rx_buffer, RXBUFFERSIZE) != HAL_OK)
|
||||
{
|
||||
timeout++; /* 超时处理 */
|
||||
if (timeout > maxDelay)
|
||||
|
|
|
@ -30,25 +30,25 @@
|
|||
|
||||
|
||||
/*******************************************************************************************************/
|
||||
/* 引脚 和 串口 定义
|
||||
/* 引脚 和 串口 定义 A2TX ,A3RX
|
||||
* 默认是针对USART1的.
|
||||
* 注意: 通过修改这12个宏定义,可以支持USART1~UART7任意一个串口.
|
||||
*/
|
||||
|
||||
#define USART_TX_GPIO_PORT GPIOB
|
||||
#define USART_TX_GPIO_PIN GPIO_PIN_6
|
||||
#define USART_TX_GPIO_PORT GPIOA
|
||||
#define USART_TX_GPIO_PIN GPIO_PIN_2
|
||||
#define USART_TX_GPIO_AF GPIO_AF7_USART1
|
||||
#define USART_TX_GPIO_CLK_ENABLE() do{ __HAL_RCC_GPIOB_CLK_ENABLE(); }while(0) /* 发送引脚时钟使能 */
|
||||
#define USART_TX_GPIO_CLK_ENABLE() do{ __HAL_RCC_GPIOA_CLK_ENABLE(); }while(0) /* 发送引脚时钟使能 */
|
||||
|
||||
#define USART_RX_GPIO_PORT GPIOB
|
||||
#define USART_RX_GPIO_PIN GPIO_PIN_7
|
||||
#define USART_RX_GPIO_PORT GPIOA
|
||||
#define USART_RX_GPIO_PIN GPIO_PIN_3
|
||||
#define USART_RX_GPIO_AF GPIO_AF7_USART1
|
||||
#define USART_RX_GPIO_CLK_ENABLE() do{ __HAL_RCC_GPIOB_CLK_ENABLE(); }while(0) /* 接收引脚时钟使能 */
|
||||
#define USART_RX_GPIO_CLK_ENABLE() do{ __HAL_RCC_GPIOA_CLK_ENABLE(); }while(0) /* 接收引脚时钟使能 */
|
||||
|
||||
#define USART_UX USART1
|
||||
#define USART_UX_IRQn USART1_IRQn
|
||||
#define USART_UX_IRQHandler USART1_IRQHandler
|
||||
#define USART_UX_CLK_ENABLE() do{ __HAL_RCC_USART1_CLK_ENABLE(); }while(0) /* USART1 时钟使能 */
|
||||
#define USART_UX USART2
|
||||
#define USART_UX_IRQn USART2_IRQn
|
||||
#define USART_UX_IRQHandler USART2_IRQHandler
|
||||
#define USART_UX_CLK_ENABLE() do{ __HAL_RCC_USART2_CLK_ENABLE(); }while(0) /* USART2 时钟使能 */
|
||||
|
||||
/*******************************************************************************************************/
|
||||
|
||||
|
@ -56,7 +56,7 @@
|
|||
#define USART_EN_RX 1 /* 使能(1)/禁止(0)串口1接收 */
|
||||
#define RXBUFFERSIZE 1 /* 缓存大小 */
|
||||
|
||||
extern UART_HandleTypeDef g_uart1_handle; /* UART句柄 */
|
||||
extern UART_HandleTypeDef g_uart2_handle; /* UART句柄 */
|
||||
|
||||
extern uint8_t g_usart_rx_buf[USART_REC_LEN]; /* 接收缓冲,最大USART_REC_LEN个字节.末字节为换行符 */
|
||||
extern uint16_t g_usart_rx_sta; /* 接收状态标记 */
|
||||
|
|
|
@ -31,7 +31,7 @@ OS_TCB StartTask1_TCB; /* 任务控制块 */
|
|||
|
||||
void poll_start_task1_init(void)
|
||||
{
|
||||
HAL_Init(); /* 初始化HAL库 */
|
||||
HAL_Init(); /* 初始化HAL库 */
|
||||
sys_stm32_clock_init(336, 8, 2, 7); /* 设置时钟,168Mhz */
|
||||
delay_init(168); /* 延时初始化 */
|
||||
usart_init(115200); /* 串口初始化为115200 */
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
@ -30,6 +30,7 @@ Build target 'stm32f407'
|
|||
compiling app_demo.c...
|
||||
"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
|
||||
compiling drv_usart.c...
|
||||
compiling main.c...
|
||||
..\..\main\main.c(43): warning: #223-D: function "task1" declared implicitly
|
||||
task1(baseTime);
|
||||
|
@ -37,7 +38,7 @@ compiling main.c...
|
|||
task2(baseTime);
|
||||
..\..\main\main.c: 2 warnings, 0 errors
|
||||
linking...
|
||||
Program Size: Code=18998 RO-data=962 RW-data=3876 ZI-data=1119436
|
||||
Program Size: Code=18994 RO-data=962 RW-data=3876 ZI-data=1119436
|
||||
FromELF: creating hex file...
|
||||
After Build - User command #1: fromelf --m32combined --output=HF_BCU_APP.s19 .\Objects\HF_BCU_APP.axf
|
||||
".\Objects\HF_BCU_APP.axf" - 0 Error(s), 2 Warning(s).
|
||||
|
@ -54,7 +55,7 @@ Package Vendor: Keil
|
|||
D:\keil5\ARM\PACK\Keil\STM32F4xx_DFP\2.15.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include
|
||||
|
||||
<h2>Collection of Component Files used:</h2>
|
||||
Build Time Elapsed: 00:00:04
|
||||
Build Time Elapsed: 00:00:08
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -3,7 +3,7 @@
|
|||
<title>Static Call Graph - [.\Objects\HF_BCU_APP.axf]</title></head>
|
||||
<body><HR>
|
||||
<H1>Static Call Graph for image .\Objects\HF_BCU_APP.axf</H1><HR>
|
||||
<BR><P>#<CALLGRAPH># ARM Linker, 5060528: Last Updated: Mon Nov 11 11:37:40 2024
|
||||
<BR><P>#<CALLGRAPH># ARM Linker, 5060528: Last Updated: Mon Nov 11 16:40:47 2024
|
||||
<BR><P>
|
||||
<H3>Maximum Stack Usage = 400 bytes + Unknown(Functions without stacksize, Cycles, Untraceable Function Pointers)</H3><H3>
|
||||
Call chain for Maximum Stack Depth:</H3>
|
||||
|
@ -129,8 +129,8 @@ Function Pointers
|
|||
<LI><a href="#[44]">UART4_IRQHandler</a> from startup_stm32f407xx.o(.text) referenced from startup_stm32f407xx.o(RESET)
|
||||
<LI><a href="#[45]">UART5_IRQHandler</a> from startup_stm32f407xx.o(.text) referenced from startup_stm32f407xx.o(RESET)
|
||||
<LI><a href="#[63]">UART_DMAAbortOnError</a> from stm32f4xx_hal_uart.o(i.UART_DMAAbortOnError) referenced from stm32f4xx_hal_uart.o(i.HAL_UART_IRQHandler)
|
||||
<LI><a href="#[35]">USART1_IRQHandler</a> from drv_usart.o(i.USART1_IRQHandler) referenced from startup_stm32f407xx.o(RESET)
|
||||
<LI><a href="#[36]">USART2_IRQHandler</a> from startup_stm32f407xx.o(.text) referenced from startup_stm32f407xx.o(RESET)
|
||||
<LI><a href="#[35]">USART1_IRQHandler</a> from startup_stm32f407xx.o(.text) referenced from startup_stm32f407xx.o(RESET)
|
||||
<LI><a href="#[36]">USART2_IRQHandler</a> from drv_usart.o(i.USART2_IRQHandler) referenced from startup_stm32f407xx.o(RESET)
|
||||
<LI><a href="#[37]">USART3_IRQHandler</a> from startup_stm32f407xx.o(.text) referenced from startup_stm32f407xx.o(RESET)
|
||||
<LI><a href="#[57]">USART6_IRQHandler</a> from startup_stm32f407xx.o(.text) referenced from startup_stm32f407xx.o(RESET)
|
||||
<LI><a href="#[b]">UsageFault_Handler</a> from stm32f4xx_it.o(i.UsageFault_Handler) referenced from startup_stm32f407xx.o(RESET)
|
||||
|
@ -520,7 +520,7 @@ Global Symbols
|
|||
<P><STRONG><a name="[45]"></a>UART5_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f407xx.o(.text))
|
||||
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f407xx.o(RESET)
|
||||
</UL>
|
||||
<P><STRONG><a name="[36]"></a>USART2_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f407xx.o(.text))
|
||||
<P><STRONG><a name="[35]"></a>USART1_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f407xx.o(.text))
|
||||
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f407xx.o(RESET)
|
||||
</UL>
|
||||
<P><STRONG><a name="[37]"></a>USART3_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f407xx.o(.text))
|
||||
|
@ -877,7 +877,7 @@ Global Symbols
|
|||
</UL>
|
||||
|
||||
<P><STRONG><a name="[fa]"></a>HAL_UART_GetState</STRONG> (Thumb, 20 bytes, Stack size 0 bytes, stm32f4xx_hal_uart.o(i.HAL_UART_GetState))
|
||||
<BR><BR>[Called By]<UL><LI><a href="#[35]">>></a> USART1_IRQHandler
|
||||
<BR><BR>[Called By]<UL><LI><a href="#[36]">>></a> USART2_IRQHandler
|
||||
</UL>
|
||||
|
||||
<P><STRONG><a name="[92]"></a>HAL_UART_IRQHandler</STRONG> (Thumb, 586 bytes, Stack size 40 bytes, stm32f4xx_hal_uart.o(i.HAL_UART_IRQHandler))
|
||||
|
@ -892,7 +892,7 @@ Global Symbols
|
|||
<LI><a href="#[96]">>></a> HAL_UART_ErrorCallback
|
||||
<LI><a href="#[97]">>></a> HAL_UARTEx_RxEventCallback
|
||||
</UL>
|
||||
<BR>[Called By]<UL><LI><a href="#[35]">>></a> USART1_IRQHandler
|
||||
<BR>[Called By]<UL><LI><a href="#[36]">>></a> USART2_IRQHandler
|
||||
</UL>
|
||||
|
||||
<P><STRONG><a name="[9a]"></a>HAL_UART_Init</STRONG> (Thumb, 114 bytes, Stack size 8 bytes, stm32f4xx_hal_uart.o(i.HAL_UART_Init))
|
||||
|
@ -904,7 +904,7 @@ Global Symbols
|
|||
<BR>[Called By]<UL><LI><a href="#[10a]">>></a> usart_init
|
||||
</UL>
|
||||
|
||||
<P><STRONG><a name="[9b]"></a>HAL_UART_MspInit</STRONG> (Thumb, 188 bytes, Stack size 32 bytes, drv_usart.o(i.HAL_UART_MspInit))
|
||||
<P><STRONG><a name="[9b]"></a>HAL_UART_MspInit</STRONG> (Thumb, 182 bytes, Stack size 32 bytes, drv_usart.o(i.HAL_UART_MspInit))
|
||||
<BR><BR>[Stack]<UL><LI>Max Depth = 80<LI>Call Chain = HAL_UART_MspInit ⇒ HAL_NVIC_SetPriority ⇒ __NVIC_SetPriority
|
||||
</UL>
|
||||
<BR>[Calls]<UL><LI><a href="#[88]">>></a> HAL_NVIC_SetPriority
|
||||
|
@ -920,7 +920,7 @@ Global Symbols
|
|||
<BR>[Calls]<UL><LI><a href="#[a0]">>></a> UART_Start_Receive_IT
|
||||
</UL>
|
||||
<BR>[Called By]<UL><LI><a href="#[10a]">>></a> usart_init
|
||||
<LI><a href="#[35]">>></a> USART1_IRQHandler
|
||||
<LI><a href="#[36]">>></a> USART2_IRQHandler
|
||||
</UL>
|
||||
|
||||
<P><STRONG><a name="[f9]"></a>HAL_UART_RxCpltCallback</STRONG> (Thumb, 120 bytes, Stack size 0 bytes, drv_usart.o(i.HAL_UART_RxCpltCallback))
|
||||
|
@ -1584,8 +1584,8 @@ Global Symbols
|
|||
<BR>[Called By]<UL><LI><a href="#[9f]">>></a> HAL_UART_Receive_IT
|
||||
</UL>
|
||||
|
||||
<P><STRONG><a name="[35]"></a>USART1_IRQHandler</STRONG> (Thumb, 66 bytes, Stack size 16 bytes, drv_usart.o(i.USART1_IRQHandler))
|
||||
<BR><BR>[Stack]<UL><LI>Max Depth = 72<LI>Call Chain = USART1_IRQHandler ⇒ HAL_UART_IRQHandler ⇒ UART_Receive_IT
|
||||
<P><STRONG><a name="[36]"></a>USART2_IRQHandler</STRONG> (Thumb, 66 bytes, Stack size 16 bytes, drv_usart.o(i.USART2_IRQHandler))
|
||||
<BR><BR>[Stack]<UL><LI>Max Depth = 72<LI>Call Chain = USART2_IRQHandler ⇒ HAL_UART_IRQHandler ⇒ UART_Receive_IT
|
||||
</UL>
|
||||
<BR>[Calls]<UL><LI><a href="#[9f]">>></a> HAL_UART_Receive_IT
|
||||
<LI><a href="#[92]">>></a> HAL_UART_IRQHandler
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,5 +1,5 @@
|
|||
Dependencies for Project 'stm32f4xx_app', Target 'stm32f407': (DO NOT MODIFY !)
|
||||
F (..\..\main\main.c)(0x67317C01)(--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)(0x6731C308)(--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_time.h)(0x67317724)
|
||||
I (D:\keil5\ARM\ARMCC\include\time.h)(0x588B8344)
|
||||
|
@ -93,7 +93,7 @@ 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 (..\..\drv\drv_usart.h)(0x67317724)
|
||||
I (..\..\drv\drv_usart.h)(0x6731C308)
|
||||
I (D:\keil5\ARM\ARMCC\include\stdio.h)(0x588B8344)
|
||||
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)
|
||||
|
@ -235,7 +235,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_hal_pcd_ex.h)(0x67317724)
|
||||
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_hcd.h)(0x67317724)
|
||||
F (..\..\drv\drv_usart.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_usart.o --omf_browse .\objects\drv_usart.crf --depend .\objects\drv_usart.d)
|
||||
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)
|
||||
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)
|
||||
|
@ -302,7 +302,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_hal_pcd_ex.h)(0x67317724)
|
||||
I (..\..\system\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_hcd.h)(0x67317724)
|
||||
I (..\..\drv\drv_usart.h)(0x67317724)
|
||||
I (..\..\drv\drv_usart.h)(0x6731C308)
|
||||
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)
|
||||
I (D:\keil5\ARM\ARMCC\include\stddef.h)(0x588B8344)
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -163,22 +163,6 @@
|
|||
<ExecCommand></ExecCommand>
|
||||
<Expression>\\HF_BCU_APP\../../drv/drv_usart.c\196</Expression>
|
||||
</Bp>
|
||||
<Bp>
|
||||
<Number>1</Number>
|
||||
<Type>0</Type>
|
||||
<LineNumber>59</LineNumber>
|
||||
<EnabledFlag>1</EnabledFlag>
|
||||
<Address>0</Address>
|
||||
<ByteObject>0</ByteObject>
|
||||
<HtxType>0</HtxType>
|
||||
<ManyObjects>0</ManyObjects>
|
||||
<SizeOfObject>0</SizeOfObject>
|
||||
<BreakByAccess>0</BreakByAccess>
|
||||
<BreakIfRCount>0</BreakIfRCount>
|
||||
<Filename>..\..\main\main.c</Filename>
|
||||
<ExecCommand></ExecCommand>
|
||||
<Expression></Expression>
|
||||
</Bp>
|
||||
</Breakpoint>
|
||||
<Tracepoint>
|
||||
<THDelay>0</THDelay>
|
||||
|
@ -233,7 +217,7 @@
|
|||
|
||||
<Group>
|
||||
<GroupName>main</GroupName>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
|
@ -377,7 +361,7 @@
|
|||
|
||||
<Group>
|
||||
<GroupName>drv</GroupName>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
|
@ -585,7 +569,7 @@
|
|||
|
||||
<Group>
|
||||
<GroupName>hal</GroupName>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
|
@ -1117,7 +1101,7 @@
|
|||
|
||||
<Group>
|
||||
<GroupName>cos_os3</GroupName>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<cbSel>0</cbSel>
|
||||
<RteFlg>0</RteFlg>
|
||||
|
|
Loading…
Reference in New Issue