fix spi bug when read/write gd32v peripherals

This commit is contained in:
acevest
2020-04-14 09:49:06 +08:00
parent 81cf6f0c23
commit dde50162fb
18 changed files with 1898 additions and 33 deletions

View File

@@ -3,7 +3,6 @@
void board_init() {
SystemInit();
#if 0
rcu_periph_clock_enable(RCU_GPIOA);
rcu_periph_clock_enable(RCU_GPIOC);
@@ -15,6 +14,7 @@ void board_init() {
gpio_bit_set(LEDG_GPIO_PORT, LEDG_PIN);
gpio_bit_set(LEDB_GPIO_PORT, LEDB_PIN);
#if 1
LCD_Init(); // init LCD
LCD_Clear(BLACK);
#endif