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

1049 Commits

Author SHA1 Message Date
Gunar Schorcht
06d3616710 cpu/esp32: move CPU_FAM definition to board definition
To support ESP32x SoC families with existing Makefiles, CPU_FAM has to be defined by board definition.
2022-07-18 13:05:21 +02:00
Gunar Schorcht
c0becd2819 cpu/esp32: port periph/i2c_hw to ESP-IDF i2c HAL 2022-07-17 18:48:23 +02:00
benpicco
94e9116c04
Merge pull request #18276 from gschorcht/cpu/esp32/periph_hal_esp32_pwm
cpu/esp32: use ESP-IDF ledc HAL for periph/pwm
2022-07-14 18:09:01 +02:00
Gunar Schorcht
2ae2facf90 cpu/esp32: port periph/pwm to ESP-IDF ledc HAL 2022-07-14 15:50:47 +02:00
Peter Kietzmann
9af87803c6
Merge pull request #18137 from Einhornhool/pr/update-cryptoauth-package
pkg/cryptoauthlib: Update package to latest version
2022-07-06 13:30:16 +02:00
Lena Boeckmann
422d81a2b4 pkg/cryptoauthlib: Update package to latest version 2022-07-06 10:45:39 +02:00
krzysztof-cabaj
1e8c7980e3 boards/common/adruino-atmega: fix issue with wrong port for LED0 2022-06-23 09:06:08 -04:00
Marian Buschsieweke
95df0e8315
Merge pull request #18238 from gschorcht/boards/esp32/cleanup_board_init_common
boards/esp32: cleanup board_init_common
2022-06-22 13:53:15 +02:00
Gunar Schorcht
d00c6b0e3c boards/esp32: cleanup board_init_common
board_init_common isn't needed any longer.
2022-06-21 16:21:10 +02:00
Marian Buschsieweke
e3f5ba90fd
boards/{thingy52,ruuvitag}: allow OpenOCD as programmer 2022-06-21 15:04:13 +02:00
Marian Buschsieweke
2bf39e1aca
boards/common/nrf52: fix compilation of thingy52 and ruuvitag 2022-06-08 12:38:23 +02:00
Marian Buschsieweke
f256e48159
Merge pull request #18168 from maribu/boards/common/programmer
boards/common/{nrf52,cc26xx_cc13xx}: improve default programmer selection
2022-06-08 10:15:17 +02:00
Marian Buschsieweke
ed83aa3883
boards/common/cc26xx_cc13xx: improve default PROGRAMMER setting
Only default to uniflash as default programmer if UNIFLASH_PATH is
set. If this isn't the case, `make flash` fails complaining about
missing `UNIFLASH_PATH` anyway.
2022-06-07 16:45:14 +02:00
Marian Buschsieweke
6d39b3c993
boards/common/nrf52: only default PROGRAMMER to jlink if installed 2022-06-07 16:45:13 +02:00
Marian Buschsieweke
8d63b63e7a
boards/common/nucleo: provide TTY_BOARD_FILTER 2022-06-03 19:59:31 +02:00
Marian Buschsieweke
b986279350
boards/common/cc26xx_cc13xx: provide TTY_BOARD_FILTER 2022-06-03 19:59:31 +02:00
benpicco
e1e2b7c5b6
Merge pull request #17601 from gschorcht/cpu/esp32/upgrade_esp-idf_v4.4
cpu/esp32: Upgrade to ESP-IDF v4.4
2022-06-02 10:18:07 +02:00
Gunar Schorcht
1d914d1496 boards/esp32: changes for ESP-IDF v4.4 2022-06-01 13:21:29 +02:00
krzysztof-cabaj
0c2d257b67 boards/nucleo: cpy2remed enabled 2022-05-18 06:30:39 -04:00
benpicco
9ca3dd5d4b
Merge pull request #17656 from benpicco/vfs_default-test
vfs_default: add compile test and add default mount for more boards
2022-03-29 13:47:08 +02:00
Benjamin Valentin
53756e24cb boards/weact-f4x1cx: configure littlefs2 on external flash 2022-03-29 10:24:01 +02:00
fdacb1a118
boards/stm32: adapt I2C configuration where needed 2022-03-23 10:10:08 +01:00
Leandro Lanzieri
5438a967aa
boards/common/qn908x: perfom checksum on shadow copy 2022-03-07 10:28:13 +01:00
Benjamin Valentin
5d111e71aa boards: drop board_init() from board.h 2022-02-25 15:08:58 +01:00
c6151226ad
Merge pull request #17633 from fjmolinas/pr_ztimer_auto_adjust
sys/ztimer: add auto_adjust module
2022-02-23 10:01:05 +01:00
Francisco Molina
464d941a3e boards: drop empty custom board_init & empty board.c 2022-02-22 18:27:37 +01:00
Benjamin Valentin
4d7a3c1dba sys/board_common: add generic board_init() function 2022-02-22 10:04:44 +01:00
Fabian Hüßler
9163d78910 boards: add VBAT for stm32 based boards with ADC 2022-02-21 10:49:43 +01:00
Benjamin Valentin
468ea89953 boards: drop LED init
This is handled by periph_init_leds now
2022-02-18 14:35:43 +01:00
Francisco Molina
59d069c59d boards: update CONFIG_ZTIMER_USEC_ADJUST% values 2022-02-18 13:07:49 +01:00
Benjamin Valentin
67417ce5a9 drivers/mtd_spi_nor: drop addr_width from mtd_spi_nor_params_t
This is now always determined at run-time.
2022-02-04 12:17:17 +01:00
Gunar Schorcht
529c6fa5b4 boards/arduino-mkr: use UART_UNDEF to enable Serial over STDIO 2022-01-06 17:27:53 +01:00
05da606ea6
Merge pull request #17438 from gschorcht/cpu/esp/feature_cleanup
boards/esp* and cpu/esp: feature definition cleanup
2022-01-04 10:51:33 +01:00
benpicco
40a6000cc5
Merge pull request #17410 from aabadie/pr/cpu/stm32u5
cpu/stm32: add support for U5 family
2022-01-02 18:45:57 +01:00
4465ce1984
boards/common/microbit: fix doxygen grouping 2021-12-23 11:07:58 +01:00
62a682dd2c
boards/b-u585i-iot02a: add initial basic support 2021-12-23 11:04:42 +01:00
Gunar Schorcht
aeb5d1197c boards/esp8266: common periph features moved to cpu/esp_common 2021-12-23 10:33:57 +01:00
Gunar Schorcht
b1d2d46ee4 boards/esp32: common periph features moved to cpu/esp_common 2021-12-23 10:33:35 +01:00
Kevin "Tristate Tom" Weiss
e3f6212708
Merge pull request #17355 from leandrolanzieri/pr/boards/samd21/model_kconfig
boards/samd21-based: model Kconfig
2021-12-15 12:35:32 +01:00
Marian Buschsieweke
26eed0ae5a
Merge pull request #17399 from maribu/boards/common/nrf52xxxdk
boards/common/nrf52xxxdk: Expose LEDs via saul_pwm
2021-12-15 11:08:39 +01:00
Leandro Lanzieri
6ecbfe99f7 boards/common/sodaq: model Kconfig 2021-12-15 10:30:51 +01:00
Leandro Lanzieri
ea0039f7a0 boards/common/arduino-zero: model Kconfig 2021-12-15 10:30:51 +01:00
Leandro Lanzieri
7fe6eba806 boards/common/arduino-mkr: model Kconfig 2021-12-15 10:30:51 +01:00
Leandro Lanzieri
d249fc5ba7 boards/common/samdx1-arduino-bootloader: model Kconfig 2021-12-15 10:30:51 +01:00
MrKevinWeiss
deda2cfb97
boards: Fix stm32 based boards kconfig models 2021-12-15 09:31:45 +01:00
Marian Buschsieweke
c118df3eb2
boards/common/nrf52xxxdk: Expose LEDs via saul_pwm
This allows dimming the LEDs instead of only turning them on and off.
2021-12-14 22:02:56 +01:00
Kevin "Tristate Tom" Weiss
ed94dd7085
Merge pull request #17376 from leandrolanzieri/pr/makefiles/add_board_cpu_config_variables
makefiles/kconfig: add board & CPU config variables
2021-12-13 13:26:40 +01:00
Leandro Lanzieri
df7ce1c647
makefiles/kconfig: use two lists for boards and CPUs default configs
This introduces KCONFIG_BOARD_CONFIG and KCONFIG_CPU_CONFIG variable for
boards and CPUs (including common directories) to add default
configuration files to be merged. The current approach, as it uses
Makefile.features, would include boards first, not allowing them to
override CPU configurations.
2021-12-13 12:33:21 +01:00
Leandro Lanzieri
4be55b7a49
boards/common/esp8266: model Kconfig 2021-12-10 18:54:07 +01:00
Leandro Lanzieri
b3b468ad8b
boards/esp32: model Kconfig 2021-12-10 18:54:07 +01:00
Francisco
7362074f49
Merge pull request #17235 from leandrolanzieri/cpu/kinetis/model_kconfig
cpu/kinetis: model kconfig
2021-12-09 14:22:10 +01:00
Francisco Molina
766bfeace4 boards: model nrf52 boards 2021-12-08 13:25:29 +01:00
Francisco Molina
e25076e370 boards/common/particle-mesh: use nrf52/bootloader_nrfutil.dep.mk 2021-12-08 13:25:29 +01:00
Francisco Molina
7a1758d7f4 boards/particle: use FEATURES_REQUIRED for periph_uart_hw_fc 2021-12-08 13:25:29 +01:00
Francisco Molina
48777f5ba4 boards/common/nrf52xxxdk: align module name with dirname 2021-12-08 13:25:29 +01:00
Leandro Lanzieri
8337d6d762
boards/kinetis: model Kconfig 2021-12-07 11:33:24 +01:00
Leandro Lanzieri
4f51174eb4
Merge pull request #17331 from MrKevinWeiss/pr/kconfig/samd5x
boards/adafruit-itsybitsy-m4: Model kconfig
2021-12-06 10:22:37 +01:00
MrKevinWeiss
b6e7ab3443
boards/adafruit-itsybitsy-m4: Model kconfig 2021-12-06 09:06:12 +01:00
Marian Buschsieweke
7cd9d615fa
cpu/stm32/periph: Use uintptr_t for periph addr
The peripheral register addresses are fixed, properly aligned addresses. Storing
them as uintptr_t makes live easier when casting them to helper structs, as no
intermediate cast to uintptr_t is needed to silence -Wcast-align.
2021-12-03 10:12:32 +01:00
Leandro Lanzieri
d7bf363517
Merge pull request #17290 from fjmolinas/pr_kconfig_msp430
cpu/msp430: add Kconfig
2021-12-03 08:37:11 +01:00
Francisco Molina
7ab05fa129 cpu/msp430: add Kconfig 2021-12-02 16:33:19 +01:00
Leandro Lanzieri
004da59672
sys/ztimer/kconfig: enable xtimer compat only with timer backend
This also moves the selection of MODULE_ZTIMER_PERIPH_TIMER from
MODULE_ZTIMER_USEC to the visible symbol ZTIMER_USEC.
2021-12-02 09:38:06 +01:00
Leandro Lanzieri
14ef4e7aed
boards/qn908x: model Kconfig 2021-11-29 13:56:43 +01:00
Leandro Lanzieri
d962787043
Merge pull request #17274 from fjmolinas/pr_kconfig_nrf51
cpu/nrf51: model kconfig
2021-11-26 12:55:27 +01:00
Francisco Molina
cfb53fef39 boards/common/nrf51: add initial Kconfig modeling
- add airfy-beacon
- add calliope-mini
- add microbit
- add nrf51dk
- add nrf51dongle
- add nrf6310
- add yunjia-nrf51822
2021-11-26 10:39:40 +01:00
Francisco Molina
bbda5fabfe boards/*microbit*: move saul_gpio inclusion to common 2021-11-25 11:55:28 +01:00
Leandro Lanzieri
776875a94c
boards/common/saml1x: model Kconfig 2021-11-25 11:37:26 +01:00
Leandro Lanzieri
3de4b395df
boards/common/arduino-due: model Kconfig 2021-11-23 11:08:40 +01:00
Leandro Lanzieri
845681448d
cpu/atmega_common: move PCINT documentation from boards 2021-11-22 12:25:57 +01:00
Leandro Lanzieri
e5164ca970
boards/common/{atmega,atxmega,arduino-atmega}: model Kconfig 2021-11-22 12:25:30 +01:00
Leandro Lanzieri
0e62d83edb
boards: model efm32 boards Kconfig 2021-11-18 09:03:06 +01:00
2f44452d78
boards/microbit: migrate to ztimer 2021-11-04 15:39:58 +01:00
b0fa356ec6
boards/calliope-mini: use microbit common mineplex module 2021-11-03 12:10:14 +01:00
67add34e75
boards/microbit: put mineplex dependency resolution in common 2021-11-03 11:25:56 +01:00
Marian Buschsieweke
9893efd96f
boards/common/silabs: fix dependencies
The module silabs_pic depends on the feature periph_i2c. However, the
dependency resolution just selected the module implementing that
feature which bypasses feature checks.
2021-11-02 13:34:04 +01:00
Leandro Lanzieri
f64b166319
Merge pull request #16845 from MrKevinWeiss/pr/kconfig/supportstms
.murdock: Add nucleo boards to kconfig test
2021-11-01 09:55:22 +01:00
J. David Ibáñez
c965ce3de6 boards/common/arduino-atmega: define F_CPU
This fixes the following error:

$ BOARD=arduino-mega2560 make -C tests/pkg_arduino_sdi_12/
[...]
[...]/RIOT/build/pkg/arduino_sdi_12/src/SDI12_boards.cpp:35:16: error: ‘preSDI12_TCCR2B’ defined but not used [-Werror=unused-variable
   35 | static uint8_t preSDI12_TCCR2B;
2021-10-28 15:59:40 +02:00
benpicco
f57e2f1e99
Merge pull request #16055 from benpicco/soc_init
cpu: call cpu_init() from startup code, not from board
2021-10-18 20:52:53 +02:00
benpicco
7a413558db
Merge pull request #16305 from iosabi/esp_rts_dtr
boards/common/esp8266: Set RTS and DTR to 0 on pyterm.
2021-10-18 16:42:55 +02:00
ngandrass
ac1250786a boards/nucleo-l152re: Fix Kconfig board name
Kconfig board name for the nucleo-l152re contained a "0" (zero) instead
of the capital letter "O". All faulty occurrences were replaced.
2021-10-18 11:22:27 +02:00
MrKevinWeiss
c7820cf7e5
*/rtt|rtc: Fix Kconfig modeling 2021-10-14 11:28:44 +02:00
MrKevinWeiss
c9ffb8d2af
board/common/nucleo: Use and doc HAVE_* Kconfig 2021-10-14 11:28:42 +02:00
Benjamin Valentin
fc88c4c4e5 boards: drop cpu_init() 2021-10-13 23:36:41 +02:00
Benjamin Valentin
d2fdacd3f3 b/c/particle-mesh: move monofirmware setup to post_startup() 2021-10-13 23:21:56 +02:00
Gunar Schorcht
54c049fe0c boards/esp_common: fix refs to CPU doc section 2021-10-13 17:37:16 +02:00
Marian Buschsieweke
49ab2f0ef2
boards/*esp32*: Fix documentation format
Fix broken references and missing open/closing group commands.
2021-10-10 21:35:31 +02:00
Francisco Molina
3e4b35c445 boards/nrf52840dk-nrf52dk-dwm1000: add kconfig dependencies 2021-09-29 10:19:27 +02:00
Francisco Molina
c9de733c52 cpu/nrf52/Makefile.dep: move radio dependencies from boards/common 2021-09-29 10:16:31 +02:00
MrKevinWeiss
483bca453e
boards/common/remote: Add Kconfig for remote boards 2021-09-08 12:40:32 +02:00
Martine Lenders
873f6936ea
Merge pull request #16788 from benpicco/common/nrf52-netdev_default
boards/nrf52: replace gnrc_netdev_default with netdev_default
2021-09-03 14:37:25 +02:00
Benjamin Valentin
702c3435a8 boards/nrf52: replace gnrc_netdev_default with netdev_default
Only nimble depends on GNRC, but we want to replace gnrc_netdev_default
with netdev_default, so check for gnrc instead.
2021-09-02 14:36:22 +02:00
Benjamin Valentin
87f7e5a963 cpu/atmega_common: move clock init to common code
This code should not be in the realm of the board config, but in
common arch code.
2021-08-27 17:06:50 +02:00
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
iosabi
73fab03e31 boards/common/esp8266: Set RTS and DTR to 0 on pyterm.
When flashing the ESP8266 with the flash tool it is possible to connect
RTS to the reset line and DTR to GPIO0 to automatically reboot the
device into flash mode and then reboot the device again into normal
mode.

pyterm leaves these two signals unset unless we specify a --set-rts=0 or
1, and the value of these lines would depend on the UART driver.

This patch explicitly sets RTS and DTR to 0 (high level) in the
Makefile.include config so `make term` releases the reset line,
otherwise the device may be left in reset mode after pyterm starts.
2021-04-10 22:50:35 +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
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
Benjamin Valentin
762decd207 boards/common/e104-bt50xxa-tb: software reset depends on periph_pm 2021-02-02 23:40:21 +01:00
64b6314807
boards/atmega: cleanup BOOTLOADER variables definitions 2021-02-02 14:10:03 +01:00
Leandro Lanzieri
150b086c3f
boards/e104-bt50xxa-tb: move default module to Makefile.default 2021-01-25 09:17:00 +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
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
96b79c21f0
boards/stm32f4*: 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
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
8f6005b26e
boards: cpu: stm32f1: use .config for specific iotlab PLL_PREDIV 2020-12-08 18:02:57 +01:00
75d2002e76
boards/stm32f1/f3: adapt Kconfig for clock configuration 2020-12-08 17:36:52 +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
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
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
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
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
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
Benjamin Valentin
0b83589bbc boards/common/e104-bt50xxa-tb: enable software reset 2020-12-01 18:29:09 +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
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
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
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
c6ad85a7b0
boards: don't include programmer logic at board level 2020-11-25 22:31:13 +01:00
Bas Stottelaar
e438e9afde boards/efm32: provide efm32_coretemp feature 2020-11-18 17:27:17 +01:00
Bas Stottelaar
e1b356e884 boards/efm32: enable efm32_coretemp driver 2020-11-18 12:28:45 +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
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
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
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
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
Bas Stottelaar
ad10db84fd boards/slwstk6000: add LETIMER0 as secondary timer 2020-11-04 22:05:36 +01:00
Bas Stottelaar
c79c192ba4 boards/efm32: reset board before flashing
This was added for other boards in #12160, and improves flashing
reliability.
2020-11-04 22:05:36 +01:00
Bas Stottelaar
42deb1ab85 boards/efm32: align xtimer configuration
- move XTIMER_WIDTH within #if statement because sltk3402a is 32-bit
- update comments
- alignment.
2020-11-04 22:05:36 +01:00
Bas Stottelaar
cf65d27c94 boards/efm32: update copyright year 2020-11-04 19:55:16 +01:00
7fbfb92f03
boards/stm32gx: move Kconfig clock config to cpu 2020-10-29 23:00:44 +01:00
823774358e
Merge pull request #14952 from benpicco/boards/common/cdc_acm
boards: factorize stdio CDC ACM configuration
2020-10-29 14:33:01 +01:00
4d91832795
boards/nrf52: remove softdevice specific handling 2020-10-29 09:02:12 +01:00
39e06babf5
boards/stm32: use generic clk_conf.h header 2020-10-27 08:44:56 +01:00
f2e2c89424
cpu/stm32: move clock configuration headers to cpu 2020-10-26 11:16:23 +01:00
80518e6525
boards/stm32l4: adapt default clock config for 110MHz cpus 2020-10-23 18:28:27 +02:00