How Much Flash and SRAM Does My Project Use?
When developing firmware for an embedded project, it is important to know how much flash and SRAM the program is using. This allows you to make the best decision on whether the chosen MCU has sufficient resources for your needs. By default, GCC does not give any information regarding program size. However, GCC does include a utility that can help, sensibly it is called “size.exe” (or “arm-none-eabi-size.exe” for the embedded GCC version). If you run the program as follows: c:\iccv9cortex\gnuarm\bin\arm-none-eabi-size -A -x bin\Debug\Test.elf The /path/to/ is as installed by ImageCraft’s JumpStart C++ program, but any embedded GCC installation will have […]
How Much Flash and SRAM Does My Project Use? Read Post »