To work with CCCS API, you must:

  1. Include the cccs_services.h header file in your application source code:

    #include <cccs_services.h>
  2. Link against the CCCS library, which is already included in the precompiled toolchain. See Application development.

    The library provides a pkg-config file, cccs.pc, installed in the toolchain. To configure the proper compilation flags and linked libraries, add the following lines in your makefile:

    CFLAGS += $(shell pkg-config --cflags cccs)
    LDLIBS += $(shell pkg-config --libs --static cccs)

You can build your application: