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

4178 Commits

Author SHA1 Message Date
cc48b67fb5
boards/pic32: don't export USE_UHI_SYSCALLS 2020-03-03 14:18:03 +01:00
b7f5b18991
boards: don't export ROM_OFFSET variable 2020-03-03 14:18:03 +01:00
bd81060354
boards/{telosb,iotlab}: remove useless export for BAUD
The variable is already eported in serial.inc.mk
2020-03-03 14:18:03 +01:00
Francisco
3f062a78b2
Merge pull request #13045 from aabadie/pr/boards/remote_factorize
boards/remote*: cleanup and factorize code in peripheral configuration headers
2020-03-03 13:21:04 +01:00
481f3bcb35
Merge pull request #13180 from fjmolinas/pr_slwstk6000b_cleanup
boards/slwstk6000b-*: cleanup
2020-03-03 13:15:03 +01:00
Juergen Fitschen
8fbfb13c84 Revert "boards/samr30-xpro: fix AT86RF212B communication"
This reverts commit a9faac7218.

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

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

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

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

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

Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-11 18:30:29 +00:00
d40ccc2d6f
mulle: Adapt to separate mtd_spi_nor params 2020-02-11 15:55:41 +01:00
1f5340c307
boards/stm32: Add default config for USB OTG HS peripheral 2020-02-11 15:50:22 +01:00
7f1325e48c
pyboard: add usbdev feature 2020-02-11 15:50:22 +01:00
08c74db3d9
stm32f769i-disco: add usbdev feature 2020-02-11 15:50:21 +01:00
033cb5559a
stm32f723e-disco: add usbdev feature 2020-02-11 15:50:21 +01:00
d9837182a0
stm32f4discovery: add usbdev feature 2020-02-11 15:50:21 +01:00
4d0f3d0d3a
stm32f429i-disc1: add usbdev feature 2020-02-11 15:50:20 +01:00
8198c52d17
nucleo-f767zi: add usbdev feature 2020-02-11 15:50:20 +01:00
befac12f9a
nucleo-f746zg: add usbdev feature 2020-02-11 15:50:20 +01:00
dca64d4120
nucleo-f722ze: add usbdev feature 2020-02-11 15:50:20 +01:00
0f885b3789
nucleo-f446ze: add usbdev feature 2020-02-11 15:50:19 +01:00
625698a1d2
nucleo-f429zi: add usbdev feature 2020-02-11 15:50:19 +01:00
2c6f0537df
nucleo-f413zh: add usbdev feature 2020-02-11 15:50:19 +01:00
f37b5d7ec7
nucleo-f412zg: add usbdev feature 2020-02-11 15:50:18 +01:00
3280248e89
nucleo-f207zg: add usbdev feature 2020-02-11 15:50:18 +01:00
fc63fb77bf
boards/stm32: Add default config for USB OTG FS peripheral 2020-02-11 15:50:18 +01:00
benpicco
33291ad675
Merge pull request #13306 from fjmolinas/pr_samr21_use_xosc
boards/sam[r/d]21-xpro: prefer XOSC32K for RTC/RTT (GCLK2)
2020-02-11 15:18:36 +01:00
benpicco
d8c050943c
Merge pull request #13327 from maribu/atmega-bootloader
boards: Cleaned up bootloader selection for ATmega
2020-02-10 23:18:43 +01:00
benpicco
82134ad77a
Merge pull request #13323 from francois-berder/mbedlpc1768-doc
boards: mbed_lpc1768: Improve documentation
2020-02-10 23:07:27 +01:00
Marian Buschsieweke
fec0f8dd48
boards/waspmote-pro: Refactor avrdude conf 2020-02-10 21:48:03 +01:00
Marian Buschsieweke
21b37a3f5e
boards/mega-xplained: Refactor avrdude conf 2020-02-10 21:48:03 +01:00
Marian Buschsieweke
ff53159f0e
boards/atmega256rfr2-xpro: Refactor avrdude conf
- No longer include `tools/serial.mk` and `tools/avrdude.mk`, as this is
  no done by `boards/common/atmega`
- No longer provide `RESET ?=`, as this is now done in `tools/avrdude.mk` for
  all ATmega boards unless they are using a bootloader
2020-02-10 21:48:03 +01:00
Marian Buschsieweke
26b4da2db2
boards/avr-rss2: Refactor avrdude conf 2020-02-10 21:48:03 +01:00
Marian Buschsieweke
e042bb43e1
boards/derfmega*: Refactor avrdude conf 2020-02-10 21:48:03 +01:00
Francois Berder
056c1e568c boards: mbed_lpc1768: Improve documentation
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-10 19:29:55 +00:00
benpicco
b44cf48a87
Merge pull request #13246 from benpicco/lpc23xx-spi
cpu/lpc2387: make SPI configurable
2020-02-10 17:01:41 +01:00
Marian Buschsieweke
f5d9f29b57
boards/arduino-leonardo: Refactor avrdude conf 2020-02-10 15:01:27 +01:00
Marian Buschsieweke
7f4782e3e6
boards/arduino-duemilanove: Refactor avrdude conf 2020-02-10 15:01:06 +01:00
Marian Buschsieweke
c1c25b0644
boards/arduino-nano: Refactor avrdude conf
- Use the common logic to translate from a bootloader to concrete flasher flags
- Extended documentation on how to use optiboot as alternative bootloader, as
  the stock bootloader is affected by a bug preventing the use of RIOT's
  pm_reboot() implementation
2020-02-10 14:59:24 +01:00
Marian Buschsieweke
88b90ee4af
boards/arduino-uno: Refactor avrdude conf 2020-02-10 14:59:06 +01:00
Marian Buschsieweke
23531b3a73
boards/arduino-mega2560: Refactor avrdude conf 2020-02-10 14:58:18 +01:00
Marian Buschsieweke
750d3078e4
boards/common/arduino-atmega: Refactoring
- including `avrdude.mk` and `serial.mk` is no longer needed
- the avrdude flag -F is dropped
    - This allows flashing a board having an MCU different to the one
      RIOT was compiled for
    - It is better to let the user provide this flag manually if she/he really
      wants to turn safety off, knows what she/he is doing, and accepts the
      risk associated with this
- the avrdude flag -D is dropped
    - This disables issuing an erase command during flashing, however this
      erase cycle is strictly required to be able to program the flash
    - This is only needed in case of the stk500v2 bootloader, which implicitly
      does the erase cycle and fails if explicitly asked to do so
    - Only for the stk500v2 bootloader this flag is now added
2020-02-10 14:52:07 +01:00
Marian Buschsieweke
95704348ae
boards/common/atmega: Refactor flash & serial conf
- Include `tools/avrdude.mk` and `tools/serial.mk` at the common place instead
  for each ATmega based board individually
- Introduce the makefile variable BOOTLOADER to de-duplicate flash configs:
    - Two boards using the same bootloader now just use `BOOTLOADER ?= foo`
      and share the individual config
    - These settings are not applied when `PROGRAMMER` is set to still allow
      users to manually specify how to program their board
2020-02-10 14:48:39 +01:00
Benjamin Valentin
d675eb7cbb boards/mcb2388: update SPI configuration 2020-02-10 13:41:00 +01:00
Benjamin Valentin
4342d81220 boards/mcb2388: add ADC configuration
The MCB2388 has a potentiometer connected to an ADC input.
2020-02-10 13:25:26 +01:00
Benjamin Valentin
9c0dfaada9 boards/msba2: add ADC configuration
ADC pins are on the AD/DA pins (JP8).
Configure AD0.0 - AD0.2 as laid out on the board schematics.
2020-02-10 13:25:26 +01:00
Francois Berder
b4ab22673e boards: Use ARRAY_SIZE for setting UART_NUMOF, SPI_NUMOF, I2C_NUMOF
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-09 20:55:46 +00:00
Francisco Molina
c9ff150571
boards/sam%21-xpro: prefer XOSC32K for RTC/RTT (GCLK2) 2020-02-07 15:48:15 +01:00
713fead00a
boards: move some USEMODULE to Makefile.dep 2020-02-07 13:21:22 +01:00
benpicco
66c7c63c94
Merge pull request #13061 from gschorcht/cpu/esp32/rtc_xtal_32k
cpu/esp32: allow external 32 kHz crystal for the RTC hardware timer
2020-02-07 10:24:22 +01:00
Gunar Schorcht
1e71606305 boards/esp32: enable 32 kHz XTAL for WROVER-KIT 2020-02-07 00:46:16 +01:00
benpicco
3d95521c14
Merge pull request #13301 from gschorcht/board/esp32/fix_compile_error_c_linkage
boards/esp32: fix compilation error due to C linkage in examples/posix_sockets
2020-02-05 22:08:14 +01:00
Gunar Schorcht
cfcea03a58 board/esp32: fix compilation error due to C linkage
Including `board_common.h` header has to be outside the `extern C` linkage block.
2020-02-05 20:42:22 +01:00
d6264f56c8
Merge pull request #13168 from fjmolinas/pr_iotlab_openocd
boards/iotlab: add DEBUG_ADAPTER_ID openocd
2020-02-05 11:30:11 +01:00
Benjamin Valentin
c4e0ed4b79 boards: use explicit GCLK_SRC defines 2020-02-04 21:17:00 +01:00
Benjamin Valentin
4fbca251bc boards/same54-xpro: use 48 MHz GCLK6 for I2C
We can't run I2C off the 120 MHz main clock as the availiable dividers are too small.
Use the 48 MHz GCLK 6 instead which offers an appropriate frequency.

fixes #12037
2020-02-04 21:16:54 +01:00
Benjamin Valentin
1496149bba cpu/sam0: don't hard-code peripheral clocks
Instead of hard-coding the peripheral clocks to CLOCK_CORECLOCK
introduce helper functions to return the frequency of the individual
GCLKs and use those for baud-rate calculations.

This requires the GCLK to be part of the peripheral's config struct.
While this is already the case for most peripherals, this also adds
it for those where it wasn't used before.

As it defaults to 0 (CLOCK_CORECLOCK) no change is to be expected.
2020-02-04 21:06:21 +01:00
Benjamin Valentin
a51d167a43 cpu/sam0: use GCLK ID instead of bitmask
To simplify board definitions and for unification between samd2x and
newer models, don't use the GCLK bitmask in board definitions.
Instead use the GCLK index and generate the bitmask when needed.
2020-02-04 21:06:21 +01:00
Jean Pierre Dudey
8c68796ff8
boards/cc1312-launchpad: correct config. for gdb_agent_server
This enables the usage of `monitor reset` command in gdb.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

To enable it, add

    USEMODULE += periph_uart_nonblocking

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

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

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

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

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

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

Signed-off-by: Anton Gerasimov <tossel@gmail.com>
2019-10-29 21:27:00 +01:00
Anton Gerasimov
a60d8f471f boards/cc1352-launchpad: Add support for CC1352R Launchpad
Signed-off-by: Anton Gerasimov <tossel@gmail.com>
2019-10-29 21:27:00 +01:00
Anton Gerasimov
f6a3f14d22 cpu/cc26x0: Factor out code common for cc26xx/cc13xx family
Signed-off-by: Anton Gerasimov <tossel@gmail.com>
2019-10-29 21:27:00 +01:00