Skip to main content
Kristof Mulier
Associate III
July 14, 2018
Question

ALIGN(n) differences in linkerscript sections, within the STM32-family

  • July 14, 2018
  • 2 replies
  • 775 views
Posted on July 14, 2018 at 14:10

 

 

The original post was too long to process during our migration. Please click on the attachment to read the original post.
    This topic has been closed for replies.

    2 replies

    Andreas Bolsch
    Lead III
    July 15, 2018
    Posted on July 15, 2018 at 09:38

    What is your problem after all? The vector table must be located at 0x08000000 anyway, and that address is obviously even 'better' aligned than the align directive suggests ...

    Even for a relocated vector table (via VTOR register) the alignment requirement is more restrictive than both align directives.

    waclawek.jan
    Super User
    July 15, 2018
    Posted on July 15, 2018 at 10:49

    generated by CubeMX

    You might want to take any CubeMX output with a pinch of salt, it's not exactly a primary reference material.

    JW