1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-16 10:32:43 +01:00
Commit Graph

4852 Commits

Author SHA1 Message Date
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
Kees Bakker
f80123da85 boards/sodaq-one: add arduino config 2019-10-09 20:14:40 +02:00
Kees Bakker
9974ec2231 boards/sodaq-autonomo: add ADC configuration 2019-10-09 20:14:40 +02:00
Kees Bakker
67f82cdf6a boards/sodaq-explorer: adjust ADC channels 2019-10-09 20:14:40 +02:00
Kees Bakker
d91f73ae3e boards/sodaq-one: adjust ADC channels 2019-10-09 20:14:40 +02:00
Gaëtan Harter
7ac30e471c
boards/slwstk6000b-*: move CPU_MODEL definition to Makefile.features
This is still currently a hack to hardcode it as the value can be deduced
from the `BOARD_MODULE` daughter board name.

But it requires more cleanup and could come in a separate step.

Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-10-09 18:51:57 +02:00
Gaëtan Harter
ec93d4c1c4
boards/common/arduino-atmega: remove special case for jiminy-mega256rfr2
The board is deprecated, no need to ignore this board anymore here.

Having the `arduino` and `periph_pwm` features is now required for all
boards using 'arduino-atmega' (as it was except for that board).

If this should change in the future, it should be defined either in each
arduino board, in another board common, or per CPU_MODEL.
2019-10-08 18:37:32 +02:00
Gaëtan Harter
1ab5a9390d
boards/slwstk6000b-*: split one board for each module
Define one board for each of the available modules.
2019-10-08 16:33:27 +02:00
Gaëtan Harter
ddf3874995
boards/slwstk6000b: migrate to use a common/slwstk6000b
Migrate the board to be implemented with a common/slwstk6000b.

It is a pre step for splitting the board for each "BOARD_MODULE".
2019-10-08 15:36:09 +02:00
86360f73d4
boards/nucleo32: fix arduino pinmap for nucleo-l432kc 2019-10-07 14:30:36 +02:00
255ce7d1a8
Merge pull request #12377 from dylad/pr/board/samr34_fix_typo
board/samr34: fix typo in TCXO
2019-10-07 09:28:32 +02:00
Dylan Laduranty
40b65c16e2
Merge pull request #12291 from keestux/sam0-refactor-adc0
boards/sam0: refactor ADC_0 into plain ADC
2019-10-07 09:20:38 +02:00
Antonio Galea
a73bee8138 boards/samr34: TXCO should be TCXO
Fix board define to TCXO: Temperature Compensated eXternal Oscillator
2019-10-06 20:36:22 +02:00
c5664b77b0
boards/thing52: enable VDD pin for hts221 or lps22hb devices 2019-10-04 19:53:50 +02:00
5dfe80d24c
boards/stm32: initialize board gpios after cpu 2019-10-04 17:05:40 +02:00
7b33599179
boards/thingy52: set custom lps22hb default address 2019-10-04 16:00:27 +02:00
58a5f5e64c
boards/thingy52: auto pull in lps22hb with saul 2019-10-04 16:00:27 +02:00
1f04c5352a
boards/thingy52: use hts221 with saul 2019-10-04 16:00:27 +02:00
Kees Bakker
04c84ed158 cpu/sam0: refactor ADC_0 into plain ADC
This change is for all boards with a sam0 cpu. This cpu just has one ADC.
It is unnecessary to have defines with ADC_0_ prefix as if multiple ADCs
are possible.

Some defines were not used, such as ADC_0_EN, ADC_0_CHANNELS,
ADC_MAX_CHANNELS, ADC_0_CLK_SOURCE, ADC_0_CHANNELS

Change all ADC_0_ prefixes to ADC_
2019-10-03 20:45:44 +02:00
49967b2c4a
boards/avr/dist: setsid can be set with env variable 2019-10-03 12:43:49 +02:00
8de86e1206
boards/arduino-mkrwan1300: add initial support 2019-10-03 09:34:34 +02:00
f7763438a9
boards/common/arduino-mkr: use common LED0_NAME definition 2019-10-03 09:24:20 +02:00
7bfe086e7c
boards/common/arduino-mkr: split periph_conf file
- periph_conf_common.h contains peripherals configuration common to all mkr boards
- periph_conf.h is specific to a subset of mkr boards (mkr1000 and mkrzero)
2019-10-03 09:24:20 +02:00
bba8395dbc
boards/ruuvitag: thingy52: remove nrfmin default dependency 2019-10-02 12:54:30 +02:00
5c9e5ec7df
boards/nrf52832: manage features in common directory 2019-10-02 12:54:30 +02:00
a2308b65a2
boards/nrf52: factorize even more dependencies 2019-10-02 12:54:30 +02:00
7c4511efff
boards/nrf52832: use common directory for features 2019-10-02 12:54:30 +02:00
86d330aa95
boards/nrf52: cleanup global dependency file 2019-10-02 12:54:30 +02:00
6ad10b9873
boards/reel: use nrf52840 common dependency file
This pull in nrf802154 when netdev_default is used
2019-10-02 12:54:30 +02:00
341a82dffe
boards/nrf52840*: use shared nrf52840 dependency file 2019-10-02 12:54:29 +02:00
a2ab86e5f6
boards/nrf52832: add nrf52832 dependency file
This pull in softdevice when netdev_default is used
2019-10-02 12:54:29 +02:00
50d47465a2
boards/nrf52dk: use shared nrf52832 dependency file 2019-10-02 12:54:29 +02:00
0d62accfef
boards/common/nrf52: add shared dependency files for nrf52 2019-10-02 12:54:29 +02:00
benpicco
69d274d87b
Merge pull request #12290 from benpicco/opt_driver_lis2dh12i2c
drivers/lis2dh12: add I2C mode
2019-10-02 12:06:40 +02:00
Hauke Petersen
96db5c3def boards/thingy52: add SAUL dependency for lis2dh12 2019-10-02 11:39:56 +02:00
Hauke Petersen
1d9fbcb076 boards/thingy52: add config for on-board lis2dh12 2019-10-02 11:39:56 +02:00
Hauke Petersen
9c853b598d boards/thingy52: added I2C configuration 2019-10-02 11:39:56 +02:00
Leandro Lanzieri
3acb63d3f1
Merge pull request #12326 from benpicco/saul_ek-lm4f120xl
boards/ek-lm4f120xl: provide SAUL configuration
2019-10-02 11:02:20 +02:00
Bas Stottelaar
08bc67c0b6 boards+efm32: skip board initialization when in bootloader 2019-10-01 18:08:27 +02:00
Bas Stottelaar
962b0efaaf boards+efm32: add support for riotboot 2019-10-01 18:08:27 +02:00
benpicco
a7cb0a4b77
Merge pull request #12323 from basilfx/feature/efm32_uart_modes
cpu/efm32: provide periph_uart_mode
2019-10-01 15:32:50 +02:00
benpicco
9f7abf67d4
Merge pull request #12334 from cladmi/pr/board/slwstk6000b/move_cpu
boards/slwstk6000b: move CPU definiton to Makefile.features
2019-09-30 19:53:18 +02:00
benpicco
806b0c4d96
Merge pull request #12335 from cladmi/pr/boards/remove_duplicate_include_riotcpu
boards: remove duplicate include 'RIOTCPU/cpu/Makefile.features'
2019-09-30 19:52:44 +02:00
Bas Stottelaar
559fc1fe04 boards+efm32: provide periph_uart_modecfg 2019-09-30 18:12:15 +02:00
Bas Stottelaar
3371cf1831 boards+efm32: remove non-standard uart modes feature 2019-09-30 18:10:38 +02:00
Gaëtan Harter
fc9f2a0f65
boards: remove duplicate include 'RIOTCPU/cpu/Makefile.features'
When 'CPU' is defined, the CPU Makefile.features is included by the
build system in the main Makefile.features.
No need to do it manually anymore.
2019-09-30 12:38:01 +02:00
Gaëtan Harter
769c9ef23f
boards/slwstk6000b: move CPU definiton to Makefile.features
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included

Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.

I did not move CPU_MODEL in that one as it requires other refactoring
first.
2019-09-30 12:23:11 +02:00
Bas Stottelaar
6a17cb7029 boards+efm32: remove LOW_POWER_ENABLED from doc.txt 2019-09-30 00:03:15 +02:00
243b02d8e0
boards/blxxxpill: move CPU/CPU_MODEL to Makefile.features 2019-09-29 18:51:41 +02:00
c72f286796
Merge pull request #12169 from maribu/blxxxpill
boards: Split off 128KiB version of bl*pill
2019-09-29 18:50:29 +02:00
23b40d8b8b
Merge pull request #12331 from aabadie/pr/boards/pic32-wifire-no-export-cpu
boards/pic32-wifire: remove export of CPU/CPU_MODEL
2019-09-29 17:12:23 +02:00
Marian Buschsieweke
09d1dcf6b3
boards: Split off 128KiB version of bl*pill
- Created new `bluepill-128kib` as 128KiB version of the `bluepill`
- Created new `blackpill-128kib` as 128KiB version of the `blackpill`
- Updated `openocd.cfg` to allow flashing 128KiB of ROM
2019-09-29 16:42:44 +02:00
93dff4cd74
Merge pull request #12330 from aabadie/pr/boards/cleanup_makefile_features
boards: don't export CPU/CPU_MODEL for stm32f723i-disco and p-l496g-cell02
2019-09-29 16:40:20 +02:00
9b1115583e
boards/pic32-wifire: remove export of CPU/CPU_MODEL
These values are already defined in Makefile.features
2019-09-29 16:35:45 +02:00
b1c8f85873
boards/stm32f723e-disco: don't export CPU/CPU_MODEL variables 2019-09-29 15:54:21 +02:00
f83e9788a6
boards/p-l496g-cell02: don't export CPU/CPU_MODEL variables 2019-09-29 15:54:11 +02:00
e89693b6fc
boards/samr34-xpro: move cpu definitions to Makefile.features 2019-09-29 15:52:35 +02:00
Benjamin Valentin
77c2e94288 boards/ek-lm4f120xl: provide SAUL configuration
This adds a SAUL configuration for the buttons and LEDs on the board.
2019-09-28 19:11:03 +02:00
Hauke Petersen
982d730adf cpu/nrf5x: decelare radio_nrfble feat for all nrfs 2019-09-27 10:00:06 +02:00
Hauke Petersen
df15033148 ble/skald: cleanup dependency to nrfble 2019-09-26 22:15:15 +02:00
Francois Berder
39fb3cb9f0 boards: pic32-wifire: Add support for JLink programmer
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-09-26 11:08:07 +01:00
e1e01e2617
Merge pull request #11250 from dylad/pr/samr34_support
board: add support for SAMR34-XPRO
2019-09-26 11:27:22 +02:00
dylad
dbc6ed544d boards/samr34-xpro: add basic board support 2019-09-26 10:48:03 +02:00
Francois Berder
7e3e827688 boards: pic32-wifire: Use default value of BAUD
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-09-25 21:36:10 +01:00
Francois Berder
738550e28c boards: pic32-wifire: Fix initialization of UART
uart_init should not be called from board_init. stdio_init is responsible for
initializing debug UART device.

Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-09-25 21:36:10 +01:00
Francois Berder
30656bd18b boards: pic32-wifire: Define STDIO_UART_DEV
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-09-25 21:36:10 +01:00
Martine Lenders
1598c8c6f8
Merge pull request #11950 from gschorcht/cpu/esp32/periph-gpio_read-fix
cpu/esp32: fix of gpio_read for output ports
2019-09-24 20:20:40 +02:00
benpicco
50ba48eea6
Merge pull request #9259 from cladmi/pr/pic32/flasher
pic32-wifire: add support for flashing with pic32prog
2019-09-24 18:52:44 +02:00
benpicco
3833e42426
Merge pull request #12092 from cladmi/pr/cpu_model/minor_changes_included
boards with side-effect: move CPU/CPU_MODEL definition to Makefile.features
2019-09-24 18:36:58 +02:00
Gaëtan Harter
4eeda215e0
pic32-wifire: add flasher using pic32prog
For PICkit3 it requires having a scripting firmware installed.
2019-09-24 17:43:12 +02:00
Gaëtan Harter
773419e29c
pic32-wifire: add serial configuration 2019-09-24 17:43:12 +02:00
Gaëtan Harter
cdca4d89a9
boards/mulle: move CPU/CPU_MODEL definiton to Makefile.features
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included

The multiple boards handling has been changed to use 'CPU_MODEL ?='.

Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-09-24 17:29:37 +02:00
Gaëtan Harter
8a2d999848
boards/cc2538dk: move CPU/CPU_MODEL definition to Makefile.features
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included

Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-09-24 17:29:37 +02:00
Gaëtan Harter
17877ca993
boards/ek-lm4f120xl: move CPU/CPU_MODEL definition to Makefile.features
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included

CPU_MODEL is currently kept uppercase. Making it lowercase is a future task.

Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-09-24 17:29:37 +02:00
Gaëtan Harter
33816cbbb3
boards/pic32*: move CPU/CPU_MODEL definition to Makefile.features
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included

Add the missing space when defining 'CPU_MODEL'.

Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-09-24 17:29:37 +02:00
Gaëtan Harter
29459beaf2
boards/hifive1*: move CPU/CPU_MODEL definition to Makefile.features
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included

Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-09-24 17:29:37 +02:00
Gaëtan Harter
0029bb33ef
boards/nrf6310: move CPU/CPU_MODEL definition to Makefile.features
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included

Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-09-24 17:29:37 +02:00
cladmi
5f1a61ed72
boards/common/nrf52: move CPU/CPU_MODEL definiton to Makefile.features
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included

Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-09-24 17:29:37 +02:00
Gaëtan Harter
49d61bbe6e
boards/common/esp: move CPU/CPU_MODEL definiton to Makefile.features
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included

Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-09-24 17:29:37 +02:00
Gaëtan Harter
8cebed6792
boards/common/esp: harmonize CPU/CPU_MODEL to other boards
* CPU files should already have 'CPU' defined by the board.
* Do not conditionally define CPU as it is not needed.

This is part of cleanup prior to moving the CPU/CPU_MODEL to
Makefile.features.
2019-09-24 17:29:37 +02:00
Vincent Dupont
1a44d327cb
Merge pull request #11989 from gschorcht/cpu/esp32/periph-can
cpu/esp32: reimplementation of module esp_can as module periph can
2019-09-23 16:52:05 +02:00
Francisco
2346f35bc8
Merge pull request #12289 from cladmi/pr/frdm/minor/remove_export_openocd_extra_init
boards/frdm: remove exporting unset OPENOCD_EXTRA_INIT
2019-09-23 14:28:06 +02:00
Francisco
8467dba680
Merge pull request #12158 from aabadie/pr/boards/stm32_connect_assert_srst
boards/stm32: generalize use of connect_assert_srst for flashing
2019-09-23 14:02:39 +02:00
Francisco
abdebaa86f
Merge pull request #11549 from cladmi/pr/pba_d_01_kw2x/fix_flashing
boards/pba-d-01-kw2x: fix flashing from invalid state
2019-09-23 13:09:02 +02:00
Gaëtan Harter
0724dc71a7
boards/frdm: remove exporting unset OPENOCD_EXTRA_INIT
The default value in `openocd.sh` is being empty, so no use for exporting it.
2019-09-23 12:10:09 +02:00
Francisco
3d2697973a
Merge pull request #12151 from cladmi/pr/pba-d-01-kw2x/do_not_use_OPENOCD_ADAPTER_INIT
boards/pba-d-01-kw2x: rely on the common adapter selection code
2019-09-23 11:47:50 +02:00
Gunar Schorcht
e0f1ab0a16 cpu/esp32: module esp_can removed
CAN controller driver for ESP32 is no longer realized as separate module.
2019-09-20 19:35:02 +02:00
Francisco
04b92683e4
Merge pull request #11800 from aabadie/pr/boards/stm32f723e-disco
boards/stm32f723e-disco: add initial support
2019-09-20 17:04:17 +02:00
b77dd00142
boards/p-l496zg-cell02: move cpu define to Makefile.features 2019-09-20 13:46:58 +02:00
80a5e88403
boards/stm32f723e-disco: add initial support
Peripheral configured:
- 5 UARTs for stdio via STLink, Arduino connector, PMOD connector,
STMOD+ connector and ESP-01 connector
- 1 I2C available on Arduino connector and STMOD+ connector
- 2 SPIs available on Arduino connector and PMOD connector
2019-09-20 13:45:25 +02:00
Francisco
bd5ceb58e7
Merge pull request #11984 from aabadie/pr/boards/p-l496g-cell02
boards/p-l496g-cell02: add support
2019-09-20 11:28:54 +02:00
Francisco
6847d0d268
Merge pull request #12261 from cladmi/pr/frdm/fix_flashing
boards/frdm: fix flashing from invalid state
2019-09-20 09:15:47 +02:00
MichelRottleuthner
66f1cc78ea
Merge pull request #12059 from maribu/msba2-openocd
boards/msba2: Added OpenOCD config
2019-09-19 14:35:58 +02:00
Marian Buschsieweke
8f848e9b38
boards/msba2: Updated board documenation 2019-09-19 14:19:16 +02:00
Marian Buschsieweke
0c04e07740
boards/msba2: Added OpenOCD config 2019-09-19 14:19:16 +02:00
Gaëtan Harter
323050f0e3
boards/frdm: fix flashing from invalid state
When flashing some applications the flasher sometimes gets stuck which
prevents flashing after.
It may be from a specific firmware or operation but do not have one yet.
Connect with reset asserted fix flashing from this state.
2019-09-17 14:02:55 +02:00
Marian Buschsieweke
8fa0c04e23
Merge pull request #12229 from benpicco/lpc238-cleanup
cpu/lpc2387: clean up the platform
2019-09-16 22:06:59 +02:00
Benjamin Valentin
e3b0874305 cpu/lpc2387: clean up the platform
- move clock setup from boards/ to cpu/
 - reduce code duplication
2019-09-16 13:08:56 +02:00
Dylan Laduranty
e8b08d304f
Merge pull request #12182 from maribu/drop-jiminy
boards: Remove support for the Jiminy-Mega256RFR2
2019-09-16 12:00:28 +02:00
a9a971843b
nucleo-l031/l432: fix wrong i2c configuration 2019-09-15 19:29:14 +02:00
chrysn
667a34205a boards/thingy52: Add description and more precise flashing instructions 2019-09-12 16:44:04 +02:00
Francisco
2d890db6af
Merge pull request #10440 from jcarrano/no-export-ports
makefiles: remove exports so that PORT is not evaluated if it's not needed.
2019-09-12 13:50:24 +02:00
23c1831473
Merge pull request #11470 from cladmi/pr/nrf52/opencd/softdevice
boards/common/nrf52: add openocd support for 'nordic_softdevice_ble'
2019-09-11 15:33:08 +02:00
benpicco
6c35e86e95
Merge pull request #11550 from cladmi/pr/stm32f3discovery/fix_flashing
boards/stm32f3discovery: fix openocd config to flash from invalid state
2019-09-11 14:44:12 +02:00
benpicco
e11d457e63
Merge pull request #11209 from danpetry/boards/mega1284p_xplained
doc/mega-xplained: add JTAG/Atmel-ICE instructions
2019-09-11 14:03:29 +02:00
Gaëtan Harter
f5f275b929
boards/stm32f3discovery: fix openocd config to flash from invalid state
When flashing some applications the flasher sometimes gets stuck which
prevents flashing after.
It may be from a specific firmware or operation but do not have one yet.
Connect with reset asserted fix flashing from this state.

It was found after the `stm32f3discovery` get stuck in a non-flashable mode
after some firmwares.
2019-09-11 12:19:23 +02:00
danpetry
4554b6cb13 doc/mega-xplained: add JTAG/Atmel-ICE instructions
Adds instrucions for the Atmel-ICE with the JTAG header.
2019-09-11 11:49:35 +02:00
benpicco
6f63ef42a7
Merge pull request #11920 from maribu/lpc2387
cpu/lpc2387: Cleanup
2019-09-11 10:12:26 +02:00
Marian Buschsieweke
7092566f1f
cpu/arm7_common: Moved compiler flags here
- Moved compiler & linker flags from boards/common/msba2 to cpu/arm7_common
- Moved dependency to newlib nano to cpu/arm7_common
- Moved config to link in cpu/startup.o to cpu/arm7_common
2019-09-11 01:02:41 +02:00
Juan I Carrano
c50d8fada1
Merge pull request #11646 from cladmi/pr/esp/programmer_update
esp*: updates to the programmer configuration
2019-09-10 17:58:20 +02:00
Gaëtan Harter
fe0b829d5b
boards/common/nrf52: add openocd support for 'nordic_softdevice_ble'
Enable the handling of flashing `softdevice.hex` when flashing the firmware
for openocd.

However, for flashing, only the `hexfile` and `binfile` can currently be used.

The `elffile` is generated with local pages aligned to `0x10000` which makes
the program starting at `0x1f000` be flashed from `0x10000` with padding bytes
even if the `.text` section is indeed at `0x1f000`:

    readelf --sections bin/nrf52dk/gnrc_networking.elf

      ...
      [ 1] .text         PROGBITS    0001f000 00f000 00f698 00  AX  0   0 16
      ...

    readelf --segments  bin/nrf52dk/gnrc_networking.elf

      ...
      LOAD           0x000000 0x00010000 0x00010000 0x1e6a0 0x1e6a0 R E 0x10000
      ...

The padding bytes would go through `verify_image` in `openocd` so be expected
to not be overwritten but are by `softdevice.hex`

Using --nmagic at link time removes the local page alignement but would
need dedicated testing.
2019-09-10 16:02:04 +02:00
3059e03c7c
Merge pull request #11620 from cladmi/pr/softdevice/ensure_memory_value
pkg/nordic_softdevice_ble: reset memory in the .hex file
2019-09-10 14:38:33 +02:00
b80a41f28f
Merge pull request #12153 from cladmi/pr/iotlab/use_openocd_reset_use_connect_assert_srst
boards/iotlab: rely on OPENOCD_RESET_USE_CONNECT_ASSERT_SRST
2019-09-10 08:41:08 +02:00
88e07c06d2
Merge pull request #11367 from maribu/arm_early_stdio
cpu: Moved stdio_init() prior to periph_init() for ARM targets
2019-09-09 16:52:30 +03:00
benpicco
c082ada36f
Merge pull request #12141 from aabadie/pr/boards/stm32_common_i2c
boards/stm32: introduce and use shared i2c config with I2C1 on PB6/PB7
2019-09-09 14:26:59 +02:00
Kevin "Tristate Tom" Weiss
a138f1466f
Merge pull request #11975 from fjmolinas/pr_nucleof103_xtimer_backoff
boards/common/nucleo: increase XTIMER_BACKOFF for STM32F103
2019-09-09 11:15:37 +02:00
Marian Buschsieweke
232aed3e18
boards: Remove support for the Jiminy-Mega256RFR2
- The Jiminy-Mega256RFR2 is seemingly unmaintained, as no one has responded
  on requests to test changes on it. This lack of support has been blocking
  various PRs in the last few months
- No one seems to use it
- Boards that are added to RIOT should match at least one of the following
    - It is actively maintained
    - It has a significant user base
    - It is an off-the-shelf product, so it might be easily obtained for testing
==> The Jiminy is matching none of the above
2019-09-09 10:20:00 +02:00
Francisco
6d800ed85a
Merge pull request #11366 from maribu/early_stdio_atmega
cpu/atmega_common: Moved atmega_stdio_init() to cpu_init()
2019-09-09 10:22:53 +03:00
Marian Buschsieweke
73424c1d1e
board/msba2: Added stdio_init()
The MSB-A2 uses a custom boot up sequence and does not have a cpu_init(). This
adds the missing call to stdio_init() to that custom boot up sequence.
2019-09-06 16:54:24 +02:00
MrKevinWeiss
853540ce32 boards/slstk3402a: Add reset before flashing
It seems that this board needs a reset command before flashing with jlink
This adds the reset - r - to the JLINK_PRE_FLASH
2019-09-03 13:19:27 +02:00
MrKevinWeiss
699892cc7c boards/slstk3401a: Add reset before flashing
It seems that this board needs a reset command before flashing with jlink
This adds the reset - r - to the JLINK_PRE_FLASH
2019-09-03 11:01:21 +02:00
Francisco
900b23626a
Merge pull request #12148 from aabadie/pr/boards/nrf52832-mdk_i2c
boards/nrf52832-mdk: enable I2C and use default configuration
2019-09-03 08:52:24 +02:00
e45388e210
boards/stm32l0: use connect_assert_srst when flashing 2019-09-02 21:46:54 +02:00
281273f362
boards/stm32: remove use of connect_assert_srst for flashing stm32l0 2019-09-02 21:46:15 +02:00
01642b9075
boards/nucleo-f091rc: remove duplicate use of connect_assert_srst 2019-09-02 21:45:32 +02:00
fc923baa42
boards/nucleo: generalize use of connect_assert_srst for flashing
This allows to flash/reset even over a crashed or sleeping firmware
2019-09-02 21:44:58 +02:00
Gaëtan Harter
c1b32fe1f3
boards/iotlab: rely on OPENOCD_RESET_USE_CONNECT_ASSERT_SRST
Use the new OPENOCD_RESET_USE_CONNECT_ASSERT_SRST to configure
'reset_config connect_assert_srst' when flashing and resetting only.

This removes the need for a special debug configuration and should allow
connecting to a running target again.
2019-09-02 16:12:55 +02:00
Gaëtan Harter
94dfc4dd94
boards/pba-d-01-kw2x: fix flashing from invalid state
When in an invalid state, the board could not flash anymore.
Like for example after flashing `tests/driver_adt7310` this makes it
flash again.

I used `reset_config srst_only` as the other kinetis boards are also
configured that way.
2019-09-02 15:56:14 +02:00
Kevin "Tristate Tom" Weiss
d9b0db0d61
Merge pull request #11976 from fjmolinas/pr_stm32f0x_extra_flash
dist/tools/openocd: add OPENOCD_EXTRA_INIT_RESET use for nucleo-f091rc
2019-09-02 15:54:24 +02:00
Francisco Molina
06c830e8cd boards/nucleo-f091rc: set OPENOCD_RESET_USE_CONNECT_ASSERT_SRST
- Nucleo-f091rc can become unflashable when hardfaults occure.
  To make sure flashing succeeds `connect_assert_srst` is called
  before connecting to flash threw openocd.
2019-09-02 14:54:38 +02:00
Gaëtan Harter
19290fe8b7
boards/pba-d-01-kw2x: rely on the common adapter selection code
Do not set 'OPENOCD_EXTRA_INIT' but rely on
'openocd/openocd-adapters/dap.inc.mk' to select the adapter.
Using 'OPENOCD_EXTRA_INIT' for this was deprecated.

When 'DEBUG_ADAPTER_ID' was set it was already the case but not with
'SERIAL'.
The compatibility with using 'SERIAL' is maintained.
2019-09-02 14:48:01 +02:00
cb51cee2ba
boards/nrf52832-mdk: enable I2C and use default configuration 2019-09-02 13:12:40 +02:00
afb8509034
boards/nucleo: use shared I2C configuration 2019-09-02 08:17:21 +02:00
df18dba378
boards/stm32: introduce shared i2c configuration
This configuration corresponds to I2C1 connected to PB6 (SCL) and PB7 (SDA)
2019-09-02 08:17:21 +02:00
Marius
d6b6b7a529 board/nucleo-l031k6: Add i2c to periph_conf 2019-09-01 17:14:06 +02:00
Kevin "Tristate Tom" Weiss
969e3b3e95
Merge pull request #12098 from cladmi/pr/export/remove_local_export_compilation_variables
make: do not locally export compilation variables
2019-08-29 14:32:22 +02:00
e9ea6a02ed
Merge pull request #12068 from twostairs/board_nucleo-l432kc_i2c
board/nucleo-l432kc: Implementing I2C for board
2019-08-29 13:33:57 +02:00
Martine Lenders
b83c7dd61d
Merge pull request #11927 from maribu/arduino-leonardo
cpu/atmega32u4: Fixed external interrupts; boards/arduino-leonardo: Fixed dependency tracking
2019-08-29 12:12:56 +02:00
Hauke Petersen
d961ceefbe boards/reel: add missing radio_nrf52840 feature 2019-08-29 10:51:17 +02:00
Gaëtan Harter
ef542ef92c
boards: do not locally export compilation variables
These are already exported by `makefiles/vars.inc.mk`.
It is a prerequisite to allow handling compilation without global exports.
2019-08-29 10:35:44 +02:00
Hauke Petersen
dff436be63 boards/reel: make nrf802154 the default radio 2019-08-28 16:49:21 +02:00
Hauke Petersen
da494251b6 board/nrf52840dk: fix order in Makefile.dep 2019-08-28 16:49:21 +02:00
Hauke Petersen
d127d18384 boards/nrf52: set NimBLE for gnrc_netdev_default 2019-08-28 16:49:20 +02:00
Hauke Petersen
14662da1db boards/nrf52dk: add nimble_netif dependency 2019-08-28 16:48:42 +02:00
Marius
80c521b2c3 boards/nucleo-l432kc: provide I2C configuration 2019-08-28 10:50:24 +02:00
Gaëtan Harter
367aa841a2
boards/pyterm: change TERMFLAGS to PYTERMFLAGS
The boards are using `pyterm` specific options that do not work on any
other `RIOT_TERMINAL`. It is a shame this is required but at least do
not pass arbitrary arguments to the other RIOT_TERMINAL.
So use the new PYTERMFLAGS for this.
2019-08-27 14:25:02 +02:00
Gaëtan Harter
42d658419f
boards/common/msba2: remove duplicate PORT
PORT is already given in pyterm TERMFLAGS.
2019-08-27 12:06:10 +02:00
Juan I Carrano
e2b2b8e43c
Merge pull request #12014 from cladmi/pr/cpu_cpu_model/migration/straightforward_ones
boards: move CPU/CPU_MODEL definition to Makefile.features
2019-08-21 18:52:28 +02:00
Marian Buschsieweke
137c2c0adf
boards: Added cc110x params for MSB-A2 & MSB-IoT 2019-08-20 16:38:49 +02:00
Gaëtan Harter
636285ebe4
boards: move CPU/CPU_MODEL definition to Makefile.features
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included

Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-08-20 16:11:50 +02:00
cladmi
8305390a05
boards/common: move CPU/CPU_MODEL definition to Makefile.features
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included

Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-08-20 16:11:50 +02:00
Marian Buschsieweke
615e25f319
drivers: Removed driver for CC110x transceivers
- Removed cc110x driver
- Updated all makefiles
- Kept both board specific configurations and support for it in RIOT's
  upper layers, so re-implementations don't need to start from zero
2019-08-19 12:56:47 +02:00
Gaëtan Harter
f3e72009e8
pkg/nordic_softdevice_ble: reset memory in the .hex file
softdevice needs the memory at 0x2000 to be initialized to 0xffffffff
according to #5893 and testing. However, the addresses [0x8bc, 0x3000[ are not
set in softdevice.hex.

So use a modified hex file with all the memory set to 0xff as it is the rom
reset value anyway.

This change updates the `.hex` file instead on relying on erasing the
memory.
2019-08-12 15:54:45 +02:00
Gaëtan Harter
e70efb769c
murdock: nordic_softdevice_ble: softdevice.hex is a test input
When running tests using 'nordic_softdevice_ble', the 'softdevice.hex'
file must also be taken into account for the test hashing and be
uploaded to the separated murdock testing boards.

When listed as dependency from `test-input-hash` the file must have a
target, which he has not. The file is implicitly created when compiling
`ELFFILE` so declare it as order only dependency.
In practice `BASELIBS` could be enough or even `pkg-build-softdevice`
but I do not want to be depend that much on internals there.
2019-08-12 14:35:58 +02:00
9cf8da0287
Merge pull request #11899 from fjmolinas/pr_stm32f7_riotboot_requirements
cpu/stm32f7: add riotboot requirements
2019-08-09 15:36:50 +02:00
Francisco Molina
644cb9f461 boards: add riotboot for nucleo-f722ze/f746zg/f767zi 2019-08-09 13:15:02 +02:00
6f14de38c5
Merge pull request #11900 from fjmolinas/pr_stm32f2_riotboot_requirements
cpu/stm32f2: add riotboot requirements
2019-08-09 11:06:49 +02:00
d1fef4803e
boards: add basic support for b-l496g-cell02 2019-08-09 08:26:17 +02:00
f802bbb5ae
Merge pull request #11682 from fjmolinas/pr_stm32f4_riotboot
cpu/stm32f4: add riotboot requirements
2019-08-08 18:05:36 +02:00
Lena Boeckmann
58955b39c6 board/saml11-xpro: update implementation status in doc
Co-Authored-By: benpicco <benpicco@googlemail.com>
2019-08-08 14:49:05 +02:00
Lena Boeckmann
1b81f6d4a2 board/saml10-xpro: update implementation status in doc 2019-08-08 14:49:04 +02:00
Francisco Molina
7231088b7c boards/nucleo-f207zg: add riotboot 2019-08-07 18:34:48 +02:00
francisco
bfcb963d1e boards/nucleo-f446re: add riotboot 2019-08-07 18:29:51 +02:00
fjmolinas
9418eef573 boards/stm32f429i-disc1: add riotboot 2019-08-07 18:29:51 +02:00
430d80729a
boards/nrf51: provide ble_nimble feature 2019-08-07 09:53:55 +02:00
Hauke Petersen
c9e5d2ccc4
boards/common/nrf51: add alternative xtimer mapping 2019-08-07 09:53:55 +02:00
32f54178ea
Merge pull request #11974 from fjmolinas/pr_xtimer_shoot_early
boards: remove unused XTIMER_SHOOT_EARLY defines
2019-08-07 09:29:43 +02:00
Francisco Molina
ed3a716ffd boards/common/nucleo: increase XTIMER_BACKOFF for STM32F1 boards
- Boards using stm32f103xx use the same custom config for xtimer
  which relies on the same underlying hardware timers that hang
  when sleeping for <20us so spin when approaching that limit.
2019-08-07 09:07:24 +02:00
Francisco Molina
294aff2ef1 boards: remove unused XTIMER_SHOOT_EARLY defines 2019-08-07 08:49:14 +02:00
Benjamin Valentin
8af04cd939 boards: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
Francisco
b8cd3c0724
Merge pull request #11809 from aabadie/pr/boards/stm32_timer_conf_common
boards/stm32: introduce common timer configurations and use them where possible
2019-08-06 17:07:22 +02:00
b388a5b3d2
Merge pull request #11572 from aabadie/pr/boards/native_fix_log
boards/native: fix overriden INCLUDES leading to build failure
2019-08-06 12:05:26 +02:00
Martine Lenders
d13d49d11f
Merge pull request #11814 from aabadie/pr/doc/remove_duplicate_group_define
doc: remove duplicate definitions of Doxygen groups
2019-08-06 09:50:59 +02:00
d8746add06
native: don't use NATIVEINCLUDES in board and board/drivers 2019-08-06 09:44:19 +02:00
Kevin "Bear Puncher" Weiss
9821fa8043
Merge pull request #11959 from maribu/bluepill
boards/{blue,black}pill: Fixed flashing
2019-08-05 17:34:56 +02:00
8196ea7e58
boards/arduino-leonardo: remove duplicate doc group definition 2019-08-05 16:57:37 +02:00
90e136405e
boards/common/esp: deduplicate common esp boards group definitions 2019-08-05 16:57:36 +02:00
6bf9290ed5
boards/stm32f769i-disco: deduplicate doxygen group definition
The group is already defined in the doc.txt file so no need to define it again in board.h
2019-08-05 16:57:36 +02:00
01814dec19
boards/nucleo-*: deduplicate doxygen board group definitions 2019-08-05 16:57:35 +02:00
248f8d3284
boards/esp8266: deduplicate board doxygen group definition 2019-08-05 16:57:35 +02:00
cb25ed7b05
boards/stm32: provide support custom spi pins mode for lora boards
This minimize a lot power consumption when going to sleep after the spi has been used
2019-08-05 16:46:41 +02:00
31c52041e6
Merge pull request #11939 from fjmolinas/pr_add_nrf52_i2c_cfg
boards/common/nrf52: add common nrf52 i2c config
2019-08-05 16:39:33 +02:00
Francisco
db08af4586
Merge pull request #11812 from aabadie/pr/boards/nucleo_doc_cleanup
boards/nucleo*: move doxygen group definition to doc.txt
2019-08-05 15:22:03 +02:00
927f283d97
boards/nz32-sc151: use TIM5 common timer configuration
This requires including STM32 common include directoy as well
2019-08-05 15:01:15 +02:00
b1fa4fb2d9
boards/nucleo-l152re: use TIM5 common timer configuration 2019-08-05 15:01:15 +02:00
b710cda156
boards/lobaro-lorabox: use common timer configuration 2019-08-05 15:00:53 +02:00
3c00d41764
boards/ublox-c030-u201: use common timer configuration
This also requires to include the STM32 shared include directory
2019-08-05 15:00:12 +02:00
27230c7c10
boards/stm32f4: use common timer configuration 2019-08-05 15:00:12 +02:00
6b5a977f08
boards/stm32: introduce common timer config with TIM5 2019-08-05 15:00:12 +02:00
564686f882
boards/nucleo-l4*: use common timer configuration 2019-08-05 15:00:11 +02:00
7ee7315418
boards/stm32l0: use common timer configuration 2019-08-05 15:00:11 +02:00
e7e3f15d5d
boards/nucleo-f0/3/7: use common timer configuration 2019-08-05 15:00:11 +02:00
94a9e2c3de
boards/stm32: introduce common timer config with TIM2 2019-08-05 15:00:11 +02:00
Marian Buschsieweke
5da1dbc4a6
boards/{blue,black}pill: Fixed flashing
A new blue pill variant with only 32 KiB of flash (secretly coming with
64 KiB flash) instead of the use 64 KiB flash (secretly coming with 128 KiB)
is not compatible with `make flash`. This commit changes the OpenOCD config
so that both variants can be flashed.
2019-08-05 13:00:44 +02:00
7853ca0108
boards/stm32*: remove useless RTC_NUMOF defines 2019-08-05 11:08:53 +02:00
Gunar Schorcht
607d9c673e boards/esp32: corrected comment
While testing the Arduino example for ESP32 boards, the problem of gpio_read for output ports was figured out. During these tests, also the wrong comment has been fixed.
2019-08-01 15:21:38 +02:00
Robert Hartung
18117b4eb8 boards/arduino-mega2560: restrics usable pin change interrupts 2019-08-01 09:35:35 +02:00
Robert Hartung
09b26120fd boards: adds atmega pin change interrupt to doc 2019-08-01 09:35:35 +02:00
Robert Hartung
7bca1cc5d5 cpu/atmega_common: implements pseudomodule-based pin change interrupts 2019-08-01 09:23:04 +02:00
Francisco Molina
8a4b4f9005 boards: use of default_i2c_cfg for nrf52 based boards 2019-07-31 10:38:34 +02:00
Francisco Molina
618ca3abcc boards/common/nrf52: add default i2c config 2019-07-31 10:38:34 +02:00
Francisco Molina
39695afeb4 boards/nrf52840-mdk: use TWIM1 for i2c
- SPIM0/SPIS0/TWIM0/TWIS0 have the same priority and are mutually exclusive,
  to allow concurrent use we change the default TWIM used for i2c to
  TWIM1 since spi uses SPI0 by default
2019-07-31 10:18:28 +02:00
Marian Buschsieweke
e354c8f781
boards/arduino-leonardo: Add missing dependencies
Somehow Makefile.dep was missing on the Arduino Leonardo. This commit adds it.
2019-07-26 17:27:50 +02:00
Marian Buschsieweke
47b0b87d48
boards/msba2,avsextreme: Removed defunct code
The MSB-A2 and the Avsextrem board once had support for using the USB
interface of the LPC2387. The code setting up the USB clock has been unused
for ages and is now defunct, as the required value for `USBCLKDivValue` is no
longer present in RIOT's code base. This commits removes the defunct and unused
code.
2019-07-25 10:38:51 +02:00
Peter Kietzmann
294fb38381
Merge pull request #11833 from MrKevinWeiss/boards/openmoteb/flashfix
boards/openmote-b: Fix flashing issues
2019-07-22 11:51:48 +02:00
MrKevinWeiss
a24fc7d1a6 boards/openmote-b: Update doc after flash and debug fixes 2019-07-22 10:08:19 +02:00
MrKevinWeiss
36ca186bd1 boards/openmote-b: Fix openmote-b flasher
This fixes the JTAG flasher which needs a hw_reset
This is needed since the standard jtag reset command does not work
Since FLASHFILE is assigned in the jlink makefile only the bsl needs something
The FLASHFILE is assigned a hex since the bin takes much longer to flash
2019-07-22 10:08:19 +02:00
kenrabold
e4bee51a9d tests/* : blacklisting for hifive1b 2019-07-19 13:25:18 -07:00
kenrabold
2de4da03ef cpu/hifive1b: initial HiFive1B support
Initial support for HiFive1B board with FE310_G002 CPU
2019-07-19 13:25:17 -07:00
kenrabold
6391913a15 board/hifive1: minor changes for FE310_G000 CPU
Minor changes to support both HiFive1 and HiFive1B boards and their respective CPUs
2019-07-19 13:25:17 -07:00
Juan I Carrano
3c7efb2213
Merge pull request #11849 from cladmi/pr/hamilton/oflags
boards/hamilton: remove OFLAGS '-O binary'
2019-07-18 12:03:34 +02:00
MrKevinWeiss
08ef6a7e22 boards/openmote-b: Set boot pin to input
Some boards seem to lock the bootloader if the boot pin is high
It must be set to input to prevent contention from the msp430 line controller
2019-07-17 16:39:55 +02:00
3f25c43204
Merge pull request #11733 from nmeum/fix-native-build
boards/native: fix undefinied reference to qdecs_value
2019-07-16 16:42:52 +02:00
Gaëtan Harter
d52b3f4fc5
boards/hamilton: remove OFLAGS '-O binary'
The 'binary' output format is now given by default to .bin files creation
2019-07-16 15:31:37 +02:00
Juan I Carrano
ee6b6b9c38 boards/mips-malta: remove board.
The mips-malta board is a maintainance burden, has no working UART input
and is unobtainable and thus must be removed.

1. Unobtainable board
=====================

The mips-malta board is not an off-the-shelf part. A quick web
search only show the MIPS website where one is told to "contact sales".

I could find it on ebay, used, at €155 and from single seller.

Not having access to the board means:

a. We cannot maintain it. In fact it could be broken right now.
b. Potential RIOT uses have not access to the board either. In other
   words, it is pointless to run on hardware nobody has.

2. No working UART input
========================

Not all applications need UART input, but that is no excuse for not supporting
it:

a. Makes development & debugging way harder.
b. It is impossible to run interactive tests.
 b.1. Constrains the rest of the platforms by providing an incentive to not
      make tests interactive.
c. The lack of UART is a witness to the poor quality of the port.

I want to stress point (c). If something as basic as a serial port cannot work,
how can we expect more complex fucntionality to work. The answer is impossible
to know, because of point (1).

3. Maintainance burden
======================

The RIOT project has limited time and human resources which can be better spent.

a. Compiling for mips-malta wastes CPU time.
b. Blacklisting the board in the test wastes contributor's time.
c. Adapting the board's makefile during build system rework takes time and makes
   the reworks harder.
 c.1. Add to that that the changes are most of the time not even tested on the board
      because of (1). Look at the github issues/PRs and you will see it.
d. Developers usually stick to the lowest common denominator. Issue (2) sets this
   denominator unacceptably low.

MIPS platform in general
========================

In commits I will address general issues in the MIPS platform and why it should all
be removed.
2019-07-12 12:24:52 +02:00
Francisco Acosta
6b094a78a9
Merge pull request #11804 from fjmolinas/pr_stm32l1_add_AX
stm32_common/stm32_mem_length: fix RAM_LEN for stm32l1xx-A/X cpu's
2019-07-10 18:18:42 +02:00
Kevin "Bear Puncher" Weiss
a5f65361b2
Merge pull request #11793 from MrKevinWeiss/pr/board/doc
boards/doc: Add a guide to find physical board pins
2019-07-09 10:43:13 +02:00
MrKevinWeiss
218742b851 boards/doc: Add a guide to find physical board pins
This is needed for those who do not know about searching the periph conf
It gives some hints on how to physically locate you board if connecting up sensors
2019-07-09 10:11:59 +02:00
Francisco
ba5106df4f
Merge pull request #9517 from aabadie/pr/board/stm32l0538-disco
boards/stm32l0538-disco: add initial support
2019-07-09 09:06:14 +02:00
francisco
9bdfc1c95a boards/lobaro-lorabox: add -A suffix to CPU_MODEL 2019-07-09 08:56:37 +02:00
4ac2b4ec2b
tests: exclude stm32l0538-disco board
because of insufficient memory available
2019-07-08 21:50:36 +02:00
7044c95ebf
boards/nucleo-144: fix l4r5zi LED0 pin 2019-07-08 09:09:48 +02:00
be8acc1496
boards/nucleo-l4r5zi: initial basic support 2019-07-08 09:09:48 +02:00
ea2da7b380
boards/stm32l0538-disco: initial support 2019-07-08 09:06:55 +02:00
1e7409a4f0
boards/nucleo*: cleanup board doxygen group definition
These boards were providing an empty doc.txt and the group definition was still in the periph_conf.h file
2019-07-07 17:56:54 +02:00
Leandro Lanzieri
cb57c6ff1a
Merge pull request #11798 from jia200x/pr/remove_sx127x_multi
sx127x: remove MULTIDIO and fix missing interrupt handling
2019-07-05 11:33:42 +02:00
Jose Alamos
c5dab7e615 boards/sensebox_samd21: remove DIOMULTI from pin configuration 2019-07-05 10:52:43 +02:00
Martine Lenders
395aaf34e9
Merge pull request #11582 from kaspar030/add_microbit_qemu_emulation
boards/microbit: add QEMU emulation
2019-07-04 21:36:16 +02:00
f03bba8d5c boards/microbit: add docuumentation for QEMU emulation 2019-07-04 17:50:39 +02:00
ce9de0e942 boards/microbit: add EMULATOR setting for QEMU 4.0 2019-07-04 16:26:45 +02:00
9e6d558596
stm32_eth: Code cleanup and some fixes
cpu/stm32_common: cleanup periph eth
boards/nucleo-f767zi: cleanup dependencies
boards/nucleo-f767zi: fix dma configuration attribute for eth
examples/default: add nucleo-767zi in boards with netif
drivers/stm_32_eth: Add header guard for eth_config

Co-authored-By: Robin <robin@chilio.net>
2019-07-04 15:27:50 +02:00
Robin
4729bea46e
stm32_eth: Multiple Improvements of the original codebase
stm32eth: Move to stm32_common periph
cpu/stm32_periph_eth: Rebase to current master branch

- Update DMA to use new vendor headers
- Update send to use iolist. It looks like the packet headers are now transfered as seperate iolist entries which results in the eth periph sending each header as own packet. To fix this a rather ugly workaround is used where the whole iolist content is first copied to a static buffer. This will be fixed soon in another commit
- If MAC is set to zero use luid to generate one
- Small code style fixes

cpu/stm312f7: Add periph config for on-board ethernet
boards/nucleo-f767zi: Add config for on board ethernet
tests/stm32_eth_lwip: Remove board restriction
boards/common/nucleo: Add luid module if stm32 ethernet is used
tests/stm32_eth_gnrc: Add Testcase for gnrc using the stm32 eth periph
stm32_eth: Rework netdev driver layour
tests/stm32_eth_*: Use netdev driver header file for prototypes
stm32_eth: Add auto init for stm32 eth netdev driver
boards/stm32: Enable ethernet conf for nucleo boards
stm32_eth_auto_init: Add dont be pendantic flag
stm32_eth: Remove dma specific stuff from periph_cpu.h

Looks like this was implemented in PR #9171 and 021697ae94 with the same interface.

stm32_eth: Remove eth feature from stm32f4discovery boards
stm32_eth: Migrate to stm32 DMA API
stm32_eth: Add iolist to module deps
stm32_eth: Rework send function to use iolist
stm32_eth: Fix ci build warnings
stm32_eth: Fix bug introduced with iolist usage
stm32_eth: Remove redundant static buffer
stm32_eth: Fix feature dependencies
stm32_eth: Fix wrong header guard name
stm32_eth: Implement correct l2 netstats interface
stm32_eth: Rename public functions to stm32_eth_*
stm32_eth: Fix doccheck
stm32_eth: Move register DEFINE to appropriate header file
stm32_eth: remove untested configuration for f446ze boards
stm32_eth: Move periph configuration struct to stm32_common
stm32_eth: Fix naming of eth_phy_read and eth_phy_write
stm32_eth: Remove obsolete test applications
2019-07-04 15:27:26 +02:00
Victor Arino
e206087d65
stm32_eth: Initial implementation by Victor Arino
drivers/eth-phy: add generic Ethernet PHY iface
cpu/stm32f4: implement eth driver peripheral

This implements the ethernet (MAC) peripheral of the stm32f4 as a
netdev driver.
boards/stm32f4discovery: add eth configuration
boards/stm32f4discovery: add feature stm32_eth
tests/stm32_eth_lwip: add test application
2019-07-04 15:04:01 +02:00
0791174c1f
Merge pull request #11769 from haukepetersen/opt_softdevice_feature
ble/softdevice: add ble_nordic_softdevice feature
2019-07-04 11:23:30 +02:00
342f3e87e2
boards/stm32l4: add riotboot support 2019-07-04 10:35:02 +02:00
Hauke Petersen
03153acb1a ble/softdevice: add ble_nordic_softdevice feature
The softdevice is only verified to be working on nrf52832-based
boards. This feature prevents the softdevice from being build for
other, similar targets (e.g. nrf52840-based boards).
2019-07-04 09:22:46 +02:00
Leandro Lanzieri
5492214fbf
Merge pull request #11768 from aabadie/pr/boards/lobaro_lorabox
boards/lobaro-lorabox: add sx1272 radio driver dependency to netdev_default
2019-07-04 09:19:26 +02:00
cladmi
ec312492ee
boards/remote: use common/remote/Makefile.features
Introduce and use a common/remote/Makefile.features.
The boards were already using the common `Makefile.include` and
`Makefile.dep`.

This makes 'include $(RIOTCPU)/cc2538/Makefile.features' be done in
the same module where 'CPU' is defined.

Preparation for moving 'CPU' definition to Makefile.features.
2019-07-01 18:09:57 +02:00
cladmi
5b00d3a942
boards/msba2-based: use common/msba2/Makefile.features
Introduce and use a common/msba2/Makefile.features.
The boards were already using the common `Makefile.include` and
`Makefile.dep`.

This makes 'include $(RIOTCPU)/lpc2387/Makefile.features' be done in
the same module where 'CPU' is defined.

Preparation for moving 'CPU' definition to Makefile.features.
2019-07-01 18:09:57 +02:00
cladmi
6be662a48b
boards/msp30: use common/msb-430/Makefile.features
Use the common `msb-430/Makefile.features` instead of duplicating the
`cpu` include.
2019-07-01 18:09:57 +02:00
cladmi
38e0ce3d54
boards/bluepill/blackpill: always include common Makefile.features
The file is there so no reason to have an include if file exists.
2019-07-01 18:09:57 +02:00
8db29ad065
boards/lobaro-lorabox: add sx1272 driver to netdev_default deps 2019-07-01 14:50:04 +02:00
Sören Tempel
7c49cbb4a1 boards/native: make compilation of qdec mock conditional
Previously this code was compiled unconditionally which might result in
a linking error since qdecs_value is not defined if the periph_qdec
module isn't enabled.
2019-07-01 14:23:15 +02:00
a1d0192e48
boards/nucleo-f3xx: add support for riotboot feature 2019-07-01 10:44:32 +02:00
Marian Buschsieweke
67631f3ae8
boards/msbiot: Added missing doc in board.h
- Fixes warnings with current Doxygen version
- Resolves issue with Doxygen linking e.g. LED0_PIN to the doc of a different
  board
2019-06-28 16:46:46 +02:00
c9bf22be69
Merge pull request #11748 from maribu/msbiot_doc
boards/msbiot: Updated/fixed documentation
2019-06-28 15:44:25 +02:00
Gaëtan Harter
47ff0198d5
boards/native: define FLASHFILE
Even if native does not require flashing, it is the file used for running.
2019-06-27 14:27:10 +02:00
Marian Buschsieweke
489138c2d3
boards/msbiot: Updated/fixed documentation
- Updated outdated information
- Fixed Markdown to generate desired output
- Replaced references to source code by references to their documentation
- Correct use of units (b = bit, B = byte, Ki = 1024, K = 1000, ...)
2019-06-27 09:27:04 +02:00
MrKevinWeiss
407dff7f62 boards/openmote-b/doc: Add doc.txt to openmote-b
It seems the doc was not added during the port.
This adds documentation similar to the openmote-cc2538.
This also expands on some flashing issues that have occurred.
2019-06-26 09:58:06 +02:00
Kevin "Bear Puncher" Weiss
90e8da0a9b
Merge pull request #11708 from cladmi/pr/mspdebug/flashfile
boards/mspdebug: use FLASHFILE for boards using mspdebug
2019-06-25 13:38:32 +02:00
Gaëtan Harter
6538d71ed0
boards/mspdebug: use FLASHFILE for boards using mspdebug
Update to use FLASHFILE as file to be flashed on the board.
IOTLAB_FLASHFILE also uses 'FLASHFILE' (and not the default 'ELFFILE').
2019-06-25 12:43:22 +02:00
Gaëtan Harter
6e0164be3c
boards/mbed_lpc1768: fix file format documentation in flash
The board is flashing using a binary file and not a 'hex' file.
I did not update the documentation when renaming the variable.

The comment was copied from the other boards using 'fscopy' and a
hexfile.
2019-06-25 12:36:08 +02:00
Kevin "Bear Puncher" Weiss
b4079badf7
Merge pull request #11730 from leandrolanzieri/pr/boards/nucleo-l476rg_dma_config
boards/nucleo-l476rg: Add DMA support
2019-06-24 15:30:46 +02:00
Kevin "Bear Puncher" Weiss
cc13558c5e
Merge pull request #11699 from cladmi/pr/pic32/flashfile
boards/pic32-xx: set FLASHFILE to HEXFILE
2019-06-24 11:16:39 +02:00
Kevin "Bear Puncher" Weiss
5481ef1141
Merge pull request #11710 from cladmi/pr/boards/single/flashfile
boards/single: use FLASHFILE
2019-06-24 10:59:45 +02:00
Kevin "Bear Puncher" Weiss
b076d856ab
Merge pull request #11709 from cladmi/pr/dfu/flashfile
boards/dfu-util: use FLASHFILE for boards using dfu-util
2019-06-24 10:59:14 +02:00
Kevin "Bear Puncher" Weiss
dec51aac20
Merge pull request #11711 from cladmi/pr/board/mips-malta/flashfile
boards/mips-malta: set FLASHFILE
2019-06-24 10:35:27 +02:00
Benjamin Valentin
ba7841d7b4 boards/same54-xpro: add riotboot support 2019-06-21 09:47:04 +02:00
Leandro Lanzieri
e92516e31c boards/nucleo-l476rg: Add DMA support 2019-06-21 09:40:03 +02:00
Gaëtan Harter
78fdc49b32
boards/mips-malta: set FLASHFILE
Set FLASHFILE to the file that was generated before.

It still need to have HEXFILE=$(BINFILE) as it cannot generate a hex file.
2019-06-17 18:52:41 +02:00
Gaëtan Harter
1c14a7da86
boards/goodfet: use FLASHFILE for boards using goodfet.bsl
Update to use FLASHFILE as file to be flashed on the board.
2019-06-17 18:26:39 +02:00
Gaëtan Harter
785a9546ae
boards/opencm904: use FLASHFILE for boards using robotis-loader.py
Update to use FLASHFILE as file to be flashed on the board.
2019-06-17 18:26:36 +02:00
Gaëtan Harter
451b129315
boards/f4vi1: use FLASHFILE for boards using st-flash
Update to use FLASHFILE as file to be flashed on the board.
2019-06-17 18:26:33 +02:00
Gaëtan Harter
1b3d4b1a56
boards/teensy31: use FLASHFILE for boards using teensy_loader
Update to use FLASHFILE as file to be flashed on the board.
2019-06-17 18:26:30 +02:00
Gaëtan Harter
af810add1a
boards/fscopy: use FLASHFILE when using fscopy
Update to use FLASHFILE as file to be flashed on the board.
2019-06-17 18:26:22 +02:00
Gaëtan Harter
201c283a8f
boards/dfu-util: use FLASHFILE for boards using dfu-util
Update to use FLASHFILE as file to be flashed on the board.
2019-06-17 18:10:38 +02:00
Gaëtan Harter
a379d95695
Merge pull request #11670 from aabadie/pr/boards/remove_features_mcu_group
boards/*: remove unused FEATURES_MCU_GROUP variable
2019-06-17 12:41:36 +02:00
18bb31c38e
Merge pull request #11643 from fjmolinas/pr_stm32l4_riotboot
boards/nucleo-l476rg: add riotboot
2019-06-14 16:50:28 +02:00
Gaëtan Harter
4a085270ea
boards/esp*: use PORT in RESET_FLAGS
This allows selecting the correct device when multiple boards are connected.
2019-06-14 15:58:36 +02:00
Gaëtan Harter
1d8de6b24d
boards/esp*: update RESET and RESET_FLAGS
Update to use RESET and RESET_FLAGS variables set conditionally.
2019-06-14 15:58:36 +02:00
Gaëtan Harter
baa326b83d
boards/pic32-xx: set FLASHFILE to HEXFILE
The boards are using HEXFILE for flashing even if there is no
FLASHER for the moment.
2019-06-14 15:06:24 +02:00
Marian Buschsieweke
04b7ab16c0
boards/nrf52840dk: Arduino-compatible SPI config
Added a SPI config that allows using Arduino-Shields that use SPI via the
Arduino-ICSP header
2019-06-14 12:04:30 +02:00
Marian Buschsieweke
c822f48789
boards/nrf52dk: Arduino-compatible SPI config
Added a SPI config that allows using Arduino-Shields that use SPI via the
Arduino-ICSP header
2019-06-14 12:04:30 +02:00
Marian Buschsieweke
f1c25b7c5c
boards/nrf52832-mdk: Use default SPI config 2019-06-14 12:04:30 +02:00
Marian Buschsieweke
2e16256abe
boards/nrf52840-mdk: Use default SPI config 2019-06-14 12:04:30 +02:00
Marian Buschsieweke
3a92b79eea
boards/common/nrf52xxxdk: Split off SPI config
Moved SPI config from boards/common/nrf52xxxdk/include/periph_config.h to
boards/common/nrf52/include/cfg_spi_default.h. This allows all nRF52 based
boards to use this SPI config if applicable and also allows nRF52*-DK boards
to use custom SPI configs, if needed.
2019-06-14 12:02:29 +02:00
Marian Buschsieweke
d925540528
boards/common/nrf52xxxdk: Use GPIO_PIN in SPI conf 2019-06-14 12:02:29 +02:00
a68f78bb10
boards/*: remove unused FEATURES_MCU_GROUP variable 2019-06-14 11:32:15 +02:00
40577affaa
boards/nrf52: replace radio_ble provided feature by ble_nimble 2019-06-12 17:41:31 +02:00
98aa643d7e
PHYTEC reel: add usbdev feature 2019-06-11 14:17:11 +02:00
e745078f76
particle-mesh: add usbdev feature 2019-06-11 14:17:07 +02:00
7ca573aace
nrf52840-mdk: add usbdev feature 2019-06-11 14:17:02 +02:00
cc5320d626
nrf52840dk: Add usbdev feature 2019-06-11 14:14:36 +02:00
4e5a320dc6
Merge pull request #11513 from skullbox305/board-nrf52840-mdk
boards/nrf52840-mdk: added I2C config
2019-06-11 13:48:15 +02:00
Gaëtan Harter
ec2278fff7
Merge pull request #11618 from aabadie/pr/boards/kw41z-cleanup
boards/kw41z: phynode-kw41z now also use the kw41z common Makefile.include
2019-06-11 11:37:46 +02:00
Gaëtan Harter
632da8ae0a
Merge pull request #11562 from fjmolinas/pr_kinetis_riotboot_frdm_kw41z
boards/frdm-kw41z-k64f: add riotboot
2019-06-07 19:49:08 +02:00
6932709163
boards/stm32f429i-disc1: add i2c configuration 2019-06-07 17:35:43 +02:00
Gaëtan Harter
b9c15c3084
Merge pull request #11649 from smlng/pr/make/reset
make: allow to override RESET and RESET_FLAGS for all boards and tools
2019-06-07 12:09:41 +02:00
Leandro Lanzieri
a32c22e227
Merge pull request #11651 from bergzand/pr/usb/periph_sensebox
sensebox: add usbdev feature
2019-06-07 10:33:56 +02:00
f5d4d41f7b
Merge pull request #11650 from bergzand/pr/usb/periph_arduino_mkr
common/arduino-mkr: add usbdev feature
2019-06-07 09:11:27 +02:00
Dylan Laduranty
87f59b474b
Merge pull request #11305 from benpicco/same54
cpu/sam0: add support for SAMD5x/SAME5x
2019-06-06 17:26:43 +02:00
eb0a4f99c0
Merge pull request #10938 from miri64/feather-m0/enh/bat-adc-line
feather-m0: add BAT voltage ADC line (A7)
2019-06-06 17:17:10 +02:00
2bf58a7166
sensebox: add usbdev feature 2019-06-06 17:15:59 +02:00
3a4dff9ddc
common/arduino-mkr: add usbdev feature 2019-06-06 17:04:35 +02:00
Benjamin Valentin
ddbeccb195 boards/same54-xpro: add support for SAME54-XPRO board
This adds support for the Atmel SAM E54 Xplained Pro Evaluation Kit.

Only basic functionality has been enabled.
2019-06-06 16:47:11 +02:00
Sebastian Meiling
36ef5a3290 make: allow override of RESET for boards/spark-core 2019-06-06 16:27:22 +02:00
Sebastian Meiling
3182e693ce make: allow override of RESET for boards/openmote-b 2019-06-06 16:27:22 +02:00
Sebastian Meiling
41869e85c5 make: allow override of RESET for boards/nz32-sc151 2019-06-06 16:27:22 +02:00
Sebastian Meiling
458b178d46 make: allow override of RESET for boards/common/stm32f103c8 2019-06-06 16:27:15 +02:00
Sebastian Meiling
3482bfaa2a make: allow override of RESET for boards/common/remote 2019-06-06 16:27:08 +02:00
Sebastian Meiling
8766f8bf28 make: allow override of RESET for boards/common/esp8266 2019-06-06 16:26:58 +02:00
Sebastian Meiling
44f8314a04 make: allow override of RESET for boards/common/esp32 2019-06-06 16:26:51 +02:00
Sebastian Meiling
32a1a79f9f make: allow override of RESET for boards/cc2538dk 2019-06-06 16:26:44 +02:00
Martine Lenders
b5aa0edd10 feather-m0: add documentation on BAT voltage 2019-06-06 16:24:27 +02:00
Martine Lenders
59300db005 feather-m0: add BAT voltage ADC line (A7) 2019-06-06 16:24:27 +02:00
a07be83d5e
Merge pull request #11639 from keestux/add-usb-sodaq-boards
Add usbdev feature to Sodaq boards
2019-06-06 16:18:58 +02:00
22ca76693b
Merge pull request #11636 from ynezz/upstream/feather-m0-usbdev
feather-m0: add usbdev feature
2019-06-06 16:12:45 +02:00
francisco
42b1118f94 boards/frdm-k64f add riotboot support 2019-06-06 15:20:36 +02:00
francisco
5db21a4cc5 boards/kw41z: add riotboot support 2019-06-06 15:11:45 +02:00
francisco
9f43d632ba boards/pba-d-01-kw2x: add riotboot support 2019-06-06 11:59:55 +02:00
francisco
30fcea3ba5 boards/nucleo-l476rg: add riotboot support 2019-06-06 11:55:06 +02:00
Kees Bakker
03e703d88c sodaq-sara-aff: add usbdev feature 2019-06-05 23:06:53 +02:00
Kees Bakker
153fa5c1f6 sodaq-explorer: add usbdev feature 2019-06-05 23:04:18 +02:00
Kees Bakker
a142bb175f sodaq-one: add usbdev feature 2019-06-05 23:01:48 +02:00
Kees Bakker
37316fbc75 sodaq-autonomo: add usbdev feature 2019-06-05 22:58:27 +02:00
Petr Štetiar
3b5d9f3e46 feather-m0: add usbdev feature
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-06-05 17:59:27 +02:00
e53b117563
Merge pull request #11625 from haukepetersen/opt_nrf51_timerrttcfg
boards/nrf51-based: split shared timer/rtt config
2019-06-05 12:00:27 +02:00
Hauke Petersen
44625ecc1b boards/nrf51-based: split shared timer/rtt config 2019-06-05 09:53:15 +02:00
Leandro Lanzieri
8068a83edf
Merge pull request #11629 from cladmi/pr/boards/lobaro-lorabox-flashfile
boards/lobaro-lorabox: use FLASHFILE for boards using stm32loader.py
2019-06-05 09:24:48 +02:00
Martine Lenders
fcc8427ff3
Merge pull request #11608 from haukepetersen/opt_calliope_rmfscopyflasher
board/calliope-mini: use openocd as default flasher and rm fscopy
2019-06-04 22:09:48 +02:00
Martine Lenders
413c6d15e7
Merge pull request #11627 from cladmi/pr/native/toolchain_duplication
boards/native: remove toolchain variables duplication
2019-06-04 16:39:44 +02:00
Gaëtan Harter
84d7e37b11
boards/lobaro-lorabox: use FLASHFILE for boards using stm32loader.py
Update to use FLASHFILE as file to be flashed on the board.
2019-06-04 16:37:32 +02:00
bfeabb3ad9
Merge pull request #11609 from haukepetersen/opt_microbit_rmfscopyflasher
board/microbit: use openocd and remove fscopy
2019-06-04 16:25:27 +02:00
Gaëtan Harter
9c5688ea27
boards/native: remove toolchain variables duplication
The toolchain variables were overwritten anyway in
`makefiles/toolchain/gnu|llvm.inc.mk` as they use `=` affectation,
except for `OBJCOPY`.

On my Linux ubuntu bionic machine, the only difference for `info-build`
with both gnu/llvm and also with LTO=1
is that it now uses an absolute path for `objcopy`

    -OBJCOPY: objcopy
    +OBJCOPY: /usr/bin/objcopy

On the OSX 17.7.0 I tested, there was no difference.
2019-06-04 16:00:24 +02:00
Hauke Petersen
f163162454 boards/microbit: remove fscopy shell script 2019-06-04 15:27:58 +02:00
Hauke Petersen
cd998f6a2d boards/microbit: use openocd as default programmer 2019-06-04 15:27:58 +02:00
Hauke Petersen
9428254b72 boards/calliope: remove fscopy script 2019-06-04 15:10:14 +02:00
Hauke Petersen
8d03a83c2a boards/calliope: use openocd as default programmer 2019-06-04 15:10:14 +02:00
Gaëtan Harter
c103b3f6ba serial: Do not export PORT.
This variable is only used for the term recipe (and maybe for flashing). They
should not be evaluated if they are not needed and the user should not see a
warning that the port is not set if he does not use port (for example in make
all.)
2019-06-03 16:31:21 +02:00
Gaëtan Harter
675bd5eec0
board: remove exporting PORT_LINUX|PORT_DARWIN
PORT_LINUX and PORT_DARWIN are evaluated by
`makefiles/tools/serial.inc.mk` and some boards Makefile.include.
Their value does not need to be exported.

This also globally removes the line saying that the exports are needed
for flash rule.
2019-06-03 16:21:28 +02:00
af7331dd41
boards/phynode-kw41z: use common kw41z board configuration 2019-06-03 13:06:30 +02:00
13c89b5feb
boards/kw41z: move boards common kw41z to specific boards
usb-kw41z and frdm-kw41z are affected by this change.
2019-06-03 13:06:01 +02:00
b464ecea3d
boards/cc2538dk: don't export PROGRAMMER_SERIAL 2019-06-03 10:32:08 +02:00
4cde5a47e2
boards/mulle: remove useless export when setting DEBUG_ADAPTER_ID 2019-06-03 10:32:08 +02:00
414c304f2b
boards/*: remove useless export when setting DEBUG_ADAPTER 2019-06-03 10:32:08 +02:00
Juan I Carrano
245f04a33d
Merge pull request #11545 from cladmi/pr/kinetis/flash_no_arm_toolchain
cpu/kinetis: allow flashing without toolchain
2019-05-29 13:51:30 +02:00
Gaëtan Harter
fff2718d58
Merge pull request #11548 from cladmi/pr/sltb001a/fix_flashing
boards/sltb001a: reset before flashing
2019-05-28 19:32:53 +02:00
Kevin "Bear Puncher" Weiss
9ff8c704ea
Merge pull request #11570 from aabadie/pr/boards/stm32_l0_i2c
boards/b-l072z-lrwan1: use STM32 common i2C configuration
2019-05-28 19:17:45 +02:00
Gaëtan Harter
dedbe9c737
Merge pull request #11554 from cladmi/pr/make/exports/remove_flash_debug_reset
make: remove exports for flash debug reset
2019-05-28 18:15:03 +02:00
Gaëtan Harter
e40d569204
kinetis: save 'wdog-disable.bin' binary in the repository
Keep the compiled '.bin' file to remove the need to compile it when
flashing. This remove the need to have the toolchain when flashing so
allow compiling and flashing with `BUILD_IN_DOCKER=1` without a local
toolchain.

Even if it ends up storing a binary, the file is only 34 bytes.
2019-05-28 14:37:11 +02:00
Gaëtan Harter
ff00096a39
boards/tools: remove exporting MSPDEBUGFLAGS
MSPDEBUGFLAGS is evaluated only in the same file.
Its value does not need to be exported.

This will also prevent evaluating 'PORT' for MSPDEBUGFLAGS when not needed.
2019-05-28 09:58:40 +02:00
Gaëtan Harter
7306dbd382
boards/tools: remove exporting DEBUG*
DEBUGGER/DEBUGGER_FLAGS/DEBUGSERVER/DEBUGSERVER_FLAGS are evaluated by the
main Makefile.include or by file included by it.
Their value does not need to be exported.

Testing
-------

`git diff --word-diff` only reports `export` being removed.

`git show --stat` reports `55 insertions(+), 55 deletions(-)`
Which is the same amount as lines that where matching
`export[[:blank::]]\+VARIABLE`.
2019-05-28 09:58:35 +02:00
Gaëtan Harter
b88d1887c8
boards/tools: remove exporting RESET/RESET_FLAGS
RESET and RESET_FLAGS are evaluated by the main Makefile.include or by file
included by it. Their value does not need to be exported.

This will also prevent evaluating 'PORT' for RESET_FLAGS when not needed.

Testing
-------

`git diff --word-diff` only reports `export` being removed.

`git show --stat` reports `24 insertions(+), 24 deletions(-)`
Which is the same amount as lines that where matching
`export[[:blank::]]\+VARIABLE`.
2019-05-28 09:56:14 +02:00
Gaëtan Harter
ac113ca2f8
boards/tools: remove exporting FLASHER/FFLAGS
FLASHER and FFLAGS are evaluated by the main Makefile.include or by file
included by it. Their value does not need to be exported.

This will also prevent evaluating 'PORT' for FFLAGS when not needed.

Testing
-------

`git diff --word-diff` only reports `export` being removed.

`git show --stat` reports `84 insertions(+), 84 deletions(-)`
Which is the same amount as lines that where matching
`export[[:blank::]]\+VARIABLE`.
2019-05-28 09:56:00 +02:00
francisco
963bbe75ba kinetis/check-fcfield: merge hex and elf script 2019-05-27 17:38:46 +02:00
Thomas Perrot
b63121c588
board: add support for arduino-leonardo 2019-05-24 15:12:47 +02:00
Thomas Perrot
44803ea4fd
cpu/atmega32u4: add support for ATmega32U4 2019-05-24 15:12:47 +02:00
25a8ea5d1b
boards/b-l072z-lrwan1: use common i2c configuration 2019-05-24 11:12:02 +02:00
6cad403dfa
boards/stm32: adapt common i2c config to L0 boards 2019-05-24 11:11:24 +02:00
Francisco
b6749ac5b9
Merge pull request #11322 from aabadie/pr/stm32f7/add_rtt_feature
stm32f7: enable periph_rtt feature and apply to f7 based boards
2019-05-23 21:25:19 +02:00
Kevin "Bear Puncher" Weiss
3f4c92d8bf
Merge pull request #11569 from cladmi/pr/make/cc2538/flashfile
boards/cc2538: use FLASHFILE for boards using cc2538-bsl.py
2019-05-23 16:33:49 +02:00
Gaëtan Harter
9e9f8637e9
boards/cc2538: use FLASHFILE for boards using cc2538-bsl.py
Update to use FLASHFILE as file to be flashed on the board.
2019-05-23 15:02:15 +02:00
Gaëtan Harter
d58d8b375c
boards/openmote-b: remove OFLAGS
OFLAGS is set by the `.bin` and `.hex` rules no need to define it anymore.
2019-05-23 14:55:26 +02:00
f153429f69
boards/stm32: add rtt features to stm32f7 based boards 2019-05-23 14:49:39 +02:00
9849010309
boards/stm32l0: use shared clock configuration 2019-05-23 14:03:17 +02:00
d6689103ef
boards/stm32: add shared STM32L0 clock configuration 2019-05-23 14:03:17 +02:00
Francisco
269882b619
Merge pull request #11323 from aabadie/pr/stm32/add_rtt_feature
boards/stm32l0/l4: add rtt feature
2019-05-23 12:22:03 +02:00
Felix B
d185767070 boards/nucleo-f767zi: add spi config 2019-05-21 17:39:03 +02:00
f559ccb0c6
Merge pull request #11260 from maribu/nucleo-f767zi
boards/nucleof7*: SPI and refactoring
2019-05-21 14:01:41 +02:00
Marian Buschsieweke
ffb6c54d81
boards/nucleo-f746zg: Use shared clock settings
Use boards/common/stm32/include/f7/cfg_clock_216_8_1.h for core clock settings
2019-05-21 13:19:42 +02:00
Marian Buschsieweke
54b621bf3e
boards/nucleo-f722ze: Use shared clock settings
Use boards/common/stm32/include/f7/cfg_clock_216_8_1.h for core clock settings
2019-05-21 13:19:42 +02:00
Marian Buschsieweke
61e1068eba
boards/nucleo-f767zi: Add SPI settings 2019-05-21 13:19:42 +02:00
Dylan Laduranty
85d37bb94f
Merge pull request #11336 from benpicco/sam0-timer
sam0_common: make Timer implementation common across all sam0 MCUs
2019-05-21 12:13:39 +02:00
Benjamin Valentin
849dd4cdce sam0_common: make Timer implementation common across all sam0 MCUs
The currently supported SAM0 MCUs (samd21, saml21, saml1x) share the same
Timer peripheral, yet each of them carries it's own copy of the Timer
driver.

This introduces a new timer driver that is common for all sam0 MCUs and
uses structs for configuration instead of defines.
2019-05-21 11:47:59 +02:00
5e3d20d0b2
boards: add support for i-nucleo-lrwan1 2019-05-21 09:57:33 +02:00
ac878f3758
boards/nucleo-l0*: enable clock LSE 2019-05-21 09:50:10 +02:00
5c79e1456a
boards/stm32l476rg: add RTT and RTC features 2019-05-21 09:50:10 +02:00
a38823b823
boards/nucleo-*: add RTT feature where possible 2019-05-21 09:50:10 +02:00
a4de4153fc
boards/lsn50: use common rtt configuration 2019-05-21 09:01:02 +02:00
ca9bd8e5cc
boards/nucleo-l496zg: use common rtt configuration 2019-05-21 08:38:44 +02:00
f92139509d
boards/nucleo-l476rg: use common rtt configuration 2019-05-21 08:38:44 +02:00
c3d7dbce2c
boards/nucleo-l452re: use common rtt configuration 2019-05-21 08:38:44 +02:00
4c86b00808
boards/nucleo-l433rc: use common rtt configuration 2019-05-21 08:38:43 +02:00
4e26ac943b
boards/b-l475e-iot01a: use common rtt configuration 2019-05-21 08:38:43 +02:00
7d12ea78f0
boards/b-l072z-lrwan1: use common rtt configuration 2019-05-21 08:38:43 +02:00
871dda1216
boards/stm32: introduce common default rtt config 2019-05-21 08:38:43 +02:00
Gaëtan Harter
777592dff1
boards/sltb001a: reset before flashing
When it was running 'hello-world', the board could not be flashed through
JLinkExe anymore and only through the drag and drop support.

By resetting the board before doing 'loadbin' it can now be flashed
properly.
2019-05-20 13:54:06 +02:00
c439346f6d
Merge pull request #10563 from aabadie/pr/boards/particle_mesh
boards/particle-{xenon,argon,boron}: add initial support
2019-05-20 11:54:04 +02:00
bf3e471fdb
boards/lsn50: add initial support 2019-05-17 22:43:04 +02:00
05409782c0
boards/particle-boron: initial support 2019-05-17 22:42:08 +02:00
17fd5b7145
boards/particle-argon: initial support 2019-05-17 22:42:08 +02:00
f524a451a4
boards/particle-xenon: initial support 2019-05-17 22:42:08 +02:00
22fe1925e0
boards/particle-mesh: common support for particle mesh boards 2019-05-17 22:42:08 +02:00
Kevin "Bear Puncher" Weiss
e40f483acf
Merge pull request #11261 from gschorcht/cpu/esp32/doc_fix/rom
boards/cpu/esp32: doc fix of built-in ROM size
2019-05-14 13:07:50 +02:00
Leandro Lanzieri
44d981947d
Merge pull request #11293 from gschorcht/cpu/esp32/periph/conf/spi
boards/esp32: changes the approach for configurations of SPI interfaces in board definitions
2019-05-14 12:07:19 +02:00
Leandro Lanzieri
171058d38d
Merge pull request #11481 from gschorcht/boards/esp32_wrover_kit/doc/fix
boards/esp32 wrover kit: documentation fixes and small improvents
2019-05-14 11:23:58 +02:00
Francisco
6b8bbd7eba
Merge pull request #11044 from aabadie/pr/boards/kw41z-common
boards/kw41z*: add common configuration and use it with existing kw41z boards
2019-05-14 01:53:31 -07:00
Gunar Schorcht
bf60857442 boards/esp32_wrover_kit: documentation fix
Fixes the bold faced references **/dev/ttyUSB** that stopped doxygen generation
2019-05-13 18:12:03 +02:00
Gunar Schorcht
38843792c4 boards/esp32_wrover_kit: documentation fix
Fixes a reference to vendor picture that has been moved to a different location.
2019-05-13 18:12:03 +02:00
Gunar Schorcht
0eb8275925 boards/esp32_wrover_kit: documentation improvement 2019-05-13 18:12:03 +02:00
Leandro Lanzieri
ab6d0fe08c
Merge pull request #11292 from gschorcht/cpu/esp32/periph/conf/pwm
boards/esp32: changes the approach for configurations of PWM channels in board definitions
2019-05-13 16:11:05 +02:00
Igor Knippenberg
6da0ca735a boards/nrf52840-mdk: added I2C config 2019-05-13 11:03:41 +02:00
Kevin "Bear Puncher" Weiss
6a78746471
Merge pull request #11506 from maribu/bluepill_doc
boards/bluepill: Extended/updated doc on flashing
2019-05-10 00:56:50 -07:00
Marian Buschsieweke
531c62fa65
boards/bluepill: Extended/updated doc on flashing
- Indicated that the hardware reset signal is used to reset the device and that
  OpenOCD will that connect under reset
- Added troubleshooting for flashing using hardware reset
- Removed previous troubleshooting for flashing, as this issue is no longer
  present since OpenOCD connects under reset
2019-05-09 19:36:12 +02:00
Kevin "Bear Puncher" Weiss
6afb0603aa
Merge pull request #11291 from gschorcht/cpu/esp32/periph/conf/i2c
boards/esp32: changes the approach for configurations of I2C in board definitions
2019-05-09 08:26:01 -07:00
Kevin "Bear Puncher" Weiss
795ad18f2e
Merge pull request #11294 from gschorcht/cpu/esp32/periph/conf/uart
boards/esp32: changes the approach for configurations of UART interfaces in board definitions
2019-05-09 08:25:40 -07:00
8bd320b34f
boards/phynode-kw41z: use common configuration 2019-05-07 21:57:05 +02:00
7d90a48a3d
boards/usb-kw41z: use common configuration 2019-05-07 21:57:05 +02:00
151803da5b
boards/frdm-kw41z: use common configuration 2019-05-07 21:57:04 +02:00
cb4cdee0ef
boards/common: introduce common code for kw41z boards 2019-05-07 21:57:04 +02:00
Leandro Lanzieri
9075e1d207
Merge pull request #11290 from gschorcht/cpu/esp32/periph/conf/dac
boards/esp32: changes the approach for configurations of DAC channels in board definitions
2019-05-07 11:35:34 +02:00
990086aee7
Merge pull request #11479 from cladmi/pr/kinetis/hwrng
kinetis: move filtering-out periph_hwrng in cpu/kinetis
2019-05-06 17:42:16 +02:00
Gaëtan Harter
19224ec1d5
kinetis: move filtering-out periph_hwrng in cpu/kinetis
This removes doing `filter-out periph_hwrng, $(FEATURES_PROVIDED)`
after processing `cpu/$(CPU)/Makefile.features`.
The current solution is a HACK as `CPU_MODEL` is currently not available
at that moment but will be in the near future.

It will allow always including `cpu/$(CPU)/Makefile.features` after
`boards/$(BOARD)/Makefile.features`.

It is a part of moving `CPU/CPU_MODEL` definitions to `Makefile.features`.
2019-05-06 15:12:47 +02:00
Gunar Schorcht
008f1c5d55 boards/esp32: UART configuration approach changed
UART devices are now configured using static array in header files instead of static variables in implementation to be able to define UART_NUMOF using the size of the array instead of a variable.
2019-05-06 13:34:59 +02:00
Gunar Schorcht
23cc987184 boards/esp32: SPI configuration approach changed
SPI devices are now configured using static array in header files instead of static variables in implementation to be able to define SPI_NUMOF using the size of the array instead of a variable.
2019-05-06 13:33:48 +02:00
Gunar Schorcht
bd354dd29f boards/esp32: PWM configuration approach changed
PWM channels are now configured using static array in header files instead of static variables in implementation.
2019-05-06 13:32:52 +02:00
Gunar Schorcht
6a3bc3e242 boards/esp32: I2C configuration approach changed
I2C devices are now configured using static array in header files instead of static variables in implementation to be able to define I2C_NUMOF using the size of the array instead of a variable.
2019-05-06 13:32:06 +02:00
Gunar Schorcht
7e8a1c1ea6 boards/esp32: DAC config approach changed
DAC pins are now configured using static arrays in header files instead of static variables in implementation to be able to define DAC_NUMOF using the size of these arrays instead of a variable.
2019-05-06 13:29:38 +02:00
Gunar Schorcht
880e156602 boards/esp32: disable DAC for WROVER-Kit boards 2019-05-06 13:29:38 +02:00
Gunar Schorcht
f872eb9488 boards/esp32: disable DAC for Olimex ESP32 boards 2019-05-06 13:29:38 +02:00
Gunar Schorcht
18cb678dd7 boards/esp32_wrover_kit: documentation improvement
Adds a reference to a vendor document about hardware configuration.
2019-05-03 07:57:30 +02:00
Gunar Schorcht
3db78e0423 boards/esp32: ADC config approach changed
ADC pins are now configured using static arrays in header files instead of static variables in implementation to be able to define ADC_NUMOF using the size of these arrays instead of a variable.
2019-05-02 16:39:04 +02:00
Gunar Schorcht
0bab7e08cf boards/esp32: disable ADC for Olimex ESP32 EVB 2019-05-02 16:38:58 +02:00
Emmanuel Baccelli
4c3e49ee40
Merge pull request #11475 from kaspar030/add_iotpush_copyrights
add copyrights from IOTPUSH project
2019-05-02 12:42:17 +02:00
0ec9c57b2b add copyrights from IOTPUSH project 2019-05-02 12:09:37 +02:00
Leandro Lanzieri
7c14ff4153
Merge pull request #11337 from gschorcht/cpu/esp32/periph/submodules
cpu/esp32: fix of periph_* submodule compilation
2019-05-01 23:51:03 +02:00
Gunar Schorcht
a3c314f0cd boards/esp32*: print config for enabled modules 2019-05-01 09:40:17 +02:00
Juan I Carrano
d4edbea332
Merge pull request #11454 from cladmi/pr/frdm-k64f/hack/hwrng
boards/frdm-k64f: hack disable periph_hwrng as it crashes
2019-04-29 11:40:40 +02:00
Yegor Yefremov
2c41c9e094 boards/lobaro-lorabox: make sx127x definition consistent
No need to specify SX127X_PARAMS structure as it is already
defined in drivers/sx127x/include/sx127x_params.h.

Also remove SX127X_PARAM_SPI and SX127X_PARAM_PASELECT as their
values are the same as default ones.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-04-29 09:07:29 +02:00
Gaëtan Harter
8f9c629aaf boards/frdm-k64f: hack disable periph_hwrng as it crashes
Use the same disable as in `frdm-kw41z`.
2019-04-26 12:09:55 +02:00
Yegor Yefremov
3d6bc49d9a boards/esp32-olimex-evb: fix comment typo
Replace "ob-board" with "on-board" in LED description.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-04-17 16:59:48 +02:00
ccebd2bd2f
boards/calliope-mini: enable pyocd programmer option 2019-04-17 14:09:29 +02:00
b4fcccc8fe
boards/calliope-mini: use dap adapter with openocd 2019-04-17 14:08:02 +02:00
Yegor Yefremov
46060cf779 boards/esp32*: revise CAN support
CAN interface is now supported in RIOT. Change feature tables
accordingly.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-04-11 07:34:29 +02:00
Yegor Yefremov
4c270eecfa boards/esp32*: fix ENC28J60 configuration example
Add missing '#' to the MODULE_ENC28J80's endif.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-04-10 15:14:47 +02:00
Marian Buschsieweke
ca5e196e78
cpu/atmega_common: Move stdio_init() to cpu_init()
Moving atmega_stdio_init() to cpu_init() just before periph_init() guarantees
that stdio is available to allow DEBUG() in periph_init(). This also helps to
unify the boot up process of ATmega boards and de-duplicates the stdio init from
board_init().
2019-04-10 10:18:43 +02:00
Sebastian Meiling
29efd8402f boards: add I2C config for cc2650stk 2019-04-09 18:07:06 +02:00
21e55bbd28 boards/hifive1: fixup custom reset command 2019-04-09 12:46:15 +02:00
44ecf0e7f2 boards/cc2650-launchpad: configure i2c feature 2019-04-08 11:32:11 +02:00
Sebastian Meiling
4dd09eaa06
Merge pull request #6178 from OTAkeys/pr/can_stm32
can stm32: add a driver for STM32 bxCAN peripheral
2019-04-08 08:50:08 +02:00
Hyungsin
d9c17c2154 boards: add initial hamilton board support 2019-04-03 15:00:35 -07:00
Vincent Dupont
2cb8c4b75c boards/esp32-olimex-evb: disable periph_can 2019-04-03 11:12:46 +02:00
Vincent Dupont
3db7c65438 boards/nucleo-f413zh: add periph_can as supported 2019-04-03 11:12:46 +02:00
d021d971fb
boards/nucleo-l073rz: enable LSE clock 2019-03-29 11:37:22 +01:00
330f97f15f
boards/b-l072z-lrwan1: enable LSE clock 2019-03-29 11:36:07 +01:00
Vincent Dupont
242c0cc7aa
Merge pull request #11266 from aabadie/pr/boards/b-l072z-lrwan1_rtt
boards/b-l072z-lrwan1: provide periph_rtt feature
2019-03-29 11:30:23 +01:00
14f47bf220
Merge pull request #10695 from aabadie/pr/drivers/lpsxxx
drivers/lpsxxx: refactor lps331ap and add support for lps25hb + lps22hb
2019-03-29 10:54:08 +01:00
34ee41ee14
boards/b-l072z-lrwan1: provide and configure rtt peripheral 2019-03-29 09:33:09 +01:00
Kevin "Bear Puncher" Weiss
2d7c72db7f
Merge pull request #11231 from gschorcht/cpu/esp32/periph/uart_mode
cpu/esp32: add the new API function uart_mode to periph/uart
2019-03-28 19:29:38 +01:00
Gunar Schorcht
217ccbe1c4 cpu/esp32: add new uart_mode API function
The internal _uart_set_mode function is exposed if module periph_uart_modecfg is enabled.
2019-03-28 16:36:04 +01:00
Gaëtan Harter
29ada72a9e
Merge pull request #11254 from cladmi/pr/make/openocd/flashfile
makefiles/openocd.inc.mk: use FLASHFILE
2019-03-28 11:56:59 +01:00
Gaëtan Harter
5ce0c8f50d
boards/seeeduino_arch-pro: use FLASHFILE variable
Update to use FLASHFILE as file to be flashed on the board.

openocd.inc.mk now uses FLASHFILE variable so does not need to overwrite
FFLAGS anymore.
2019-03-26 19:26:42 +01:00
Martine Lenders
790f763d3d native: use -g3 instead of -g 2019-03-26 18:53:27 +01:00
emmanuelsearch
61c793aa4c cpu/cortexm_common: Add image_baseaddr support for Cortex-M23 2019-03-26 11:46:00 +01:00
emmanuelsearch
78cbf4fb57 saml1x: Add riotboot support 2019-03-26 11:46:00 +01:00
7daf5966c2
arduino-zero: add usbdev feature 2019-03-26 10:26:12 +01:00
99962ffd15
samr21-xpro: add usbdev configuration 2019-03-26 10:26:12 +01:00
d7804823db
sam0_common: Add USB peripheral driver 2019-03-26 10:26:11 +01:00
Marian Buschsieweke
d00becbc4b
boards/nucleo-f767zi: Use shared clock settings
Use boards/common/stm32/include/f7/cfg_clock_216_8_1.h for core clock settings
2019-03-25 15:51:30 +01:00
Marian Buschsieweke
17fd6941ce
boards/common/stm32: SPI divtable for 108MHz/54MHz 2019-03-25 15:51:30 +01:00
Marian Buschsieweke
7ab1ae1b76
boards/common/stm32: Clock for F7 216MHz/8MHz/LSE
Added file with clock settings for STM32-F7 CPUs with a core clock of 216MHz,
an external high speed clock of 8 MHz and external low speed clock (32.768kHz)
enabled.
2019-03-25 15:51:30 +01:00
Gunar Schorcht
01d17793eb boards/cpu/esp32*: doc fix of built-in ROM size 2019-03-25 14:00:59 +01:00
e830462bf2
boards/nrf52840-mdk: fix device type used with pyocd
This allows pyOCD to use the right memory values, especially flash size and pyOCD 0.14.1 has support for nrf52840.
2019-03-24 16:48:29 +01:00
1f937cedb7
Merge pull request #11141 from fjmolinas/stm32l0_bootloader
stm32l0: add riotboot support
2019-03-24 10:48:48 +01:00
francisco
9624a34e86 boards/b-072z-lrwan1: provide riotboot feature 2019-03-24 10:05:53 +01:00
francisco
235d5ce835 boards/nucleo-l073rz: provide riotboot feature 2019-03-23 20:38:20 +01:00
e7f8e46114
boards/nrf52840-mdk: add missing dependency to 802154 driver 2019-03-23 13:40:18 +01:00
Gaëtan Harter
2523c1b8ef
Merge pull request #11126 from bergzand/pr/nrf52/riotboot
nrf52: Add riotboot support
2019-03-20 19:58:41 +01:00
Gaëtan Harter
7d360fcd2a
Merge pull request #11200 from danpetry/tools/jlink_handle_image_offset
jlink: handle flashing at IMAGE_OFFSET
2019-03-20 19:13:28 +01:00
Gaëtan Harter
f9cee9e820
Merge pull request #11174 from fjmolinas/stm32lx_dual_bank
boards/common/stm32l0: use dual bank with openocd if available
2019-03-20 18:38:19 +01:00
danpetry
f8bb42f787 Openmote-cc2538: format flash start address as hex
Declaring the address in decimal format meant that it was being
interpreted as a decimal rather than hex address by the tooling
and the intermediate bash arithmetic. This fixes that bug.
2019-03-20 16:07:51 +01:00
905376eef8
Merge pull request #11103 from aabadie/pr/boards/nrf52832-mdk-v2
boards/nrf52832-mdk: add basic support
2019-03-20 15:48:13 +01:00
a218bc62ab
boards/b-l475e-iot01a: add defines and deps for lps22hb 2019-03-20 14:43:37 +01:00
80b337b756
boards/iotlab: update lps331ap device addr define
The default address is the same one
2019-03-20 14:43:36 +01:00
d08a028c20
boards: add support for nrf52832-mdk 2019-03-20 14:41:26 +01:00
Gaëtan Harter
9d5e06a512
boards/lpc2k_pgm: use FLASHFILE for boards using lpc2k_pgm
Update to use FLASHFILE as file to be flashed on the board.
2019-03-20 14:31:25 +01:00
Hauke Petersen
8216c9397a
Merge pull request #11096 from haukepetersen/add_board_reel
boards: add support for Phytec 'reel board'
2019-03-20 10:47:21 +01:00
Marian Buschsieweke
e7e9084c64
Merge pull request #11185 from cladmi/pr/make/msba2/compile_flasher
msba2: compile 'lpc2k_pgm' when flashing
2019-03-20 10:38:46 +01:00
Gaëtan Harter
edaaa78851
boards/cc2650: use the common uniflash configuration
The content is exactly the same.
2019-03-15 15:54:34 +01:00
Gaëtan Harter
d2103b21ab
boards/cc2650stk: fix whitespace
Make it more similar to cc2650-launchpad
2019-03-15 15:39:42 +01:00
Hauke Petersen
ada1d3ce48 boards: add support for Phytec 'reel board' 2019-03-15 10:46:45 +01:00
francisco
026f7dc4a4 boards/stm32lx: use openocd dual bank if possible 2019-03-14 18:10:27 +01:00
Gaëtan Harter
702db3468d
msba2: compile 'lpc2k_pgm' when flashing
Add a rule to build `lpc2k_pgm` when flashing.
It is only compiled if it is using the one in `tools`.
If overwritten to `lpc2k_pgm` if it should be taken from the path,
it is not compiled.

The compilation is still done in `boards/common/msba2/tools` as it was
the case before and this commit does not address this.
2019-03-14 16:41:13 +01:00
Marian Buschsieweke
e4ebbaf59f
boards: Add support for the Arduino Nano
The Arduino Nano board is the cheapest member of the Arduino family and used the
same MCU as the Arduino Uno. It differs in the form factor (the Nano is much
smaller), it uses an integrated FT232RL TTL adapter instead of an ATmega16u2 to
provide access to the serial console via USB, and it uses a different
bootloader (which occupies 2 KiB of the 32 KiB flash instead of 0.5 KiB occupied
on the Arduino Uno). This commit mostly copy pastes code from the Arduino Uno.
2019-03-14 13:54:38 +01:00
005710effb
nrf52: include riotboot feature when possible
The riotboot feature is not compatible with the nordic_softdevice_ble
package at the moment
2019-03-14 12:03:39 +01:00
e3b10e3d7d
Merge pull request #10343 from MrKevinWeiss/pr/fixnucleol1flasher
boards/stm32l0: Fix openocd to prevent flash locking
2019-03-14 10:27:02 +01:00
Emmanuel Baccelli
8969fd32e9
Merge pull request #11080 from kaspar030/add_pyboard
boards: add pyboard v1.1 support
2019-03-13 17:07:40 +01:00
Juan I Carrano
b50ad9ed4c
Merge pull request #11040 from kaspar030/fix_hifive1_reset
boards/hifive1: fix hifive1 reset
2019-03-12 14:59:36 +01:00
b1a7d6093b boards/hifive1: add and use custom openocd reset command 2019-03-12 11:49:02 +01:00
Gilles DOFFE
f3130a3a81 boards/nucleo64: add motor driver
Add motor_driver driver configuration example.
The most simple motor driver type is used here (MOTOR_DRIVER_1_DIR) which
needs only one pin to work.
This example uses already configured PWM channels and 2 free GPIOS.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2019-03-11 01:44:22 +01:00
Gilles DOFFE
3fd3eea5bc boards/native: add two factice motors with qdec simulation
Configure 2 factice motors in one motor_driver.
native_motor_driver_qdec_simulation() is provided to simulate QDEC encoders
virtually linked to the motors.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2019-03-11 01:44:22 +01:00
Gilles DOFFE
ffad5048fc boards/native: update doc.txt
Add PWM and QDEC peripheral description.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2019-03-11 01:44:22 +01:00
Gilles DOFFE
d04c21bb8b boards/native: add qdec simulation callback
native_motor_driver_qdec_simulation() callback is called each time
motor_set() from motor_driver driver is called.
It set associated qdec value to the PWM duty cycle.
QDEC values are stored in qdecs_value[] array in the order motors
are described in board.h.
Then it is needed to configure in first motors that needs the QDEC in
board.h.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2019-03-11 01:44:22 +01:00
Gilles DOFFE
37981b5bc2 boards/native: add periph_pwm to FEATURES_PROVIDED
Add periph_pwm to FEATURES_PROVIDED as PWM is now implemented into native
cpu.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2019-03-11 01:44:22 +01:00
f390a8df2e
boards/nrf5x: use periph_temperature with saul 2019-03-08 21:14:22 +01:00
1da26d5690
Merge pull request #11105 from aabadie/pr/boards/nrf52840-mdk-openocd-fix
boards/nrf52840-mdk: fix openocd programmer configuration
2019-03-06 21:58:34 +01:00
45c4741310 boards/pyboard: initial commit 2019-03-05 22:23:07 +01:00
ee44e58855
Merge pull request #11065 from cladmi/pr/board/nz32/termprog
boards/nz32-sc151: do not blindly set TERMFLAGS
2019-03-05 17:07:56 +01:00
840a096ce6
boards/nrf52840-mdk: fix openocd programmer configuration
For nrf52 based boards, the default adapter is JLink and nrf52840-mdk
uses dap.
2019-03-05 11:48:16 +01:00
Hauke Petersen
7cb1049eef
Merge pull request #10268 from SemjonKerner/add_nrf154
cpu/nrf52/radio: initial support for nrf52's ieee802.15.4 radio
2019-03-04 16:18:43 +01:00
MichelRottleuthner
1642a03125
Merge pull request #11066 from aabadie/pr/boards/common_f4_clock
boards/common/stm32: rework common clock configuration for stm32f4
2019-03-04 14:10:47 +01:00
Semjon Kerner
84ebd83a62 boards/nrf52840dk: support ieee802.15.4 radio 2019-03-04 13:21:47 +01:00
Sebastian Meiling
d29d336894
Merge pull request #11039 from maribu/avrdude
makefiles/tools: Improved avrdude integration
2019-02-28 22:15:30 +02:00
Marian Buschsieweke
4abc41a227
makefiles/tools: Automatically set avrdude target
The CPU variable in the boards Makefile.include file already contains the target
CPU, so there is no reason to provide it in each board again as avrdude flag.

This commit automatically sets the avrdude target from the CPU variable and
removes the unneeded flags.
2019-02-28 20:55:04 +01:00
a5ff1dc32a
boards/stm32f4discovery: use common clock configuration without LSE
This fixes the boards being stuck when initializing the RTC
2019-02-27 21:49:56 +01:00
7d31bb43f1
boards/stm32/f4: factorize common clock configuration (168/8)
A common configuration file is introduced for stm32f4 with core clock
at 168MHz with HSE at 8MHz, 2 configuration files are introduced to²:
distinguish between clock configuration with and without LSE.
2019-02-27 21:49:55 +01:00
Rotzbua
d606c11d11 tests/leds: initialize led0 by default
fix unexpected behavior:
reference #9949
reference #10294

fix redefinition for AUTO_INIT_LED0
2019-02-27 13:09:29 +01:00
Peter Kietzmann
ca9c441923
Merge pull request #11070 from cladmi/pr/bug/stm32f3discovery/clock_lse
boards/stm32f3discovery: Fix no external low speed crystal
2019-02-26 21:40:39 +01:00
Martine Lenders
07260661bb
Merge pull request #11060 from leandrolanzieri/pr/boards/lobaro-lorabox_remove_auto_init_led0
boards/lobaro-lorabox: Remove auto init LED0
2019-02-26 21:35:21 +01:00
Gaëtan Harter
5e58eccd5a
boards/stm32f3discovery: Fix no external low speed crystal
The board does not have external low speed crystal.

Page 20 of User Manual: 6.10.2 "OSC 32 kHz clock supply"

 * X3 Crystal (not provided)

https://www.st.com/resource/en/user_manual/dm00063382.pdf

This fixes `example/default` and makes `tests/periph_rtc` work properly.
2019-02-26 16:44:46 +01:00
7a5d2ad2fb
boards/nrf52: thingy52 and ruuvitag don't work with openocd 2019-02-26 11:15:36 +01:00
a2cfa52602
boards/nrf52xx: use common flashing documentation 2019-02-26 11:03:06 +01:00
826df5648b
boards/nrf52: update nrf52 common documentation
Add common flashing notes + move the doc in a separate doc.txt file
2019-02-26 11:03:06 +01:00
9373225a13
boards/nrf52xx: add flashing and stdio sections in doc 2019-02-26 11:03:06 +01:00
171e8589ff
boards/nrf52840-mdk: use common openocd configuration 2019-02-26 11:03:06 +01:00
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
MrKevinWeiss
46e8f719c1 boards/stm32f4discovery: Change sda pin
This commit changes the I2C0 SDA pin to 9 from 7.
This is because the CS43L22 is connected to scl6 and sda9.
2019-01-11 10:12:43 +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