fsl_adc16_hal.h and fsl_adc16_driver.h both have a syntax error when building with a c++ compiler.
You have:
#if defined(__cplusplus)
extern }
#endif
when it should be
#if defined(__cplusplus)
}
#endif
I'm not sure if this exists elsewhere
Found something else c++ related:
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);
If you include fsl_clock_manager in a cpp file you get this error. C++ doesn't like the array syntax in the function call without a size bound.
These are minor syntax issues that I can patch myself without much trouble. I just wanted to let Freescale know so that maybe they can be officially fixed in the next release. Thanks for the link though.
Hi Kevin,
Which chip do you use ?
And which IDE do you use ?
BR
Alice
I'm using a TWR-K64F120M. Just building from the command line