GNU-ARM compiler reports "Error: unaligned opcodes..." in startup code for...
Real-Time Event Frameworks based on active objects & state machines
Brought to you by:
quantum-leaps
The newer versions if GNU-ARM (e.g., gcc v6.3.1) report:
Error: unaligned opcodes detected in executable segment
For the startup code located in QP/C/C++/nano 3rd_party directories. The following startup files don't compile:
3rd_party/efm32pg1b/gnu/startup_efm32pg1b.c
3rd_party/ek-lm3s6965/gnu/startup_LM3S6965.c
3rd_party/ek-tm4c123gxl/gnu/startup_TM4C123GH6PM.c
3rd_party/mbed-lpc1768/gnu/startup_LPC17xx.c
3rd_party/nucleo-l053r8/gnu/startup_stm32l053xx.c
3rd_party/nucleo-l152re/gnu/startup_stm32l1xx.c
3rd_party/stm32f4-discovery/gnu/startup_stm32f4xx.c
3rd_party/stm32f7-discovery/gnu/startup_stm32f7xx.c
Anonymous
Fixed in QP/C/C++/nano 5.9.5.
--MMS