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?
Solved! Go to Solution.
Hello Wang,
(1) Please tell me the version of KSDK ? please pay attention , the KDS is 3.0 , not SDK.
The latest is KSDK1.2 , you can find here :
Software Development Kit for Kinetis MCUs|Freescale
please use the latest version .
(2) Please send your project to show how to you use the structure .
BR
Alice
Hello Wang,
(1) Please tell me the version of KSDK ? please pay attention , the KDS is 3.0 , not SDK.
The latest is KSDK1.2 , you can find here :
Software Development Kit for Kinetis MCUs|Freescale
please use the latest version .
(2) Please send your project to show how to you use the structure .
BR
Alice