18 lines
299 B
C
18 lines
299 B
C
|
#include <stdint.h>
|
||
|
|
||
|
#include "clock_config.h"
|
||
|
#include "pin_mux.h"
|
||
|
#include "stm32l4xx_hal.h"
|
||
|
|
||
|
int main(void) {
|
||
|
/* HAL */
|
||
|
HAL_Init();
|
||
|
|
||
|
BOARD_InitBootClocks();
|
||
|
BOARD_InitBootPins();
|
||
|
|
||
|
for (;;) {
|
||
|
HAL_GPIO_TogglePin(LED2_GPIO_Port, LED2_Pin);
|
||
|
HAL_Delay(500);
|
||
|
}
|
||
|
}
|