屏幕和编码器OK

This commit is contained in:
2025-03-23 20:45:23 +08:00
parent 9d910c6770
commit 3f4efa0554
88 changed files with 4812 additions and 13918 deletions
@@ -21,73 +21,22 @@ Target DLL: CMSIS_AGDI.dll V1.33.15.0
Dialog DLL: TCM.DLL V1.56.4.0
<h2>Project:</h2>
D:\2_code\stepmotorControlor_V2.10\MDK-ARM\stepmotorControlor.uvprojx
Project File Date: 03/19/2025
D:\2_code\stepmotorControlor_V2.11-main\MDK-ARM\stepmotorControlor.uvprojx
Project File Date: 03/23/2025
<h2>Output:</h2>
*** Using Compiler 'V5.03 [Build 24]', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'stepmotorControlor'
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
..\BSP\bsp.c(166): warning: #177-D: variable "voltage" was declared but never referenced
float voltage = -1;
..\BSP\bsp.c(571): warning: #223-D: function "malloc" declared implicitly
..\BSP\bsp.c(574): 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
Program Size: Code=16252 RO-data=312 RW-data=68 ZI-data=17404
FromELF: creating hex file...
"stepmotorControlor\stepmotorControlor.axf" - 0 Error(s), 11 Warning(s).
"stepmotorControlor\stepmotorControlor.axf" - 0 Error(s), 2 Warning(s).
<h2>Software Packages used:</h2>
@@ -111,7 +60,7 @@ Package Vendor: Keil
* Component: ARM::CMSIS:CORE:5.6.0
Include file: CMSIS/Core/Include/tz_context.h
Build Time Elapsed: 00:00:06
Build Time Elapsed: 00:00:01
</pre>
</body>
</html>