#BL602's Internal Temperature Sensor is connected to the Analog-to-Digital Converter ... Which is NOT yet supported on #NuttX OS ... Let's port the ADC HAL from BL602 MCU SDK
https://nuttx.apache.org/docs/latest/platforms/risc-v/bl602/index.html
To read #BL602's Internal Temperature on #NuttX OS, we call the ADC HAL like so
https://github.com/lupyuen/bl602_adc_test/blob/main/bl602_adc_test_main.c#L49-L111
#BL602 Internal Temperature reads OK on #NuttX OS! 🎉 Though a little cold for Super Sunny Singapore 😂
https://github.com/lupyuen/bl602_adc_test#output-log