GPIOs doing nothing on Nucleo 144 F746
I just got a Nucleo 144 F746. I tried setting up the default configuration in the latest CubeMX for this Nucleo board, and writing a super simple blinky program (put the following in the main while(1) loop:
HAL_GPIO_TogglePin(LD2_GPIO_Port, LD2_Pin);
HAL_Delay(500);
)
LED does not do anything, even when I just try to make it always on and then enter an empty while loop.
I tried making a dumb simple blinky in Arduino IDE, i.e.,
```
void setup() {
// put your setup code here, to run once:
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(LED_BUILTIN, HIGH);
delay(1000);
digitalWrite(LED_BUILTIN, LOW);
delay(1000);
}```
, and this works perfectly fine. Anyone able to give me some pointers to using CubeMX and CubeIDE?