串口收发正常

This commit is contained in:
2025-01-09 14:48:56 +08:00
parent 76d20a87c7
commit 3b4773f900
16 changed files with 1984 additions and 1923 deletions
@@ -27,12 +27,12 @@ Project File Date: 11/09/2024
<h2>Output:</h2>
*** Using Compiler 'V5.03 [Build 24]', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'stepmotorControlor'
compiling Modbus_Function.c...
..\Modbus\Modbus_Function.c(191): warning: #177-D: variable "regis" was declared but never referenced
uint16_t regis = buff[2] | (buff[3] << 8);
..\Modbus\Modbus_Function.c: 1 warning, 0 errors
compiling bsp.c...
..\BSP\bsp.c(219): warning: #223-D: function "malloc" declared implicitly
serial->recv_buff = (uint8_t *)malloc(recv_len);
..\BSP\bsp.c: 1 warning, 0 errors
linking...
Program Size: Code=13508 RO-data=312 RW-data=60 ZI-data=17068
Program Size: Code=13760 RO-data=312 RW-data=60 ZI-data=17068
FromELF: creating hex file...
"stepmotorControlor\stepmotorControlor.axf" - 0 Error(s), 1 Warning(s).