Include and C++ compatibility
Posted: Thu Mar 02, 2017 5:17 pm
Those file can't be included directly in a cpp.
This fix the problem.
This could be fixed on the sdk side ;p
Thanks
Code: Select all
#include <soc/rmt_struct.h> // Generate compilation error
#include <esp_intr.h> // Generate link error
Code: Select all
#ifdef __cplusplus
extern "C" {
#endif
#include <soc/rmt_struct.h>
#include <esp_intr.h>
#ifdef __cplusplus
}
#endif
Thanks