AnsweredAssumed Answered

KSDK 1.1, C++ compiler error with CLOCK_SYS_Init()

Question asked by giacomopetrini on Dec 22, 2014
Latest reply on Dec 22, 2014 by giacomopetrini

Ok, I'm updating my project with KSDK 1.1, so imported the new ksdk_platform_lib in the workspace, compiled it, changed the include path of my project to use $KSDK_PATH\platform\etc. (under win eh).

Started compiling, patching what wrong (ie: adc now is adc16, etc.)

 

I got this error with the C++ compiler.

C:\Freescale\KSDK_1.1.0/platform/system/inc/fsl_clock_manager.h:480:54: error: parameter 'callbacksPtr' includes pointer to array of unknown bound 'clock_manager_callback_user_config_t* [] {aka ClockManagerCallbackUserConfig* []}'

                               uint8_t callbacksNumber);

 

the function declaration (in fsl_clock_manger.h) is:

 

clock_manager_error_code_t CLOCK_SYS_Init(clock_manager_user_config_t const *clockConfigsPtr,

                              uint8_t configsNumber,

                              clock_manager_callback_user_config_t *(*callbacksPtr)[],

                              uint8_t callbacksNumber);

 

Any ideas?

 

Regards

Giacomo

Outcomes