DWM1000 with imx8mm over SPI

Hello everyone, i am studying UWB und want to connect DWM1000 with my Basic Board. i readed the Documentation und tried to use Decadriver to connect both of them. But i have Problem, i didn’t use one Product from STM32. So I think that i musst edit file Port.c Port.h to use these function readfromspi() und writetospi(). But Port.c is connected with “stm32f1…”. My question is, how cann i use Decadriver without STM Config?
Thanks