Mbed LoRaWAN Stack modificaton for SoC Design

Hi,
I am planning to use I-CUBE-LRWAN v1.3.1 which supports STM32L0/L1/L4 mcu for developing an SoC which supports LoRaWAN.


I am planning to use Mbed Surce code for the same. Do I need to write the code to enable the drivers in this case? (eg: SX1272,SX1276). Is there any other modification required to develop the SoC firmware.
The following is the link of the Mbed Source code I am planning to use.

Thanks & Regards
Keerthi