Why is west not detecting STM32CubeProgrammer after update?

it seems like west cant find the stm32programmer after an update
5 Replies
ZacckOsiemo
ZacckOsiemo4w ago
I can find the bin and run the bin it's on the path
ZacckOsiemo
ZacckOsiemo4w ago
but everytime I run west flash I run into the following issue
ZacckOsiemo
ZacckOsiemo4w ago
zephyr~>(main)~ west flash
-- west flash: rebuilding
ninja: no work to do.
-- west flash: using runner stm32cubeprogrammer
FATAL ERROR: required program /Applications/STMicroelectronics/STM32Cube/STM32CubeProgrammer/STM32CubeProgrammer.app/Contents/MacOs/bin/STM32_Programmer_CLI not found; install it or add its location to PATH
zephyr~>(main)~ west flash
-- west flash: rebuilding
ninja: no work to do.
-- west flash: using runner stm32cubeprogrammer
FATAL ERROR: required program /Applications/STMicroelectronics/STM32Cube/STM32CubeProgrammer/STM32CubeProgrammer.app/Contents/MacOs/bin/STM32_Programmer_CLI not found; install it or add its location to PATH
ZacckOsiemo
ZacckOsiemo4w ago
my path does indeed have the programmer
echo $PATH
/Users/zaccko/zephyrproject/.venv/bin:/Users/zaccko/.nvm/versions/node/v10.24.1/bin:/Users/zaccko/.asdf/shims:/Users/zaccko/.asdf/bin:/usr/local/opt/python/libexec/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/usr/local/bin:/Users/zaccko/.local/bin:/Users/zaccko/.local/bin:/Applications/LinkServer_24.9.75:/Users/zaccko/nrfutil:/Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.macos64_2.1.201.202404072231/tools/bin
echo $PATH
/Users/zaccko/zephyrproject/.venv/bin:/Users/zaccko/.nvm/versions/node/v10.24.1/bin:/Users/zaccko/.asdf/shims:/Users/zaccko/.asdf/bin:/usr/local/opt/python/libexec/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/usr/local/bin:/Users/zaccko/.local/bin:/Users/zaccko/.local/bin:/Applications/LinkServer_24.9.75:/Users/zaccko/nrfutil:/Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.macos64_2.1.201.202404072231/tools/bin
ZacckOsiemo
ZacckOsiemo4w ago
I'm missing something small somewhere

Did you find this page helpful?