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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
619件の閲覧回数
wyflsxy
Contributor II

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?

ラベル(1)
0 件の賞賛
1 解決策
306件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

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

元の投稿で解決策を見る

0 件の賞賛
1 返信
307件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

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

0 件の賞賛