Loading...
 
Skip to main content

System Workbench for STM32


CubeMX - Get rid of ' Configuration' in the name ASAP

Hi Ac6,

The ' Configuration' part results in errors as with openOCD command line blanks not accepted in filenames.

This is obvious.

Ac6 may choose to completely eliminate the ' Configuration' concatination or replace it by '_Configuration'. Do this and your openOCD implementation in SW4STM32 will manage the flashing a lot more flawlessly.

Greets!
Ben

PS: See multiple screenshots below for proof of bug caused by CubeMX file naming including ' Configuration'.

PSS: The CubeMX developers could have seen it coming because eclipse generates the command line as: /home/benoit/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.openocd.linux32_1.3.0.201507241119/tools/openocd/bin/openocd -f STM32F103C8T6_minimalsystem_PC13LED.cfg -s "/home/benoit/workspaceSTM32Fxx/PC13LED_stm32f103c8t6/SW4STM32/PC13LED_stm32f103c8t6 Configuration" -s /home/benoit/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.debug_1.3.0.201507241045/resources/openocd/scripts -c "program Debug/PC13LED_stm32f103c8t6 Configuration.elf verify exit" which results in 'Configuration.elf' being seen as a separate command argument. Say 'thank you' 😉







 
Collapse/expand modules below