Page 1 of 1

Rainmaker components

Posted: Mon Oct 23, 2023 8:31 am
by Trupal
Hello,

I have use rainmaker GPIO example in other projects so what should I do ? and what are the components I have to add in other project like common folder and all?

thank you
Trupal

Re: Rainmaker components

Posted: Mon Oct 23, 2023 12:11 pm
by ESP_Piyush
You will have to explicitly include all components from esp-rainmaker/examples/common and the ones from esp-rainmaker/components. The latter can be skipped if you just include the esp_rainmaker component from component manager which will pull in all dependencies. However, the ones from examples/common will still be required to be included explicitly.

An easy option is to just set RMAKER_PATH to point to esp-rainmaker folder and the default CMakeLists.txt will pick up all required components.