当前位置:网站首页>SEGGER Embedded Studio找不到xxx.c或者xxx.h文件
SEGGER Embedded Studio找不到xxx.c或者xxx.h文件
2022-07-26 04:11:00 【我我我只会printf】
感觉这个IDE有点坑,Nordic新的SDK——NCS已经不再支持这个软件了,改用了VSCode+插件的方式,不过旧的芯片因为工程问题更换不太可能。
找不到.c
首先说找不到.c的问题,在某次使用的时候发现明明左边文件列表里面有.c却在编译的时候显示找不到.c,原因是文件路径。
首先我在某个demo中添加了一些官方的文件,比如官方的跑马灯demo里面可能没有用到pwm,我想省事就直接在官方demo中添加了官方相关的.c文件。
注意,某些情况下找不到相关文件时,注意文件路径:

右键该文件,选择Options:

注意这里的File Name,是否使用了你工程的文件夹,因为我发现有时候这个文件夹如果改过名字,这里有可能不会更新,那你只能把所有找不到的文件再添加一遍。
找不到.h
打开工程配置:

选择common:

查看当前工程的所有include路径:

双击查看报错找不到的.h所在文件夹是否被添加进去了。
边栏推荐
- [question 019: what is the understanding of spherecastcommand in unity?]
- PHP method to find the location of session storage file
- Operator new, operator delete supplementary handouts
- Use of rule engine drools
- The era of smart clothes has come. Zhinar invites you to discuss swords in Yangcheng. Guangya Exhibition is waiting for you on August 4
- 【数字IC/FPGA】热独码检测
- Trust sums two numbers
- 荐书 |《学者的术与道》:写论文是门手艺
- 2021 CIKM |GF-VAE: A Flow-based Variational Autoencoder for Molecule Generation
- 软模拟光栅化渲染器
猜你喜欢

在 Istio 服务网格内连接外部 MySQL 数据库

How to transfer English documents to Chinese?

The era of smart clothes has come. Zhinar invites you to discuss swords in Yangcheng. Guangya Exhibition is waiting for you on August 4

(翻译)按钮位置约定能强化用户使用习惯

How does redis implement persistence? Explain the AOF trigger mechanism and its advantages and disadvantages in detail, and take you to quickly master AOF

华为高层谈 35 岁危机,程序员如何破年龄之忧?

1. Mx6u-alpha development board (main frequency and clock configuration experiment)

智装时代已来,智哪儿邀您一同羊城论剑,8月4日,光亚展恭候

How engineers treat open source -- the heartfelt words of an old engineer

Helloworld案例分析
随机推荐
华为再发“天才少年”全球召集令,有人曾放弃360万年薪加入
(translation) the button position convention can strengthen the user's usage habits
《opencv学习笔记》-- 霍夫变换
Communication protocol and message format between microservices
荐书 |《学者的术与道》:写论文是门手艺
Find my technology | the Internet of things asset tracking market has reached US $6.6 billion, and find my helps the market develop
Go plus security: an indispensable security ecological infrastructure for build Web3
Where does international crude oil open an account, a formal, safe and secure platform
Pits encountered by sdl2 OpenGL
PHP installation spool supports dtls protocol
PHP implements the algorithm of adding from 1 to 100
What model is good for the analysis of influencing factors?
测试用例设计方法之——招式组合,因果判定
2021 CIKM |GF-VAE: A Flow-based Variational Autoencoder for Molecule Generation
Summary of senior report development experience: understand this and do not make bad reports
Worked overtime for a week to develop a reporting system. This low code free it reporting artifact is very easy to use
Working ideas of stability and high availability guarantee
General test case writing specification
operator new、operator delete补充讲义
《opencv学习笔记》-- 重映射