Monday, August 5, 2013

IE_stm32_ivt.S

/*
 **********************************************************************
 *name:         IE_stm32_ivt.S
 *author:       Samuel Igwe
 *date:         08/04/2013
 *description:  Igbo Embedded stm32_ivt.S source
 *              the interrupt vector table starts with the initial 
 *              stack address followed by the addresses of the function
 *              and ISR's. just allocate the space - leave it vacant
 **********************************************************************
 */



.global stm32_ivt
.global stm32_ivt_end
.extern main
.equ STM32_SRAM_BASE, 0x20000000
.equ    STM32_NUM_INT  , 60
.data
.align 4
stm32_ivt:      .word   STM32_SRAM_BASE + (20 * 1024)
                .word   (main + 1)
                .skip   (14 * 4)
                .skip   (STM32_NUM_INT * 4)
stm32_ivt_end:
.text


No comments:

Post a Comment