STM8——cannot open source file "xx.h"错误

Publisher:science56Latest update time:2017-11-01 Source: eefocusKeywords:STM8 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

When using MDK5 to compile STM32, the newly added .c file needs to be added to the include Paths, otherwise an error will be reported during compilation.

When using STM8, IAR is used. The newly added .c file needs to add the header file path to options->c/c++ Compiler->Additional include directories under Preprocessor;

Otherwise, if you add the header file to the main function, an error will be reported: cannot open source file "xx.h" error


Keywords:STM8 Reference address:STM8——cannot open source file "xx.h"错误

Previous article:STM8——printf()
Next article:STM8——IAR uses STLINK V2 to burn the program

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号