SPT3.1 How to create a new algorithm?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SPT3.1 How to create a new algorithm?

729 Views
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 Kudos
Reply
3 Replies

702 Views
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 Kudos
Reply

699 Views
Shi_test
Contributor III
OK I'll try. Thank you
0 Kudos
Reply

715 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I have contacted RADAR team for clarification.

Best regards,

Peter

0 Kudos
Reply