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

3268 Commits

Author SHA1 Message Date
3eb17f56fa
boards/nrf52xxxdk: add openocd as programmer
For the moment openocd doesn't work when softdevice blob module is loaded
2019-02-26 11:02:57 +01:00
Sebastian Meiling
a5385c15cc
Merge pull request #11027 from maribu/atmega_cleanup
boards/common/atmega: Refactoring periph_conf.h
2019-02-25 20:13:41 +02:00
Marian Buschsieweke
7bc9b4b707
boards/common/atmega: Refactoring periph_conf.h
- Moved code for periph_conf of all ATmega based boards to boards/common/atmega
- Added possibility to override config from individual board:
  - Named file `periph_conf_atmega_common.h` and let this be included from
    `board/$BOARD/include/periph_conf.h` to allow modifications
  - Guarded individual periph configs by `#ifndef $PERIPH_NUMOF` ... `#endif`
2019-02-25 18:48:09 +01:00
Gaëtan Harter
479d679ddf
boards/nz32-sc151: do not blindly set TERMFLAGS
The board should not globally set `TERMFLAGS` without a RIOT_TERMINAL
condition.

Also the board does not export uart through usb and thus needs an uart
converter connected. Other boards in the same situation do not need
to set `TERMPROG` without a valid baudrate. So remove the definition
anyway.

This also removes the export of TERM* variables and should make it work
with the other RIOT_TERMINAL.
2019-02-25 18:00:58 +01:00
Gaëtan Harter
3b119cc5ba
boards/native: unexport TERM* variables
TERMPROG and TERMFLAGS variables do not need to be exported as they are
used directly by a make receipe.
2019-02-25 17:26:03 +01:00
Leandro Lanzieri
609db0c2f6 boards/lobaro-lorabox: Remove auto init LED0 2019-02-25 13:43:50 +01:00
Yegor Yefremov
a62d4550d7 Documentation: fix dead links
The link to nodemcu-devkit-v1.0 was missing 'h' in 'http'.

Other links were missing 'http://' or 'https://' and were pointing
to non-existing components on RIOT's web site.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-02-12 10:46:15 +01:00
ZetaR60
1f9e1857f7
Merge pull request #9130 from kYc0o/cpu/atmega/unify_stacks
atmega: refactor cpu/board code and build/flash variables
2019-02-08 18:07:22 -05:00
Kees Bakker
361ba8d1a0 boards/sodaq-autonomo: switch to flashing with bossac 2019-02-06 19:44:26 +01:00
Francisco Acosta
7139393394 boards: include potential features from CPU for atmega boards
Features must be provided by the board if they're actually
available on board. Other features might be provided by the
CPU.

Some grouping is also removed as it is not necessary.
2019-02-05 17:12:04 +01:00
Francisco Acosta
d208cba464 boards: leverage avrdude.inc.mk for atmega based boards.
Additionally, it removes unnecessary exports and cleans up
waspmote-pro toolchain variables (not needed) which are taken
from atmega_common.
2019-02-05 17:12:04 +01:00
Francisco Acosta
1a98d64cd5 boards/arduino*: use common avrdude.inc.mk from atmega_common
Leverages common flasher (avrdude) and removes unnecessary exports.
Moreover, a reuse of serial.inc.mk is perfomed from the same
atmega_common/Makefile.include
2019-02-05 17:12:03 +01:00
Marian Buschsieweke
fa0d08a08b
boards/msba2: Added ltc4150 to saul_default 2019-01-28 13:45:08 +01:00
6cd81dbc87
Merge pull request #10865 from kaspar030/uncrustify_change_disable_hint
uncrustify: change en/disable markers
2019-01-25 22:40:02 +01:00
674128ea27 boards/hifive1: adapt to RIOT uncrustify markers 2019-01-25 17:21:14 +01:00
a12b61e9af
boards/nrf52840-mdk: initial support 2019-01-25 16:29:10 +01:00
Hauke Petersen
93e7d88f75
cpu/nrf5x: reworked and fixed UART driver 2019-01-25 15:52:25 +01:00
72f3f7d4f1
boards/nrf52840dk: add second UART interface
This commit also change the STDIO UART to use the UARTE device type (with EasyDMA)
2019-01-25 15:52:25 +01:00
190d48c5d3
boards/nrf52840dk: configure uart flow control pins 2019-01-25 15:51:50 +01:00
1be60741e3
boards/nrf52xxxdk: refactor UART config 2019-01-25 15:51:50 +01:00
Leandro Lanzieri
ba592ae4d3
Merge pull request #10848 from PeterKietzmann/pr_phy-kw41_ccs811condif
boards/phynode-kw41z:enable support for cc811 sensor
2019-01-25 11:42:40 +01:00
PeterKietzmann
536cf1b4e9 boards/phynode-kw41z:enable ccs811,mma8x5x,tcs37727 sensors 2019-01-25 11:10:08 +01:00
03ed77b141
Merge pull request #10805 from beduino-project/fix-hifive1-coreclock-define
boards/hifive1: fix CLOCK_CORECLOCK
2019-01-24 20:48:40 +01:00
Kevin "Bear Puncher" Weiss
06b5a58e62
Merge pull request #10802 from leandrolanzieri/pr/boards/sensebox_samd21-mtd
boards/sensebox_samd21: Add MTD definition
2019-01-24 12:20:16 +01:00
Martine Lenders
fbe43634d9
Merge pull request #10844 from maribu/ethernet_shield
boards/arduino*: Added/refactored params for W5100
2019-01-24 11:59:43 +01:00
Marian Buschsieweke
d2c8eab793
boards/arduino*: Added/refactored params for W5100
- ATmega based boards: Added parameter for W5100 to board_common.h
- Arduino Due based boards: Use board.h instead of providing w5100_params.h
2019-01-22 15:46:33 +01:00
7e3c382547
Merge pull request #10653 from dylad/pr/saml1x_support
cpu/saml1x: add support for SAML10 and SAML11 MCUs (Cortex-M23)
2019-01-22 08:53:06 +01:00
Sebastian Meiling
0edf76d362
Merge pull request #9984 from kaspar030/refactor_atmega_libc
cpu/atmega_common: refactor AVR libc code into module
2019-01-22 08:41:37 +01:00
Dylan Laduranty
e838f0c291 board/saml11-xpro: add support for SAML11-XPRO board 2019-01-21 17:08:02 +01:00
Dylan Laduranty
2132f5b85b board/saml10-xpro: add support for SAML10-XPRO board 2019-01-21 17:07:42 +01:00
Dylan Laduranty
99966b318a board/common/saml1x: add common configuration 2019-01-21 17:07:18 +01:00
8d1a0ae074
boards: revert forced use of periph_dma with STM32
The periph_dma is not pulled in automatically for all applications.
Applications willing to use the configured peripherals with periph_dma
for a given board will have to include the feature explictly in their
Makefile.

It was causing unrelated issues as threads got de-scheduled while
calling printf and this was not handled properly in tests at that
moment.
2019-01-21 15:14:28 +01:00
7313525035 atmega_common: refactor avr-libc-extra into avr_libc_extra module 2019-01-21 14:37:08 +01:00
c6b9bb5055
boards/b-l475e-iot01a: provide already configured features
RTC and RTT are available and already configured for this board but not provided by the build system
2019-01-20 13:10:25 +01:00
Leandro Lanzieri
2625a86450 boards/sensebox_samd21: Add MTD definitions 2019-01-18 13:25:35 +01:00
Tristan Bruns
8d50b8cc60 boards/hifive1: fix CLOCK_CORECLOCK 2019-01-17 17:21:09 +01:00
Tristan Bruns
6c1f2bb174 boards/hifive1: fix file permissions of flasher.sh 2019-01-17 16:33:25 +01:00
9daf3c74a9 boards/iotlab-m3: disable DMA with SPI 2019-01-15 19:49:32 +01:00
Sebastian Meiling
4a91b61ad8
Merge pull request #9930 from gebart/pr/frdm-k64f-lptmr
frdm-k64f: Add LPTMR configuration
2019-01-11 13:29:59 +01:00
afe3d676a5
Merge pull request #10126 from gschorcht/esp8266_doc
cpu/esp8266: doc extended
2019-01-11 08:00:09 +01:00
steffen
2ff2b2c1d7 drivers: Initial support for TPS6274x converter
drivers/tps6274x: initial support step-down converter
tests/driver_tps6274x: Added testcase for the step-down converter
boards/jiminy-mega256rfr2: Added TPS6274x config
2019-01-10 00:00:02 +01:00
Gunar Schorcht
d99d72c583
Merge pull request #10737 from aabadie/pr/boards/esp32-wroom-32-button
boards/esp32-wroom-32: configure saul button as inverted
2019-01-09 17:24:21 +01:00
Gunar Schorcht
fa0b4b801f cpu/esp8266: doc fixes 2019-01-09 16:55:21 +01:00
Kevin "Bear Puncher" Weiss
0b23e8898e
Merge pull request #10641 from gschorcht/esp32_spi_revision
cpu/esp32: cleanup in periph/spi
2019-01-09 14:02:06 +01:00
Gunar Schorcht
cb6b7539f4 boards/esp32*: cleanup of SPI interfaces
SPI0_DEV and SPI1_DEV configuration parameters are renamed SPI0_CTRL and SPI1_CTRL to better describe what they define and to avoid confusion with SPI_DEV (0) and SPI_DEV (1).
2019-01-09 13:04:28 +01:00
081c4a9c90 boards/esp32-olimex-evb: configure saul button as inverted 2019-01-09 12:52:24 +01:00
484572f881 boards/esp32-wroom-32: configure saul button as inverted 2019-01-09 10:00:16 +01:00
Kevin "Bear Puncher" Weiss
a1218f007b
Merge pull request #10643 from gschorcht/esp32_uart_board_fix
boards/esp32: UART configuration fix
2019-01-08 17:55:38 +01:00
3a5c9cb921 boards/nucleo-f207zg: configure and use DMA 2019-01-08 09:32:18 +01:00
abc97c2a1e boards/nucleo-l152re: configure and use DMA 2019-01-08 09:32:18 +01:00
294711d9ba boards/nucleo-f767zi: configure and use DMA 2019-01-08 09:32:18 +01:00
0b6bccb543 boards/iotlab-m3: configure and use DMA
Used with UART and SPI peripheral
2019-01-08 09:32:18 +01:00
9ecf12119f boards/b-l475e-iot01a: configure and use DMA 2019-01-08 09:32:18 +01:00
Vincent Dupont
08a85fbfdd boards/b-l072z-lrwan1: configure and use DMA 2019-01-08 09:32:18 +01:00
Vincent Dupont
962d81b652 boards/nucleo-f091rc: configure and use DMA 2019-01-08 09:32:18 +01:00
Bas Stottelaar
00e13e5713 boards: slstk3402a: use wtimer by default 2019-01-07 18:51:08 +01:00
Kevin "Bear Puncher" Weiss
605365cae0
Merge pull request #10696 from Derwaan/board/z1_fix-btn0
board/z1: Fix BTN0_PIN
2019-01-07 15:29:45 +01:00
bc5e3e7721
Merge pull request #10213 from kYc0o/pr/stm32l152_add_second_bank
boards/common: change openocd config file for stm32l1x
2019-01-03 13:31:04 +01:00
Kevin "Bear Puncher" Weiss
d9f26dbbe2
Merge pull request #10636 from aabadie/pr/cpu/nrf5x_gpio_common
cpu/nrf5x: move periph_gpio/periph_gpio_irq at an even more common level
2019-01-03 11:37:48 +01:00
Gomez Julien
905855b7c2 board/z1: Fix BTN0_PIN
Set BTN0_PIN to GPIO_PIN(2, 5) in board.h

#10611
2019-01-03 11:35:08 +01:00
Kevin "Bear Puncher" Weiss
2bf29dd99e
Merge pull request #10692 from aabadie/pr/boards/nucleo-f767_i2c
boards/nucleo-f767zi: use common STM32 i2c configuration
2019-01-03 10:17:44 +01:00
Kevin "Bear Puncher" Weiss
fd15cb8f77
Merge pull request #10646 from aabadie/pr/boards/nucleo-f072-i2c
boards/nucleo-f072rb: configure I2C using common stm32 configuration
2019-01-03 09:48:57 +01:00
Kevin "Bear Puncher" Weiss
90b5865692
Merge pull request #10691 from aabadie/pr/boards/stm32_useless_defines
boards/stm32: remove useless empty conf defines
2019-01-02 17:00:30 +01:00
c0b1d37d73 boards/nucleo-f072rb: use common i2c configuration 2019-01-02 16:08:56 +01:00
402f02d471 boards/nucleo-f767zi: use STM32 common i2c config 2019-01-02 16:06:34 +01:00
9a69c9bbc5 boards/stm32: remove useless empty conf defines 2019-01-02 14:52:38 +01:00
3eba44a660 boards/nucleo-f0207zg: use common clock and i2c configuration 2019-01-02 14:29:26 +01:00
24bc5ae254 boards/nucleo-f0xx: use common i2c configuration 2019-01-02 14:23:46 +01:00
541fc7f93f boards/stm32: add f2 common clock configuration 2019-01-02 14:23:46 +01:00
Kevin "Bear Puncher" Weiss
02ec3845de
Merge pull request #9728 from aabadie/pr/boards/stm32_common_i2c
boards: factorize some nucleo f4/f7/l4 i2c configuration
2019-01-02 14:05:32 +01:00
536e4a55a8 boards/nucleo-l496zg: provide and configure i2c 2019-01-02 11:27:42 +01:00
ed6dcfe872 boards/nucleo-f746zg: provide and configure i2c 2019-01-02 11:27:25 +01:00
4fd4ce4c54 boards/nucleo-f722/l476: use common i2c configuration 2019-01-02 11:26:54 +01:00
f8d8ddb1ef boards/stm32: adapt common i2c config to f7 and l4 2019-01-02 11:25:32 +01:00
b81941f953 boards/nucleo-f4**: use common clock and I2c configuration 2019-01-02 10:30:13 +01:00
08608c350c boards/stm32: add common I2C configuration
This configuration provides 1 I2C using I2C1 on PB8 and PB9, which is very common for STMs
2019-01-02 10:30:13 +01:00
11da5036fb boards/stm32: add new common clock configurations 2019-01-02 10:30:13 +01:00
824201b9ea boards/nucleo-l433rc: add I2C configuration 2019-01-02 10:19:46 +01:00
973a6a4c93 boards/stm32: remove unnecessary ADC defines in board config 2019-01-02 09:15:22 +01:00
Martine Lenders
b0f64dbb98
Merge pull request #9847 from aabadie/pr/tools/pyocd
dist/tools: add support for PyOCD programmer/debugger
2018-12-28 12:09:51 +01:00
f682476c87 boards/nucleo-l496zg: adapt conf to lpuart driver
Co-authored-by: Vincent Dupont <vincent@otakeys.com>
2018-12-27 14:16:05 +01:00
d2a07f0494 boards/nrf51dk: add pyocd in supported programmers 2018-12-21 14:56:26 +01:00
77c9f783bd boards/microbit: add pyocd in supported programmers 2018-12-21 14:56:26 +01:00
Dylan Laduranty
63e71cbbde
Merge pull request #10314 from fedepell/saml21-xpro_arduino
boards/saml21-xpro: add Arduino API support for saml21-xpro board
2018-12-20 14:03:19 +01:00
Federico Pellegrin
dc8c84f7eb boards/saml21-xpro: add Arduino API support for saml21-xpro board 2018-12-20 12:41:40 +01:00
Gunar Schorcht
c352966d29 boards/esp32: UART configuration fix
Fixes the UART pin configuration for UART_DEV(0). Since this configuration is fixed and only defined for documentation purposes, the change has no impact on the code.
2018-12-20 07:57:20 +01:00
4ae15d18b5 boards/stm32based: remove periph_gpio/irq from board level 2018-12-18 21:51:14 +01:00
839daf871a boards/nrf52: remove periph_gpio feature
It is now provided at cpu level in cpu/nrf5x_common
2018-12-18 21:33:27 +01:00
Francisco Acosta
3cf33f7b5c boards: add riotboot feature to tested boards
Currently only tested boards provide the feature riotboot.
Potentially all boards embeding a cortex-m0+/3/4/7 are
able to have riotboot as a feature, but other dependencies
need to be met, e.g. usage of cortexm.ld linker script,
double initialisation of cpu_init(), etc. See doc in
bootloaders/riotboot.
2018-12-18 19:31:35 +01:00
Peter Kietzmann
f1e80c4dd3
Merge pull request #10434 from aabadie/pr/sam0_gpio_features
cpu/sam0_common: provide periph_gpio/gpio_irq features at cpu level
2018-12-18 17:54:11 +01:00
Gaëtan Harter
321dc5292f
Merge pull request #10548 from jcarrano/flash-canned-recipe
Makefile.include: flash: do not peek into MAKECMDGOALS.
2018-12-18 14:09:55 +01:00
d95e19af15 boards*: remove periph_gpio/gpio_irq provided feature
It is now provided at cpu level
2018-12-17 20:54:09 +01:00
Martine Lenders
78308b93df
Merge pull request #10279 from aabadie/pr/boards/nrf52_common
boards/common/nrf52: introduce new and more generic common place
2018-12-17 12:29:57 +01:00
Martine Lenders
a3864aa103
Merge pull request #9158 from aabadie/pr/periph/stm32_lpuart
cpu/stm32-common: add support for lpuart
2018-12-17 12:16:27 +01:00
MrKevinWeiss
d7eb070eb4 cpu/stm32f1: Add remap support for stm32f1 cpus and boards
This commit fixes configuration problems when trying to use i2c pins that need to be remapped.
All B8 and B9 pins for STM32F1 need to be remapped, so a check is done if the remappable pins are selected.
2018-12-14 09:16:37 +01:00
58b85b256b boards: update UART conf for STM32 based boards 2018-12-13 12:39:00 +01:00
537e93a527 board/nucleo-l073: use LPUART for third UART 2018-12-13 12:39:00 +01:00
8c6a7bc370 boards/nucleo-l433rc: use lpuart for stdio
- this UART is connected to st-link and can be reached via USB
    - the second UART is linked to Arduino RX/TX pins
2018-12-13 12:39:00 +01:00
Kevin "Bear Puncher" Weiss
e0997b4fc7
Merge pull request #10600 from jia200x/pr/phyNODE_kw41Z
boards/phynode-kw41z: add initial support
2018-12-13 11:44:34 +01:00
5b17d52542
Merge pull request #10466 from maribu/stm32f103c_i2c
boards/common/stm32f103c8: Fixed I2C configuration
2018-12-13 11:25:22 +01:00
Jose Alamos
40d791e898 doc: add documentation for phynode-kw41z board 2018-12-13 10:35:50 +01:00
Jose Alamos
50c7b5c11a boards/phynode-kw41z: add initial support 2018-12-13 10:35:50 +01:00
aa7a8058d8 boards/ruuvitag: also use nrf52 common place 2018-12-13 10:15:42 +01:00
50fb400413 boards/thingy52: also use nrf52 common place 2018-12-13 10:15:42 +01:00
5fd907eb08 boards/nrf52840dk: remove useless provided feature 2018-12-13 10:15:42 +01:00
cd2f18311f boards/nrf52dk: remove useless provided feature 2018-12-13 10:15:42 +01:00
b2f4a7e735 boards/acd52832: also use nrf52 common place 2018-12-13 10:15:42 +01:00
5429c71cd3 boards/nrf52xxdk: use available nrf52 common place 2018-12-13 10:15:42 +01:00
cd206a909c boards/common/nrf52: add common nrf52 place 2018-12-13 10:15:42 +01:00
Leandro Lanzieri
4ce63d00ea
Merge pull request #10280 from fedepell/stk3700_arduino
boards/common/silabs: add Arduino API support for SiLabs boards
2018-12-12 09:51:13 +01:00
104bb525c9 boards/microbit: fix typo in flash script 2018-12-11 11:10:53 +01:00
Juan Carrano
c6b8cbea00 kinetis-based-boards: use FLASHDEPS instead of flash: xxxx.
With the canned recipe for flashing, flash dependencies should be
added to FLASHDEPS, instead of writing `flash: dependencies`. This
ensures that both flash and flash-only depend on the same prerequisites.
2018-12-06 15:36:53 +01:00
MrKevinWeiss
97e84f816c boards/frdm-k22f: Add second UART to config
This PR adds a second uart on two non-conflicting pins.
Since the first UART is used for shell this allows a usable UART.
2018-12-06 14:45:45 +01:00
Joakim Nohlgård
a42df69ea8 frdm-k64f: Add LPTMR configuration 2018-12-06 14:18:05 +01:00
Leandro Lanzieri
b6abbad6fb
Merge pull request #10553 from aabadie/pr/boards/feature_periph_irq_missing
boards/{firefly,samr30-xpro}: add missing `periph_gpio_irq` provided feature
2018-12-06 13:11:36 +01:00
e9c9fd5133 boards/samr30-xpro: add missing periph_gpio_irq feature 2018-12-05 17:56:57 +01:00
b600a908ec boards/firefly: add missing periph_gpio_irq feature 2018-12-05 17:56:48 +01:00
Gaëtan Harter
0b664453dc
hifive1/flasher.sh: get flash file from cli
Get FLASH_FILE from command line instead of environment variable.

The documentation was claiming ELFFILE was given as a command line argument
already, but is was not.

This is the same change as with `openocd.sh`.
2018-12-05 16:21:03 +01:00
Gaëtan Harter
a0b97ad737
openocd: get flash and debug files from cli
Get FLASH_FILE and ELFFILE from command line instead of environment variable.

The documentation was claiming ELFFILE was given as a command line argument
already, but is was not.
2018-12-05 16:21:03 +01:00
94b7b242b2 boards/nrf51dk: add initial support 2018-12-04 08:37:00 +01:00
8bd839f04d
Merge pull request #10473 from cladmi/pr/make/flash_sh/get_flashfile_from_cli
board/*/flash.sh: get file to flash from command line
2018-12-03 14:20:35 +01:00
Peter Kietzmann
c83493728a
Merge pull request #10435 from leandrolanzieri/pr/boards/sodaq_sara_r410m
boards/sodaq-sara-aff: Initial support
2018-12-03 14:11:34 +01:00
Leandro Lanzieri
d53fbb0045 boards/sodaq-sara-aff: Initial support 2018-12-03 10:05:37 +01:00
ed75f0a2c5 usb-kw41z: improve doc and sort module dependencies 2018-12-02 17:38:35 +01:00
Joakim Nohlgård
36e5b8ef23 usb-kw41z: NXP USB-KW41Z wireless IoT USB dongle 2018-12-01 13:51:55 +01:00
MrKevinWeiss
7c9ef1e9e0 boards/stm32l0: Fix openocd to prevent flash locking
This commit add the connect_assert_srst which requires the SRST to be asserted before trying to connect.
Certain firmwares will cause it to get to a state where flashing fails and the reset button must be pushed at the correct time to recover.
2018-11-30 10:07:18 +01:00
Kevin "Bear Puncher" Weiss
153759b926
Merge pull request #10498 from smlng/pr/adapt/7542
atmega: add periph_pwm (taken from #7542)
2018-11-29 15:54:51 +01:00
a7fa9e5580
Merge pull request #10478 from gebart/frdm/openocd-default-new
frdm: Use configuration for OpenOCD 0.10.0 or newer by default
2018-11-29 15:05:50 +01:00
Kevin "Bear Puncher" Weiss
46bdbb6535
Merge pull request #10484 from smlng/pr/atmega/timer
atmega: fix periph timer configuration
2018-11-29 14:28:23 +01:00
Joakim Nohlgård
26d782533c frdm: Use configuration for OpenOCD 0.10.0 or newer by default
Update your environment variables if you are running an older Debian or
Ubuntu release and use the distribution provided OpenOCD packages.
2018-11-29 14:23:49 +01:00
smlng
262a04c9cf atmega: fix periph timer configuration
- correct number of timers for atmega328p from 2 to 1
- correct number of timer channels for atmega328p from 3 to 2
- adapt atmega periph timer implementation accordingly
2018-11-29 09:30:44 +01:00
Victor Arino
8ff8aefb72 boards/arduino-atmega-common: support for PWM 2018-11-29 08:50:56 +01:00
Martine Lenders
4b06d64778
Merge pull request #10454 from jcarrano/msba2-fix-port
boards/msba2: Do not set PORT.
2018-11-28 16:43:23 +01:00
Juan Carrano
c4ccaecda5 boards/msba2: Do not set PORT.
Boards should not set PORT and should not have code conditional on
PORT as that causes PORT to be evaluated and the build to fail even
if this varible is not needed.

Exporting has the same effect.

This fixes the MSBA2 board by declaring PORT_LINUX and PORT_DARWIN
instead.
2018-11-28 15:46:53 +01:00
7078acfadf
Merge pull request #10423 from gebart/frdm-k64f/btn-macros
frdm-k64f: Define BTNx macros for user pushbuttons
2018-11-28 11:39:36 +01:00
Joakim Nohlgård
2b0892996e frdm-k64f: Define BTNx macros for user pushbuttons 2018-11-28 10:43:36 +01:00
Hauke Petersen
d8cfe1f470
Merge pull request #10476 from aabadie/pr/boards/nrf51_no_adc
boards/nrf51: remove ADC_NUMOF define when not needed
2018-11-28 09:48:37 +01:00
Juan I Carrano
bac432781c
Merge pull request #10471 from cladmi/pr/flash_sh/use_binfile
boards/flash.sh: rename HEXFILE to BINFILE
2018-11-27 17:56:27 +01:00
Juan I Carrano
0294a38429
Merge pull request #10472 from cladmi/pr/board/remote/common/fix_jlink_flasher
boards/common/remote: fix mis-migrated path for flash/reset
2018-11-27 15:19:09 +01:00
91e3215ce2 boards/nrf51: remove ADC_NUMOF define when not needed 2018-11-27 08:41:00 +01:00
Gaëtan Harter
1c12cb31e9
opencm904/flash: get arguments from cli 2018-11-26 17:28:36 +01:00
Gaëtan Harter
4ef7511b7e
microbit/flash: get BINFILE from cli 2018-11-26 17:14:55 +01:00
Gaëtan Harter
8b2ff285be
mbed_lpc1768/flash: get BINFILE from cli 2018-11-26 17:14:55 +01:00
Gaëtan Harter
44da86f2ee
calliope-mini/flash: get HEXFILE from cli 2018-11-26 17:14:55 +01:00
Gaëtan Harter
214f971174
boards/common/remote: fix mis-migrated path for flash/reset
The path to flash/reset/debug was not migrated correctly when moving to
`remote-common` (even before `common/remote`).
2018-11-26 17:01:02 +01:00
cladmi
52b0b183a3
boards/flash.sh: rename HEXFILE to BINFILE
Flasher are doing 'loadbin' so use BINFILE name.
2018-11-26 16:39:11 +01:00
Marian Buschsieweke
2b7a63b9b5
boards/common/stm32f103c8: Fixed I2C configuration
In commit e90f2b439e the I2C config has been
adapted to the new I2C API. However, the pins of I2C_DEV(0) have been changed
from PB6 and PB7 to PB8 and PB9. While PB8 and PB9 also can be used for I2C1
by remapping I2C1, this is not done. As a result, I2C1 was unusable. This
commit restores the default I2C1 pins for I2C_DEV(0), resulting in I2C_DEV(0)
becoming usable again.
2018-11-26 13:12:36 +01:00
430c50bcec boards/yunjia-nrf51822: use common clock config 2018-11-26 11:25:04 +01:00
4805fcc0a8 boards/microbit: use common clock config 2018-11-26 11:23:22 +01:00
a248a0aa51 boards/calliope-mini: use common clock config 2018-11-26 11:23:22 +01:00
ee2a5a3448 boards/nf6310: use common clock config 2018-11-26 11:23:22 +01:00
4c0dc13040 boards/nf51dongle: use common clock config 2018-11-26 11:23:22 +01:00
bcb23fbed8 boards/airfy-beacon: use common clock config 2018-11-26 11:23:22 +01:00
b1de432cd2 boards/common/nrf51: add common clock configuration 2018-11-26 11:23:22 +01:00
Hauke Petersen
ac50b4a052
Merge pull request #10243 from aabadie/pr/board/common_nrf51
boards/common: add common place for nrf51 based boards
2018-11-26 10:07:31 +01:00
Kevin "Bear Puncher" Weiss
c699eef9cb
Merge pull request #10424 from gebart/frdm-k22f/btn-macros
frdm-k22f: Define BTNx macros for user pushbuttons
2018-11-23 13:49:57 +01:00
059af13933
Merge pull request #10306 from aabadie/pr/drivers/mma8x5x_update
drivers/mma8x5x: remove useless type from initialization parameters
2018-11-22 10:18:43 +01:00
MichelRottleuthner
1be4d15a4e
Merge pull request #10390 from PeterKietzmann/pr_mega2560_puf_seed
cpu/atmega_common: add mega2560 puf_sram feature
2018-11-22 09:57:19 +01:00
Leandro Lanzieri
b2b7a54470
Merge pull request #10449 from smlng/pr/lorabox/gpio_irq
boards: add feature periph_gpio_irq to lobaro-lorabox
2018-11-22 08:07:07 +01:00
Sebastian Meiling
5b118df6b1 boards: add feature periph_gpio_irq to lobaro-lorabox 2018-11-21 17:35:49 +01:00
Juan I Carrano
68d68d18b4
Merge pull request #10362 from gschorcht/esp32_compile_fix
cpu/esp32: fixes compile problems
2018-11-21 14:18:15 +01:00
5436f84449 boards/microbit: auto include mma8653 driver with saul 2018-11-20 10:42:14 +01:00
b089b9076f boards/microbit: remove useless MMA8X5X_TYPE param 2018-11-20 10:42:14 +01:00
PeterKietzmann
8d11ca417f cpu/atmega_common: add mega2560 puf_sram feature 2018-11-20 09:45:32 +01:00
d15f287312
Merge pull request #10414 from gebart/frdm-kw41z/btn-macros
frdm-kw41z: Define BTNx macros for user pushbuttons
2018-11-19 16:14:05 +01:00
Joakim Nohlgård
126f232cc6
Merge pull request #10394 from aabadie/pr/boards/frdm-kw41z-update-i2c
boards/frdm-kw41z: update i2c configuration
2018-11-19 08:17:50 +01:00
Joakim Nohlgård
e1a4f7d7b9 frdm-k22f: Define BTNx macros for user pushbuttons 2018-11-17 21:52:47 +01:00
Joakim Nohlgård
9e9a01bc19 frdm-kw41z: Use SAUL_GPIO_INVERT on SW3, SW4 inputs
with this flag set, reading 1 means that the button is being pressed.
2018-11-16 13:23:08 +01:00
Joakim Nohlgård
38f8cc2284 frdm-kw41z: Define BTNx macros for user pushbuttons 2018-11-16 13:17:40 +01:00
e47e996b0e boards/frdm-kw41z: autoload fxos8700 with saul_default 2018-11-15 21:23:08 +01:00
fb5aed464f boards/frdm-kw41z: update i2c configuration
Remove first I2C that is not reachable from the pinout and is not connected to anything. Move I2C1 as the first I2C device.
Update FXOS8700 I2C device in board configuration
2018-11-15 08:57:20 +01:00
Schorcht
16f0bf4fdc cpu/esp32: fixes compile problems 2018-11-10 14:14:49 +01:00
Federico Pellegrin
994999132a boards/common/silabs: add Arduino API support for SiLabs boards 2018-11-08 17:03:19 +01:00
Peter Kietzmann
411b12b40f
Merge pull request #10232 from Josar/patch-2
Update Jiminy doc.txt
2018-11-06 18:53:06 +01:00
Josar
834bb94987 boards/jiminy-256rfr2: Fuse, Troubleshooting
Added explanation for fuse settings.
Brown-out when 1.8V is set as system voltage.
Power increase in deep sleep when ext. xtal as system clock.
2018-11-06 17:13:26 +01:00
880b3319db
Merge pull request #10323 from maribu/stm32f103c8_rom_hack
boards: Enable STM32F103C8 ROM hack via env var
2018-11-06 14:41:06 +01:00
Marian Buschsieweke
82ea9a02de
boards: Enable STM32F103C8 flash hack via env var
The STM32F103C8 secretly comes with 128KiB flash instead of 64KiB. Still, only
64KiB of it are tested and guaranteed to work. However, most of the times the
whole 128KiB flash works just fine. In the BluePill documentation this fact is
already documented and by using

    $ make BOARD=bluepill CPU_MODEL=stm32f103cb

the whole 128 KiB can be used by RIOT. When using this hack routinely, it easier
to use environment variables instead. But allowing to overwrite CPU_MODEL via
environment variables seems to be a bad thing, as it is easy to forget to clear
that environment variable when changing the BOARD variable.

This commit introduces the new STM32F103C8_FLASH_HACK variable, which unlocks
the 128KiB FLASH when set to "1". The BluePill documentation has been updated
accordingly.
2018-11-05 14:19:21 +01:00
Marian Buschsieweke
6189f9b400
boards/msba2: Added call to periph_init 2018-11-05 13:54:04 +01:00
Francisco Acosta
73f6328137 jiminy-mega256rfr2: add BOOTLOADER_CLEARS_WATCHDOG_AND_PASSES_MCUSR
This variable helps to inform at boot time that some
information about the booting process, e.g. reset cause.
2018-11-02 16:39:15 +01:00
Francisco Acosta
956ae521dc boards: add atmega based boards clock scale defaults
The `atmega_set_prescaler` was using a "sensible" default
but it's better to define it at the board level to make
it clear.
2018-11-02 16:24:30 +01:00
Francisco Acosta
5823f69123 boards: add LED_PANIC to atmega based boards
This adds a LED_PANIC macro which defines which LED,
or combination of LEDs should notify a panic error.
This is currently used to signal BADISR_vect errors.
2018-11-02 16:23:48 +01:00
Jens Alfke
ce1fe776cf cpu/esp32: allow explicit ESP32 crystal freq configuration
Some ESP32 boards (like my SparkFun ESP32 Thing) have a main clock
crystal that runs at 26MHz, not 40MHz. RIOT appears to assume 40MHz.
The mismatch causes the UART to not sync properly, resulting in
garbage written to the terminal instead of log output.

I’ve added:

* A new board configuration constant ESP32_XTAL_FREQ that defaults
  to 40, but can be overridden by a board def or at build time to
  force a specific value (i.e. 26).
* Some code spliced into system_clk_init() to check this constant and
  call rtc_clk_init() to set the correct frequency.
* A copy of the rtf_clk_init() function from the ESP-IDF sources.

Fixes #10272
2018-10-30 16:42:07 -07:00
b3b0cd921a boards/calliope-mini: factorize common code 2018-10-27 09:47:42 +02:00
59b3252888 boards/microbit: add possibility to flash with openocd 2018-10-27 09:47:42 +02:00
871d72ffb4 boards/nrf6310: factorize common code 2018-10-27 09:47:42 +02:00
5e8c92d69c boards/nrf51dongle: factorize common code 2018-10-27 09:47:42 +02:00
a4463be1e3 boards/microbit: factorize common code 2018-10-27 09:47:42 +02:00
a1d65583cb boards/yunjia-nrf51822: factorize common code 2018-10-27 09:47:42 +02:00
0842eb56ce boards/airfy-beacon: factorize common code 2018-10-27 09:47:42 +02:00
84cdab8c0b boards/common/nrf51: introduce common location 2018-10-27 09:47:42 +02:00
Francisco Acosta
974f28fc4c boards/nucleo-l152re: use its own openocd config file
The nucleo-l152re is the only stm32l1x supported board with
two flash banks according to openocd config. Thus, adding
the right config file makes the whole flash available.
2018-10-26 16:50:12 +02:00
f139dfdad2
Merge pull request #10266 from aabadie/pr/typo_freie
boards/*: fix typo Feie => Freie
2018-10-26 11:32:36 +02:00
2ebd88d0c4 boards/*: fix typo Feie => Freie 2018-10-26 10:26:59 +02:00
MichelRottleuthner
da0f722a1c
Merge pull request #10245 from MichelRottleuthner/pr_l476rg_add_i2c_config
boards/nucleo-l476rg: add I2C configuration
2018-10-25 14:02:50 +02:00
Michel Rottleuthner
2bbc9be47a boards/nucleo-l476rg: add I2C configuration 2018-10-25 09:45:17 +02:00
José Alamos
6f9838f14a
Merge pull request #9881 from basilfx/feature/slstk3401a_docs
boards: slstk3401a: add docs
2018-10-24 12:55:53 +02:00
Juan I Carrano
4d85bcf510
Merge pull request #10062 from cladmi/pr/make/cpu/fe310/features
cpu/fe310: rtc depend on the rtt feature and hifive1 update
2018-10-23 13:28:17 +02:00
José Alamos
27f61a2ca6
Merge pull request #10207 from PeterKietzmann/pr_move_jiminy_doc
doc/boards: move jiminy from wiki to RIOT repo
2018-10-19 16:44:24 +02:00
PeterKietzmann
ecb5972a2a doc/boards: move jiminy from wiki to RIOT repo 2018-10-19 15:44:36 +02:00
3ee51bf059 boards/wsn430*: fix doxygen grouping 2018-10-18 17:41:22 +02:00
smlng
3f938123d5 lorabox: add port to flasher parameters
This adds the port parameter to the stm32loader flash script. This was
necessary to allow flashing on macOS X where the default port is not
autodetected correctly and needs to be specified, e.g. by running:

    BOARD=lobaro-lorabox PORT=/dev/tty.SLAB_USBtoUART \
    make -C examples/lorawan flash term`
2018-10-17 16:07:00 +02:00
Kevin "Bear Puncher" Weiss
7187bbf8cf
Merge pull request #9426 from gschorcht/esp32
ESP32 port
2018-10-16 15:24:25 +02:00
dfe03562a8
Merge pull request #7401 from dailab/Firefly
boards: add Zolertia Firefly board
2018-10-16 10:28:48 +02:00
Gunar Schorcht
dc6b193e2a boards/esp32: fix of Arduino pinmap 2018-10-15 16:09:13 +02:00
Sebastian Meiling
6c847b8258
Merge pull request #9945 from Teufelchen1/bluepill-uart
Adding additional information about the default uart configuration to the bluepill docs
2018-10-15 12:00:28 +02:00
Sebastian Meiling
2b67078896
Merge pull request #10141 from MrKevinWeiss/pr/remoteb/docupdate
boards/remote-revb: Update broken link in readme
2018-10-15 11:24:31 +02:00
Gunar Schorcht
eb350292fb boards/esp32-wrover-kit: change default PORT_LINUX
Changes the default port on LINUX systems to /dev/ttyUSB1. /dev/ttyUSB0 is the JTAG interface for OCD.
2018-10-15 11:14:52 +02:00
MrKevinWeiss
cfebd7b4a2 boards/remote*: Update broken link in readme 2018-10-12 15:55:04 +02:00
Kevin "Bear Puncher" Weiss
0719442ddc
Merge pull request #10072 from haukepetersen/fix_nrf52xxxdk_resetpin
boards/nrf52xxxdk: make reset pin work
2018-10-12 09:36:30 +02:00
cladmi
b450141d4d
boards: unconditionally include CPU/Makefile.features
The file always exist so no need to do '-include'.

Replaced using:

    sed -i 's|-\(include $(RIOTCPU)/.*/Makefile.features\)|\1|' \
        $(git grep -l  '$(RIOTCPU)/.*/Makefile.features' boards)
2018-10-11 17:13:40 +02:00
Schorcht
8e0d69c807 cpu/esp32: define ARDUINO_PIN_* 2018-10-11 09:33:43 +02:00
Schorcht
be78bb3a4d boards: add esp32-wrover-kit 2018-10-08 12:20:49 +02:00
Schorcht
6226b5dddd boards: add esp32-wroom-32 2018-10-08 12:20:49 +02:00
Schorcht
692d6725e2 boards: add esp32-wemos-lolin-d32-pro 2018-10-08 12:20:49 +02:00
Schorcht
d3444e2631 boards: add esp32-olimex-evb 2018-10-08 12:20:49 +02:00
Schorcht
c11a36ec6c boards: add esp32-mh-et-live-minikit 2018-10-08 12:20:49 +02:00
Schorcht
6ed5e0565b boards: add common esp32 based sources 2018-10-08 12:20:49 +02:00
danpetry
8e1ffd5176 Add limitations to doc.txt.
This describes the limitations of the interrupt pin being multiplexed.

Fixup: add details of specific pins
2018-10-05 13:29:12 +02:00
Anon Mall
f6f6f2fbf0 boards/firefly: add initial support 2018-10-04 17:23:42 +02:00
Vincent Dupont
0cbef09575 native: use gnu99 by default 2018-10-04 08:48:43 +02:00
4df9e059ae boards/samr30-xpro: add initial board support
Co-authored-by: biboc <bapclenet@gmail.com>
2018-10-01 10:20:41 +02:00
Sebastian Meiling
dc8653363c
Merge pull request #10063 from cladmi/pr/hifive1/use_fe310_features
boards/hifive1: include cpu/fe310 features
2018-10-01 08:38:50 +02:00
Hauke Petersen
19d0da08f9 boards/nrf52xdk: add doc for reset pin config 2018-09-28 16:58:38 +02:00
cladmi
1c89d23e5b
boards/hifive1: include cpu/fe310 features
The board should process its CPU features.
This has the consequence to make 'periph_pm' visible to the board.

I also removed the duplicate FEATURES_PROVIDED from the board defined in
the cpu.
2018-09-27 18:24:51 +02:00
cladmi
635691199a
boards/hifive1: remove erroneous features parsing
Remove duplicate handling of `periph_rtc` dependency to `periph_rtt` now
declared in the cpu.

Also the makefiles should not parse FEATURES_REQUIRED as it does not
guarantee anything as features could also be requested by FEATURES_OPTIONAL.
In practice it should parse it using `USEMODULE`.
2018-09-27 18:11:18 +02:00
cladmi
dc7726df66
board/mips-malta: include the cpu features instead of common cpu
This change was missed when the cpu 'mips32r2_generic' was separated
from 'mips32r2_common'. The target file already includes 'mips32r2_common'.
2018-09-27 17:49:49 +02:00
MrKevinWeiss
3360ec1c11 boards/openmote-b: Fix RF_SWITCH_* logic to active low
RF_SWITCH_2_4_GHZ_ON should turn PD4 low not high to active the 2.4 GHz radio.
The same goes for RF_SWITCH_SUB_GHZ_ON on PD3.
2018-09-27 08:13:08 +02:00
Joakim Nohlgård
7a857a939c
Merge pull request #9807 from gebart/pr/kinetis-adc-average
kinetis: ADC: Add hardware averaging configuration
2018-09-26 12:54:29 +02:00
Bennet Blischke
a4b1e1c367 Adding default uart configuration to bluepill docs
truncated the lines to fit into a 80 character limit
2018-09-23 16:40:33 +02:00
Peter Kietzmann
b0ff74bac2
Merge pull request #9951 from leandrolanzieri/pr/sensebox_adc
boards/sensebox_samd21: Add ADC configuration
2018-09-20 18:27:21 +02:00
Leandro Lanzieri
a5cc36ed32 boards/sensebox_samd21: Add ADC support
boards/sensebox_samd21: Modify ADC documentation
2018-09-20 17:49:32 +02:00
Peter Kietzmann
e1f4d8a76f
Merge pull request #9954 from leandrolanzieri/pr/sensebox_bmp280
boards/sensebox_samd21: Add BMP280 I2C address
2018-09-20 17:32:14 +02:00
Hauke Petersen
c7e6d15990
Merge pull request #9976 from haukepetersen/fix_native_gpioirqfeatureremove
native: remove feature `periph_gpio_irq`
2018-09-20 15:18:21 +02:00
Hauke Petersen
0298cda5d4 boards/native: remove feature periph_gpio_irq
As it is not implemented in the first place.
2018-09-20 14:51:19 +02:00
Hauke Petersen
85d31a2217 boards/pic32-based: rm missing gpio_irq feature 2018-09-20 14:50:32 +02:00
Silke Hofstra
ee82d4fbfe boards, examples, tests: rename stm32mindev to blackpill 2018-09-19 16:22:14 +02:00
1022050dc7
Merge pull request #9923 from cladmi/pr/cleanup/duplicate_includes
boards/cpu: cleanup duplicate includes
2018-09-19 16:08:37 +02:00
Francisco Acosta
3721f193d0
Merge pull request #9816 from leandrolanzieri/lobaro_port
boards/lobaro-lorabox: Add support for Lobaro LoraBox board
2018-09-18 19:35:59 +02:00
Bas Stottelaar
483ee31e46
Merge pull request #9879 from basilfx/feature/efm32_dcdc_off
cpu: efm32: add support for no DC-DC converter
2018-09-18 19:16:26 +02:00
Leandro Lanzieri
177ef5bfa9 boards/lobaro-lorabox: Add initial support for Lobaro Lorabox board 2018-09-18 18:07:07 +02:00
Leandro Lanzieri
55047da195 boards/sensebox_samd21: Add BMP280 I2C address 2018-09-18 14:48:44 +02:00
Leandro Lanzieri
5cc7b6711f drivers/sx127x: add preliminar multi interrupt pin support
drivers/sx127x: add option to use or not multi dio
2018-09-18 14:02:31 +02:00
Bas Stottelaar
e12d4e8a2f boards: sltb001a: throw error on EMU_DCDCINIT_OFF 2018-09-17 19:36:56 +02:00
Bas Stottelaar
333ae1ee2b boards: slstk3401a: throw error on EMU_DCDCINIT_OFF 2018-09-17 19:36:45 +02:00
Joakim Nohlgård
dd2fad6b9b kinetis: ADC: Add hardware averaging configuration
This allows a board configuration to select which kind of averaging
should be applied to the pin instead of always using 32 sample average.
Very high impedance sources may need to disable hardware averaging in
order to give correct values, the on-chip temperature sensor is one such
signal source.
2018-09-12 16:32:48 +02:00
cladmi
6fc8fae2c8
boards/Makefile.include: remove duplicate includes
Includes of $(CPU)/include and $(BOARD)/include and already added in the
main Makefile.include.

Verification:

There are no common headers names between boards and cpus.
Except native that has a 'periph_conf.h' in cpu instead of being in board.
2018-09-11 16:28:18 +02:00
cladmi
99a0664bf7
pba-d-01-kw2x: remove duplicate MCPU
MCPU is already defined to `CPU_ARCH` which is `cortex-m4`.
Removing this line does not change the value:

    make --no-print-directory -C examples/hello-world/ BOARD=pba-d-01-kw2x \
        info-debug-variable-CPU_ARCH info-debug-variable-MCPU
    cortex-m4
    cortex-m4
2018-09-11 15:38:27 +02:00
Andreas "Paul" Pauli
dc6eb82406
Merge pull request #9722 from smlng/pr/cc2538/adc
cpu/cc2538: enhance periph ADC
2018-09-06 14:12:03 +02:00
Francisco Acosta
fad4d9be19
Merge pull request #9781 from cladmi/pr/toolchain/avr/linkerscript
atmega_common: allow defining rom and ram length for link.
2018-09-05 16:00:33 +02:00
cladmi
3bf71959d7
waspmote-pro: configure BOOTLOADER_SIZE
Size is from Francisco knowledge on stk500v1.
2018-09-05 12:20:51 +02:00
cladmi
109467d881
mega-xplained: configure BOOTLOADER_SIZE
Value found by checking fuse settings
2018-09-05 12:20:49 +02:00
cladmi
f59c1c5c2d
jiminy-mega256rfr2: configure BOOTLOADER_SIZE
Value comes the maintainer.
2018-09-05 12:20:46 +02:00
cladmi
8982a08886
arduino-uno: configure BOOTLOADER_SIZE
Taken from https://store.arduino.cc/arduino-uno-rev3
2018-09-05 12:20:43 +02:00
cladmi
6a96042b4a
arduino-mega2560: configure BOOTLOADER_SIZE
Taken from https://store.arduino.cc/arduino-mega-2560-rev3
2018-09-05 12:20:41 +02:00
cladmi
2c1344fc9f
arduino-duemilanove: configure BOOTLOADER_SIZE
Taken from https://www.arduino.cc/en/Main/ArduinoBoardDuemilanove
2018-09-05 12:20:38 +02:00
José Alamos
17b14cd8a0
Merge pull request #9883 from leandrolanzieri/pr/sensebox_sx127x_pa
boards/sensebox_samd21: Use PA_BOOST option on SX127X radios
2018-09-05 10:42:18 +02:00
Schorcht
fa213ddd86 boards: add esp8266-sparkfun-thing 2018-09-05 02:39:50 +02:00
Schorcht
081a8e8921 boards: add esp8266-olimex-mod 2018-09-05 02:39:50 +02:00
Schorcht
eca7169696 boards: add esp8266-esp-12x 2018-09-05 02:39:50 +02:00
Schorcht
bc1906ef42 boards: add common esp8266 based sources 2018-09-05 02:39:50 +02:00
Leandro Lanzieri
9fd10fdad7 boards/sensebox_samd21: Use PA_BOOST for SX127X radios 2018-09-03 14:02:43 +02:00
smlng
d40cfab95a cpu/cc2538: enhance periph ADC
Adapt the periph ADC implementation to use vendor defines where
    ever possible. Remove duplicate or obsolete defines and adapt
    board configuration as required.
2018-09-03 09:01:42 +02:00
Bas Stottelaar
3139c9955f boards: slstk3401a: add docs 2018-09-02 22:23:08 +02:00
Bas Stottelaar
6ae49aa649 boards: sltb001a: add docs 2018-09-02 22:22:17 +02:00
Peter Kietzmann
daf2532c7d
Merge pull request #9760 from MrKevinWeiss/pr/bluepill/openocdfix
boards/stm32f103c8: fix openocd config
2018-08-30 09:24:58 +02:00
Joakim Nohlgård
8996cbe313 make: Introduce new feature flag periph_gpio_irq 2018-08-29 08:53:20 +02:00
José Alamos
ed14e806c3
Merge pull request #9791 from basilfx/feature/slstk3402a_docs
boards: slstk3402a: add docs
2018-08-28 11:52:35 +02:00
Francisco Acosta
185c5a53db
Merge pull request #9801 from gebart/pr/frdm-kw41z-adc-config
frdm-kw41z: Clean up ADC configuration
2018-08-27 19:45:32 +02:00
Peter Kietzmann
bc667ec3e0
Merge pull request #9817 from leandrolanzieri/pr/sensebox_fixdoc
boards/sensebox_samd21: Fix documentation
2018-08-23 08:40:30 +02:00
Leandro Lanzieri
0bfb01b7b9 boards/sensebox_samd21: Fix documentation 2018-08-22 14:41:59 +02:00
Hauke Petersen
c2184f3454 boards/cpu/drivers/sys: use generic stdio_ if 2018-08-22 10:54:25 +02:00
Semjon Kerner
c0ee92e776 boards/nrf52dk: add PWM configuration 2018-08-21 11:28:23 +02:00
Joakim Nohlgård
504db007db frdm-kw41z: Clean up ADC configuration
Reorder ADC lines to put the external connections first in the list.
Remove VREFH, VREFL signals. Add single ended reading of ADC0_DP
2018-08-20 15:17:58 +02:00
Peter Kietzmann
3b0b95567c
Merge pull request #9780 from maribu/nucleo-64-spi
boards: Extended/fixed SPI config for STM32 Nucleo-64 boards
2018-08-20 09:39:55 +02:00
Peter Kietzmann
064485519f
Merge pull request #9406 from beduino-project/phywave-openocd-upstream
boards/pba-d-01-kw2x: use OpenOCD-supplied config
2018-08-17 11:23:53 +02:00
Kevin Weiss
3673c55394
Merge pull request #9779 from maribu/nucleo-64-uart
boards: Harmonized UART config of Nucleo-64 boards
2018-08-17 08:13:12 +02:00
Bas Stottelaar
11bce76c9c boards: slstk3402a: add docs 2018-08-16 21:37:51 +02:00
smlng
1f3ce773d7 boards/stm32f103c8: add docu on flashing with DFU 2018-08-15 15:00:13 +02:00
smlng
9b23863804 boards/stm32f103c8: update dfu-util flash flags
The latest bootloader has new usb device id and needs different
parameters to flash a RIOT image using `dfu-util`.
2018-08-15 14:45:06 +02:00
Marian Buschsieweke
5a3326350b
boards: Harmonized UART config of Nucleo-64 boards
- nucleo-f334r8:
  - Added USART1 and USART3 config
- nucleo-f401re:
  - Changed order of UARTs to match the other boards
- nucleo-f410rb:
  - Added USART6 configuration
  - Fixed incorrect DMA settings (according to reference manual of the MCU)
- nucleo-f446re:
  - Changed order of UARTs to match the other boards
- nucleo-l152re:
  - Changed order of UARTs to match the other boards

The result of this harmonization is, that the first UART is always USART2, the
other USARTs are added in ascending order.
2018-08-15 12:51:41 +02:00
Marian Buschsieweke
41e73396e0
boards/nucleo-f303re: Fixed/extended SPI conf 2018-08-15 12:03:32 +02:00
Marian Buschsieweke
171a8bfe27
boards/nucleo-f072rb: Added SPI2 config 2018-08-15 11:58:19 +02:00
Marian Buschsieweke
a8b980abfb
board/nucleo-f030r8: Added SPI config 2018-08-15 10:52:17 +02:00
José Alamos
a697689c4c
Merge pull request #9729 from leandrolanzieri/pr/sensebox
boards/sensebox: Add support for SenseBox board
2018-08-15 10:04:57 +02:00
Francisco Acosta
3f5564b212
Merge pull request #9764 from gebart/pr/frdm-k64f-saul-adc
frdm-k64f: Add SAUL ADC configuration
2018-08-14 19:19:38 +02:00
Francisco Acosta
f74a1df875
Merge pull request #9763 from gebart/pr/frdm-k64f-adc
frdm-k64f: Update ADC configuration
2018-08-14 19:18:33 +02:00
Francisco Acosta
0c14681a3e
Merge pull request #9710 from basilfx/feature/slstk3402a_i2c
boards: slstk3402a: add i2c
2018-08-14 12:34:36 +02:00
Jose Alamos
d54a74736d boards/sensebox: Initial board port for SenseBox MCU with SAMD21 2018-08-13 10:49:46 +02:00
Joakim Nohlgård
8487710173 frdm-k64f: Add ADC SAUL configuration 2018-08-11 06:38:23 +02:00
MrKevinWeiss
5fa366fc59 boards/stm32f103c8: Remove lines from openocd.cfg handled my makefile 2018-08-10 16:59:57 +02:00
Joakim Nohlgård
45edfa43bf frdm-k64f: Add configuration for dedicated analog pins
These pins have no alternate function in the pin mux so we might as well
make them available to applications. These pins are the only pins which
provide differential analog input pairs on this board.
2018-08-10 16:27:06 +02:00
Joakim Nohlgård
9d720877d3 frdm-k64f: Change ADC config to use the Arduino compatible pins 2018-08-10 16:25:35 +02:00
Joakim Nohlgård
da5a57e72d frdm-k64f: Correct and format ADC pin configuration
Only ADC1 has a connection with the configured pins, the chosen channels
on ADC0 are connected to other pins.
2018-08-10 16:23:59 +02:00
MrKevinWeiss
2bf16a5555 boards/stm32f103c8: fix openocd config
When flashing multiple times the flasher gets stuck.
Default configuration is used that fixes running mulitple tests.
-c 'reset halt' is needed to support debug after config is changed.
2018-08-10 14:41:35 +02:00
4d141d4885 boards/frdm-kw41z: cleanup documentation
- Cleanup brief description to be consistent with other boards
- Move general documentation in doc.txt
2018-08-10 13:54:25 +02:00
1ffe438488 boards/jiminy-mega256rfr2: cleanup documentation
- Cleanup brief description to be consistent with other boards
- Move general documentation in doc.txt
2018-08-10 13:54:17 +02:00
5eb3cb0120 boards/native: cleanup documentation
Display brief description instead of link to the wiki
2018-08-10 13:54:17 +02:00
172942ce8c boards/common: cleanup documentation
Display brief description instead of copyright
2018-08-10 13:54:17 +02:00
0ee7bd2f90 boards/*: cleanup arduino-due and udoo doc
- display brief description instead of copyright
- add a reference to the 'real' documentation, otherwise it's empty
2018-08-10 13:54:17 +02:00
smlng
e246c19fe1 cpu/cc2538: adapt periph/spi to gpio API
Rework SPI periph driver to use proper RIOT GPIO API functions.
    Also cleanup header files by using vendor defines and remove
    obsolete code. Further, adapt board config accordingly.
2018-08-10 10:38:51 +02:00
Vincent Dupont
0e48bd0d93
Merge pull request #9716 from aabadie/b-l475e-iot01-sensors
boards/b-l475e-iot01a: configure second I2C and on-board sensors (lis3mdl, lsm6dsl and hts221)
2018-08-08 12:13:00 +02:00
Vincent Dupont
ed27927f76 boards/nucleo-f091: add i2c configuration 2018-08-07 14:46:57 +02:00
Kevin Weiss
1bbd7fcd62
Merge pull request #9724 from smlng/pr/cc2538/spi_clk
cpu/cc2538: generalise SPI clock configuration
2018-08-07 14:33:05 +02:00
Kevin Weiss
8468fe1c94
Merge pull request #8516 from jia200x/wiki_dox_convertion
doc: move wiki to Doxygen documentation (second attempt)
2018-08-07 13:27:04 +02:00
smlng
459f7ebce0 cpu/cc2538: generalise SPI clock configuration
The SPI bus frequency/clock is calculated relative to the MCUs
    core clock. Currently all boards use the default 32MHz, hence
    prescaler settings for SPI are all the same. This PR moves the
    default config for 32MHz to the CPU and allows to be overriden
    by board config if needed.
2018-08-07 12:15:45 +02:00
ab26a1bf79 boards/nucleo-f070rb: add missing periph_i2c feature 2018-08-07 11:26:57 +02:00
Kees Bakker
a10bec6874 boards/sodaq-one: add support for SODAQ ONE
The following features were tested (briefly):
* UART (the first)
* xtimer is working (it's the same code as in samr21)
2018-08-07 11:06:14 +02:00
Kevin Weiss
a48b8e741b boards/openmote-b: Add board support 2018-08-07 10:32:03 +02:00
ad34cb311a boards/b-l475e-iot01a: configure on-board sensors
HTS221, LIS3MDL and LSM6DSL
2018-08-06 11:30:29 +02:00
61a9f791b6 boards/b-l475e-iot01a: configure second I2C
This I2C bus is used by on-board sensors
2018-08-06 10:58:25 +02:00
Bas Stottelaar
809ec68642 boards: slstk3402a: enable saul for on-board Si7021 2018-08-05 15:37:10 +02:00
Bas Stottelaar
9620b45c45 boards: slstk3402a: add i2c support 2018-08-05 15:36:46 +02:00
Jose Alamos
2531487fca boards/periph_conf: fix Doxygen group directives 2018-08-01 15:24:55 +02:00
Jose Alamos
7b28fbf110 boards: fix Doxygen group directives 2018-08-01 15:24:55 +02:00
Jose Alamos
a1e17ab5af doc: add wiki documentation to Doxygen files 2018-08-01 15:24:54 +02:00
smlng
530571b50e boards/yunjia-nrf51822: add missing I2C speed config 2018-07-25 15:17:43 +02:00
smlng
813030ddf5 boards/sodaq-explorer: fix attr order in i2c_config 2018-07-25 15:17:43 +02:00
smlng
75d7bcb26a boards/sodaq-autonomo: fix attr order in i2c_config 2018-07-25 15:17:43 +02:00
smlng
a6d4ade2c6 boards/samr21-xpro: fix attr order in i2c_config 2018-07-25 15:17:43 +02:00
smlng
f727761fa2 boards/saml21-xpro: fix attr order in i2c_config 2018-07-25 15:17:43 +02:00
smlng
d698919589 boards/samd21-xpro: fix attr order in i2c_config 2018-07-25 15:17:43 +02:00
smlng
4abf93fcc8 boards/feather-m0: fix attr order in i2c_config 2018-07-25 15:17:43 +02:00
smlng
2a05e5177d boards/acd52832: add missing I2C speed to config 2018-07-25 15:17:43 +02:00
smlng
f16272506c boards/nucleo-f070: drop periph_i2c
This drops the I2C feature for the nucleo-f070. Note: this is
    only temporarily, to get the new I2C API merged into master.
    Hence, will be re-introduces and fixed later on, sorry for any
    inconvenience.
2018-07-25 15:17:43 +02:00
dylad
4276c12be0 board/ublox-c030-u201: add periph_conf to new I2C
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-07-25 15:17:43 +02:00
smlng
500c855017 boards/arduino-mkr*: fix order in struct
C++ requires to init struct attributes in order of there definition
        in the respective struct.
2018-07-25 12:01:40 +02:00
smlng
7c2404cd88 boards/arduino-zero: fix order in struct
C++ requires to init struct attributes in order of there definition
    in the respective struct.
2018-07-25 12:01:40 +02:00
dylad
8964f3accc board/limifrog-v1: add missing I2C changes in periph_conf 2018-07-25 12:01:40 +02:00
dylad
365f72acd4 board/nz32-sc151: add missing I2C changes in periph_conf 2018-07-25 12:01:40 +02:00
Bas Stottelaar
0541b5c449 boards: efm32: adapt to new i2c interface. 2018-07-25 12:01:40 +02:00
c26888c9f7 boards: adapt atmega boards with new i2c API 2018-07-25 12:01:39 +02:00
12e282d527 boards/calliope-mini: adapt i2c config 2018-07-25 12:01:39 +02:00
70d9495b6f board/airdy-beacon: adapt i2c config 2018-07-25 12:01:39 +02:00
aab0ecee4f boards/microbit: fix MMA8653 configuration defines 2018-07-25 12:01:39 +02:00
f8f4cb1273 boards/microbit: adapt I2C periph configuration 2018-07-25 12:01:39 +02:00
Joakim Nohlgård
238b4dda2f pba-d-01-kw2x: Update I2C ISR config 2018-07-25 12:01:39 +02:00
Joakim Nohlgård
127b0134b2 mulle: Update I2C ISR config 2018-07-25 12:01:39 +02:00
Joakim Nohlgård
84ba49f158 frdm-kw41z: Update I2C ISR config 2018-07-25 12:01:39 +02:00
Joakim Nohlgård
ecb44c477c frdm-k64f: Update I2C ISR config 2018-07-25 12:01:39 +02:00
Joakim Nohlgård
c2583dd225 frdm-k22f: Update I2C ISR config 2018-07-25 12:01:39 +02:00
Joakim Nohlgård
2728a56ed8 pba-d-01-kw2x: Update I2C configuration 2018-07-25 12:01:39 +02:00
Joakim Nohlgård
d95cf40d23 mulle: Update I2C configuration 2018-07-25 12:01:39 +02:00
Joakim Nohlgård
695f6fb2b6 frdm-kw41z: Update I2C configuration 2018-07-25 12:01:39 +02:00
Joakim Nohlgård
9e8f5a03d0 frdm-k64f: Update I2C configuration 2018-07-25 12:01:39 +02:00
Joakim Nohlgård
251c4c109e frdm-k22f: Update I2C configuration 2018-07-25 12:01:39 +02:00
smlng
dce3bba8c4 boards: fix config of cc2538 boards for new I2C API 2018-07-25 12:01:38 +02:00
e90f2b439e boards*: adapt f1 based boards to new i2c api 2018-07-25 12:01:37 +02:00
2aed31906e boards/nucleo-l152re: use new style for i2c config 2018-07-25 12:01:37 +02:00
4e09a2b6b7 boards*: adapt stm32f4 based board with new i2c conf style 2018-07-25 12:01:37 +02:00
27d2841a60 boards/nucleo-f207zg: use new style for i2c config 2018-07-25 12:01:36 +02:00