2022-05-19 11:45 PM
I need to write the HEX file, but the new IDE 1.9.0 won't let me select the HEX file.
How can I edit this configuration without help from the IDE?
Where is this configuration stored? The old project did not have this problem.
The HEX file is generated after compilation to add the CRC value, so I need the IDE to allow the HEX file as well.
Reference on generating the file with CRC:
https://github.com/ethanhuanginst/STM32CubeIDE-Workshop-2019/issues/4
Solved! Go to Solution.
2022-05-20 12:35 AM
I already got it, I closed the project, made a copy of the file, I edited the file "F407VG_FreeRTOS_LED Release.launch" from the project folder using the key of the old project file.
I just had to change the file name "PROJECT_NAME_HERE" to "F407VG_FreeRTOS_LED" (without quotes)
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.loadList" value="{"fItems":[{"fIsFromMainTab":false,"fPath":"Release/ROM.hex","fProjectName":"PROJECT_NAME_HERE","fBuildConfigId":"com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.2060275391","fPerformBuild":true,"fDownload":true,"fLoadSymbols":true},{"fIsFromMainTab":true,"fPath":"Release/PROJECT_NAME_HERE.elf","fProjectName":"PROJECT_NAME_HERE","fPerformBuild":true,"fDownload":false,"fLoadSymbols":false}]}"/>
Then just open the project again.
2022-05-20 12:35 AM
I already got it, I closed the project, made a copy of the file, I edited the file "F407VG_FreeRTOS_LED Release.launch" from the project folder using the key of the old project file.
I just had to change the file name "PROJECT_NAME_HERE" to "F407VG_FreeRTOS_LED" (without quotes)
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.loadList" value="{"fItems":[{"fIsFromMainTab":false,"fPath":"Release/ROM.hex","fProjectName":"PROJECT_NAME_HERE","fBuildConfigId":"com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.2060275391","fPerformBuild":true,"fDownload":true,"fLoadSymbols":true},{"fIsFromMainTab":true,"fPath":"Release/PROJECT_NAME_HERE.elf","fProjectName":"PROJECT_NAME_HERE","fPerformBuild":true,"fDownload":false,"fLoadSymbols":false}]}"/>
Then just open the project again.
2022-05-20 12:38 AM
I found this key using the command from the link below:
grep -rnw '/path/to/somewhere/' -e 'pattern'