Simulide Stm32 Full -
SystemInit();
RCC_EnableGPIOA();
GPIOA->MODER |= (1 << (5*2)); // PA5 output
while (1)
GPIOA->ODR ^= (1 << 5);
delay_ms(500);
If everything is correct, you will see the LED blink (or your serial output appear in the terminal).