Solved
SPI2 not generated on STM32L051C8Tx
Hello,
I may be missing something, I cant generate the SPI_init() method within main() (also pins are yellow ?)…
I have generated;
HAL_Init();
/* Configure the system clock */
SystemClock_Config();
/* Initialize all configured peripherals */
MX_GPIO_Init();

Cheers

