Get rid of warnings generated on STM32Cube FW

* compile FW sources separately from application code, not using -W
  flags
* disable warnings in FW headers by wrapping includes with pragma
  directives