This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LP-EM-CC2340R53: Project does not boot-up when C++ support is enabled in peripheral example

Part Number: LP-EM-CC2340R53


Tool/software:

Hi,

I am using TI Zephyr fork v3.7.0-ti-8.40.00_ea (https://github.com/TexasInstruments/simplelink-zephyr/tree/v3.7.0-ti-8.40.00_ea) for the target evaluation board LP_EM_CC2340R53.

My project involves C++ sources, however when I try to enable support for C++; the project does not boot-up.

In order to experiment further, I try to build the peripheral example and enabled support for C++ by adding the KConfig macro in the prj.conf file

CONFIG_CPP=y
This, again resulted in the peripheral project not booting up.
Do I miss some configuration, how do I make sure that C++ sources safely run together with the C sources
BTW: the project compiles and link successfully, however does not run 
I attach my project configuration and environment details here:
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: C:/Users/ekb6fe/simplelink_zephyr/zephyr/samples/bluetooth/peripheral
-- CMake version: 4.0.3
-- Found Python3: C:/Users/ekb6fe/simplelink_zephyr/.venv/Scripts/python.exe (found suitable version "3.13.7", minimum required is "3.8") found components: Interpreter
-- Cache files will be written to: C:/Users/usr/simplelink_zephyr/zephyr/.cache
-- Zephyr version: 3.7.0 (C:/Users/usr/simplelink_zephyr/zephyr)
-- Found west (found suitable version "1.4.0", minimum required is "0.14.0")
-- Board: lp_em_cc2340r53, qualifiers: cc2340r53
-- Found host-tools: zephyr 0.16.8 (C:/usr/ekb6fe/zephyr-sdk-0.16.8)
-- Found toolchain: zephyr 0.16.8 (C:/usr/ekb6fe/zephyr-sdk-0.16.8)
-- Found Dtc: C:/Users/usr/AppData/Local/Microsoft/WinGet/Packages/oss-winget.dtc_Microsoft.Winget.Source_8wekyb3d8bbwe/usr/bin/dtc.exe (found suitable version "1.6.1", minimum required is "1.4.6")
-- Found BOARD.dts: C:/Users/usr/simplelink_zephyr/zephyr/boards/ti/lp_em_cc2340r53/lp_em_cc2340r53.dts
-- Generated zephyr.dts: C:/usr/ekb6fe/simplelink_zephyr/build/app/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/Users/usr/simplelink_zephyr/build/app/zephyr/include/generated/zephyr/devicetree_generated.h