添加参数读写的函数

This commit is contained in:
2025-02-24 22:12:28 +08:00
parent 3c4314f96a
commit f89a217c13
29 changed files with 2396 additions and 2210 deletions
@@ -22,21 +22,27 @@ Dialog DLL: TCM.DLL V1.56.4.0
<h2>Project:</h2>
D:\2_code\stepmotorControlor_V2.10\MDK-ARM\stepmotorControlor.uvprojx
Project File Date: 01/30/2025
Project File Date: 02/23/2025
<h2>Output:</h2>
*** Using Compiler 'V5.03 [Build 24]', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'stepmotorControlor'
compiling bsp.c...
..\BSP\bsp.c(95): warning: #177-D: variable "voltage" was declared but never referenced
..\BSP\bsp.h(214): warning: #1295-D: Deprecated declaration SYS_initParam - give arg types
void SYS_initParam();
..\BSP\bsp.h(215): warning: #1295-D: Deprecated declaration SYS_getParam - give arg types
void SYS_getParam();
..\BSP\bsp.h(216): warning: #1295-D: Deprecated declaration SYS_setParam - give arg types
void SYS_setParam();
..\BSP\bsp.c(157): warning: #177-D: variable "voltage" was declared but never referenced
float voltage = -1;
..\BSP\bsp.c(467): warning: #223-D: function "malloc" declared implicitly
..\BSP\bsp.c(523): warning: #223-D: function "malloc" declared implicitly
serial->recv_buff = (uint8_t *)malloc(recv_len);
..\BSP\bsp.c: 2 warnings, 0 errors
..\BSP\bsp.c: 5 warnings, 0 errors
linking...
Program Size: Code=20932 RO-data=620 RW-data=68 ZI-data=17500
Program Size: Code=21108 RO-data=620 RW-data=72 ZI-data=17392
FromELF: creating hex file...
"stepmotorControlor\stepmotorControlor.axf" - 0 Error(s), 2 Warning(s).
"stepmotorControlor\stepmotorControlor.axf" - 0 Error(s), 5 Warning(s).
<h2>Software Packages used:</h2>
@@ -60,7 +66,7 @@ Package Vendor: Keil
* Component: ARM::CMSIS:CORE:5.6.0
Include file: CMSIS/Core/Include/tz_context.h
Build Time Elapsed: 00:00:01
Build Time Elapsed: 00:00:02
</pre>
</body>
</html>