2022-12-05 07:31 PM
Hi all,
i have tried same project in two different IDEs( Keil and STM32CUBEIDE). i am confuse that why they both are telling different usgae for RAM and ROM.
Keil map file says:
Total RO Size (Code + RO Data) 21156 ( 20.66kB)
Total RW Size (RW Data + ZI Data) 2360 ( 2.30kB)
Total ROM Size (Code + RO Data + RW Data) 21284 ( 20.79kB)
STM32 Cube IDE says:
why the difference is there between these IDEs. application code is same and HAL code is generated by STMCUBEMX for both IDEs.
Post edited to adhere community guidelines.
2022-12-05 10:18 PM
Programming101:
Not all compiler and linker are equally performant in memory footprint.
Compiler options will also affect footprint results. It is called benchmarking the compiler toolchains.