礦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); // ^ USER/main.c(121): warning: illegal character encoding in string literal [-Winvalid-source-encoding] else PrintString1("!\r\n"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ USER/main.c(121): 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); // ^ 18 warnings generated. compiling main.c... linking... Program Size: Code=7340 RO-data=664 RW-data=4 ZI-data=1572 FromELF: creating hex file... After Build - User command #2: fromelf --bin -o "E:\PROG\STC33\STC33_I2C\Objects\ROM.bin" "E:\PROG\STC33\STC33_I2C\Objects\ROM.axf" ".\Objects\ROM.axf" - 0 Error(s), 18 Warning(s).

Software Packages used:

Package Vendor: ARM http://www.keil.com/pack/ARM.CMSIS.5.8.0.pack ARM.CMSIS.5.8.0 CMSIS (Common Microcontroller Software Interface Standard)

Collection of Component include folders:

C:\Users\coody\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\Device\ARM\ARMv8MML\Include

Collection of Component Files used:

Build Time Elapsed: 00:00:02