startup.c

Для упрощения выкинем из кода обработчики прерываний и занулим их вектора:
    0,                  /*!%5 RCC                          */                                           
    0,                  /*!%6 EXTI Line0                   */                       
    0,                  /*!%7 EXTI Line1                   */
    0,                  /*!%29 TIM3                         */                  
    0,                  /*!%30 TIM4                         */                  
    0,                  /*!%31 I2C1 Event                   */

Comments