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

5356 Commits

Author SHA1 Message Date
beb171de40
Merge pull request #16546 from fjmolinas/pr_kinetis_lptmr_rtt
cpu/kinetis: use LPTMR as rtt backend
2021-06-15 11:02:16 +02:00
Francisco Molina
d9ee424b7c
cpu/kinetis: use LPTMR as rtt backend 2021-06-15 08:29:09 +02:00
Benjamin Valentin
204b80c6bf boards/native: lock EUI64 provider to ZEP interface 2021-06-08 14:01:03 +02:00
Benjamin Valentin
c161fd8dbf boards/same54-xpro: lock EUI provider to ethernet interface
Otherwise the provider can be used for multiple interfaces but only
return a single MAC address for all of them.
2021-06-08 14:01:03 +02:00
benpicco
88da1421be
Merge pull request #16469 from Franz2000/support-seeeduino-XIAO-board
boards: Adding board support for the Seeeduino XIAO
2021-06-08 10:35:26 +02:00
Francisco
6f369f4381
Merge pull request #16331 from fjmolinas/pr_stdio_uart_lpuart
makefiles/stdio.inc.mk: stdio_uart require uart or lpuart
2021-06-07 08:33:27 +02:00
Benjamin Valentin
ec397cbc5e boards/samr21-xpro: only configure antenna switch if radio is used 2021-06-03 18:21:45 +02:00
MaestroOnICe
dc8f7912e9 boards: add Seeeduino XIAO 2021-06-02 14:23:55 +02:00
Francisco Molina
2049ab35d3
boards: require lpuart only if stdio_uart is used 2021-06-01 12:39:58 +02:00
Jean Pierre Dudey
628739172b boards/esp32-wrover-kit: add dependency to ILI9341
When disp_dev is present, pull the ili9341 driver to allow auto-
initialization

Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-05-20 20:00:03 +02:00
Gerson Fernando Budke
8a2c88a808 boards/atxmega-a3bu-xplained: Add spi configuration
Add J1 header spi configuration.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-05-14 23:26:08 -03:00
Gerson Fernando Budke
8cc9c42d1d boards/atxmega-a1u-xpro: Add spi configuration
Add EXT-1 spi bus configuration.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-05-14 23:26:08 -03:00
chrysn
855517326a boards/native: Document flashpage support
This documents the additions of [15935].

[15935]: https://github.com/RIOT-OS/RIOT/pull/15935
2021-05-11 10:28:03 +02:00
Dylan Laduranty
a1c3782e28
Merge pull request #16446 from ant9000/pr_cpu_saml21_slow_clock_fix_timers
CPU SAML21: fix timers frequency when using slow clocks
2021-05-06 20:17:02 +02:00
Ichiro Kuroki
a637caedec boards/arduino-nano-33-iot: resolved SPI and I2C configuration conflict 2021-05-06 06:30:15 +03:00
Antonio Galea
7a253b4b76 boards: use SAM0_GCLK_TIMER for saml21 boards 2021-05-05 10:56:58 +02:00
38062c414c
Merge pull request #16426 from fjmolinas/pr_small_test_fixes
tests: small fixes
2021-05-04 10:02:09 +02:00
Francisco Molina
d8287eeffc
boards/nucleo-f303k8: remove provided periph_rtc
This BOARD does not provide an LSE clock, so don't probide rtc.
2021-05-03 08:29:22 +02:00
iosabi
52107b2416 esp8266: Support UART1 and other UART0 pins.
The esp8266 CPU has actually two hardware UART peripherals. UART0 is
used by the boot ROM for flashing and serial output during boot,
typically at a baudrate of 74880 bps until the bootloader or application
sets the more standard 115200 baudrate. This UART0 device has two
possible pins for TXD, GPIO1 and GPIO2, which are both set to TXD by the
boot ROM. esp8266 modules will typically have GPIO1 labeled as the TX
pin, but it is possible to use GPIO2 for that purpose even while
flashing the device with esptool.py.

The second device, UART1, also has two options for TXD, GPIO2 and GPIO7,
and only one option for RXD, GPIO8. However, GPIO7 and GPIO8 are used
by the flash internally so those options are not very useful unless
maybe while running from IRAM with the flash disabled, for example for
a debugger over UART1.

This patch allows boards to override UART{0,1}_{R,T}XD in their
periph_conf.h to configure the uart selection. Defining UART1_TX will
make the UART_DEV(1) device available.

Tested with:

```CFLAGS='-DUART1_TXD=GPIO2' make -C tests/periph_uart BOARD=esp8266-esp-12x flash term```

* Connected one USB-UART to the standard GPIO1 and GPIO3 for flashing
  and console. After flashing we see the manual test output at 115200
  bps

* Connected a second USB-UART with RX to GPIO2 running at 74880.

Then run on the first console:
```
> init 1 74880
> send 1 hello
```

The word "hello" appears on the second UART connection.

Note that GPIO2 is used during boot for UART0's TX until the application
or bootloader set it to a regular GPIO, so some boot ROM messages at
74880 bps are visible. After running `init 1 74880` it is set to UART1's
TX.
2021-05-02 12:27:27 +00:00
Hauke Petersen
674d6521c5 boards/nrf52840dongle: add I2C pin configuration 2021-04-27 13:55:39 +02:00
Hauke Petersen
729387e090 boards/nrf52840: fix SPI pin configuration 2021-04-27 13:55:39 +02:00
Hauke Petersen
96e36995d3 boards/nrf52840dongle: PWM config: fix formatting 2021-04-27 11:35:37 +02:00
Gerson Fernando Budke
a4c5daea3b boards/atxmega-a3bu-xplained: Add i2c configuration
Add J1 i2c bus configuration.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-04-25 22:06:29 -03:00
Gerson Fernando Budke
084625fa0d boards/atxmega-a1u-xpro: Add i2c configuration
Add EXT-1 i2c bus configuration.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-04-25 22:06:29 -03:00
Francisco
d5f9b99555
Merge pull request #16344 from kfessel/p-efm32-rtt-freq
cpu/efm32: add RTT_FREQUENCY support to efm32
2021-04-21 09:59:10 +02:00
Akshai M
6b86f8aaf1 boards/nucleo-wl55jc : Add arduino interfaces 2021-04-20 21:04:36 +02:00
Akshai M
efb86039c6 cpu/stm32wl: Add RTT support 2021-04-20 21:04:36 +02:00
Akshai M
2cf081b509 cpu/stm32wl: Flashpage configuration 2021-04-20 21:04:36 +02:00
Akshai M
b816c67bdd nucleo-wl55jc: Add Kconfig files 2021-04-20 21:04:35 +02:00
Akshai M
fd8ddd6161 boards: add nucleo-wl55jc
Co-authored-by: Kevin "Tristate Tom" Weiss <weiss.kevin604@gmail.com>
2021-04-20 21:04:29 +02:00
Akshai M
c485c774cf cpu/stm32: add stm32wl 2021-04-20 20:57:48 +02:00
Akshai M
b6c4f9a610 boards/nucleo-wl55jc: Documentation 2021-04-20 20:57:45 +02:00
Karl Fessel
c41342dc5b boards/*efm32*: do not force RTT_FREQUENCY
while keeping a sane (rtt shared with rtc (counter)) default
this commit adds the ability to define RTT_FREQUENCY
to some thing different than 1 Hz
2021-04-20 11:12:45 +02:00
Francisco
2a3fbf38f6
Merge pull request #16301 from IchiroKuroki/arduino_nano_33_iot_support
Configuration extension for arduino-nano-33-iot
2021-04-20 09:48:24 +02:00
Ichiro Kuroki
1cc02aef2f boards/arduino-nano-33-iot: extend SPI configuration 2021-04-13 18:08:06 +03:00
Ichiro Kuroki
068f029cc8 boards/arduino-nano-33-iot: add ADC configuration 2021-04-13 18:07:51 +03:00
Ichiro Kuroki
a8e9a985d5 boards/arduino-nano-33-iot: add PWM configuration 2021-04-13 18:07:29 +03:00
chrysn
5239f5ed13 boards/microbit-v2: Add buttons 2021-04-13 11:09:57 +02:00
Gerson Fernando Budke
6149531684 boards: Introduce atxmega-a3bu-xplained board
Add initial version.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-04-07 20:06:11 -03:00
Marian Buschsieweke
6fe7164dae
Merge pull request #16285 from maribu/boards/msbiot
boards/msbiot: fix param for MPU9150
2021-04-07 16:56:20 +02:00
Marian Buschsieweke
9c77cd8d55
boards/msbiot: fix param for MPU9150
When the driver for the mpu9150 has been renamed to mpu9x50, the
corresponding macro in the MSB-IoT board was forgotten to be renamed
as well. This fixes the issue.
2021-04-07 15:18:30 +02:00
Francisco Molina
67302bfae6
board/feather-nrf52840: add uf2 boot loader 2021-04-07 12:42:30 +02:00
Marian Buschsieweke
ac774f3404
Merge pull request #16212 from nandojve/xmega_pm
cpu/atxmega: Add periph power management
2021-04-07 11:45:24 +02:00
Raimund Oude Hengel
030ac02004 boards/nucleo-f303re: fix I2C[1] sda_pin and scl_af settings 2021-04-07 05:43:06 +02:00
Gerson Fernando Budke
948b490cdf boards/atxmega-a1u-xpro: Add periph_pm properties
The periph_pm requires new field to control the power management
feature.  Add missing config at periph_conf for timers and uart.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-04-02 14:24:31 -03:00
benpicco
cb06924fb2
Merge pull request #16239 from nandojve/xplained-mini
boards: introduce atmega328p-xplained-mini
2021-03-31 13:37:56 +02:00
chrysn
fa9a297e7c
Merge pull request #16250 from chrysn-pull-requests/nrf52-more-timers
cpu/nrf52: Expose more timers
2021-03-30 20:28:27 +02:00
chrysn
1da4693e5c b/c/microbit: Use timer 2 on microbit-v2
Timer 1 is already in use for NRF802154_TIMER
2021-03-30 16:34:44 +02:00
chrysn
2b09d3162a cpu/nrf52: Expose more timers 2021-03-30 16:34:44 +02:00
Francisco Molina
d2fdb7479e
boards/arduino-due: allow changing frequency 2021-03-30 14:22:50 +02:00
Francisco
f82e9a3691
Merge pull request #16248 from chrysn-pull-requests/microbit-boards-link-display
boards/microbit*/doc: Link to matrix display driver
2021-03-30 10:47:03 +02:00
Francisco
241e51e18a
Merge pull request #16208 from madokapeng/nucleo-f767zi-add-CAN
boards/nucleo-f767zi: Add periph_can support
2021-03-30 10:46:04 +02:00
chrysn
6d242c9d51 boards/microbit*/doc: Link to matrix display driver 2021-03-29 22:09:52 +02:00
Dylan Laduranty
c9cf60db20
Merge pull request #16181 from h-filzer/bastwan
boards/bastwan: Support BastWAN Board
2021-03-27 21:54:53 +01:00
Gerson Fernando Budke
4a9f0efb6d boards: introduce atmega328p-xplained-mini
Add ATmega328P Xplained Mini board.  The board is an official
development kit from MCHP based on the Arduino UNO, reduced
hardware, with a xplainedmini debugger and CDC ACM serial
converter.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-27 14:10:19 -03:00
Lokotius
303ac4ded2 boards/bastwan: Support BastWAN Board
This board is based on rak4260 with rak specific pinmappings.
ADC, LED and UART as well as USB ist supposed to work.
Mostly adopted from SAM R34 Xplained Pro board with adoption to rak pinout.
2021-03-25 16:21:18 +01:00
chrysn
e711e96f9d boards/microbit-v2: Add links to schematics etc. 2021-03-23 16:16:39 +01:00
benpicco
ee5b70730b
Merge pull request #15758 from nandojve/avr8_xmega
Introduce ATxmega CPU and Boards
2021-03-20 22:09:07 +01:00
madokapeng
6ef41356bc boards/nucleo-f767zi: Add periph_can support 2021-03-18 20:57:22 -04:00
benpicco
bbc13af977
Merge pull request #16195 from dylad/pr/boards/define_btn_mode
boards: use BTNx_MODE when defined
2021-03-17 15:39:22 +01:00
Benjamin Valentin
c697b8cfa7 boards/nrf52840dongle: enable VDDH SAUL sensor 2021-03-17 15:35:24 +01:00
Karl Fessel
a6bf444489 board/native: undefine FORTIFY_SOURCE to avoid printf replace
printf may be replaced by libc printf_chk if _FORTIFY_SOURCE is
defiend. This undefines it
2021-03-16 12:14:00 +01:00
Karl Fessel
cfaa57fe6c board/native: no omit frame pointer if backtrace is used
this makes riots test work but may have different result than O0
see man 3 backtrace #NOTES
2021-03-16 12:12:49 +01:00
Karl Fessel
4d645a23aa board/native: add basic debugging compatible optimization
adds -Og to board/native CFLAGS
2021-03-16 11:54:01 +01:00
Gerson Fernando Budke
b843cfb5c2 boards: Introduce atxmega-a1u-xpro board
Add initial version.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-15 20:16:10 -03:00
Gerson Fernando Budke
85fcba0ce9 boards/common: Introduce Atmel xmega common
Add atxmega common board definitions.  This works is a port from @josar
with few modifications.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-15 20:16:10 -03:00
Gerson Fernando Budke
d041199825 cpu/avr8_common: Move irq_enable from board to cpu
Some mega boards enabling global irq at board_init.  This moves that
responsability to cpu/avr8_common to create a common point to all
variants.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-15 20:16:10 -03:00
dylad
187b79fa74 boards: use BTNx_MODE when defined 2021-03-15 21:26:50 +01:00
madokapeng
a38cd1477e boards/nucleo-f722ze: Add periph_can support
cpu/stm32: Add CAN support for f722ze board

f722ze board has ONLY 1 CAN interface, fix compiling error which
treats f722xx has more than 1 CAN.
2021-03-05 23:22:44 -05:00
Jose Alamos
de1072725f
boards/yarm: add missing comment ending in doc.txt 2021-03-05 09:31:09 +01:00
Francisco
d369dffb4f
Merge pull request #14339 from aabadie/pr/sys/auto_init_screen
drivers: sys/auto_init: pkg/lvgl: setup disp_dev, touch_dev and lvgl auto_init
2021-03-04 19:23:32 +01:00
3969f24dbe
boards: automatically import disp and touch device drivers 2021-03-03 18:00:49 +01:00
18e58e4963
boards/stm32f3discovery: add lsm303dlhc configuration 2021-03-02 17:27:14 +01:00
8072333802
boards/sensebox_samd21: refactor to use USB CDC ACM for stdio 2021-02-24 17:07:33 +01:00
6cc78ad2f1
boards/sensebox_samd21: don't include Makefile.dep in Makefile.include 2021-02-24 17:07:33 +01:00
6e1fe9ead6
boards/sensebox: set bossa as supported programmer 2021-02-24 13:30:34 +01:00
6adef79c7b
boards/spark-core: set dfu-util as supported programmer 2021-02-24 13:30:34 +01:00
87cf4e387f
boards: set supported programmers 2021-02-24 13:30:34 +01:00
a13344fa1b
boards/mips: set supported programmers 2021-02-24 13:30:21 +01:00
8d9cc3c100
boards/msp430: setup supported programmers 2021-02-24 13:29:56 +01:00
5b77361cc4
boards/cc26x2_cc13x2: set supported programmers
For now, only openocd and uniflash are supported
2021-02-24 13:29:39 +01:00
1cb2221273
boards/atmega: set avrdude as only supported programmer 2021-02-24 13:29:39 +01:00
ef43ed7161
boards/hifive1: define supported programmers 2021-02-24 13:29:39 +01:00
18b1e16d3a
boards/nrf52: setup supported programmers 2021-02-24 13:29:38 +01:00
7a4f926aae
boards/nrf51: setup supported programmers 2021-02-24 13:29:17 +01:00
6cc00288b4
boards/silabs: define supported programmers 2021-02-24 13:29:16 +01:00
278bfffbad
boards/frdm: set openocd as only supported programmer 2021-02-24 13:29:16 +01:00
b53d750029
boards/stm32: set openocd as only supported programmer 2021-02-24 13:29:16 +01:00
1ddf61a0c5
boards/cc2538: set cc2538-bsl as supported programmer 2021-02-24 13:28:53 +01:00
93891124c7
boards/iotlab: only openocd programmer is supported 2021-02-24 13:28:01 +01:00
e0225272d8
boards/samd21-bootloader: add bossa as supporter programmer 2021-02-24 13:27:04 +01:00
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