Why would cube IDE not generate code for a free and available GPIO pin
The GPIO clock is the only code that seemed to be generated under the initialization function. the other necessary code such as the following was not created.
GPIO_InitTypeDef GPIO_InitStruct;
GPIO_InitStruct.Pin = GPIO_PIN_8;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
In the setup GUI I had selected the pin PC8, and set it to a GPIO_Output yet the above code was not generated.

