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

5415 Commits

Author SHA1 Message Date
7e21f25779
make: namespace openocd PRE_FLASH_CHECK_SCRIPT variable 2021-02-23 21:22:55 +01:00
3f02e3bd12
boards/openmote*: introduce CC2538_BSL_FLASHFFILE variable
This allows to remove the last cc2538-bsl programmer conditional at board level
2021-02-23 21:22:54 +01:00
64b0a6eed2
boards/openmote-b: remove cc2538-bsl conditionals 2021-02-23 21:22:54 +01:00
d4634c5a7a
boards/nrf52840-mdk-dongle: remove uf2conv conditionals 2021-02-23 21:22:54 +01:00
a657ff39d6
boards/blxxxpill: remove dfu-util conditionals 2021-02-23 21:22:54 +01:00
9b0a626f0a
make: namespace cc2538-bsl optional flags variable 2021-02-23 21:22:53 +01:00
7ac924f15c
make: namespace uf2conv specific flags variable 2021-02-23 21:22:53 +01:00
6d5a5b9528
make: namespace dfu-util optional flags var 2021-02-23 21:22:53 +01:00
7201acdcd0
boards: remove conditional for st-link version 2021-02-23 21:22:52 +01:00
74274d9e19
boards: remove openocd/pyocd config conditionals 2021-02-23 21:22:52 +01:00
6f47505997
make: namespace pyocd FLASH_TARGET_TYPE variable 2021-02-23 21:22:52 +01:00
603186f913
make: namespace openocd DEBUG_ADAPTER variable 2021-02-23 21:22:52 +01:00
Francisco Molina
f5ba075ab2
boards: remove PORT_BSL 2021-02-23 12:28:18 +01:00
Francisco Molina
a88c010a8e
boards: remove AVRDUDE_PORT 2021-02-23 12:22:49 +01:00
benpicco
da780e7bfa
Merge pull request #16065 from LordTy/NRF52840Dongle-SPI-support
boards/nrf52840dongle: Add spi feature and default pins
2021-02-22 22:50:46 +01:00
c251215315 boards/microbit: doc: FLASHTOOL -> PROGRAMMER 2021-02-22 21:29:48 +01:00
e167131c05
Merge pull request #15972 from benpicco/samdx1-arduino-bootloader
boards/samd21-arduino-bootloader: rename to samdx1-arduino-bootloader
2021-02-22 18:47:23 +01:00
Tim Broenink
d998d45489 boards/nrf52840dongle: Add spi feature and default pins
The chip supports spi on most pins. The default pins are in a bit
of a wierd location, but accessible.
2021-02-22 17:34:20 +00:00
Martine Lenders
de4ee0f934
Merge pull request #15562 from benpicco/socket_zep_register
socket_zep: register with netdev, provide EUI-64 as command line parameter
2021-02-20 20:32:01 +01:00
Martine Lenders
b10ce9784a
Merge pull request #15989 from haukepetersen/opt_nrf52_dcdcento1
cpu/nrf5x: enhance enabling of internal DC/DC converter
2021-02-20 02:29:38 +01:00
Hauke Petersen
306c75186d boards/nrf-based: select VDD_LC_FILTER feature(s) 2021-02-19 17:19:45 +01:00
Hauke Petersen
3290ffd370 boards/nrf5x-based: add vdd_lc_filer_regX feature 2021-02-19 17:19:45 +01:00
Francisco
de67719b59
Merge pull request #16046 from aabadie/pr/make/native_flasher
boards/native: set FLASHER as empty
2021-02-19 11:02:04 +01:00
benpicco
8a498cb9fd
Merge pull request #16041 from jeandudey/2021_02_17-ccdocs
cpu/cc26xx_cc13xx: add CPU documentation
2021-02-18 18:10:23 +01:00
15124e4769
Merge pull request #15002 from kaspar030/pr/xfa_v3
core: introduce crossfile arrays (xfa) v3
2021-02-18 14:49:22 +01:00
a11dca706f
boards/native: set FLASHER as empty 2021-02-18 14:25:37 +01:00
Jean Pierre Dudey
5423d08e99 boards/cc2650-launchpad: update documentation
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-18 11:28:06 +01:00
Jean Pierre Dudey
6b1d8c41a6 boards/cc1350-launchpad: update documentation
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-18 11:28:06 +01:00
Jean Pierre Dudey
89a1afb4a1 boards/cc1352-launchpad: add documentation
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-18 11:28:06 +01:00
Jean Pierre Dudey
e222e19299 boards/cc1352p-launchpad: update documentation
- Adds table of Contents section.
- Adds table for supported peripherals.

Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-18 11:28:06 +01:00
Jean Pierre Dudey
3c02fb7205 boards/cc1312-launcpad: update documentation
- Adds links to the CPU family documentation where applicable.
- Added a Table Of Contents sections with links.

Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-18 11:28:06 +01:00
ee9d6c879a cpu/native: add XFA support 2021-02-18 10:46:08 +01:00
54c3ce6112
boards/microbit-v2: use common led matrix module 2021-02-17 17:44:37 +01:00
a6fde7fe5a
boards/microbit: use common led matrix module 2021-02-17 17:44:37 +01:00
8c24cf4660
boards: add common microbit led matrix module 2021-02-17 17:44:36 +01:00
Benjamin Valentin
0e1c528d65 boards/yarm: add Highlevel STDIO feature
The board uses USB CDC ACM as stdio by default, so select the
highlevel_stdio feature.
2021-02-17 10:31:59 +01:00
Benjamin Valentin
17199dbb1c socket_zep: allow to specify MAC address of ZEP device
Add a command-line parameter for setting the EUI-64 of a ZEP device.
This allows a native node to use a persistent ZEP address across reboots.
2021-02-16 18:57:27 +01:00
Jean Pierre Dudey
6178698c3d boards/cc2650-launchpad: add saul_gpio definitions
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-15 22:39:05 +01:00
Jean Pierre Dudey
17baeb2258 boards/cc1312-launchpad: add saul_gpio definitions
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-15 22:39:05 +01:00
benpicco
ffdddc802e
Merge pull request #14738 from benpicco/c11
CODING_CONVENTIONS.md: default to C11
2021-02-15 10:42:54 +01:00
chrysn
9c08017dea b/c/particle-mesh: Switch default stdio to USB
The ttyUSB0 defaults are inapplicable here, and the default values
should work for CDC-ACM.
2021-02-15 08:56:27 +01:00
Benjamin Valentin
95f814b5da CODING_CONVENTIONS.md: default to C11
The standard is 9 years old now, it is well supported in all mayor compilers.
In fact, features of the 'new' standard are already used in RIOT (std_atomic).

Let's make it the default and adapt the Makefiles accordingly.
2021-02-14 14:28:13 +01:00
benpicco
76c03291dc
Merge pull request #15990 from haukepetersen/opt_board_nrf52840dogle_dcdc
boards/nrf52840dongle: enable DCDC converters
2021-02-13 23:53:03 +01:00
benpicco
3e3c4d06fb
Merge pull request #15955 from aabadie/pr/boards/microbit-v2
boards: add support for microbit v2
2021-02-13 23:48:43 +01:00
benpicco
490e94c917
Merge pull request #15976 from benpicco/boards/cc26xx_cc13xx-cleanup
boards/[cc13x0, cc26x0]: move programmer config to common folder
2021-02-13 17:15:13 +01:00
Marian Buschsieweke
50b91f35a0
boards/serpente: add SAUL PWM integration 2021-02-13 12:20:20 +01:00
Hauke Petersen
f3d0be4566 boards/nrf52840dongle: enable DCDC converters 2021-02-12 11:03:46 +01:00
5c478a0c25
boards/microbit-v2: add support for pyocd programmer 2021-02-10 13:39:52 +01:00
8f16f99936
boards/microbit-v2: adapt microbit mineplex to v2 2021-02-10 13:39:52 +01:00
41a89a31a9
boards: cpu: nfr52: fix typo in nrf52833 cpu model name 2021-02-10 13:39:51 +01:00
13ca17ff24
boards: add initial support for microbit v2 2021-02-10 13:39:51 +01:00
Benjamin Valentin
1298518be9 boards/[cc13x0, cc26x0]: move programmer config to common folder 2021-02-09 23:48:53 +01:00
Benjamin Valentin
9f0ee88d51 boards/common/cc26x2_cc13x2: rename to cc26xx_cc13xx 2021-02-09 23:37:26 +01:00
benpicco
a69da13d56
Merge pull request #15948 from jeandudey/2021_02_08-cc1350-launchpad
boards: add cc1350 launchpad
2021-02-09 23:34:58 +01:00
Jean Pierre Dudey
2bca4d3ac3 boards: add cc1350-launchpad
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-09 23:04:24 +01:00
Benjamin Valentin
8f0fa9411c boards/samd21-arduino-bootloader: rename to samdx1-arduino-bootloader
The bootloader itself is called `uf2-samdx1` and supports both samd21
and samd51.

Rename the module accordingly.
2021-02-09 19:44:03 +01:00
benpicco
6929577c76
Merge pull request #15845 from benpicco/boards/adafruit-itsybitsy-m4
boards: add adafruit-itsybitsy-m4
2021-02-09 19:41:43 +01:00
benpicco
b25c63757e
Merge pull request #15884 from benpicco/boards/zigduino
boards: add zigduino
2021-02-09 18:40:48 +01:00
Benjamin Valentin
b130142785 boards: add adafruit-itsybitsy-m4 2021-02-09 16:15:34 +01:00
Benjamin Valentin
73f58bfa04 cpu/samd5x: Kconfig: don't provide periph_eth on CPU level
It's up to the board to expose it.
2021-02-09 16:15:33 +01:00
Benjamin Valentin
1d638bf017 boards/samd21-arduino-bootloader: increase preflash delay
The USB bootloader can take a while to be ready / Linux takes a while
to set up the interface.
1s is right at the edge, leading to races and often failed flashing.

Bump the delay to 2s for a wider safety margin, with this flashing is
a lot more reliable.
2021-02-09 16:13:23 +01:00
Benjamin Valentin
91e863f616 boards/samd21-arduino-bootloader: add support for samd51 2021-02-09 16:13:07 +01:00
Benjamin Valentin
5fdbd09187 boards: add zigduino
This adds support for the ATmega128RFA1 based Zigduino.
The board is available on the Strasbourg site of the IoT lab for testing.
2021-02-09 15:26:03 +01:00
Jean Pierre Dudey
7db791476e cpu/cc26x0: rename to cc26x0_cc13x0
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-08 17:25:42 +01:00
50cf93c719
Merge pull request #15718 from bergzand/pr/rv32i/fe310_rv32i_refactor
riscv_common: Refactor common fe310 code to riscv_common
2021-02-08 10:27:41 +01:00
2692957c0e
riscv_common: Refactor common fe310 code to riscv_common 2021-02-05 09:32:19 +01:00
Francisco
3b2a55a923
Merge pull request #15865 from benpicco/pm_layered-default
cpu: make pm_layered a DEFAULT_MODULE
2021-02-03 08:17:29 +01:00
Marian Buschsieweke
f685996cd0
Merge pull request #15405 from benpicco/boards/bluepill-stm32f030c8t6
boards/bluepill-stm32f030c8: add STM32F030C8 based bluepill board
2021-02-03 07:45:14 +01:00
Benjamin Valentin
762decd207 boards/common/e104-bt50xxa-tb: software reset depends on periph_pm 2021-02-02 23:40:21 +01:00
Benjamin Valentin
1d95950ca1 boards/bluepill-stm32f030c8: add STM32F030C8 based bluepill board
This board is sold by several vendors on AliExpress, Amazon and ebay.
It does not have name, but since it comes in the same form-factor and
color as the Bluepill line of boards, I think it makes sense to use that
name.

Flashing is a bit cumbersome as I always had to press the reset button
in time when OpenOCD tries to connect to the CPU.
There is no dedicated reset pin exposed on the board.
2021-02-02 17:13:29 +01:00
64b6314807
boards/atmega: cleanup BOOTLOADER variables definitions 2021-02-02 14:10:03 +01:00
Benjamin Valentin
50c2cb727d boards/same54-xpro: update implementation status
The table has not been touched since initial support for the board
was added.
2021-01-31 19:43:05 +01:00
iosabi
4fb4f03252 boards/qn9080dk: Add SPI NOR flash definition
The QN9080-DK board has a 2 Mbit MX25R2035F SPI NOR flash connected to
SPI0. This patch adds the flash definition to the board.
2021-01-31 16:27:22 +00:00
iosabi
cde5d91018 boards/qn9080dk: Configure the SPI bus.
The SPI0 (FLEXCOMM2) is connected to a 2 Mb (256 KB) NAND flash
MX25R2035F in the board. This patch configures the SPI bus with the
CS line used for this flash chip.
2021-01-31 16:27:22 +00:00
iosabi
e72049a180 boards/qn9080dk: Add ADC configuration
The QN9080DK board has 6 Analog Input lines in the J6 header, labeled
"A0" to "A5". This configuration enables these lines as ADC lines 0 to 5
as well as some other channel options available as lines 6 and up.
2021-01-30 17:25:09 +00:00
Dylan Laduranty
1f085cfd03
Merge pull request #15843 from benpicco/mtd_write_page_hl
mtd: rename mtd_write_page() -> mtd_write_page_raw(), add high-level mtd_write_page()
2021-01-28 18:43:42 +01:00
Benjamin Valentin
c10282d7a3 boards/cc1352-launchpad: fix BTN-1 definition
same as for cc1352p-launchpad
2021-01-27 20:01:14 +01:00
Benjamin Valentin
f8543df549 boards/cc1352-launchpad: add SAUL configuration 2021-01-27 19:55:57 +01:00
Benjamin Valentin
56dc904d3b boards/cc1352p-launchpad: add SAUL configuration 2021-01-27 19:55:17 +01:00
Benjamin Valentin
9ad4159865 boards/cc1352p-launchpad: fix BTN-1 definition
BTN-1 is on pin 15, configuring pin 13 as input gets the board stuck at boot.
2021-01-27 19:55:17 +01:00
ce97e9d8ce
Merge pull request #15859 from fjmolinas/pr_newlib_feature
treewide: model newlib as a FEATURE
2021-01-27 10:06:08 +01:00
Francisco Molina
63a2a6ce1b
treewide: model newlib as a FEATURE 2021-01-27 09:24:25 +01:00
benpicco
98726ded6d
Merge pull request #14662 from benpicco/cpu/samd20
cpu/samd21: add support for SAMD20 & SAM D20 Xplained Pro board
2021-01-26 19:14:36 +01:00
Marian Buschsieweke
38188017a8
Merge pull request #15610 from maribu/stm32-ethernet-rx-timestamp
drivers/stm32_eth: add RX timestamps
2021-01-26 13:32:19 +01:00
Benjamin Valentin
57f40e5afb boards/same54-xpro: expose at24mac as MTD_1 2021-01-26 11:40:59 +01:00
Marian Buschsieweke
ef205aeb02
boards/nucleo-f767zi: Enable PTP timestamps 2021-01-26 10:44:04 +01:00
Francisco
de9f29cf42
Merge pull request #15835 from leandrolanzieri/pr/makefile/fix_default_modules_in_usemodules
Makefile.include: avoid recursive expansion of USEMODULE
2021-01-25 21:50:03 +01:00
87cd41a6d1
Merge pull request #15657 from aabadie/pr/cpu/stm32_merge_clock_headers
cpu/stm32: merge clock source selection headers
2021-01-25 13:57:05 +01:00
a034e65453
boards/stm32f7: use common clk_conf.h header 2021-01-25 11:44:22 +01:00
Leandro Lanzieri
150b086c3f
boards/e104-bt50xxa-tb: move default module to Makefile.default 2021-01-25 09:17:00 +01:00
AravindKarri
e9691e61c2 boards/nucleo-f767zi: add ADC support 2021-01-24 22:31:38 +01:00
Benjamin Valentin
33fec8b9dc boards/samd20-xpro: add support for SAM D20 Xplained Pro 2021-01-21 20:29:15 +01:00
b2227b88b0
Merge pull request #15634 from aabadie/pr/boards/nucleo-common-kconfig-hse
boards/nucleo*: move HSE/LSE configuration for Kconfig to common
2021-01-21 17:21:56 +01:00
d0abe16966
boards/nucleo-f303ze: fix nucleo common Kconfig 2021-01-21 16:20:56 +01:00
1793fb6c00
boards/nucleo-f207zg: fix nucleo common Kconfig 2021-01-21 16:20:42 +01:00
5bc7555ae7
Merge pull request #15794 from fjmolinas/pr_fix_posix_sleep
tests/posix_sleep: fix for invalid RTT configurations
2021-01-20 14:07:23 +01:00
de37259c64
boards/nucleo-*: put Kconfig HSE/LSE clock config in common 2021-01-20 09:16:46 +01:00
551eb80498
boards/stm32f7*: add Kconfig clock configuration 2021-01-19 22:09:17 +01:00
96b79c21f0
boards/stm32f4*: add Kconfig clock configuration 2021-01-19 22:09:16 +01:00
342df4bf37
boards/nucleo-f207zg: add Kconfig clock configuration 2021-01-19 22:09:16 +01:00
Francisco Molina
4c9a2d7b95
boards/common/arduino-zero: configure RTT_MIN_OFFSET 2021-01-19 12:37:39 +01:00
Francisco Molina
69659efc99
boards/common/iotlab: change default RTT_FREQUENCY to RTT_MAX_FREQUENCY 2021-01-19 12:37:38 +01:00
ead5822fa4
pinetime: Add touch screen configuration 2021-01-14 18:17:52 +01:00
Francisco
4736a881fc
Merge pull request #15512 from aabadie/pr/tools/emulator_term
tools/emulator: allow use with *term targets + introduce EMULATE=1 instead of emulate target
2021-01-13 17:12:00 +01:00
Leandro Lanzieri
c516832211
boards/pba-d-01-kw2x: not define LPTMR_ISR_1 2021-01-12 15:31:34 +01:00
f5616e406f
boards/stm32f4discovery: update documentation 2021-01-11 21:31:49 +01:00
46b92f487a
boards/stm32f4discovery: use custom renode sysbus for uart 2021-01-11 21:31:49 +01:00
7723416d99
boards/microbit: adapt documentation 2021-01-11 21:31:48 +01:00
1090e55683
boards/lpc1768: move vendor conf code to CPU level 2021-01-08 21:47:10 +01:00
8acf9398e8
Merge pull request #15723 from aabadie/pr/tools/codespell_fixes
tools/codespell: fix new typos found by recent version + add new ignored words
2021-01-08 11:01:49 +01:00
907c673020
boards/feather-nrf52840: fix typo in doc
Progammer => Programmer
2021-01-08 10:15:32 +01:00
Benjamin Valentin
40cc547a7a boards/stm32f030f4-demo: use picolibc to save ROM
STM32F030R4 only has 16k Flash, so use picolibc as done on other
16k flash boards to save some ROM.
2021-01-08 09:11:02 +01:00
Bas Stottelaar
31c5c4988e
Merge pull request #15377 from basilfx/feature/efm32_slstk3400a
boards/slstk3400a: add support
2021-01-08 07:29:03 +01:00
Gerson Fernando Budke
1426e15679 cpu/avr8_common: Normalize method prefix name
Refactor atmega_ prefix to avr8_ prefix and update copyrights.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-01-07 16:29:42 -03:00
Bas Stottelaar
3bddad0de1 boards/slstk3400a: add initial support 2021-01-06 23:44:54 +01:00
Bas Stottelaar
04a0db1c86 ikea-tradfri: order alphabetically 2021-01-06 22:34:49 +01:00
Bas Stottelaar
0a9a901348 boards/e180-zg120b-tb: order alphabetically 2021-01-06 22:34:49 +01:00
Bas Stottelaar
b6062e4f92 boards/e180-zg120b-tb: simplify flashing 2021-01-06 22:34:49 +01:00
Bas Stottelaar
ca4930fd7b boards/e180-zg120b-tb: remove silabs_common 2021-01-06 22:34:49 +01:00
MrKevinWeiss
67ef7e25e6 boards/stm32f4discovery: Add initial renode support 2021-01-05 17:09:58 +01:00
J. David Ibáñez
f056c78c50 boards/remote-revb: add arduino feature 2020-12-22 11:32:03 +01:00
benpicco
7d8f801b20
Merge pull request #15650 from aabadie/pr/cpu/stm32_clk_merge_f0f1f3
cpu/stm32: merge f0/f1/f3 clock configuration headers
2020-12-20 02:31:12 +01:00
iosabi
0b70a7897a boards/qn9080dk: Add mma8x5x driver for MMA8652FC
The qn9080dk includes a MMA8652FC chip connected to the I2C0 bus, this
patch adds the driver for the in the default.

Note that the MMA8652FC device is powered from the LPC_VCC line, which
is different from the QN_VCC line that powers the QN9080 MCU. A voltage
level translator is included in the QN9080DK which is only enabled when
JP11 (labeled "G-Sensor I2C") is closed and the LPC debugger hardware
is powered, for example from the USB port.
2020-12-19 22:41:57 +00:00
iosabi
5f78519b29 boards/qn9080dk: Enable driver for I2C0
The QN9080DK board can expose the I2C bus SDA and SCL in the pins
labeled D14 and D15 respectively in the J5 headers, and in the Pmod (J8)
connector in the pins 10 and 9 of the header respectively.

The bus has a 2K2 pull up resistor on each line when SB7 and SB8 (next
to the Pmod connector) are closed, which is the factory default.
2020-12-19 22:41:57 +00:00
Martine Lenders
6646682873
Merge pull request #15611 from benpicco/boards/eui_provider.h
net/eui_provider: API cleanup
2020-12-18 15:02:57 +01:00
0a45ac5fa1
boards/hifive1*: use common clock configuration 2020-12-17 15:53:31 +01:00
f2fe6373be
boards/hifive1*: remove board level clock Kconfig 2020-12-17 15:53:31 +01:00
2d97581d06
boards/stm32f0: use clk_conf.h 2020-12-17 08:38:40 +01:00
benpicco
6d602e6a63
Update boards/samr21-xpro/include/eui_provider_params.h
Co-authored-by: Marian Buschsieweke <maribu@users.noreply.github.com>
2020-12-14 15:23:07 +01:00
benpicco
f0c09c927e
Update boards/derfmega256/include/eui_provider_params.h
Co-authored-by: Marian Buschsieweke <maribu@users.noreply.github.com>
2020-12-14 15:23:02 +01:00
Benjamin Valentin
d4acf95a27 net/eui_provider: drop useless EUI provider arg parameter
This has never been used and we might as well define a second
callback function instead of using a generic one with an arg.
2020-12-14 00:22:43 +01:00
Benjamin Valentin
9c20540e3d boards/same54-xpro: move EUI provider config to eui_provider_params.h 2020-12-14 00:22:42 +01:00
Benjamin Valentin
b0dd4aa716 boards/derfmega256: move EUI provider config to eui_provider_params.h 2020-12-14 00:22:19 +01:00
Benjamin Valentin
ac2edfca35 boards/avr-rss2: move EUI provider config to eui_provider_params.h 2020-12-14 00:22:19 +01:00
Benjamin Valentin
d3e8ffb021 boards/samr21-xpro: move EUI provider config to eui_provider_params.h 2020-12-14 00:22:19 +01:00
Benjamin Valentin
fe9ae5bc80 net/eui_provider: provide index to the callback function
If the same callback function is used for multiple interfaces
(`NETDEV_INDEX_ANY`), it is necessary to also provide the index of
the interface to hand out and address.
2020-12-14 00:22:18 +01:00
dylad
3937aff923 board/same54-xpro: add Ethernet configuration 2020-12-13 22:01:50 +01:00
Benjamin Valentin
09c6d2c4db boards/same54-xpro: add configuration for SPI flash 2020-12-12 18:36:16 +01:00
Benjamin Valentin
b66b59a411 boards/samd10-xmini: add SAM D10 Xplained Mini 2020-12-11 18:25:36 +01:00
Francisco
0a265b3114
Merge pull request #15591 from aabadie/pr/boards/stm32l476g-disco-connect-assert-srst
boards/stm32l476g-disco: use connect_assert_srst with openocd
2020-12-11 08:54:04 +01:00
38fdcd318d
Merge pull request #15578 from Hxinrong/devfs_registerBranch
add error checks of devfs_register()
2020-12-09 18:53:26 +01:00
b801d57f0c
Merge pull request #15555 from dylad/pr/makefiles/dfu_optionnal_dfuse
boards: move DfuSe specific argument at board level
2020-12-09 14:08:50 +01:00
dylad
47f8d69845 boards: update boards using DfuSe
Update these boards to make use of a new argument to keep using DfuSe mode of dfu-util
2020-12-09 11:48:37 +01:00
Han Xinrong
385dfe46a5 boards/mulle/board.c:add error checks of devfs_register() 2020-12-09 17:55:25 +08:00
fbc8d4add5
boards/stm32l476g-disco: use connect_assert_srst with openocd 2020-12-08 22:32:48 +01:00
8f6005b26e
boards: cpu: stm32f1: use .config for specific iotlab PLL_PREDIV 2020-12-08 18:02:57 +01:00
591f201c11
boards/nucleo-f303k8: remove custom pll prediv/mul defines 2020-12-08 17:36:52 +01:00
75d2002e76
boards/stm32f1/f3: adapt Kconfig for clock configuration 2020-12-08 17:36:52 +01:00
iosabi
ef4b58f4f0 cpu/qn908x: Add timer driver based on CTIMER.
The QN908x CPU has several timer modules: one RTC (Real-Time Clock) that
can count from the 32kHz internal clock or 32.768 kHz external clock,
four CTIMER that use the APB clock and have four channels each and one
SCT timer with up to 10 channels running on the AHB clock.

This patch implements a timer driver for the CTIMER blocks only, which
is enough to make the xtimer module work. Future patches should improve
on this module to support using the RTC CNT2 32-bit free-running
counter unit and/or the SCT timer.
2020-12-04 23:18:27 +01:00
iosabi
bd929a3746 cpu/qn908x: Add support for UART.
The QN908x has four FLEXCOMM interfaces that support a subset of UART,
SPI or I2C each one. This patch adds generic support for dealing with
the FLEXCOMM initialization and interrupts and adds a driver for
RX/TX support in UART.

With this patch is now possible to use a shell on the device over UART.
2020-12-03 20:53:49 +01:00
iosabi
3f600d869e boards/common/qn908x: Compute the image checksum
QN908X CPUs require the image to have a valid checksum. The checksum is
a simple addition of the first 7 uint32_t values stored in the 8th
position of the image header. This position is a reseved entry of the
Cortex-M Vector Table and its value depends on other fields that are
computed at link time. Performing this checksum at link time seems
hard to do, so instead this patch uses a python script to patch the
checksum from the ELF file. This redefines the value of FLASHFILE
to the new .elf file with the checksum fixed.

With this patch, OpenOCD can program and verify QN908X images since
now they have a valid checksum value.
2020-12-03 17:47:33 +01:00
benpicco
a80631a297
Merge pull request #15074 from maribu/ptp-clock
drivers/periph/ptp_clock
2020-12-03 09:59:07 +01:00
Marian Buschsieweke
a38db4bda3
boards/nucleo-f767zi: Enabeld PTP clock 2020-12-02 17:53:00 +01:00
f150304643
boards/common/qn908x: cleanup Makefile.include
- include serial.inc.mk is not needed as it's handled in the main Makefile.include
- the default serial ports are already defined in serial.inc.mk
- use PROGRAMMER to specify the default programmer (openocd) and don't include openocd.inc.mk
- FLASHFILE is already defined as ELFILE in openocd.inc.mk
2020-12-02 14:05:19 +01:00
7492bd4b3d
Merge pull request #15509 from leandrolanzieri/pr/kconfig/drivers_def
drivers/{d,e,f}*: add Kconfig modules
2020-12-02 13:37:40 +01:00
benpicco
c03e3adfd0
Merge pull request #14647 from benpicco/boards/nrf52840-mdk-dongle
boards/nrf52840-mdk-dongle: add nRF52840 MDK USB Dongle
2020-12-02 12:02:44 +01:00
benpicco
646e665a86
Merge pull request #13855 from iosabi/qn908x_initial
cpu/qn908x: Initial minimal support for NXP QN908x CPUs.
2020-12-02 10:31:38 +01:00
Benjamin Valentin
081c600901 boards/nrf52840-mdk-dongle: configure RGB LED as PWM 2020-12-02 10:20:19 +01:00
Benjamin Valentin
4f28bd3482 boards/nrf52840-mdk-dongle: add nRF52840 MDK USB Dongle 2020-12-02 10:20:19 +01:00
Leandro Lanzieri
92b54ecf94
drivers/edbg_eui: add module to Kconfig 2020-12-02 10:12:12 +01:00
f8822b5f8f
boards: remove not need PORT_LINUX/PORT_DARWIN
They defined the same in serial.inc.mk. Some Darwin default are changed because they are probably wrong
2020-12-02 09:20:57 +01:00
4c290e1f92
boards: remove include of serial.inc.mk 2020-12-02 09:20:57 +01:00
Francisco
9f3eebd9b9
Merge pull request #15543 from aabadie/pr/tools/robotis-loader_common
boards/opencm904: move robotis-loader in common place
2020-12-02 09:18:51 +01:00
Francisco
b251ca2d4f
Merge pull request #15541 from aabadie/pr/make/goodfet_common
tools/goodfet: define variables in common makefile
2020-12-02 09:18:18 +01:00
c066f21b68
Merge pull request #15539 from aabadie/pr/tools/stm32loader
tools/stm32loader: introduce common makefile
2020-12-02 08:24:05 +01:00
iosabi
cc6adbb39d boards/qn9080dk: New board for the QN908x
The QN9080DK is the developer board reference from NXP for the QN908x
CPUs. The developer kit comes with two boards: a larger PCB with many
peripherals and a much smaller "USB dongle". This board adds initial
support for the larger "DK board". At the moment, with the minimal CPU
support this board only configures the GPIOs available in the board,
namely the RGB LED and the two user buttons.
2020-12-02 02:47:07 +00:00
iosabi
86ab9401aa boards/common/qn908x: Define a common qn908x board
Boards based on the qn908x CPU will share the same OpenOCD configuration
regarding the image offset and OpenOCD commands needed to flash the
image directly with "make flash".
2020-12-02 02:47:07 +00:00
benpicco
418aaa6e67
Merge pull request #15388 from benpicco/boards/e104-bt5010a-tb
boards/e104-bt5011a-tb: add support for the E104-BT5011A Test Board
2020-12-02 00:24:33 +01:00
Francisco
0b8ec0ba11
Merge pull request #15490 from aabadie/pr/tools/renode_refactor
tools/renode: refactor integration + add debugger support
2020-12-01 23:16:11 +01:00
2dc5a69939
Merge pull request #15535 from aabadie/pr/tools/lpc2k_pgm
tools/lpc2k_pgm: refactor build system integration
2020-12-01 21:13:52 +01:00
966221f5a4
boards/opencm904: move robotis-loader in common place 2020-12-01 18:31:41 +01:00
Benjamin Valentin
0b83589bbc boards/common/e104-bt50xxa-tb: enable software reset 2020-12-01 18:29:09 +01:00
Benjamin Valentin
345e0bf063 boards/e104-bt5010a-tb: default to nrfmin
nimble is too large for the board.
2020-12-01 18:28:43 +01:00
d7a3872d42
boards/z1: telosb: use common goodfet makefile 2020-12-01 18:06:47 +01:00
b87b901795
boards/lobaro-lorabox: use common stm32loader 2020-12-01 17:27:14 +01:00
Benjamin Valentin
e03034eb87 boards/e104-bt5011a-tb: add support for E104-BT5011A breakout board
This adds support for the nRF52811 based E104-BT5011A break-out board.
2020-12-01 16:14:43 +01:00
Benjamin Valentin
ef96696bab boards/common/e104-bt50xxa-tb: common board for Ebyte nRF52 breakouts 2020-12-01 16:14:43 +01:00
7272549007
boards/common/msp430: use common mspdebug 2020-12-01 15:52:17 +01:00
41d0272140
boards/common/msba2: use common lpc2k_pgm programmer 2020-12-01 13:39:42 +01:00
aea9d4b0a7
make: move lpc2k_pgm in tools/ 2020-12-01 13:36:36 +01:00
Martine Lenders
df676dc078
Merge pull request #15430 from benpicco/boards/native-zep
boards/native: allow to use ZEP instead of tap
2020-12-01 12:16:41 +01:00
b0b19203a7
Merge pull request #15190 from benpicco/boards/wefun-f401cc
boards/common/weact-f4x1cx: create common WeAct boards
2020-12-01 12:03:38 +01:00
Benjamin Valentin
bfb7cbfa4d boards/nrf52: resolve netdev dependencies for all family members 2020-12-01 11:42:52 +01:00
Benjamin Valentin
851e2c5a9a boards/weact-f401cc: add WeAct-f401cc 2020-12-01 11:02:09 +01:00
Benjamin Valentin
84b62aa12b boards/weact-f401ce: add WeAct-f401ce 2020-12-01 11:02:09 +01:00
Benjamin Valentin
26a907576c boards/weact-f411ce: add WeAct-f411ce 2020-12-01 11:02:09 +01:00
Benjamin Valentin
e200d009ad boards/common/weact-f4x1cx: create common WeAct boards dir 2020-12-01 11:02:09 +01:00
d527ab6994
cpu: boards: esp: use common esptool makefile 2020-12-01 10:36:42 +01:00
Francisco
4afc04523c
Merge pull request #14490 from yarrick/esp32_eth_kit
boards: add support for the ESP32-Ethernet-Kit board
2020-12-01 10:09:36 +01:00
Benjamin Valentin
0ed34cdb4d cpu/stm32: periph_eth: drop addr from eth_conf_t
MAC address is now supplied by EUI provider, no need to hard-code
it for the board.
2020-11-29 23:11:14 +01:00
Erik Ekman
2afa93c9f7 boards/esp32-ethernet-kit: Setup Kconfig to match makefiles 2020-11-28 10:18:54 +01:00
Erik Ekman
064f58e7aa boards/esp32: add ESP32-Ethernet-Kit v1.2 board 2020-11-28 10:18:54 +01:00
Erik Ekman
f586548d9c boards/esp32: add ESP32-Ethernet-Kit v1.1 board
Split docs in v1_0 directory to board common and version specific parts.
2020-11-28 10:18:54 +01:00
Erik Ekman
8e767373fb boards/esp32-ethernet-kit: add SPI pin config
For when JTAG is not used.
2020-11-28 10:18:54 +01:00
Erik Ekman
db91be6ef8 cpu/esp32: add esp_jtag pseudomodule and feature
Available on esp32-wrover-kit and esp32-ethernet-kit boards.
2020-11-28 10:18:54 +01:00
Erik Ekman
d9c40ba47a boards/esp32: fix spelling of periph_i2c
Also change to single quotes for inline verbatim.
2020-11-28 10:18:54 +01:00
Erik Ekman
b3197dea28 boards/esp32-ethernet-kit: add button definition
Conflicts with Ethernet phy clock input.

Tested with tests/saul:

Dev: BOOT	Type: SENSE_BTN
Data:	              0

Dev: BOOT	Type: SENSE_BTN
Data:	              1

and tests/buttons:

On-board button test

 -- Available buttons: 1

 -- Try pressing buttons to test.

[SUCCESS]
Pressed BTN0
Pressed BTN0
Pressed BTN0
2020-11-28 10:18:54 +01:00
Erik Ekman
e3142c39f0 boards/esp32: add ESP32-Ethernet-Kit board
Mostly copied from esp32-wroom-kit and Ethernet part from
esp32-olimex-evb.

Ethernet and serial port has been tested (on v1.2 board).
2020-11-28 10:18:54 +01:00
c61a231d7f
boards/firefly: don't start renode in board config 2020-11-27 13:39:22 +01:00
44b8ad61e0
boards/hifive1*: don't start renode in board config 2020-11-27 13:39:22 +01:00
c5d2050f92
boards/cc2538dk: don't start renode in board config 2020-11-27 13:37:52 +01:00
Francisco
7237e38436
Merge pull request #15501 from aabadie/pr/boards/renode_hifive
boards/hifive*: add renode support
2020-11-27 10:09:10 +01:00
f1a20d9a78
Merge pull request #13177 from aabadie/pr/boards/arduino-ble-iot
boards/arduino-nano-33-iot: add initial support
2020-11-27 10:03:46 +01:00
Francisco
a618067a76
Merge pull request #15489 from aabadie/pr/boards/renode_firefly
boards/firefly: add renode configuration
2020-11-27 09:21:01 +01:00
dfff56801c
boards/arduino-nano-33-iot: add initial support 2020-11-27 08:45:07 +01:00
Francisco
47ed64fcfd
Merge pull request #15466 from leandrolanzieri/pr/kconfig_drivers_bc
drivers/{b,c}*: model modules in Kconfig
2020-11-26 10:44:28 +01:00
c6ad85a7b0
boards: don't include programmer logic at board level 2020-11-25 22:31:13 +01:00
Leandro Lanzieri
2407c18890
drivers/saul: add modules to Kconfig 2020-11-25 12:00:13 +01:00
13d149fe09
boards/hifive1*: add renode configuration 2020-11-25 09:07:18 +01:00
cfb771dcac
boards/firefly: add renode configuration 2020-11-25 09:05:43 +01:00
benpicco
638cb00a28
Merge pull request #15486 from aabadie/pr/make/emulator_enh
make: handle emulator backend in Makefile.include
2020-11-25 00:31:19 +01:00
Bas Stottelaar
57ffd66605 boards/e180-zg120b-tb: add initial support 2020-11-23 00:36:20 +01:00
ba8825928e
boards/microbit: use qemu as default emulator 2020-11-20 14:24:06 +01:00
85765e1e33
boards/cc2538dk: remove useless include of renode 2020-11-20 14:24:05 +01:00
8560d13410
boards/microbit: use common qemu include 2020-11-20 14:18:18 +01:00
Bas Stottelaar
e438e9afde boards/efm32: provide efm32_coretemp feature 2020-11-18 17:27:17 +01:00
Bas Stottelaar
34c252d0e6
Merge pull request #15461 from basilfx/feature/efm32_driver_coretemp
cpu/efm32: add coretemp driver
2020-11-18 15:08:29 +01:00
Bas Stottelaar
e1b356e884 boards/efm32: enable efm32_coretemp driver 2020-11-18 12:28:45 +01:00
Leandro Lanzieri
8b0e0d2f52
boards/native: add native_drivers module to Kconfig 2020-11-18 10:07:58 +01:00
Leandro Lanzieri
402efc4750
boards/native: rename native-drivers module to native_drivers 2020-11-18 10:07:58 +01:00
Leandro Lanzieri
5a04f94b63
Merge pull request #14967 from aabadie/pr/boards/stm32f0_clock_kconfig_only
boards/stm32f0: add Kconfig for clock configuration
2020-11-17 12:14:10 +01:00
Benjamin Valentin
516c69cb5f boards/native: allow to use ZEP instead of tap
If `native` is compiled with `USEMODULE=socket_zep` and networking,
don't also include `netdev_tap` automatically.

This mirrors the behavior on nrf52 and esp* where the default netdev
can be 'overwritten' by another option.
2020-11-13 18:43:49 +01:00
benpicco
be9eb22bb8
Merge pull request #15106 from chrysn-pull-requests/saul-rgbleds
saul_pwm: auto-init'able RGB LEDs and dimmers
2020-11-13 18:22:30 +01:00
f626758aaf
Merge pull request #15392 from fjmolinas/pr_cc2538_riotboot
boards/cc2538: add riotboot feature
2020-11-13 15:39:55 +01:00
Francisco Molina
8598176544
boards: add riotboot to cc2538 based boards 2020-11-13 14:51:58 +01:00
57116e737b
Merge pull request #14691 from gdoffe/mp1_dev
Port of RIOT-OS to stm32mp1
2020-11-13 12:34:19 +01:00
eaf410592b
Merge pull request #15428 from btcven/2020_11_11-lvgl-preemption
pkg/lvgl: set LVGL thread priority higher than main
2020-11-13 11:58:06 +01:00
Gilles DOFFE
6d6fd5a975 boards: add stm32mp157c-dk2 initial support
This board is based on a stm32mp157cac which has a dual architecture:
* Dual core Cortex-A7
* Cortex-M4
Only Cortex-M4 is supported by RIOT-OS.
Cortex-M4 can be used in Engineering mode if stm32mp1_eng_mode
pseudomodule is used.
By default the RIOT firmware can be loaded by Linux on the Cortex-M4
using remoteproc Linux framework.
This the initial commit with a limited set of supported peripheral:
* gpio
* timer
* uart

Signed-off-by: Gilles DOFFE <gilles.doffe@savoirfairelinux.com>
2020-11-13 10:43:08 +01:00
Gilles DOFFE
58f90c986f boards/common/stm32: add openocd config stm32mp1.cfg
Add common openocd configuration for stm32mp1 boards.

Signed-off-by: Gilles DOFFE <gilles.doffe@savoirfairelinux.com>
2020-11-13 10:43:08 +01:00
Gilles DOFFE
2ac0467807 cpu/stm32: configure timer2 for stm32mp1 boards
This timer will be used by RIOT-OS as the scheduling timer for
stm32mp157c-dk2 board.

Signed-off-by: Gilles DOFFE <gilles.doffe@savoirfairelinux.com>
2020-11-13 10:43:08 +01:00
Leandro Lanzieri
d4be753df8
cpu/native: remove unused can_linux module
b4f29035ce adapted the can_linux module to
the periph_can interface. This is a cleanup of some things that stayed
behind. Here the makefile is removed, the references to can_linux in the
dependency resolution and configuration Makefile are changed to the
standard periph_can, and the startup code is adapted.
2020-11-13 09:11:50 +01:00
153c52754d
Merge pull request #15070 from fjmolinas/pr_uwb_core
pkg/uwb_core: initial support
2020-11-12 14:04:51 +01:00
Benjamin Valentin
d12a9dbf13 boards/saml21-xpro: add gpio_params.h
We can now enable `saul_gpio`.
2020-11-11 17:40:09 +01:00
Jean Pierre Dudey
aa97387b85 boards/esp32-wrover-kit: don't invert & use RGB for ILI9341
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2020-11-11 09:50:42 +01:00
benpicco
808c5b7eb8
Merge pull request #15424 from basilfx/feature/efm32_fix_timers
boards/efm32: update channel_numof with correct values
2020-11-11 09:49:24 +01:00
Bas Stottelaar
67e7a14e6c boards/efm32: update channel_numof
The number of channels per timer got updated incorrectly in #15368.
Only TIMER1 and higher have four channels. Without this fix, timer
initialization will halt.
2020-11-11 00:26:52 +01:00
Bas Stottelaar
cc9586f163 boards/common/silabs: define CPU=efm32 2020-11-11 00:24:53 +01:00
Bas Stottelaar
cd6d479eb5 boards/slwstk6220a: add support 2020-11-10 22:59:46 +01:00
c4269ffefc
boards/nucleo-f0*: remove custom pll prediv/mul defines 2020-11-10 15:55:38 +01:00
6e9a433c9a
boards/stm32f0*: adapt Kconfig for clock configuration 2020-11-10 14:53:14 +01:00
Leandro Lanzieri
95ff222316
Merge pull request #14968 from aabadie/pr/boards/stm32l4wb_clock_kconfig_only
boards/stm32l4/wb: add Kconfig for clock configuration
2020-11-10 10:51:54 +01:00
6c39bc5101
boards/nucleo-l552ze-q: remove PLL N custom define 2020-11-10 09:34:07 +01:00
75d7c6afab
boards/nucleo-l4r5zi: remove PLL N custom define 2020-11-10 09:34:07 +01:00
e7ac68e1bd
boards/stm32l4/l5/wb*: add Kconfig clock config 2020-11-10 09:34:06 +01:00
Francisco Molina
c4edff3a59
boards cpu: move OpenWSN defintions to openwsn_defs.h 2020-11-10 07:46:35 +01:00
chrysn
51d4b6c7ff b/c/particle-mesh: Add and enable usb_board_reset in monofirmware mode 2020-11-06 13:43:14 +01:00
chrysn
7582be6d5e b/c/particle-mesh: Support particle bootloader
Closes: https://github.com/RIOT-OS/RIOT/issues/12320
2020-11-06 13:43:14 +01:00
Martine Lenders
d329fde2ab
Merge pull request #15382 from tperale/master
boards/feather-m0: add support for feather-m0-lora version
2020-11-05 18:11:45 +01:00
Thomas Perale
f8ed7bcd56 boards/feather-m0: add support for feather-m0-lora version 2020-11-05 15:07:48 +01:00
Bas Stottelaar
de342fa0c4 boards/efm32: update documentation
* Alignment of documentation between boards
* Updated links
* Table updates
* Line length
* Space between units
* Updated peripheral mapping
2020-11-04 22:26:53 +01:00