STM32CubeIDE custom post-build called before hex/bin created
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-16 4:31 AM
I have post-build step that alters final .hex file (put some metadata inside) but script is called before .hex file s created.
- Labels:
-
Bug-report
-
STM32CubeIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-24 12:50 PM
Yes, i have the same problem too. This bug prevents me using the CubeIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-27 3:03 AM
This also happened in my case. So, my workaround is to run a script (batch file in my case) in post-build to generate hex from elf by myself (by using objcopy.exe provided by STM32CubeIDE) and then deal with this hex (generating checksum in my case). Please refer to my checksum.bat in the following link:
​https://github.com/ethanhuanginst/STM32CubeIDE-Workshop-2019/tree/master/hands-on/06_F746-DISCO-CRC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-27 7:48 PM
Hi Ethan,
yes i found this solution too as workaround. I hope this will be fixed in further releases
Steffen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-06-07 4:28 AM
Dear ST developers,
Please fix this issue, because it is really annoying.
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-09-30 3:59 AM
Same issue here. What we really need is a post post build step I guess...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-02 2:05 AM
What version of STM32CubeIDE are you using?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-02 4:44 AM
Version: 1.0.1
Build: 3139_20190612-1256 (UTC)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-02 4:48 AM
This issue is fixed in later versions. You can download the latest version of CubeIDE here.
Let me know if you're still facing any problems in the newer release!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-02 5:02 AM
OK thanks. So far we've been horribly afraid of updating, but this is a good reason to finally give it a try.
