Compiling CC2540 code in SDCC



I am a student and a part of my graduation assignment involves programming the CC2540 chip. The problem is that I'm not able to use the IAR compiler since I don't have a license. That's why I'm trying to use SDCC for compiling the SimpleBLE peripheral and proceed from there. 

Now I have a few questions about this,

- Has anyone been able to port the code to SDCC?

also, I have been trying to port the code to SDCC myself for the last few days and I want to know before I proceed,

- Is it possible to port the code to SDCC? or are there some (protected) files which only IAR can use?


I hope you can answer my questions.

Thanks in advance,


Gijs de Graaf