STM32CubeMP13, Post-build steps Compilation error occurred
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-28 03:02 AM
Hi, Compiling a Project (FSBLA\FSBLA_Sdmmc1) encountered an error,Nothing has been changed
Solved! Go to Solution.
- Labels:
-
STM32CubeIDE
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-06 01:52 AM
Hi @zhengjianxing ,
The root cause has been identified ; the 'pwd' command is no more supported by sh.exe provided in CubeIDE 1.14
The good news is that it's easy to w/a by implementing following change in script :
revisiting postbuild.sh from line 14:
#current_directory=`pwd`
#echo ${current_directory}
#cd "${projectdir}/../../../../../../../Utilities/ImageHeader"
#basedir=`pwd`
basedir="../../../../../../../Utilities/ImageHeader"
#cd ${current_directory}
Please confirm this patch fix the issue at your end.
Thanks
Olivier
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-28 06:01 AM
Hi @zhengjianxing ,
I reproduce your issue.
Escalate internally, I come back to you ASAP
Olivier
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-06 01:52 AM
Hi @zhengjianxing ,
The root cause has been identified ; the 'pwd' command is no more supported by sh.exe provided in CubeIDE 1.14
The good news is that it's easy to w/a by implementing following change in script :
revisiting postbuild.sh from line 14:
#current_directory=`pwd`
#echo ${current_directory}
#cd "${projectdir}/../../../../../../../Utilities/ImageHeader"
#basedir=`pwd`
basedir="../../../../../../../Utilities/ImageHeader"
#cd ${current_directory}
Please confirm this patch fix the issue at your end.
Thanks
Olivier
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-06 02:24 AM
Thank you for your help.