Hello,
I'm having issues uploading code to my STM32F103C8 board. When I try to upload the file, it throws out this error:
STM32_Programmer.sh not found.
An error occurred while uploading the sketch
Please install it or add '/bin' to your PATH environment:
https://www.st.com/en/development-tools/stm32cubeprog.html
Aborting!
I installed the STM32CubeProgrammer, to it's default location, which ended up being:
/usr/local/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin
Then I tried editing my .bashrc file, and added the following line to the end of the file:
export PATH="/usr/local/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin:$PATH"
I updated the .bashrc by using the following command:
$source ~/.bashrc
It still gives me the same error when I'm uploading the code.
Am I doing something wrong? I could use some help.
Thank you.