Fix the endless loop issue with GCC O0.
More details, see https://github.com/ARM-software/CMSIS_5/issues/620 The issue only happens when local variables are in stack (GCC O0). If local variables are saved in general purpose register, then the function is OK. When local variables are in stack, after disabling the cache, flush the local variables cache line for data consistency.
Loading
Please sign in to comment