1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/boards/common/gd32v/include
Gunar Schorcht 89846f8cea boards/common/gd32v: cleanup default I2C and SPI config
This commit includes the following cleanups:
- The macros `I2C_DEV_1_USED` and `SPI_DEV_1_USED` are now used with the values 0 and 1. This allows to enable but also to disable the second interface even if the board definition enables it by default.
- The second I2C device `I2C_DEV(1)` and the second SPI device `SPI_DEV(1)` are now disabled by default.
- The second SPI device `SPI_DEV(1)` now uses PB5 as default CS signal instead of PA4 to keep PA4 free for ADC or DAC even if `SPI_DEV(1)` is used, for example for the TFT display.
2023-08-07 12:48:15 +02:00
..
board_common.h boards/common: add common timer config for GD32VF103 boards 2023-01-27 21:39:22 +01:00
cfg_i2c_default.h boards/common/gd32v: cleanup default I2C and SPI config 2023-08-07 12:48:15 +02:00
cfg_spi_default.h boards/common/gd32v: cleanup default I2C and SPI config 2023-08-07 12:48:15 +02:00
cfg_timer_default.h boards/common/gd32v: change default timer configuration 2023-01-28 18:16:17 +01:00
cfg_uart_default.h boards/common: add common definitions for GD32VF103 boards 2023-01-23 18:59:32 +01:00
cfg_usbdev_default.h boards/common/gd32v: add USB OTG support 2023-02-07 01:31:08 +01:00
periph_common_conf.h boards/common/gd32v: add USB OTG support 2023-02-07 01:31:08 +01:00