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

33375 Commits

Author SHA1 Message Date
dylad
dde5e94233 usbus: add optional string descriptor for alt interface 2020-12-08 15:39:14 +01:00
Martine Lenders
5673adaf48
Merge pull request #14706 from maribu/sock-aux-dtls
pkg/tinydtls: Implement sock_aux_local
2020-12-04 17:08:00 +01:00
Marian Buschsieweke
f222a3f2e9
pkg/tinydtls: Implement sock_aux_local 2020-12-04 16:00:32 +01:00
Martine Lenders
599c2a145e
Merge pull request #15558 from aabadie/pr/ci/murdock_no_static_tests
.murdock: don't run static-tests on Murdock
2020-12-04 13:59:38 +01:00
Martine Lenders
ba89d8641e
Merge pull request #14704 from maribu/sock-aux-gnrc
net/gnrc/sock: Implement sock_aux_local
2020-12-04 13:55:27 +01:00
Martine Lenders
172183e078
Merge pull request #14705 from maribu/sock-aux-lwip
pkg/lwip: Implement sock_aux_local
2020-12-04 13:27:25 +01:00
2f8d770134
.murdock: don't run static-tests on Murdock 2020-12-04 13:20:08 +01:00
Marian Buschsieweke
e97ed09c3c
tests/lwip_sock_ip: Added test for sock_aux_local 2020-12-04 12:51:49 +01:00
Marian Buschsieweke
1282ab1203
tests/lwip_sock_udp: Added test for sock_aux_local 2020-12-04 12:51:49 +01:00
Marian Buschsieweke
77b39c5550
pkg/lwip: Implement sock_aux_local
Provide address the IP packet / UDP datagram was received on in the auxiliary
data, if module sock_aux_local is used.
2020-12-04 12:51:48 +01:00
Marian Buschsieweke
3e1417c75d
tests/gnrc_sock_ip: Added test for sock_aux_local 2020-12-04 12:48:00 +01:00
Marian Buschsieweke
f97c190117
tests/gnrc_sock_udp: Added test for sock_aux_local 2020-12-04 12:48:00 +01:00
Marian Buschsieweke
1d69f067d1
sys/net/gnrc: Implement sock_aux_local
Provide address the IP packet / UDP datagram was received on in the auxiliary
data, if module sock_aux_local is used.
2020-12-04 12:47:59 +01:00
benpicco
1eab23a8ad
Merge pull request #15554 from benpicco/tests/driver_ds3231
tests/driver_ds3231: blacklist on CI
2020-12-04 00:44:05 +01:00
benpicco
a1e9d3b360
Merge pull request #15550 from iosabi/qn908x_uart
cpu/qn908x: Add support for UART.
2020-12-04 00:25:37 +01:00
Benjamin Valentin
c82e331e57 tests/driver_ds3231: blacklist on CI
The test needs real hardware to run, so including it in the automated
CI tests will always fail.
2020-12-03 21:05:40 +01:00
benpicco
1a25df9d34
Merge pull request #15471 from maribu/event-threads-multi
sys/event: Allow single event_thread handling all queues
2020-12-03 21:04:36 +01:00
iosabi
bd929a3746 cpu/qn908x: Add support for UART.
The QN908x has four FLEXCOMM interfaces that support a subset of UART,
SPI or I2C each one. This patch adds generic support for dealing with
the FLEXCOMM initialization and interrupts and adds a driver for
RX/TX support in UART.

With this patch is now possible to use a shell on the device over UART.
2020-12-03 20:53:49 +01:00
benpicco
838aafb621
Merge pull request #15552 from aabadie/pr/dist/tools_changed_files
dist/tools/changed_files: fix default list of exclude
2020-12-03 20:31:54 +01:00
b979fb3262
ci/changed_files: exclude lpc2k_pgm tool 2020-12-03 19:17:58 +01:00
e04085622b
Revert "dist/tools/externc: exclude code in dist/tools"
This reverts commit 4567c108a1.
2020-12-03 19:17:33 +01:00
benpicco
0427e28f17
Merge pull request #15546 from iosabi/qn908x_checksum
boards/common/qn908x: Compute the image checksum
2020-12-03 18:33:33 +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
Martine Lenders
5b25ad31aa
Merge pull request #15551 from janosbrodbeck/pr/dtls/change_documentation
sock/dtls: remove usage of sock_dtls_session_create in documentation
2020-12-03 16:36:08 +01:00
Marian Buschsieweke
78aec672dd
tests/pkg_tinydtls_sock_async: fix use of internals
event_queue_medium was never part of the public API, instead of using
`&event_queue_medium` one should use `EVENT_PRIO_MEDIUM`.
2020-12-03 15:28:35 +01:00
Marian Buschsieweke
ae5845c372
tests/event_threads: drop use of deprecated module 2020-12-03 15:28:35 +01:00
Marian Buschsieweke
06c87dfe97
makefiles: add mechanism to deprecate modules
Add event_thread_lowest as first deprecated module
2020-12-03 15:28:35 +01:00
Marian Buschsieweke
10471a33b3
tests: Add event_thread tests for shared thread 2020-12-03 15:28:35 +01:00
Marian Buschsieweke
c6211cc6c2
sys/event: Allow shared thread for multiple queues
Allow using `event_loop_multi()` to handle event queues of multiple priorities
in an single thread. In the extreme case, all three event queues are handled
by a single thread (thus saving two stacks). This comes for the price of
increased worst case latency, as already running event handlers will no longer
be preempted by higher priority events.

With this, all three event queue priorities are always provided. Using modules,
the old behavior of one thread per event queue can be restored for better worst
case latency at the expense of additional thread size.
2020-12-03 15:28:35 +01:00
János Brodbeck
18fb081d50
sock/dtls: remove usage of sock_dtls_session_create in documentation 2020-12-03 14:45:38 +01:00
Marian Buschsieweke
9d46bc7d7f
Merge pull request #14703 from maribu/sock-aux-api
net/sock: Add access to auxiliary data (API only)
2020-12-03 12:08:49 +01:00
benpicco
a80631a297
Merge pull request #15074 from maribu/ptp-clock
drivers/periph/ptp_clock
2020-12-03 09:59:07 +01:00
benpicco
72621bcfcf
Merge pull request #15525 from firas-hamdi/fix/suit_coap_wo_progressbar
sys/suit: fix use w/o progress bar
2020-12-03 09:34:38 +01:00
Francisco
d1f1c6baa3
Merge pull request #15545 from aabadie/pr/boards/qn908x_clean_makefile_include
boards/common/qn908x: cleanup Makefile.include
2020-12-03 09:21:09 +01:00
Marian Buschsieweke
152ffe6db9
net/sock_dtls: Extend API for auxiliary data 2020-12-02 17:56:14 +01:00
Marian Buschsieweke
893bfd13d0
net/sock_udp: Extend API for auxiliary data 2020-12-02 17:56:13 +01:00
Marian Buschsieweke
ebcf1c0ab4
net/sock_ip: Extend API for auxiliary data 2020-12-02 17:56:13 +01:00
Marian Buschsieweke
2e529e92a4
tests: Added test for PTP clock 2020-12-02 17:53:01 +01:00
Marian Buschsieweke
0da5d1607c
tests: Added test for PTP timer 2020-12-02 17:53:01 +01:00
Marian Buschsieweke
a38db4bda3
boards/nucleo-f767zi: Enabeld PTP clock 2020-12-02 17:53:00 +01:00
Marian Buschsieweke
ea3752db77
cpu/stm32: Added PTP clock implementation 2020-12-02 17:53:00 +01:00
Marian Buschsieweke
7d1edd51f4
drivers/periph: Added PTP clock API 2020-12-02 17:53:00 +01:00
Marian Buschsieweke
d59607ddb7
sys/timex: change type of NS_PER_SEC
Having NS_PER_SEC defined as `1000000000U` is quite a foot gun, as
multiplication even with small numbers in 32 bit quickly overflows. Using the
`1000000000LLU` instead forces 64 bit math.
2020-12-02 17:53:00 +01:00
benpicco
665c07eb53
Merge pull request #15120 from benpicco/driver/at86rf215-trim
driver/at86rf215: add functions to configure trim & clock output at run-time
2020-12-02 16:53:02 +01:00
Benjamin Valentin
be10d0b9e0 tests/driver_at86rf215: extend with driver specific commands 2020-12-02 14:59:17 +01:00
Benjamin Valentin
95d082a2be driver/at86rf215: add functions to set trim & clock output at run-time
To calibrate the at86rf215 radio, trim value has to be set at run-time
during board production.
Add two helper functions to control the trim value and clock output register.
2020-12-02 14:59:17 +01:00
Benjamin Valentin
b866b5ef2b sys/net/gnrc/netif: add gnrc_netif_get_netdev()
Add a function to retrieve a netdev from the list of interfaces.
2020-12-02 14:59:17 +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
7492bd4b3d
Merge pull request #15509 from leandrolanzieri/pr/kconfig/drivers_def
drivers/{d,e,f}*: add Kconfig modules
2020-12-02 13:37:40 +01:00
28947e5198
Merge pull request #15542 from miri64/tests/enh/gnrc_ipv6_ext_frag-netif_setter
tests/gnrc_ipv6_ext_frag: use gnrc_netif_hdr_set_netif()
2020-12-02 13:36:58 +01:00