Search found 5 matches

by ervays
Tue Jul 25, 2017 6:29 am
Forum: General Discussion
Topic: C++ Test frameworks for ESP32
Replies: 0
Views: 2613

C++ Test frameworks for ESP32

Good day all of you,


I would like to know if some of you have ever used C++ and testing frameworks. I'm not keen at it, in fact, I'm pretty beginner with testing frameworks, so every advice would be more than welcome. I've used unity for the c code. But I would like to test all the C++ code ...
by ervays
Wed Apr 19, 2017 8:01 am
Forum: General Discussion
Topic: KConfig files
Replies: 0
Views: 3533

KConfig files

Hi,

I'm trying to create a nice KConfig menu. I have different components and I'd like to have all the KConfig code that needs a component in the same file.

I know I can do it just writting inside the KConfig files inside my Components.


What I'd like to do is a bit more tricky. I would like to ...
by ervays
Thu Apr 06, 2017 3:48 am
Forum: General Discussion
Topic: Including C++ code into C project
Replies: 4
Views: 12641

Re: Including C++ code into C project

Yes, it was the .cc extension.

Thanks for evrthng. This was really frustrating. I'm sort of newby chip programmer, I'm used to plain C++ development.


Cheers!
by ervays
Wed Apr 05, 2017 1:44 pm
Forum: General Discussion
Topic: Including C++ code into C project
Replies: 4
Views: 12641

Re: Including C++ code into C project

Thats not the problem I think. I've test the code in a simple C++ app and it works.

I think that there is smth about the environment cause __cplusplus is not defined.



SensorTask.c

#include "../Task/SensorsTask.h"
#include "../Controller/SensorsController_Wrapper.h"


static xTaskHandle ...
by ervays
Tue Apr 04, 2017 11:49 am
Forum: General Discussion
Topic: Including C++ code into C project
Replies: 4
Views: 12641

Including C++ code into C project

Hi,


My goal is to make a component that read from some sensors. Due to the requirements of the project, the code must be in C++ cause I need to use some pattern design, but the project(Main and other components, should be write with C).

file1.c-----Calls static function---->file2..cpp-----Create ...

Go to advanced search