Initial Stm32f4 spi driver

where is the initialization of the GPIO device? You need to initialize the pin in your init shell commands, `gpio_init_out()` for master mode and `gpio_init_int()` for slave mode.