Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for STM32CubeProgrammer #83

Open
ivankravets opened this issue Jan 13, 2018 · 2 comments
Open

Add support for STM32CubeProgrammer #83

ivankravets opened this issue Jan 13, 2018 · 2 comments
Labels

Comments

@ivankravets
Copy link
Member

ivankravets commented Jan 13, 2018

http://www.st.com/en/development-tools/stm32cubeprog.html

@Phando
Copy link

Phando commented Apr 20, 2020

Is it possible to use the platformio.ini to point the builder at the STM32 Cube Programmer?

@angelnu
Copy link

angelnu commented Jun 2, 2020

it worked for me adding the following lines to my platformio.ini

[env:nucleo_test]
  platform = ststm32
  board = nucleo_l412kb
  framework = arduino
  ;upload_protocol = serial ;Use this for serial
  ;UPLOAD_PORT=SWD ;Use this for ST-LINK
  upload_command =
   /Applications/STMicroelectronics/STM32Cube/STM32CubeProgrammer/STM32CubeProgrammer.app/Contents/MacOs/bin/STM32_Programmer_CLI -c port=$UPLOAD_PORT -w $SOURCE 0x8000000

I did this after the nucleo_l412kb was failing for serial and I manually had to update openocd to get support for the l412kb. It is working well in my Mac.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants