1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 11:12:44 +01:00
Commit Graph

5995 Commits

Author SHA1 Message Date
Marian Buschsieweke
dadf22f07a
boards/arduino-mega2560: add TTY_BOARD_FILTER
This allows automatically selecting TTY actually belonging to an
Arduino Mega2560 if `MOST_RECENT_PORT=1` is set.

Note: Unless `ARDUINO_MEGA2560_COMPAT_WITH_CLONES` is set to `0`,
this will fall back to detecting any cheap USB UART bridge typically
found in Arduino Mega 2560 clones if no genuine Arduino Mega is found.
2022-12-11 18:58:19 +01:00
krzysztof-cabaj
185c44e42d boards/nucleo-l496zg: doc improvement 2022-12-10 11:41:45 -05:00
Gunar Schorcht
c7e6e3714d board/sltb009a: enable feature periph_usbdev 2022-12-07 16:34:34 +01:00
Gunar Schorcht
7651e68db9 boards/common/silabs: add common USB OTG FS config 2022-12-07 16:34:34 +01:00
Gunar Schorcht
f085a87c51 board/stk3600: enable feature periph_usbdev 2022-12-07 16:34:34 +01:00
Gunar Schorcht
a9afc97bb2 board/stk3700: enable feature periph_usbdev 2022-12-07 16:34:34 +01:00
Gunar Schorcht
0b1b7e8408 boards/arduino-zero: move tinusb_device feature
The `tinyusb_device` feature introduced with PR #18689 has to be moved from `common/arduino-zero` definition to the `arduino-zero` definition because the common `arduino-zero` features are also used by `wemos-zero` which uses `highlevel_stdio` feature via the `stdio_cdc_acm` module.
2022-12-07 13:56:24 +01:00
Marian Buschsieweke
08725d65cc
boards/qn9080dk: add TTY_BOARD_FILTER
With `MOST_RECENT_PORT=1` the TTY interface of the most recently
connected board with an embedded NXP debugger is selected. If only
a single board with an embedded NXP debugger is selected, this will
automatically connect to the correct board using:

```
make term MOST_RECENT_PORT=1
```
2022-12-05 11:20:39 +01:00
Gunar Schorcht
44893a37e4 boards/common/weact-f4x1cx: remove tinyUSB feature
weact-f4xcx boards have only a single USB-C connector that is used for `highlevel_stdio` via USBUS CDC ACM so that it conflicts with tinyUSB for the moment.
2022-12-04 16:23:02 +01:00
Gunar Schorcht
5c38fafee4 boards/stm32f723e-disco: fix periph_uart_hw_fc use
Enabling module `periph_uart_hw_fc` makes only sense if module `periph_uart` is used.
2022-12-04 16:06:14 +01:00
Gunar Schorcht
93215df868 sys/usb/usbus: enable USBUS stdio_cdc_acm only if tinyUSB is not used 2022-12-03 12:52:45 +01:00
Gunar Schorcht
9fa01d69d8 boards/common/blxxxpill: enable riotboot feature 2022-11-30 19:28:14 +01:00
Gunar Schorcht
941d6be666 boards: make DFU_USB_ID and DFU_USE_DFUSE overridable 2022-11-30 19:28:14 +01:00
Marian Buschsieweke
317b12af34
Merge pull request #18986 from maribu/boards/qn9080dk
boards/qn9080dk: add default OPENOCD_DEBUG_ADAPTER
2022-11-28 17:42:30 +01:00
Marian Buschsieweke
e94fdf129f
boards/qn9080dk: add default OPENOCD_DEBUG_ADAPTER
The board has integrated debugger:

    1fc9:0090 NXP Semiconductors LPC-LINK2 CMSIS-DAP V5.173

This commit changes the default debug adapter to this one.
2022-11-28 13:38:59 +01:00
krzysztof-cabaj
d7c56670d3 boards/nucleo-g071rb: improve ADC doc 2022-11-28 05:07:25 -05:00
krzysztof-cabaj
2d4ab71a3e boards/nucleo-g070rb: improve ADC doc 2022-11-28 05:07:25 -05:00
krzysztof-cabaj
66357132e4 boards/nucleo-l476rg: improve ADC doc 2022-11-26 17:30:47 -05:00
krzysztof-cabaj
fce4d350cd boards/nucleo-l496zg: move vbat divider info to main section 2022-11-26 17:30:47 -05:00
krzysztof-cabaj
633743240d boards/nucleo-l4r5zi: add doxygen info about Vbat divider 2022-11-26 17:30:47 -05:00
Juergen Fitschen
d9cde14669 treewide: fix typos found by recent codespell 2022-11-24 14:53:48 +01:00
Juergen Fitschen
a6ff838a4b
Merge pull request #18933 from jue89/feature/cpu_efm32_series_2_adc
cpu/efm32: add periph_adc support for Gecko Series 2
2022-11-24 11:32:56 +01:00
Marian Buschsieweke
778f566210
Merge pull request #18958 from benpicco/boards/pwm-style
boards/sam*-xpro: fix style of PWM config
2022-11-24 07:32:40 +01:00
benpicco
86d72c7b85
Merge pull request #18940 from krzysztof-cabaj/nucleo-l496zg-ADC
boards/nucleo-l496zg: add ADC support
2022-11-23 20:34:08 +01:00
Benjamin Valentin
07b3ccbc6a boards/samd21-xpro: fix style of PWM config 2022-11-23 14:06:30 +01:00
Benjamin Valentin
90b0607f18 boards/same54-xpro: fix style of PWM config 2022-11-23 13:53:46 +01:00
Benjamin Valentin
58e37a7c58 boards/saml21-xpro: fix style of PWM config 2022-11-23 13:53:32 +01:00
Benjamin Valentin
f878f11193 boards/samr21-xpro: fix style of PWM config 2022-11-23 13:53:14 +01:00
Marian Buschsieweke
232c70ba53
Merge pull request #18948 from maribu/boards/common/nrf52
boards/common/nrf52: fix timer config
2022-11-23 10:47:26 +01:00
Juergen Fitschen
ab86198112 boards/xg23-pk6068a: add ADC lines 2022-11-22 14:44:56 +01:00
Marian Buschsieweke
51b6379dee
boards/common/nrf52: fix timer config
The `channels` member should not be set to the number of hardware
channels *n*, but to *n* - 1 instead. The last channel is implicitly
used in `timer_read()`. Hence out of *n* hardware channels, only *n* - 1
are available to the application.

This fixes a bug introduced by 4d02e15247
which incorrectly set the channel number to *n* rather than to
*n* - 1.
2022-11-22 13:20:53 +01:00
Jue
2a81a2ab5c cpu/efm32: provide periph_uart_modecfg feature for every board 2022-11-21 23:20:19 +01:00
krzysztof-cabaj
c7cd72c0bc boards/nucleo-l496zg: add ADC support 2022-11-21 08:35:05 -05:00
64dcfd67ff
Merge pull request #18811 from maribu/boards/common/nrf52
boards/common/nrf52: improve default clock config
2022-11-21 09:33:47 +00:00
benpicco
f533b3f282
Merge pull request #18929 from krzysztof-cabaj/nucleo-l476rg-doc
boards/nucleo-l476zg: doc improvements
2022-11-18 12:20:07 +01:00
krzysztof-cabaj
42104b79fb boards/nucleo-l476zg: doc improvements 2022-11-17 16:08:20 -05:00
Marian Buschsieweke
35149bd1c2
Merge pull request #18797 from MrKevinWeiss/pr/fixstmclk
cpu/stm32: Fix stm clock configuration
2022-11-15 11:39:25 +01:00
Gregory Holder
dde641fded
boards/dwm1001: use lis2dh12_i2c instead of lis2dh12_spi 2022-11-09 09:36:09 +00:00
krzysztof-cabaj
cfd0183f60 boards/nucleo-f207zg: add ADC support 2022-11-04 18:02:28 -04:00
MrKevinWeiss
464f57b4a3
boards: Remove PLL overrides in kconfig
Since we know the HSE speed, manual overrides are not needed anymore
2022-11-03 13:38:09 +01:00
MrKevinWeiss
fe5892d042
boards/stm32f7508-dk: Add STM32_ETH in kconfig 2022-11-03 11:37:32 +01:00
MrKevinWeiss
17cce015d4
treewide/stm32: Make CLOCK_HS* configurable 2022-11-03 11:37:28 +01:00
Juergen Fitschen
84c89f9dd7
Merge pull request #18783 from jue89/fix/ztimer_lptimer_kconfig
sys/ztimer: model ztimer_periph_lptimer for Kconfig
2022-11-02 13:56:05 +01:00
Jue
ef3e192bc0 boards/xg23-pk6068a: provide ZTIMER_LPTIMER configuration 2022-11-01 14:26:29 +01:00
benpicco
a21f05aeff
Merge pull request #18818 from blueted2/pr/board/dwm1001_gpio_params
boards/dwm1001: add saul_gpio support
2022-10-30 00:04:17 +02:00
Gregory Holder
f17bd43a1f boards/dwm1001: add saul_gpio support
boards/dwm1001: rename "@ingroup" to match board.h

boards/dwm1001: correct documentation

added "HAVE_SAUL_GPIO"
2022-10-29 20:23:52 +01:00
krzysztof-cabaj
ebcceb67b6 boards/cc1350-lauchpad: fix conflict with PR #18808 2022-10-28 09:27:55 -04:00
krzysztof-cabaj
9cd76fd75c boards/cc1352p: remove broken HTML links and headings from doc 2022-10-28 08:57:17 -04:00
krzysztof-cabaj
f46a5fd1f6 boards/cc2650: remove broken HTML links and headings from doc 2022-10-28 08:57:17 -04:00
krzysztof-cabaj
ce398695c6 boards/cc1352: remove broken HTML links and headings from doc 2022-10-28 08:57:17 -04:00
krzysztof-cabaj
0b6a9a87ad boards/cc1312: remove broken HTML links and headings in doc 2022-10-28 08:57:17 -04:00
benpicco
bfc8c09031
Merge pull request #18808 from krzysztof-cabaj/cc1350-doc
boards/cc1350: add info concerning shell access
2022-10-28 12:14:20 +02:00
benpicco
ed1d8e0a3d
Merge pull request #18785 from maribu/boards/blxxxpill/periph_conf
boards/common/blxxxpill: Fix pin conflicts in periph_conf
2022-10-27 21:22:10 +02:00
Marian Buschsieweke
4d02e15247
boards/common/nrf52: improve default clock config
- All nRF52 timers support 32 bit mode, so use that
- All nRF52 timers support at least 4 channels, the timers NRF_TIMER3
  and NRF_TIMER4 even support 6 channels.
- Add a warning that `TIMER_DEV(1)` is used by the IEEE 802.15.4 driver
2022-10-27 21:12:19 +02:00
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
MrKevinWeiss
6b5c75cad4
boards/blxxpill-128kib: Fix kconfig mismatch
Nightlies are failing due to kconfig mismatch.
It would seem this is a result of bringing in the USB stuff.
I assume that this uses ztimer periph_timer as a backend as periph_timer is already selected.
However, kconfig only resolves one and not recursively making it hard to match.
For not a hack is added to override for these boards.
2022-10-27 14:07:32 +02:00
krzysztof-cabaj
ec00a1b0c2 boards/cc1350-launchpad: fix trailing whitespace 2022-10-26 16:26:45 -04:00
Juergen Fitschen
0151279ffe
Merge pull request #18780 from jue89/feature/efm32-series2
EFM32: add cpu family EFR32ZG23 and board xG23-PK6068A
2022-10-26 19:18:30 +02:00
benpicco
55766f28eb
Merge pull request #18781 from gschorcht/pkg/tinyusb_nrf52
pkg/tinyusb: add nrf52 support
2022-10-26 11:59:18 +02:00
benpicco
f34ceb923c
Merge pull request #18792 from spectraphilic/lora-e5-arduino
boards/lora-e5-dev: add arduino feature
2022-10-26 11:58:51 +02:00
Jue
77ee1c55bc boards/xg23-pk6068a: initial commit 2022-10-26 11:27:22 +02:00
krzysztof-cabaj
5603c74ebd boards/cc1350: add info concerning shell access 2022-10-25 15:50:33 -04:00
J. David Ibáñez
739c9a91fd boards/lora-e5-dev: add arduino feature 2022-10-24 12:16:47 +02:00
Gunar Schorcht
9fbf9bff8c boards/nucleo-f303ze: enable tinyUSB support 2022-10-23 22:33:51 +02:00
Gunar Schorcht
558d4840c7 boards/p-nucleo-wb55: enable tinyUSB support 2022-10-23 22:33:51 +02:00
Gunar Schorcht
4d1f4347d9 boards: enable feature tinyusb_device for nRF52 boards
Since tinyUSB is not compatible with periph_usbdev, it can only be used on nRF52 boards that don't use highlevel_stdio.
2022-10-21 18:09:38 +02:00
Gunar Schorcht
3680546d89 boards/stm32f7508-dk: enable tinyUSB feature 2022-10-21 11:43:55 +02:00
Gunar Schorcht
7e166c638f boards/stm32f746g-disco: enable tinyUSB feature 2022-10-21 11:43:55 +02:00
Gunar Schorcht
7a6847edc7 boards: add SLTB009A EFM32GG12 Thunderboard Kit 2022-10-18 01:24:13 +02:00
0fca912e91
Merge pull request #18714 from gschorcht/drivers/usbdev_synopsys_dwc2_hs_utmi
drivers/usbdev_synopsys_dwc2: add support for internal UTMI HS PHY
2022-10-16 14:05:32 +02:00
Gunar Schorcht
f1bc9af67f board/stm32f723e-dsico: enable internal UMTI USB HS PHY feature 2022-10-16 11:35:42 +02:00
Gunar Schorcht
658d6b69b5 boards/common/stm32: add common configuration for internal USB HS PHY 2022-10-16 11:35:42 +02:00
Marian Buschsieweke
e26d1a085e
Merge pull request #18743 from benpicco/boards/blxxxpill-128kib_cdc-acm
boards/blxxxpill-128kib: default to CDC ACM for stdio
2022-10-15 23:40:58 +02:00
f8b2d42df8
Merge pull request #18451 from maribu/boards/im880b
boards/im880b: refactor code
2022-10-15 23:33:39 +02:00
benpicco
485dcbd24c
Merge pull request #18747 from krzysztof-cabaj/nucleo-l4r5zi-doc
boards/nucleo-l4r5zi: doc improvements
2022-10-15 15:39:00 +02:00
krzysztof-cabaj
ced17d419c boards/nucleo-l4r5zi: doc improvements 2022-10-15 06:50:55 -04:00
Benjamin Valentin
d2dbf9e853 boards/blxxxpill-128kib: default to CDC ACM for stdio
CDC ACM stdio adds 10k ROM and 2k RAM, so only enable it for the
larger board variants.
2022-10-14 15:22:52 +02:00
Marian Buschsieweke
ea0a53521f
Merge pull request #17812 from benpicco/boards/blxxxpill-usb
boards/blxxxpill: configure usbdev_fs
2022-10-14 01:10:23 +02:00
Benjamin Valentin
d3d89aaec8
boards/blxxxpill: configure usbdev_fs 2022-10-13 21:59:47 +02:00
Marian Buschsieweke
1bb6dab586
Merge pull request #18567 from benpicco/boards/samr21-xpro-edbg_uart
boards/samr21-xpro: add a note about EDBG UART limitation
2022-10-13 11:32:38 +02:00
MrKevinWeiss
e93cd15973
boards/pyboard: fix kconfig model usb clock 2022-10-10 12:35:29 +02:00
benpicco
d6d8f8dadb
Merge pull request #18679 from gschorcht/drivers/usbdev_synopsys_dwc2_hs
drivers/usbdev_synopsys_dwc2: add USB OTG HS peripheral support for external ULPI HS PHYs
2022-10-07 00:23:29 +02:00
benpicco
03ab49940b
Merge pull request #18689 from dylad/pr/pkg_tinyusb/add_sam0_support
pkg/tinyusb: add support for SAM0-based boards
2022-10-06 16:47:21 +02:00
Gunar Schorcht
4384403638 boards/common/esp32{s2,s3}: update USB OTG configuration 2022-10-06 06:26:22 +02:00
Gunar Schorcht
cc268401fb boards/stm32f7508-dk: enable ULPI HS PHY support for USB OTG HS port 2022-10-06 06:26:22 +02:00
Gunar Schorcht
958d8c904a boards/stmf746g-disco: enable ULPI HS PHY support for USB OTG HS port 2022-10-06 06:26:22 +02:00
Gunar Schorcht
d2f7fd6a0e boards/common/stm32: rename cfg_usb_otg_hs_fs.h to clarify the usage
The `fs` in the file name means that on-chip FS PHY is configured for USB OTG HS. The file is renamed to `cfg_usb_otg_hs_phy_fs.h`
- to clarify that USB OTG HS is just configured with PHY FS and not HS and FS,
- to allow a configuration of USB OTG FS and HS in one file called `cfg_usb_otg_hs_fs.h` or whatever, and
- to allow a configuration of USB OTG HS with ULPI PHY in a file called `cfg_usb_otg_hs_phy_ulpi.h`.
f
2022-10-06 06:25:38 +02:00
Dylan Laduranty
4e39ba4c7a boards/sam0-based: enable tinyusb_device support in Kconfig
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2022-10-05 20:14:02 +02:00
Dylan Laduranty
b17197fe53 boards/sam0-based: enable tinyusb_device support in Makefiles.features
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2022-10-05 19:23:37 +02:00
Gunar Schorcht
bc94881a91 boards/nucleo-f303: add periph_usbdev support 2022-10-05 09:15:29 +02:00
Gunar Schorcht
1fde5a4401 cpu/stm32/periph/usbdev_fs: support GPIO for USB connect/disconnect
Since some STM32 MCU don't have internal D+ pullup, there are boards that use a GPIO for USB bus connect/disconnect.
2022-10-05 09:15:29 +02:00
benpicco
429ee839cc
Merge pull request #18676 from krzysztof-cabaj/nucleo-l4r5zi-ADC
boards/nucleo-l4r5zi:  support for ADC
2022-10-04 13:26:16 +02:00
Dylan Laduranty
11aebb6003
Merge pull request #18592 from gschorcht/pkg/tinyusb
pkg/tinyusb: add tinyUSB as package
2022-10-04 13:08:36 +02:00
Gunar Schorcht
9cf0119233 pkg/tinyusb: add tinyusb_hw_defaults.h for platform specific defaults 2022-10-04 07:40:18 +02:00
krzysztof-cabaj
3a23f2632e boards/nucleo-l4r5zi: add ADC support 2022-10-03 17:13:20 -04:00
benpicco
a37fe464d2
Merge pull request #18673 from gschorcht/boards/stmf746g_disco/led
boards/stm32f746g-disco: add LD1 as LED0 definition
2022-10-01 23:19:57 +02:00
Gunar Schorcht
990feeec39 boards: enable feature tinyusb_device for STM32 boards 2022-09-30 19:05:51 +02:00
Gunar Schorcht
2be7609677 boards: enable feature tinyusb_device for ESP32 boards 2022-09-30 19:05:51 +02:00
3ee3d1b9ac
Merge pull request #18562 from MrKevinWeiss/pr/removemips
cpu/mips: Remove all mips
2022-09-30 10:47:09 +02:00
Gunar Schorcht
b04c84765b boards/stm32f746g-disco: add LD1 as LED0 definition
LED LD1 has no special function on the board STM32F746-DISCO and therefore can be used freely. This LED is also defined as ARDUINO LED pin D13 in the schematic.
2022-09-30 08:47:58 +02:00