Hi, I use Keil MDK 5.21 to develop Cortex-M processors.
Suppose I have a function foo.
void foo(uint8_t count){ uint16_t array[count]; // ... }
This can be compiled. However, the code cannot run on my Cortex-M MCU.
If I try to debug, it cannot reach the main function.
If I comment that variable,
//uint16_t array[count];
then the code runs.
Does Keil MDK's compiler support VLA?
Are there extra settings to be done to use it?
-Best Regards