2023-02-18 02:02:49 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
/* Board */
|
2023-02-05 05:20:53 +00:00
|
|
|
#include "board.h"
|
|
|
|
#include "clock_config.h"
|
|
|
|
#include "peripherals.h"
|
|
|
|
#include "pin_mux.h"
|
|
|
|
|
|
|
|
int main(void) {
|
|
|
|
HAL_Init();
|
|
|
|
|
|
|
|
BOARD_ConfigMPU();
|
|
|
|
|
|
|
|
BOARD_InitBootClocks();
|
|
|
|
BOARD_InitBootPins();
|
|
|
|
BOARD_InitBootPeripherals();
|
|
|
|
|
2023-02-18 02:02:49 +00:00
|
|
|
printf("Hello world!\r\n");
|
|
|
|
|
2023-02-05 05:20:53 +00:00
|
|
|
for (;;) {
|
|
|
|
HAL_Delay(500);
|
|
|
|
}
|
|
|
|
}
|