Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 216845

Forum Post: RE: Program is unable to fit in to available memory when using SQRT() function

$
0
0

[quote user="Neeraj Verma"]Your answer doesn't match with my problem/query, My problem is "I am getting linking error (code size issue) when using sqrt in CCS" whereas same code works fine on IAR (target is msp430F425).[/quote]

Most probably sqrt() function of IAR library takes less code FLASH or RAM space and/or IAR compiler output is smaller than CCS. Compilers are not the same. If your program can't fit available memory - use either more memory or write smaller code or change compiler or rewrite sqrt() . What's the problem?

http://www.codeproject.com/Articles/69941/Best-Square-Root-Method-Algorithm-Function-Precisi


Viewing all articles
Browse latest Browse all 216845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>