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

806 Commits

Author SHA1 Message Date
Jan Romann
4384795cb9
treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
Benjamin Valentin
7561d83001 boards/common/kw41z: skip led_init() for riotboot 2021-07-20 22:51:59 +02:00
Benjamin Valentin
90b5d4cfbf boards/common/kw41z: make led_init() static
this saves a few bytes of ROM
2021-07-20 22:51:59 +02:00
MrKevinWeiss
02a2de4916
cpu/stm32: Add Kconfig dependency modeling 2021-07-02 15:11:05 +02:00
Francisco Molina
3269bcef88
boards/common/arduino-atmega: add USEC_ADJUST values 2021-06-15 16:45:34 +02:00
Francisco Molina
d9ee424b7c
cpu/kinetis: use LPTMR as rtt backend 2021-06-15 08:29:09 +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
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
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
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
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
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
87cf4e387f
boards: set supported programmers 2021-02-24 13:30:34 +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
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
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
a657ff39d6
boards/blxxxpill: remove dfu-util conditionals 2021-02-23 21:22:54 +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
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
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
8c24cf4660
boards: add common microbit led matrix module 2021-02-17 17:44:36 +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
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
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
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
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