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

Part Number: TMP102
Other Parts Discussed in Thread: SYSCONFIG, TMP112

I've downloaded the tmp102.c file (drivers/hwmon/tmp102.c) and I want to use it in an Eclipse project, details below...

Eclipse IDE for C/C++ Developers
Version: 2019-09 R (4.13.0)
Build id: 20190917-1200
OS: Linux, v.4.19.0-6-amd64, x86_64 / gtk 3.24.5
Java version: 11.0.4

If I check the Linux device tree documentation on the TI tmp102 page (...I2C/trivial-devices.txt) it says the path's not found.

If I check Other Files on the TI tmp102 page (Documentation/hwmon/tmp102) it says the path's not found.

 

So, I've started a new c project withthe tmp102.c file, but I've got a problem that Eclipse reports fatal errors since it doesn't know where some of the Linux headers are installed, see below...

 Can you please advise where I'd find these headers?

 

Thanks