From 7bf6325de6f5891cb9ec54c734a37d10e49aa9e3 Mon Sep 17 00:00:00 2001 From: cuiziwei Date: Thu, 24 Oct 2024 10:41:30 +0800 Subject: [PATCH] Fix xtensa build error with choice LIBSUPCXX by default. Signed-off-by: cuiziwei --- boards/xtensa/esp32/esp32-devkitc/configs/cxx/defconfig | 1 + boards/xtensa/esp32s2/esp32s2-saola-1/configs/cxx/defconfig | 1 + boards/xtensa/esp32s3/esp32s3-devkit/configs/cxx/defconfig | 1 + 3 files changed, 3 insertions(+) diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/cxx/defconfig b/boards/xtensa/esp32/esp32-devkitc/configs/cxx/defconfig index 081899e81c..ac628ab1b2 100644 --- a/boards/xtensa/esp32/esp32-devkitc/configs/cxx/defconfig +++ b/boards/xtensa/esp32/esp32-devkitc/configs/cxx/defconfig @@ -29,6 +29,7 @@ CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_LIBCXX=y +CONFIG_LIBCXXABI=y CONFIG_LIBC_LOCALE=y CONFIG_LIBC_MAX_EXITFUNS=1 CONFIG_LIBM=y diff --git a/boards/xtensa/esp32s2/esp32s2-saola-1/configs/cxx/defconfig b/boards/xtensa/esp32s2/esp32s2-saola-1/configs/cxx/defconfig index c08e834e6e..091ca51f02 100644 --- a/boards/xtensa/esp32s2/esp32s2-saola-1/configs/cxx/defconfig +++ b/boards/xtensa/esp32s2/esp32s2-saola-1/configs/cxx/defconfig @@ -29,6 +29,7 @@ CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INIT_STACKSIZE=3072 CONFIG_INTELHEX_BINARY=y CONFIG_LIBCXX=y +CONFIG_LIBCXXABI=y CONFIG_LIBC_LOCALE=y CONFIG_LIBC_MAX_EXITFUNS=1 CONFIG_LIBM=y diff --git a/boards/xtensa/esp32s3/esp32s3-devkit/configs/cxx/defconfig b/boards/xtensa/esp32s3/esp32s3-devkit/configs/cxx/defconfig index cf1d592057..3c38aa39d3 100644 --- a/boards/xtensa/esp32s3/esp32s3-devkit/configs/cxx/defconfig +++ b/boards/xtensa/esp32s3/esp32s3-devkit/configs/cxx/defconfig @@ -31,6 +31,7 @@ CONFIG_IDLETHREAD_STACKSIZE=3072 CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INTELHEX_BINARY=y CONFIG_LIBCXX=y +CONFIG_LIBCXXABI=y CONFIG_LIBC_LOCALE=y CONFIG_LIBC_MAX_EXITFUNS=1 CONFIG_LIBM=y