West compilation error: CONFIG_TEMP_NRF5 and CONFIG_TEMP_NRF5_MPSL have both been enabled, but must not be used together

Hi 

I want to measure chip temperature of nrf52840.

For this I referred "sdk-zephyr/samples/bluetooth/peripheral_ht/src/hts.c" 

and  I have enabled  "CONFIG_TEMP_NRF5=y" in prj.conf. 

But after adding code from the file and enabling this conf, I am facing below compilation error:

CMake Error at nrf/drivers/mpsl/temp_nrf5/CMakeLists.txt:12 (message):
  CONFIG_TEMP_NRF5 and CONFIG_TEMP_NRF5_MPSL have both been enabled, but must
  not be used together.

So what is the work around here to resolve this compilation error?

Related