samples: Add esp32s2_saola overlay

- Add overlay for the esp32s2_saola board to die_temp_polling sample.
- Add aliases for the die_temp_polling sample to esp32s2 dtsi.

Signed-off-by: Hiroki Tada <tada.hiroki@fujitsu.com>
This commit is contained in:
Hiroki Tada 2023-06-30 14:57:36 +00:00 committed by Fabio Baltieri
parent 332850a367
commit 7e3f0ef407
3 changed files with 16 additions and 0 deletions

View file

@ -16,6 +16,10 @@
#address-cells = <1>;
#size-cells = <1>;
aliases {
die-temp0 = &coretemp;
};
chosen {
zephyr,entropy = &trng0;
zephyr,flash-controller = &flash;

View file

@ -0,0 +1 @@
CONFIG_NEWLIB_LIBC=y

View file

@ -0,0 +1,11 @@
/*
* Copyright (c) 2022 Espressif Systems (Shanghai) Co., Ltd.
*
* SPDX-License-Identifier: Apache-2.0
*
* Application overlay for creating temperature sensor device instance
*/
&coretemp {
status = "okay";
};