C++ support on ESP boards #34767
Labels
area: C++
bug
The issue is a bug, or the PR is fixing a bug
platform: ESP32
Espressif ESP32
priority: low
Low impact/importance bug
Stale
Is your feature request related to a problem? Please describe.
I'm trying to build a Zephyr application that has a C++ file and links to a C++ external library (TensorFlow Lite Micro). The application builds fine if the ARM GCC toolchain is used. However, on ESP, which uses the Xtensa GCC toolchain, there are problems.
In the compilation stage, there are a few problems related to incompatible function declarations between Zephyr's header files and the file
xtensa-esp32-elf/sys-include/time.h
. If I comment out these declarations, I have a number of linker errors about symbols being undefined, for example the__getreent
symbol.Describe the solution you'd like
Properly support C++ on ESP boards. This would allow to run TensorFlow Lite Micro applications with Zephyr on these boards.
The text was updated successfully, but these errors were encountered: