c/c++ project using STM32F4 Discovery or RaspberryPI