Loading
stm32cubemx: fix broken software package database update
For some reason, STM32CubeMX initially creates one of its database files with missing user-write permissions. When this happens, refreshing the package list in the Embedded Software Packages Manager seems to succeed but new packages don't become available. (As of the time of writing, this is the case with TouchGFX 4.25.0, which fails to appear, and 4.24.2 showing as the latest version.) To work around this problem, we run chmod u+w $HOME/.stm32cubemx/thirdparties/db/updaterThirdParties.xml when the startup wrapper script recognizes this problem.