MQX 4.1: how does timer_lpt.c get compiled?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MQX 4.1: how does timer_lpt.c get compiled?

跳至解决方案
1,266 次查看
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 解答
1,161 次查看
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 回复数
1,161 次查看
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 项奖励
回复
1,161 次查看
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 项奖励
回复
1,162 次查看
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 项奖励
回复