Hauke Petersen
3c07a3f751
tests: added unittests for phydat
2020-05-20 15:29:24 +02:00
Hauke Petersen
9ad65786dd
sys/phydat: added phydat_to_json converter
2020-05-20 15:29:24 +02:00
Hauke Petersen
3e4229cd31
phydat: add verbose unit_to_str function
2020-05-20 15:29:24 +02:00
Hauke Petersen
7764754686
phydat: fixes to phydat_str.c
...
- add some missing unit strings to phydat_unit_to_str
- fixed doxygen group and file description
2020-05-20 15:23:21 +02:00
benpicco
70543bba1d
Merge pull request #13275 from miri64/gnrc_ipv6_ext_opt/feat/initial
...
gnrc_ipv6_ext_opt: initial import
2020-05-20 14:35:58 +02:00
Martine Lenders
59da69ef6c
Merge pull request #14022 from benpicco/gnrc_netif_bus
...
gnrc/netif: add IPv6 event bus
2020-05-20 12:36:07 +02:00
Martine S. Lenders
f6bd0705a1
tests: provide tests for gnrc_ipv6_ext_opt
2020-05-20 12:34:04 +02:00
Martine S. Lenders
d04621fc43
gnrc_ipv6_ext_opt: initial import
...
This provides header parsing for IPv6 hop-by-hop and destination
options according to [RFC 8200].
[RFC 8200]: https://tools.ietf.org/html/rfc8200#section-4.2
2020-05-20 12:34:04 +02:00
Martine S. Lenders
166315dcc2
ipv6_ext_opt: initial import of IPv6 options extension headers
2020-05-20 12:34:04 +02:00
ae88f1e079
Merge pull request #14102 from MrKevinWeiss/pr/test/spi/defaultcs
...
tests/periph_spi: Expose default SPI CS pins
2020-05-20 12:09:06 +02:00
benpicco
e7bf1ef706
Merge pull request #13654 from benpicco/serpente-r2
...
boards/serpente: add serpente board
2020-05-20 11:31:40 +02:00
MrKevinWeiss
867df82ced
tests/periph_spi: Expose default SPI CS pins
...
Expose the option to use default cs pins defined as DEFAULT_SPI_CS_PORT and DEFAULT_SPI_CS_PIN.
This is used if a wiring environment is already defined.
CFLAGS can be used to define the CS pin from the environment provided allowing easier automation of tests.
2020-05-20 10:44:57 +02:00
Benjamin Valentin
3974a04623
gnrc/nib: add NIB event bus
...
Add a message bus where threads can listen for nib events.
Currently only the GNRC_IPV6_NIB_EVENT_ADDR_VALID event is
implemented which informs subscribers that an address got
valid.
2020-05-20 10:44:11 +02:00
Benjamin Valentin
85100ad61a
gnrc_netif: add message bus to interface
...
Allow threads to listen for events on an interface.
2020-05-20 10:44:11 +02:00
Benjamin Valentin
c29f133a63
core/msg_bus: clarify API of msg_bus_post()
...
Receiving threads must not modify the contents of the message as this
is racy by definition.
Also make `msg_bus_post()` accept `const void*` instead of `char *`.
2020-05-20 10:44:11 +02:00
Benjamin Valentin
cddb929d0c
boards/serpente: add serpente board
...
See https://serpente.solder.party
2020-05-20 10:39:38 +02:00
Francisco
99e7b81d10
Merge pull request #8573 from aabadie/pr/generator
...
makefiles: add code generator targets
2020-05-20 09:44:14 +02:00
8bc0492334
Merge pull request #14090 from bergzand/pr/boards_stm32f4/disable_uart_dma
...
boards/stm32f4: Remove incorrect UART DMA config from stm32f4 boards
2020-05-20 09:12:27 +02:00
28f00f731f
boards/stm32: remove obsolete UART DMA ISR defines
2020-05-20 08:49:22 +02:00
d8ec0b292f
boards/stm32f4: Set DMA_STREAM_UNDEF for UART DMA
...
This PR sets the DMA configuration for the UART peripherals on the
stm32f4 boards to the undef value to disable the DMA. This to prevent
from accidentally configuring the DMA to stream 0 channel 0 when
enabling DMA.
2020-05-20 08:49:22 +02:00
benpicco
f3dddd6127
Merge pull request #14068 from miri64/sock_util/enh/netif-str2ep
...
sock_util: add interface descriptor parsing to str2ep
2020-05-19 23:59:32 +02:00
cf6ab10abc
Merge pull request #13861 from maribu/nucleo-f767-spi
...
boards/nucleo-f767zi: Fix SPI config
2020-05-19 21:00:11 +02:00
Marian Buschsieweke
f56a0a5128
boards/nucleo-f767zi: Remap MOSI of SPI1 when used with stm32_eth
...
PA7 is the default MOSI pin, as it is required for compatibility with
Arduino(ish) shields. Sadly, it is also connected to the RMII_DV of
Ethernet PHY. This commit works around this by remapping the MOSI to PB5 when
the on-board Ethernet PHY is used.
2020-05-19 20:30:24 +02:00
Leandro Lanzieri
391f49fade
Merge pull request #14047 from benpicco/drivers/mrf24j40-turbo
...
drivers/mrf24j40: add Turbo Mode
2020-05-19 18:00:05 +02:00
Benjamin Valentin
59f3c1b48b
boards/samd21-arduino-bootloader: add support for UF2 bootloader
2020-05-19 16:58:58 +02:00
Leandro Lanzieri
7032984a81
Merge pull request #14101 from benpicco/ieee802154-oqpsk_high_rate
...
net/netopt: clarify documentation of NETOPT_OQPSK_RATE
2020-05-19 16:46:22 +02:00
Benjamin Valentin
d8efcca81e
net/netopt: clarify documentation of NETOPT_OQPSK_RATE
...
802.15.4 only specifies one rate of 250 kbit/s for O-QPSK.
Everything else is a proprietary extension.
2020-05-19 16:39:15 +02:00
benpicco
fbad1dff01
Merge pull request #14087 from bergzand/pr/tests/periph_spi/add_thread_time
...
tests/periph_spi: Add thread runtime stats
2020-05-19 16:37:54 +02:00
73fe9b9ed8
Merge pull request #13160 from bergzand/pr/filesystems/newline_after_cat
...
examples/filesystem: include fflush in `cat` command
2020-05-19 16:37:21 +02:00
Leandro Lanzieri
16113afb1e
Merge pull request #14026 from miri64/gnrc_netif/fix/deps
...
gnrc_netif: use gnrc_netif-submodules to pull in upper-layer struct members
2020-05-19 16:36:18 +02:00
Martine S. Lenders
5e8f8ddc4a
gnrc_netif: introduce gnrc_netif_mac pseudo-module for gnrc_mac members
...
This aims to reduce circular dependencies in GNRC.
2020-05-19 16:10:59 +02:00
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