MQX 4.1: how does timer_lpt.c get compiled?

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

MQX 4.1: how does timer_lpt.c get compiled?

ソリューションへジャンプ
501件の閲覧回数
huishao2
Contributor IV

Hi-

After upgrading to MQX4.1, I don't see timer_lpt.h get copied into lib\...\debug\bsp and that causes compiler error for reference to LPT_FLAG_CLOCK_SOURCE_ALL. Which BSPCFG_xxx flag do I need set to enable the compilation of low power timer.

thanks!

Hui

Further digging into this problem, I realized that the low power timer API is removed from MQX4.1, not sure why. I am working on k20d50m BSP and K20DX128VFM5 Kinetis that does have low power timer (LPTimer).

Message was edited by: Hui Shao

タグ(3)
0 件の賞賛
1 解決策
396件の閲覧回数
DavidS
NXP Employee
NXP Employee

Hi Hui,

GA stands for "General Availability".  Our marketing team worked on that for a time ;-)

The MQX installer is now post fixed with the GA.

Ex:  FSLMQXOS_4_1_0_GA.exe.  I modify the default name to include the GA in the path name.

Regards,

David

元の投稿で解決策を見る

0 件の賞賛
3 返答(返信)
396件の閲覧回数
DavidS
NXP Employee
NXP Employee

Hi Hui,

Please look at following example:

C:\Freescale\Freescale_MQX_4_1_0_GA\mqx\examples\lowpower

This folder also has PDF to explain the example.

Your user_config.h will need following update:

#define MQX_ENABLE_LOW_POWER                      1

Regards,

David

0 件の賞賛
396件の閲覧回数
huishao2
Contributor IV

HI David


Thanks for your reply. BTW, what is GA version of MQX like MQX_4_1_0_GA?

regards

Hui

0 件の賞賛
397件の閲覧回数
DavidS
NXP Employee
NXP Employee

Hi Hui,

GA stands for "General Availability".  Our marketing team worked on that for a time ;-)

The MQX installer is now post fixed with the GA.

Ex:  FSLMQXOS_4_1_0_GA.exe.  I modify the default name to include the GA in the path name.

Regards,

David

0 件の賞賛