Hi,
There appears to be a syntax error in cslr_spi.h included in the C6678 PDK 1.0.0.21 (and older versions of the PDK).
There is a unterminated extern "C" section started at the top of cslr_spi.h:
#ifndef _CSLR_SPI_H_
#define _CSLR_SPI_H_
#ifdef __cplusplus
extern "C" {
#endif
...<defines and structs>...
#endif
This extern "C" section is not terminated at the end of the header file, which causes compilation errors when this file is included in C++ files.
-
Kjetil