串口屏备份
This commit is contained in:
parent
338765ec78
commit
5f91224ebb
|
@ -205,7 +205,18 @@ void HAL_UARTEx_RxEventCallback(UART_HandleTypeDef *huart, uint16_t Size)
|
|||
memset(usb_uart1.rx_data, 0, ARRAY_LEN(usb_uart1.rx_data));
|
||||
memcpy(usb_uart1.rx_data, usb_uart1.rx_data_temp, Size);
|
||||
HAL_UARTEx_ReceiveToIdle_DMA(&huart1, usb_uart1.rx_data_temp, ARRAY_LEN(usb_uart1.rx_data_temp));
|
||||
dma_usart_send(&huart1, usb_uart1.rx_data_temp, usb_uart1.rx_num);
|
||||
// dma_usart_send(&huart1, usb_uart1.rx_data_temp, usb_uart1.rx_num);
|
||||
dma_usart_send(&huart4, usb_uart1.rx_data_temp, usb_uart1.rx_num);
|
||||
}
|
||||
if (huart == &huart4)
|
||||
{
|
||||
__HAL_UNLOCK(huart);
|
||||
lcd_uart4.rx_num = Size;
|
||||
memset(lcd_uart4.rx_data, 0, ARRAY_LEN(lcd_uart4.rx_data));
|
||||
memcpy(lcd_uart4.rx_data, lcd_uart4.rx_data_temp, Size);
|
||||
HAL_UARTEx_ReceiveToIdle_DMA(&huart4, lcd_uart4.rx_data_temp, ARRAY_LEN(lcd_uart4.rx_data_temp));
|
||||
dma_usart_send(&huart1, lcd_uart4.rx_data_temp, lcd_uart4.rx_num);
|
||||
// dma_usart_send(&huart4, lcd_uart4.rx_data_temp, lcd_uart4.rx_num);
|
||||
}
|
||||
if (huart == &huart6)
|
||||
{
|
||||
|
|
|
@ -68,7 +68,6 @@ void MX_UART4_Init(void)
|
|||
/* USER CODE BEGIN UART4_Init 2 */
|
||||
//__HAL_UART_ENABLE_IT(&huart4, UART_IT_IDLE); // 使能IDLE中断
|
||||
/* USER CODE END UART4_Init 2 */
|
||||
|
||||
}
|
||||
/* UART5 init function */
|
||||
void MX_UART5_Init(void)
|
||||
|
@ -97,7 +96,6 @@ void MX_UART5_Init(void)
|
|||
// __HAL_UART_ENABLE_IT(&huart5, UART_IT_RXNE); // 接收中断
|
||||
// __HAL_UART_ENABLE_IT(&huart5, UART_IT_IDLE); // 空闲中断
|
||||
/* USER CODE END UART5_Init 2 */
|
||||
|
||||
}
|
||||
/* USART1 init function */
|
||||
|
||||
|
@ -126,7 +124,6 @@ void MX_USART1_UART_Init(void)
|
|||
/* USER CODE BEGIN USART1_Init 2 */
|
||||
|
||||
/* USER CODE END USART1_Init 2 */
|
||||
|
||||
}
|
||||
/* USART2 init function */
|
||||
|
||||
|
@ -156,7 +153,6 @@ void MX_USART2_UART_Init(void)
|
|||
// __HAL_UART_ENABLE_IT(&huart2, UART_IT_RXNE); // 接收中断
|
||||
// __HAL_UART_ENABLE_IT(&huart2, UART_IT_IDLE); // 使能IDLE中断
|
||||
/* USER CODE END USART2_Init 2 */
|
||||
|
||||
}
|
||||
/* USART3 init function */
|
||||
|
||||
|
@ -185,7 +181,6 @@ void MX_USART3_UART_Init(void)
|
|||
/* USER CODE BEGIN USART3_Init 2 */
|
||||
|
||||
/* USER CODE END USART3_Init 2 */
|
||||
|
||||
}
|
||||
/* USART6 init function */
|
||||
|
||||
|
@ -214,7 +209,6 @@ void MX_USART6_UART_Init(void)
|
|||
/* USER CODE BEGIN USART6_Init 2 */
|
||||
|
||||
/* USER CODE END USART6_Init 2 */
|
||||
|
||||
}
|
||||
|
||||
void HAL_UART_MspInit(UART_HandleTypeDef *uartHandle)
|
||||
|
|
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
|
@ -293,7 +293,7 @@
|
|||
<GroupNumber>2</GroupNumber>
|
||||
<FileNumber>2</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>../Core/Src/main.c</PathWithFileName>
|
||||
|
@ -317,7 +317,7 @@
|
|||
<GroupNumber>2</GroupNumber>
|
||||
<FileNumber>4</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>1</tvExp>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>../Core/Src/freertos.c</PathWithFileName>
|
||||
|
|
|
@ -0,0 +1,194 @@
|
|||
<html>
|
||||
<body>
|
||||
<pre>
|
||||
<h1>µVision Build Log</h1>
|
||||
<h2>Tool Versions:</h2>
|
||||
IDE-Version: ¦ÌVision V5.36.0.0
|
||||
Copyright (C) 2021 ARM Ltd and ARM Germany GmbH. All rights reserved.
|
||||
License Information: aaa Administrator, aaa, LIC=6XJT4-F8J98-8YUVV-P833R-DBAKX-Y8EU6
|
||||
|
||||
Tool Versions:
|
||||
Toolchain: MDK-ARM Professional Version: 5.36.0.0
|
||||
Toolchain Path: C:\Keil_v5\ARM\ARMCC\Bin
|
||||
C Compiler: Armcc.exe V5.06 update 7 (build 960)
|
||||
Assembler: Armasm.exe V5.06 update 7 (build 960)
|
||||
Linker/Locator: ArmLink.exe V5.06 update 7 (build 960)
|
||||
Library Manager: ArmAr.exe V5.06 update 7 (build 960)
|
||||
Hex Converter: FromElf.exe V5.06 update 7 (build 960)
|
||||
CPU DLL: SARMCM3.DLL V5.36.0.0
|
||||
Dialog DLL: DCM.DLL V1.17.3.0
|
||||
Target DLL: STLink\ST-LINKIII-KEIL_SWO.dll V3.0.9.0
|
||||
Dialog DLL: TCM.DLL V1.53.0.0
|
||||
|
||||
<h2>Project:</h2>
|
||||
D:\WORK\positioner_testing\Semi-finished product testing\MDK-ARM\semi-finished_product_testing.uvprojx
|
||||
Project File Date: 02/21/2025
|
||||
|
||||
<h2>Output:</h2>
|
||||
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
|
||||
Build target 'semi-finished_product_testing'
|
||||
assembling startup_stm32f407xx.s...
|
||||
compiling lan8742.c...
|
||||
compiling main.c...
|
||||
compiling tim.c...
|
||||
compiling usart.c...
|
||||
compiling stm32f4xx_hal_msp.c...
|
||||
compiling freertos.c...
|
||||
compiling lwip.c...
|
||||
compiling stm32f4xx_hal_timebase_tim.c...
|
||||
compiling stm32f4xx_hal_rcc.c...
|
||||
compiling spi.c...
|
||||
compiling dma.c...
|
||||
compiling gpio.c...
|
||||
compiling stm32f4xx_it.c...
|
||||
compiling stm32f4xx_hal_rcc_ex.c...
|
||||
compiling ethernetif.c...
|
||||
compiling stm32f4xx_hal_flash.c...
|
||||
compiling stm32f4xx_hal_flash_ramfunc.c...
|
||||
compiling stm32f4xx_hal_flash_ex.c...
|
||||
compiling stm32f4xx_hal_gpio.c...
|
||||
compiling stm32f4xx_hal_dma.c...
|
||||
compiling stm32f4xx_hal_pwr.c...
|
||||
compiling stm32f4xx_hal_dma_ex.c...
|
||||
compiling stm32f4xx_hal_cortex.c...
|
||||
compiling stm32f4xx_hal_pwr_ex.c...
|
||||
compiling stm32f4xx_hal_exti.c...
|
||||
compiling stm32f4xx_hal.c...
|
||||
compiling stm32f4xx_hal_spi.c...
|
||||
compiling croutine.c...
|
||||
compiling stm32f4xx_hal_tim_ex.c...
|
||||
compiling event_groups.c...
|
||||
compiling list.c...
|
||||
compiling stm32f4xx_hal_eth.c...
|
||||
compiling stm32f4xx_hal_uart.c...
|
||||
compiling queue.c...
|
||||
compiling stream_buffer.c...
|
||||
compiling stm32f4xx_hal_tim.c...
|
||||
compiling timers.c...
|
||||
compiling heap_4.c...
|
||||
compiling tasks.c...
|
||||
compiling system_stm32f4xx.c...
|
||||
compiling port.c...
|
||||
compiling ccp.c...
|
||||
compiling cmsis_os.c...
|
||||
compiling auth.c...
|
||||
compiling chap_ms.c...
|
||||
compiling chap-md5.c...
|
||||
compiling eui64.c...
|
||||
compiling eap.c...
|
||||
compiling ipcp.c...
|
||||
compiling demand.c...
|
||||
compiling ipv6cp.c...
|
||||
compiling chap-new.c...
|
||||
compiling fsm.c...
|
||||
compiling lcp.c...
|
||||
compiling magic.c...
|
||||
compiling mppe.c...
|
||||
compiling multilink.c...
|
||||
compiling pppapi.c...
|
||||
compiling ppp.c...
|
||||
compiling pppcrypt.c...
|
||||
compiling pppos.c...
|
||||
compiling pppol2tp.c...
|
||||
compiling pppoe.c...
|
||||
compiling upap.c...
|
||||
compiling utils.c...
|
||||
compiling vj.c...
|
||||
compiling bridgeif_fdb.c...
|
||||
compiling ethernet.c...
|
||||
compiling bridgeif.c...
|
||||
compiling lowpan6.c...
|
||||
compiling slipif.c...
|
||||
compiling lowpan6_ble.c...
|
||||
compiling lowpan6_common.c...
|
||||
compiling zepif.c...
|
||||
compiling ecp.c...
|
||||
compiling err.c...
|
||||
compiling netdb.c...
|
||||
compiling api_lib.c...
|
||||
compiling if_api.c...
|
||||
compiling netifapi.c...
|
||||
compiling netbuf.c...
|
||||
compiling api_msg.c...
|
||||
compiling altcp.c...
|
||||
compiling tcpip.c...
|
||||
compiling sockets.c...
|
||||
compiling altcp_alloc.c...
|
||||
compiling altcp_tcp.c...
|
||||
compiling def.c...
|
||||
compiling dns.c...
|
||||
compiling inet_chksum.c...
|
||||
compiling init.c...
|
||||
compiling raw.c...
|
||||
compiling ip.c...
|
||||
compiling stats.c...
|
||||
compiling memp.c...
|
||||
compiling mem.c...
|
||||
compiling sys.c...
|
||||
compiling netif.c...
|
||||
compiling pbuf.c...
|
||||
compiling tcp.c...
|
||||
compiling udp.c...
|
||||
compiling tcp_in.c...
|
||||
compiling timeouts.c...
|
||||
compiling tcp_out.c...
|
||||
compiling autoip.c...
|
||||
compiling dhcp.c...
|
||||
compiling igmp.c...
|
||||
compiling icmp.c...
|
||||
compiling etharp.c...
|
||||
compiling ip4_addr.c...
|
||||
compiling ip4.c...
|
||||
compiling ip4_frag.c...
|
||||
compiling dhcp6.c...
|
||||
compiling ethip6.c...
|
||||
compiling icmp6.c...
|
||||
compiling ble_mx_02.c...
|
||||
compiling inet6.c...
|
||||
compiling user_lib.c...
|
||||
compiling ip6.c...
|
||||
compiling ip6_addr.c...
|
||||
compiling ip6_frag.c...
|
||||
compiling mld6.c...
|
||||
compiling nd6.c...
|
||||
compiling leds.c...
|
||||
compiling sys_arch.c...
|
||||
compiling communication_protocol.c...
|
||||
compiling mqtt.c...
|
||||
compiling tcpserverc.c...
|
||||
compiling tcpclient.c...
|
||||
compiling ad7124.c...
|
||||
compiling user_gpio.c...
|
||||
compiling dac161s997.c...
|
||||
compiling user_spi.c...
|
||||
compiling ht1200m.c...
|
||||
linking...
|
||||
Program Size: Code=89400 RO-data=1472 RW-data=1540 ZI-data=62964
|
||||
"semi-finished_product_testing\semi-finished_product_testing.axf" - 0 Error(s), 0 Warning(s).
|
||||
|
||||
<h2>Software Packages used:</h2>
|
||||
|
||||
Package Vendor: ARM
|
||||
http://www.keil.com/pack/ARM.CMSIS.5.8.0.pack
|
||||
ARM.CMSIS.5.8.0
|
||||
CMSIS (Common Microcontroller Software Interface Standard)
|
||||
* Component: CORE Version: 5.5.0
|
||||
|
||||
Package Vendor: Keil
|
||||
https://www.keil.com/pack/Keil.STM32F4xx_DFP.2.17.1.pack
|
||||
Keil.STM32F4xx_DFP.2.17.1
|
||||
STMicroelectronics STM32F4 Series Device Support, Drivers and Examples
|
||||
|
||||
<h2>Collection of Component include folders:</h2>
|
||||
.\RTE\_semi-finished_product_testing
|
||||
C:\Users\Administrator\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
|
||||
C:\Users\Administrator\AppData\Local\Arm\Packs\Keil\STM32F4xx_DFP\2.17.1\Drivers\CMSIS\Device\ST\STM32F4xx\Include
|
||||
|
||||
<h2>Collection of Component Files used:</h2>
|
||||
|
||||
* Component: ARM::CMSIS:CORE:5.5.0
|
||||
Include file: CMSIS\Core\Include\tz_context.h
|
||||
Build Time Elapsed: 00:00:08
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue