KSDK 1.2.0 and MKV30 :How to remove osa1 if i dont want any OS??

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

KSDK 1.2.0 and MKV30 :How to remove osa1 if i dont want any OS??

跳至解决方案
1,271 次查看
diegocolombo
Contributor IV

Hi

I'm trying to work with a MKV30 processor

It looks that is not possible to remove osa 1:

If i remove it the fsl_clock_manager component complains,if i remove it then the CPU component complains that the latter is missing.

I found an example for KSDK 1.1.0:

Low power demo application on FRDM-KL03Z board with KSDK 1.1.0

but it does not works to me in KSDK 1.2.0.

The CPU component has few options compared to the one in  the example

The CPU component needs a fsl_clock_manager

The fsl clock manager has the "Share components" checkbox flagged and disabled,and it is shared with osa1

Thus the CPU can only work with fsl_os_abstraction osa1

it looks that there is no  escape.

I'm i wrong?I hope yes

In many cases a RTOS and is helpful,and  thanks a lot to the guys who developed all this framework..but sometimes a programmer would need something lighter and closer to hardware.

Thanks for any help

0 项奖励
回复
1 解答
774 次查看
vfilip
NXP Employee
NXP Employee

Hi,

this is possible when you switch clock manager to CMSIS startup code (Hardware initialization group). In this case only HAL components can be used.

Generally it is possible to have PEx projects without OSA from 1.2 but with limitations mentioned above. These limitations are caused by KSDK itself.

pastedImage_0.png

best regards

Vojtech Filip

在原帖中查看解决方案

3 回复数
775 次查看
vfilip
NXP Employee
NXP Employee

Hi,

this is possible when you switch clock manager to CMSIS startup code (Hardware initialization group). In this case only HAL components can be used.

Generally it is possible to have PEx projects without OSA from 1.2 but with limitations mentioned above. These limitations are caused by KSDK itself.

pastedImage_0.png

best regards

Vojtech Filip

774 次查看
diegocolombo
Contributor IV

Thanks Vojtech Filip,it works as i need.

Regards

Diego

0 项奖励
回复
774 次查看
diegocolombo
Contributor IV

Thanks for your answer.I'll try tonight.I'll let you know if i will be able to do it

Regards

0 项奖励
回复