chen
2024-11-01 631a90c1116fa33382a88a747c89bf761bc0fa9b
dualboots_Gai_youhua/keil/customboot/Objects/customboot.build_log.htm
文件名从 dualboots_Gai_youhua_anbang_tag/keil/customboot/Objects/customboot.build_log.htm 修改
@@ -21,29 +21,12 @@
Dialog DLL:      TARMCM1.DLL V1.14.2.0
 
<h2>Project:</h2>
D:\project chen\anbang_Anchor\ChinaUWBProject\dualboots_Gai_youhua_anbang_tag\keil\customboot\customboot.uvprojx
D:\project chen\anbang_Anchor\ChinaUWBProject\dualboots_Gai_youhua\keil\customboot\customboot.uvprojx
Project File Date:  11/01/2024
<h2>Output:</h2>
*** Using Compiler 'V6.14', folder: 'd:\Keil_v5\ARM\ARMCLANG\Bin'
Rebuild target 'MK8000 Release'
compiling startup_MK800X.c...
include/drivers/mk_gpio.c(41): warning: In file included from...
./include/drivers/mk_gpio.h(43): warning: In file included from...
./include/drivers/mk_common.h(53): warning: In file included from...
../../src/customboot\user_config.h(32): warning: 'XTAL32K_EN' is not defined, evaluates to 0 [-Wundef]
#if XTAL32K_EN
    ^
1 warning generated.
compiling mk_gpio.c...
include/drivers/mk_clock.c(41): warning: In file included from...
./include/drivers/mk_clock.h(43): warning: In file included from...
./include/drivers/mk_common.h(53): warning: In file included from...
../../src/customboot\user_config.h(32): warning: 'XTAL32K_EN' is not defined, evaluates to 0 [-Wundef]
#if XTAL32K_EN
    ^
1 warning generated.
compiling mk_clock.c...
include/drivers/mk_calib.c(41): warning: In file included from...
./include/drivers/mk_calib.h(43): warning: In file included from...
./include/drivers/mk_common.h(53): warning: In file included from...
@@ -58,30 +41,6 @@
     ^
3 warnings generated.
compiling mk_calib.c...
include/drivers/mk_power.c(41): warning: In file included from...
./include/drivers/mk_power.h(43): warning: In file included from...
./include/drivers/mk_common.h(53): warning: In file included from...
../../src/customboot\user_config.h(32): warning: 'XTAL32K_EN' is not defined, evaluates to 0 [-Wundef]
#if XTAL32K_EN
    ^
1 warning generated.
compiling mk_power.c...
include/drivers/mk_misc.c(41): warning: In file included from...
./include/drivers/mk_misc.h(43): warning: In file included from...
./include/drivers/mk_common.h(53): warning: In file included from...
../../src/customboot\user_config.h(32): warning: 'XTAL32K_EN' is not defined, evaluates to 0 [-Wundef]
#if XTAL32K_EN
    ^
1 warning generated.
compiling mk_misc.c...
include/drivers/mk_reset.c(41): warning: In file included from...
./include/drivers/mk_reset.h(43): warning: In file included from...
./include/drivers/mk_common.h(53): warning: In file included from...
../../src/customboot\user_config.h(32): warning: 'XTAL32K_EN' is not defined, evaluates to 0 [-Wundef]
#if XTAL32K_EN
    ^
1 warning generated.
compiling mk_reset.c...
include/drivers/mk_dma.c(41): warning: In file included from...
./include/drivers/mk_dma.h(43): warning: In file included from...
./include/drivers/mk_common.h(53): warning: In file included from...
@@ -90,31 +49,30 @@
    ^
1 warning generated.
compiling mk_dma.c...
include/drivers/mk_wdt.c(41): warning: In file included from...
./include/drivers/mk_wdt.h(43): warning: In file included from...
include/drivers/mk_misc.c(41): warning: In file included from...
./include/drivers/mk_misc.h(43): warning: In file included from...
./include/drivers/mk_common.h(53): warning: In file included from...
../../src/customboot\user_config.h(32): warning: 'XTAL32K_EN' is not defined, evaluates to 0 [-Wundef]
#if XTAL32K_EN
    ^
1 warning generated.
compiling mk_wdt.c...
include/drivers/mk_io.c(41): warning: In file included from...
./include/drivers/mk_io.h(44): warning: In file included from...
compiling mk_misc.c...
include/drivers/mk_clock.c(41): warning: In file included from...
./include/drivers/mk_clock.h(43): warning: In file included from...
./include/drivers/mk_common.h(53): warning: In file included from...
../../src/customboot\user_config.h(32): warning: 'XTAL32K_EN' is not defined, evaluates to 0 [-Wundef]
#if XTAL32K_EN
    ^
1 warning generated.
compiling mk_io.c...
compiling system_MK800X.c...
include/drivers/mk_flash.c(41): warning: In file included from...
./include/drivers/mk_flash.h(44): warning: In file included from...
compiling mk_clock.c...
include/drivers/mk_reset.c(41): warning: In file included from...
./include/drivers/mk_reset.h(43): warning: In file included from...
./include/drivers/mk_common.h(53): warning: In file included from...
../../src/customboot\user_config.h(32): warning: 'XTAL32K_EN' is not defined, evaluates to 0 [-Wundef]
#if XTAL32K_EN
    ^
1 warning generated.
compiling mk_flash.c...
compiling mk_reset.c...
include/drivers/mk_uart.c(41): warning: In file included from...
./include/drivers/mk_uart.h(43): warning: In file included from...
./include/drivers/mk_common.h(53): warning: In file included from...
@@ -123,6 +81,276 @@
    ^
1 warning generated.
compiling mk_uart.c...
include/drivers/mk_io.c(41): warning: In file included from...
./include/drivers/mk_io.h(44): warning: In file included from...
./include/drivers/mk_common.h(53): warning: In file included from...
../../src/customboot\user_config.h(32): warning: 'XTAL32K_EN' is not defined, evaluates to 0 [-Wundef]
#if XTAL32K_EN
    ^
1 warning generated.
compiling mk_io.c...
include/drivers/aes.c(4): warning: no previous extern declaration for non-static variable 'kTable' [-Wmissing-variable-declarations]
const unsigned char kTable[32] =
                    ^
include/drivers/aes.c(4): note: declare 'static' if the variable is not intended to be used outside of this translation unit
const unsigned char kTable[32] =
      ^
include/drivers/aes.c(25): warning: declaration shadows a variable in the global scope [-Wshadow]
void CalcPowLog(unsigned char *powTbl, unsigned char *logTbl)
                               ^
include/drivers/aes.c(19): note: previous declaration is here
unsigned char *powTbl; //!< Final location of exponentiation lookup table.
               ^
include/drivers/aes.c(25): warning: declaration shadows a variable in the global scope [-Wshadow]
void CalcPowLog(unsigned char *powTbl, unsigned char *logTbl)
                                                      ^
include/drivers/aes.c(20): note: previous declaration is here
unsigned char *logTbl; //!< Final location of logarithm lookup table.
               ^
include/drivers/aes.c(25): warning: no previous prototype for function 'CalcPowLog' [-Wmissing-prototypes]
void CalcPowLog(unsigned char *powTbl, unsigned char *logTbl)
     ^
include/drivers/aes.c(25): note: declare 'static' if the function is not intended to be used outside of this translation unit
void CalcPowLog(unsigned char *powTbl, unsigned char *logTbl)
^
static
include/drivers/aes.c(45): warning: declaration shadows a variable in the global scope [-Wshadow]
void CalcSBox( unsigned char * sBox )
                               ^
include/drivers/aes.c(21): note: previous declaration is here
unsigned char *sBox; //!< Final location of s-box.
               ^
include/drivers/aes.c(69): warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
      temp = (temp<<1) | (temp>>7);
           ~ ~~~~~~~~~~^~~~~~~~~~~
include/drivers/aes.c(45): warning: no previous prototype for function 'CalcSBox' [-Wmissing-prototypes]
void CalcSBox( unsigned char * sBox )
     ^
include/drivers/aes.c(45): note: declare 'static' if the function is not intended to be used outside of this translation unit
void CalcSBox( unsigned char * sBox )
^
static
include/drivers/aes.c(82): warning: declaration shadows a variable in the global scope [-Wshadow]
void CalcSBoxInv( unsigned char * sBox, unsigned char * sBoxInv )
                                  ^
include/drivers/aes.c(21): note: previous declaration is here
unsigned char *sBox; //!< Final location of s-box.
               ^
include/drivers/aes.c(82): warning: declaration shadows a variable in the global scope [-Wshadow]
void CalcSBoxInv( unsigned char * sBox, unsigned char * sBoxInv )
                                                        ^
include/drivers/aes.c(22): note: previous declaration is here
unsigned char *sBoxInv; //!< Final location of inverse s-box.
               ^
include/drivers/aes.c(82): warning: no previous prototype for function 'CalcSBoxInv' [-Wmissing-prototypes]
void CalcSBoxInv( unsigned char * sBox, unsigned char * sBoxInv )
     ^
include/drivers/aes.c(82): note: declare 'static' if the function is not intended to be used outside of this translation unit
void CalcSBoxInv( unsigned char * sBox, unsigned char * sBoxInv )
^
static
include/drivers/aes.c(104): warning: no previous prototype for function 'CycleLeft' [-Wmissing-prototypes]
void CycleLeft( unsigned char * row )
     ^
include/drivers/aes.c(104): note: declare 'static' if the function is not intended to be used outside of this translation unit
void CycleLeft( unsigned char * row )
^
static
include/drivers/aes.c(122): warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
    *col = (*col << 1) ^ (*col & 0x80 ? BPOLY : 0);
         ~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
include/drivers/aes.c(116): warning: no previous prototype for function 'CalcCols' [-Wmissing-prototypes]
void CalcCols(unsigned char *col)
     ^
include/drivers/aes.c(116): note: declare 'static' if the function is not intended to be used outside of this translation unit
void CalcCols(unsigned char *col)
^
static
include/drivers/aes.c(127): warning: no previous prototype for function 'InvMixColumn' [-Wmissing-prototypes]
void InvMixColumn( unsigned char * column )
     ^
include/drivers/aes.c(127): note: declare 'static' if the function is not intended to be used outside of this translation unit
void InvMixColumn( unsigned char * column )
^
static
include/drivers/aes.c(180): warning: no previous prototype for function 'SubBytes' [-Wmissing-prototypes]
void SubBytes( unsigned char * bytes, unsigned char count )
     ^
include/drivers/aes.c(180): note: declare 'static' if the function is not intended to be used outside of this translation unit
void SubBytes( unsigned char * bytes, unsigned char count )
^
static
include/drivers/aes.c(190): warning: no previous prototype for function 'InvSubBytesAndXOR' [-Wmissing-prototypes]
void InvSubBytesAndXOR( unsigned char * bytes, unsigned char * key, unsigned char count )
     ^
include/drivers/aes.c(190): note: declare 'static' if the function is not intended to be used outside of this translation unit
void InvSubBytesAndXOR( unsigned char * bytes, unsigned char * key, unsigned char count )
^
static
include/drivers/aes.c(201): warning: no previous prototype for function 'InvShiftRows' [-Wmissing-prototypes]
void InvShiftRows( unsigned char * state )
     ^
include/drivers/aes.c(201): note: declare 'static' if the function is not intended to be used outside of this translation unit
void InvShiftRows( unsigned char * state )
^
static
include/drivers/aes.c(242): warning: no previous prototype for function 'XORBytes' [-Wmissing-prototypes]
void XORBytes( unsigned char * bytes1, unsigned char * bytes2, unsigned char count )
     ^
include/drivers/aes.c(242): note: declare 'static' if the function is not intended to be used outside of this translation unit
void XORBytes( unsigned char * bytes1, unsigned char * bytes2, unsigned char count )
^
static
include/drivers/aes.c(253): warning: no previous prototype for function 'CopyBytes' [-Wmissing-prototypes]
void CopyBytes( unsigned char * to, unsigned char * from, unsigned char count )
     ^
include/drivers/aes.c(253): note: declare 'static' if the function is not intended to be used outside of this translation unit
void CopyBytes( unsigned char * to, unsigned char * from, unsigned char count )
^
static
include/drivers/aes.c(264): warning: declaration shadows a variable in the global scope [-Wshadow]
void KeyExpansion( unsigned char * expandedKey )
                                   ^
include/drivers/aes.c(23): note: previous declaration is here
unsigned char *expandedKey; //!< Final location of expanded key.
               ^
include/drivers/aes.c(299): warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
      *Rcon = (*Rcon << 1) ^ (*Rcon & 0x80 ? BPOLY : 0);
            ~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/drivers/aes.c(264): warning: no previous prototype for function 'KeyExpansion' [-Wmissing-prototypes]
void KeyExpansion( unsigned char * expandedKey )
     ^
include/drivers/aes.c(264): note: declare 'static' if the function is not intended to be used outside of this translation unit
void KeyExpansion( unsigned char * expandedKey )
^
static
include/drivers/aes.c(327): warning: declaration shadows a variable in the global scope [-Wshadow]
void InvCipher( unsigned char * block, unsigned char * expandedKey )
                                                       ^
include/drivers/aes.c(23): note: previous declaration is here
unsigned char *expandedKey; //!< Final location of expanded key.
               ^
include/drivers/aes.c(327): warning: no previous prototype for function 'InvCipher' [-Wmissing-prototypes]
void InvCipher( unsigned char * block, unsigned char * expandedKey )
     ^
include/drivers/aes.c(327): note: declare 'static' if the function is not intended to be used outside of this translation unit
void InvCipher( unsigned char * block, unsigned char * expandedKey )
^
static
include/drivers/aes.c(393): warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
    num = (num << 1) ^ (num & 0x80 ? BPOLY : 0);
        ~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
include/drivers/aes.c(375): warning: no previous prototype for function 'Multiply' [-Wmissing-prototypes]
unsigned char Multiply( unsigned char num, unsigned char factor )
              ^
include/drivers/aes.c(375): note: declare 'static' if the function is not intended to be used outside of this translation unit
unsigned char Multiply( unsigned char num, unsigned char factor )
^
static
include/drivers/aes.c(400): warning: no previous prototype for function 'DotProduct' [-Wmissing-prototypes]
unsigned char DotProduct( const unsigned char * vector1, unsigned char * vector2 )
              ^
include/drivers/aes.c(400): note: declare 'static' if the function is not intended to be used outside of this translation unit
unsigned char DotProduct( const unsigned char * vector1, unsigned char * vector2 )
^
static
include/drivers/aes.c(416): warning: no previous prototype for function 'MixColumn' [-Wmissing-prototypes]
void MixColumn( unsigned char * column )
     ^
include/drivers/aes.c(416): note: declare 'static' if the function is not intended to be used outside of this translation unit
void MixColumn( unsigned char * column )
^
static
include/drivers/aes.c(447): warning: no previous prototype for function 'ShiftRows' [-Wmissing-prototypes]
void ShiftRows( unsigned char * state )
     ^
include/drivers/aes.c(447): note: declare 'static' if the function is not intended to be used outside of this translation unit
void ShiftRows( unsigned char * state )
^
static
include/drivers/aes.c(477): warning: declaration shadows a variable in the global scope [-Wshadow]
void Cipher( unsigned char * block, unsigned char * expandedKey )
                                                    ^
include/drivers/aes.c(23): note: previous declaration is here
unsigned char *expandedKey; //!< Final location of expanded key.
               ^
include/drivers/aes.c(477): warning: no previous prototype for function 'Cipher' [-Wmissing-prototypes]
void Cipher( unsigned char * block, unsigned char * expandedKey )
     ^
include/drivers/aes.c(477): note: declare 'static' if the function is not intended to be used outside of this translation unit
void Cipher( unsigned char * block, unsigned char * expandedKey )
^
static
include/drivers/aes.c(15): warning: no previous extern declaration for non-static variable 'block1' [-Wmissing-variable-declarations]
unsigned char block1[256]; //!< Workspace 1.
              ^
include/drivers/aes.c(15): note: declare 'static' if the variable is not intended to be used outside of this translation unit
unsigned char block1[256]; //!< Workspace 1.
^
include/drivers/aes.c(16): warning: no previous extern declaration for non-static variable 'block2' [-Wmissing-variable-declarations]
unsigned char block2[256]; //!< Worksapce 2.
              ^
include/drivers/aes.c(16): note: declare 'static' if the variable is not intended to be used outside of this translation unit
unsigned char block2[256]; //!< Worksapce 2.
^
include/drivers/aes.c(17): warning: no previous extern declaration for non-static variable 'tempbuf' [-Wmissing-variable-declarations]
unsigned char tempbuf[256];
              ^
include/drivers/aes.c(17): note: declare 'static' if the variable is not intended to be used outside of this translation unit
unsigned char tempbuf[256];
^
include/drivers/aes.c(19): warning: no previous extern declaration for non-static variable 'powTbl' [-Wmissing-variable-declarations]
unsigned char *powTbl; //!< Final location of exponentiation lookup table.
               ^
include/drivers/aes.c(19): note: declare 'static' if the variable is not intended to be used outside of this translation unit
unsigned char *powTbl; //!< Final location of exponentiation lookup table.
^
include/drivers/aes.c(20): warning: no previous extern declaration for non-static variable 'logTbl' [-Wmissing-variable-declarations]
unsigned char *logTbl; //!< Final location of logarithm lookup table.
               ^
include/drivers/aes.c(20): note: declare 'static' if the variable is not intended to be used outside of this translation unit
unsigned char *logTbl; //!< Final location of logarithm lookup table.
^
include/drivers/aes.c(21): warning: no previous extern declaration for non-static variable 'sBox' [-Wmissing-variable-declarations]
unsigned char *sBox; //!< Final location of s-box.
               ^
include/drivers/aes.c(21): note: declare 'static' if the variable is not intended to be used outside of this translation unit
unsigned char *sBox; //!< Final location of s-box.
^
include/drivers/aes.c(22): warning: no previous extern declaration for non-static variable 'sBoxInv' [-Wmissing-variable-declarations]
unsigned char *sBoxInv; //!< Final location of inverse s-box.
               ^
include/drivers/aes.c(22): note: declare 'static' if the variable is not intended to be used outside of this translation unit
unsigned char *sBoxInv; //!< Final location of inverse s-box.
^
38 warnings generated.
compiling aes.c...
compiling startup_MK800X.c...
compiling system_MK800X.c...
include/drivers/mk_power.c(41): warning: In file included from...
./include/drivers/mk_power.h(43): warning: In file included from...
./include/drivers/mk_common.h(53): warning: In file included from...
../../src/customboot\user_config.h(32): warning: 'XTAL32K_EN' is not defined, evaluates to 0 [-Wundef]
#if XTAL32K_EN
    ^
1 warning generated.
compiling mk_power.c...
include/drivers/mk_gpio.c(41): warning: In file included from...
./include/drivers/mk_gpio.h(43): warning: In file included from...
./include/drivers/mk_common.h(53): warning: In file included from...
../../src/customboot\user_config.h(32): warning: 'XTAL32K_EN' is not defined, evaluates to 0 [-Wundef]
#if XTAL32K_EN
    ^
1 warning generated.
compiling mk_gpio.c...
include/drivers/mk_wdt.c(41): warning: In file included from...
./include/drivers/mk_wdt.h(43): warning: In file included from...
./include/drivers/mk_common.h(53): warning: In file included from...
../../src/customboot\user_config.h(32): warning: 'XTAL32K_EN' is not defined, evaluates to 0 [-Wundef]
#if XTAL32K_EN
    ^
1 warning generated.
compiling mk_wdt.c...
include/drivers/mk_dual_timer.c(41): warning: In file included from...
./include/drivers/mk_dual_timer.h(43): warning: In file included from...
./include/drivers/mk_common.h(53): warning: In file included from...
@@ -234,258 +462,14 @@
^
17 warnings generated.
compiling menu.c...
include/drivers/aes.c(4): warning: no previous extern declaration for non-static variable 'kTable' [-Wmissing-variable-declarations]
const unsigned char kTable[32] =
                    ^
include/drivers/aes.c(4): note: declare 'static' if the variable is not intended to be used outside of this translation unit
const unsigned char kTable[32] =
      ^
include/drivers/aes.c(25): warning: declaration shadows a variable in the global scope [-Wshadow]
void CalcPowLog(unsigned char *powTbl, unsigned char *logTbl)
                               ^
include/drivers/aes.c(19): note: previous declaration is here
unsigned char *powTbl; //!< Final location of exponentiation lookup table.
               ^
include/drivers/aes.c(25): warning: declaration shadows a variable in the global scope [-Wshadow]
void CalcPowLog(unsigned char *powTbl, unsigned char *logTbl)
                                                      ^
include/drivers/aes.c(20): note: previous declaration is here
unsigned char *logTbl; //!< Final location of logarithm lookup table.
               ^
include/drivers/aes.c(25): warning: no previous prototype for function 'CalcPowLog' [-Wmissing-prototypes]
void CalcPowLog(unsigned char *powTbl, unsigned char *logTbl)
     ^
include/drivers/aes.c(25): note: declare 'static' if the function is not intended to be used outside of this translation unit
void CalcPowLog(unsigned char *powTbl, unsigned char *logTbl)
^
static
include/drivers/aes.c(45): warning: declaration shadows a variable in the global scope [-Wshadow]
void CalcSBox( unsigned char * sBox )
                               ^
include/drivers/aes.c(21): note: previous declaration is here
unsigned char *sBox; //!< Final location of s-box.
               ^
include/drivers/aes.c(69): warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
            temp = (temp<<1) | (temp>>7);
                 ~ ~~~~~~~~~~^~~~~~~~~~~
include/drivers/aes.c(45): warning: no previous prototype for function 'CalcSBox' [-Wmissing-prototypes]
void CalcSBox( unsigned char * sBox )
     ^
include/drivers/aes.c(45): note: declare 'static' if the function is not intended to be used outside of this translation unit
void CalcSBox( unsigned char * sBox )
^
static
include/drivers/aes.c(82): warning: declaration shadows a variable in the global scope [-Wshadow]
void CalcSBoxInv( unsigned char * sBox, unsigned char * sBoxInv )
                                  ^
include/drivers/aes.c(21): note: previous declaration is here
unsigned char *sBox; //!< Final location of s-box.
               ^
include/drivers/aes.c(82): warning: declaration shadows a variable in the global scope [-Wshadow]
void CalcSBoxInv( unsigned char * sBox, unsigned char * sBoxInv )
                                                        ^
include/drivers/aes.c(22): note: previous declaration is here
unsigned char *sBoxInv; //!< Final location of inverse s-box.
               ^
include/drivers/aes.c(82): warning: no previous prototype for function 'CalcSBoxInv' [-Wmissing-prototypes]
void CalcSBoxInv( unsigned char * sBox, unsigned char * sBoxInv )
     ^
include/drivers/aes.c(82): note: declare 'static' if the function is not intended to be used outside of this translation unit
void CalcSBoxInv( unsigned char * sBox, unsigned char * sBoxInv )
^
static
include/drivers/aes.c(104): warning: no previous prototype for function 'CycleLeft' [-Wmissing-prototypes]
void CycleLeft( unsigned char * row )
     ^
include/drivers/aes.c(104): note: declare 'static' if the function is not intended to be used outside of this translation unit
void CycleLeft( unsigned char * row )
^
static
include/drivers/aes.c(122): warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
        *col = (*col << 1) ^ (*col & 0x80 ? BPOLY : 0);
             ~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
include/drivers/aes.c(116): warning: no previous prototype for function 'CalcCols' [-Wmissing-prototypes]
void CalcCols(unsigned char *col)
     ^
include/drivers/aes.c(116): note: declare 'static' if the function is not intended to be used outside of this translation unit
void CalcCols(unsigned char *col)
^
static
include/drivers/aes.c(127): warning: no previous prototype for function 'InvMixColumn' [-Wmissing-prototypes]
void InvMixColumn( unsigned char * column )
     ^
include/drivers/aes.c(127): note: declare 'static' if the function is not intended to be used outside of this translation unit
void InvMixColumn( unsigned char * column )
^
static
include/drivers/aes.c(180): warning: no previous prototype for function 'SubBytes' [-Wmissing-prototypes]
void SubBytes( unsigned char * bytes, unsigned char count )
     ^
include/drivers/aes.c(180): note: declare 'static' if the function is not intended to be used outside of this translation unit
void SubBytes( unsigned char * bytes, unsigned char count )
^
static
include/drivers/aes.c(190): warning: no previous prototype for function 'InvSubBytesAndXOR' [-Wmissing-prototypes]
void InvSubBytesAndXOR( unsigned char * bytes, unsigned char * key, unsigned char count )
     ^
include/drivers/aes.c(190): note: declare 'static' if the function is not intended to be used outside of this translation unit
void InvSubBytesAndXOR( unsigned char * bytes, unsigned char * key, unsigned char count )
^
static
include/drivers/aes.c(201): warning: no previous prototype for function 'InvShiftRows' [-Wmissing-prototypes]
void InvShiftRows( unsigned char * state )
     ^
include/drivers/aes.c(201): note: declare 'static' if the function is not intended to be used outside of this translation unit
void InvShiftRows( unsigned char * state )
^
static
include/drivers/aes.c(242): warning: no previous prototype for function 'XORBytes' [-Wmissing-prototypes]
void XORBytes( unsigned char * bytes1, unsigned char * bytes2, unsigned char count )
     ^
include/drivers/aes.c(242): note: declare 'static' if the function is not intended to be used outside of this translation unit
void XORBytes( unsigned char * bytes1, unsigned char * bytes2, unsigned char count )
^
static
include/drivers/aes.c(253): warning: no previous prototype for function 'CopyBytes' [-Wmissing-prototypes]
void CopyBytes( unsigned char * to, unsigned char * from, unsigned char count )
     ^
include/drivers/aes.c(253): note: declare 'static' if the function is not intended to be used outside of this translation unit
void CopyBytes( unsigned char * to, unsigned char * from, unsigned char count )
^
static
include/drivers/aes.c(264): warning: declaration shadows a variable in the global scope [-Wshadow]
void KeyExpansion( unsigned char * expandedKey )
                                   ^
include/drivers/aes.c(23): note: previous declaration is here
unsigned char *expandedKey; //!< Final location of expanded key.
               ^
include/drivers/aes.c(299): warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
            *Rcon = (*Rcon << 1) ^ (*Rcon & 0x80 ? BPOLY : 0);
                  ~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/drivers/aes.c(264): warning: no previous prototype for function 'KeyExpansion' [-Wmissing-prototypes]
void KeyExpansion( unsigned char * expandedKey )
     ^
include/drivers/aes.c(264): note: declare 'static' if the function is not intended to be used outside of this translation unit
void KeyExpansion( unsigned char * expandedKey )
^
static
include/drivers/aes.c(327): warning: declaration shadows a variable in the global scope [-Wshadow]
void InvCipher( unsigned char * block, unsigned char * expandedKey )
                                                       ^
include/drivers/aes.c(23): note: previous declaration is here
unsigned char *expandedKey; //!< Final location of expanded key.
               ^
include/drivers/aes.c(327): warning: no previous prototype for function 'InvCipher' [-Wmissing-prototypes]
void InvCipher( unsigned char * block, unsigned char * expandedKey )
     ^
include/drivers/aes.c(327): note: declare 'static' if the function is not intended to be used outside of this translation unit
void InvCipher( unsigned char * block, unsigned char * expandedKey )
^
static
include/drivers/aes.c(393): warning: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Wimplicit-int-conversion]
        num = (num << 1) ^ (num & 0x80 ? BPOLY : 0);
            ~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
include/drivers/aes.c(375): warning: no previous prototype for function 'Multiply' [-Wmissing-prototypes]
unsigned char Multiply( unsigned char num, unsigned char factor )
              ^
include/drivers/aes.c(375): note: declare 'static' if the function is not intended to be used outside of this translation unit
unsigned char Multiply( unsigned char num, unsigned char factor )
^
static
include/drivers/aes.c(400): warning: no previous prototype for function 'DotProduct' [-Wmissing-prototypes]
unsigned char DotProduct( const unsigned char * vector1, unsigned char * vector2 )
              ^
include/drivers/aes.c(400): note: declare 'static' if the function is not intended to be used outside of this translation unit
unsigned char DotProduct( const unsigned char * vector1, unsigned char * vector2 )
^
static
include/drivers/aes.c(416): warning: no previous prototype for function 'MixColumn' [-Wmissing-prototypes]
void MixColumn( unsigned char * column )
     ^
include/drivers/aes.c(416): note: declare 'static' if the function is not intended to be used outside of this translation unit
void MixColumn( unsigned char * column )
^
static
include/drivers/aes.c(447): warning: no previous prototype for function 'ShiftRows' [-Wmissing-prototypes]
void ShiftRows( unsigned char * state )
     ^
include/drivers/aes.c(447): note: declare 'static' if the function is not intended to be used outside of this translation unit
void ShiftRows( unsigned char * state )
^
static
include/drivers/aes.c(477): warning: declaration shadows a variable in the global scope [-Wshadow]
void Cipher( unsigned char * block, unsigned char * expandedKey )
                                                    ^
include/drivers/aes.c(23): note: previous declaration is here
unsigned char *expandedKey; //!< Final location of expanded key.
               ^
include/drivers/aes.c(477): warning: no previous prototype for function 'Cipher' [-Wmissing-prototypes]
void Cipher( unsigned char * block, unsigned char * expandedKey )
     ^
include/drivers/aes.c(477): note: declare 'static' if the function is not intended to be used outside of this translation unit
void Cipher( unsigned char * block, unsigned char * expandedKey )
^
static
include/drivers/aes.c(15): warning: no previous extern declaration for non-static variable 'block1' [-Wmissing-variable-declarations]
unsigned char block1[256]; //!< Workspace 1.
              ^
include/drivers/aes.c(15): note: declare 'static' if the variable is not intended to be used outside of this translation unit
unsigned char block1[256]; //!< Workspace 1.
^
include/drivers/aes.c(16): warning: no previous extern declaration for non-static variable 'block2' [-Wmissing-variable-declarations]
unsigned char block2[256]; //!< Worksapce 2.
              ^
include/drivers/aes.c(16): note: declare 'static' if the variable is not intended to be used outside of this translation unit
unsigned char block2[256]; //!< Worksapce 2.
^
include/drivers/aes.c(17): warning: no previous extern declaration for non-static variable 'tempbuf' [-Wmissing-variable-declarations]
unsigned char tempbuf[256];
              ^
include/drivers/aes.c(17): note: declare 'static' if the variable is not intended to be used outside of this translation unit
unsigned char tempbuf[256];
^
include/drivers/aes.c(19): warning: no previous extern declaration for non-static variable 'powTbl' [-Wmissing-variable-declarations]
unsigned char *powTbl; //!< Final location of exponentiation lookup table.
               ^
include/drivers/aes.c(19): note: declare 'static' if the variable is not intended to be used outside of this translation unit
unsigned char *powTbl; //!< Final location of exponentiation lookup table.
^
include/drivers/aes.c(20): warning: no previous extern declaration for non-static variable 'logTbl' [-Wmissing-variable-declarations]
unsigned char *logTbl; //!< Final location of logarithm lookup table.
               ^
include/drivers/aes.c(20): note: declare 'static' if the variable is not intended to be used outside of this translation unit
unsigned char *logTbl; //!< Final location of logarithm lookup table.
^
include/drivers/aes.c(21): warning: no previous extern declaration for non-static variable 'sBox' [-Wmissing-variable-declarations]
unsigned char *sBox; //!< Final location of s-box.
               ^
include/drivers/aes.c(21): note: declare 'static' if the variable is not intended to be used outside of this translation unit
unsigned char *sBox; //!< Final location of s-box.
^
include/drivers/aes.c(22): warning: no previous extern declaration for non-static variable 'sBoxInv' [-Wmissing-variable-declarations]
unsigned char *sBoxInv; //!< Final location of inverse s-box.
               ^
include/drivers/aes.c(22): note: declare 'static' if the variable is not intended to be used outside of this translation unit
unsigned char *sBoxInv; //!< Final location of inverse s-box.
^
38 warnings generated.
compiling aes.c...
../../src/customboot/pin_config.c(41): warning: In file included from...
./include/drivers\mk_io.h(44): warning: In file included from...
include/drivers/mk_flash.c(41): warning: In file included from...
./include/drivers/mk_flash.h(44): warning: In file included from...
./include/drivers/mk_common.h(53): warning: In file included from...
../../src/customboot\user_config.h(32): warning: 'XTAL32K_EN' is not defined, evaluates to 0 [-Wundef]
#if XTAL32K_EN
    ^
1 warning generated.
compiling pin_config.c...
include/board/board.c(41): warning: In file included from...
./include/board/board.h(44): warning: In file included from...
./include/drivers\mk_common.h(53): warning: In file included from...
../../src/customboot\user_config.h(32): warning: 'XTAL32K_EN' is not defined, evaluates to 0 [-Wundef]
#if XTAL32K_EN
    ^
1 warning generated.
compiling board.c...
compiling mk_flash.c...
../../src/customboot/customboot.c(7): warning: In file included from...
./include/drivers\mk_flash.h(44): warning: In file included from...
./include/drivers/mk_common.h(53): warning: In file included from...
@@ -530,39 +514,39 @@
uint8_t trx_buf[10] = {0};
^
../../src/customboot/customboot.c(165): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
                 Serial0PutString("MK8000-BootLoader-V1.0<C6><F4><B6><AF>\r\n");
                                                         ^~~~~~~~~~~~~~~~
./include/drivers/mk_uart.h(70): note: expanded from macro 'Serial0PutString'
#define Serial0PutString(x)   Serial0_PutString((uint8_t*)(x))
                                                           ^
../../src/customboot/customboot.c(182): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
        Serial0PutString("<B4><AE><BF><DA><C9><FD><BC><B6><C6><F4><B6><AF>\r\n");
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/drivers/mk_uart.h(70): note: expanded from macro 'Serial0PutString'
#define Serial0PutString(x)   Serial0_PutString((uint8_t*)(x))
                                                           ^
../../src/customboot/customboot.c(194): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
                 SerialPutString("MK8000-BootLoader-V1.0<C6><F4><B6><AF>\r\n");
                                                        ^~~~~~~~~~~~~~~~
./include/drivers/mk_uart.h(69): note: expanded from macro 'SerialPutString'
#define SerialPutString(x)   Serial_PutString((uint8_t*)(x))
                                                         ^
../../src/customboot/customboot.c(183): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
        SerialPutString("<B4><AE><BF><DA><C9><FD><BC><B6><C6><F4><B6><AF>\r\n");
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/drivers/mk_uart.h(69): note: expanded from macro 'SerialPutString'
#define SerialPutString(x)   Serial_PutString((uint8_t*)(x))
                                                         ^
../../src/customboot/customboot.c(195): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
        SerialPutString("<CD><F8><C2><E7><C9><FD><BC><B6><C6><F4><B6><AF><C6><F4><B6><AF>\r\n");
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/drivers/mk_uart.h(69): note: expanded from macro 'SerialPutString'
#define SerialPutString(x)   Serial_PutString((uint8_t*)(x))
                                                         ^
../../src/customboot/customboot.c(228): warning: implicit declaration of function 'delay_ms' is invalid in C99 [-Wimplicit-function-declaration]
../../src/customboot/customboot.c(229): warning: implicit declaration of function 'delay_ms' is invalid in C99 [-Wimplicit-function-declaration]
                                delay_ms(500);
                                ^
../../src/customboot/customboot.c(191): warning: unused variable 'JumpAddress' [-Wunused-variable]
../../src/customboot/customboot.c(192): warning: unused variable 'JumpAddress' [-Wunused-variable]
        uint32_t JumpAddress;
                 ^
../../src/customboot/customboot.c(192): warning: unused variable 'Jump_To_Application' [-Wunused-variable]
../../src/customboot/customboot.c(193): warning: unused variable 'Jump_To_Application' [-Wunused-variable]
        pFunction Jump_To_Application;
                  ^
../../src/customboot/customboot.c(239): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
../../src/customboot/customboot.c(240): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
        SerialPutString("OTA<C9><FD><BC><B6><C6><F4><B6><AF>\r\n");
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/drivers/mk_uart.h(69): note: expanded from macro 'SerialPutString'
#define SerialPutString(x)   Serial_PutString((uint8_t*)(x))
                                                         ^
../../src/customboot/customboot.c(240): warning: implicit declaration of function 'IAP_JumpTo' is invalid in C99 [-Wimplicit-function-declaration]
../../src/customboot/customboot.c(241): warning: implicit declaration of function 'IAP_JumpTo' is invalid in C99 [-Wimplicit-function-declaration]
        IAP_JumpTo(SRAM_BASE);
        ^
../../src/customboot/customboot.c(123): warning: unused variable 'c' [-Wunused-variable]
@@ -883,10 +867,26 @@
^
60 warnings generated.
compiling ymodem.c...
include/boards/board.c(41): warning: In file included from...
./include/boards/board.h(44): warning: In file included from...
./include/drivers\mk_common.h(53): warning: In file included from...
../../src/customboot\user_config.h(32): warning: 'XTAL32K_EN' is not defined, evaluates to 0 [-Wundef]
#if XTAL32K_EN
    ^
1 warning generated.
compiling board.c...
../../src/customboot/pin_config.c(41): warning: In file included from...
./include/drivers\mk_io.h(44): warning: In file included from...
./include/drivers/mk_common.h(53): warning: In file included from...
../../src/customboot\user_config.h(32): warning: 'XTAL32K_EN' is not defined, evaluates to 0 [-Wundef]
#if XTAL32K_EN
    ^
1 warning generated.
compiling pin_config.c...
linking...
Program Size: Code=16908 RO-data=876 RW-data=488 ZI-data=3960
Program Size: Code=16856 RO-data=876 RW-data=488 ZI-data=3960
FromELF: creating hex file...
After Build - User command #1: fromelf.exe --bincombined -o "Output\customboot.bin" "D:\project chen\anbang_Anchor\ChinaUWBProject\dualboots_Gai_youhua_anbang_tag\keil\customboot\Objects\customboot.axf"
After Build - User command #1: fromelf.exe --bincombined -o "Output\customboot.bin" "D:\project chen\anbang_Anchor\ChinaUWBProject\dualboots_Gai_youhua\keil\customboot\Objects\customboot.axf"
".\Objects\customboot.axf" - 0 Error(s), 152 Warning(s).
<h2>Software Packages used:</h2>