Remove build artifacts from version control and update .gitignore

This commit is contained in:
2026-05-08 10:11:08 +08:00
parent c9989b3e6a
commit 621fa4e71c
120 changed files with 13 additions and 11952 deletions

10
.gitignore vendored Normal file
View File

@ -0,0 +1,10 @@
*.o
*.obj
*.axf
*.hex
*.htm
*.map
*.dep
*.crf
*.uvguix.*
.build_log.htm

View File

@ -235,10 +235,7 @@ int main(void)
#endif #endif
/* Infinite loop */
/* USER CODE BEGIN WHILE */
/* Infinite loop */
/* USER CODE BEGIN WHILE */
/* Infinite loop */ /* Infinite loop */
/* USER CODE BEGIN WHILE */ /* USER CODE BEGIN WHILE */
while (1) while (1)
@ -275,20 +272,8 @@ int main(void)
/* 默认 0x03 为 RS485 透传数据 */ /* 默认 0x03 为 RS485 透传数据 */
uint8_t source_type = 0x03; uint8_t source_type = 0x03;
/* ========================================================== /* 判断是不是 $DI 标签 */
🚀 核心修复:直接对比底层字节,抛弃 strncmp if (payload_len >= 3 && payload_data[0] == '$' && payload_data[1] == 'D' && payload_data[2] == 'I')
同时兼容你可能忘了烧录新代码的旧版 $DI 协议!
========================================================== */
/* 判断是不是新版 [DI] 标签 */
if (payload_len >= 4 && payload_data[0] == '[' && payload_data[1] == 'D' && payload_data[2] == 'I' && payload_data[3] == ']')
{
source_type = 0x01; /* 0x01 代表是 DI 口触发的数据 */
payload_data += 4; /* 砍掉 "[DI]" 标签 */
payload_len -= 4;
}
/* 判断是不是旧版 $DI 标签 (防止远端发送板没烧录最新代码) */
else if (payload_len >= 3 && payload_data[0] == '$' && payload_data[1] == 'D' && payload_data[2] == 'I')
{ {
source_type = 0x01; /* 也是 DI 口数据,但不砍标签了,直接全发过去 */ source_type = 0x01; /* 也是 DI 口数据,但不砍标签了,直接全发过去 */
} }

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,199 +0,0 @@
<html>
<body>
<pre>
<h1><EFBFBD>Vision Build Log</h1>
<h2>Tool Versions:</h2>
IDE-Version: <20><>Vision V5.43.1.0
Copyright (C) 2025 ARM Ltd and ARM Germany GmbH. All rights reserved.
License Information: x xtell, x, LIC=9WSKC-71I92-JJK6S-LRIAZ-BXKR7-N3URK
Tool Versions:
Toolchain: MDK-ARM Plus Version: 5.43.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.43.0.0
Dialog DLL: DCM.DLL V1.17.5.0
Target DLL: CMSIS_AGDI.dll V1.33.24.0
Dialog DLL: TCM.DLL V1.56.6.0
<h2>Project:</h2>
C:\workfile\E32-433\software\TARGET_BOARD_E32-433TBH-SC\MDK-ARM\project.uvprojx
Project File Date: 05/05/2026
<h2>Output:</h2>
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Rebuild target 'project'
assembling startup_stm32f103xb.s...
compiling gpio.c...
compiling spi.c...
compiling systick.c...
compiling rf433_tx_app.c...
..\Core\Src\rf433_tx_app.c(28): warning: #188-D: enumerated type mixed with another type
static rf433_tx_app_t g_tx_app = {0};
..\Core\Src\rf433_tx_app.c: 1 warning, 0 errors
compiling main.c...
../Core/Src/main.c(264): warning: #223-D: function "memcpy" declared implicitly
memcpy(temp_buf1, (uint8_t*)u1_rx_buffer, len);
../Core/Src/main.c: 1 warning, 0 errors
compiling cmd_parser.c...
compiling rf433_rx_app.c...
..\Core\Src\rf433_rx_app.c(23): warning: #188-D: enumerated type mixed with another type
static rf433_rx_app_t g_rx_app = {0};
..\Core\Src\rf433_rx_app.c: 1 warning, 0 errors
compiling usart.c...
compiling io_monitor.c...
../Core/Inc/data_source.h(8): warning: #1-D: last line of file ends without a newline
#endif /* __DATA_SOURCE_H */
..\Core\Src\io_monitor.c: 1 warning, 0 errors
compiling debug_log.c...
compiling cmd_router.c...
../Core/Inc/data_source.h(8): warning: #1-D: last line of file ends without a newline
#endif /* __DATA_SOURCE_H */
../Core/Inc/uart3_protocol_discriminator.h(150): warning: #1-D: last line of file ends without a newline
#endif
../Core/Inc/uart3_passthrough.h(207): warning: #1-D: last line of file ends without a newline
#endif
../Core/Inc/uart3_smart_router_config.h(143): warning: #1-D: last line of file ends without a newline
#endif
..\Core\Src\cmd_router.c(286): warning: #188-D: enumerated type mixed with another type
for (port_id_t i = 0; i < PORT_COUNT; i++) {
..\Core\Src\cmd_router.c(463): warning: #188-D: enumerated type mixed with another type
for (port_id_t port_id = 0; port_id < PORT_COUNT; port_id++) {
..\Core\Src\cmd_router.c(554): warning: #188-D: enumerated type mixed with another type
for (port_id_t port = 0; port < PORT_COUNT; port++) {
..\Core\Src\cmd_router.c(116): warning: #550-D: variable "g_current_parsing_port" was set but never used
static uint8_t g_current_parsing_port = PORT_UART2;
..\Core\Src\cmd_router.c: 8 warnings, 0 errors
compiling stm32f1xx_hal_msp.c...
compiling uart2_print.c...
..\Core\Src\uart2_print.c(485): warning: #1-D: last line of file ends without a newline
#endif
..\Core\Src\uart2_print.c: 1 warning, 0 errors
compiling uart3_protocol_discriminator.c...
../Core/Inc/uart3_protocol_discriminator.h(150): warning: #1-D: last line of file ends without a newline
#endif
../Core/Inc/uart3_smart_router_config.h(143): warning: #1-D: last line of file ends without a newline
#endif
..\Core\Src\uart3_protocol_discriminator.c(111): warning: #870-D: invalid multibyte character sequence
DEBUG_LOG("INIT <EFBFBD><EFBFBD>? CMD_MODE (got '$')");
..\Core\Src\uart3_protocol_discriminator.c(118): warning: #870-D: invalid multibyte character sequence
DEBUG_LOG("INIT <EFBFBD><EFBFBD>? SCAN (byte: 0x%02X)", byte);
..\Core\Src\uart3_protocol_discriminator.c(128): warning: #870-D: invalid multibyte character sequence
DEBUG_LOG("SCAN <EFBFBD><EFBFBD>? PASSTHROUGH (got '$', %d bytes)", ctx->scan_length);
..\Core\Src\uart3_protocol_discriminator.c(132): warning: #870-D: invalid multibyte character sequence
DEBUG_LOG("SCAN <20><>? CMD_MODE (empty scan, got '$')");
..\Core\Src\uart3_protocol_discriminator.c(137): warning: #870-D: invalid multibyte character sequence
DEBUG_LOG("SCAN <20><>? PASSTHROUGH (got '\\n', %d bytes)", ctx->scan_length);
..\Core\Src\uart3_protocol_discriminator.c(151): warning: #870-D: invalid multibyte character sequence
DEBUG_LOG("CMD_MODE <20><>? INIT (got \\n)");
..\Core\Src\uart3_protocol_discriminator.c(156): warning: #870-D: invalid multibyte character sequence
DEBUG_LOG("CMD_MODE <20><>? CMD (byte: 0x%02X)", byte);
..\Core\Src\uart3_protocol_discriminator.c(161): warning: #870-D: invalid multibyte character sequence
DEBUG_LOG("PASSTHROUGH <20><>? PTX (byte: 0x%02X)", byte);
..\Core\Src\uart3_protocol_discriminator.c(185): warning: #870-D: invalid multibyte character sequence
DEBUG_LOG("SCAN timeout <20><>? PASSTHROUGH (%d ms)", SCAN_TIMEOUT_MS);
..\Core\Src\uart3_protocol_discriminator.c(194): warning: #870-D: invalid multibyte character sequence
DEBUG_LOG("CMD_MODE timeout <20><>? INIT (%d ms)", CMD_COMPLETE_TIMEOUT_MS);
..\Core\Src\uart3_protocol_discriminator.c(252): warning: #1-D: last line of file ends without a newline
}
..\Core\Src\uart3_protocol_discriminator.c(58): warning: #177-D: function "check_scan_timeout" was declared but never referenced
static bool check_scan_timeout(uint32_t current_tick)
..\Core\Src\uart3_protocol_discriminator.c: 14 warnings, 0 errors
compiling relay_control.c...
compiling stm32f1xx_it.c...
compiling stm32f1xx_hal_gpio_ex.c...
compiling stm32f1xx_hal.c...
compiling multi_uart_router.c...
..\Core\Src\multi_uart_router.c(273): warning: #188-D: enumerated type mixed with another type
for (port_id_t i = 0; i < PORT_COUNT; i++) {
..\Core\Src\multi_uart_router.c(354): warning: #188-D: enumerated type mixed with another type
for (port_id_t i = 0; i < PORT_COUNT; i++) {
..\Core\Src\multi_uart_router.c(158): warning: #177-D: function "rx_ring_pop" was declared but never referenced
static uint16_t rx_ring_pop(uart_rx_ring_t *ring, uint8_t *byte)
..\Core\Src\multi_uart_router.c: 3 warnings, 0 errors
compiling stm32f1xx_hal_spi.c...
compiling tim.c...
compiling uart3_passthrough.c...
../Core/Inc/uart3_passthrough.h(207): warning: #1-D: last line of file ends without a newline
#endif
../Core/Inc/uart3_smart_router_config.h(143): warning: #1-D: last line of file ends without a newline
#endif
..\Core\Src\uart3_passthrough.c(273): warning: #1-D: last line of file ends without a newline
}
..\Core\Src\uart3_passthrough.c: 3 warnings, 0 errors
compiling stm32f1xx_hal_rcc.c...
compiling stm32f1xx_hal_flash.c...
compiling stm32f1xx_hal_cortex.c...
compiling stm32f1xx_hal_gpio.c...
compiling stm32f1xx_hal_rcc_ex.c...
compiling stm32f1xx_hal_dma.c...
compiling stm32f1xx_hal_pwr.c...
compiling stm32f1xx_hal_flash_ex.c...
compiling rf433.c...
..\Driver_RF433\Src\rf433.c(209): warning: #188-D: enumerated type mixed with another type
ret = rf433_set_config(&rf433_current_config);
..\Driver_RF433\Src\rf433.c(213): warning: #188-D: enumerated type mixed with another type
return ret;
..\Driver_RF433\Src\rf433.c(99): warning: #177-D: function "rf433_send_request_command" was declared but never referenced
static void rf433_send_request_command(rf433_request_cmd_t cmd)
..\Driver_RF433\Src\rf433.c(132): warning: #177-D: function "rf433_response_command_check" was declared but never referenced
static bool rf433_response_command_check(rf433_request_cmd_t cmd, uint8_t *buffer, uint8_t length)
..\Driver_RF433\Src\rf433.c: 4 warnings, 0 errors
compiling stm32f1xx_hal_tim_ex.c...
compiling stm32f1xx_hal_exti.c...
compiling stm32f1xx_hal_uart.c...
compiling system_stm32f1xx.c...
compiling user_main.c...
compiling rf433_hal.c...
compiling wiz_interface.c...
..\User\wiz_interface\wiz_interface.c(201): warning: #870-D: invalid multibyte character sequence
printf(" -> [WIZ] 硬件复位通过<EFBC81><E8AFB4>? TIM2 定时器工作完全正常!\r\n");
..\User\wiz_interface\wiz_interface.c: 1 warning, 0 errors
compiling multicast.c...
compiling w5500.c...
compiling wizchip_conf.c...
compiling socket.c...
compiling stm32f1xx_hal_tim.c...
compiling dhcp.c...
compiling wiz_platform.c...
compiling loopback.c...
..\User\Loopback\loopback.c(249): warning: #9-D: nested comment is not allowed
/* 🚀 核心修改:网络数据透传时,加上 [0xAA] 和设<E5928C><E8AEBE>? ID */
..\User\Loopback\loopback.c(260): warning: #223-D: function "memcpy" declared implicitly
memcpy(&tx_buf[2 + tag_len], buf, size);
..\User\Loopback\loopback.c: 2 warnings, 0 errors
linking...
Program Size: Code=19640 RO-data=572 RW-data=212 ZI-data=8188
FromELF: creating hex file...
"project\project.axf" - 0 Error(s), 40 Warning(s).
<h2>Software Packages used:</h2>
Package Vendor: ARM
https://www.keil.com/pack/ARM.CMSIS.6.2.0.pack
ARM::CMSIS@6.2.0
CMSIS (Common Microcontroller Software Interface Standard)
* Component: CORE Version: 6.1.1
Package Vendor: Keil
https://www.keil.com/pack/Keil.STM32F1xx_DFP.2.4.1.pack
Keil::STM32F1xx_DFP@2.4.1
STMicroelectronics STM32F1 Series Device Support, Drivers and Examples
<h2>Collection of Component include folders:</h2>
./RTE/_project
C:/Users/xtell/AppData/Local/Arm/Packs/ARM/CMSIS/6.2.0/CMSIS/Core/Include
C:/Users/xtell/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include
<h2>Collection of Component Files used:</h2>
* Component: ARM::CMSIS:CORE@6.1.1
Include file: CMSIS/Core/Include/tz_context.h
Build Time Elapsed: 00:00:20
</pre>
</body>
</html>

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

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More