system_stm32f2xx.c

#ifdef VECT_TAB_SRAM
  SCB->VTOR = SRAM_BASE | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal SRAM. */
#else
  SCB->VTOR = FLASH_BASE | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal FLASH. */
#endif
  extern unsigned int __vector_table;
  SCB->VTOR = (unsigned int)&__vector_table;

startup_stm32f2xx.s

        PUBLIC  __vector_table

        DATA
__vector_table
        DCD     sfe(CSTACK)
        DCD     Reset_Handler             ; Reset Handler

 

相关文章:

  • 2021-05-28
  • 2022-12-23
  • 2021-11-15
  • 2022-12-23
  • 2022-01-28
  • 2022-01-10
  • 2021-10-08
  • 2021-09-26
猜你喜欢
  • 2022-01-17
  • 2021-06-05
  • 2021-07-21
  • 2022-02-16
  • 2021-11-08
  • 2022-12-23
相关资源
相似解决方案