那个高手给看看,keil无法编译,谢谢了。 错误提示如下: *** Using Compiler 'V5.05 update 2 (build 169)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin' Rebuild target 'STM32L476RG_NUCLEO' compiling system_stm32l4xx.c... Error: C9511E: Product definition file was not found. The following paths were searched: - C:\Keil_v5\ARM\ARMCC\Bin\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\..\sw\mappings\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\..\..\sw\mappings\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\sw\mappings\mdk_cm_pro.elmap Error: C9545E: Info key CT.ProductName could not be found in product definition C:\Keil_v5\ARM\ARMCC\sw\mappings\armcompiler.elmap Product: unknown Component: ARM Compiler 5.05 update 2 (build 169) Tool: ArmCC [4d0f38] compiling stm32l4xx_nucleo.c... Error: C9511E: Product definition file was not found. The following paths were searched: - C:\Keil_v5\ARM\ARMCC\Bin\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\..\sw\mappings\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\..\..\sw\mappings\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\sw\mappings\mdk_cm_pro.elmap Error: C9545E: Info key CT.ProductName could not be found in product definition C:\Keil_v5\ARM\ARMCC\sw\mappings\armcompiler.elmap Product: unknown Component: ARM Compiler 5.05 update 2 (build 169) Tool: ArmCC [4d0f38] compiling main.c... Error: C9511E: Product definition file was not found. The following paths were searched: - C:\Keil_v5\ARM\ARMCC\Bin\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\..\sw\mappings\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\..\..\sw\mappings\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\sw\mappings\mdk_cm_pro.elmap Error: C9545E: Info key CT.ProductName could not be found in product definition C:\Keil_v5\ARM\ARMCC\sw\mappings\armcompiler.elmap Product: unknown Component: ARM Compiler 5.05 update 2 (build 169) Tool: ArmCC [4d0f38] compiling stm32l4xx_it.c... Error: C9511E: Product definition file was not found. The following paths were searched: - C:\Keil_v5\ARM\ARMCC\Bin\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\..\sw\mappings\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\..\..\sw\mappings\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\sw\mappings\mdk_cm_pro.elmap Error: C9545E: Info key CT.ProductName could not be found in product definition C:\Keil_v5\ARM\ARMCC\sw\mappings\armcompiler.elmap Product: unknown Component: ARM Compiler 5.05 update 2 (build 169) Tool: ArmCC [4d0f38] compiling stm32l4xx_hal_gpio.c... Error: C9511E: Product definition file was not found. The following paths were searched: - C:\Keil_v5\ARM\ARMCC\Bin\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\..\sw\mappings\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\..\..\sw\mappings\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\sw\mappings\mdk_cm_pro.elmap Error: C9545E: Info key CT.ProductName could not be found in product definition C:\Keil_v5\ARM\ARMCC\sw\mappings\armcompiler.elmap Product: unknown Component: ARM Compiler 5.05 update 2 (build 169) Tool: ArmCC [4d0f38] compiling stm32l4xx_hal.c... Error: C9511E: Product definition file was not found. The following paths were searched: - C:\Keil_v5\ARM\ARMCC\Bin\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\..\sw\mappings\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\..\..\sw\mappings\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\sw\mappings\mdk_cm_pro.elmap Error: C9545E: Info key CT.ProductName could not be found in product definition C:\Keil_v5\ARM\ARMCC\sw\mappings\armcompiler.elmap Product: unknown Component: ARM Compiler 5.05 update 2 (build 169) Tool: ArmCC [4d0f38] compiling stm32l4xx_hal_cortex.c... Error: C9511E: Product definition file was not found. The following paths were searched: - C:\Keil_v5\ARM\ARMCC\Bin\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\..\sw\mappings\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\..\..\sw\mappings\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\sw\mappings\mdk_cm_pro.elmap Error: C9545E: Info key CT.ProductName could not be found in product definition C:\Keil_v5\ARM\ARMCC\sw\mappings\armcompiler.elmap Product: unknown Component: ARM Compiler 5.05 update 2 (build 169) Tool: ArmCC [4d0f38] compiling stm32l4xx_hal_pwr_ex.c... Error: C9511E: Product definition file was not found. The following paths were searched: - C:\Keil_v5\ARM\ARMCC\Bin\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\..\sw\mappings\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\..\..\sw\mappings\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\sw\mappings\mdk_cm_pro.elmap Error: C9545E: Info key CT.ProductName could not be found in product definition C:\Keil_v5\ARM\ARMCC\sw\mappings\armcompiler.elmap Product: unknown Component: ARM Compiler 5.05 update 2 (build 169) Tool: ArmCC [4d0f38] compiling stm32l4xx_hal_rcc_ex.c... Error: C9511E: Product definition file was not found. The following paths were searched: - C:\Keil_v5\ARM\ARMCC\Bin\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\..\sw\mappings\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\..\..\sw\mappings\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\sw\mappings\mdk_cm_pro.elmap Error: C9545E: Info key CT.ProductName could not be found in product definition C:\Keil_v5\ARM\ARMCC\sw\mappings\armcompiler.elmap Product: unknown Component: ARM Compiler 5.05 update 2 (build 169) Tool: ArmCC [4d0f38] compiling stm32l4xx_hal_pwr.c... Error: C9511E: Product definition file was not found. The following paths were searched: - C:\Keil_v5\ARM\ARMCC\Bin\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\..\sw\mappings\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\..\..\sw\mappings\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\sw\mappings\mdk_cm_pro.elmap Error: C9545E: Info key CT.ProductName could not be found in product definition C:\Keil_v5\ARM\ARMCC\sw\mappings\armcompiler.elmap Product: unknown Component: ARM Compiler 5.05 update 2 (build 169) Tool: ArmCC [4d0f38] compiling stm32l4xx_hal_rcc.c... Error: C9511E: Product definition file was not found. The following paths were searched: - C:\Keil_v5\ARM\ARMCC\Bin\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\..\sw\mappings\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\..\..\sw\mappings\mdk_cm_pro.elmap - C:\Keil_v5\ARM\ARMCC\Bin\..\sw\mappings\mdk_cm_pro.elmap Error: C9545E: Info key CT.ProductName could not be found in product definition C:\Keil_v5\ARM\ARMCC\sw\mappings\armcompiler.elmap Product: unknown Component: ARM Compiler 5.05 update 2 (build 169) Tool: ArmCC [4d0f38] assembling startup_stm32l476xx.s... startup_stm32l476xx.s: Error: A9511E: Product definition file was not found. The following paths were searched: startup_stm32l476xx.s: - C:\Keil_v5\ARM\ARMCC\Bin\mdk_cm_pro.elmap startup_stm32l476xx.s: - C:\Keil_v5\ARM\ARMCC\Bin\..\..\sw\mappings\mdk_cm_pro.elmap startup_stm32l476xx.s: - C:\Keil_v5\ARM\ARMCC\Bin\..\..\..\sw\mappings\mdk_cm_pro.elmap startup_stm32l476xx.s: - C:\Keil_v5\ARM\ARMCC\Bin\..\sw\mappings\mdk_cm_pro.elmap startup_stm32l476xx.s: startup_stm32l476xx.s: Error: A9545E: Info key CT.ProductName could not be found in product definition C:\Keil_v5\ARM\ARMCC\sw\mappings\armcompiler.elmap startup_stm32l476xx.s: Product: unknown startup_stm32l476xx.s: Component: ARM Compiler 5.05 update 2 (build 169) startup_stm32l476xx.s: Tool: ArmAsm [4d0f2f] "STM32L476RG_NUCLEO\STM32L476RG_NUCLEO.axf" - 2 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:01 |
共同学习了
重装试试
非常谢谢,是破解问题。用破解软件选项MD standard cortex-M only 然后再生成破解licenlse。欢迎其它方式解决此问题。
是那句,Target not created.
还是:Build Time Elapsed: 00:00:01
这两句表达的意思确实不知所云
高手:还有就是您那个功耗帖子,咋样建cube工程,可以指个路吗,那个帖子或文档有说明?先谢谢了。。。https://www.stmcu.org.cn/module/ ... B%E5%8A%9F%E8%80%97