chen
2025-02-28 10a92afeae49a4ff85143bd17161c08256f30550
dualboots_Gai_youhua/keil/customboot/Objects/customboot.build_log.htm
@@ -21,873 +21,69 @@
Dialog DLL:      TARMCM1.DLL V1.14.2.0
 
<h2>Project:</h2>
D:\project chen\anbang_Anchor\ChinaUWBProject\dualboots_Gai_youhua\keil\customboot\customboot.uvprojx
Project File Date:  11/01/2024
D:\project_chen\ChinaUWBProject\dualboots_Gai_youhua\keil\customboot\customboot.uvprojx
Project File Date:  02/28/2025
<h2>Output:</h2>
*** Using Compiler 'V6.14', folder: 'd:\Keil_v5\ARM\ARMCLANG\Bin'
Rebuild target 'MK8000 Release'
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...
../../src/customboot\user_config.h(32): warning: 'XTAL32K_EN' is not defined, evaluates to 0 [-Wundef]
#if XTAL32K_EN
    ^
include/drivers/mk_calib.c(100): warning: 'HIGH_PERFORMANCE_MODE_EN' is not defined, evaluates to 0 [-Wundef]
#if HIGH_PERFORMANCE_MODE_EN
    ^
include/drivers/mk_calib.c(168): warning: 'LOW_POWER_EN' is not defined, evaluates to 0 [-Wundef]
#if (LOW_POWER_EN) && (XTAL32K_EN == 0)
     ^
3 warnings generated.
compiling mk_calib.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...
../../src/customboot\user_config.h(32): warning: 'XTAL32K_EN' is not defined, evaluates to 0 [-Wundef]
#if XTAL32K_EN
    ^
1 warning generated.
compiling mk_dma.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_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_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_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...
../../src/customboot\user_config.h(32): warning: 'XTAL32K_EN' is not defined, evaluates to 0 [-Wundef]
#if XTAL32K_EN
    ^
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 mk_io.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...
../../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...
compiling mk_power.c...
compiling mk_uart.c...
compiling aes.c...
compiling mk_dual_timer.c...
include/drivers/mk_sleep_timer.c(41): warning: In file included from...
./include/drivers/mk_sleep_timer.h(48): 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_calib.c...
compiling mk_clock.c...
compiling mk_misc.c...
compiling mk_sleep_timer.c...
include/drivers/menu.c(3): 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
    ^
include/drivers/menu.c(16): warning: no previous extern declaration for non-static variable 'FlashProtection' [-Wmissing-variable-declarations]
uint32_t FlashProtection = 0;
         ^
include/drivers/menu.c(16): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint32_t FlashProtection = 0;
^
include/drivers/menu.c(17): warning: no previous extern declaration for non-static variable 'tab_1024' [-Wmissing-variable-declarations]
uint8_t tab_1024[1024] =
        ^
include/drivers/menu.c(17): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint8_t tab_1024[1024] =
^
include/drivers/menu.c(28): warning: implicit conversion loses integer precision: 'unsigned int' to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
    str[j++] = (intnum / Div) + 48;
             ~ ~~~~~~~~~~~~~~~^~~~
include/drivers/menu.c(28): warning: implicit conversion changes signedness: 'int32_t' (aka 'int') to 'unsigned int' [-Wsign-conversion]
    str[j++] = (intnum / Div) + 48;
                ^~~~~~ ~
include/drivers/menu.c(30): warning: implicit conversion changes signedness: 'unsigned int' to 'int32_t' (aka 'int') [-Wsign-conversion]
    intnum = intnum % Div;
           ~ ~~~~~~~^~~~~
include/drivers/menu.c(30): warning: implicit conversion changes signedness: 'int32_t' (aka 'int') to 'unsigned int' [-Wsign-conversion]
    intnum = intnum % Div;
             ^~~~~~ ~
include/drivers/menu.c(22): warning: no previous prototype for function 'Int2Str' [-Wmissing-prototypes]
void Int2Str(uint8_t* str, int32_t intnum)
     ^
include/drivers/menu.c(22): note: declare 'static' if the function is not intended to be used outside of this translation unit
void Int2Str(uint8_t* str, int32_t intnum)
^
static
include/drivers/menu.c(42): warning: no previous prototype for function 'IAP_JumpTo' [-Wmissing-prototypes]
uint32_t IAP_JumpTo(uint32_t ApplicationAddress)
         ^
include/drivers/menu.c(42): note: declare 'static' if the function is not intended to be used outside of this translation unit
uint32_t IAP_JumpTo(uint32_t ApplicationAddress)
^
static
include/drivers/menu.c(68): warning: no previous prototype for function 'SerialDownload' [-Wmissing-prototypes]
unsigned char SerialDownload(void)
              ^
include/drivers/menu.c(68): note: declare 'static' if the function is not intended to be used outside of this translation unit
unsigned char SerialDownload(void)
^
static
include/drivers/menu.c(113): warning: no previous prototype for function 'GetKey' [-Wmissing-prototypes]
uint8_t GetKey(void)
        ^
include/drivers/menu.c(113): note: declare 'static' if the function is not intended to be used outside of this translation unit
uint8_t GetKey(void)
^
static
include/drivers/menu.c(125): warning: no previous prototype for function 'SerialUpload' [-Wmissing-prototypes]
void SerialUpload(void)
     ^
include/drivers/menu.c(125): note: declare 'static' if the function is not intended to be used outside of this translation unit
void SerialUpload(void)
^
static
include/drivers/menu.c(153): warning: no previous prototype for function 'delay_ms' [-Wmissing-prototypes]
void delay_ms(uint32_t nTimer)
     ^
include/drivers/menu.c(153): note: declare 'static' if the function is not intended to be used outside of this translation unit
void delay_ms(uint32_t nTimer)
^
static
include/drivers/menu.c(160): warning: unused variable 'key' [-Wunused-variable]
  uint8_t key = 0;
          ^
include/drivers/menu.c(13): warning: no previous extern declaration for non-static variable 'Jump_To_Application' [-Wmissing-variable-declarations]
pFunction Jump_To_Application;
          ^
include/drivers/menu.c(13): note: declare 'static' if the variable is not intended to be used outside of this translation unit
pFunction Jump_To_Application;
^
include/drivers/menu.c(14): warning: no previous extern declaration for non-static variable 'JumpAddress' [-Wmissing-variable-declarations]
uint32_t JumpAddress;
         ^
include/drivers/menu.c(14): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint32_t JumpAddress;
^
include/drivers/menu.c(61): warning: no previous extern declaration for non-static variable 'FileName' [-Wmissing-variable-declarations]
uint8_t FileName[FILE_NAME_LENGTH];
        ^
include/drivers/menu.c(61): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint8_t FileName[FILE_NAME_LENGTH];
^
17 warnings generated.
compiling mk_gpio.c...
compiling menu.c...
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 mk_dma.c...
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...
../../src/customboot\user_config.h(32): warning: 'XTAL32K_EN' is not defined, evaluates to 0 [-Wundef]
#if XTAL32K_EN
    ^
../../src/customboot/customboot.c(27): warning: no previous extern declaration for non-static variable 'time32_reset' [-Wmissing-variable-declarations]
volatile unsigned long time32_reset = 0;
                       ^
../../src/customboot/customboot.c(27): note: declare 'static' if the variable is not intended to be used outside of this translation unit
volatile unsigned long time32_reset = 0;
         ^
../../src/customboot/customboot.c(29): warning: no previous extern declaration for non-static variable 'key' [-Wmissing-variable-declarations]
uint8_t key[16]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
        ^
../../src/customboot/customboot.c(29): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint8_t key[16]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
^
../../src/customboot/customboot.c(110): warning: unused variable 'tmp' [-Wunused-variable]
                uint16_t tmp = 0xAAAA,result;
                         ^
../../src/customboot/customboot.c(110): warning: unused variable 'result' [-Wunused-variable]
                uint16_t tmp = 0xAAAA,result;
                                      ^
../../src/customboot/customboot.c(32): warning: no previous prototype for function 'usartdata_process' [-Wmissing-prototypes]
void usartdata_process( uint8_t data)
     ^
../../src/customboot/customboot.c(32): note: declare 'static' if the function is not intended to be used outside of this translation unit
void usartdata_process( uint8_t data)
^
static
../../src/customboot/customboot.c(120): warning: no previous extern declaration for non-static variable 'updata_byte' [-Wmissing-variable-declarations]
unsigned short int updata_byte = 0;
                   ^
../../src/customboot/customboot.c(120): note: declare 'static' if the variable is not intended to be used outside of this translation unit
unsigned short int updata_byte = 0;
^
../../src/customboot/customboot.c(121): warning: no previous extern declaration for non-static variable 'trx_buf' [-Wmissing-variable-declarations]
uint8_t trx_buf[10] = {0};
        ^
../../src/customboot/customboot.c(121): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint8_t trx_buf[10] = {0};
^
../../src/customboot/customboot.c(165): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
compiling ymodem.c...
../../src/customboot/customboot.c(176): 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]
../../src/customboot/customboot.c(194): 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]
../../src/customboot/customboot.c(206): 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(229): warning: implicit declaration of function 'delay_ms' is invalid in C99 [-Wimplicit-function-declaration]
../../src/customboot/customboot.c(240): warning: implicit declaration of function 'delay_ms' is invalid in C99 [-Wimplicit-function-declaration]
                                delay_ms(500);
                                ^
../../src/customboot/customboot.c(192): warning: unused variable 'JumpAddress' [-Wunused-variable]
        uint32_t JumpAddress;
                 ^
../../src/customboot/customboot.c(193): warning: unused variable 'Jump_To_Application' [-Wunused-variable]
        pFunction Jump_To_Application;
                  ^
../../src/customboot/customboot.c(240): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
../../src/customboot/customboot.c(251): 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(241): warning: implicit declaration of function 'IAP_JumpTo' is invalid in C99 [-Wimplicit-function-declaration]
../../src/customboot/customboot.c(252): 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]
{               uint8_t c;
                        ^
../../src/customboot/customboot.c(26): warning: no previous extern declaration for non-static variable 'time32_incr' [-Wmissing-variable-declarations]
volatile unsigned long time32_incr;
                       ^
../../src/customboot/customboot.c(26): note: declare 'static' if the variable is not intended to be used outside of this translation unit
volatile unsigned long time32_incr;
         ^
../../src/customboot/customboot.c(17): warning: unused variable 'fw_addr' [-Wunused-const-variable]
static const uint32_t fw_addr = 0x04004000;
                      ^
../../src/customboot/customboot.c(18): warning: unused variable 'fw_bytes' [-Wunused-const-variable]
static const uint32_t fw_bytes = 14712;
                      ^
20 warnings generated.
6 warnings generated.
compiling customboot.c...
include/drivers/ymodem.c(33): 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
    ^
include/drivers/ymodem.c(74): warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int32_t' (aka 'int') [-Wsign-conversion]
        *intnum = val;
                ~ ^~~
include/drivers/ymodem.c(102): warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int32_t' (aka 'int') [-Wsign-conversion]
        *intnum = val;
                ~ ^~~
include/drivers/ymodem.c(110): warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int32_t' (aka 'int') [-Wsign-conversion]
        *intnum = val;
                ~ ^~~
include/drivers/ymodem.c(117): warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int32_t' (aka 'int') [-Wsign-conversion]
        *intnum = val;
                ~ ^~~
include/drivers/ymodem.c(59): warning: no previous prototype for function 'Str2Int' [-Wmissing-prototypes]
uint32_t Str2Int(uint8_t *inputstr, int32_t *intnum)
         ^
include/drivers/ymodem.c(59): note: declare 'static' if the function is not intended to be used outside of this translation unit
uint32_t Str2Int(uint8_t *inputstr, int32_t *intnum)
^
static
include/drivers/ymodem.c(148): warning: no previous prototype for function 'Receive_Byte' [-Wmissing-prototypes]
 int32_t Receive_Byte (uint8_t *c, uint32_t timeout)
         ^
include/drivers/ymodem.c(148): note: declare 'static' if the function is not intended to be used outside of this translation unit
 int32_t Receive_Byte (uint8_t *c, uint32_t timeout)
 ^
 static
include/drivers/ymodem.c(216): warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
    crc = UpdateCRC16(crc,*data++);
          ~~~~~~~~~~~ ^~~
include/drivers/ymodem.c(218): warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
  crc = UpdateCRC16(crc,0);
        ~~~~~~~~~~~ ^~~
include/drivers/ymodem.c(219): warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
  crc = UpdateCRC16(crc,0);
        ~~~~~~~~~~~ ^~~
include/drivers/ymodem.c(335): warning: no previous extern declaration for non-static variable 'bufferOut' [-Wmissing-variable-declarations]
uint8_t bufferOut[16]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
        ^
include/drivers/ymodem.c(335): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint8_t bufferOut[16]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
^
include/drivers/ymodem.c(337): warning: no previous extern declaration for non-static variable 'size' [-Wmissing-variable-declarations]
int32_t i, j, packet_length, session_done, file_done, packets_received, errors, session_begin, size = 0;
                                                                                               ^
include/drivers/ymodem.c(337): note: declare 'static' if the variable is not intended to be used outside of this translation unit
int32_t i, j, packet_length, session_done, file_done, packets_received, errors, session_begin, size = 0;
^
include/drivers/ymodem.c(422): warning: implicit conversion changes signedness: 'int32_t' (aka 'int') to 'unsigned int' [-Wsign-conversion]
                  memcpy(buf_ptr, packet_data + PACKET_HEADER, packet_length);
                  ~~~~~~                                       ^~~~~~~~~~~~~
include/drivers/ymodem.c(453): warning: implicit conversion changes signedness: 'int32_t' (aka 'int') to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
                                                                        if(flash_write_nbytes(FLASH_ID0,flashdestination, buf, packet_length)== 0&&(flashdestination==tempaddress||tempaddress>size))
                                                                           ~~~~~~~~~~~~~~~~~~                                  ^~~~~~~~~~~~~
include/drivers/ymodem.c(455): warning: implicit conversion changes signedness: 'int32_t' (aka 'int') to 'unsigned int' [-Wsign-conversion]
                                                                        flashdestination += packet_length;
                                                                                         ~~ ^~~~~~~~~~~~~
include/drivers/ymodem.c(453): warning: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int32_t' (aka 'int') [-Wsign-compare]
                                                                        if(flash_write_nbytes(FLASH_ID0,flashdestination, buf, packet_length)== 0&&(flashdestination==tempaddress||tempaddress>size))
                                                                                                                                                                                   ~~~~~~~~~~~^~~~~
include/drivers/ymodem.c(512): warning: declaration shadows a variable in the global scope [-Wshadow]
int32_t Ymodem_CheckResponse(uint8_t c)
                                     ^
include/drivers/ymodem.c(256): note: previous declaration is here
uint8_t c;
        ^
include/drivers/ymodem.c(524): warning: declaration shadows a variable in the global scope [-Wshadow]
  uint16_t i, j;
           ^
include/drivers/ymodem.c(337): note: previous declaration is here
int32_t i, j, packet_length, session_done, file_done, packets_received, errors, session_begin, size = 0;
        ^
include/drivers/ymodem.c(524): warning: declaration shadows a variable in the global scope [-Wshadow]
  uint16_t i, j;
              ^
include/drivers/ymodem.c(337): note: previous declaration is here
int32_t i, j, packet_length, session_done, file_done, packets_received, errors, session_begin, size = 0;
           ^
include/drivers/ymodem.c(525): warning: declaration shadows a variable in the global scope [-Wshadow]
  uint8_t file_ptr[10];
          ^
include/drivers/ymodem.c(334): note: previous declaration is here
uint8_t packet_data[PACKET_1K_SIZE + PACKET_OVERHEAD], file_size[FILE_SIZE_LENGTH], *file_ptr, *buf_ptr;        //1024 + 5
                                                                                     ^
include/drivers/ymodem.c(540): warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int32_t' (aka 'int') [-Wsign-conversion]
  Int2Str (file_ptr, *length);
  ~~~~~~~            ^~~~~~~
include/drivers/ymodem.c(559): warning: declaration shadows a variable in the global scope [-Wshadow]
  uint16_t i, size, packetSize;
           ^
include/drivers/ymodem.c(337): note: previous declaration is here
int32_t i, j, packet_length, session_done, file_done, packets_received, errors, session_begin, size = 0;
        ^
include/drivers/ymodem.c(559): warning: declaration shadows a variable in the global scope [-Wshadow]
  uint16_t i, size, packetSize;
              ^
include/drivers/ymodem.c(337): note: previous declaration is here
int32_t i, j, packet_length, session_done, file_done, packets_received, errors, session_begin, size = 0;
                                                                                               ^
include/drivers/ymodem.c(560): warning: declaration shadows a variable in the global scope [-Wshadow]
  uint8_t* file_ptr;
           ^
include/drivers/ymodem.c(334): note: previous declaration is here
uint8_t packet_data[PACKET_1K_SIZE + PACKET_OVERHEAD], file_size[FILE_SIZE_LENGTH], *file_ptr, *buf_ptr;        //1024 + 5
                                                                                     ^
include/drivers/ymodem.c(564): warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
  size = sizeBlk < packetSize ? sizeBlk :packetSize;
       ~                        ^~~~~~~
include/drivers/ymodem.c(599): warning: declaration shadows a variable in the global scope [-Wshadow]
  uint16_t i;
           ^
include/drivers/ymodem.c(337): note: previous declaration is here
int32_t i, j, packet_length, session_done, file_done, packets_received, errors, session_begin, size = 0;
        ^
include/drivers/ymodem.c(629): warning: declaration shadows a variable in the global scope [-Wshadow]
  uint8_t packet_data[PACKET_1K_SIZE + PACKET_OVERHEAD];
          ^
include/drivers/ymodem.c(334): note: previous declaration is here
uint8_t packet_data[PACKET_1K_SIZE + PACKET_OVERHEAD], file_size[FILE_SIZE_LENGTH], *file_ptr, *buf_ptr;        //1024 + 5
        ^
include/drivers/ymodem.c(630): warning: declaration shadows a variable in the global scope [-Wshadow]
  uint8_t FileName[FILE_NAME_LENGTH];
          ^
include/drivers/ymodem.c(54): note: previous declaration is here
extern uint8_t FileName[];
               ^
include/drivers/ymodem.c(631): warning: declaration shadows a variable in the global scope [-Wshadow]
  uint8_t *buf_ptr, tempCheckSum ;
           ^
include/drivers/ymodem.c(334): note: previous declaration is here
uint8_t packet_data[PACKET_1K_SIZE + PACKET_OVERHEAD], file_size[FILE_SIZE_LENGTH], *file_ptr, *buf_ptr;        //1024 + 5
                                                                                                ^
include/drivers/ymodem.c(633): warning: declaration shadows a variable in the global scope [-Wshadow]
  uint8_t receivedC[2], CRC16_F = 0, i;
                                     ^
include/drivers/ymodem.c(337): note: previous declaration is here
int32_t i, j, packet_length, session_done, file_done, packets_received, errors, session_begin, size = 0;
        ^
include/drivers/ymodem.c(634): warning: declaration shadows a variable in the global scope [-Wshadow]
  uint32_t errors = 0, ackReceived = 0, size = 0, pktSize;
           ^
include/drivers/ymodem.c(337): note: previous declaration is here
int32_t i, j, packet_length, session_done, file_done, packets_received, errors, session_begin, size = 0;
                                                                        ^
include/drivers/ymodem.c(634): warning: declaration shadows a variable in the global scope [-Wshadow]
  uint32_t errors = 0, ackReceived = 0, size = 0, pktSize;
                                        ^
include/drivers/ymodem.c(337): note: previous declaration is here
int32_t i, j, packet_length, session_done, file_done, packets_received, errors, session_begin, size = 0;
                                                                                               ^
include/drivers/ymodem.c(680): warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
    return errors;
    ~~~~~~ ^~~~~~
include/drivers/ymodem.c(690): warning: implicit conversion loses integer precision: 'uint16_t' (aka 'unsigned short') to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
    Ymodem_PreparePacket(buf_ptr, &packet_data[0], blkNumber, size);
    ~~~~~~~~~~~~~~~~~~~~                           ^~~~~~~~~
include/drivers/ymodem.c(706): warning: implicit conversion loses integer precision: 'unsigned int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
      Ymodem_SendPacket(packet_data, pktSize + PACKET_HEADER);
      ~~~~~~~~~~~~~~~~~              ~~~~~~~~^~~~~~~~~~~~~~~
include/drivers/ymodem.c(754): warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
      return errors;
      ~~~~~~ ^~~~~~
include/drivers/ymodem.c(768): warning: implicit conversion loses integer precision: 'uint16_t' (aka 'unsigned short') to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
                receivedC[0]= (uint16_t)(uart_handle[1].base->RX_DATA&(uint16_t)0x01FF);
                            ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/drivers/ymodem.c(785): warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
    return errors;
    ~~~~~~ ^~~~~~
include/drivers/ymodem.c(831): warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
    return errors;
    ~~~~~~ ^~~~~~
include/drivers/ymodem.c(854): warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
    return errors;
    ~~~~~~ ^~~~~~
include/drivers/ymodem.c(255): warning: no previous extern declaration for non-static variable 'current_seqno' [-Wmissing-variable-declarations]
uint16_t current_seqno,flash_seqno,i2;
         ^
include/drivers/ymodem.c(255): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint16_t current_seqno,flash_seqno,i2;
^
include/drivers/ymodem.c(255): warning: no previous extern declaration for non-static variable 'flash_seqno' [-Wmissing-variable-declarations]
uint16_t current_seqno,flash_seqno,i2;
                       ^
include/drivers/ymodem.c(255): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint16_t current_seqno,flash_seqno,i2;
^
include/drivers/ymodem.c(255): warning: no previous extern declaration for non-static variable 'i2' [-Wmissing-variable-declarations]
uint16_t current_seqno,flash_seqno,i2;
                                   ^
include/drivers/ymodem.c(255): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint16_t current_seqno,flash_seqno,i2;
^
include/drivers/ymodem.c(256): warning: no previous extern declaration for non-static variable 'c' [-Wmissing-variable-declarations]
uint8_t c;
        ^
include/drivers/ymodem.c(256): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint8_t c;
^
include/drivers/ymodem.c(334): warning: no previous extern declaration for non-static variable 'packet_data' [-Wmissing-variable-declarations]
uint8_t packet_data[PACKET_1K_SIZE + PACKET_OVERHEAD], file_size[FILE_SIZE_LENGTH], *file_ptr, *buf_ptr;        //1024 + 5
        ^
include/drivers/ymodem.c(334): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint8_t packet_data[PACKET_1K_SIZE + PACKET_OVERHEAD], file_size[FILE_SIZE_LENGTH], *file_ptr, *buf_ptr;        //1024 + 5
^
include/drivers/ymodem.c(334): warning: no previous extern declaration for non-static variable 'file_size' [-Wmissing-variable-declarations]
uint8_t packet_data[PACKET_1K_SIZE + PACKET_OVERHEAD], file_size[FILE_SIZE_LENGTH], *file_ptr, *buf_ptr;        //1024 + 5
                                                       ^
include/drivers/ymodem.c(334): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint8_t packet_data[PACKET_1K_SIZE + PACKET_OVERHEAD], file_size[FILE_SIZE_LENGTH], *file_ptr, *buf_ptr;        //1024 + 5
^
include/drivers/ymodem.c(334): warning: no previous extern declaration for non-static variable 'file_ptr' [-Wmissing-variable-declarations]
uint8_t packet_data[PACKET_1K_SIZE + PACKET_OVERHEAD], file_size[FILE_SIZE_LENGTH], *file_ptr, *buf_ptr;        //1024 + 5
                                                                                     ^
include/drivers/ymodem.c(334): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint8_t packet_data[PACKET_1K_SIZE + PACKET_OVERHEAD], file_size[FILE_SIZE_LENGTH], *file_ptr, *buf_ptr;        //1024 + 5
^
include/drivers/ymodem.c(334): warning: no previous extern declaration for non-static variable 'buf_ptr' [-Wmissing-variable-declarations]
uint8_t packet_data[PACKET_1K_SIZE + PACKET_OVERHEAD], file_size[FILE_SIZE_LENGTH], *file_ptr, *buf_ptr;        //1024 + 5
                                                                                                ^
include/drivers/ymodem.c(334): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint8_t packet_data[PACKET_1K_SIZE + PACKET_OVERHEAD], file_size[FILE_SIZE_LENGTH], *file_ptr, *buf_ptr;        //1024 + 5
^
include/drivers/ymodem.c(336): warning: no previous extern declaration for non-static variable 'BufferIn' [-Wmissing-variable-declarations]
uint8_t *BufferIn;
         ^
include/drivers/ymodem.c(336): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint8_t *BufferIn;
^
include/drivers/ymodem.c(337): warning: no previous extern declaration for non-static variable 'i' [-Wmissing-variable-declarations]
int32_t i, j, packet_length, session_done, file_done, packets_received, errors, session_begin, size = 0;
        ^
include/drivers/ymodem.c(337): note: declare 'static' if the variable is not intended to be used outside of this translation unit
int32_t i, j, packet_length, session_done, file_done, packets_received, errors, session_begin, size = 0;
^
include/drivers/ymodem.c(337): warning: no previous extern declaration for non-static variable 'j' [-Wmissing-variable-declarations]
int32_t i, j, packet_length, session_done, file_done, packets_received, errors, session_begin, size = 0;
           ^
include/drivers/ymodem.c(337): note: declare 'static' if the variable is not intended to be used outside of this translation unit
int32_t i, j, packet_length, session_done, file_done, packets_received, errors, session_begin, size = 0;
^
include/drivers/ymodem.c(337): warning: no previous extern declaration for non-static variable 'packet_length' [-Wmissing-variable-declarations]
int32_t i, j, packet_length, session_done, file_done, packets_received, errors, session_begin, size = 0;
              ^
include/drivers/ymodem.c(337): note: declare 'static' if the variable is not intended to be used outside of this translation unit
int32_t i, j, packet_length, session_done, file_done, packets_received, errors, session_begin, size = 0;
^
include/drivers/ymodem.c(337): warning: no previous extern declaration for non-static variable 'session_done' [-Wmissing-variable-declarations]
int32_t i, j, packet_length, session_done, file_done, packets_received, errors, session_begin, size = 0;
                             ^
include/drivers/ymodem.c(337): note: declare 'static' if the variable is not intended to be used outside of this translation unit
int32_t i, j, packet_length, session_done, file_done, packets_received, errors, session_begin, size = 0;
^
include/drivers/ymodem.c(337): warning: no previous extern declaration for non-static variable 'file_done' [-Wmissing-variable-declarations]
int32_t i, j, packet_length, session_done, file_done, packets_received, errors, session_begin, size = 0;
                                           ^
include/drivers/ymodem.c(337): note: declare 'static' if the variable is not intended to be used outside of this translation unit
int32_t i, j, packet_length, session_done, file_done, packets_received, errors, session_begin, size = 0;
^
include/drivers/ymodem.c(337): warning: no previous extern declaration for non-static variable 'packets_received' [-Wmissing-variable-declarations]
int32_t i, j, packet_length, session_done, file_done, packets_received, errors, session_begin, size = 0;
                                                      ^
include/drivers/ymodem.c(337): note: declare 'static' if the variable is not intended to be used outside of this translation unit
int32_t i, j, packet_length, session_done, file_done, packets_received, errors, session_begin, size = 0;
^
include/drivers/ymodem.c(337): warning: no previous extern declaration for non-static variable 'errors' [-Wmissing-variable-declarations]
int32_t i, j, packet_length, session_done, file_done, packets_received, errors, session_begin, size = 0;
                                                                        ^
include/drivers/ymodem.c(337): note: declare 'static' if the variable is not intended to be used outside of this translation unit
int32_t i, j, packet_length, session_done, file_done, packets_received, errors, session_begin, size = 0;
^
include/drivers/ymodem.c(337): warning: no previous extern declaration for non-static variable 'session_begin' [-Wmissing-variable-declarations]
int32_t i, j, packet_length, session_done, file_done, packets_received, errors, session_begin, size = 0;
                                                                                ^
include/drivers/ymodem.c(337): note: declare 'static' if the variable is not intended to be used outside of this translation unit
int32_t i, j, packet_length, session_done, file_done, packets_received, errors, session_begin, size = 0;
^
include/drivers/ymodem.c(338): warning: no previous extern declaration for non-static variable 'flashdestination' [-Wmissing-variable-declarations]
uint32_t flashdestination, ramsource,tempaddress;
         ^
include/drivers/ymodem.c(338): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint32_t flashdestination, ramsource,tempaddress;
^
include/drivers/ymodem.c(338): warning: no previous extern declaration for non-static variable 'ramsource' [-Wmissing-variable-declarations]
uint32_t flashdestination, ramsource,tempaddress;
                           ^
include/drivers/ymodem.c(338): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint32_t flashdestination, ramsource,tempaddress;
^
include/drivers/ymodem.c(338): warning: no previous extern declaration for non-static variable 'tempaddress' [-Wmissing-variable-declarations]
uint32_t flashdestination, ramsource,tempaddress;
                                     ^
include/drivers/ymodem.c(338): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint32_t flashdestination, ramsource,tempaddress;
^
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=16856 RO-data=876 RW-data=488 ZI-data=3960
Program Size: Code=10932 RO-data=908 RW-data=500 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\keil\customboot\Objects\customboot.axf"
".\Objects\customboot.axf" - 0 Error(s), 152 Warning(s).
After Build - User command #1: fromelf.exe --bincombined -o "Output\customboot.bin" "D:\project_chen\ChinaUWBProject\dualboots_Gai_youhua\keil\customboot\Objects\customboot.axf"
".\Objects\customboot.axf" - 0 Error(s), 6 Warning(s).
<h2>Software Packages used:</h2>
@@ -901,7 +97,7 @@
  d:\Users\xookk\AppData\Local\Arm\Packs\MKSEMI\MK800X_DFP\1.0.3\Device\Include
<h2>Collection of Component Files used:</h2>
Build Time Elapsed:  00:00:03
Build Time Elapsed:  00:00:04
</pre>
</body>
</html>