添加加文件

This commit is contained in:
2025-03-19 22:33:31 +08:00
parent 97c231cf1b
commit 9d910c6770
16 changed files with 3012 additions and 2944 deletions
@@ -22,12 +22,72 @@ Dialog DLL: TCM.DLL V1.56.4.0
<h2>Project:</h2>
D:\2_code\stepmotorControlor_V2.10\MDK-ARM\stepmotorControlor.uvprojx
Project File Date: 02/23/2025
Project File Date: 03/19/2025
<h2>Output:</h2>
*** Using Compiler 'V5.03 [Build 24]', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'stepmotorControlor'
"stepmotorControlor\stepmotorControlor.axf" - 0 Error(s), 0 Warning(s).
compiling gpio.c...
compiling main.c...
../Core/Src/main.c(100): warning: #177-D: variable "isAck" was declared but never referenced
uint8_t isAck = 0;
../Core/Src/main.c(102): warning: #177-D: variable "count" was declared but never referenced
unsigned char count = 0;
../Core/Src/main.c(105): warning: #550-D: variable "cur_ticks_us" was set but never used
uint32_t cur_ticks_us = 0;
../Core/Src/main.c: 3 warnings, 0 errors
compiling stm32f1xx_hal_rcc_ex.c...
compiling stm32f1xx_hal.c...
compiling stm32f1xx_hal_msp.c...
compiling stm32f1xx_it.c...
compiling i2c.c...
compiling stm32f1xx_hal_gpio_ex.c...
compiling stm32f1xx_hal_timebase_tim.c...
compiling usart.c...
compiling stm32f1xx_hal_adc_ex.c...
compiling stm32f1xx_hal_adc.c...
compiling tim.c...
compiling adc.c...
compiling stm32f1xx_hal_rcc.c...
compiling work.c...
compiling stm32f1xx_hal_dma.c...
compiling system_stm32f1xx.c...
compiling stm32f1xx_hal_pwr.c...
compiling stm32f1xx_hal_cortex.c...
compiling stm32f1xx_hal_flash.c...
compiling bsp.c...
..\BSP\bsp.c(165): warning: #177-D: variable "voltage" was declared but never referenced
float voltage = -1;
..\BSP\bsp.c(571): warning: #223-D: function "malloc" declared implicitly
serial->recv_buff = (uint8_t *)malloc(recv_len);
..\BSP\bsp.c: 2 warnings, 0 errors
compiling Modbus_Function.c...
..\Modbus\Modbus_Function.c(177): warning: #177-D: variable "regis" was declared but never referenced
uint16_t regis = modbus.payload[0] | (modbus.payload[1] << 8);
..\Modbus\Modbus_Function.c(178): warning: #177-D: variable "value" was declared but never referenced
uint16_t value = modbus.payload[2] | (modbus.payload[3] << 8);
..\Modbus\Modbus_Function.c(198): warning: #177-D: variable "cmd" was declared but never referenced
uint16_t cmd = modbus.payload[3] << 0 |
..\Modbus\Modbus_Function.c: 3 warnings, 0 errors
compiling drv_at24cxx.c...
..\BSP\drv_at24cxx.c(12): warning: #223-D: function "malloc" declared implicitly
i2c = (I2C_t *)malloc(sizeof(I2C_t));
..\BSP\drv_at24cxx.c(45): warning: #177-D: variable "cnt" was declared but never referenced
uint16_t cnt = 0; //дÈë×Ö½Ú¼ÆÊý
..\BSP\drv_at24cxx.c(89): warning: C4017W: rst may be used before being set
HAL_StatusTypeDef rst;
..\BSP\drv_at24cxx.c: 3 warnings, 0 errors
compiling stm32f1xx_hal_exti.c...
compiling stm32f1xx_hal_gpio.c...
compiling stm32f1xx_hal_uart.c...
compiling stm32f1xx_hal_flash_ex.c...
compiling stm32f1xx_hal_tim_ex.c...
compiling stm32f1xx_hal_i2c.c...
compiling stm32f1xx_hal_tim.c...
linking...
Program Size: Code=20996 RO-data=620 RW-data=68 ZI-data=17452
FromELF: creating hex file...
"stepmotorControlor\stepmotorControlor.axf" - 0 Error(s), 11 Warning(s).
<h2>Software Packages used:</h2>
@@ -51,7 +111,7 @@ Package Vendor: Keil
* Component: ARM::CMSIS:CORE:5.6.0
Include file: CMSIS/Core/Include/tz_context.h
Build Time Elapsed: 00:00:00
Build Time Elapsed: 00:00:06
</pre>
</body>
</html>