Sunday, March 18th 2018, 8:14pm UTC+1

You are not logged in.

  • Login
  • Register


Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Message information
Automatically converts internet addresses into links by adding [url] and [/url] around them.
Smiley code in your message such as :) is automatically displayed as image.
You can use BBCode to format your message, if this option is enabled.
Security measure

Please enter the letters that are shown in the picture below (without spaces, and upper or lower case can be used).

The last 4 posts

Tuesday, March 13th 2018, 9:42am

by SEGGER - Nino

Hi Detlef,

The issue you are describing sounds like some optimization is not set when calling the compiler from ES.
For comparison you can export the build options of ES and compare them to the Keil CL in project options for example.
In ES simply right click your project and select Export Build.
There you see how the external compiler gets called from ES for each file in your project.
Now compare this with the CL from the Keil project options in uVision. Make sure the ES build is exactly the same as the one in Keil.
Then you will get the same output as well.

Best regards,

Friday, March 9th 2018, 3:41pm

by keyboardwizard

Hi Nino,

that's exactly what I wanted to explain: I'm excusively using the external Keil/ARM compiler with inherited settings and I expect to get the same output.


Wednesday, March 7th 2018, 2:51pm

by SEGGER - Nino

Hello Detlef,

Thank you for your inquiry.
Are you using the external Keil compiler or Embedded Studio's GCC?
If you are using the external compiler make sure to use the same exact commands as Keil calls the compiler.
When you call them exactly the same you should also receive the exactly same output.

Best regards,

Tuesday, March 6th 2018, 8:13am

by keyboardwizard

huge hexfiles


with a CubeMX-project for Keil, the uVision5-ARM-Compiler hex-output is about 41k long, using about 15k of Flash memory.
I imported this Keil-project in emStudio. All I had to change manually was the name of the scatter file in "External Build - Link Command".
The emStudio hex-output has 101k which is about 36k of Flash memory though the same compiler with inherited settings had been used.
Which settings should I use to reduce the memory usage ? With uVision there is a removal of unused sections which I cannot see with emStudio.