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