礦ision Build Log
Tool Versions:
IDE-Version: μVision V5.36.0.0
Copyright (C) 2021 ARM Ltd and ARM Germany GmbH. All rights reserved.
License Information: ll s, stc, LIC=9WSKC-7ZEZR-TGT7T-REIYZ-5YISR-VIVXY
Tool Versions:
Toolchain: MDK-ARM Plus Version: 5.36.0.0
Toolchain Path: C:\Keil_v5\ARM\ARMCLANG\Bin
C Compiler: ArmClang.exe V6.16
Assembler: Armasm.exe V6.16
Linker/Locator: ArmLink.exe V6.16
Library Manager: ArmAr.exe V6.16
Hex Converter: FromElf.exe V6.16
CPU DLL:
Dialog DLL:
Target DLL: UL2V8M.DLL V1.7.0.0
Dialog DLL: TCM.DLL V1.53.0.0
Project:
E:\PROG\STC33\STC33_I2C\template.uvprojx
Project File Date: 04/15/2024
Output:
*** Using Compiler 'V6.16', folder: 'C:\Keil_v5\ARM\ARMCLANG\Bin'
Build target 'Target 1'
USER/main.c(67): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
PrintString1("STC33系硬I2C写AT24C256!\r\n"); //UART1一址
^~~~~~~~ ~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~~~~~
USER/main.c(67): warning: passing 'char [36]' to parameter of type 'u8 *' (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]
PrintString1("STC33系硬I2C写AT24C256!\r\n"); //UART1一址
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
USER/main.c(50): note: passing argument to parameter 'puts' here
void PrintString1(u8 *puts); //一址
^
USER/main.c(68): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
PrintString1("写示: A0 0x0000 AT24C256猿 www.stcai.com\r\n");
^~~~~~~~~~~~~~~~ ~~~~~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~
USER/main.c(68): warning: passing 'char [55]' to parameter of type 'u8 *' (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]
PrintString1("写示: A0 0x0000 AT24C256猿 www.stcai.com\r\n");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
USER/main.c(50): note: passing argument to parameter 'puts' here
void PrintString1(u8 *puts); //一址
^
USER/main.c(69): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
PrintString1("示: A1 0x0000 30\r\n");
^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
USER/main.c(69): warning: passing 'char [27]' to parameter of type 'u8 *' (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]
PrintString1("示: A1 0x0000 30\r\n");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
USER/main.c(50): note: passing argument to parameter 'puts' here
void PrintString1(u8 *puts); //一址
^
USER/main.c(100): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
if(I2C_Error == 0) PrintString1("写!\r\n");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
USER/main.c(100): warning: passing 'char [16]' to parameter of type 'u8 *' (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]
if(I2C_Error == 0) PrintString1("写!\r\n");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
USER/main.c(50): note: passing argument to parameter 'puts' here
void PrintString1(u8 *puts); //一址
^
USER/main.c(101): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
else PrintString1("I2C应!\r\n");
^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
USER/main.c(101): warning: passing 'char [17]' to parameter of type 'u8 *' (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]
else PrintString1("I2C应!\r\n");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
USER/main.c(50): note: passing argument to parameter 'puts' here
void PrintString1(u8 *puts); //一址
^
USER/main.c(109): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
if(I2C_Error != 0) PrintString1("I2C应!\r\n");
^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
USER/main.c(109): warning: passing 'char [17]' to parameter of type 'u8 *' (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]
if(I2C_Error != 0) PrintString1("I2C应!\r\n");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
USER/main.c(50): note: passing argument to parameter 'puts' here
void PrintString1(u8 *puts); //一址
^
USER/main.c(112): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
PrintString1("拢\r\n");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~
USER/main.c(112): warning: passing 'char [19]' to parameter of type 'u8 *' (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]
PrintString1("拢\r\n");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
USER/main.c(50): note: passing argument to parameter 'puts' here
void PrintString1(u8 *puts); //一址
^
USER/main.c(119): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
else PrintString1("!\r\n");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
USER/main.c(119): warning: passing 'char [12]' to parameter of type 'u8 *' (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]
else PrintString1("!\r\n");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
USER/main.c(50): note: passing argument to parameter 'puts' here
void PrintString1(u8 *puts); //一址