Description
I recently switched over to linux. I installed arduino then installed stm32duino core. I could compile fine but the ide could not find the tool to download the bin file.
I posted on the arduino forum to see if anyone else had this problem but I got no responses.
The stm32duino forum is no longer available so I searched the web for answers. I did not find anything that helped.
I ended up finding the script (stm32CubeProg.sh.) that the arduino ide calls to download the bin files.
This script looks for STM32_Programmer.sh if it doesn't find it in your path it looks for it in $HOME/programs/STM32CubeProgrammer/bin.
If it doesn't find it an error msg is displayed to the user.
To get the arduino ide to program my st board I had to download the cube programmer (CLI version) and install it so that arduino ide could find it. BTW- there is a bug in the STM32Cube programmer stand alone version such that is will not come up on my linux machine. It is well known on the ST forums.
I have read and re-read the readme files to see if I had missed something during install but since I used the ide to install the core everything would of been taken care of correctly. I did not find any documentation to advise downloading the programming tool as part of the core install.
I do not remember having to go through this when using windows 10. I am now using Linux.