Skip to content

Commit 87344a6

Browse files
committed
Add cpu_temp metric for rt1024_evk
1 parent b9e9c96 commit 87344a6

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

boards/mimxrt1024_evk.conf

+4
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@ CONFIG_IMG_MANAGER=y
99

1010
# Larger coredumps are now supported
1111
CONFIG_MEMFAULT_COREDUMP_STACK_SIZE_TO_COLLECT=1024
12+
13+
# For cpu_temp metric
14+
CONFIG_SENSOR=y
15+
CONFIG_ADC=y

boards/mimxrt1024_evk.overlay

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// Enable temperature sensor
2+
/ {
3+
aliases {
4+
die-temp0 = &tempmon;
5+
};
6+
};
7+
8+
&tempmon {
9+
status = "okay";
10+
};

0 commit comments

Comments
 (0)