Part Number: TMS320F28379D
Tool/software: TI C/C++ Compiler
Does the C28x C compiler support variable length arrays, and if so is there anything I should be careful of?
For example, this...
void myFunc(uint16_t a)
{
uint16_t i;
float32_t myArr[a];
for (i=0; i<a; i++)
{
myArr[i] = 0;
}
}
main()
{
myFunc(10);
...ends up in an infinite loop in exit.c. I am building with C99 and relaxed ANSI, and .sysmem is 0x400 in length. Does anything come to mind?