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,18 @@
#ifndef __MCU_INIT_H
#define __MCU_INIT_H
#include "gd32vf103.h"
#include "usart.h"
#define LEDR_GPIO_PORT GPIOC
#define LEDG_GPIO_PORT GPIOA
#define LEDB_GPIO_PORT GPIOA
#define LEDR_PIN GPIO_PIN_13
#define LEDG_PIN GPIO_PIN_1
#define LEDB_PIN GPIO_PIN_2
void board_init();
#endif //__MCU_INIT_H