What core are you using, exact link, there are 3+ cores out in github-land.
I will not answer Sublime questions. Get blink or some canned example running under current ArduiniIDE. You are on your own with Sublime, however there are a few other users that have documented issues/fixes for alternate IDE’s.
Available cores
1. The current STM32F1/F4 core files (Leaflabs-based core) for the latest version of ArduinoIDE for clone boards
https://github.com/rogerclarkmelbourne/Arduino_STM32
– The original documentation from Leaflabs … the Maple commercial project that lasted only a few years
http://docs.leaflabs.com/docs.leaflabs.com/index.html
– WiKi resources
https://github.com/rogerclarkmelbourne/ … STM32/wiki and
http://wiki.stm32duino.com/index.php?title=Main_Page
2. The current STM32 core files for STM32 based boards (official STM core, HAL based)
https://github.com/stm32duino/Arduino_Core_STM32
– Please address all hardware or core questions for Nucleo boards in this sub-forum: http://stm32duino.com/viewforum.php?f=29
3. An alternative generic core: *OUTDATED not under development anymore * edited: 23.08.2013
https://github.com/danieleff/STM32GENERIC
Note:
– do not forget that when you install the core per the online instructions, you will get many examples. I expect you to review examples and hopefully even bring them up and play a bit. Understanding example code can go a long way to help you acclimate to the STM32duino way of doing things. We do try and keep ourselves “arduino-centric” but sometimes it is necessary to deviate or invent new ways to use functions within the 32-bit ARM architecture that just does not exist in the 8-bit Arduino introductory world.