2021-04-08 04:15 PM
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..
Solved! Go to Solution.
2021-04-09 12:04 AM
sizeof(float) is 4, so if float foo[a][b]; sizeof(foo) is a*b*4 bytes.
JW
2021-04-09 12:04 AM
sizeof(float) is 4, so if float foo[a][b]; sizeof(foo) is a*b*4 bytes.
JW