Skip to content
Snippets Groups Projects
Commit 179e8505 authored by Joakim Nohlgård's avatar Joakim Nohlgård
Browse files

kinetis: Const ISR vector padding

Fixes misleading .data usage in size output because the .vectors section
is now properly marked as read-only in the ELF file.
parent f073fdb3
No related branches found
No related tags found
No related merge requests found
......@@ -223,4 +223,4 @@ WEAK_DEFAULT void isr_wdog_ewm(void);
* tables, or link the table from a different CPU, and catch many other mistakes. */
/* We subtract the expected number of used vectors, which are: The initial stack
* pointer + the Cortex-M common IRQs + the Kinetis CPU specific IRQs */
ISR_VECTOR(99) const isr_t vector_padding[(0x400 / sizeof(isr_t)) - 1 - CPU_NONISR_EXCEPTIONS - CPU_IRQ_NUMOF];
ISR_VECTOR(99) const isr_t vector_padding[(0x400 / sizeof(isr_t)) - 1 - CPU_NONISR_EXCEPTIONS - CPU_IRQ_NUMOF] = {0};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment