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

5023 Commits

Author SHA1 Message Date
Benjamin Valentin
871107e67f boards/weact-f411ce: enable automatic reset to bootloader 2020-06-11 16:37:30 +02:00
Francisco Molina
d32467bf03
boards/samr21-xpro: increase CONFIG_ZTIMER_USEC_MIN 2020-06-11 15:59:24 +02:00
Benjamin Valentin
2325dba871 makefiles/bossa: move USB reset logic to common file 2020-06-11 11:56:35 +02:00
Francisco Molina
e3469565c8
boards/samr21-xpro: set RTT_MIN_OFFSET 2020-06-11 09:31:17 +02:00
Francisco
52bcdff113
Merge pull request #14245 from fjmolinas/pr_iotlab_baud
boards/common/iotlab: don't enforce BAUD
2020-06-11 09:13:03 +02:00
Marian Buschsieweke
1cf1f75db1
Merge pull request #14240 from benpicco/boards/WeAct-f411_dynamic_flash
boards/weact-f411ce: determine flash size at run-time
2020-06-10 22:22:59 +02:00
benpicco
75d82cc9b8
Merge pull request #14209 from btcven/2020_06_04-common-cfg
boards/cc26x2_cc13x2-based: move config to common directory
2020-06-10 15:32:11 +02:00
Francisco Molina
f556eb6958
boards/common/iotlab: don't enforce BAUD 2020-06-10 13:32:05 +02:00
Benjamin Valentin
59a41968b5 boards/weact-f411ce: determine flash size at run-time
The pad for SPI-Flash on the WeAct-f411ce does not come pre-populated.
The user has to manually solder a SPI-flash chip on the board, so specifying
a size here makes no sense.

Instead, rely on automatic detection of the flash size at run-time.
2020-06-10 12:10:29 +02:00
Leandro Lanzieri
58cd126517
Merge pull request #14210 from btcven/2020_06_04-cc26xx_cc13xx_kconfig
boards/cc26xx_cc13xx-based: model features in Kconfig
2020-06-10 11:27:31 +02:00
Jean Pierre Dudey
3f2be3784b
boards/cc2650stk: model features in Kconfig
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-06-09 07:55:41 -05:00
Jean Pierre Dudey
b87efa3c4b
boards/cc2650-launchpad: model features in Kconfig
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-06-09 07:55:41 -05:00
Jean Pierre Dudey
eb599fd5dc
boards/cc1352p-launchpad: model features in Kconfig
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-06-09 07:55:41 -05:00
Jean Pierre Dudey
6db36b75b4
boards/cc1352-launchpad: model features in Kconfig
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-06-09 07:55:41 -05:00
Jean Pierre Dudey
ef1fdb5ab4
boards/cc1312-launcpad: model features in Kconfig
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-06-09 07:55:41 -05:00
Kees Bakker
723fe93850 boards/common/sodaq: add XTIMER_DEV and make it equal to other SAMD21
For some reason this was looked over a while back.

This resolves issue #14217
2020-06-07 22:25:30 +02:00
benpicco
cb11b2d33f
Merge pull request #14198 from maribu/wemos-zero
boards: Add support for the wemos-zero board
2020-06-05 17:55:43 +02:00
Jean Pierre Dudey
283aacbecd
boards/cc26x2_cc13x2-based: move config to common
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-06-04 17:12:52 -05:00
Marian Buschsieweke
b44ac93558
boards/serpente: Deduplicate serial/programmer handling 2020-06-04 21:28:17 +02:00
Marian Buschsieweke
17b890c16e
boards/{arduino,wemos}-zero: Dedpulicated code 2020-06-04 21:28:17 +02:00
Marian Buschsieweke
8b9a98233e
boards: Add support for the WeMos-Zero
This is an Arduino Zero clone without the embedded debugger. Thus, it will be
flashed by default using the U2F bootloader and uses by default USB CDC ACM for
STDIO.
2020-06-04 21:28:17 +02:00
Marian Buschsieweke
de189a33f4
boards/arduino-zero: Factor out common code 2020-06-04 21:28:17 +02:00
Marian Buschsieweke
fc91e8019e
Merge pull request #12778 from benpicco/boards_WeAct-f411ce
boards: add WeAct-f411ce
2020-06-04 13:06:25 +02:00
Benjamin Valentin
b20ec93991 boards: add WeAct-f411ce board
The WeAct-F411CE is a blackpill-like board with a STM32F411CE.
It can be flashed using the vendor-provided bootloader.
2020-06-04 12:39:14 +02:00
Marian Buschsieweke
5eeb0725e0
boards/arduino-zero: Fix units & alignment in doc 2020-06-04 11:24:26 +02:00
Marian Buschsieweke
1408f29aa4
boards/airfy-beacon: Fix units & alignment in doc 2020-06-04 11:24:25 +02:00
Marian Buschsieweke
b2b8639e19
boards/6lowpan-clicker: Fix units in doc 2020-06-04 09:31:59 +02:00
Kevin "Tristate Tom" Weiss
972d9441ce
Merge pull request #13404 from leandrolanzieri/pr/boards/samr21-xpro/features_kconfig
boards/samr21-xpro: Model features in Kconfig
2020-06-03 09:39:41 +02:00
954ac22c45
Merge pull request #13865 from benpicco/usb_custom_id
USB VID/PID: allow for boards to define default custom VID/PID
2020-06-02 18:42:37 +02:00
Leandro Lanzieri
4c74881904
boards/samr21-xpro: Add board specific Kconfig symbols 2020-06-02 17:42:16 +02:00
Benjamin Valentin
cb21aea5f6 boards/serpente: properly configure USB ID 2020-06-02 14:17:55 +02:00
02ce7c0332
Merge pull request #14161 from bergzand/pr/nrf52840dk/move_spi_flash_periph
nrf52840dk: move SPI flash to SPIM2 peripheral
2020-06-02 13:14:35 +02:00
Gabriel Moyano
2367ff3885 boards/blxxxpill: add TIM1, TIM3 and TIM4 as qdec dev 2020-05-29 22:08:25 +02:00
Marian Buschsieweke
dfa6863275
cpu/atmega{1281,2560}: Relocate default timer config 2020-05-28 16:27:08 +02:00
Marian Buschsieweke
044a3f9a4c
cpu/atmega1284p: Relocate default timer config 2020-05-28 16:27:07 +02:00
Marian Buschsieweke
200afc46fa
cpu/atmega328p: Relocate default timer config 2020-05-28 16:27:07 +02:00
Marian Buschsieweke
a950d6bbb6
cpu/atmega{128rfa1,256rfr2}: Relocate default timer config 2020-05-28 16:27:07 +02:00
Marian Buschsieweke
9138e48746
cpu/atmega32u4: Relocate default timer config 2020-05-28 16:27:06 +02:00
d9436171e9
nrf52840dk: move SPI flash to SPIM2 peripheral
The SPIM1 peripheral overlaps with TWIM1. TWIM1 is already configured as
the default peripheral for the I2C interface. This commit moves the
peripheral used for the SPI flash to SPIM2. This peripheral is dedicated
for SPI operations and doesn't conflict with other peripherals
2020-05-28 11:55:08 +02:00
benpicco
a5836a6b27
Merge pull request #14128 from btcven/2020_05_24-cc13x2-i2c
cc26xx_cc13xx: add periph_i2c implementation
2020-05-25 22:35:55 +02:00
97f98dcace
boards/stm32: remove useless ifdef around DMA config 2020-05-25 13:23:20 +02:00
dc6bb50021
Merge pull request #14093 from bergzand/pr/boards_stm32f4/add_spi_dma
boards/stm32f4: Add DMA config for SPI
2020-05-25 13:17:22 +02:00
709f576d4a
ublox-c030-u201: Add DMA config for SPI 2020-05-25 11:42:12 +02:00
859f0d9c03
stm32f4discovery: Add DMA config for SPI 2020-05-25 11:42:12 +02:00
86ae376a8a
stm32f429i-disc1: Add DMA config for SPI 2020-05-25 11:42:12 +02:00
d0f26ac877
pyboard: Add DMA config for SPI 2020-05-25 11:42:11 +02:00
08123b9736
nucleo-f446ze: Add DMA config for SPI 2020-05-25 11:42:11 +02:00
5cee9c61e1
nucleo-f446re: Add DMA config for SPI 2020-05-25 11:42:11 +02:00
5c63c7ccb6
nucleo-f429zi: Add DMA config for SPI 2020-05-25 11:42:11 +02:00
2028a97db6
nucleo-f413zh: Add DMA config for SPI 2020-05-25 11:42:11 +02:00
61830480e9
nucleo-f412zg: add DMA config for SPI 2020-05-25 11:42:11 +02:00
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
Benjamin Valentin
58beead805 boards/mcb2388: define flank of the on-board button
Define the button flank for tests that use this define.
2020-04-12 21:08:46 +02:00
Marian Buschsieweke
c989205d8f
boards/msbiot: Use common stm32 serial/programmer settings 2020-04-09 09:57:45 +02:00
Leandro Lanzieri
08ace5a353
boards/Kconfig: Declare common board symbol 2020-04-08 17:37:06 +02:00
6d38a232d3
boards/arduino-nano-33-ble: initial support 2020-04-08 09:58:21 +02:00
6ba3b8b023
boards/adafruit-clue: add initial support 2020-04-08 09:35:08 +02:00
9cc338d29e
boards/nucleo-l4*: use shared clock configuration 2020-04-07 17:42:56 +02:00
73615d690d
boards/stm32l4: introduce common clock configuration 2020-04-07 17:42:56 +02:00
Sören Tempel
d7104e4992 makefiles/toolchain: add support for afl 2020-04-07 14:24:10 +02:00
Leandro Lanzieri
d60295db3c
Merge pull request #13720 from aabadie/pr/native_no_export
native: only export NATIVEINCLUDES in vars.inc.mk
2020-04-07 12:55:45 +02:00
010aca2638
Merge pull request #13719 from aabadie/pr/boards/flash_export_remove
boards*: remove remaining uses of export with some openocd related variables
2020-04-07 11:58:28 +02:00
1aab4daf8f
boards*: fix position of openocd variable definitions 2020-04-07 11:38:53 +02:00
Francisco
2165327bbf
Merge pull request #13794 from aabadie/pr/boards/samd21_bootloader_cleanup
boards/samd21-bootloader*: small cleanup
2020-04-06 09:35:04 +02:00
Francois Berder
988763bf89 boards: pic32-wifire: Update UART implementation status in documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-04-03 19:20:14 +01:00
Francois Berder
932ba6d9f0 boards: pic32-clicker: Update UART implementation status in documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-04-03 19:20:14 +01:00
benpicco
b87be4bd6e
Merge pull request #13786 from benpicco/cpu/saml21/buck_converter
cpu/saml21: enable buck voltage regulator when possible
2020-04-03 18:12:05 +02:00
benpicco
fdaf1ac6fe
Merge pull request #13795 from francois-berder/pic32-saul
boards: pic32*: Add GPIO SAUL configuration
2020-04-02 21:28:38 +02:00
Benjamin Valentin
09ef2f6908 boards/samr34-xpro: enable buck converter 2020-04-02 17:25:16 +02:00
Benjamin Valentin
a102ad3d3d boards/saml21-xpro: enable buck converter 2020-04-02 17:25:16 +02:00
0f9e56d0ff
boards/samd21-bootloader: don't use bootloader with slipdev_stdio 2020-04-02 16:42:37 +02:00
fc7e98b60c
boards/samd21-arduino: exclude reset with usb-board-reset macro 2020-04-02 16:41:53 +02:00
Francisco Molina
72a2220d21
boards/common/nrf52: include Makefile.board.dep in hack
nrf52 includes include $(RIOTBOARD)/$(BOARD)/Makefile.dep to know
if `nordic_softdevice_ble` is used, this changes dependency
resolution sinnce -include $(APPDIR)/Makefile.board.dep should
be resolved before.

This can be removed once #9913 is if `nordic_softdevice` is
deprecated.
2020-04-02 14:51:22 +02:00
Francisco Molina
0e5205c4a5
*/Makefile.dep: remove usage of DEFAULT_MODULE += stdio% 2020-04-02 14:50:18 +02:00
Francois Berder
0454253519 boards: pic32-clicker: Add GPIO SAUL configuration
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-04-02 10:07:56 +01:00
Francois Berder
e52441cf35 boards: pic32-wifire: Add GPIO SAUL configuration
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-04-02 10:07:56 +01:00
cd0b765346
Merge pull request #13664 from fjmolinas/pr_samd21_bootloader_default_module
boards: set samd21-arduino-bootloader as DEFAULT_MODULE
2020-04-01 21:42:42 +02:00
Francisco Molina
1387b736b7
boards: conditionally include samd21-arduino-bootloader
samd21-arduino-bootloader and its dependencies will only be
included if no other stdio_% (other than stdio_cdc_acm) is included.
2020-04-01 15:10:32 +02:00
Dylan Laduranty
6bba4188fc
Merge pull request #13764 from benpicco/cpu/saml11/use_buck_converter
cpu/saml1x: select buck voltage regulator when possible
2020-04-01 14:47:47 +02:00
benpicco
ec296f8439
Merge pull request #13756 from fjmolinas/pr_cc2538_timer_order
boards/common/cc2538/include: re-order timer config
2020-03-31 17:40:27 +02:00
Benjamin Valentin
2d14a328c4 board/common/saml1x: enable buck converter 2020-03-31 17:18:58 +02:00
934f68ead8
Merge pull request #13094 from francois-berder/pic32-uart-3
UART RX implementation on PIC32 devices
2020-03-31 10:45:43 +02:00
Francisco Molina
8437673237
boards/common/cc2538/include: re-order timer config 2020-03-30 16:09:18 +02:00
Gunar Schorcht
0c4fb6c092 boards/esp32-heltec-lora-v2: define BTN0_INT_FLANK 2020-03-29 11:59:17 +02:00
c86dcd4611
Merge pull request #10075 from dylad/saml21_dfll_support
cpu/saml21: add DFLL support
2020-03-27 10:24:59 +01:00
dylad
cecb6d16eb boards/saml21-based: default CPU clock to 48MHz 2020-03-26 18:03:02 +01:00
Benjamin Valentin
315d0bebce boards/esp32-heltec-lora32-v2: enable sx1276 by default
Now that #12994 is merged we can enable sx1276 in addition to esp_wifi
by default.
2020-03-26 14:44:41 +01:00
0bb3304df3
native: don't export NATIVEINCLUDES 2020-03-26 10:25:49 +01:00
9d69e30060
boards/hifive1: don't export OPENOCD_CMD_RESET_RUN 2020-03-26 10:00:25 +01:00
f3dd7e0e2a
boards*: don't export PRE_FLASH_CHECK_SCRIPT 2020-03-26 09:37:27 +01:00
f2aa38c8f9
boards*: don't export OPENOCD_PRE_FLASH_CMDS 2020-03-26 09:31:22 +01:00
91d883df47
boards*: don't export OPENOCD_PRE_VERIFY_CMDS 2020-03-26 09:31:21 +01:00
Francois Berder
bc0346e2d2 boards: pic32-wifire: Add missing FLASHFILE definition
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-03-25 20:17:51 +00:00
Francois Berder
6113e2f9ea boards: pic32-clicker: Add missing FLASHFILE definition
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-03-25 20:17:17 +00:00
Francois Berder
e8be57e7f3 boards: pic32-clicker: Use uart device 0 for stdio
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-03-25 19:10:01 +00:00
Francois Berder
5ed9261594 boards: pic32-clicker: Update UART configuration
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-03-25 19:10:01 +00:00
Francois Berder
5e4c09e1a0 boards: pic32-clicker: Remove EIC_IRQ macro
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-03-25 19:10:01 +00:00
Francois Berder
8628c8a7a8 boards: pic32-wifire: Remove pm_reboot
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-03-25 19:10:01 +00:00
Francois Berder
d46eb3a7e2 boards: pic32-clicker: Remove pm_reboot
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-03-25 19:10:01 +00:00
Francois Berder
65d675a8cf boards: pic32-wifire: Use UART 0 for stdio
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-03-25 19:10:01 +00:00
Francois Berder
2ba93a094e boards: pic32-wifire: Remove EIC_IRQ macro
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-03-25 19:10:01 +00:00
Francois Berder
0a33cfe2ad boards: pic32-clicker: Do not mux pins in board_init
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-03-25 19:10:01 +00:00
Francois Berder
6afda7917c boards: pic32-wifire: Do not mux pins in board_init
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-03-25 19:10:01 +00:00
Francois Berder
f7b13e9162 boards: pic32-wifire: Define uart_config
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-03-25 19:10:01 +00:00
Dylan Laduranty
c4a8c63002
Merge pull request #13693 from benpicco/boards/same54-xpro-ext
boards/same54-xpro: configure remaining EXT connectors
2020-03-25 14:08:13 +01:00
1c877a8cf0
Merge pull request #13649 from miri64/feather-nrf52840/enh/stdio_cdc_acm
feather-nrf52840: use CDC ACM as default STDIO
2020-03-25 13:49:49 +01:00
1c7903287a
Merge pull request #13708 from aabadie/pr/boards/nucleo-l476rg-lse
boards/nucleo-l476rg: enable LSE by default
2020-03-25 13:13:41 +01:00
Martine S. Lenders
66168ef134
feather-nrf52840: use CDC ACM as default STDIO 2020-03-25 12:59:14 +01:00
benpicco
9d4f7fb506
Merge pull request #11265 from gschorcht/boards/esp32-heltec-lora32
boards/esp32: adds Heltec WiFi LoRa 32 V2 board definition
2020-03-25 11:14:01 +01:00
benpicco
e9b71254ff
Merge pull request #13694 from fjmolinas/pr_boards_common_cc2538
boards: add common cc2538
2020-03-25 11:11:50 +01:00
f75ba23a96
boards/nucleo-l476rg: enable LSE by default 2020-03-25 11:02:26 +01:00
bf2b495d34
Merge pull request #13703 from fjmolinas/pr_usbus_autoinit
Makefile.dep: add auto_init_usbus as usbus DEFAULT_MODULE
2020-03-25 10:19:04 +01:00
Francisco Molina
e220483adc
boards: p-nucleo-wb55 initial support 2020-03-25 09:29:57 +01:00
Francisco Molina
493a56ee87
boards: use common condiguration headers for cc2538 boards 2020-03-25 08:20:53 +01:00
Francisco Molina
194af687a0
boards/common: add cc2538 2020-03-25 08:20:52 +01:00
Francisco Molina
15ab36409f
Makefile.dep: add auto_init_usbus as usbus DEFAULT_MODULE 2020-03-24 14:33:09 +01:00
Gunar Schorcht
b16ff57cf1 boards/esp32: Heltec WiFi LoRa 32 V2 board added
fixup! boards/esp32: Heltec WiFi LoRa 32 V2 board added

fixup! boards/esp32: Heltec WiFi LoRa 32 V2 board added
2020-03-24 14:20:00 +01:00
6faae9a9c9
Merge pull request #13657 from aabadie/pr/boards/backlight_common_defines
boards/pinetime: add defines for controlling the backlight pin
2020-03-24 13:52:57 +01:00
Leandro Lanzieri
877db8c00e
Merge pull request #13557 from gschorcht/doc/fix_url
doc: fix broken links
2020-03-24 13:08:18 +01:00
bad9d6c93f
boards/pinetime: add defines for controlling the backlight 2020-03-24 12:02:42 +01:00
fc6b586919
Merge pull request #13586 from bergzand/pr/nrf/dcdc
nrf5x: Add and enable configuration for the built-in DC/DC converter
2020-03-24 11:56:40 +01:00
Gunar Schorcht
c8a2ff2406
Merge pull request #13685 from leandrolanzieri/pr/esp/cleanup_makefile_dep_include
cpu/esp[32, 8266, _common]: Move dependency resolutions to Makefile.dep
2020-03-24 11:22:08 +01:00
Gunar Schorcht
cf033205f0 boards/stm32f4discovery: fix broken links 2020-03-24 10:39:49 +01:00
Gunar Schorcht
d4aae06f2f boards/mulle: fix broken links 2020-03-24 10:39:49 +01:00
Gunar Schorcht
a19157ad9b boards/z1: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
358376d660 boards/yunjia-nrf51822: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
b2ddca33fd boards/telosb: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
0bcff52b68 boards/stm32f3discovery: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
233e8b5e8f boards/stk3700: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
1f4677d5c0 boards/stk3600: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
e473bae275 boards/spark-core: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
6628eca216 boards/sodaq-autonomo: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
30e4d66504 boards/sltb001a: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
52385d07aa boards/slstk3402a: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
20b11bf664 boards/slstk3401a: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
4dd4ab3bbb boards/seeeduino_arch-pro: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
de5b4be5f2 boards/samd21-xpro: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
e41e9b565f boards/remote-revb: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
d71c38d825 boards/remote-reva: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
f0a961c623 boards/remote-pa: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
8a0c839b0c boards/phynode-kw41z: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
1fc18ab94f boards/pba-d-01-kw2x: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
78c88b3861 boards/openmote-cc2538: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
ce59139106 boards/nucleo-f446ze: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
a4113be7ef boards/nucleo-f446re: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
1d0a57a0c0 boards/nucleo-f411re: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
ab8dd1c38c boards/nucleo-f401re: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
43feb283a3 boards/nucleo-f070rb: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
18bf2a1fa1 boards/nucleo-f030r8: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
03ff6e83b1 boards/nrf52dk: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
f5eed418ff boards/nrf51dongle: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
f14e61b8ae boards/nrf51dk: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
2bbfd96804 boards/native: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
d02223d6dd boards/msbiot: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
fd6b074ce1 boards/msba2: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
f7a40c1a6f boards/msb-430h: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
1f842cce3b boards/limifrog-v1: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
da46cc8657 boards/iotlab-m3: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
4c312f42ff boards/ikea-tradfri: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
b74036fc0f boards/esp8266-olimex-mod: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
4a18958835 boards/esp8266-esp-12x: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
e389e113a1 boards/esp32-wemos-lolin-d32-pro: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
fcac59bef4 boards/esp32-mh-et-live-minikit: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
aff3241b1c boards/derfmega128: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
9db19e35b5 boards/common/slwstk6000b: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
5b8d503bc9 boards/common/blxxxpill: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
2d4dd54eee boards/chronos: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
61bffd8b52 boards/cc2650stk: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
31fde522b6 boards/cc2538dk: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
49dabd0ba0 boards/avr-rss2: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
7ad10b2390 boards/arduino-zero: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
b91507143d boards/arduino-uno: fix broken links 2020-03-24 10:38:40 +01:00
Leandro Lanzieri
194b8a7aca
boards/esp8266: Move common modules to common Makefile.dep 2020-03-24 09:21:22 +01:00
Leandro Lanzieri
d24efc247c
boards/esp32-olimex-evb: Move inclusion of esp_eth to Makefile.dep 2020-03-24 09:21:22 +01:00
Leandro Lanzieri
f46b0c2da3
boards/esp32: Move inclusion of boards_common_esp32 to common file 2020-03-24 09:21:22 +01:00
Benjamin Valentin
9ca480abf1 boards/same54-xpro: configure remaining EXT connectors
Add configuration for all UARTs, SPI and I2C buses available on EXT
connectors.
2020-03-24 01:16:47 +01:00
Gunar Schorcht
e41ba8aa8c boards/arduino-mega2560: fix broken links 2020-03-23 18:01:14 +01:00
Gunar Schorcht
ec837cf5f6 boards/airfy-beacon: fix broken links 2020-03-23 18:01:14 +01:00
Gunar Schorcht
3d07bb969a boards/firefly: use doc.txt for documentation 2020-03-23 18:01:14 +01:00
Francisco
dc0f8dda1a
Merge pull request #13684 from aabadie/pr/boards/nrf51_hw_fc_fix
boards/nrf51: fix UART hardware flowcontrol configuration
2020-03-23 16:06:00 +01:00
benpicco
45b635f4c5
Merge pull request #13416 from gschorcht/cpu/esp32/pm_layered
cpu/esp32: support for light/deep sleep and pm_layered
2020-03-23 14:11:05 +01:00
Gunar Schorcht
b1ec6953a3 boards/esp32: add button default interrupt flank definition 2020-03-23 12:38:36 +01:00
a4a316ec4e
boards/nrf51: remove unused UART_HWFLOWCTRL macro 2020-03-23 10:13:17 +01:00
ce5149d84f
boards/nrf51d*: fix hardware flowcontrol configuration
Use the periph_uart_hw_fc module and remove the unused UART_HWFLOWCTRL macro
2020-03-23 10:12:55 +01:00
Giuseppe Tipaldi
0626e7ae83 boards: nucleo-l476rg: enable the CAN feature 2020-03-22 16:53:48 +01:00
Giuseppe Tipaldi
7479c9e00d boards: nucleo-l476rg: improve documentation for nucleo-l476rg 2020-03-22 16:53:48 +01:00
benpicco
1e38a3da63
Merge pull request #13673 from fjmolinas/pr_cc2538_cleanups
cpu/cc2538: clock cleanups
2020-03-21 22:24:48 +01:00
Francisco Molina
5d14104056
boards: add clock configuration for cc2538 2020-03-21 19:32:23 +01:00
Marius
9c040ff3bd
boards: add support for nucleo-l412kb 2020-03-20 18:48:31 +01:00
Francisco
b98e4bf0d1
Merge pull request #13658 from fjmolinas/pr_periph_timer_cc2538
cpu/cc2538: fix GPT3 IRQ definition
2020-03-20 14:31:05 +01:00
Francisco
cdbf0b2d69
Merge pull request #13583 from benpicco/at86rf215-minimal
drivers/at86rf215: add basic support for AT86RF215 dual-band radio
2020-03-20 09:33:50 +01:00
benpicco
5435792034
Merge pull request #12277 from benemorius/pr/kw41zrf
drivers: add kw41zrf
2020-03-20 00:49:56 +01:00
Joakim Nohlgård
5bd67d88a8 drivers/kw41zrf: Transceiver driver for the KW41Z radio
This is the radio found in NXP Kinetis KW41Z, KW21Z. Only 802.15.4 mode
is implemented (KW41Z also supports BLE on the same transceiver).

The driver uses vendor supplied initialization code for the low level
XCVR hardware, these files were imported from KSDK 2.2.0 (framework_5.3.5)
2020-03-19 17:00:04 -05:00
Francisco Molina
2f3a0e9b7e
boards: fix CORE_CLOCK for cc2538 based boards 2020-03-19 16:31:56 +01:00
Benjamin Valentin
f905108d8e boards/openmote-b: hook up at86rf215
Openmote-B includes an AT86RF215 radio. This adds support for it.
2020-03-19 14:39:18 +01:00
f5a17a90fb
boards/sodaq-*: use bootloader_arduino feature 2020-03-18 10:53:17 +01:00
1342060977
boards/arduino-mkrwan1300: update doc about flash and stdio 2020-03-18 10:53:17 +01:00
8e2c6c3cce
boards/sodaq-*: update doc about flash and stdio 2020-03-18 10:53:17 +01:00
1ffb78fa6e
boards/feather-m0: update doc about flash and stdio 2020-03-18 10:53:17 +01:00
edd4f690a8
boards/feather-m0: use bootloader_arduino feature
This provides automatic reflash/reset and stdio over USB for this board
2020-03-18 10:53:17 +01:00
8632978ae1
boards/arduino-mkrfox1200: update doc about flash and stdio 2020-03-18 10:53:17 +01:00
a2c20666f0
boards/arduino-mkr: use bootloader_arduino feature 2020-03-18 10:53:16 +01:00
c7f6d53773
boards/samd21-arduino-bootloader: add common board module
This module implements the 2 functions called when requesting a board 'reset in application' and 'board reset in bootloader' actions.
This module will also configure the behaviour of bossa flasher and has a dependency on USBUS CDC ACM module for providing STDIO over USB
2020-03-18 10:52:51 +01:00
francisco
e4a3c29fca
boards/im880b: enable paboost on sx127x 2020-03-13 14:34:40 +01:00
francisco
4618a5ce0e
boards/im880b: add initial support 2020-03-13 14:34:40 +01:00
5cba8d10ce
Merge pull request #13625 from MarcelStenzel/nucleo_l152re_usart_pinout_change
boards/nucleo-l152re: fix uart1 pinout config
2020-03-13 10:20:48 +01:00
benpicco
9eed85d211
Merge pull request #13627 from jue89/feature/samr30-xpro_antenna
boards/samr30: add helper for antenna switch
2020-03-13 09:06:28 +01:00
7be303f12f
Merge pull request #7583 from haukepetersen/add_sam3_rtt
cpu/sam3: added RTT driver
2020-03-12 21:30:05 +01:00
Juergen Fitschen
8034342c54 boards/samr30-xpro: add function to configure antenna switch 2020-03-12 19:30:02 +01:00
MarcelStenzel
1f20e5ab1c boards/nucleo-l152re: fix uart1 pinout config
According to the pinout the rx and tx pin need to be the other way around.
Though the swapped tx and rx pins allow the uart to work in loopback, it is still not correct.
The PA10 functions as an RX pin even though PA10 states TX pin in the periph_conf.
With this fixed the pullup for the rx is configured correctly and noise doesn't trigger the line.

This change sets the .tx_pin from PA10 to PA9 and the .rx_pin from PA9 to PA10.
2020-03-12 16:20:48 +01:00
benpicco
146d1ebe7d
Merge pull request #13617 from benpicco/kw41z-mini-doc_fix
boards/openlabs-kw41z-mini: documentation fixes
2020-03-12 15:55:31 +01:00
Benjamin Valentin
49801a4e92 boards/openlabs-kw41z-mini-256kib: add documentation
Add a note on how to tell the boards apart.
2020-03-12 13:31:30 +01:00
Benjamin Valentin
880c2f129e boards/openlabs-kw41z-mini: fix doc rendering
There were some errors in the formatting.
This fixes the `make doc` output.
2020-03-12 13:31:30 +01:00
Francisco
3153a86551
Merge pull request #11192 from aabadie/pr/tools/dfu
boards: include common dfu logic where applicable
2020-03-12 09:05:32 +01:00
benpicco
71de67b701
Merge pull request #13619 from haukepetersen/fix_feathernrf52840_ledmacros
boards/feather-nrf52840: fix LED macros
2020-03-11 20:09:02 +01:00
Hauke Petersen
56b70eaa56 boards/feather-nrf52840: fix LED macros 2020-03-11 17:38:15 +01:00
benpicco
d4e05edac0
Merge pull request #13524 from benpicco/openlabs-kw41z-mini-256kib
boards: add openlabs-kw41z-mini-256kib
2020-03-11 15:42:25 +01:00
Benjamin Valentin
9573b2bba0 boards: add openlabs-kw41z-mini-256kib
Add the 256k version of the openlabs-kw41z-mini.
They are identical to the openlabs-kw41z-mini except that it uses
the mkw41z256vht4 instead of the mkw41z512vht4.
2020-03-11 13:50:37 +01:00
Hauke Petersen
8f8eb86e54 boards/common/arduino-due: add RTT config+feature 2020-03-11 12:53:20 +01:00
Hauke Petersen
2e04b1d0dc boards/common/arduione-due: add 32khz clock opt 2020-03-11 12:53:04 +01:00
benpicco
008faef16a
Merge pull request #13581 from Scallog/olimexino-stm32-support
boards/olimexino-stm32: add support for olimexino-stm32 board
2020-03-11 11:40:53 +01:00
benpicco
d294e1d01c
Merge pull request #9572 from maribu/atmega-debug
On-Chip Debugging for AVR/ATmega based boards
2020-03-11 11:40:40 +01:00
Corentin 'Kmikaz' Vigourt
54cafc5125 boards/olimexino-stm32: add support for olimexino-stm32 board 2020-03-11 10:59:57 +01:00
Marian Buschsieweke
793e1122eb
boards/arduino-mega2560: Updated documentaiton
- Extended documentation regarding debugging
- Removed outdated board state tracking list. (All periphs are now supported)
- Made table code pretty
2020-03-10 20:14:35 +01:00
Marian Buschsieweke
e97ae8ba6c
boards/arduino-nano: Added doc on debugging 2020-03-10 20:14:35 +01:00
Marian Buschsieweke
8a89918a73
boards/atmega328p: Added doc on OCD
Explained how to do On-Chip Debugging (OCD) with the ATmega328P on a breadboard.
2020-03-10 20:14:34 +01:00
Marian Buschsieweke
fd602407c9
boards/atmega1284p: Extended doc with OCD info
Added details on On-Chip Debugging (OCD) to the ATmega1284P documentation.
2020-03-10 20:13:19 +01:00
Marian Buschsieweke
72e497c0c3
boards/microduino-corerf: Added OCD doc 2020-03-10 20:13:18 +01:00
Marian Buschsieweke
a9fc84cc04
boards/arduino-uno: Added documentation for OCD 2020-03-10 20:13:18 +01:00
Francisco
db0452201d
Merge pull request #13567 from aabadie/pr/boards/jlink_export_cleanup
boards: remove exports of jlink related variables
2020-03-10 18:46:58 +01:00
79431878ac
Merge pull request #13051 from dylad/pr/uart_hw_fc
cpu/uart: create common uart hw fc module
2020-03-10 16:41:36 +01:00
c49ad27499
boards: don't export JLINK_PRE_FLASH 2020-03-10 16:31:32 +01:00
8489a0af53
boards: don't export FLASH_ADDR
This variable is already export in vars.inc.mk
2020-03-10 16:31:01 +01:00
92bbe75412
boards/openmote-b: don't export JLINK_RESET_FILE 2020-03-10 16:30:38 +01:00
84005896dd
boards: don't export JLINK_IF 2020-03-10 16:29:02 +01:00
1e9879fbcf
boards: unexport JLINK_DEVICE variable 2020-03-10 16:28:03 +01:00
Francisco
6ba665858b
Merge pull request #13593 from aabadie/pr/boards/pyocd_export_remove
boards/pyocd: cleanup use of `export` keyword
2020-03-10 15:19:34 +01:00
Dylan Laduranty
b9ab3d56ae boards/nrf5x: update to use generic uart_hw_fc module 2020-03-10 14:47:19 +01:00
Dylan Laduranty
a33e61e997 boards/stm32: update to use generic uart_hw_fc module 2020-03-10 14:34:11 +01:00
Dylan Laduranty
48231efb20 boards/cc26xx_cc13xx: use generic hw fc module 2020-03-10 14:22:34 +01:00
Dylan Laduranty
6baf501a3d boards/cc2538: update to use generic uart_hw_fc module 2020-03-10 14:22:34 +01:00
Dylan Laduranty
88bb019438 boards/sam0: update to use generic uart_hw_fc module 2020-03-10 14:22:34 +01:00
Marian Buschsieweke
f2edcf9674
makefiles/tools/avrdude: Improved debug handling
- Choose correct debug protocol for ATmega328P (which supports debugWIRE instead
  of JTAG)
- Allow overwriting debugger device via AVR_DEBUGDEVICE environment variable,
  default to the Atmel-ICE (least expensive, supports most AVR devices)
2020-03-10 14:03:33 +01:00
Marian Buschsieweke
edd93411fe
dist: De-duplicated AVR debug config & scripts
Use common debug.sh, debug_srv.sh and gdb.conf for all AVR boards.
2020-03-10 12:54:51 +01:00
631fbd9fc8
boards/blxxxpill: rework programmer specific configuration 2020-03-10 11:42:10 +01:00
f56470925b
boards: include common dfu logic where applicable 2020-03-10 11:42:10 +01:00
Francisco
1b5f22ec2e
Merge pull request #8410 from OTAkeys/pr/fix_stm32f1_boards
boards: fix CLOCK_PLL_PREDIV on stm32f1-based boards
2020-03-10 09:35:48 +01:00
benpicco
f0ac1624c5
Merge pull request #13594 from aabadie/pr/tools/cc2538-bsl_rework
tools/cc2538-bsl: deduplicate buildsystem integration
2020-03-09 19:39:43 +01:00
benpicco
0cf6e39be5
Merge pull request #13589 from maribu/stm32f103-jtag-pins
cpu/stm32f103: Allow boards to expose JTAG pins as GPIOs
2020-03-09 19:07:52 +01:00
b4418426ba
boards/cc2538: use common cc2538-bsl handling file 2020-03-09 18:26:08 +01:00
Vincent Dupont
4647659ea8 boards: fix CLOCK_PLL_PREDIV on stm32f1xx boards 2020-03-09 18:00:48 +01:00
Leandro Lanzieri
ab10b33848 boards/esp32-wroom-32/doc: Add SPI freq configuration for mrf24j40 2020-03-09 16:51:35 +01:00
Leandro Lanzieri
cffc9b70bf boards/esp32-wroom-32: Remove drivers configuration from Makefile.dep
This removes the configuration parameters for mrf24j40 and enc28j60
drivers, which were present in the boards's Makefile.dep. There is
already documentation regarding how to correctly configure these devices
for the board.
2020-03-09 16:49:11 +01:00
2ec09ebd74
boards/nrf52: remove useless export of FLASH_TARGET_TYPE 2020-03-08 15:12:44 +01:00
Marian Buschsieweke
8fd8c8273f
boards/{nucleo-f103rb,b*pill}: Expose JTAG pins as GPIOs
The Nucleo-F103RB comes with an internal SWD programmer/debugger. Thus, the JTAG
pins are not going to be used for debugging / programming anyway. The pins are
exposed on the headers, so allowing them to be used as GPIOs make a lot of
sense.

The Bluepill / Blackpill boards only expose the SWD pins on the debug header,
but the JTAG pins (not also used by SWD) are exposed on the GPIO pin headers.
Hence, exposing them as regular GPIOs seems to be a reasonable choice.
2020-03-08 13:06:34 +01:00
3e97c01c33
thingy52: Enable the nRF52 built-in DC/DC converter 2020-03-07 17:37:42 +01:00
74022a4bb8
ruuvitag: Enable the nRF52 built-in DC/DC converter 2020-03-07 17:37:42 +01:00
0573db8a85
reel: Enable the nRF52 built-in DC/DC converter 2020-03-07 17:37:42 +01:00
bef16095df
pinetime: Enable the nRF52 built-in DC/DC converter 2020-03-07 17:37:42 +01:00
cbd3c1c643
particle-*: Enable the nRF52 built-in DC/DC converter 2020-03-07 17:37:42 +01:00
822590ad56
nrf52840-mdk: Enable the nRF52 built-in DC/DC converter 2020-03-07 17:37:41 +01:00
87b2aa5ed9
nrf52832-mdk: Enable the nRF52 built-in DC/DC converter 2020-03-07 17:37:41 +01:00
71589a11ec
nrf51dk: Enable the nRF51 built-in DC/DC converter 2020-03-07 17:37:41 +01:00
bea3f71f91
nrf52xxxdk: Enable the nRF52 built-in DC/DC converter 2020-03-07 17:37:41 +01:00
ec2a3d33c8
acd52832: Enable the nRF52 built-in DC/DC converter 2020-03-07 17:37:41 +01:00
benpicco
7396d05605
Merge pull request #13575 from fjmolinas/pr_cc2538_rf_deps
cpu/cc2538: handle cc2538_rf deps in Makefile.dep
2020-03-06 18:00:51 +01:00
Francisco Molina
80ecac5fde
boards: use cc2538_rf as netdev_default for CPU=cc2538 2020-03-06 14:17:52 +01:00
Francisco Molina
ff6f6618fb
cpu/cc2538: handle cc2538_rf deps in Makefile.dep 2020-03-06 14:17:19 +01:00
Benjamin Valentin
ed4d871835 dist/tools/cc2538-bsl: use upstream version
Automatically fetch the upstream version of cc2538-bsl.py instead
of maintaining our own fork of the tool.

fixes #13566
2020-03-06 11:13:21 +01:00
ed316309c8
Merge pull request #11874 from kaspar030/ztimer
sys/ztimer: initial import
2020-03-06 09:46:27 +01:00
benpicco
681678e3f3
Merge pull request #13537 from jue89/feature/sam0-spi-frequency
cpu/sam0_common: mitigate rounding errors of SPI baud rate calculation
2020-03-04 16:50:46 +01:00
f49e756436 boards/ek-lm4f120xl: add ztimer config, increase ztimer_usec_min 2020-03-04 12:44:03 +01:00
a2c0823063 boards/native: add ztimer configuration 2020-03-04 12:44:03 +01:00
84365e326a boards/*-kw41z: add ztimer_msec config 2020-03-04 12:44:03 +01:00
73adecc02d boards/samr21-xpro: add ztimer config 2020-03-04 12:44:03 +01:00
eafba65911 boards/common/arduino-atmega: add ztimer configuration 2020-03-04 12:44:03 +01:00
Koos
24b9b99fee boards/stm32f3discovery: Updated broken image link 2020-03-04 09:54:36 +01:00
Koos
f970f67785 boards/sodaq-sara-aff: Updated broken image link 2020-03-04 09:54:36 +01:00
Koos
ed2ea24405 boards/sodaq-autonomo: Updated broken image link 2020-03-04 09:54:36 +01:00
Koos
2a253ed175 boards/saml11-xpro: Updated broken image link 2020-03-04 09:54:36 +01:00
Koos
8219685be1 boards/nrf52840-mdk: Updated broken image link 2020-03-04 09:54:36 +01:00
Koos
6dd8b2deac boards/frdm-k64f: Updated broken image link 2020-03-04 09:54:36 +01:00
Koos
cec9817b2e boards/arduino-mega2560: Updated broken image link 2020-03-04 09:54:36 +01:00
benpicco
7792f91ddc
Merge pull request #13535 from btcven/2020_03_02-cc1312-openocd
boards/cc1312-launchpad: add OpenOCD configuration
2020-03-04 00:26:14 +01:00
Jean Pierre Dudey
6e77d9194b
boards/cc1352-launchpad: enable OpenOCD
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-03-03 13:42:33 -05:00
Jean Pierre Dudey
ca2e2a4289
boards/cc1312-launchpad: add OpenOCD configuration
This enables OpenOCD for the CC1312 LaunchPad.

All we need is:

- The Texas Instruments version of OpenOCD
  (https://git.ti.com/cgit/sdo-emu/openocd)
- Set the `PROGRAMMER` environment variable to `openocd`.
- Connect a cc1312-launchpad and play with the commands.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-03-03 13:42:29 -05:00
Martine Lenders
e4f27b415e
Merge pull request #13394 from benpicco/atmega-rtc
cpu/atmega_common: implement emulated RTC support
2020-03-03 19:03:47 +01:00
95d607b54d
Merge pull request #13480 from aabadie/pr/tools/openocd_export_variables
tools/openocd: export configuration variables only to required targets
2020-03-03 18:16:05 +01:00
Benjamin Valentin
1dd260b446 boards: enable RTC for every ATmega board that supports RTT
Every ATmega board that can run an Real Time Timer can also run
an emulated Real Time Clock.

Got all supported boards by adding `FEATURES_REQUIRED += arch_8bit`
to `tests/periph_rtt` and running

    sed -i 's/FEATURES_PROVIDED += periph_rtt/
              FEATURES_PROVIDED += periph_rtc\n
              FEATURES_PROVIDED += periph_rtt/g'

on them.
2020-03-03 16:27:44 +01:00
26222d601c
boards/arduino-mkr: don't export MKR_JLINK_DEVICE variables 2020-03-03 14:18:03 +01:00
d10211b7ff
boards/esp32-wroom-32: don't export _PARAM_DEFINED variables 2020-03-03 14:18:03 +01:00
a8b81adbd2
boards/cc2650*: don't export XDEBUGGER variable 2020-03-03 14:18:03 +01:00
21f48af3cd
boards/nz32-sc151: don't export ID variable 2020-03-03 14:18:03 +01:00
2722869dbb
boards/arduino-due: don't export BOSSA_ARDUINO_PREFLASH 2020-03-03 14:18:03 +01:00
acce5e22d1
boards/pic32: don't export APPDEPS
This variable is already export in vars.inc.mk
2020-03-03 14:18:03 +01:00
cc48b67fb5
boards/pic32: don't export USE_UHI_SYSCALLS 2020-03-03 14:18:03 +01:00
b7f5b18991
boards: don't export ROM_OFFSET variable 2020-03-03 14:18:03 +01:00
bd81060354
boards/{telosb,iotlab}: remove useless export for BAUD
The variable is already eported in serial.inc.mk
2020-03-03 14:18:03 +01:00
Francisco
3f062a78b2
Merge pull request #13045 from aabadie/pr/boards/remote_factorize
boards/remote*: cleanup and factorize code in peripheral configuration headers
2020-03-03 13:21:04 +01:00
481f3bcb35
Merge pull request #13180 from fjmolinas/pr_slwstk6000b_cleanup
boards/slwstk6000b-*: cleanup
2020-03-03 13:15:03 +01:00
Juergen Fitschen
8fbfb13c84 Revert "boards/samr30-xpro: fix AT86RF212B communication"
This reverts commit a9faac7218.

The changed rounding behavior sets the SPI baud rate to 4MHz, which is a suitable rate for the AT86RF212B.
2020-03-03 12:32:54 +01:00
d13d1aed48
Merge pull request #13336 from bergzand/pr/mtd_spi_nor/erase_timings_in_struct
mtd_spi_nor: erase timings in struct
2020-03-03 11:59:28 +01:00
f1ba22534a
boards: don't export globally OPENOCD_RESET_USE... 2020-03-03 11:42:19 +01:00
Francisco Molina
86ed76fec0
boards/common/slwstk6000b: remove unused files 2020-03-03 11:24:28 +01:00
Francisco Molina
e951b720b8
boards/common/slwstk6000b: use slwstk6000b.vars.mk to parse JLINK_DEVICE 2020-03-03 11:24:27 +01:00
Francisco Molina
22aae93efb
boards/common/slwstk6000b: cleanup slwrb41* includes 2020-03-03 11:24:26 +01:00
Francisco Molina
b7783e67a8
boards/common/slwstk6000b: use slwstk6000b.vars.mk to parse CPU_MODEL 2020-03-03 11:24:26 +01:00
Francisco Molina
96cfa1d41c
boards/common/slwstk6000b: add module variables makefile 2020-03-03 11:22:48 +01:00
8931889865
pinetime: add erase timings to mtd_spi_nor instance 2020-03-03 09:49:08 +01:00
dcdaf8a2ab
mulle: add erase timings to mtd_spi_nor instance 2020-03-03 09:49:08 +01:00
Juergen Fitschen
a9faac7218 boards/samr30-xpro: fix AT86RF212B communication
This board is driven by a 16MHz clock source. In this case, the baud rate generator is able to clock the SPI interface with 4MHz or 8MHz only.
Due to integer division and rounding, the interface is actually driven with 8MHz, which is too fast for the AT86RF212.
2020-03-02 18:38:04 +01:00
Francisco
5af4c5a9c5
Merge pull request #13470 from kfessel/fix13179
boards/nucleo-f767zi: Fix13179 make nucleo-f767zi debuggable again
2020-02-28 17:42:10 +01:00
benpicco
2ebf1d68b4
Merge pull request #13497 from benpicco/openmote-b-fixes
boards/openmote-b: add saul config, add note about flashing
2020-02-28 14:59:25 +01:00
Karl Fessel
979b4d5cf7 Revert "boards/nucleo-f767zi: add correct flash bank openocd config"
This reverts commits:
    - 1dec5ba61b
    - 53f60db66f
2020-02-28 13:51:58 +01:00
Benjamin Valentin
961b333ea6 boards/openmote-b: add saul config
Hook up the GPIOs and the si7006 sensor to SAUL.
2020-02-28 13:37:15 +01:00
Benjamin Valentin
bf96e97e34 boards/openmote-b: extend doc.txt about flashing
To flash the board the intelhex python package needs to be installed.
Add a note about it to the documentation.
2020-02-28 13:37:15 +01:00
benpicco
23c5d34284
Merge pull request #10846 from benemorius/kw41z-mini
boards: add support for kw41z-mini
2020-02-28 07:40:25 +01:00
Thomas Stilwell
ef6024cf1a boards: add kw41z-mini 2020-02-27 21:34:04 -06:00
Benjamin Valentin
9d1a2b5fb4 boards/mcb2388: add I2C config
The pins for I2C0 and I2C1 are available on the board,
nothing is wired up to them.
2020-02-26 23:41:38 +01:00
Benjamin Valentin
4d5d3eb9e6 boards/msba2: hook up i2c
I2C is not used by any chip on the board, but I2C2 is availiable
on the JP3 connector (shared with UART2).

 - SDA: P0.10
 - SCL: P0.11
2020-02-26 23:41:38 +01:00
cbb248319e boards/pinetime: update mtd_spi_nor config 2020-02-26 10:00:55 +01:00
2dcf65d942
Merge pull request #13332 from bergzand/pr/mtd_spi_nor/params_struct
mtd_spi_nor: Move const params to separate struct
2020-02-26 09:43:18 +01:00
Peter Kietzmann
a27b58fbba
Merge pull request #13479 from MichelRottleuthner/pr_phytec_fix_tmp_addr
boards/pba-d-01-kw2x: add config for tmp006 addr
2020-02-25 21:04:20 +01:00
a8231f2079
Merge pull request #13161 from bergzand/pr/pinetime/mtd
pinetime: add MTD configuration
2020-02-25 20:44:59 +01:00
Michel Rottleuthner
9ec1a6fab5 boards/pba-d-01-kw2x: add config for tmp006 addr 2020-02-25 20:25:26 +01:00
benpicco
aa1c23d4bd
Merge pull request #11929 from fabian18/driver-at24cxxx-eeprom
Driver for AT24CXXX EEPROM
2020-02-25 18:16:45 +01:00
0d468c1068 boards/common/silabs: remove OPENOCD_CONFIG export 2020-02-25 17:26:00 +01:00
f451eb692c
Merge pull request #13452 from aabadie/pr/tools/openocd_config_export
tools/openocd: only export OPENOCD_CONFIG to required targets
2020-02-25 15:11:38 +01:00
514873fe12
pinetime: add MTD configuration 2020-02-25 14:31:39 +01:00
785052e410
Merge pull request #13468 from aabadie/pr/tools/bossa_rework
tools/bossa: split between 1.8 and 1.9 versions
2020-02-25 13:32:38 +01:00
d41621e95f
boards/arduino-due: force bossa 1.8 version 2020-02-25 11:49:10 +01:00
fe8c242a30
boards/native: remove exports of UNDEF vars 2020-02-25 09:40:34 +01:00
benpicco
77d6eaaf19
Merge pull request #13461 from benpicco/sam_xpro-led-fix
boards/samXXX-xpro: clear LED on init
2020-02-24 21:56:36 +01:00
Benjamin Valentin
bc5ac92cff boards/samXXX-xpro: clear LED on init
The LED on the sam-xpro boards is active low, so we have
to turn it off manually, otherwise it's always on.
2020-02-24 19:44:36 +01:00
benpicco
4671fd2fe4
Merge pull request #10475 from chrysn-pull-requests/openocd-for-stk3700
boards/any silabs: Allow selecting OpenOCD
2020-02-24 19:12:43 +01:00
fabian18
07f7d818bd boards/same54-xpro: use at24cxxx EEPROM 2020-02-24 14:00:25 +01:00
9363f077d6
boards: don't export globally OPENOCD_CONFIG
The variable is already exported to required target in openocd.inc.mk
2020-02-24 10:04:11 +01:00
bd081cd980
tools/openocd: remove default OPENOCD_CONFIG value
The default value is already set in openocd.inc.mk
2020-02-24 10:04:11 +01:00
d7cbfe4f45
Merge pull request #13378 from francois-berder/nucleo-doc-cleanup
boards: nucleo*: Cleanup documentation
2020-02-24 08:01:42 +01:00
Jean Pierre Dudey
130467dd91
cc1312-launchpad: add board documentation
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-02-22 12:43:11 -05:00
benpicco
ce947b4824
Merge pull request #12955 from gschorcht/cpu/esp/deduplicate_and_cleanup
cpu/esp*: code deduplication and cleanup
2020-02-22 13:03:18 +01:00
benpicco
261ede7b79
Merge pull request #13414 from benpicco/boards/same54-xpro/peripheral-clocks
boards/same54-xpro: don't source peripheral clocks from main clock
2020-02-21 23:25:22 +01:00
benpicco
8d77ec55ae
Merge pull request #13409 from aabadie/pr/cpu/nrf_gpio_t
cpu/nrf5x: provide gpio_t type definition
2020-02-21 18:55:46 +01:00
Martine Lenders
4be4f5ad0a boards/native: add deprecation warnings for make all-debug 2020-02-21 12:51:41 +01:00
Martine Lenders
1786a8353a boards/native: remove now unnecessary -g3 CFLAGS
dbd865413c made `-g3` default for
`make all` so all targets dependent on `make all` do not require it any
longer.
2020-02-21 12:50:02 +01:00
benpicco
ea24d30e7a
Merge pull request #13417 from gschorcht/boards/esp32/doc_remove_mcu_table
boards/esp32: remove MCU feature table in board documentation
2020-02-21 10:13:44 +01:00
Gunar Schorcht
d251ffd205 boards/esp8266: enable arduino feature 2020-02-21 09:09:34 +01:00
Gunar Schorcht
51200364da boards/esp8266: fix ARDUINO_LED definitions
ARDUINO_LED specifies the according Arduino pin to which the LED is connected and not the GPIO.
2020-02-21 09:09:34 +01:00
Cenk Gündoğan
86fcc35994
Merge pull request #13423 from kaspar030/turn_on_native_debug
native: turn on creation of debug symbols (CFLAGS += -g)
2020-02-20 18:20:11 +01:00
dbd865413c native: turn on creation of debug symbols (CFLAGS += -g) 2020-02-20 17:06:56 +01:00
e324b22c96
Merge pull request #13418 from gschorcht/boards/esp32/fix_btn0_pin
boards/esp32: rename BUTTON0_PIN to BTN0_PIN
2020-02-20 14:40:39 +01:00
Gunar Schorcht
6a7ba7ba1a boards/esp32: rename BUTTON0_PIN to BTN0_PIN
Since a number of applications rely on the existence of the BTN0_PIN definition, the BUTTON0_PIN  definition has been renamed to BTN0_PIN to make the ESP32 boards compatible with these applications. However, for compatibility with earlier versions, BUTTON0_PIN is still defined as an alias of BTN0_PIN.
2020-02-20 12:14:44 +01:00
Gunar Schorcht
e4b3ce7c91 boards/esp32: remove MCU feature table in doc
Instead of using the same MCU feature table in every board documentation, it refers to the MCU documentation. This makes it easier to maintain the MCU feature table.
2020-02-20 08:47:18 +01:00
6182e7c977
boards/nrf52: remove uint8_t cast for GPIO_UNDEF 2020-02-19 19:16:58 +01:00
Benjamin Valentin
3ee7b72431 boards/same54-xpro: don't source peripheral clocks from main clock
Use the dedicated 48 MHz clock as a source for the peripheral clocks.
This was already done for I2C to allow it to work despite the 120 MHz
main clock.

Not running the peripherals off the main clock will allow for dynamic
re-clocking of the main clock in the future, without affecting the
operation of the peripherals.

It also gives more flexibility to the main clock selection in general.
2020-02-19 17:52:12 +01:00
Sebastian Meiling
85c01f2ebd boards: update supported features of pba-d-01-kw2x 2020-02-18 11:42:05 +01:00
Sebastian Meiling
867090c579 boards: update links in doc of pba-d-01-kw2x 2020-02-18 11:40:34 +01:00
Sebastian Meiling
a9cb3b637f boards: add pinout ref for pba-d-01-kw2x 2020-02-18 11:40:34 +01:00
Yegor Yefremov
5cd205dffd boards/esp32-ttgo-t-beam: correct SX127x chip frequencies
According to the datasheet, SX1278 covers frequencies till 525MHz
and hence, cannot be used for the 868/915 MHz band. So swap both
chips.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2020-02-17 10:15:40 +01:00
chrysn
f4b1d60887 boards/*silabs: Move programmer selection to common
This removes duplication for the jlink case (keeping only any
non-default values in the board makefiles), and opens up STK3700's
OpenOCD programmability for generic boards.
2020-02-14 09:42:20 +01:00
chrysn
80167b8ba4 boards/stk3700: Use OpenOCD-shipped board file 2020-02-14 09:29:32 +01:00
chrysn
4387739494 boards/stk3700: Allow selecting OpenOCD
OpenOCD works well with those devices; the OpenOCD config is provided at
the default location and only needs to refer to the setup that OpenOCD
ships.
2020-02-14 08:56:27 +01:00
Francois Berder
99142b170c boards: nucleo-l152re: Cleanup documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-13 19:43:20 +00:00
Francois Berder
7222f42c86 boards: nucleo-f446ze: Cleanup documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-13 19:42:49 +00:00
Francois Berder
343f39174e boards: nucleo-f446re: Cleanup documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-13 19:42:20 +00:00
Francois Berder
a42b5d79ab boards: nucleo-f411re: Cleanup documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-13 19:41:13 +00:00
Francois Berder
8f766d594e boards: nucleo-f410rb: Cleanup documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-13 19:40:48 +00:00
Francois Berder
5b81034fa1 boards: nucleo-f401re: Cleanup documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-13 19:39:39 +00:00
Francois Berder
1b27d5cb9a boards: nucleo-f334r8: Cleanup documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-13 19:39:11 +00:00
Francois Berder
6fb2275452 boards: nucleo-f303ze: Cleanup documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-13 19:38:40 +00:00
Francois Berder
a8cec40371 boards: nucleo-f303re: Cleanup documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-13 19:38:15 +00:00
Francois Berder
3739d81aad boards: nucleo-f303k8: Cleanup documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-13 19:37:32 +00:00
Francois Berder
b475598cb8 boards: nucleo-f302r8: Cleanup documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-13 19:36:34 +00:00
Francois Berder
d28fb30797 boards: nucleo-f207zg: Cleanup documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-13 19:35:54 +00:00
Francois Berder
2cb858c72b boards: nucleo-f103rb: Cleanup documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-13 19:35:21 +00:00
Francois Berder
3e22a77bf0 boards: nucleo-f091rc: Cleanup documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-13 19:34:45 +00:00
Francois Berder
7145e56e74 boards: nucleo-f072rb: Cleanup documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-13 19:34:03 +00:00
Francois Berder
7c9bbf5d9b boards: nucleo-f070rb: Cleanup documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-13 19:33:46 +00:00
Francois Berder
43a475fef8 boards: nucleo-f030r8: Cleanup documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-13 19:32:50 +00:00
Benjamin Valentin
02e1c0a4ed boards/same54-xpro: add configuration for AT24MAC402 2020-02-13 15:58:43 +01:00
Benjamin Valentin
59ca6a9b37 boards/avr-rss2: add configuration for AT24MAC602 2020-02-13 15:58:43 +01:00
Bas Stottelaar
3141e91380
Merge pull request #13174 from fjmolinas/pr_efm32_cleanup
cpu/efm32: cleanup
2020-02-12 22:42:10 +01:00
Dylan Laduranty
a2d63070ae
Merge pull request #13347 from francois-berder/boards-fpu
boards: Fix presence of FPU
2020-02-12 09:12:57 +01:00
Bas Stottelaar
d6b478f607
boards/efm32: provide CPU_FAM 2020-02-11 22:46:17 +01:00
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
Francois Berder
c76f0e1489 boards: Fix presence of FPU
Cortex-M0, Cortex-M0+ and Cortex-M3 MCU never have a FPU.

Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-11 18:30:29 +00:00
d40ccc2d6f
mulle: Adapt to separate mtd_spi_nor params 2020-02-11 15:55:41 +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
benpicco
5d1bf26f0c
Merge pull request #13076 from gschorcht/boards/esp32/ttgo_t_beam_gps
boards/esp32: enable GPS module on ESP32 TTGO T-Beam V1.0
2020-02-01 23:25:55 +01:00
Gunar Schorcht
c30674d539 boards/esp32-ttgo-t-beam: switch on GPS module 2020-02-01 16:12:05 +01:00
Gunar Schorcht
624c6f24ca boards/esp32: allow board specific initialization 2020-02-01 16:12:05 +01:00
32f4986757
boards/hifive1*: remove useless stdio_uart include
stdio_uart is already pulled by default by the dependency resolution
mechanism.
2020-01-31 14:30:32 +01:00
Marian Buschsieweke
613ef0fdf0
boards/common/nucleo: Marked board_init as weak
Made `void board_init(void)` in the common implementation a weak symbol to
allow providing a custom board init, if the common nucleo board init misses
features.
2020-01-31 13:41:50 +01:00
Benjamin Valentin
985d340621 boards/avsextrem: update SPI config 2020-01-31 12:01:09 +01:00
Benjamin Valentin
3ae7bb425b boards/msba2: update SPI configuration 2020-01-31 12:01:09 +01:00
Dylan Laduranty
d929087e57
Merge pull request #13233 from benpicco/edbg-update
tools/edbg: update to latest upstream version
2020-01-31 11:04:23 +01:00
benpicco
cdb427b760
Merge pull request #12475 from francois-berder/wifire-gpio-refactor
cpu: mips_pic32_common: Refactor GPIO peripheral
2020-01-31 09:46:57 +01:00
Benjamin Valentin
bd19a55804 boards: remove EDBG_DEVICE_TYPE
EDBG_DEVICE_TYPE is a property of the CPU, is should not be set
by every board individually.
2020-01-31 09:35:27 +01:00
Sören Tempel
8485c535d5 waspmote-pro: don't build the boards_common_atmega module
Only include its headers. Without this change board_init would be
defined twice. Once in `boards/waspmote-pro/board.c` and the other time
`boards/common/atmega/board.c`.
2020-01-29 12:32:16 +01:00
Francisco Molina
94853d5e1d boards/iotlab-%: define DEBUG_ADAPTER 2020-01-28 11:56:56 +01:00
Francisco Molina
f79397f7be boards/iotlab-%: use common openocd config 2020-01-28 11:56:38 +01:00
98995f685b
Merge pull request #13179 from fjmolinas/pr_openocd_stm32f7_probe
boards/nucleo-f767zi: add correct flash bank openocd config
2020-01-28 10:48:23 +01:00
Francisco Molina
1dec5ba61b boards/common/stm32f7: add correct flash bank configuration
openocd configuration file for `stm32f7` relies on probing to find out
FLASH_ADDR. On nucleo-f767zi board probing (`flash probe 0`) fails when
`srst` is asserted, but `srst` needs to be asserted to be able to flash
the `BOARD` when sleeping or after a hardfault.

To circumvent this in boards/common/stm32/dist/stm32f7.cfg we define a new
flash bank with the appropriate fash start address and specify that this is
the flash bank to be used as default configuration instead of the
default by setting FLASH_BANK=4
2020-01-27 22:32:06 +01:00
Frits Kuipers
9206b955eb boards/pinetime: Add pyocd support to pinetime board 2020-01-27 19:43:48 +01:00
benpicco
f6d750afe9
Merge pull request #13201 from gschorcht/boards/nucleo-f4xx-doc-fix
boards: doc fix for several nucleo-f4xxxx boards
2020-01-25 15:19:55 +01:00
Gunar Schorcht
6fc82f2b2a boards: doc fix for several nucleo-f4xxxx boards
Rows in markdown tables must not contain a line break. Otherwise the table is broken.
2020-01-25 13:28:15 +01:00
benpicco
43b736969b
Merge pull request #13138 from francois-berder/pic32-docs
boards: Improve documentation for pic32-clicker and pic32-wifire
2020-01-24 17:48:43 +01:00
Francois Berder
f4404f2df6 boards: pic32-wifire: Improve documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-01-24 09:49:09 +00:00
Francois Berder
f1e1de5710 boards: pic32-clicker: Improve documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-01-24 09:49:09 +00:00
benpicco
358a2625fc
Merge pull request #13136 from jeandudey/2020_01_15-cc2538dk-resc
boards: cc2538dk: remove `machine SetClockSource`.
2020-01-24 10:45:59 +01:00
Marian Buschsieweke
f58b82bd39
Merge pull request #13163 from gschorcht/board/mega-xplained/fix_adc_lines
boards/mega-xplained: fix ADC line defintions
2020-01-23 11:34:38 +01:00
Jean Pierre Dudey
a73f3809cc
cpu/cc13x2: rename cc13x2 cpu to cc26x2_cc13x2
The CC26x2 and CC13x2 share the same register definitions, and both are
treated equally in the TI's technical reference manual. [1]

- To avoid confusions in the future I renamed it to `cc26x2_cc13x2`.
- Documentation was updated.
- The `cc1312-launchpad` board that uses the `cc13x2` MCU was updated.
- The `cc1352-launchpad` board that uses the `cc13x2` MCU was updated.

[1]: https://www.ti.com/lit/ug/swcu185d/swcu185d.pdf

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-01-20 09:31:48 -05:00
Jean Pierre Dudey
f96fc62369
cc1352-launchpad: fix documentation errors.
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-01-20 08:05:52 -05:00
Jean Pierre Dudey
cc170e9987
cc1352-launchpad: remove export from XDEBUGGER
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-01-20 08:04:54 -05:00
Jean Pierre Dudey
a6117ff0a2
cc1352-launchpad: enable periph_gpio_irq.
This feature is supported by the processor.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-01-20 08:04:02 -05:00
97cb4c5707
Merge pull request #13134 from jeandudey/2020_01_15-cc1312-launchpad
boards: add cc1312-launchpad board.
2020-01-20 07:39:38 +01:00
Jean Pierre Dudey
633aa8cd41
boards: add cc1312-launchpad board.
This is mostly based on the cc1352-launchpad boards, is essentially the same
buttons and leds pins, what changes is the CCXML files used to flash with
`make flash` and the UART pins.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-01-19 11:36:31 -05:00
Gunar Schorcht
f53534ed44 boards/mega-xplained: fix ADC line defintions
For the ATmega platform the ADC lines are not defined according to the GPIOs. Instead, they are defined from 0 to ADC_NUMOF-1, which in turn represents the bit in the corresponding ADC registers.  The mapping from the line number to the corresponding ADC register/bit combination is done implicitly by the periph/adc implementation.
2020-01-18 13:19:11 +01:00
9ae80f56d1
pinetime: Fix battery ADC line define 2020-01-18 11:15:04 +01:00
c4877c6d41
Merge pull request #13141 from gschorcht/cpu/esp32/fix_c_linkage
cpu/esp32: fix C linkage compilation error
2020-01-16 15:06:01 +01:00
Gunar Schorcht
416e8ce8e6 cpu/esp32: fix C linkage compilatio error
With the new toolchain version required to fix issue #13133, the compilation of `examples/posix_socket` fails due to a C linkage error in `atomic_base.h`. The reason is that including `drivers/include/mtd.h` in `boards/esp32/board_common.h` inside the `extern C` block finally leads to including `atomic_base.h` inside the `extern C` block which in turn to the C linkage error for the template definitions in this file.
2020-01-16 13:03:49 +01:00
81dbba2588 boards/pinetime: fix jlink rtt configuration 2020-01-15 22:12:06 +01:00
Martine S. Lenders
78b5c1ee5c boards: initial import of Adafruit Feather nRF52840 Express
This provides support initial support for the [Adafruit Feather nRF52840
Express][feather-nrf52840]. The current feature set includes:

- Default flashing via Segger J-Link
- UART, SPI, and I2C exposed in accordance to the Feather [pinout]
- SAUL support for on-board LEDs and button

[feather-nrf52840]: https://learn.adafruit.com/introducing-the-adafruit-nrf52840-feather/
[pinout]: https://cdn-learn.adafruit.com/assets/assets/000/046/243/original/adafruit_products_Feather_M0_Adalogger_v2.2-1.png
[pid.codes]: http://pid.codes/1209/7D00/
2020-01-15 22:11:58 +01:00
3b4fe41296
Merge pull request #13130 from kaspar030/ili9341_resolution_param
drivers/ili9341: add number of lines parameter
2020-01-15 18:33:14 +01:00
Jean Pierre Dudey
94ca53c3b9
boards: cc2538dk: remove machine SetClockSource.
It causes errors on current Renode versions. It wasn't documented on the
Renode changelog, but SetClockSource property was removed. Before this
change it showed this error:

    There was an error executing command 'machine SetClockSource cpu'
    machine does not provide a field, method or property SetClockSource.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-01-15 11:44:02 -05:00
47634addf3 boards/pinetime: configure ili9341 LCD number of lines 2020-01-15 15:36:21 +01:00
76b9cfb677
Merge pull request #12973 from fjmolinas/pr_atmega_tx_isr
cpu/atmega_common/periph/uart: use TX_ISR to check TX end
2020-01-15 11:51:22 +01:00
Hauke Petersen
8b408fc828
Merge pull request #12724 from aabadie/pr/stdio_rtt_blacklist
make: improve handling of the stdio_rtt module, improve dependency management at application level
2020-01-15 10:12:13 +01:00
Francisco Molina
fb388bf5b6 boards/atmega/include/periph_conf_atmega_common: add USARTn_TX_vect 2020-01-15 10:02:41 +01:00
fcec59261c
Merge pull request #12552 from kaspar030/add_pinetime_support
boards: add initial support for the PINE64 PineTime smartwatch
2020-01-15 09:51:40 +01:00
630ff1425a
Merge pull request #13125 from francois-berder/clicker-pic32prog
boards: pic32-clicker: Use pic32prog as default programmer
2020-01-15 07:08:31 +01:00
benpicco
2ff710c762
Merge pull request #12669 from benpicco/mcb2388
boards: add mcb2388
2020-01-14 22:46:49 +01:00
Benjamin Valentin
9183d16278 boards: add mcb2388
The MCB2388 Evaluation Board is a development board for the LPC2388 MCU.

LPC2388 and LPC2387 are very simmilar, the only difference is added USB Host
support.
Since this is not used yet, I chose to just pretend it's an lpc2387.

So far, only the two UARTs, LEDs and LCD display are configured.
2020-01-14 21:21:08 +01:00
5c21df5fee boards/pinetime: initial support for the PINE64 PineTime smartwatch 2020-01-14 21:06:43 +01:00
Francois Berder
634fea8347 boards: pic32-clicker: Use pic32prog as default programmer
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-01-14 19:43:13 +00:00
8d16ccb96a
Merge pull request #13115 from basilfx/feature/slstk3401a_doc_fixes
boards/slstk3401a: update documentation
2020-01-14 17:00:03 +01:00
ef947d3495
Merge pull request #13114 from basilfx/feature/slstk3402a_doc_fixes
boards/slstk3402a: update documentation
2020-01-14 16:59:52 +01:00
a1850773ff
Merge pull request #13116 from basilfx/feature/stk3600_docs
boards/stk3600: add documentation
2020-01-14 16:00:35 +01:00
f3476452cb
Merge pull request #13117 from basilfx/feature/stk3700_docs
boards/stk3700: add documentation
2020-01-14 15:28:27 +01:00
628f085f37
Merge pull request #13118 from basilfx/feature/slwstk6000b_docs
boards/slwstk6000b: add documentation
2020-01-14 15:02:49 +01:00
5de5616c92
Merge pull request #13113 from basilfx/feature/sltb001a_doc_fixes
boards/sltb001a: update documentation
2020-01-14 15:02:34 +01:00
Martine Lenders
7430ea98ed
Merge pull request #13096 from nmeum/pr/fix_asan_target
boards/native: fix all-asan Makefile target
2020-01-14 13:43:22 +01:00
Francisco
f76f7c73ce
Merge pull request #12957 from aabadie/pr/cpu/fe310_spi
cpu/fe310: add spi peripheral driver
2020-01-14 10:54:47 +01:00
Bas Stottelaar
4f3083793d
Merge pull request #13099 from basilfx/feature/ikea_tradfri_modules
boards/ikea-tradfri: add board documentation.
2020-01-14 10:25:53 +01:00
Francisco
a6cf5cf3f9
Merge pull request #12946 from aabadie/pr/cpu/fe310_i2c
cpu/fe310: add i2c peripheral driver
2020-01-14 10:20:11 +01:00
57d5a1db1c
boards: provide stdio_rtt as default module where required
For the moment, hamilton, ruuvitag and thingy52 use stdio_rtt by default.
2020-01-14 07:48:08 +01:00
Bas Stottelaar
12ec03d2e0 boards/sltb001a: update documentation 2020-01-13 23:38:43 +01:00
Bas Stottelaar
8f22110210 boards/slstk3402a: update documentation 2020-01-13 23:38:10 +01:00
Bas Stottelaar
488c545674 boards/slstk3401a: update documentation 2020-01-13 23:37:40 +01:00
Bas Stottelaar
52ecf0fcc1 boards/stk3600: add documentation 2020-01-13 23:37:02 +01:00
Bas Stottelaar
b9b8358175 boards/stk3700: add documentation 2020-01-13 23:36:29 +01:00
Bas Stottelaar
aeed1f3153 boards/slwstk6000b: add documentation 2020-01-13 23:31:51 +01:00
Bas Stottelaar
8a98bf5260 boards/ikea-tradfri: add board documentation. 2020-01-13 21:40:00 +01:00
Leandro Lanzieri
50f1b1423a
Merge pull request #12999 from fjmolinas/pr_native_makefile_include_explicit_path
boards: use explicit paths for file inclusion
2020-01-13 16:00:48 +01:00
Francisco Molina
74cecf30f0 boards/common/arduino-mkr: remove /Makefile.dep
Makefile.dep is already included for the board no need to do it here.
2020-01-13 11:53:48 +01:00
Francisco Molina
5a8f996111 boards: replace use of $(BOARD) by explicit name
With the introduction of BOARDSDIR external boards can re-use common
code of BOARDS present in RIOTBASE. To be able to do this file
references may not use $(BOARD) since BOARD will be set by the
external BOARD.
2020-01-13 11:53:48 +01:00
MichelRottleuthner
53cb3b087c
Merge pull request #9530 from Hyungsin/forupstream_xtimer
sys: xtimer concurrency/robustness improvement
2020-01-13 08:24:15 +01:00
Sören Tempel
e2b8231796 boards/native: fix crash with all-asan
Without this change a RIOT application compiled with all-asan will
segfault as RIOT provides its own malloc by default. Add a define for
disabling custom malloc, calloc and realloc implementations and use it
when compiling with all-asan.
2020-01-12 16:17:48 +01:00
Francois Berder
237f7363fa boards: pic32-wifire: Do not include vendor header in board header
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-01-11 17:11:35 +00:00
8405fbe611
boards/hifive1*: provide and configure SPI feature 2020-01-11 13:06:39 +01:00
b3658ad95e
boards/hifive1b: provide i2c configuration 2020-01-11 13:06:10 +01:00
Hyungsin
6eed5b9d43 remove XTIMER_OVERHEAD 2020-01-10 13:22:11 -08:00
b42cf186fe
boards/hifive1*: remove gpio interrupt definition
This macro is now defined in periph_cpu.h
2020-01-10 16:41:33 +01:00
473f1d7147
boards/hifive1*: cleanup board initialization 2020-01-10 16:41:33 +01:00
97ef5d53de
boards/hifive1*: rework clock configuration 2020-01-10 16:41:33 +01:00
39cf4d38c1
boards/hifive1*: move xtimer definitions to board.h 2020-01-10 16:41:32 +01:00
Yegor Yefremov
8101f52e3f boards/esp32: add TTGO T-Beam board definition
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2020-01-10 10:04:38 +01:00
267e273c56
boards/hifive1b: set custom reset delay of 1s for tests 2020-01-10 08:34:45 +01:00
2bcf1890bb
boards/remote*: factorize provided features 2020-01-08 14:42:03 +01:00
43a9529ed2
boards/remote: remove unused periph_common.h 2020-01-08 14:41:31 +01:00
c70a14ff89
boards/remote*,firefly: use common config headers 2020-01-08 14:40:20 +01:00
4a0ac8e4e8
boards/remote: add common default config headers 2020-01-08 14:38:52 +01:00
ce0bb35587
Merge pull request #12993 from fjmolinas/pr_cc2538_rtt
cpu/cc2538: add periph_rtt
2020-01-08 09:55:45 +01:00
Francisco Molina
b436ba4a0c boards/common/remote: add periph_rtt 2020-01-08 09:16:49 +01:00
Francisco Molina
59ada62930 boards/openmote-b: add periph_rtt 2020-01-08 09:16:49 +01:00
748ffff931
boards/nrf52: remove use of export for LINKER_SCRIPT 2020-01-03 16:07:15 +01:00
c71e931d77
boards/native: remove use of export for LINKFLAGS 2020-01-02 09:47:33 +01:00
kcant
3a29d346ef Relink wiki.stm32duino.com to web.archive.org (#13011)
wiki.stm32duino.com broken links correction
2019-12-28 18:39:22 +01:00
kcant
f770c6fffd Update doc.txt
Broken links correction to https://web.archive.org/web/20190428082446/ *
2019-12-28 18:38:27 +01:00
dylad
fc9549b069 boards/sam0: update sam0-based board to use hw fc 2019-12-20 21:26:56 +01:00
876824201c
boards/hifive1*: apply new UART configuration scheme 2019-12-20 15:22:09 +01:00
326d570b11
Merge pull request #12990 from fjmolinas/pr_b-l475e-iot01a_assert_srst
boards/b-l475e-iot01a: set OPENOCD_RESET_USE_CONNECT_ASSERT_SRST
2019-12-19 15:10:08 +01:00
Francisco Molina
b4a8cf8351 boards/b-l475e-iot01a: set OPENOCD_RESET_USE_CONNECT_ASSERT_SRST
b-l475e-iot01a can become unflashable when hardfaults occure.
To make sure flashing succeeds `connect_assert_srst` is called
before connecting to flash through openocd.
2019-12-19 14:21:27 +01:00
Hauke Petersen
3330676fd5 boards/nrf52840dk: disable UART HWFC 2019-12-18 11:53:26 +01:00
Francisco
927b03f0ff
Merge pull request #12902 from aabadie/pr/boards/hifive1b_arduino
boards/hifive1b: add arduino feature
2019-12-16 13:31:17 +01:00
0ef371899d
boards/hifive1b: add arduino feature 2019-12-13 16:25:11 +01:00
Hauke Petersen
d0375ea119 boards/native: fix default value of PORT 2019-12-13 11:36:57 +01:00
benpicco
03b95ef833
Merge pull request #12883 from fabian18/microduino-corerf-doc-pin-mapping
boards/microduino-corerf: doc SPI and I2C pin mapping
2019-12-05 21:14:05 +01:00
fabian18
f3f4c3b4b8 boards/microduino-corerf: doc SPI and I2C pin mapping 2019-12-05 19:43:35 +01:00
e5d5892167
boards/hifive1*: remove periph_gpio provided features
There are now provided at cpu level
2019-12-05 15:27:12 +01:00
Marian Buschsieweke
cf0fb1dff1
Merge pull request #12868 from benpicco/lpc2k-fix
lpc2k_pgm: fix build warnings, add lpc2388
2019-12-05 13:02:19 +01:00
Benjamin Valentin
472373637c boards/microduino-corerf: enable RTT
The board *does* have a crystal oscillator connected, so we can
enable RTT.
2019-12-04 22:45:18 +01:00
Benjamin Valentin
e958798225 boards/microduino-corerf: use 115200 baud for stdio
The MCU can handle that baud rate just fine.
A standard baud rate is much easier to use than those awkward 57600 baud.
2019-12-04 22:43:41 +01:00
Benjamin Valentin
9ce34bb305 lpc2k_pgm: fix build warnings
GCC now warns when snprintf()ing a buffer that, together with the
format string, might be larger than the destination buffer.

To fix this increase the size of the destination buffer so that
the source buffer and the format string will always fit - 32 bytes
are enough.
2019-12-03 22:09:29 +01:00
Benjamin Valentin
a57f380259 lpc2k_pgm: add LPC2388
The device is very simmilar to the LPC2387
2019-12-03 22:09:20 +01:00
Martine Lenders
2f74d9d644
Merge pull request #12517 from miri64/native/enh/reset-command
native: allow for native to be resetable via SIGUSR1
2019-12-03 10:56:11 +01:00
Martine Lenders
d670f77d91
native: add and use reset script to reset certain PID 2019-12-03 09:51:52 +01:00
Benjamin Valentin
6f41ecc74b boards: ATmega: enable periph_rtt for boards with 32kHz crystal
The RTT on ATmega only works if the board provides a 32kHz oscillator.
2019-12-01 17:26:24 +01:00
MrKevinWeiss
ebe010125b boards/openmote-b: fix button pin define
According to the schematics user button should be on `PD5` not `PC5`
(so `GPIO_PIN(3, 5)`).
Due to the super high values resistors being used for the external
pullup it seems if you use a internal pullup it doesn't work.
2019-11-29 11:10:24 +01:00
Benjamin Valentin
70eef51cd8 boards/openmote-b: fix naming of RF24 switch pins.
The Sub-GHz Antenna of the Openmote-B is always connected to the AT86RF215.
It is the 2.4 GHz radial that can be switched between the CC2538 and the AT86RF215.

This changes the name of the defines accordingly.
2019-11-29 10:59:59 +01:00
benpicco
e81d040a26
Merge pull request #12799 from chudov/derfmega-PR
boards/derfmega*: initial support
2019-11-28 13:57:56 +01:00
chudov
0a151a78da boards/derfmega*: initial support 2019-11-27 20:53:14 +01:00
Benjamin Valentin
0d977b3b3c cpu/sam0_common/periph/uart: implement buffered write
Implement interrupt based uart_write() using a tsrb for the TX buffer.

To enable it, add

    USEMODULE += periph_uart_nonblocking

to your Makefile.
2019-11-27 19:01:00 +01:00
Francisco Molina
90bcb016bb boards: unexport PROGRAMMER 2019-11-27 14:31:01 +01:00
743d7170e2
Merge pull request #12804 from wosym/nucleo-f207zg_ethernet
boards/nucleo-f207zg: add ethernet configuration
2019-11-26 12:44:19 +01:00
Wouter
3072900ed6 boards/nucleo-f207zg: add Ethernet config 2019-11-26 11:11:41 +01:00
benpicco
7f40b13d05
Merge pull request #12697 from maribu/stm32-programmer
boards: Common STM32 programmer/debugger/serial config
2019-11-25 15:27:22 +01:00
4d0d52dd0e boards/z1: fix typos 2019-11-23 22:39:35 +01:00
5468ab41bd boards/yunjia-nrf51822: fix typos 2019-11-23 22:39:35 +01:00
a8351a7296 boards/thingy52: fix typos 2019-11-23 22:39:35 +01:00
02b1cf170f boards/telosb: fix typos 2019-11-23 22:39:35 +01:00
be61dbe2ac boards/stm32l0538-disco: fix typos 2019-11-23 22:39:35 +01:00
97a18f9114 boards/stm32f723e-disco: fix typos 2019-11-23 22:39:35 +01:00
9b6ae21817 boards/sensebox_samd21: fix typos 2019-11-23 22:39:35 +01:00
11073a73e1 boards/saml21-xpro: fix typos 2019-11-23 22:39:35 +01:00
f69af0edda boards/remote-revb: fix typos 2019-11-23 22:39:35 +01:00
4e06b71e8d boards/remote-reva: fix typos 2019-11-23 22:39:35 +01:00
081f1e80e7 boards/remote-pa: fix typos 2019-11-23 22:39:35 +01:00
ef3b8b15e0 boards/p-l496g-cell02: fix typos 2019-11-23 22:39:35 +01:00
9f2aa74635 boards/nucleo-l4r5zi: fix typos 2019-11-23 22:39:07 +01:00
147696a0fc boards/msba2: fix typos 2019-11-23 22:39:07 +01:00
daffa544a2 boards/microbit: fix typos 2019-11-23 22:39:07 +01:00
f61175219b boards/mbed_lpc1768: fix typos 2019-11-23 22:39:07 +01:00
edfa34303b boards/lsn50: fix typos 2019-11-23 22:39:07 +01:00
e6d3963cd4 boards/iotlab-m3: fix typos 2019-11-23 22:39:07 +01:00
60e2ce8702 boards/frdm-k64f: fix typos 2019-11-23 22:39:07 +01:00
5a4bad8dfa boards/fox: fix typos 2019-11-23 22:39:07 +01:00
a394fcd100 boards/esp32-wrover-kit: fix typos 2019-11-23 22:39:07 +01:00
8e52d30949 boards/esp32-wroom-32: fix typos 2019-11-23 22:39:07 +01:00
fbc54466f8 boards/esp32-wemos-lolin-d32-pro: fix typos 2019-11-23 22:39:07 +01:00
557f005cb1 boards/esp32-olimex-evb: fix typos 2019-11-23 22:39:07 +01:00
dcd48cbd23 boards/esp32-mh-et-live-minikit: fix typos 2019-11-23 22:39:07 +01:00
4fb244d415 boards/common: fix typos 2019-11-23 22:39:07 +01:00
6a191fe9ff boards/cc2650stk: fix typos 2019-11-23 22:39:07 +01:00
b0f1e3dbb9 boards/blackpill-128kib: fix typos 2019-11-23 22:39:07 +01:00
90964e4398 boards/blackpill: fix typos 2019-11-23 22:39:07 +01:00
196cf2d776 boards/arduino-leonardo: fix typos 2019-11-23 22:39:07 +01:00
723707b7fa boards/airfy-beacon: fix typos 2019-11-23 22:39:07 +01:00
benpicco
d244b0fe59
Merge pull request #12787 from gschorcht/cpu/esp32/netdev_default
cpu/esp*: define esp_now as default netdev
2019-11-23 14:59:54 +01:00
Gunar Schorcht
72967f8fc3 cpu/esp32: GNRC_NETIF_NUMOF is handled in CPU makefile
Since Makefile.dep files are included as last files multiple times to resolve all module dependencies, GNRC_NETIF_NUMOF is handled here.
2019-11-22 17:38:35 +01:00
Francisco
3c60afc083
Merge pull request #12768 from aabadie/pr/boards/pic32-clicker-uart-cleanup
boards/pic32-clicker: cleanup uart configuration and initialization, cleanup header includes
2019-11-22 17:20:40 +01:00
Hauke Petersen
96c6313bd4 boards/avr-rss2: use bme280_i2c module 2019-11-22 14:04:38 +01:00
Hauke Petersen
f46731801a boards/sltb001a: use i2c mode of bme280 driver 2019-11-22 14:04:37 +01:00
Hauke Petersen
3c0d5048f9 board/ruuvitag: enable bme280 for saul default 2019-11-22 14:04:37 +01:00
401abd5b71
boards/pic32-clicker: cleanup includes 2019-11-22 08:12:47 +01:00
e8b0399bc9
boards/pic32-clicker: cleanup uart initialization 2019-11-22 08:12:46 +01:00
Gunar Schorcht
a05027cdba
Merge pull request #12523 from aabadie/pr/sys/arduino_pwm
sys/arduino: add implementation for analogWrite
2019-11-21 15:08:10 +01:00
4337cb316f
Merge pull request #12752 from gschorcht/cpu/esp32/espreset
boards/esp32*: use espreset tool for reset in make test
2019-11-20 22:07:15 +01:00
Robert Olsson
c903bc8c1b boards/avr-rss2: add AtMega256RFR2 based board
Co-Authored-By: benpicco <benpicco@googlemail.com>
Support: Alexandre Abadie aabadie, Marian Buschsieweke maribu, Martine Lenders miri64
2019-11-20 11:57:02 +01:00
Gunar Schorcht
5ba4a7d7cf boards/esp32*: espreset tool added 2019-11-20 08:33:47 +01:00
benpicco
1999e2f89c
Merge pull request #12745 from benpicco/atmega-led_fix
boards/atmega_common: remove weak led_init()
2019-11-20 00:14:48 +01:00
benpicco
cfcbb76cd2
Merge pull request #12729 from maribu/atmega1284p
boards/atmega1284p: Add ATmega1284P as board
2019-11-19 23:18:31 +01:00
Hauke Petersen
04dcc3662b
Merge pull request #12344 from chrysn-pull-requests/particle-antenna-switch
particle-*: Configure antenna switch
2019-11-19 23:06:29 +01:00
Benjamin Valentin
c277100dd9 boards/atmega_common: remove weak led_init()
`led_init()` is already protected by an `#ifdef`, so no need for
the weak symbol.

The problem is that the weak function does not get overridden, even when
the board provides it's own led_init(), resulting in no LEDs being
initialized.
2019-11-19 22:36:07 +01:00
Marian Buschsieweke
b7150ed6c7
boards/common/atmega: Added ATmega1284P PWM conf
Added PWM configuration for the ATmega1284P CPU; this can be reused for every
board featuring that CPU.
2019-11-18 23:46:08 +01:00
chrysn
9954194ae0 particle boards: Make default antenna selection configurable
The setter function approach makes this switchable at runtime (antenna
diversity?).

Documentation is added both to the board introduction page and the
individual pins and functions.
2019-11-18 13:54:39 +01:00
chrysn
951f7dec2c particle-*: Configure antenna switch
The particle-{argon,boron,xenon} all have a uFL connector and a PCB
antenna for 2.4GHz radio, connected by a SKY13351-378LF switch
configured by a VCTL[12] pin pair.

This sets the default configuration to use the PCB antenna, as driving
an unconnected antenna will deteriorate radio performance.
2019-11-18 13:54:22 +01:00
588766ab27
Merge pull request #12733 from fjmolinas/pr_jlink_serial
makefiles/tools/jlink.inc.mk: DEBUG_ADAPTER_ID as JLINK_SERIAL
2019-11-18 13:47:26 +01:00
Francisco Molina
f9ebc8658f dist/tools/jlink: cleanup doc 2019-11-18 13:04:42 +01:00
Kevin "Tristate Tom" Weiss
be39169bd4
Merge pull request #11108 from gschorcht/cpu/esp8266/esp-idf/pr
cpu/esp8266: complete reimplementation based on ESP8266 RTOS SDK
2019-11-18 09:34:49 +01:00
Marian Buschsieweke
f4089d08fe
boards/atmega328p: Fixed doc
- Use proper IEC units for sizes
- Added info on EEPROM
- Fixed incorrect info on default fuse settings
- Added info on how to unlock 8MHz
2019-11-18 00:16:43 +01:00
Marian Buschsieweke
8f03c7561a
boards/atmega1284p: Add ATmega1284P as board
The ATmega1284P can be run on a breadboard with no external components, except
for a power supply and (if access to the serial is required) an USB-TTL adapter.
This commit adds it as a "board".
2019-11-17 14:10:12 +01:00
Benjamin Valentin
60686c96dc boards/common: clean up msba2 common files
The 'msba2' common files have accumulated many empty files are files that
do nothing.
This makes reasoning about the boards needlessly difficult.

Trim down on `common/msba2/` so that it now only contains the setup for the
UART/bootloader based flashing.

This should eventuelly be moved to `makefiles/tools/`
2019-11-16 11:57:15 +01:00
65e0247a9b
boards/arduino-atmega: add mapping for Arduino PWM pins 2019-11-15 17:54:30 +01:00
e0f288421d
boards/sodaq-autonomo: add mapping for Arduino PWM pins 2019-11-15 17:51:45 +01:00
d03c982ddb
boards/arduino-mkr: add mapping for Arduino PWM pins 2019-11-15 17:51:45 +01:00
f1cb14730d
boards/arduino-zero: add mapping for Arduino PWM pins 2019-11-15 17:51:45 +01:00
Gunar Schorcht
555a7040db cpu/esp8266: reset tool to allow automatic tests 2019-11-14 13:58:48 +01:00
Gunar Schorcht
e5b7645b0b boards/esp32: changes for RTOS SDK 2019-11-14 13:58:25 +01:00
Gunar Schorcht
7d9a3a79a2 boards/esp8266: changes for RTOS SDK 2019-11-14 13:58:25 +01:00
253c75ab6b
Merge pull request #12703 from haukepetersen/fix_nrfboards_blefeat
nrf5x: move nimble_ble feat. to cpu
2019-11-13 19:07:48 +01:00
Francisco
9691cb68d6
Merge pull request #12662 from aabadie/pr/boards/hifive1_port_fix
boards/hifive1b: fix Linux default serial port
2019-11-13 18:04:22 +01:00
Hauke Petersen
4bf14822cb nrf5x: move nimble_ble feat. to cpu 2019-11-13 13:43:55 +01:00
Marian Buschsieweke
c510ad858c
boards/common/blxxxpill: Use STM32 programmer conf 2019-11-12 19:48:05 +01:00
Marian Buschsieweke
a949179f69
boards/stm32f030f4-demo: Use STM32 programmer conf 2019-11-12 19:46:29 +01:00
Marian Buschsieweke
92284bed88
boards/common/nucleo: Use STM32 programmer config 2019-11-12 19:43:42 +01:00
benpicco
f77e5a6c6a
Merge pull request #12673 from benpicco/purge-rtc_numof
boards: remove RTT_NUMOF/RTC_NUMOF
2019-11-12 11:33:16 +01:00
Benjamin Valentin
0ea2cbf1eb boards: remove RTT_NUMOF/RTC_NUMOF
Those macros are defined but never used.
2019-11-08 14:20:33 +01:00
Marian Buschsieweke
9a0657af9b
boards: Refactored avsextrem & msba2
- Removed features already provided at CPU level
- Sorted features alphabetically
2019-11-08 14:02:42 +01:00
Leandro Lanzieri
66d5e4d05f
Merge pull request #12637 from benpicco/lpc2387-uart
cpu/lpc2387: update the UART driver
2019-11-07 22:21:50 +01:00
Benjamin Valentin
9e68556393 boards/msba2: configure remaining UARTs
All UARTs on the MSBA2 are exposed through pin headers on the board.
Configure them according to the data sheet.
2019-11-07 21:55:25 +01:00
Benjamin Valentin
90aef98ca0 boards/avsextrem: adapt to updated UART driver 2019-11-07 21:55:25 +01:00
Benjamin Valentin
3e053d1db9 boards/msba2: adapt to updated UART driver 2019-11-07 21:55:25 +01:00
2e7534ddee
boards/hifive1b: fix default serial port
The board provides a JLink adapter which is exposed as /dev/ttyACMx on Linux. STDIO UART is available on this port
2019-11-07 14:14:05 +01:00
42c4b7d34d
boards/atmega256rfr2-xpro: use 115200 baudrate for STDIO 2019-11-06 12:46:28 +01:00
485bfc45da
boards/atmega256rfr2-xpro: document how to configure the fuses
This is important for a correct configuration of the external 16MHz oscillator
2019-11-06 12:46:28 +01:00
498cbe9bbc
boards/atmega256rfr2-xpro: configure external 16MHz oscillator 2019-11-06 12:46:28 +01:00
Marian Buschsieweke
d02ed3a3ff
Merge pull request #12646 from maribu/atmega328p-timer
boards/atmega328p: Fixed xtimer frequency
2019-11-05 22:19:09 +01:00
Marian Buschsieweke
f55e438d56
boards/atmega328p: Fixed xtimer frequency
The ATmega328p on a breadboard can have various frequencies depending on
the fuse settings and whether and which crystal is connected. Thus, finding a
fixed xtimer frequency that can be configured for every CPU core clock with the
available prescalers is not possible. Therefore, the fixed frequency is replaced
by a frequency depending on the CPU clock speed. For CPU clock frequency of
more than 4 MHz a prescaler of 64 will be chosen (same as on the Arduino Uno),
for 4 MHz and less a prescaler of 8 will be chosen.
2019-11-05 19:32:29 +01:00
f24a3802c7
boards/atmega256rfr2-xpro: configure debug 2019-11-05 10:40:32 +01:00
4751892ce9
boards/atmega256rfr2-xpro: initial support 2019-11-05 10:40:32 +01:00
Gunar Schorcht
7d63158e06 boards/esp32-wroom-32: fixes a broken image link 2019-11-02 18:31:45 +01:00
benpicco
ed93bce856
Merge pull request #9323 from OYTIS/cc1352-launchpad-support
CC1352 launchpad support
2019-10-30 14:06:13 +01:00
Marian Buschsieweke
fa3651f275
boards/microduino-corerf: Minor doc tweaks
- Using @warning Doxygen command to make warning more visible
- Used IEC units for size specifications
- Aligned markdown source of the table
- Added note that the 5V pin is not connected to the board and cannot be used
  to power the board
2019-10-30 08:51:34 +01:00
Anton Gerasimov
9fad1e3b6d cpu/cc26xx_cc13xx: define uart_conf_t
Replaces older macro-based configuration

Signed-off-by: Anton Gerasimov <tossel@gmail.com>
2019-10-29 21:27:00 +01:00
Anton Gerasimov
a60d8f471f boards/cc1352-launchpad: Add support for CC1352R Launchpad
Signed-off-by: Anton Gerasimov <tossel@gmail.com>
2019-10-29 21:27:00 +01:00
Anton Gerasimov
f6a3f14d22 cpu/cc26x0: Factor out code common for cc26xx/cc13xx family
Signed-off-by: Anton Gerasimov <tossel@gmail.com>
2019-10-29 21:27:00 +01:00
Benjamin Valentin
3ecf7a0430 boards/msba2: define XTAL frequency
The board comes with a 16 MHz XTAL.
Since the avsextrem is just an extended msba2, this is true here too.
2019-10-27 01:32:50 +02:00
7761169964
Merge pull request #11657 from Yanok35/pr-stm32-spi-af
boards/stm32-based: allow SPI signals routed on multiple alternate functions
2019-10-25 09:47:49 +02:00
b0dfda244b
Merge pull request #12460 from fjmolinas/pr_port_migration
makefiles/vars.inc.mk: introduce and use `PROG_DEV`
2019-10-25 09:40:20 +02:00
Yannick Gicquel
d37adee32d boards/stm32-based: allow SPI signals routed on multiple alternate functions
There is no hardware limitation for custom boards based on STM32 to uses
SPI bus with signals coming from different PORT and alternate functions.

This patch allow alternate's function definition per pin basis, thus enable
the support of SPI bus signals routed on differents PORT.

Signed-off-by: Yannick Gicquel <ygicquel@gmail.com>
2019-10-25 06:27:41 +02:00
Marian Buschsieweke
ef97b874bf
boards/native: Default to C11 instead of C99 2019-10-24 21:57:02 +02:00
Francois Berder
2d68b16c94 boards: pic32-clicker: Do not include vendor header in board header
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-10-24 19:01:02 +01:00
Francisco Molina
1ae0873769 boards: change PORT used for flash/debug/reset to PROG_DEV 2019-10-24 12:58:12 +02:00
Francisco Molina
755b4d97da boards/(openmote-b/remote): migrate PORT_BSL to PROG_DEV
- Move serial.inc.mk in remote and openmote-b Makefile.include before
  PROG_DEV to avoid repeating OS logic check
- Add deprecation warning for PORT_BSL
2019-10-24 12:57:46 +02:00
Francisco Molina
bf25e12602 makefiles/tools/avrdude.inc.mk: migrate to use PROG_DEV
- Move serial.inc.mk in mega-xplained/Makefile.include after
  PROG_DEV so PROG_DEV can still default to PORT
- Add deprecation warning for arduino-leonardo and mega-xplained
2019-10-24 12:57:07 +02:00
f84cdc4044
boards/sodaq: restore accidentally removed arduino feature 2019-10-22 19:06:16 +02:00
Francisco
88a6ad9df8
Merge pull request #12541 from aabadie/pr/boards/arduino_zero_adc
boards/arduino-zero: configure ADC channels
2019-10-22 15:56:38 +02:00
26c0b812d2
Merge pull request #12531 from fjmolinas/pr_nrf52_nimble
common/nrf52840/Makefile.dep: nrf802154 if no nimble_%
2019-10-22 15:14:54 +02:00
76ca2f5a08
boards/arduino-zero: configure ADC channels 2019-10-22 11:19:26 +02:00
benpicco
d49c48368a
Merge pull request #12438 from aabadie/pr/boards/sodaq_factorize
boards/sodaq: factorize common code
2019-10-21 17:04:20 +02:00
Francisco Molina
c04a2cf3a3 common/nrf52840/Makefile.dep: nrf802154 if no nimble_% 2019-10-21 16:52:18 +02:00
Benjamin Valentin
a97e0543cb boards: add stm32f030f4-demo
The board is a very cheap (< 1€) breakout board for the stm32f030f4 MCU.
2019-10-21 15:30:22 +02:00
benpicco
ca7e82c312
Merge pull request #11090 from maribu/atmega328p
boards: Added standalone ATmega328p
2019-10-21 13:38:58 +02:00
4b06a11b93
Merge pull request #12470 from aabadie/pr/boards/kw41z_openocd
boards/frdm: update openocd version requirements
2019-10-21 13:30:54 +02:00
Marian Buschsieweke
f9c2f26dd0
boards: Added standalone ATmega328p 2019-10-21 12:54:46 +02:00
536809cdca
boards/sodaq-*: use common code 2019-10-21 08:33:11 +02:00
f9631953cb
boards: add common sodaq module 2019-10-21 08:33:11 +02:00
5578740fc4
Merge pull request #12397 from fjmolinas/pr_CPU_ARCH_FAM
makefiles/vars.inc.mk: move definition and export of CPU_FAM and CPU_ARCH to vars.inc.mk
2019-10-21 08:23:51 +02:00
14567ea973
Merge pull request #12494 from fjmolinas/pr_remove_OS
Makefile/include: use ony one call to `uname`
2019-10-18 15:03:10 +02:00
benpicco
29e5c3af67
Merge pull request #12490 from aabadie/pr/boards/efm32_common_periph_gpio
boards/efm32: move provided gpio features at cpu level
2019-10-18 11:19:33 +02:00
benpicco
34ee36d9e4
Merge pull request #12491 from aabadie/pr/boards/atmega_common_periph_gpio
boards/atmega: move provided gpio features at cpu level
2019-10-18 11:19:15 +02:00
benpicco
4ed04208ea
Merge pull request #12492 from aabadie/pr/boards/cc2538_common_periph_gpio
boards/cc2538: move provided gpio features at cpu level
2019-10-18 11:18:54 +02:00
Francisco Molina
45c8eafd42 Makefile.include: remove repeated OS declaration 2019-10-18 10:36:43 +02:00
4d85735b24
boards/slwstk6220a: remove useless provided gpio features
These are provided at CPU level.
2019-10-18 09:35:00 +02:00
aed0cfb1d8
boards/efm32: remove useless provided gpio features
These features are provided at CPU level
2019-10-18 09:33:54 +02:00
Francisco Molina
347a0fc804 cpu/ boards/: remove exports for CPU_FAM 2019-10-18 08:55:33 +02:00
Francisco Molina
f3482de277 REMOVEME: add OS and OS_ARCH variable 2019-10-18 08:46:51 +02:00
Francisco Molina
c010f59b8c Makefile.include: remove repeated OS declaration
- OS := $(shell uname) is already declared in `Makefile.include`
  re-declaring it means it will be re-evalauted multiple times
  uselessly.
2019-10-18 08:46:51 +02:00
Francisco
01779508d6
Merge pull request #12394 from aabadie/pr/make/iotlab_support_fix
make/testbed-support: fix error with FLASHFILE not defined
2019-10-17 23:21:12 +02:00
5873a04ba9
boards/cc2538*: remove useless provided gpio features
These features are provided at CPU level
2019-10-17 22:05:42 +02:00
2bf983038d
boards/cc2538*: reorder provided features 2019-10-17 22:04:02 +02:00
27f2a19f72
boards/atmega: remove useless provided gpio features
These features are provided at CPU level
2019-10-17 21:42:49 +02:00
Benjamin Valentin
20906328b4 boards/microduino-corerf: Initial board support 2019-10-17 19:20:31 +02:00
Benjamin Valentin
7d78e32b15 cpu/atmega128rfa1: ATmega128rfa1 MCU support 2019-10-17 19:20:31 +02:00
Benjamin Valentin
6617c5c768 cpu/atmega_common: provide dummy implementation for led_init() 2019-10-17 19:20:31 +02:00
Kevin "Tristate Tom" Weiss
0e85425ae4
Merge pull request #12103 from JannesVolkens/mpu9x50
driver/mpu9x50: make mpu9150 more generic
2019-10-17 15:01:50 +02:00
Jannes
fdd34499ac drivers/mpu9x50: Correct read_temperature
Change msbiot Makefile.dep back to mpu9150
2019-10-17 14:04:43 +02:00
Jannes
2df5d6048d driver/mpu9x50: Rename mpu9150 to mpu9x50
Rename all files

Rename all variables, methods and methodcalls

Rename all folders

Add to the makefiles

Add to doc
2019-10-17 12:52:18 +02:00
Francisco Molina
0e672da1e4 boards/mulle: remove simple expansion of PORT 2019-10-17 11:17:16 +02:00
4c794c1122
boards/frdm: document more the OpenOCD version requirement
Add the need to have a built from source version of OpenOCD for kw41z and give the url of the commit adding the change in OpenOCD
2019-10-16 14:53:42 +02:00
f81baf2bf6
boards/frdm: remove OpenOCD < 0.10 specific code
OpenOCD 0.10 is out from early 2017, all stable Linux distros provide this version now.
2019-10-16 14:51:53 +02:00
Frank Hessel
40fe3154b4
boards/native Add SPI feature to doc.txt 2019-10-16 14:33:07 +02:00
ffc4c84faa
dist/testbed-support: boards: remove useless IOTLAB_FLASHFILE 2019-10-16 11:44:59 +02:00
benpicco
3d01833f88
Merge pull request #12439 from aabadie/pr/boards/feather-m0-doc-typo
boards/feather-m0: fix typo in doc
2019-10-14 18:19:15 +02:00
Kevin "Tristate Tom" Weiss
e236fa1ef3
Merge pull request #10793 from aabadie/pr/boards/thingy52_i2c
boards/thingy52: add dependency for on-board hts221/lps22hb sensors
2019-10-14 15:06:37 +02:00
9bc600a2e5
Merge pull request #12386 from keestux/sodaq-boards-arduino
Sodaq boards arduino
2019-10-14 07:47:58 +02:00
66b57f2a51 boards/stm32: add 54MHz and 108MHz divtable entries 2019-10-13 20:27:37 +02:00
653a551fcc
boards/feather-m0: fix typo in documentation 2019-10-13 17:48:21 +02:00
Kees Bakker
2c41d7d707 boards/sodaq-*: prefer default ADC config from Arduino
Right now the gain and reference are hard coded. Until it is configurable
at runtime prefer the same default as with Arduino Core. That is,
GAIN_DIV2 and REFSEL_INTVCC1. This way we can properly measure the
battery voltage.
2019-10-09 20:14:40 +02:00
Kees Bakker
eb0595e4be boards/sodaq-autonomo: add arduino config 2019-10-09 20:14:40 +02:00
Kees Bakker
9afb390362 boards/sodaq-explorer: add arduino config 2019-10-09 20:14:40 +02:00
Kees Bakker
20e7232d09 boards/sodaq-sara-aff: add arduino config 2019-10-09 20:14:40 +02:00