8ed6f18ee8
tests/periph_rtt: fix invalid RTT_FREQUENCY set for non stm32f1
2020-05-30 19:07:50 +02:00
a858c980c4
cpu/stm32: fix remaining occurence of stm32f1 cpu family
2020-05-30 18:59:36 +02:00
2448b26a8b
cpu/stm32: fix issue with cpu feature name
2020-05-30 18:59:01 +02:00
benpicco
5055a1ef30
Merge pull request #13898 from nmeum/pr/fuzzing-gcoap
...
Add fuzzing application for gcoap
2020-05-30 18:40:37 +02:00
Gabriel Moyano
2367ff3885
boards/blxxxpill: add TIM1, TIM3 and TIM4 as qdec dev
2020-05-29 22:08:25 +02:00
Gabriel Moyano
52ddeeedb0
cpu/stm32: add qdec support for CPU_FAM_STM32F1
2020-05-29 21:11:54 +02:00
172c63209c
Merge pull request #14173 from benpicco/cpu/stm32-hwrng_filter
...
cpu/stm32: filter availability of RNG by CPU not by board.
2020-05-29 18:43:49 +02:00
e35914612e
cpu/stm32: restore timer structure in vendor headers
2020-05-29 18:22:00 +02:00
2dc0ec00a1
cpu/stm32: adapt timer driver to common CMSIS timer structure
2020-05-29 18:22:00 +02:00
Benjamin Valentin
7c8f44a368
cpu/stm32: filter availability of RNG by CPU not by board.
...
The old limitation is not valid anymore, we can evaluate $(CPU_MODEL)
here directly.
The output of
make -C tests/periph_hwrng info-boards-supported | wc -w
remains the same.
2020-05-29 18:01:12 +02:00
Benjamin Valentin
e957f339d3
cpu/stm32: don't include usbdev_stm32.h in periph_cpu_common.h
...
`usbdev_stm32.h` will pull in `usb.h` which causes an error if
`USB_H_USER_IS_RIOT_INTERNAL` is not set.
Turns out this include is not needed, so just drop it.
2020-05-29 17:42:19 +02:00
benpicco
d0a5e0527b
Merge pull request #14168 from leandrolanzieri/pr/dist/buildsystem_check_features_provided
...
sam0_common: Move feature to Makefile.features and add buildsystem check
2020-05-29 17:27:07 +02:00
benpicco
eac6980980
Merge pull request #14171 from leandrolanzieri/pr/cpu/saml21/check_cpu_model
...
cpu/saml21: Check CPU_MODEL to provide periph_hwrng
2020-05-29 17:26:50 +02:00
Leandro Lanzieri
106ab65d7b
cpu/saml21: Check CPU_MODEL to provide periph_hwrng
2020-05-29 16:19:00 +02:00
Benjamin Valentin
840be824d4
gnrc_netif: relax 6lo MTU assertion for 802.15.4g
...
802.15.4g devices have a 2047 byte PDU.
So the assertion `netif->ipv6.mtu == IPV6_MIN_MTU` is too strict here.
This is only enforced on init, so changing the modulation at run-time
did not catch this bug.
To test, use e.g. `at86rf215` with
CFLAGS += -DAT86RF215_DEFAULT_PHY_MODE=IEEE802154_PHY_MR_OQPSK
fixes #14164
2020-05-29 15:59:23 +02:00
Leandro Lanzieri
12470f0ed2
cpu/sam0_common: Move periph_timer_periodic feature to Makefile.features
2020-05-29 11:13:59 +02:00
Leandro Lanzieri
1783a56767
buildsystem_check: Add check for features provided
...
This checks that providing features for boards and CPUs is only being
done in Makefile.features.
2020-05-29 11:07:09 +02:00
benpicco
49aef1b678
Merge pull request #13902 from benpicco/periph_timer_periodic
...
periph/timer: add timer_set_periodic()
2020-05-28 18:03:32 +02:00
Benjamin Valentin
96a3e91c3d
tests/periph_timer_periodic: add test for periodic timer
2020-05-28 17:37:42 +02:00
Benjamin Valentin
c000a77658
cpu/atmega_common: implement timer_set_periodic()
2020-05-28 17:37:42 +02:00
Benjamin Valentin
8486e8c6d1
cpu/sam0_common: implement timer_set_periodic()
2020-05-28 17:37:42 +02:00
Benjamin Valentin
41a961be22
cpu/lpc2387: timer: implement timer_set_periodic()
2020-05-28 17:37:41 +02:00
Benjamin Valentin
cd107be976
drivers/periph/timer: add timer_set_periodic()
2020-05-28 17:37:41 +02:00
benpicco
2183fb9273
Merge pull request #14155 from maribu/atmega_timer_cleanup
...
cpu/atmega*: Clean up timer configs
2020-05-28 17:33:31 +02:00
Marian Buschsieweke
fb722b1be7
cpu/atmega_common/periph_timer: Fix style
2020-05-28 16:27:08 +02:00
Marian Buschsieweke
dfa6863275
cpu/atmega{1281,2560}: Relocate default timer config
2020-05-28 16:27:08 +02:00
Marian Buschsieweke
044a3f9a4c
cpu/atmega1284p: Relocate default timer config
2020-05-28 16:27:07 +02:00
Marian Buschsieweke
200afc46fa
cpu/atmega328p: Relocate default timer config
2020-05-28 16:27:07 +02:00
Marian Buschsieweke
a950d6bbb6
cpu/atmega{128rfa1,256rfr2}: Relocate default timer config
2020-05-28 16:27:07 +02:00
Marian Buschsieweke
9138e48746
cpu/atmega32u4: Relocate default timer config
2020-05-28 16:27:06 +02:00
José Alamos
917cc66e48
Merge pull request #14162 from jia200x/pr/kconfig/cortex
...
Kconfig/armv7_m/cortexm: declare CPU_ARCH and CPU_CORE symbols
2020-05-28 14:59:37 +02:00
Leandro Lanzieri
be8289bd8d
cpu/cortexm_common: Add Kconfig symbols
...
This declares the architecture and core specific Kconfig symbols and the
features provided by it are selected.
2020-05-28 14:11:21 +02:00
Benjamin Valentin
7c11ae9dcc
cpu/lpc2387: use TIMER_CHANNELS for consistency
2020-05-28 13:24:06 +02:00
Benjamin Valentin
ec7ae668e2
cpu/sam0_common: define TIMER_CHANNELS
2020-05-28 13:24:06 +02:00
benpicco
8a2b089cd5
Merge pull request #14098 from maribu/atmega-timer
...
cpu/atmega_common: Fix periph_timer
2020-05-28 13:23:22 +02:00
86e319a6f9
Merge pull request #14159 from fjmolinas/pr_build_bin
...
Makefile: add BINFILE to default BUILD_FILES
2020-05-28 12:01:43 +02:00
d9436171e9
nrf52840dk: move SPI flash to SPIM2 peripheral
...
The SPIM1 peripheral overlaps with TWIM1. TWIM1 is already configured as
the default peripheral for the I2C interface. This commit moves the
peripheral used for the SPI flash to SPIM2. This peripheral is dedicated
for SPI operations and doesn't conflict with other peripherals
2020-05-28 11:55:08 +02:00
Marian Buschsieweke
99bd1c318c
cpu/atmega_common/periph_timer: Add timer_set
...
Added a low level implementation of timer_set() that allows setting relative
timeouts as short as 0. This results in tests/periph_timer_short_relative_set
no passing.
2020-05-28 11:46:02 +02:00
José Alamos
408b9848db
Merge pull request #14160 from leandrolanzieri/pr/kconfig_rename_folder
...
Kconfig: rename folder to kconfigs
2020-05-28 11:43:45 +02:00
José Alamos
e7abd8805c
Merge pull request #14157 from leandrolanzieri/pr/cpu/kconfig_add_cpu_core
...
cpu/Kconfig: Add a common symbol for the CPU Core
2020-05-28 11:11:07 +02:00
Francisco Molina
47a5805434
Makefile: add BINFILE to default BUILD_FILES
2020-05-28 10:40:48 +02:00
Leandro Lanzieri
4289ed175c
Kconfig: rename folder to kconfigs
...
On case-insensitive file systems the root Kconfig file clashes with the
kconfig folder where we keep constants and features, producing the
deletion of one of them. This renames the folder to remove the conflict.
2020-05-28 10:39:43 +02:00
Leandro Lanzieri
9d4582547f
cpu/Kconfig: Add a common symbol for the CPU Core
2020-05-28 10:08:34 +02:00
Leandro Lanzieri
d4e90d3ec8
Merge pull request #14153 from aabadie/pr/make/openocd_stlink_fix
...
makefiles/stlink: fix path to default stm32 openocd config files
2020-05-27 16:18:30 +02:00
4cd1d54715
makefiles/stlink: fix path to default stm32 openocd config files
2020-05-27 15:44:28 +02:00
José Alamos
692f0ee690
Merge pull request #14151 from leandrolanzieri/pr/kconfig/add_cpu_board_features
...
kconfig: Declare common feature symbols
2020-05-27 10:55:38 +02:00
3244b26ab4
Merge pull request #14141 from aabadie/pr/cpu/stm32_fam_short
...
cpu/stm32: use shorten name in CPU_FAM variable
2020-05-27 08:40:01 +02:00
8593176e29
Merge pull request #14140 from aabadie/pr/cpu/stm32_uid_base
...
cpu/stm32: get the cpuid address from the UID_BASE constant defined in CMSIS
2020-05-27 08:39:35 +02:00
af8c4a32f6
Merge pull request #14147 from aabadie/pr/cpu/stm32f1_gpio_cleanup
...
cpu/stm32f1: restore default gpio struct in CMSIS + adapt driver
2020-05-27 08:39:17 +02:00
Martine Lenders
5ab1633c04
Merge pull request #14149 from miri64/sock_dtls/enh/udp_sock_getter
...
sock_dtls: provide getter function for UDP sock
2020-05-26 22:30:43 +02:00