rename board path

This commit is contained in:
acevest
2019-10-14 00:05:08 +08:00
parent f3fa2e2183
commit 26fcdde2e9
29 changed files with 17 additions and 59 deletions

View File

@@ -0,0 +1,12 @@
#include "mcu_init.h"
void board_init() {
SystemInit();
rcu_periph_clock_enable(RCU_GPIOA);
gpio_init(GPIOA, GPIO_MODE_OUT_PP, GPIO_OSPEED_50MHZ, GPIO_PIN_7);
gpio_bit_reset(GPIOA, GPIO_PIN_7);
}