In order to check the ROM capacity in the user program, a linkage map list file(*.map) can be used. There is the method of computing the sum of the section size applicable to ROM.Make the following setting before build in order to output the linkage map list file.
HEW3 -> Option(O) -> Select "H8S,H8/300 Standard Toolchain"
-> Select an Optimizing Linkage Editor Tab, and select a "List" as Category(Y). Then check for [Generate list file(G)], and click [Enable all(E)].
|C/C++ Compiler Package for SuperH Family|
|C/C++ Compiler Package for H8SX, H8S, H8 Family|