Perhaps I’m missing something obvious. Attempting to toggle or read GPIO pins with HAL commands on the nucleo 32f303K8.
I found some examples, but often the pin names either refer to the board names, like LED or simply have numbers like “pin_8” but don’t seem to have a correlation to the actual pin number on the board, the IC, the port or the channel.
I got a blink program working adapted from platformio and it worked, but the pin name did not make sense.
The pin is PB3 on the MCU and pin 26 on the IC. It is pin 13 on the board.
But in the code it’s referred to as pin 8 (and it worked)
What am i missing here?