How to get temperature in S32R45 on Linux? I am using BSP37
/sys/class/thermal# ls -l
total 0
Hello,
On S32R45 with Linux BSP37, the empty /sys/class/thermal directory is expected behavior.
In Linux, temperature is exposed only when a thermal sensor driver is implemented and registered as a thermal zone. Without this registration, no entries appear in /sys/class/thermal.
Although S32R45 hardware includes temperature sensing capability, BSP37 does not enable or expose this feature through the Linux thermal framework. As a result, no thermal zones are created and temperature cannot be read from user space.
According to NXP BSP documentation, not all hardware features are necessarily enabled in a given BSP release, which explains the absence of temperature support in this case.
Best regards,
Peter