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

4271 Commits

Author SHA1 Message Date
70e3bf84b0
msbiot: Add DMA config for SPI 2020-05-25 11:42:10 +02:00
1f8bdb73e3
nucleo-f411re: Add DMA config for SPI 2020-05-25 11:42:10 +02:00
09831a40a4
nucleo-f410rb: Add DMA config for SPI 2020-05-25 11:42:10 +02:00
4c1b65c670
nucleo-f401re: Add DMA config for SPI 2020-05-25 11:42:05 +02:00
Jean Pierre Dudey
85a223245e
boards/cc1352p-launchpad: add I2C configuration
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-05-24 13:15:17 -05:00
Jean Pierre Dudey
a2d470687d
boards/cc1352-launchpad: add I2C configuration
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-05-24 12:44:16 -05:00
Jean Pierre Dudey
99118e257a
boards/cc1312-launchpad: add I2C configuration
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-05-24 12:44:16 -05:00
Juergen Fitschen
a1b3a80985 boards/samr30-xpro: add SPI dev for ext pin header 2020-05-23 14:01:08 +02:00
Juergen Fitschen
ee0a254a21 boards/samr30-xpro: fix identation 2020-05-23 14:01:08 +02:00
Juergen Fitschen
a9305e47f7 boards/samr30-xpro: add notes on peripheral definition 2020-05-23 14:01:08 +02:00
facb626b02
boards/stm32*: adapt for new stm32 cpu organization 2020-05-20 13:39:10 +02:00
benpicco
e7bf1ef706
Merge pull request #13654 from benpicco/serpente-r2
boards/serpente: add serpente board
2020-05-20 11:31:40 +02:00
Benjamin Valentin
cddb929d0c boards/serpente: add serpente board
See https://serpente.solder.party
2020-05-20 10:39:38 +02:00
8bc0492334
Merge pull request #14090 from bergzand/pr/boards_stm32f4/disable_uart_dma
boards/stm32f4: Remove incorrect UART DMA config from stm32f4 boards
2020-05-20 09:12:27 +02:00
28f00f731f
boards/stm32: remove obsolete UART DMA ISR defines 2020-05-20 08:49:22 +02:00
d8ec0b292f
boards/stm32f4: Set DMA_STREAM_UNDEF for UART DMA
This PR sets the DMA configuration for the UART peripherals on the
stm32f4 boards to the undef value to disable the DMA. This to prevent
from accidentally configuring the DMA to stream 0 channel 0 when
enabling DMA.
2020-05-20 08:49:22 +02:00
cf6ab10abc
Merge pull request #13861 from maribu/nucleo-f767-spi
boards/nucleo-f767zi: Fix SPI config
2020-05-19 21:00:11 +02:00
Marian Buschsieweke
f56a0a5128
boards/nucleo-f767zi: Remap MOSI of SPI1 when used with stm32_eth
PA7 is the default MOSI pin, as it is required for compatibility with
Arduino(ish) shields. Sadly, it is also connected to the RMII_DV of
Ethernet PHY. This commit works around this by remapping the MOSI to PB5 when
the on-board Ethernet PHY is used.
2020-05-19 20:30:24 +02:00
Benjamin Valentin
59f3c1b48b boards/samd21-arduino-bootloader: add support for UF2 bootloader 2020-05-19 16:58:58 +02:00
benpicco
9f707bf121
Merge pull request #14057 from bergzand/pr/nrf52/dma_spi
nrf52: Implement EasyDMA-based SPI peripheral implemenation
2020-05-18 19:42:33 +02:00
e76ee57b35
ruuvitag: Adapt SPI periph config 2020-05-18 19:18:30 +02:00
e1d7d3d838
reel: Adapt SPI periph config 2020-05-18 19:18:30 +02:00
c90bc72ce9
pinetime: Adapt SPI periph config 2020-05-18 19:18:30 +02:00
d15987bc9b
nrf52dk: Adapt SPI periph config 2020-05-18 19:18:30 +02:00
93acc998c4
nrf52840dk: Adapt SPI periph config 2020-05-18 19:18:30 +02:00
f42a796c02
feather-nrf52840: Adapt SPI periph config 2020-05-18 19:18:29 +02:00
1e15bb2680
particle-mesh: Adapt SPI periph config 2020-05-18 19:18:29 +02:00
628d3e9080
nrf52: Adapt SPI periph config 2020-05-18 19:18:29 +02:00
88c244bc75
arduino-nano-33-ble: Adapt SPI periph config 2020-05-18 19:18:29 +02:00
919ca1c4b5
adafruit-clue: Adapt SPI periph config 2020-05-18 19:18:29 +02:00
825c4c8cb7
acd52832: Adapt SPI periph config 2020-05-18 19:18:29 +02:00
benpicco
22b2f3664f
Merge pull request #14089 from maribu/atmega_cpu_cleanup
cpu/atmega{_common,32u4}: Cleanup
2020-05-16 19:17:29 +02:00
Marian Buschsieweke
2f3961690e
cpu/atmega_common: Add feature PUF_SRAM
The feature is implemented in `cpu/atmega_common`, so we can just enable it for
all ATmega boards.
2020-05-15 11:31:23 +02:00
Marian Buschsieweke
4d1a5b9256
cpu/atmega_common: Drop legacy include
Drop `#include "irq.h"` in `cpu.h`, which was there for a legacy work around.
A bunch of missing includes of `irq.h` materialized due to this and were
fixed.
2020-05-15 11:24:28 +02:00
Marian Buschsieweke
7cf49d145d
boards/common/nrf52: Allow external boards
Replace `$(RIOTBOARD)/$(BOARD)` with `$(BOARDDIR)`, which also works for
external boards. This allows external boards to build on top of
`$(RIOTBOARD)/common/nrf52`.
2020-05-14 13:56:12 +02:00
benpicco
e3591535ce
Merge pull request #13972 from Citrullin/nrf52_bmp
Add bmp config for nrf52
2020-05-12 16:59:34 +02:00
Philipp Blum
3240dfc0b2 boards/common/nrf52: add config for bmp 2020-05-12 15:54:38 +02:00
Marian Buschsieweke
966b0e22e5
boards/microduino-corerf: Fix duplicated includes
avrdude.mk and serial.mk was included twice. As a result of the former, avrdude
wasted one flash cycle and some time by writing the same firmware twice.
2020-05-12 15:00:14 +02:00
benpicco
e45777d077
Merge pull request #13809 from Vinggui/master
Added a new flashing parameter for generic cheap St-link and bluepill(-128kib) boards.
2020-05-12 11:48:43 +02:00
aa2e84218f
Merge pull request #14052 from bergzand/pr/nrf52840dk/add_mtd
nrf52840dk: Add MTD configuration
2020-05-11 13:01:33 +02:00
4f41c60e05
nrf52840dk: Add MTD configuration 2020-05-11 10:26:29 +02:00
chrysn
1c0bdede8d boards/nrf52840dongle: Add support
It includes per-board support for the nrfutil programmer used with its
default bootloader; this is not generalized over Adafruit's boards as
they use incompatible versions of nrfutil.
2020-05-08 14:49:46 +02:00
Marian Buschsieweke
ee50546f80
boards/atmega328p: Fix duplicated includes
avrdude.mk and serial.mk was included twice. As a result of the former, avrdude
wasted one flash cycle and some time by writing the same firmware twice.
2020-05-06 20:28:34 +02:00
Marian Buschsieweke
9c042eb388
boards/atmega1284p: Default programmer, fix doc
The AVR Dragon, previously the cheapest debugger/programmer for AVR, is out of
production. The default debugger for AVR devices has been changed to the Atmel
ICE, the now cheapest debugger option. The commit updates the documentation
accordingly.

Additionally the default programmer is changed to the Atmel ICE for consistency.
The doc is updated accordingly.
2020-05-06 20:28:33 +02:00
Marian Buschsieweke
6c203deb7d
boards/atmega1284p: Fix duplicated includes & typo
- avrdude.mk and serial.mk were included twice.
    - The former resulted in `make flash` wasting one flash cycle by flashing
      the same firmware twice
- Fixed typos (atmega328p instead of atmega1284p)
2020-05-06 20:27:42 +02:00
5773db93f8
Merge pull request #14025 from fjmolinas/pr_nrf5x_rtt_conf
boards/common/nrf5x: add configurable RTT_FREQUENCY
2020-05-05 17:46:05 +02:00
343dc3f90f
Merge pull request #13909 from fjmolinas/pr_stm32_rtt
cpu/stm32_common: make RTT_FREQUENCY configurable
2020-05-05 16:45:39 +02:00
Francisco Molina
409185c5ce
boards/common/nrf5x: add configurable RTT_FREQUENCY
Adds: RTT_MAX_FREQUENCY, RTT_MIN_FREQUENCY & RTT_CLOCK_FREQUENCY
2020-05-05 14:52:55 +02:00
Francisco Molina
fc644cc2c2
boards/nucleo-f413zh: use common rtt config 2020-05-05 14:36:32 +02:00
Francisco Molina
b5bcf26e0f
cpu/stm32_common: make RTT_FREQUENCY configurable
Adds: RTT_MAX_FREQUENCY, RTT_MIN_FREQUENCY & RTT_CLOCK_FREQUENCY
2020-05-05 14:36:31 +02:00
benpicco
4631c6452b
Merge pull request #14018 from benpicco/boards-purge-gnrc_netdev_default
boards: purge gnrc_netdev_default from Makefile.dep
2020-05-05 14:22:08 +02:00
Benjamin Valentin
dc58ef59ae boards: remove duplicate gnrc_netdev_default from Makefile.dep
`gnrc_netdev_default` will pull in `netdev_default`, so no need to
check for both in `Makefile.dep`
2020-05-05 09:58:45 +02:00
Vinicius G. Guimaraes
f8776a989f boards/blxxxpill: add support for stm32duino bootloader and for generic St-Link V2. 2020-05-04 19:36:15 -07:00
benpicco
3c03394e1e
Merge pull request #13820 from francois-berder/pic32-gpio-irq
cpu: mips_pic32_common: Implement GPIO IRQ
2020-05-04 18:36:48 +02:00
Dylan Laduranty
57c1a49a82
Merge pull request #13957 from benpicco/cpu/samd21-pwm_flex
cpu/samd21: PWM don't hard-code number of channels to 3
2020-05-02 20:52:56 +02:00
Dylan Laduranty
76870721fe
Merge pull request #13965 from benpicco/cpu/sam0_common/periph/dac
cpu/sam0_common: implement periph/dac
2020-05-02 20:34:40 +02:00
Francois Berder
937a30eca7 boards: 6lowpan-clicker: Update GPIO SAUL configuration for buttons
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-05-02 17:59:17 +01:00
Francois Berder
fb610ba7cb boards: 6lowpan-clicker: Add button pin configuration
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-05-02 17:59:17 +01:00
Francois Berder
42f5363ef0 boards: pic32-wifire: Update GPIO SAUL configuration for buttons
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-05-02 17:59:17 +01:00
Francois Berder
d70f0cab51 boards: pic32-wifire: Define buttons configuration
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-05-02 17:59:17 +01:00
Benjamin Valentin
3d458310f4 boards/saml21-xpro: enable DAC
saml21-xpro exposes PA02 and PA05 on the EXT1 pin header,
so we can enable the DAC.
2020-05-02 18:31:55 +02:00
Benjamin Valentin
f4e5f016ac boards/samd21-xpro: enable DAC
samd21-xpro exposes PA02 on the EXT3 pin header, so we can enable
the DAC
2020-05-02 18:31:55 +02:00
Benjamin Valentin
777931bcdc boards/common/saml1x: enable DAC
Both saml10-xpro and saml11-xpro expose PA02 on the pin header, so
we can enable the DAC feature.
2020-05-02 18:31:55 +02:00
Benjamin Valentin
d4b601327b boards/same54-xpro: enable DAC
Both PA2 and PA5 are exposed on the board, so we can enable the DAC
feature.
2020-05-02 18:31:55 +02:00
benpicco
8136edca95
Merge pull request #13958 from francois-berder/rename-pic32-clicker
boards: Rename pic32-clicker to 6lowpan-clicker
2020-04-30 16:06:50 +02:00
Francisco
777a8aa459
Merge pull request #12709 from aabadie/pr/cpu/native_eeprom
cpu/native: add periph_eeprom driver implementation
2020-04-29 11:44:35 +02:00
Akshai M
e5fe525711 drivers/fxos8700 : Add CONFIG_
Add CONFIG_ Prefix for FXOS8700_USE_ACC_RAW_VALUES and model
it as a bool

Co-Authored-By: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-04-29 14:32:00 +05:30
5a9f01d91a
native: pass eeprom file path via command line 2020-04-29 08:56:33 +02:00
benpicco
549d7ff24f
Merge pull request #13964 from btcven/board/cc1352p-launchpad
boards: add for cc1352p-launchpad board
2020-04-28 21:41:02 +02:00
Luis Ruiz
aa3ac67b7d Add support for cc1352p-launchpad
- Fix some typos
- Add/Update attribution and copyright to related files
- delete Makefile.dep
2020-04-28 15:14:07 +02:00
Francisco Molina
b78e4efb56
cpu/stm32f1: dont provide periph_rtc at cpu level
stm32f1 periph_rtc implementation gets a 1s resolution by dividing
CLOCK_LSx by 32768. This only make sense if CLOCK_LSE is set,
otherwise CLOCK_LSI=~40000, which will lead to an imprecise rtc.
2020-04-27 08:59:21 +02:00
Francois Berder
9f429d6768 boards: Rename pic32-clicker to 6lowpan-clicker
After releasing the 6LoWPAN clicker, MikroE released yet another PIC32 based clicker
named the PIC32MX clicker. To avoid any confusion between the two boards, pic32-clicker
is renamed to 6lowpan-clicker.

Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-04-26 22:04:59 +01:00
Benjamin Valentin
5bb1978de2 boards/feather-m0: update PWM configuration 2020-04-26 22:56:39 +02:00
Benjamin Valentin
f76f6f4935 boards/sodaq-autonomo: update PWM configuration 2020-04-26 22:56:26 +02:00
Benjamin Valentin
393105a9e1 boards/common/arduino-mkr: update PWM configuration 2020-04-26 22:52:29 +02:00
Benjamin Valentin
335f669933 boards/hamilton: update PWM configuration 2020-04-26 22:42:20 +02:00
Benjamin Valentin
e03b692ff7 boards/arduino-zero: update PWM configuration 2020-04-26 22:39:38 +02:00
Benjamin Valentin
ed3f951825 boards/samd21-xpro: update PWM configuration 2020-04-26 22:35:24 +02:00
Benjamin Valentin
cc3779671e boards/samr21-xpro: update PWM configuration 2020-04-26 22:33:38 +02:00
benpicco
bcf4cc8083
Merge pull request #13868 from benpicco/boards/mcb2388-enhancements
boards/mcb2388: misc enhancements
2020-04-26 19:31:08 +02:00
Francisco Molina
a72abe5903
boards/common/blxxxpill: provide periph_rtt 2020-04-24 10:44:57 +02:00
Francisco Molina
4d398ab09e
cpu/stm32f1: add unified rtt configuration 2020-04-24 08:57:04 +02:00
Marian Buschsieweke
fdf955cfb2
Merge pull request #13899 from Hoernchen20/stm32f1_adc
boards/blxxxpill: improve adc
2020-04-22 23:07:26 +02:00
Hoernchen20
c64f7f72c2 boards/common/blxxxpill: Drop ADC lines used for stdio 2020-04-22 21:16:20 +02:00
Hoernchen20
4e87682ba1 boards/common/blxxxpill: Add internal ADC lines 2020-04-22 21:08:20 +02:00
Leandro Lanzieri
75b371ccb0
boards/common/msba2: Set RTS and DTR to 0 when using Miniterm 2020-04-22 08:08:23 +02:00
Benjamin Valentin
a1276d7cd1 boards/mcb2388: remove XTIMER_OVERHEAD
It's not used anywhere.
2020-04-21 20:47:53 +02:00
Benjamin Valentin
40838ee4be boards/mcb2388: add SAUL config for ADC
ADC0 is connected to a potentiometer on the board, so expose this
through SAUL.
2020-04-21 20:47:53 +02:00
Benjamin Valentin
161156b067 boards/mcb2388: enable all timers 2020-04-21 20:47:53 +02:00
Benjamin Valentin
45947c0fcd boards/mcb2388: define flank of the on-board button
Define the button flank for tests that use this define.
2020-04-21 20:47:53 +02:00
Benjamin Valentin
d906d5aef8 boards/mcb2388: configure second SPI bus
SPI0 will always clash with the pins of the LCD display, so if we
want to use both SPI and the display we need to use SPI1.
2020-04-21 20:47:53 +02:00
19119f142a
Merge pull request #13558 from fjmolinas/pr_mtd_powerup
drivers/mtd_spi_nor: power up MTD on init
2020-04-21 13:53:07 +02:00
Francisco Molina
61eecf6fe0
drivers/mtd_spi_nor: power up MTD on init 2020-04-21 11:09:40 +02:00
Martine Lenders
55a7010a0a
Merge pull request #13157 from nmeum/pr/fuzzing_tcp_only
Add AFL-based fuzzing setup for network modules
2020-04-18 10:54:14 +02:00
benpicco
17f1a85bf1
Merge pull request #12415 from maribu/nucleo_board_init
boards/common/nucleo: Marked board_init as weak
2020-04-16 23:30:19 +02:00
c1176e961c
boards/cc1312-launchpad: fix typo + reword 2020-04-16 12:08:22 +02:00
benpicco
7aa62006e7
Merge pull request #13840 from btcven/2020_04_06-uart1
cc26xx_cc13xx: fix UART1 initialization
2020-04-15 17:15:24 +02:00
Jean Pierre Dudey
9d27000b65
cc1312-launchpad: add UART1 configuration
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-04-14 18:41:31 -05:00
7226635564
boards/samr3x-xpro: add riotboot feature 2020-04-14 18:31:18 +02:00
benpicco
1c22ee8782
Merge pull request #13844 from maribu/msbiot
boards/msbiot: Use common stm32 serial/programmer settings
2020-04-14 13:54:58 +02:00