Application size increased through SES

Hello,

Following to this ticket, I started with an existing Segger embedded studio project from the SDK to port my project from Keil to SES 5.62 .

Now, the project works well with SES, but I see that the application size in the flash has become greater (from 56411 bytes through Keil to 83991 bytes through SES).

Knowing that the optimization level is set to 0 on both projects, what is the reason that allows this behavior.

Regards,

Mehdi.

Parents Reply
  • Hi,

     

    Mehdi said:
    Is it allowed to change some sections like "load" and "keep"  options to "No"  or switch to segger compiler to reduce application memory size in the flash ?

    You are free to change your project as you'd like. I would recommend that you change the compiler optimization to size optimization. Changing the linker scripts will not help you much, as you need those sections.

    Mehdi said:
    if yes, is there any impacts in the device behaviour ?

    This will affect the runtime behavior as well as resource usage (flash and RAM).

     

    Kind regards,

    Håkon

Children
Related