Martine S. Lenders
a48629b395
gnrc_netif: introduce gnrc_netif_ipv6 pseudo-module for IPv6 members
...
This aims to reduce circular dependencies in GNRC.
2020-05-19 16:10:59 +02:00
Martine S. Lenders
9801a439fc
gnrc_netif: introduce gnrc_netif_6lo pseudo-module for 6LoWPAN members
...
This aims to reduce circular dependencies in GNRC.
2020-05-19 16:10:59 +02:00
Martine S. Lenders
0d2f0a5ba4
gnrc_netif: fix gnrc_netif_lorawan dependencies
2020-05-19 16:10:58 +02:00
Vincent Dupont
8d9cc3f7e6
Merge pull request #14100 from OTAkeys/fix/exti_pr_clear_issue_upstream
...
cpu/stm32_common: fix issue while clearing EXTI->PR reg
2020-05-19 15:08:52 +02:00
Martine S. Lenders
991c2e9ec4
tests/unittests: amend sock_util tests for interface parsing
2020-05-19 14:57:41 +02:00
Martine S. Lenders
a603504a6e
sock_util: add interface descriptor parsing to str2ep
2020-05-19 14:57:41 +02:00
b3cb03ae90
tests/periph_spi: Fix column alignment
2020-05-19 14:21:20 +02:00
7c44208e64
tests/periph_spi: Convert printf specifier to PRIu32
2020-05-19 14:20:42 +02:00
788d186725
tests/periph_spi: Add thread runtime stats
...
This commit extends the periph_spi benchmark with timing statistics for
the thread runtime, counting only the time the thread initiating the SPI
request is busy with the SPI transfer. This is useful to measure timings
on SPI transfers when DMA and other async mechanisms are used to
transfer the bytes
2020-05-19 14:17:46 +02:00
bf35edf3c6
Merge pull request #14036 from jue89/fix/xtimer_on_ztimer
...
ztimer: pull in xtimer_on_ztimer only if ztimer_periph_timer is used
2020-05-19 12:26:12 +02:00
Leandro Lanzieri
5c84006793
Merge pull request #14099 from cgundogan/pr/tests_dns
...
tests: dns: use correct macro names
2020-05-19 12:14:14 +02:00
898c6a758e
examples/filesystem: include newline in cat
command
2020-05-19 11:45:15 +02:00
Cenk Gündoğan
8f4583cb5e
tests: dns: use correct macro names
2020-05-19 11:33:28 +02:00
b15c4ef418
Merge pull request #14069 from benpicco/cpu/nrf52-cleanup
...
cpu/nrf52: update & fix vendor files, derive flash settings
2020-05-19 10:55:50 +02:00
benpicco
9f707bf121
Merge pull request #14057 from bergzand/pr/nrf52/dma_spi
...
nrf52: Implement EasyDMA-based SPI peripheral implemenation
2020-05-18 19:42:33 +02:00
e76ee57b35
ruuvitag: Adapt SPI periph config
2020-05-18 19:18:30 +02:00
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
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