项目场景:stm32零基础学习创建项目
问题描述
问题1、 cannot open source input file “RTE_Components.h“: No such file or director
问题2、Build started: Project: stm32f10x_Project_Template *** Using Compiler ‘V6.14’, folder: ‘E:\Keil\ARM\ARMCLANG\Bin’ Build target ‘Template’ CMSIS/core_cm3.c(445): error: non-ASM statement in naked function is not supported uint32_t result=0; ^ CMSIS/core_cm3.c(442): note: attribute is here uint32_t __get_PSP(void) attribute( ( naked ) ); ^ CMSIS/core_cm3.c(465): error: parameter references not allowed in naked functions “BX lr \n\t” : : “r” (topOfProcStack) ); ^ CMSIS/core_cm3.c(461): note: attribute is here void __set_PSP(uint32_t topOfProcStack) attribute( ( naked ) ); ^ CMSIS/core_cm3.c(479): error: non-ASM statement in naked function is not supported uint32_t result=0; ^ CMSIS/core_cm3.c(476): note: attribute is here uint32_t __get_MSP(void) attribute( ( naked ) ); ^ CMSIS/core_cm3.c