From 1f1d20e120b6df74ac3aef282e19595ab0c6160c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Izzo?= Date: Fri, 28 Jul 2023 17:00:19 +0200 Subject: [PATCH] Update T-TWR devicetree Updated T-TWR devicetree to reflect changes in upstream Zephyr. TG-553 --- platform/targets/ttwrplus/Kconfig.board | 6 +++++- platform/targets/ttwrplus/ttwrplus.dts | 2 +- platform/targets/ttwrplus/ttwrplus_defconfig | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/platform/targets/ttwrplus/Kconfig.board b/platform/targets/ttwrplus/Kconfig.board index 1a2cc075..8720d09b 100644 --- a/platform/targets/ttwrplus/Kconfig.board +++ b/platform/targets/ttwrplus/Kconfig.board @@ -4,4 +4,8 @@ config BOARD_TTWRPLUS bool "LilyGo T-TWR Plus Board" - depends on SOC_ESP32S3 + depends on SOC_SERIES_ESP32S3 + +choice SOC_PART_NUMBER + default SOC_ESP32S3_WROOM_N16R8 +endchoice diff --git a/platform/targets/ttwrplus/ttwrplus.dts b/platform/targets/ttwrplus/ttwrplus.dts index eb7f7268..8ff7a232 100644 --- a/platform/targets/ttwrplus/ttwrplus.dts +++ b/platform/targets/ttwrplus/ttwrplus.dts @@ -3,7 +3,7 @@ */ /dts-v1/; -#include +#include #include #include #include diff --git a/platform/targets/ttwrplus/ttwrplus_defconfig b/platform/targets/ttwrplus/ttwrplus_defconfig index 3d84c30b..a51f335a 100644 --- a/platform/targets/ttwrplus/ttwrplus_defconfig +++ b/platform/targets/ttwrplus/ttwrplus_defconfig @@ -1,3 +1,5 @@ +CONFIG_SOC_SERIES_ESP32S3=y +CONFIG_BOOTLOADER_MCUBOOT=y CONFIG_DISPLAY=y CONFIG_SSD1306=y CONFIG_SSD1306_SH1106_COMPATIBLE=y