From d9c0a9a4f0b59b5fab8281a642d7b591f859c1a0 Mon Sep 17 00:00:00 2001 From: Noah Pendleton <2538614+noahp@users.noreply.github.com> Date: Thu, 6 Jun 2024 08:23:15 -0400 Subject: [PATCH] Support cpu_temp metric 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. --- boards/esp32s3_devkitm.overlay | 4 ++++ prj.conf | 4 ++++ west.yml | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/boards/esp32s3_devkitm.overlay b/boards/esp32s3_devkitm.overlay index 4d69fe2..b417db0 100644 --- a/boards/esp32s3_devkitm.overlay +++ b/boards/esp32s3_devkitm.overlay @@ -7,3 +7,7 @@ &wifi { status = "okay"; }; + +&coretemp { + status = "okay"; +}; diff --git a/prj.conf b/prj.conf index 3350082..09025ac 100644 --- a/prj.conf +++ b/prj.conf @@ -94,3 +94,7 @@ CONFIG_FLASH=y CONFIG_FLASH_PAGE_LAYOUT=y CONFIG_FLASH_MAP=y CONFIG_STREAM_FLASH=y + +# For cpu_temp metric +CONFIG_SENSOR=y +CONFIG_ADC=y diff --git a/west.yml b/west.yml index 2effcf8..9f33056 100644 --- a/west.yml +++ b/west.yml @@ -19,4 +19,4 @@ manifest: - name: memfault-firmware-sdk path: modules/lib/memfault-firmware-sdk remote: memfault - revision: 1.9.0 + revision: 1.9.2