Data abort at start lvgl7.0, compiled with full speed optimisation only.
What MCU/Processor/Board and compiler are you using?
SAMA5D3 (ARM Cortex A5) Compiler: IAR for ARM 7.8
What do you experience?
I use the ARM IAR compiler, which allows you to include various optimization strategies. When you turn on full speed optimization and the option “Common subexpression elimination” or CSE, the application crashes in Data Abort. Empirically, I determined that the fall occurs in lv_ll.c i.e. if you compile this file without CSE, then the application works without problems. It has not yet been possible to identify in which particular function the problem occurs.
I’m not sure if this can be called a bug, but version 6.1.2 did not have similar behavior on the same platform and the same compiler. In addition, I always believed that the program should be executed the same way, at any optimization levels.
What do you expect?
Code to reproduce
No specific code to reproduce.