Skip to content

Commit 8336844

Browse files
authored
Support cpu_temp metric (#4)
Update Memfault SDK to 1.9.2. The reported values seem somewhat high, 35-38 deg C. That's what's coming off the temperature sensor in Zephyr, though.
1 parent 38e2e16 commit 8336844

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

boards/esp32s3_devkitm.overlay

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@
77
&wifi {
88
status = "okay";
99
};
10+
11+
&coretemp {
12+
status = "okay";
13+
};

prj.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,7 @@ CONFIG_FLASH=y
9494
CONFIG_FLASH_PAGE_LAYOUT=y
9595
CONFIG_FLASH_MAP=y
9696
CONFIG_STREAM_FLASH=y
97+
98+
# For cpu_temp metric
99+
CONFIG_SENSOR=y
100+
CONFIG_ADC=y

west.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ manifest:
1919
- name: memfault-firmware-sdk
2020
path: modules/lib/memfault-firmware-sdk
2121
remote: memfault
22-
revision: 1.9.0
22+
revision: 1.9.2

0 commit comments

Comments
 (0)