Use 2 thread on stm32f3-discovery.