Part Number: TDA2PXEVM
Hello,
Some part of our code is C++14, can you provide information about the compatibility with TI-RTOS?
Best regards,
Andrés
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.
Part Number: TDA2PXEVM
Hello,
Some part of our code is C++14, can you provide information about the compatibility with TI-RTOS?
Best regards,
Andrés
Hi,
Please take a look at this thread

Also mention which BIOS version, SDK version and compiler version.
Regards
Vineet
Yes, we are compiling C++ code, but especially C++14 we are facing this error message:
gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include/c++/4.9.3/bits/c++14_warning.h:
#error This file requires compiler and library support for the forthcoming \
ISO C++ 2014 standard. This support is currently experimental, and must be \
enabled with the -std=c++1y or -std=gnu++1y compiler options.
Sorry for the delay, can you try with the flag CFLAGS += -std=c++11 ?
Regards
Vineet
Hello Vineet,
I am the FAE working with this customer. They use the TDAx Vision SDK v3.8 on Windows. Our user's guide require that the GCC ARM tools 4.9-2015-q3-update be installed. On the other hand, my customer's application uses some third=party code that uses C++14. I am still trying to find out which features of C++14 they need, but the trouble is anyway that the above GCC version only has experimental support for C++14.
From what I see (link), my customer may require GCC 5.x. Have we already validated a GCC version more recent than 4.9 with our Vision SDK? Thank you.
Best regards,
François.
Francois,
Can you please clarify on which core you are trying to build the C++ code for and which tool chain is being used? You mentioned "gcc-arm-none-eabi-4_9-2015q3", but please double check.
If I look into the Vision SDK 3.8, it is recommended to use GCC 8.3 version and therefore I want to know how you/customer choose the GCC 4.9 and then make required corrections.
Regadrs
Karthik
Hello Karthik,
My customer develops for TDA2P and referred to the corresponding Vision SDK UG (file:///C:/ti/PROCESSOR_SDK_VISION_03_08_00_00/vision_sdk/docs/UserGuides/VisionSDK_UserGuide_TDA2px.pdf). Its System Requirements section requires to install this version of the GCC ARM tools for the Cortex A15 core: launchpad.net/gcc-arm-embedded/+milestone/4.9-2015-q3-update
Best regards,
François
Francois,
I believe that this is incorrect. I will investigate this further and make another post, but for now can you please try to use https://developer.arm.com/-/media/Files/downloads/gnu-a/8.3-2019.03/binrel/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf.tar.xz
Regards
Karthik
Hi,
Please ignore all the previous post suggestions.
As we know on A15 core we can Bios RTOS as well as Linux & but compiler for RTOS & Linux is different.
ifeq ($(A15_TARGET_OS),Bios)
CODEGEN_PATH_A15 ?=$(TI_SW_ROOT)/cg_tools/linux/gcc-arm-none-eabi-4_9-2015q3
endif
ifeq ($(A15_TARGET_OS),Linux)
CODEGEN_PATH_A15 ?= $(TI_SW_ROOT)/os_tools/linux/arm/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf
A15_TOOLCHAIN_PREFIX ?= $(CODEGEN_PATH_A15)/bin/arm-linux-gnueabihf-
endif
Add the below changes to support C++14 for A15 Bios RTOS
We Just need to set the flag CPPFLAGS = -std=c++14
Thanks
Gaviraju