M2M Studio 1.0.2
We tried to build our C/C++ application but had the following:
- Simple inclusion of header increases size of binary image by ~220KB without ANY reference to iostream functions, just after #include. Some C++ STL templates were already used in the code, but there was no such code size increase with them. What can be wrong?
Also it seems that adding some file of C source without reference to those functions also puts the code into binary image and does not drop unreferenced parts as most of build systems do by default.
-
We found that sizes of ARM targets built with Debug or Release configurations almost the same. It is strange because Debug version should include debug info and have no code optimization. But results are almost the same.
-
So, the following question arises: we need to balance between Code and A&D flash areas to provide sufficient space to DOTA an application. Because the DWL image is usually compressed, do we need in A&D only space for compressed image to be able to install it into Code area? That is, if we have 768KB of Code area and 512KB of A&D, can we install 700KB application if in compressed DWL it fits 500KB A&D area?
Thanks in advance!
Oleg