My project used the RL78/L13, with the CCRL compiler. I have some proprietary code that I've created a library for. How do I determine the exact size in bytes of the library occupied in ROM (Flash)? The .lib file is 138kb, however, when I compile another executable project using the source files that the library is composed off, using the same optimization settings, the resultant binary is around 65kb. So the library file is not telling the actual size of the code that would be occupied in flash. UNder Reneasa Views -> Debug - >Memory Usage, I cannot view the RAM/ROM usage as it is not supported for a library project.
Have you found a way to find the ROM size occupied by your library? Did you try checking the map file?
JBRenesasRulz Forum Moderator
In reply to JB:
Sudesh, The compiler does not store your library on the device, it only includes methods that are used from the library at compile-time and they become part of your binary code. I hope this helps. Mike Clements RenesasRulz Moderator