SPT3.1 How to create a new algorithm?

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

SPT3.1 How to create a new algorithm?

545 次查看
Shi_test
Contributor III

S32R45:

I create a new algorithm(xxxxx.pspt),and put it in "SPT\SPT_kernels\src\SPT3\31".Then i Compiled SPT.

But "SPT\SPT_kernels\api\rsdk_spt_kernels_s32r45.h" don't have my new algorithm:

like "extern void *RsdkSptRange512smp128crp4ch();" and "extern char RsdkSptRange512smp128crp4ch_size;"

  • Should I add it manually?

0 项奖励
回复
3 回复数

518 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

If you want to re-use spt kernel project, after importing project . it is necessary to add SPT algo declare/ extern object in the header file-"SPT_kernels\api\rsdk_spt_kernels_s32r45.h" manually, the algorithm code will be built into the SPT static lib file"*.aspt"

you can find some help document in S32DS in case you need, like "how to create new/build spt project, linking spt lib", see attached picture.

petervlna_0-1679647899437.png

Best Regards,

Peter

 

0 项奖励
回复

515 次查看
Shi_test
Contributor III
OK I'll try. Thank you
0 项奖励
回复

531 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I have contacted RADAR team for clarification.

Best regards,

Peter

0 项奖励
回复