这是错误信息:
实例化 RTE 组件时出错错误 #540:'Keil::Device:StdPeriph Drivers:EXTI:1.3.0' 组件不适用于目标 'Target 1'错误 #540:'Keil::Device:StdPeriph Drivers:Framework:1.3.1' 组件不适用于目标 'Target 1'错误 #540:'Keil::Device:StdPeriph Drivers:GPIO:1.3.0' 组件不适用于目标 'Target 1'错误 #540:'Keil::Device:StdPeriph Drivers:IWDG:1.3.0' 组件不适用于目标 'Target 1'错误 #540:'Keil::Device:StdPeriph Drivers:RCC:1.3.0' 组件不适用于目标 'Target 1'错误 #540: 'Keil::Device:StdPeriph Drivers:SPI:1.3.0' 组件不适用于目标 'Target 1'错误 #540: 'Keil::Device:StdPeriph Drivers:SYSCFG:1.3.0' 组件不适用于目标 'Target 1' 错误#540: 'Keil::Device:StdPeriph Drivers:TIM:1.3.0' 组件不适用于目标 'Target 1' 错误 # 540: 'Keil::Device:StdPeriph Drivers:USART:1.3.0' 组件不适用于目标 'Target 1'
Hi there, thanks for asking a question. I have moved your question to the Keil forum. Translation:
This is the error message:
When instantiating an RTE component Error #540: 'Keil::Device:StdPeriph Drivers:EXTI:1.3.0' component is not available for target 'Target 1' Bug #540: 'Keil::Device:StdPeriph Drivers:Framework:1.3.1' component is not available for target 'Target 1' Bug #540: 'Keil::Device:StdPeriph Drivers:GPIO:1.3.0' component is not available for target 'Target 1' Bug #540: 'Keil::Device:StdPeriph Drivers:IWDG:1.3.0' component is not available for target 'Target 1' Bug #540: 'Keil::Device:StdPeriph Drivers:RCC:1.3.0' component is not available for target 'Target 1' Bug #540: 'Keil::Device:StdPeriph Drivers:SPI:1.3.0' component is not available for target 'Target 1' Error #540: 'Keil::Device:StdPeriph Drivers:SYSCFG:1.3.0' component is not available for target 'Target 1' error #540: 'Keil::Device:StdPeriph Drivers:TIM:1.3.0' component is not available for target 'Target 1' Error # 540: 'Keil::Device:StdPeriph Drivers:USART:1.3.0' component is not available for target 'Target 1'
How to solve this problem? Can any expert tell me?
You probably installed version 3.0.0 of the Keil::STM32F4xx_DFP and you are trying to use an application that was written for an older DFP. With version 3.0.0 the peripheral drivers must be generated with ST CubeMX. See more details in this Open-CMSIS repo:
https://github.com/Open-CMSIS-Pack/STM32F4xx_DFP