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

3974 Commits

Author SHA1 Message Date
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
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