initial port to stm32f4-discovery (cortex-m4)

Dmitry Shapovalov dmitry at 0fe.ru
Thu Jan 12 14:29:55 UTC 2012


hi

I not quite understand this code in irq.c:

memcpy(&stm32f4_vector_table [0], (void *) 0, sizeof(stm32f4_vector_table));
  _ARMV7M_SCB->vtor = &stm32f4_vector_table [0];


it copies the interrupt table from 0 to our structure and then sets a new
interrupt table address. this is the right place to do it? do we really need to
do it at all? without it the system hangs on the first call to sleep. I
think because the timer interrupt stops working.

With Best Regard.

Dmitry Shapovalov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20120112/7f1f524a/attachment-0001.html>


More information about the users mailing list