Easy to understand issue about this subject. Get start to use:
http://www.carminenoviello.com/2015/06/22/running-freertos-stm32nucleo-free-gcceclipse-toolchain/