Skip to content

Commit 6d8b56d

Browse files
committed
boards/seeedstudio-gd32: update due to I2C/SPI default config cleanup
1 parent 237819e commit 6d8b56d

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

boards/seeedstudio-gd32/include/periph_conf.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,13 @@
3535
#define CONFIG_CLOCK_HXTAL MHZ(8) /**< HXTAL frequency */
3636
#endif
3737

38-
#define SPI_DEV_1_USED /**< Enable SPI_DEV(1) for the connected flash */
38+
#ifndef SPI_DEV_1_USED
39+
#define SPI_DEV_1_USED 1 /**< Enable SPI_DEV(1) by default for the connected Flash */
40+
#endif
41+
42+
#ifndef I2C_DEV_1_USED
43+
#define I2C_DEV_1_USED 1 /**< Enable I2C_DEV(1) by default */
44+
#endif
3945

4046
#include "periph_cpu.h"
4147
#include "periph_common_conf.h"

0 commit comments

Comments
 (0)