keil manual compile project(1)

@echo off
set UV=D:\Keil_v5\UV4\UV4.exe
set UV_PRO_PATH=D:\svn\rt1052\projects\easy_arm_rt1052_debug_mdk\easy_arm_rt1052.uvprojx
echo Init building ...
echo .>build_log.txt
%UV% -j0 -r %UV_PRO_PATH% -o %cd%\build_log.txt
type build_log.txt
echo Done.
pause

output:

*** Using Compiler 'V5.06 update 3 (build 300)', folder: 'd:\Keil_v5\ARM

\ARMCC\Bin'
Rebuild target 'Debug sdram'
compiling sw11_wdt.c...
compiling at24c02.c...
..\..\examples\application\app_awtk_demo\prj\easy_arm_rt1052_awtk

\user_code\at24c02.c(157): warning:  #167-D: argument of type "unsigned 

char *" is incompatible with parameter of type "char *"
     result =  aw_nvram_set("at24c02", 0, &buf[0], 0, 
T24C02_EEPROM_SIZE);
..\..\examples\application\app_awtk_demo\prj\easy_arm_rt1052_awtk

\user_code\at24c02.c(164): warning:  #167-D: argument of type "unsigned 

char *" is incompatible with parameter of type "char *"
     result =  aw_nvram_get("at24c02", 0, &test_buf[0], 0, 
T24C02_EEPROM_SIZE);
..\..\examples\application\app_awtk_demo\prj\easy_arm_rt1052_awtk

\user_code\at24c02.c(170): warning:  #167-D: argument of type "unsigned 

char *" is incompatible with parameter of type "const char *"
     if (strncmp(buf, test_buf, 
T24C02_EEPROM_SIZE) != 0){
..\..\examples\application\app_awtk_demo\prj\easy_arm_rt1052_awtk

\user_code\at24c02.c(170): warning:  #167-D: argument of type "unsigned 

char *" is incompatible with parameter of type "const char *"
     if (strncmp(buf, test_buf, 
T24C02_EEPROM_SIZE) != 0){
..\..\examples\application\app_awtk_demo\prj\easy_arm_rt1052_awtk

\user_code\at24c02.c(203): warning:  #167-D: argument of type "unsigned 

char *" is incompatible with parameter of type "const char *"
     if (strncmp(buf, test_buf, 
T24C02_EEPROM_SIZE) != 0){
..\..\examples\application\app_awtk_demo\prj\easy_arm_rt1052_awtk

\user_code\at24c02.c(203): warning:  #167-D: argument of type "unsigned 

char *" is incompatible with parameter of type "const char *"
     if (strncmp(buf, test_buf, 
T24C02_EEPROM_SIZE) != 0){
..\..\examples\application\app_awtk_demo\prj\easy_arm_rt1052_awtk

\user_code\at24c02.c(184): warning:  #177-D: variable "size" was declared 

but never referenced
      int size = AT24C02_EEPROM_SIZE;
..\..\examples\application\app_awtk_demo\prj\easy_arm_rt1052_awtk

\user_code\at24c02.c: 7 warnings, 0 errors
compiling sw11_gpio_input.c...
compiling sw11_buzzer.c...
compiling main.c...
..\easy_arm_rt1052_debug\user_code\main.c(31): warning:  #111-D: statement 

is unreachable
      return 0;
..\easy_arm_rt1052_debug\user_code\main.c: 1 warning, 0 errors
compiling sw11_adc.c...
compiling sw11_gpio_output.c...
assembling flexram_config_for_armcc.S...
user_config\flexram_config_for_armcc.S(246): warning: A1581W: Added 2 

bytes of padding at address 0x11e
compiling aw_prj_usr_app_init.c...
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(182): warning:  

#1296-D: extended constant initialiser used
                  
EAP_START,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(183): warning:  

#1296-D: extended constant initialiser used
                  
EAP_END,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(191): warning:  

#1296-D: extended constant initialiser used
                  
OM_START,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(192): warning:  

#1296-D: extended constant initialiser used
                  
OM_END,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(202): warning:  

#1296-D: extended constant initialiser used
                  
AM_START,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(203): warning:  

#1296-D: extended constant initialiser used
                  
AM_END,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(212): warning:  

#1296-D: extended constant initialiser used
                  
EAP_DMA_START,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(213): warning:  

#1296-D: extended constant initialiser used
                  
EAP_DMA_END,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(240): warning:  

#1296-D: extended constant initialiser used
                  
LEXSPI_DRV_START,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(241): warning:  

#1296-D: extended constant initialiser used
                  
LEXSPI_DRV_END,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(251): warning:  

#1296-D: extended constant initialiser used
                  
LASH_START,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(252): warning:  

#1296-D: extended constant initialiser used
                  
LASH_END,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(261): warning:  

#1296-D: extended constant initialiser used
                  
RAM_START,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(262): warning:  

#1296-D: extended constant initialiser used
                  
RAM_END,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(271): warning:  

#1296-D: extended constant initialiser used
                  
ELOCODE_START,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(272): warning:  

#1296-D: extended constant initialiser used
                  
ELOCODE_END,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(296): warning:  

#1296-D: extended constant initialiser used
                  
EAP_START,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(297): warning:  

#1296-D: extended constant initialiser used
                  
EAP_END,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(306): warning:  

#1296-D: extended constant initialiser used
                  
OM_START,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(307): warning:  

#1296-D: extended constant initialiser used
                  
OM_END,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(317): warning:  

#1296-D: extended constant initialiser used
                  
AM_START,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(318): warning:  

#1296-D: extended constant initialiser used
                  
AM_END,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(327): warning:  

#1296-D: extended constant initialiser used
                  
EAP_DMA_START,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(328): warning:  

#1296-D: extended constant initialiser used
                  
EAP_DMA_END,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(355): warning:  

#1296-D: extended constant initialiser used
                  
LEXSPI_DRV_START,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(356): warning:  

#1296-D: extended constant initialiser used
                  
LEXSPI_DRV_END,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(365): warning:  

#1296-D: extended constant initialiser used
                  
LASH_START,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(366): warning:  

#1296-D: extended constant initialiser used
                  
LASH_END,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(375): warning:  

#1296-D: extended constant initialiser used
                  
RAM_START,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(376): warning:  

#1296-D: extended constant initialiser used
                  
RAM_END,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(385): warning:  

#1296-D: extended constant initialiser used
                  
ELOCODE_START,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c(386): warning:  

#1296-D: extended constant initialiser used
                  
ELOCODE_END,
..\easy_arm_rt1052_debug\user_config\aw_prj_usr_app_init.c: 32 warnings, 0 

errors
compiling lt9211.c...
..\..\aworks_sdk\apollo\components\awbus_lite\source\driver\rgb2mipi

\lt9211.c(399): warning:  #1-D: last line of file ends without a newline
  }
..\..\aworks_sdk\apollo\components\awbus_lite\source\driver\rgb2mipi

\lt9211.c: 1 warning, 0 errors
compiling sw11_can.c...
..\..\examples\application\app_awtk_demo\prj\easy_arm_rt1052_awtk

\user_code\sw11_can.c(117): warning:  #177-D: function "md11_can_test" was 

declared but never referenced
  aw_local void md11_can_test (void *p_arg)
..\..\examples\application\app_awtk_demo\prj\easy_arm_rt1052_awtk

\user_code\sw11_can.c: 1 warning, 0 errors
compiling sw11_lcd.c...
..\..\examples\application\app_awtk_demo\prj\easy_arm_rt1052_awtk

\user_code\sw11_lcd.c(26): warning:  #177-D: function "md11_lcd_test" was 

declared but never referenced
  aw_local void md11_lcd_test(void)
..\..\examples\application\app_awtk_demo\prj\easy_arm_rt1052_awtk

\user_code\sw11_lcd.c: 1 warning, 0 errors
compiling mipi_dsc.c...
..\..\aworks_sdk\apollo\components\awbus_lite\source\driver\rgb2mipi

\mipi_dsc.c(22): warning:  #1295-D: Deprecated declaration 

LT9211_RGB_To_MIPIDSI_Config - give arg types
  extern void LT9211_RGB_To_MIPIDSI_Config();
..\..\aworks_sdk\apollo\components\awbus_lite\source\driver\rgb2mipi

\mipi_dsc.c(23): warning:  #1295-D: Deprecated declaration lt9211_dev_init 

- give arg types
  extern void lt9211_dev_init();
..\..\aworks_sdk\apollo\components\awbus_lite\source\driver\rgb2mipi

\mipi_dsc.c: 2 warnings, 0 errors
compiling asctime_r.c...
compiling detection.c...
compiling awbl_hwconf_cyw43362.c...
compiling gmtime_r.c...
compiling heap.c...
compiling strnlen.c...
compiling sys_exit.c...
compiling libspace.c...
aw_libc\libspace.c(40): warning:  #1-D: last line of file ends without a 

newline
  /* end of file */
aw_libc\libspace.c: 1 warning, 0 errors
compiling mutex.c...
aw_libc\mutex.c(54): warning:  #1-D: last line of file ends without a 

newline
  /* end of file */
aw_libc\mutex.c: 1 warning, 0 errors
compiling aw_prj_config.c...
..\..\aworks_sdk\source\imxrt10xx_common\board\imxrt105x\bsp

\aw_bsp_common.h(34): warning:  #1-D: last line of file ends without a 

newline
  /* end of file */
..\..\aworks_sdk\apollo\rtk\config\all/aworks_startup.c(105): warning:  

#188-D: enumerated type mixed with another type
      AW_TASK_INIT(info,
..\..\aworks_sdk\apollo\components\base\config\os/aw_isr_defer_cfg.c(51): 

warning:  #188-D: enumerated type mixed with another type
      AW_DEFER_START(&g_sys_isr_defer,
..\..\aworks_sdk\apollo\components\base\config\os/aw_nor_defer_cfg.c(49): 

warning:  #188-D: enumerated type mixed with another type
      AW_DEFER_START(&g_sys_nor_defer,
..\..\aworks_sdk\apollo\components\shell\config\aw_shell_serial_cfg.c(69): 

warning:  #188-D: enumerated type mixed with another type
      __g_serial_shell.tsk = AW_TASK_INIT(__g_shell_task,
..\..\aworks_sdk\apollo\components\base\config\util/aw_event_cfg.c(54): 

warning:  #188-D: enumerated type mixed with another type
      AW_TASK_INIT(__g_event_task,
..\..\aworks_sdk\apollo\components\base\config\util/aw_event_cfg.c(65): 

warning:  #68-D: integer conversion resulted in a change of sign
      return AW_MSGQ_SEND(__g_event_msgq,
..\..\aworks_sdk\apollo\components\base\config\ts/aw_ts_calc_cfg.c(106): 

warning:  #177-D: variable "ret" was declared but never referenced
      aw_err_t ret;
..\..\aworks_sdk\apollo\components\usb\config\aw_usb_mem.c(57): warning:  

#550-D: variable "ret" was set but never used
      aw_err_t  ret;
..\..\aworks_sdk\apollo\components\usb\config\aw_usb_os.c(43): warning:  

#167-D: argument of type "void (*)(void *)" is incompatible with parameter 

of type "aw_task_func_t"
      return (aw_usb_task_handle_t)aw_task_create(name, prio, stk_s, pfnc, 

p_arg);
..\..\aworks_sdk\apollo\components\usb\config\aw_usb_os.c(52): warning:  

#223-D: function "aw_task_delete" declared implicitly
      return aw_task_delete((aw_task_id_t)tsk);
..\..\aworks_sdk\apollo\components\usb\config\awbl_usb_cfg.c(57): warning: 

 #550-D: variable "ret" was set but never used
      aw_err_t ret;
..\easy_arm_rt1052_debug\user_config\aw_prj_config.c: 12 warnings, 0 

errors
compiling awbus_lite_hwconf_usrcfg.c...
..\..\aworks_sdk\source\imxrt10xx_common\board\imxrt105x\bsp

\aw_bsp_common.h(34): warning:  #1-D: last line of file ends without a 

newline
  /* end of file */
..\easy_arm_rt1052_debug\user_config\awbl_hwconf_usrcfg

\awbl_hwconf_imx1050_lpi2c1.h(57): warning:  #68-D: integer conversion 

resulted in a change of sign
          AWBL_I2C_WAITFOREVER          /* 超时 */
..\easy_arm_rt1052_debug\user_config\awbl_hwconf_usrcfg

\awbl_hwconf_imx1050_lpi2c3.h(55): warning:  #68-D: integer conversion 

resulted in a change of sign
          AWBL_I2C_WAITFOREVER          /* 超时 */
..\easy_arm_rt1052_debug\user_config\awbl_hwconf_usrcfg

\awbl_hwconf_imx1050_usbh1.h(67): warning:  #61-D: integer operation 

result is out of range
              
_CCM_ANALOG_PLL_USB1_LOCK));
..\easy_arm_rt1052_debug\user_config\awbl_hwconf_usrcfg

\awbl_hwconf_imx1050_usbh1.h(67): warning:  #68-D: integer conversion 

resulted in a change of sign
              
_CCM_ANALOG_PLL_USB1_LOCK));
..\easy_arm_rt1052_debug\user_config\awbl_hwconf_usrcfg

\awbl_hwconf_eeprom_at24c02.h(39): warning:  #1-D: last line of file ends 

without a newline
  #endif  /*_AWBL_HWCONF_EEPROM_AT24C02_H*/
..\easy_arm_rt1052_debug\user_config\awbl_hwconf_usrcfg

\awbus_lite_hwconf_usrcfg.c: 6 warnings, 0 errors
linking...
C:\Users\ADMINI~1\AppData\Local\Temp\p1da8-2(131): warning:  #1-D: last 

line of file ends without a newline
  }
C:\Users\ADMINI~1\AppData\Local\Temp\p1da8-2: 1 warning, 0 errors
Program Size: Code=311212 RO-data=207920 RW-data=6640 ZI-data=256924  
FromELF: creating hex file...
After Build - User command #1: fromelf.exe --m32 Objects\Debug_sdram

\easy_arm_rt1052.axf -o Objects\Debug_sdram\easy_arm_rt1052.srec
".\Objects\Debug_sdram\easy_arm_rt1052.axf" - 0 Error(s), 67 Warning(s).
Build Time Elapsed:  00:00:05

 

posted @ 2020-09-28 09:01  嵌入式实操  阅读(749)  评论(0编辑  收藏  举报