Added FSMC fix for main software project