Hmmm, looks like some license cleanup is needed:
> modified version of StdPeriph function is located here. > TODO - what license does apply here? > original file was lincesed under MCD-ST Liberty SW License Agreement V2 > http://www.st.com/software_license_agreement_liberty_v2
From "ultimate-liberty-v2.txt":
> 4. This software, including modifications and/or derivative works of this software, must execute solely and exclusively on microcontroller or microprocessor devices manufactured by or for STMicroelectronics.
Maybe switch to libopencm3 for basic hardware support?