Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

ARM: Checking variable space, possibility of dynamic memory allocation

$
0
0
I am sampling a signal and would like to store values in an array. Array is storing 50000 samples values. I would like to know the space occupied by this array variable how can i know ? where can I know ? In general i presumed if i am storing as uint16_t it would be; each sample takes 2 bytes, 2*50,000= 100KBytes. Is this true for ARM Compiler?or Am i wrong? Also, If i declare them dynamically, where do they get stored ? I am using STM32F4 DK. - Thanks, Ashok

Viewing all articles
Browse latest Browse all 3049

Trending Articles