麻豆一区二区三区蜜桃免费_中文字幕Va一区二区三区 _国产成人综合久久二区_丰满多毛的大隂户毛茸茸_国产麻豆剧果冻传媒免费老狼_无码人妻精品一区二区三区久久久 _亚洲中文无码精品卡通_蜜臀亚洲AV永久无码精品老司机

【ARM】如何生成構(gòu)建日志文件?-2022

問題

我在項目構(gòu)建期間遇到了一些編譯器和鏈接器問題,這需要?Keil 支持團(tuán)隊的幫助。我可以從 μVision 許可證管理過程中生成任何構(gòu)建日志文件,我可以將其轉(zhuǎn)發(fā)給 Keil 支持團(tuán)隊以提供有關(guān)問題的更多詳細(xì)信息嗎?

背景

使用構(gòu)建日志有很多好處:

ARM:如何歸檔您的 Keil MDK 項目:在歸檔項目代碼時將完整的構(gòu)建日志包含在項目代碼中。由于完整的構(gòu)建日志記錄了項目中使用的軟件包版本和文件版本,它本身記錄了重新創(chuàng)建該項目所需的內(nèi)容。

μVision:使用不同版本的 ARM 編譯器:構(gòu)建日志顯示使用了哪些編譯器和庫。μVision 中可以加載多個編譯器,此文件顯示用于創(chuàng)建項目的編譯器。

記錄最后一次構(gòu)建輸出:完整的構(gòu)建日志還列出了最后一次構(gòu)建中的所有警告消息。如果項目簽入時出現(xiàn)警告,查看最后的構(gòu)建輸出將極大地有益于需要編輯此代碼的未來程序員。那些程序員不會浪費時間解決可以忽略的警告。

避免未來的許可錯誤:構(gòu)建日志列出了用于創(chuàng)建此項目的許可類型。由于有許多不同的?Keil MDK 版本,未來的程序員可以確保在他們的機(jī)器上使用正確的許可證以避免許可證問題。

提出技術(shù)支持請求:完整的構(gòu)建日志是技術(shù)支持案例的一個很好的工具,因為它包含支持分析師理解問題所需的大部分背景信息。

回答

是的。構(gòu)建項目后會生成一個*.build_log.htm文件。

但是,要創(chuàng)建完整的構(gòu)建日志,請執(zhí)行rebuild all,而不是構(gòu)建。這將記錄一個項目的所有信息。

要從編譯器輸出中檢索更多詳細(xì)信息,您可以在Options for Target - C/C++ - Misc Controls中指定--echo選項。

要查看build_log文件,在屏幕右側(cè)的Project窗口中,右鍵單擊目標(biāo)文件夾,然后在上下文菜單中選擇Open Build Log -*.build_log.htm文件將在Web瀏覽器中打開。

此*.build_log.htm文件通常位于對象輸出文件夾的同一目錄中,例如“.Flash”或“.RAM”文件夾。請將此帶有問題描述的日志文件發(fā)送給Keil支持團(tuán)隊。

構(gòu)建日志將類似于以下內(nèi)容:

μVision Build Log

Tool Versions:

IDE-Version: μVision V5.15

Copyright (C) 2015 ARM Ltd and ARM Germany GmbH. All rights reserved.

License Information: Bruce Lee, Arm, LIC=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

Tool Versions:

Toolchain: ??????MDK-ARM Professional ?Version: 5.15.0

Toolchain Path: ?C:Keil_v515ARMARMCCBin

C Compiler: ?????Armcc.exe V5.05 update 2 (build 169)

Assembler: ??????Armasm.exe V5.05 update 2 (build 169)

Linker/Locator: ?ArmLink.exe V5.05 update 2 (build 169)

Library Manager: ArmAr.exe V5.05 update 2 (build 169)

Hex Converter: ??FromElf.exe V5.05 update 2 (build 169)

CPU DLL: ????????SARMCM3.DLL V5.15.0

Dialog DLL: ?????DARMP1.DLL V1.25.0.0

Target DLL: ?????UL2CM3.DLL V1.155.8.0

Dialog DLL: ?????TARMP1.DLL V1.24.0.0

Project:

C:MDK5_ProjectsBoardsKeilMCB1700BlinkyBlinky.uvprojx

Project File Date: ?06/05/2015

Output:

*** Using Compiler 'V5.05 update 2 (build 169)', folder: 'C:Keil_v515ARMARMCCBin'

Rebuild target 'LPC1768 Flash'

compiling Blinky.c...

compiling LED_MCB1700.c...

compiling GPIO_LPC17xx.c...

compiling PIN_LPC17xx.c...

assembling startup_LPC17xx.s...

compiling system_LPC17xx.c...

linking...

Program Size: Code=2046 RO-data=254 RW-data=16 ZI-data=512

".FlashBlinky.axf" - 0 Error(s), 0 Warning(s).

Software Packages used:

Package Vendor: ARM

????????????????http://www.keil.com/pack/ARM.CMSIS.4.3.0.pack

????????????????ARM::CMSIS:CORE:4.1.0

????????????????CMSIS (Cortex Microcontroller Software Interface Standard)

???* Component: CORE Version: 4.1.0

Package Vendor: Keil

????????????????http://www.keil.com/pack/Keil.LPC1700_DFP.2.0.0.pack

????????????????Keil::Device:Startup:1.0.0

????????????????NXP LPC1700 Series Device Support, Drivers and Examples for MCB1700

???* Component: Startup Version: 1.0.0

???* Component: PIN Version: 1.00

???* Component: GPIO Version: 1.00

???* Component: LED Version: 1.0.0

Package Vendor: Keil

????????????????http://www.keil.com/pack/Keil.MDK-Middleware.6.4.0.pack

????????????????::Board Support:LED:1.00 (API)

????????????????Keil MDK-ARM Professional Middleware for ARM Cortex-M based devices

???* Component: LED Version: 1.00

Collection of Component include folders:

??C:MDK5_ProjectsBoardsKeilMCB1700BlinkyRTE

??C:MDK5_ProjectsBoardsKeilMCB1700BlinkyRTEDeviceLPC1768

??C:Keil_v515ARMPACKARMCMSIS4.3.0CMSISInclude

??C:Keil_v515ARMPACKKeilLPC1700_DFP2.0.0DeviceInclude

??C:Keil_v515ARMPACKKeilLPC1700_DFP2.0.0RTE_Driver

??C:Keil_v515ARMPACKKeilMDK-Middleware6.4.0Board

Collection of Component Files used:

???* Component: ARM::CMSIS:CORE:4.1.0

???* Component: Keil::Device:Startup:1.0.0

??????Include file: ?DeviceIncludeLPC17xx.h

??????Source file: ??DeviceSourceARMstartup_LPC17xx.s

??????Source file: ??DeviceSourcesystem_LPC17xx.c

??????Include file: ?RTE_DriverConfigRTE_Device.h

???* Component: Keil::Device:PIN:1.00

??????Include file: ?RTE_DriverPIN_LPC17xx.h

??????Source file: ??RTE_DriverPIN_LPC17xx.c

???* Component: Keil::Device:GPIO:1.00

??????Include file: ?RTE_DriverGPIO_LPC17xx.h

??????Source file: ??RTE_DriverGPIO_LPC17xx.c

???* Component: Keil.MCB1700::Board Support:LED:1.0.0

??????Source file: ??BoardsKeilMCB1700CommonLED_MCB1700.c

???* Component: ::Board Support:LED:1.00 (API)

??????Include file: ?BoardBoard_LED.h