1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

3782 Commits

Author SHA1 Message Date
3ac25c3ac9
Merge pull request #12556 from bergzand/wip/stusbdev
stm32_common: Add USB OTG FS/HS usbdev peripheral driver
2020-02-11 20:39:46 +01:00
1f5340c307
boards/stm32: Add default config for USB OTG HS peripheral 2020-02-11 15:50:22 +01:00
7f1325e48c
pyboard: add usbdev feature 2020-02-11 15:50:22 +01:00
08c74db3d9
stm32f769i-disco: add usbdev feature 2020-02-11 15:50:21 +01:00
033cb5559a
stm32f723e-disco: add usbdev feature 2020-02-11 15:50:21 +01:00
d9837182a0
stm32f4discovery: add usbdev feature 2020-02-11 15:50:21 +01:00
4d0f3d0d3a
stm32f429i-disc1: add usbdev feature 2020-02-11 15:50:20 +01:00
8198c52d17
nucleo-f767zi: add usbdev feature 2020-02-11 15:50:20 +01:00
befac12f9a
nucleo-f746zg: add usbdev feature 2020-02-11 15:50:20 +01:00
dca64d4120
nucleo-f722ze: add usbdev feature 2020-02-11 15:50:20 +01:00
0f885b3789
nucleo-f446ze: add usbdev feature 2020-02-11 15:50:19 +01:00
625698a1d2
nucleo-f429zi: add usbdev feature 2020-02-11 15:50:19 +01:00
2c6f0537df
nucleo-f413zh: add usbdev feature 2020-02-11 15:50:19 +01:00
f37b5d7ec7
nucleo-f412zg: add usbdev feature 2020-02-11 15:50:18 +01:00
3280248e89
nucleo-f207zg: add usbdev feature 2020-02-11 15:50:18 +01:00
fc63fb77bf
boards/stm32: Add default config for USB OTG FS peripheral 2020-02-11 15:50:18 +01:00
benpicco
33291ad675
Merge pull request #13306 from fjmolinas/pr_samr21_use_xosc
boards/sam[r/d]21-xpro: prefer XOSC32K for RTC/RTT (GCLK2)
2020-02-11 15:18:36 +01:00
benpicco
d8c050943c
Merge pull request #13327 from maribu/atmega-bootloader
boards: Cleaned up bootloader selection for ATmega
2020-02-10 23:18:43 +01:00
benpicco
82134ad77a
Merge pull request #13323 from francois-berder/mbedlpc1768-doc
boards: mbed_lpc1768: Improve documentation
2020-02-10 23:07:27 +01:00
Marian Buschsieweke
fec0f8dd48
boards/waspmote-pro: Refactor avrdude conf 2020-02-10 21:48:03 +01:00
Marian Buschsieweke
21b37a3f5e
boards/mega-xplained: Refactor avrdude conf 2020-02-10 21:48:03 +01:00
Marian Buschsieweke
ff53159f0e
boards/atmega256rfr2-xpro: Refactor avrdude conf
- No longer include `tools/serial.mk` and `tools/avrdude.mk`, as this is
  no done by `boards/common/atmega`
- No longer provide `RESET ?=`, as this is now done in `tools/avrdude.mk` for
  all ATmega boards unless they are using a bootloader
2020-02-10 21:48:03 +01:00
Marian Buschsieweke
26b4da2db2
boards/avr-rss2: Refactor avrdude conf 2020-02-10 21:48:03 +01:00
Marian Buschsieweke
e042bb43e1
boards/derfmega*: Refactor avrdude conf 2020-02-10 21:48:03 +01:00
Francois Berder
056c1e568c boards: mbed_lpc1768: Improve documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-10 19:29:55 +00:00
benpicco
b44cf48a87
Merge pull request #13246 from benpicco/lpc23xx-spi
cpu/lpc2387: make SPI configurable
2020-02-10 17:01:41 +01:00
Marian Buschsieweke
f5d9f29b57
boards/arduino-leonardo: Refactor avrdude conf 2020-02-10 15:01:27 +01:00
Marian Buschsieweke
7f4782e3e6
boards/arduino-duemilanove: Refactor avrdude conf 2020-02-10 15:01:06 +01:00
Marian Buschsieweke
c1c25b0644
boards/arduino-nano: Refactor avrdude conf
- Use the common logic to translate from a bootloader to concrete flasher flags
- Extended documentation on how to use optiboot as alternative bootloader, as
  the stock bootloader is affected by a bug preventing the use of RIOT's
  pm_reboot() implementation
2020-02-10 14:59:24 +01:00
Marian Buschsieweke
88b90ee4af
boards/arduino-uno: Refactor avrdude conf 2020-02-10 14:59:06 +01:00
Marian Buschsieweke
23531b3a73
boards/arduino-mega2560: Refactor avrdude conf 2020-02-10 14:58:18 +01:00
Marian Buschsieweke
750d3078e4
boards/common/arduino-atmega: Refactoring
- including `avrdude.mk` and `serial.mk` is no longer needed
- the avrdude flag -F is dropped
    - This allows flashing a board having an MCU different to the one
      RIOT was compiled for
    - It is better to let the user provide this flag manually if she/he really
      wants to turn safety off, knows what she/he is doing, and accepts the
      risk associated with this
- the avrdude flag -D is dropped
    - This disables issuing an erase command during flashing, however this
      erase cycle is strictly required to be able to program the flash
    - This is only needed in case of the stk500v2 bootloader, which implicitly
      does the erase cycle and fails if explicitly asked to do so
    - Only for the stk500v2 bootloader this flag is now added
2020-02-10 14:52:07 +01:00
Marian Buschsieweke
95704348ae
boards/common/atmega: Refactor flash & serial conf
- Include `tools/avrdude.mk` and `tools/serial.mk` at the common place instead
  for each ATmega based board individually
- Introduce the makefile variable BOOTLOADER to de-duplicate flash configs:
    - Two boards using the same bootloader now just use `BOOTLOADER ?= foo`
      and share the individual config
    - These settings are not applied when `PROGRAMMER` is set to still allow
      users to manually specify how to program their board
2020-02-10 14:48:39 +01:00
Benjamin Valentin
d675eb7cbb boards/mcb2388: update SPI configuration 2020-02-10 13:41:00 +01:00
Benjamin Valentin
4342d81220 boards/mcb2388: add ADC configuration
The MCB2388 has a potentiometer connected to an ADC input.
2020-02-10 13:25:26 +01:00
Benjamin Valentin
9c0dfaada9 boards/msba2: add ADC configuration
ADC pins are on the AD/DA pins (JP8).
Configure AD0.0 - AD0.2 as laid out on the board schematics.
2020-02-10 13:25:26 +01:00
Francois Berder
b4ab22673e boards: Use ARRAY_SIZE for setting UART_NUMOF, SPI_NUMOF, I2C_NUMOF
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-09 20:55:46 +00:00
Francisco Molina
c9ff150571
boards/sam%21-xpro: prefer XOSC32K for RTC/RTT (GCLK2) 2020-02-07 15:48:15 +01:00
713fead00a
boards: move some USEMODULE to Makefile.dep 2020-02-07 13:21:22 +01:00
benpicco
66c7c63c94
Merge pull request #13061 from gschorcht/cpu/esp32/rtc_xtal_32k
cpu/esp32: allow external 32 kHz crystal for the RTC hardware timer
2020-02-07 10:24:22 +01:00
Gunar Schorcht
1e71606305 boards/esp32: enable 32 kHz XTAL for WROVER-KIT 2020-02-07 00:46:16 +01:00
benpicco
3d95521c14
Merge pull request #13301 from gschorcht/board/esp32/fix_compile_error_c_linkage
boards/esp32: fix compilation error due to C linkage in examples/posix_sockets
2020-02-05 22:08:14 +01:00
Gunar Schorcht
cfcea03a58 board/esp32: fix compilation error due to C linkage
Including `board_common.h` header has to be outside the `extern C` linkage block.
2020-02-05 20:42:22 +01:00
d6264f56c8
Merge pull request #13168 from fjmolinas/pr_iotlab_openocd
boards/iotlab: add DEBUG_ADAPTER_ID openocd
2020-02-05 11:30:11 +01:00
Benjamin Valentin
c4e0ed4b79 boards: use explicit GCLK_SRC defines 2020-02-04 21:17:00 +01:00
Benjamin Valentin
4fbca251bc boards/same54-xpro: use 48 MHz GCLK6 for I2C
We can't run I2C off the 120 MHz main clock as the availiable dividers are too small.
Use the 48 MHz GCLK 6 instead which offers an appropriate frequency.

fixes #12037
2020-02-04 21:16:54 +01:00
Benjamin Valentin
1496149bba cpu/sam0: don't hard-code peripheral clocks
Instead of hard-coding the peripheral clocks to CLOCK_CORECLOCK
introduce helper functions to return the frequency of the individual
GCLKs and use those for baud-rate calculations.

This requires the GCLK to be part of the peripheral's config struct.
While this is already the case for most peripherals, this also adds
it for those where it wasn't used before.

As it defaults to 0 (CLOCK_CORECLOCK) no change is to be expected.
2020-02-04 21:06:21 +01:00
Benjamin Valentin
a51d167a43 cpu/sam0: use GCLK ID instead of bitmask
To simplify board definitions and for unification between samd2x and
newer models, don't use the GCLK bitmask in board definitions.
Instead use the GCLK index and generate the bitmask when needed.
2020-02-04 21:06:21 +01:00
Jean Pierre Dudey
8c68796ff8
boards/cc1312-launchpad: correct config. for gdb_agent_server
This enables the usage of `monitor reset` command in gdb.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-02-04 07:13:20 -05:00
benpicco
cc90a896c7
Merge pull request #13166 from jeandudey/2020_01_19-cc26x2-cc13x2
cpu/cc13x2: rename cpu to cc26x2_cc13x2.
2020-02-04 11:45:59 +01:00