How do you use the nrfx_temp driver in a project? I'm on SDK 17.0.2, segger, and an NRF52840-DK board. I see the old HAL temp sensor is deprecated and it seems to always return zero.
I tried adding C:\work\nRF Projects\nRF5_SDK_Current\modules\nrfx\drivers\src\nrfx_temp.c to my project but it's contents are turned off with an #ifdef. Various forum posts say don't use it ... but the old HAL version is marked deprecated and, as I said, always seems to return zero.