AnsweredAssumed Answered

the problem of  the MQX RTOS for Kinetis SDK in SDK3.0

Question asked by wang yufei on Jul 21, 2015
Latest reply on Jul 23, 2015 by Alice_Yang

hello,

I need on the SDK 3.0 development app for MQX RTOS for Kinetis SDK in SDK3.0 。

According to MQXKSDKPUG. PDF and Creating a New MQX RTOS for KSDK.pdf ,Project KDS document introduces I configured in a Project, and the static link libraries are configured in the Project configuration, but now I can only use function calls in KSDK API , unable to use the the structure definition and macro definition in KSDK API , the compiler error said there is no definition, but KSDK doc directory in the API documentation is available

For instance

Typedef struct RtcDatetime

{

Uint16_t year;

Uint16_t month;

Uint16_t day;

Uint16_t hour;

Uint16_t minute;

Uint8_t second;

} rtc_datetime_t;

Or irtc_daylight_time_t

I can't use the definition of this structure, the compiler said does not define the structure

 

But similar to IRTC_HAL_SetDatetime (); I can call the function

I want to know why?

 

In addition in KSDK API

Each module has HAL driver and Peripheral driver,

I should used the HAL driver?

Outcomes