GreenWaves-Technologies / gap_sdk

SDK for Greenwaves Technologies' GAP8 IoT Application Processor
https://greenwaves-technologies.com/en/gap8-the-internet-of-things-iot-application-processor/
Apache License 2.0
139 stars 76 forks source link

Flashing C++ program to ai deck #357

Open flrnhbr1 opened 1 year ago

flrnhbr1 commented 1 year ago

I try to develop an image processing application on the ai deck.

I am new to working on an embedded system, but I thought it would be much easier to implement in C++ because there is e.g. opencv which works in C++.

I read in the manual that the Gap8 is made for C/C++ programming. There is also the helloword_cxx example where the source code is a cpp file. I tried to flash this example, but i get always error messages.

Is it possible to get a C++ code working on the Gap8 chip or do I have to do it in C?

Thank you very much in advance!

Yaooooo commented 1 year ago

Sorry for late reply. We do support C++, but all of our codes are in C. If you can provide your issue details, maybe we can help