This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How large is the nrf51822's stack?

I'm concerned about stack overflow as I consider using a linear fit function which declares 5 local variables as floats and accepts 5 pointers.

5floats * 4B/float + 5pointers * 4B /pointer => 40B?

Related