This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TMP102:TMP102

Guru**** 1999175 points
Other Parts Discussed in Thread: TMP102, SYSCONFIG, TMP112
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/900596/tmp102-tmp102

器件型号:TMP102
Thread 中讨论的其他器件: SysConfigTMP112

我已经下载了 tmp102.c 文件(drivers/hwmon/tmp102.c)、我想在 Eclipse 项目中使用它、详情如下...

适用于 C/C++开发人员的 Eclipse IDE
版本:2019-09 R (4.13.0)
构建 ID:20190917-1200
操作系统:Linux、v.4.19.0-6-AMD64、x86_64 / gtk 3.24.5
Java 版本:11.0.4

如果我在 TI tmp102页面(...I2C/trivial devices.txt)上查看 Linux 器件树文档、则表明未找到路径。

如果我在 TI tmp102页面(Documentation/hwmon/tmp102)上检查了其他文件、则表明未找到路径。

 

我已经在 tmp102.c 文件中启动了一个新的 c 项目、但我遇到了 Eclipse 报告致命错误的问题、因为它不知道某些 Linux 头文件的安装位置、请参阅下面的内容...

 您能告诉我在哪里可以找到这些标题吗?

 

谢谢