Skip to main content
Pavel A.
Super User
February 20, 2021
Question

CubeIDE won't convert ELF to bin, hex; print build summary info

  • February 20, 2021
  • 2 replies
  • 2045 views

This IIRC was already reported but still not fixed in v.1.5.1...

In settings Convert to binary and Show size information are checked, but these actions do not work after successful build.

0693W000007YzDbQAK.pngIn Atollic it works fine.

I've tried both STM32 2018 and 2020 toolchains.

Also checked conversion to hex, S-record, verilog - nothing of these created.

-- pa

P.S. Also, after Atollic, it is annoying that in CubeIDE backslashes in Windows filenames are printed doubled in the console:

arm-none-eabi-gcc "..\\..\\Src\\foo.c" -mcpu=cortex-m7 ....

Is this in compiler or Eclipse CDT console?

This topic has been closed for replies.

2 replies

Cartu38 OpenDev
Graduate II
February 20, 2021

Setup sounds good (default one by the way). Works on my side based on 1.5.1looking at build console:

0693W000007YzJUQA0.jpg

Cartu38 OpenDev
Graduate II
February 20, 2021

By the way I've no '\\' ... but mutli OS compliant '/' despite relying on Windows OS what's good !

If '\\' I guess part of your project setup (see include paths definition etc ... as part of build settings or just look at your .cproject file content)

0693W000007YzJtQAK.jpg

Pavel A.
Pavel A.Author
Super User
February 27, 2021

CubeIDE update to 1.6.0 has not fixed the post-build outputs issue for me. Still post-build conversions do not run.

Had to make a script to do post-build conversions and create .list.

Printing double back slashes on Windows is fixed.

Thanks,

-- pa