AnsweredAssumed Answered

Limit of size of array and functions of STM32 chip

Question asked by mao on Dec 13, 2015
Latest reply on Dec 13, 2015 by mao
When we use STM32 chip, is there a limit for the size of array and subroutine?
For example, if the chip has 128k ram, can I allocat 100k to an array(or buffer) or define an array as char chs[100k]? Certainly we need to leave some space for the algorithm and other variables.

how about subroutine(function)?
May I define a very long subroutine? For example main(). 
sometime the main() function is really very long.
What is the limit?
I just need a basic guideline.