In cube MX, I gave a user name 'led1_rouge' to pin PI1. When I use intellisense in µvision, I get two suggestions : led1_rouge_pin and led1_rouge_gpio_port.
What is the difference between them ?
Jean
The _GPIO_Port refers to the port the led1_rouge pin is connected, in your case GPIOI, so in the HAL function, you may replace GPIOI with led1_rouge_GPIO_Port