From da0f8ef72c58b1df75f7cb376bcf06af0c778d02 Mon Sep 17 00:00:00 2001 From: xiao Date: Fri, 3 Apr 2026 05:59:37 +0800 Subject: [PATCH] build: sync project files and ignore local captures --- .gitignore | 3 +++ MDK-ARM/TCP2UART.uvprojx | 6 +++--- cmake/stm32cubemx/CMakeLists.txt | 37 ++++++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index c276e00..86954f0 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,6 @@ Desktop.ini # Local debug handoff logs .debug/ + +# Local packet captures +WiresharkLog/ diff --git a/MDK-ARM/TCP2UART.uvprojx b/MDK-ARM/TCP2UART.uvprojx index 1ff5fe2..60826f5 100644 --- a/MDK-ARM/TCP2UART.uvprojx +++ b/MDK-ARM/TCP2UART.uvprojx @@ -55,7 +55,7 @@ 1 1 1 - TCP2UART\ + 1 0 0 @@ -80,9 +80,9 @@ 0 - 1 + 0 0 - keil-build-viewer.exe -NOPATH + 0 0 diff --git a/cmake/stm32cubemx/CMakeLists.txt b/cmake/stm32cubemx/CMakeLists.txt index 72e48df..c54aa33 100644 --- a/cmake/stm32cubemx/CMakeLists.txt +++ b/cmake/stm32cubemx/CMakeLists.txt @@ -11,10 +11,16 @@ set(MX_Defines_Syms # STM32CubeMX generated include paths set(MX_Include_Dirs ${CMAKE_CURRENT_SOURCE_DIR}/../../Core/Inc + ${CMAKE_CURRENT_SOURCE_DIR}/../../App + ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/CH390 + ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/LwIP/src/include + ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/LwIP/src/include/arch + ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/LwIP/src/netif ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/STM32F1xx_HAL_Driver/Inc ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/CMSIS/Device/ST/STM32F1xx/Include ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/CMSIS/Include + ${CMAKE_CURRENT_SOURCE_DIR}/../../Middlewares/Third_Party/SEGGER_RTT ) # STM32CubeMX generated application sources @@ -30,6 +36,37 @@ set(MX_Application_Src ${CMAKE_CURRENT_SOURCE_DIR}/../../Core/Src/stm32f1xx_hal_msp.c ${CMAKE_CURRENT_SOURCE_DIR}/../../Core/Src/sysmem.c ${CMAKE_CURRENT_SOURCE_DIR}/../../Core/Src/syscalls.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../App/config.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../App/flash_param.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../App/tcp_client.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../App/tcp_server.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../App/uart_trans.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/CH390/CH390.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/CH390/CH390_Interface.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/CH390/ch390_runtime.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/LwIP/src/core/def.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/LwIP/src/core/inet_chksum.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/LwIP/src/core/init.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/LwIP/src/core/ip.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/LwIP/src/core/mem.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/LwIP/src/core/memp.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/LwIP/src/core/netif.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/LwIP/src/core/pbuf.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/LwIP/src/core/raw.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/LwIP/src/core/stats.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/LwIP/src/core/sys.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/LwIP/src/core/tcp.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/LwIP/src/core/tcp_in.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/LwIP/src/core/tcp_out.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/LwIP/src/core/timeouts.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/LwIP/src/core/ipv4/etharp.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/LwIP/src/core/ipv4/icmp.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/LwIP/src/core/ipv4/ip4.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/LwIP/src/core/ipv4/ip4_addr.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/LwIP/src/netif/ethernet.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../Drivers/LwIP/src/netif/ethernetif.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../Middlewares/Third_Party/SEGGER_RTT/SEGGER_RTT.c + ${CMAKE_CURRENT_SOURCE_DIR}/../../Middlewares/Third_Party/SEGGER_RTT/SEGGER_RTT_printf.c ${CMAKE_CURRENT_SOURCE_DIR}/../../startup_stm32f103xb.s )