cancel
Showing results for 
Search instead for 
Did you mean: 

what is the maximum size of an array (float data[R][C] ) that I can use it with STM32F407 ?

MHass.2
Associate III

Hi,

I use STM32F407 to acquire and process data from sensors, this data is very large approximately I need to define array (float Data[12][15000]) with 12 row and 15000 column

but, STM32F407 mcu can't define this array.

Did I exceed the maximum size of data memory ? and how I can determine the maximum size of an array of type float?

Thanks..

1 ACCEPTED SOLUTION

Accepted Solutions

sizeof(float) is 4, so if float foo[a][b]; sizeof(foo) is a*b*4 bytes.

JW

View solution in original post

1 REPLY 1

sizeof(float) is 4, so if float foo[a][b]; sizeof(foo) is a*b*4 bytes.

JW