e1d7d3d838
reel: Adapt SPI periph config
2020-05-18 19:18:30 +02:00
c90bc72ce9
pinetime: Adapt SPI periph config
2020-05-18 19:18:30 +02:00
d15987bc9b
nrf52dk: Adapt SPI periph config
2020-05-18 19:18:30 +02:00
93acc998c4
nrf52840dk: Adapt SPI periph config
2020-05-18 19:18:30 +02:00
f42a796c02
feather-nrf52840: Adapt SPI periph config
2020-05-18 19:18:29 +02:00
1e15bb2680
particle-mesh: Adapt SPI periph config
2020-05-18 19:18:29 +02:00
628d3e9080
nrf52: Adapt SPI periph config
2020-05-18 19:18:29 +02:00
88c244bc75
arduino-nano-33-ble: Adapt SPI periph config
2020-05-18 19:18:29 +02:00
919ca1c4b5
adafruit-clue: Adapt SPI periph config
2020-05-18 19:18:29 +02:00
825c4c8cb7
acd52832: Adapt SPI periph config
2020-05-18 19:18:29 +02:00
16ff94b4fe
nrf5x: remove common nrf5x spi peripheral driver
2020-05-18 19:18:28 +02:00
99a59c5dbd
nrf5x: Extend gpio with exti channel retrieval
2020-05-18 19:17:29 +02:00
720ccad7dd
nrf52: Add EasyDMA-based SPI periph driver
2020-05-18 19:16:17 +02:00
1139c0737f
nrf52: add common SPI/I2C IRQ code
2020-05-18 19:14:56 +02:00
Abdulkerim Altuntas
578bd31908
cpu/stm32_common: fix issue while clearing EXTI->PR reg
...
Since the "EXTI->PR" is an "rc_w1" type of register, we need to be
careful when clearing our interrupt flag in the register. When there
are multiple interrupt flags set in the register, the "|=" operation
will mistakenly clear all pending interrupts instead of just ours.
2020-05-18 18:36:27 +02:00
Martine Lenders
87403c7d44
Merge pull request #14092 from SemjonKerner/deprecate_softdevice
...
pkg/softdevice: add deprecation warning
2020-05-18 12:35:49 +02:00
Aiman Ismail
7f883f4098
sock_dtls: add timeout to sock_dtls_send()
2020-05-18 09:45:14 +02:00
Marian Buschsieweke
ba5844098d
cpu/atmega_common: Make irq_arch inline-able
...
- Moved irq_arch.c to irq_arch.h and marked all functions as
`__attribute__((always_inline)) static inline`
2020-05-17 18:41:11 +02:00
a534caebb4
makefiles: add code generator targets
...
These targets will bootstrap code for an example application, a test application or a new board support. The 'riotgen' tool is used behind
2020-05-17 17:52:43 +02:00
benpicco
cc44992abe
Merge pull request #12827 from maribu/atmega_pwm
...
cpu/atmega_common/periph/pwm: Minor fix & cleanup
2020-05-16 22:26:58 +02:00
Marian Buschsieweke
0b2ee71285
Merge pull request #14094 from benpicco/tests/periph_pwm-atmega
...
tests/periph_pwm: limit OSC_STEPS to 256 so the test works on all platforms
2020-05-16 21:04:44 +02:00
Marian Buschsieweke
506288791d
cpu/atmega_common/periph/pwm: Minor fix & cleanup
...
- On pwm_poweron, the PWM resolution was not restored. (A custom resolution was
only usable if, PWM channel 0 is not used. That configuration is not common,
so this bug was likely never triggered)
- Disabled a work around to prevent flickering:
- Previously, PWM was disconnected on level 0% and 100%
- This increases the run time of `pwm_set()`
- It prevents using the PWM for wave form generation via DDS, as the wave
noticeably jumps when reaching 0% or 100%
- Slightly reduces memory requirements: 2 Bytes of RAM, 112 Bytes of ROM
- Tested with avr-gcc 9.2.0 and LTO enabled
2020-05-16 20:43:31 +02:00
Benjamin Valentin
bdf40d5ffa
cpu/nrf52: fix NRF52811 vendor file
...
That `system_nrf52811.h` include must be removed.
2020-05-16 19:22:14 +02:00
Benjamin Valentin
d8a5f87aee
cpu/nrf52: update vendor files
2020-05-16 19:21:56 +02:00
benpicco
22b2f3664f
Merge pull request #14089 from maribu/atmega_cpu_cleanup
...
cpu/atmega{_common,32u4}: Cleanup
2020-05-16 19:17:29 +02:00
benpicco
1776e54d80
Merge pull request #13604 from gschorcht/drivers/sx127x/dio_handling
...
drivers/sx127x: changes in DIO handling
2020-05-16 19:12:26 +02:00
Benjamin Valentin
6ba4225eed
tests/periph_pwm: limit OSC_STEPS to 256 to work on all platforms
...
The ATmega PWM implementation only supports a maximum resolution of 256.
Thus when running `osci` with `OSC_STEPS` = 1000 an assertion will fail and
the test crashes, even though the PWM peripheral works perfectly fine.
Limit OSC_STEPS to 256 so it works on all platforms.
The LED flashing doesn't look any more coarse.
2020-05-16 18:57:06 +02:00
Semjon Kerner
686e90323a
pkg/softdevice/doc.txt: add deprecation warning
2020-05-15 22:43:21 +02:00
Martine Lenders
24ae600c44
Merge pull request #14091 from MichelRottleuthner/pr_sock_async_release_on_full
...
sys/net/gnrc/sock: release pktsnip when message queue is full
2020-05-15 19:28:35 +02:00
Michel Rottleuthner
740bb4e32e
sys/net/gnrc/sock: release pktsnip when message queue is full
2020-05-15 18:24:42 +02:00
Ken Bannister
f81dda2174
Merge pull request #14059 from miri64/gnrc_sock/fix/re-recv-signal
...
gnrc_sock: re-issue MSG_RECV event if there are still received messages after `*_recv()` was called.
2020-05-15 11:38:32 -04:00
Marian Buschsieweke
8b9d915b1a
Merge pull request #14088 from benpicco/cpu/lpc2387_inline_irq
...
cpu/arm7_common: Update to inlineable IRQ API
2020-05-15 15:01:58 +02:00
Benjamin Valentin
e26ed32cd6
cpu/arm7_common: simplify irq_restore()
...
We do not manipulate the CPSR register outside of irq_%, so we can just
restore it's previous value and don't have to fiddle with the IRQ MASK bit.
See https://www.keil.com/pack/doc/CMSIS/Core_A/html/group__CMSIS__CPSR.html
2020-05-15 13:43:04 +02:00
Benjamin Valentin
8d0e902d38
cpu/arm7_common: add inlined header only def for irq_%
2020-05-15 13:43:04 +02:00
Marian Buschsieweke
2f3961690e
cpu/atmega_common: Add feature PUF_SRAM
...
The feature is implemented in `cpu/atmega_common`, so we can just enable it for
all ATmega boards.
2020-05-15 11:31:23 +02:00
Marian Buschsieweke
355b01ce98
cpu/atmega_common: Moved atmega_state to cpu.c
...
The global state flags should never have bin in irq_arch.c but in cpu.c. This
is not fixed.
2020-05-15 11:24:29 +02:00
Marian Buschsieweke
4d1a5b9256
cpu/atmega_common: Drop legacy include
...
Drop `#include "irq.h"` in `cpu.h`, which was there for a legacy work around.
A bunch of missing includes of `irq.h` materialized due to this and were
fixed.
2020-05-15 11:24:28 +02:00
Marian Buschsieweke
70f24edd03
cpu/atmega32u4: Clean up
...
- Drop duplicated `cpu.c` and `cpu_conf.h`: Those are already provided by
`cpu/atmega_common`.
- The higher values for default stack size of `cpu_conf.h` in
`cpu/atmega_common` results in three tests no longer fitting the available RAM
==> Updated the Makefile.ci to skip linking of those tests for the Arduino
Leonardo
2020-05-15 11:23:05 +02:00
Martine Lenders
477b29c80c
Merge pull request #12500 from maribu/maintainer-doc
...
MAINTAINING.md: Added doc on release process
2020-05-14 21:36:17 +02:00
608207c4fa
Merge pull request #13859 from disconnect3d/patch-1
...
shell_commands/rtc: Fix off by one when checking for clearalarm command
2020-05-14 21:20:06 +02:00
c2896cc798
Merge pull request #13962 from haukepetersen/fix_nimble_netifmcastlock
...
nimble/netif: fix deadlock when sending multicast under load
2020-05-14 21:19:28 +02:00
3b0510f9bc
Merge pull request #14077 from maribu/esp32-external-board
...
cpu/esp*: Allow compilation with external boards
2020-05-14 21:16:54 +02:00
df2dee2672
Merge pull request #14079 from maribu/nrf52-external-boards
...
boards/common/nrf52: Allow external boards
2020-05-14 21:16:34 +02:00
ea39583b72
Merge pull request #14083 from maribu/ztimer-doc-typo
...
sys/ztimer: Fixed typo in doc
2020-05-14 21:13:25 +02:00
Marian Buschsieweke
74ada3e0d8
sys/ztimer: Fixed typo in doc
2020-05-14 20:28:18 +02:00
Cenk Gündoğan
dd610405d3
Merge pull request #13941 from leandrolanzieri/pr/kconfig_migrate/net/gnrc/rpl
...
gnrc/rpl: Expose configurations to Kconfig
2020-05-14 17:35:20 +02:00
3d3d6062f0
Merge pull request #14080 from maribu/cpuid_doc_fix
...
drivers/periph/cpuid: Fix typo in doc
2020-05-14 16:59:32 +02:00
Marian Buschsieweke
568404134a
drivers/periph/cpuid: Fix typo in doc
2020-05-14 16:53:05 +02:00
Leandro Lanzieri
4b3bfd3c83
gnrc/rpl: Expose configurations to Kconfig
2020-05-14 15:57:02 +02:00
Leandro Lanzieri
8ce77f2045
gnrc/rpl: Move GNRC_RPL_MSG_QUEUE_SIZE to 'CONFIG_' namespace
2020-05-14 15:57:02 +02:00