礦ision Build Log
Tool Versions:
IDE-Version: μVision V5.38.0.0
Copyright (C) 2022 ARM Ltd and ARM Germany GmbH. All rights reserved.
License Information: 11 Administrator, 1, LIC=ATTQ1-C3EJ8-74AS0-BGZ1X-HPE1Q-NWZ04
Tool Versions:
Toolchain: MDK-ARM Plus Version: 5.38.0.0
Toolchain Path: D:\Keil_v5\ARM\ARMCLANG\Bin
C Compiler: ArmClang.exe V6.19
Assembler: Armasm.exe V6.19
Linker/Locator: ArmLink.exe V6.19
Library Manager: ArmAr.exe V6.19
Hex Converter: FromElf.exe V6.19
CPU DLL:
Dialog DLL:
Target DLL: STLink\ST-LINKIII-KEIL_SWO.dll V3.1.0.0
Dialog DLL: TCM.DLL V1.56.4.0
Project:
E:\xiangmu\1.6\06_Template.uvprojx
Project File Date: 08/21/2023
Output:
*** Using Compiler 'V6.19', folder: 'D:\Keil_v5\ARM\ARMCLANG\Bin'
Rebuild target 'Target 1'
compiling debug_uart.c...
src/Hardware/lcd_init.c(72): warning: implicit conversion loses integer precision: 'uint16_t' (aka 'unsigned short') to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
LCD_Writ_Bus(dat);
~~~~~~~~~~~~ ^~~
1 warning generated.
compiling lcd_init.c...
compiling led.c...
src/System/rtc.c(136): warning: implicit conversion loses integer precision: 'int' to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
rtc_second=get_time.tm_sec; //取
~~~~~~~~~~^~~~~~
src/System/rtc.c(137): warning: implicit conversion loses integer precision: 'int' to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
rtc_minute=get_time.tm_min; //取
~~~~~~~~~~^~~~~~
src/System/rtc.c(138): warning: implicit conversion loses integer precision: 'int' to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
rtc_hour=get_time.tm_hour; //取时
~~~~~~~~~~^~~~~~~
src/System/rtc.c(139): warning: implicit conversion loses integer precision: 'int' to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
rtc_day=get_time.tm_mday; //取
~~~~~~~~~~^~~~~~~
src/System/rtc.c(140): warning: implicit conversion loses integer precision: 'int' to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
rtc_month=get_time.tm_mon; //取
~~~~~~~~~~^~~~~~
src/System/rtc.c(141): warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
rtc_year=get_time.tm_year+1900; //取
~~~~~~~~~~~~~~~~~^~~~~
6 warnings generated.
compiling rtc.c...
src/hal_entry.c(44): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
printf("MCU 源为 SW2\r\n");
^~~~~~~~~~~~~~~~
src/hal_entry.c(48): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
printf("MCU 源为 SW3\r\n");
^~~~~~~~~~~~~~~~
src/hal_entry.c(49): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
printf("MCU 模式\r\n");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/hal_entry.c(58): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
LCD_ShowChinese(49 +40 , 97, "",DARKBLUE,WHITE,24,0);
^~~~~~~~
src/hal_entry.c(58): warning: passing 'char[3]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
LCD_ShowChinese(49 +40 , 97, "",DARKBLUE,WHITE,24,0);
^~~~~~~~~~
./src/Hardware\lcd.h(14): note: passing argument to parameter 's' here
void LCD_ShowChinese(uint16_t x,uint16_t y,uint8_t *s,uint16_t fc,uint16_t bc,uint8_t sizey,uint8_t mode);//示执
^
src/hal_entry.c(59): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
LCD_ShowChinese(97 +40 , 97, "",DARKBLUE,WHITE,24,0);
^~~~~~~~
src/hal_entry.c(59): warning: passing 'char[3]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
LCD_ShowChinese(97 +40 , 97, "",DARKBLUE,WHITE,24,0);
^~~~~~~~~~
./src/Hardware\lcd.h(14): note: passing argument to parameter 's' here
void LCD_ShowChinese(uint16_t x,uint16_t y,uint8_t *s,uint16_t fc,uint16_t bc,uint8_t sizey,uint8_t mode);//示执
^
src/hal_entry.c(60): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
LCD_ShowChinese(145+40 ,97, "",DARKBLUE,WHITE,24,0);
^~~~~~~~
src/hal_entry.c(60): warning: passing 'char[3]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
LCD_ShowChinese(145+40 ,97, "",DARKBLUE,WHITE,24,0);
^~~~~~~~~~
./src/Hardware\lcd.h(14): note: passing argument to parameter 's' here
void LCD_ShowChinese(uint16_t x,uint16_t y,uint8_t *s,uint16_t fc,uint16_t bc,uint8_t sizey,uint8_t mode);//示执
^
src/hal_entry.c(62): warning: passing 'char[3]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
LCD_ShowChinese(25 +40, 73,"时",DARKBLUE,WHITE,24,0);
^~~
./src/Hardware\lcd.h(14): note: passing argument to parameter 's' here
void LCD_ShowChinese(uint16_t x,uint16_t y,uint8_t *s,uint16_t fc,uint16_t bc,uint8_t sizey,uint8_t mode);//示执
^
src/hal_entry.c(63): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
LCD_ShowChinese(73 +40, 73,"",DARKBLUE,WHITE,24,0);
^~~~~~~~
src/hal_entry.c(63): warning: passing 'char[3]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
LCD_ShowChinese(73 +40, 73,"",DARKBLUE,WHITE,24,0);
^~~~~~~~~~
./src/Hardware\lcd.h(14): note: passing argument to parameter 's' here
void LCD_ShowChinese(uint16_t x,uint16_t y,uint8_t *s,uint16_t fc,uint16_t bc,uint8_t sizey,uint8_t mode);//示执
^
src/hal_entry.c(64): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
LCD_ShowChinese(121+40, 73,"",DARKBLUE,WHITE,24,0);
^~~~~~~~
src/hal_entry.c(64): warning: passing 'char[3]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
LCD_ShowChinese(121+40, 73,"",DARKBLUE,WHITE,24,0);
^~~~~~~~~~
./src/Hardware\lcd.h(14): note: passing argument to parameter 's' here
void LCD_ShowChinese(uint16_t x,uint16_t y,uint8_t *s,uint16_t fc,uint16_t bc,uint8_t sizey,uint8_t mode);//示执
^
src/hal_entry.c(73): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
LCD_ShowChinese(49, 0, "野", DARKBLUE, WHITE, 24, 0);
^~~~~~~~ ~~~~~~~~~~~~~~~~
src/hal_entry.c(73): warning: passing 'char[9]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
LCD_ShowChinese(49, 0, "野", DARKBLUE, WHITE, 24, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/Hardware\lcd.h(14): note: passing argument to parameter 's' here
void LCD_ShowChinese(uint16_t x,uint16_t y,uint8_t *s,uint16_t fc,uint16_t bc,uint8_t sizey,uint8_t mode);//示执
^
src/hal_entry.c(74): warning: passing 'char[3]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
LCD_ShowString(150,0,"RA",DARKBLUE,WHITE, 24, 0);
^~~~
./src/Hardware\lcd.h(21): note: passing argument to parameter 'p' here
void LCD_ShowString(uint16_t x,uint16_t y,const uint8_t *p,uint16_t fc,uint16_t bc,uint8_t sizey,uint8_t mode);//示址
^
src/hal_entry.c(75): warning: passing 'char[4]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
LCD_ShowString(36,25,"MCU",DARKBLUE,WHITE, 24, 0);
^~~~~
./src/Hardware\lcd.h(21): note: passing argument to parameter 'p' here
void LCD_ShowString(uint16_t x,uint16_t y,const uint8_t *p,uint16_t fc,uint16_t bc,uint8_t sizey,uint8_t mode);//示址
^
src/hal_entry.c(76): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
LCD_ShowChinese(73, 25, "围", DARKBLUE, WHITE, 24, 0);
^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
src/hal_entry.c(76): warning: passing 'char[11]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
LCD_ShowChinese(73, 25, "围", DARKBLUE, WHITE, 24, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/Hardware\lcd.h(14): note: passing argument to parameter 's' here
void LCD_ShowChinese(uint16_t x,uint16_t y,uint8_t *s,uint16_t fc,uint16_t bc,uint8_t sizey,uint8_t mode);//示执
^
src/hal_entry.c(86): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
LCD_ShowChinese(49, 145, "前模式", DARKBLUE, WHITE, 16, 0);
^~~~~~~~
src/hal_entry.c(86): warning: passing 'char[9]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
LCD_ShowChinese(49, 145, "前模式", DARKBLUE, WHITE, 16, 0);
^~~~~~~~~~~~~
./src/Hardware\lcd.h(14): note: passing argument to parameter 's' here
void LCD_ShowChinese(uint16_t x,uint16_t y,uint8_t *s,uint16_t fc,uint16_t bc,uint8_t sizey,uint8_t mode);//示执
^
src/hal_entry.c(87): warning: passing 'char[2]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
LCD_ShowString(113, 145, ":",DARKBLUE,WHITE, 16, 0);
^~~
./src/Hardware\lcd.h(21): note: passing argument to parameter 'p' here
void LCD_ShowString(uint16_t x,uint16_t y,const uint8_t *p,uint16_t fc,uint16_t bc,uint8_t sizey,uint8_t mode);//示址
^
src/hal_entry.c(88): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
LCD_ShowChinese(120, 145, "模式", DARKBLUE, WHITE, 16, 0);
^~~~~~~~~~~~~~~~
src/hal_entry.c(88): warning: passing 'char[9]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
LCD_ShowChinese(120, 145, "模式", DARKBLUE, WHITE, 16, 0);
^~~~~~~~~~~~~~~~~~~~
./src/Hardware\lcd.h(14): note: passing argument to parameter 's' here
void LCD_ShowChinese(uint16_t x,uint16_t y,uint8_t *s,uint16_t fc,uint16_t bc,uint8_t sizey,uint8_t mode);//示执
^
src/hal_entry.c(90): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
LCD_ShowChinese(0, 217-48, "模式", DARKBLUE, WHITE, 16, 0);
^~~~~~~~~~~~~~~~ ~~~~~~~~
src/hal_entry.c(90): warning: passing 'char[11]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
LCD_ShowChinese(0, 217-48, "模式", DARKBLUE, WHITE, 16, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/Hardware\lcd.h(14): note: passing argument to parameter 's' here
void LCD_ShowChinese(uint16_t x,uint16_t y,uint8_t *s,uint16_t fc,uint16_t bc,uint8_t sizey,uint8_t mode);//示执
^
src/hal_entry.c(91): warning: passing 'char[4]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
LCD_ShowString(82, 217-48,"SW2",DARKBLUE,WHITE, 16, 0);
^~~~~
./src/Hardware\lcd.h(21): note: passing argument to parameter 'p' here
void LCD_ShowString(uint16_t x,uint16_t y,const uint8_t *p,uint16_t fc,uint16_t bc,uint8_t sizey,uint8_t mode);//示址
^
src/hal_entry.c(92): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
LCD_ShowChinese(108,217-48, "模式", DARKBLUE, WHITE, 16, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~
src/hal_entry.c(92): warning: passing 'char[17]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
LCD_ShowChinese(108,217-48, "模式", DARKBLUE, WHITE, 16, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/Hardware\lcd.h(14): note: passing argument to parameter 's' here
void LCD_ShowChinese(uint16_t x,uint16_t y,uint8_t *s,uint16_t fc,uint16_t bc,uint8_t sizey,uint8_t mode);//示执
^
src/hal_entry.c(94): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
LCD_ShowChinese(0, 240-48, "模式", DARKBLUE, WHITE, 16, 0);
^~~~ ~~~~~~~~~~~~ ~~~~~~~~
src/hal_entry.c(94): warning: passing 'char[13]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
LCD_ShowChinese(0, 240-48, "模式", DARKBLUE, WHITE, 16, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/Hardware\lcd.h(14): note: passing argument to parameter 's' here
void LCD_ShowChinese(uint16_t x,uint16_t y,uint8_t *s,uint16_t fc,uint16_t bc,uint8_t sizey,uint8_t mode);//示执
^
src/hal_entry.c(95): warning: passing 'char[4]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
LCD_ShowString(98, 240-48,"SW2",DARKBLUE,WHITE, 16, 0);
^~~~~
./src/Hardware\lcd.h(21): note: passing argument to parameter 'p' here
void LCD_ShowString(uint16_t x,uint16_t y,const uint8_t *p,uint16_t fc,uint16_t bc,uint8_t sizey,uint8_t mode);//示址