This program blinks a LED after it has configured the system clock to use the PLL driven by the HSE.
- main.c
#include BOARD_H
#define SYSHZ (36*1000*1000) // Desired frequency for the SYSCLK signal
#define AHBHZ (9*1000*1000) // Desired frequency for the core (and systick)
#define PERIOD 0.5 // Blinking period
int main ( )
{
input, hse,
hwa( connect, sysclk, pll );
mode, digital_output,
frequency, lowest );
for(;;) {
}
}