Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++ support on ESP boards #34767

Closed
atiselsts opened this issue May 3, 2021 · 1 comment
Closed

C++ support on ESP boards #34767

atiselsts opened this issue May 3, 2021 · 1 comment
Assignees
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

Comments

@atiselsts
Copy link

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.

@galak galak added area: C++ platform: ESP32 Espressif ESP32 bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug labels May 4, 2021
@github-actions
Copy link

github-actions bot commented Jul 4, 2021

This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

3 participants