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:
parent
332850a367
commit
7e3f0ef407
|
@ -16,6 +16,10 @@
|
|||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
aliases {
|
||||
die-temp0 = &coretemp;
|
||||
};
|
||||
|
||||
chosen {
|
||||
zephyr,entropy = &trng0;
|
||||
zephyr,flash-controller = &flash;
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
CONFIG_NEWLIB_LIBC=y
|
11
samples/sensor/die_temp_polling/boards/esp32s2_saola.overlay
Normal file
11
samples/sensor/die_temp_polling/boards/esp32s2_saola.overlay
Normal 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";
|
||||
};
|
Loading…
Reference in a new issue