Hello Experts,
I want to read cpu teperature at usespace in Windows 10 IOT Core on IMX8mq evk. For example, in Windows 10 IOT Core on IMX8mq evk I can type readcputemp in coammnd line to get to CPU temperature. I known how to get CPU temperature at kernel space. A simple sample like below:
+#define TMU_BASE 0x30260000
+ vaddr_t tmu_base = core_mmu_get_va(TMU_BASE, MEM_AREA_IO_SEC);
+
+ DMSG("======== is valid: 0x%08x, cpu temperatue: %d =====", read32(tmu_base + 0x100), read32(tmu_base + 0x100) & 0xff );
But I hope can use command line of windows IoT core in userspace to get this CPU temperature in kernel space.
Have any simplest example that I can do that
Please contact Microsoft for the BSP's code support.