A day of work, lots of porting, copyand pasting, etc.
8 hours later... I now have working ChibiOS root and target board selection...

And ignoring autosave files and matlab  crash logs.