2024-09-26 04:13 PM
hi
when i use Keil V5.39 and generate project by STM32CubeMX, program run whitout any problem but when i do same work by Keil V5.40 or V5.41 program dont run
when i debug in V5.40/5.41 step by step program dont inter main function
STM32CubeMX 6.12.1
TouchGFX 4.24.1
STM32H743ii
Solved! Go to Solution.
2024-09-30 08:04 AM
hi
problem solve by adding "returget.c" file
for more information refer to this link
https://developer.arm.com/documentation/ka002219/1-0/?lang=en
first test all 4 file in 3614.zip. one of them must solve problem
This is my final setup
2024-09-28 05:58 PM - edited 2024-09-28 06:06 PM
Hi @Natali
Hm, lot of unknowns here. Keil switched from AC5 to AC6 (Clang) toolchain lately. Which one are you using in V5.39 and V5.40 ?
I did try to move one of my C++ projects (not using Gfx) from 5.36 to 5.4x and after few weeks I concluded that the latest C++ (17) features I wanted to use are not worth the risk of 'upsetting' working application. Additional complication in my case was Keil's package management and uVisions's automatic handling of CMSIS versions. In parallel, Keil is gradually abandoning uVision and Dev team is focusing on porting MDK to Microsoft VS Code. To me, it is a complete, rather scary jungle.
What is your motivation to move to v5.4x ? Do you really need to change to the latest toolchain/MDK (c++17 features) ? I would stick with what works and wait (few years) till 5.4x is well tested.
Try Keil's forum or support, they are very responsive and helpful.
2024-09-28 07:34 PM
They've been using the version 6 compiler for a while.
It's probably an issue with CMSIS, I was fighting with their Packs the other day on a system that had been using 5.38a without issues.
2024-09-30 08:04 AM
hi
problem solve by adding "returget.c" file
for more information refer to this link
https://developer.arm.com/documentation/ka002219/1-0/?lang=en
first test all 4 file in 3614.zip. one of them must solve problem
This is my final setup
2024-09-30 08:07 AM
@Natali wrote:problem solve by adding "returget.c" file
Great - now please mark that solution so that people can see it's solved
https://community.st.com/t5/community-guidelines/help-others-to-solve-their-issues/ta-p/575256