[SOLVED] Compile C without assembler conversion

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] Compile C without assembler conversion

    Hi,
    I've created a project with SES (STM32F207VE / internal compiler) .
    But when I compile it, it converts c files to assembler . Then it compiles using assembler to object.
    is it possible to compile directly to object file ?

    Regards,
    ilkay KOZAK
  • Hello Ilkay,

    Thank you for your inquiry.
    A direct conversion is generally not possible as the assembler file needs to be created as an intermediate step before getting object files.
    All other toolchains do it this way as well. Some "optimize" by deleting the assembler files after build.

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • Hi Ilkay,

    I wonder if it uses the same principle quietly?

    Correct, they use the same princible C->Assembler->Obj, but delete Assemlber files afterwards.
    So it only looks like the conversion is direct.

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • Thank you Nino,
    is there any plan for MBED to export as 'Segger Embedded Studio' project?
    it currently supports ide's below. we will be very happy to have this feature.







    p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Andale Mono'; color: #28fe14; background-color: #000000; background-color: rgba(0, 0, 0, 0.9)}
    span.s1 {font-variant-ligatures: no-common-ligatures}



    atmelstudio, coide, ds5_5, e2studio,

    eclipse, embitz,

    gcc_arm, gnuarmeclipse, iar, kds,

    lpcxpresso, make_armc5, make_armc6, make_gcc_arm,

    make_iar, mcuxpresso, qtcreator, ses,

    simplicityv3, sw4stm32, uvision, uvision5,

    vscode_armc5, vscode_gcc_arm, vscode_iar


    Regards,
    ilkay KOZAK
  • Hello Ilkay,

    You can import MBED projects already. This needs to be done manually though.
    For an export function in MBED please contact ARM as this is not our decision to make.
    From our side this would of course be appreciated.

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.