SPT3.1 How to create a new algorithm?

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

SPT3.1 How to create a new algorithm?

686件の閲覧回数
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 返答(返信)

659件の閲覧回数
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 件の賞賛
返信

656件の閲覧回数
Shi_test
Contributor III
OK I'll try. Thank you
0 件の賞賛
返信

672件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I have contacted RADAR team for clarification.

Best regards,

Peter

0 件の賞賛
返信