From caa3772d501366010ee242aaeb6d3647459136fc Mon Sep 17 00:00:00 2001 From: Filipe Cavalcanti Date: Thu, 13 Nov 2025 14:17:01 -0300 Subject: [PATCH] boards/risc-v/esp32c3: remove CXX initialization from BLE defconfig Espressif common initialization and lib_cxx_initialize are having conflicts and multiple linker script issues. Removing CXX_INITIALIZE solves those problems with no side effects. Signed-off-by: Filipe Cavalcanti --- boards/risc-v/esp32c3/esp32c3-generic/configs/ble/defconfig | 2 -- boards/risc-v/esp32c3/esp32c3-generic/configs/nimble/defconfig | 2 -- 2 files changed, 4 deletions(-) diff --git a/boards/risc-v/esp32c3/esp32c3-generic/configs/ble/defconfig b/boards/risc-v/esp32c3/esp32c3-generic/configs/ble/defconfig index 3522accf6c8..981b0136c86 100644 --- a/boards/risc-v/esp32c3/esp32c3-generic/configs/ble/defconfig +++ b/boards/risc-v/esp32c3/esp32c3-generic/configs/ble/defconfig @@ -26,8 +26,6 @@ CONFIG_DRIVERS_IEEE80211=y CONFIG_DRIVERS_WIRELESS=y CONFIG_ESPRESSIF_BLE=y CONFIG_FS_PROCFS=y -CONFIG_HAVE_CXX=y -CONFIG_HAVE_CXXINITIALIZE=y CONFIG_IDLETHREAD_STACKSIZE=2048 CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INTELHEX_BINARY=y diff --git a/boards/risc-v/esp32c3/esp32c3-generic/configs/nimble/defconfig b/boards/risc-v/esp32c3/esp32c3-generic/configs/nimble/defconfig index 8b43d81549f..2aa1f00300b 100644 --- a/boards/risc-v/esp32c3/esp32c3-generic/configs/nimble/defconfig +++ b/boards/risc-v/esp32c3/esp32c3-generic/configs/nimble/defconfig @@ -28,8 +28,6 @@ CONFIG_DRIVERS_WIRELESS=y CONFIG_ESPRESSIF_BLE=y CONFIG_EXAMPLES_NIMBLE=y CONFIG_FS_PROCFS=y -CONFIG_HAVE_CXX=y -CONFIG_HAVE_CXXINITIALIZE=y CONFIG_IDLETHREAD_STACKSIZE=2048 CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INTELHEX_BINARY=y