1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/common
Marian Buschsieweke 051a1f1e32
boards/common/blxxxpill: rework periph configuration
The peripheral configuration has been completely reworked to resolve
pin conflicts while provided as much of the peripherals as possible.
The changes include:

- Move `I2C_DEV(0)` from PB6/PB7 to PB8/PB9 to solve pin conflict with
  `QDEC_DEV(2)`.
- Use pins PB0, PB1, PB4, and PB5 for PWM instead PA8, PA9, PA10, and
  PA11
    - PA9 and PA10 is in pin conflict with `UART_DEV(0)` which is used
      for stdio with `stdio_uart`, PA8 was in conflict with
      `QDEC_DEV(0)`, PA11 was in conflict with USB D-
- Use PB6, PB7 as `QDEC_DEV(0)` (previously `QDEC_DEV(2)`), as this is
  the only completely conflict free setting
- Use PB4/PB5 instead of PA6/PA7 for QDEC_DEV(1)
    - This fixes a pin conflict with `SPI_DEV(0)` MISO (and
      `ADC_LINE(4)`)
- Only provide QDEC at PB4/PB5 when PWM is not used to avoid conflict
- Only provide QDEC at PA8/PA9 when UART is not used to avoid conflict
- Use SPI2 (PB15, PB14, PB13, PB12) as `SPI_DEV(0)` instead of SPI1,
  use SPI1 (PA7, PA6, PA5, PA4) as `SPI_DEV(1)`
- Only provide `SPI_DEV(1)` if the ADC is not in used to resolve a
  pin conflict
- Move PB0 and PB1 at the end of the ADC lines (previously
  `ADC_LINE(6)` and `ADC_LINE(7)`, now `ADC_LINE(8)` and `ADC_LINE(9)`)
   - Only provide them when PWM is not in use (to resolve pin conflict
     with PWM)
   - Also do not provide them for the Blackpill boards, which are
     missing pins PB0 and PB1 on the headers

To make life of users easier, a Pinout diagram with the new
configuration was added.
2022-10-27 14:28:07 +02:00
..
arduino-atmega doc: fix unbalaced grouping 2022-09-14 15:05:25 +02:00
arduino-due boards: drop board_init() from board.h 2022-02-25 15:08:58 +01:00
arduino-mkr boards: convert sam0 boards to new adc_conf_chan_t 2022-09-27 22:43:31 +02:00
arduino-zero boards/sam0-based: enable tinyusb_device support in Kconfig 2022-10-05 20:14:02 +02:00
atmega doc: fix unbalaced grouping 2022-09-14 15:05:25 +02:00
atxmega boards: drop empty custom board_init & empty board.c 2022-02-22 18:27:37 +01:00
blxxxpill boards/common/blxxxpill: rework periph configuration 2022-10-27 14:28:07 +02:00
cc26xx_cc13xx Merge pull request #18168 from maribu/boards/common/programmer 2022-06-08 10:15:17 +02:00
cc2538 boards/cc2538: set cc2538-bsl as supported programmer 2021-02-24 13:28:53 +01:00
e104-bt50xxa-tb boards: add some missing whitespaces for static tests 2022-09-14 15:11:14 +02:00
esp32 boards/common/esp32: remove SPIFFS defines with default values 2022-08-05 22:26:44 +02:00
esp32c3 boards/common: add common board definition for ESP32-C3 2022-08-05 22:26:22 +02:00
esp32s2 boards/common/esp32{s2,s3}: update USB OTG configuration 2022-10-06 06:26:22 +02:00
esp32s3 boards/common/esp32{s2,s3}: update USB OTG configuration 2022-10-06 06:26:22 +02:00
esp8266 boards: drop board_init() from board.h 2022-02-25 15:08:58 +01:00
frdm boards/frdm: set openocd as only supported programmer 2021-02-24 13:29:16 +01:00
init boards: drop empty custom board_init & empty board.c 2022-02-22 18:27:37 +01:00
iotlab boards/common/stm32: clean up LED definitions 2022-08-08 23:35:06 +02:00
kw41z drivers/kw41zrf: model Kconfig 2022-07-28 09:32:24 +02:00
makefiles common/samd21-arduino-bootloader: use common stdio CDC ACM config 2020-10-20 10:52:50 +02:00
microbit boards/common/microbit: fix doxygen grouping 2021-12-23 11:07:58 +01:00
msb-430 cpu/msp430: add Kconfig 2021-12-02 16:33:19 +01:00
msba2 boards: set supported programmers 2021-02-24 13:30:34 +01:00
nrf51 doc: fix unbalaced grouping 2022-09-14 15:05:25 +02:00
nrf52 boards/{thingy52,ruuvitag}: allow OpenOCD as programmer 2022-06-21 15:04:13 +02:00
nrf52xxxdk boards: drop empty custom board_init & empty board.c 2022-02-22 18:27:37 +01:00
nucleo boards/common/nucleo: provide TTY_BOARD_FILTER 2022-06-03 19:59:31 +02:00
nucleo32 boards/common/stm32: clean up LED definitions 2022-08-08 23:35:06 +02:00
nucleo64 doc: fix unbalaced grouping 2022-09-14 15:05:25 +02:00
nucleo144 doc: fix unbalaced grouping 2022-09-14 15:05:25 +02:00
particle-mesh boards: add some missing whitespaces for static tests 2022-09-14 15:11:14 +02:00
qn908x boards/common/qn908x: perfom checksum on shadow copy 2022-03-07 10:28:13 +01:00
remote boards select cc2538 Kconfig feature 2022-07-28 09:32:25 +02:00
samdx1-arduino-bootloader boards/common/samdx1-arduino-bootloader: model Kconfig 2021-12-15 10:30:51 +01:00
saml1x boards: convert sam0 boards to new adc_conf_chan_t 2022-09-27 22:43:31 +02:00
silabs boards: drop LED init 2022-02-18 14:35:43 +01:00
slwstk6000b boards: drop board_init() from board.h 2022-02-25 15:08:58 +01:00
sodaq boards: drop board_init() from board.h 2022-02-25 15:08:58 +01:00
stm32 boards/common/stm32: add common configuration for internal USB HS PHY 2022-10-16 11:35:42 +02:00
weact-f4x1cx boards: enable feature tinyusb_device for STM32 boards 2022-09-30 19:05:51 +02:00
doc.txt boards/stm32f103c8: add docu on flashing with DFU 2018-08-15 15:00:13 +02:00