stm32f4 mac osx 10.8

Limited support for STM32F4 Discovery, Nucleo and custom F4 boards
Post Reply
User avatar
Posts: 30
Joined: Wed Apr 29, 2015 5:10 pm

stm32f4 mac osx 10.8

Post by mubase » Mon Jun 08, 2015 12:24 pm

Last night I thought I'd see if my stm32f4 discovery board would work on my GF's Mac. Osx 10.8.5
The platform.text file in the STM32f4 core is set to upload using st link as stated in line 127:


The Path to the stlink exe is defined in line 130:


By changing the path to tools/macosx and the cmd to stlink_upload I got programs compiling and uploading without any hitches to my board. Oh, except that after the program uploads, I needed to press the black reset program for it to start...

User avatar
Posts: 1673
Joined: Mon Apr 27, 2015 11:04 pm
Location: Sunny Scotland

Re: stm32f4 mac osx 10.8

Post by ahull » Mon Jun 08, 2015 12:37 pm

If you have a bit of time to experiment, you may even be able to avoid pushing the reset button and re-enumerating the serial device after the upload.

If you look at the linux version of the stlink_upload script, it is has a couple of extra tricks. I don't have a Mac at the moment, so I haven't investigated getting this to work on OSX
- Andy Hull -

Post Reply