修复多连接的问题

This commit is contained in:
2026-07-19 15:27:49 +08:00
parent 9ed4c22022
commit e06d849007
38 changed files with 2475 additions and 1953 deletions

View File

@@ -340,7 +340,7 @@
<MiscControls></MiscControls>
<Define>USE_HAL_DRIVER,STM32F407xx</Define>
<Undefine></Undefine>
<IncludePath>../Inc;../Drivers/STM32F4xx_HAL_Driver/Inc;../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy;../Drivers/CMSIS/Device/ST/STM32F4xx/Include;../Drivers/CMSIS/Include;../Drivers/BSP;../Drivers/BSP/CH395F;../Drivers/BSP/GD5F2GQ5UE;../Lib/FlashDB/port/fal/inc;../Lib/FlashDB/inc;../Drivers/BSP/TPAFE5160;../Drivers/BSP/SD2506;../Drivers/BSP/RS485;../Drivers/BSP/NET;../Middlewares/Third_Party/FreeRTOS/Source/include;../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2;../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F</IncludePath>
<IncludePath>../Inc;../Drivers/STM32F4xx_HAL_Driver/Inc;../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy;../Drivers/CMSIS/Device/ST/STM32F4xx/Include;../Drivers/CMSIS/Include;../Drivers/BSP;../Drivers/BSP/CH395F;../Drivers/BSP/GD5F2GQ5UE;../Lib/FlashDB/port/fal/inc;../Lib/FlashDB/inc;../Drivers/BSP/TPAFE5160;../Drivers/BSP/SD2506;../Drivers/BSP/RS485;../Drivers/BSP/NET;../App;../App/task;../App/util;../Middlewares/Third_Party/FreeRTOS/Source/include;../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2;../Middlewares/Third_Party/FreeRTOS/Source/portable/RVDS/ARM_CM4F</IncludePath>
</VariousControls>
</Cads>
<Aads>
@@ -752,6 +752,46 @@
</File>
</Files>
</Group>
<Group>
<GroupName>App</GroupName>
<Files>
<File>
<FileName>app_main.c</FileName>
<FileType>1</FileType>
<FilePath>..\App\app_main.c</FilePath>
</File>
<File>
<FileName>sys_time.c</FileName>
<FileType>1</FileType>
<FilePath>..\App\sys_time.c</FilePath>
</File>
<File>
<FileName>net_task.c</FileName>
<FileType>1</FileType>
<FilePath>..\App\task\net_task.c</FilePath>
</File>
<File>
<FileName>adc_task.c</FileName>
<FileType>1</FileType>
<FilePath>..\App\task\adc_task.c</FilePath>
</File>
<File>
<FileName>rs485_task.c</FileName>
<FileType>1</FileType>
<FilePath>..\App\task\rs485_task.c</FilePath>
</File>
<File>
<FileName>ringbuf.c</FileName>
<FileType>1</FileType>
<FilePath>..\App\util\ringbuf.c</FilePath>
</File>
<File>
<FileName>crc.c</FileName>
<FileType>1</FileType>
<FilePath>..\App\util\crc.c</FilePath>
</File>
</Files>
</Group>
<Group>
<GroupName>Drivers/STM32F4xx_HAL_Driver</GroupName>
<Files>

View File

@@ -1,4 +1,71 @@
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'STM32F407-Demo'
Rebuild target 'STM32F407-Demo'
assembling startup_stm32f407xx.s...
compiling net_task.c...
compiling app_main.c...
compiling crc.c...
compiling ringbuf.c...
compiling dma.c...
compiling stm32f4xx_hal_flash_ex.c...
compiling sys_time.c...
compiling stm32f4xx_hal_msp.c...
compiling stm32f4xx_hal_timebase_tim.c...
compiling stm32f4xx_hal_flash_ramfunc.c...
compiling i2c.c...
compiling spi.c...
compiling gpio.c...
compiling stm32f4xx_it.c...
compiling stm32f4xx_hal_rcc_ex.c...
compiling usart.c...
compiling stm32f4xx_hal_dma.c...
compiling stm32f4xx_hal_gpio.c...
compiling freertos.c...
compiling stm32f4xx_hal_flash.c...
compiling rs485_task.c...
compiling stm32f4xx_hal_rcc.c...
compiling adc_task.c...
compiling main.c...
compiling stm32f4xx_hal_dma_ex.c...
compiling stm32f4xx_hal_tim_ex.c...
compiling stm32f4xx_hal_tim.c...
compiling fdb.c...
compiling fdb_utils.c...
compiling fdb_tsdb.c...
compiling fal.c...
compiling fdb_kvdb.c...
compiling fal_flash.c...
compiling croutine.c...
compiling fal_partition.c...
compiling list.c...
compiling event_groups.c...
compiling stream_buffer.c...
compiling queue.c...
compiling timers.c...
compiling tasks.c...
compiling port.c...
compiling heap_4.c...
compiling stm32f4xx_hal_pwr.c...
compiling stm32f4xx_hal_i2c_ex.c...
compiling stm32f4xx_hal_pwr_ex.c...
compiling system_stm32f4xx.c...
compiling stm32f4xx_hal_exti.c...
compiling fal_flash_gd5f2gq5ue.c...
compiling stm32f4xx_hal.c...
compiling stm32f4xx_hal_cortex.c...
compiling rs485.c...
compiling sd2506.c...
compiling tpafe5160.c...
compiling net_select.c...
compiling ch395f_test.c...
compiling ch395f.c...
compiling gd5f2gq5ue.c...
compiling stm32f4xx_hal_spi.c...
compiling net_socket.c...
compiling stm32f4xx_hal_uart.c...
compiling stm32f4xx_hal_i2c.c...
compiling cmsis_os2.c...
linking...
Program Size: Code=29372 RO-data=888 RW-data=180 ZI-data=41420
FromELF: creating hex file...
".\STM32F407-Demo\STM32F407-Demo.axf" - 0 Error(s), 0 Warning(s).
Build Time Elapsed: 00:00:00
Build Time Elapsed: 00:00:16