diff --git a/system_stm32f1xx/startup_stm32f105xc.S b/system_stm32f1xx/startup_stm32f105xc.S index a3a7fed..72acb22 100644 --- a/system_stm32f1xx/startup_stm32f105xc.S +++ b/system_stm32f1xx/startup_stm32f105xc.S @@ -30,6 +30,8 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ---------------------------------------------------------------------------*/ +#if defined(STM32F105xC) + .syntax unified .arch armv7-m @@ -421,3 +423,5 @@ Default_Handler: def_irq_handler OTG_FS_IRQHandler .end + +#endif