TinyOS PORT problems on modify

I make a copy of FEZCLR and
I tried to modify DeviceSelector.h
For nucleoSTM32F411RET6
Regards mapped things i tried to expand
From uart=2 and SPI=2
To Uart = 3 and Spi = 5
Also change from Inlude stm32f401ex.h to
Include stm32f411ex.h

Any change or usage of those cause problem
Because you hardcoded limite it to 2 or more (than 6)