Serial is freezing arduino
The problem was solved by:


making a clean install of Arduino IDE 1.6.9
uploading the LinkIt SDK on board manager from version 1.1.17 to 1.1.23.


Then the Serial function returned back to normal.