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

301 Commits

Author SHA1 Message Date
Martine Lenders
6da2f0fab3
Merge pull request #16669 from miri64/sock_dns/enh/factor-out-msg-parsing
sock_dns: factor out message parsing and composition
2021-08-11 12:43:26 +02:00
Martine Lenders
e8cbc6da85
dns: move message parsing and composition to own module 2021-08-11 11:55:29 +02:00
Martine Lenders
6493241ed4
dhcpv6_client: add ztimer backend support 2021-07-21 16:28:39 +02:00
Martine Lenders
805952c5ce
dhcpv6_client: use event_timeout instead of xtimer 2021-07-21 16:28:37 +02:00
Benjamin Valentin
da7d3779bf examples/gnrc_networking: move udp command to shell commands
The `udp` command is a valuable debugging tool that is also useful
outside of the gnrc_networking example.

To enable easy sending of udp messages in other applications during
development, move the `udp` command to the shell module and introduce
the `gnrc_udp_cmd` pseudo-module to enable it.
2021-07-21 11:19:47 +02:00
benpicco
4f905bfa8c
Merge pull request #15493 from benpicco/riotboot-serial
riotboot: implement serial flasher
2021-07-21 11:01:31 +02:00
Martine Lenders
7793098ed8
Merge pull request #16634 from benpicco/gnrc_netif_parse_hostname
netutils: add netutils_parse_hostname()
2021-07-21 10:11:25 +02:00
Benjamin Valentin
a05723e5cb rioboot: add option to reset to riotboot 2021-07-20 22:51:15 +02:00
Benjamin Valentin
7a07b7471f riotboot: implement serial bootloader feature 2021-07-20 22:50:41 +02:00
Benjamin Valentin
657be1c488 sys/shell/commands: gnrc_icmpv6_echo: use netutils_get_ipv6() 2021-07-20 22:44:40 +02:00
Benjamin Valentin
3081eeb556 netutils: add netutils_get_ipv6() 2021-07-20 22:44:39 +02:00
Jose Alamos
c8f9d85002
shell_commands/gnrc_netif: fix gnrc_netif_cmd_lora dependency
This commit fixes the dependency resolution of `gnrc_netif_cmd_lora`.
As it was, this module was pulled by the driver if `gnrc` was used.
Besides pulling an extra dependency in applications that don't use
`shell_commands` or `gnrc_lorawan`, this hardcodes the module
resolution in the drivers.

This commit pulls `gnrc_netif_cmd_lora` if `shell_commands` and
`gnrc_lorawan` are present.
2021-07-09 13:29:07 +02:00
44dc4dcbac
suit: Move riotboot dependency to suit_storage_flashwrite 2021-07-08 10:22:14 +02:00
János Brodbeck
23a8659bdf
net/gcoap: support DTLS 2021-07-07 14:45:30 +02:00
MrKevinWeiss
6884927c3f
sys/arduino: Remove option
There is no clear reason why this should be configurable and causes an abstraction of USEMODULE.
The true reason is to make Kconfig easier but it seems having a variable in USEMODULE is a bit strange.
2021-07-02 15:11:09 +02:00
Martine Lenders
4deb15cb6f
dhcpv6_client: add DNS recursive name server option handling
Signed-off-by: Martine Lenders <m.lenders@fu-berlin.de>
2021-06-24 16:01:59 +02:00
746f56cc3f
sys/arduino: use ztimer as backend high-level timer 2021-06-17 10:23:21 +02:00
Francisco Molina
3e4e664071
ztimer: remove duplicate dependencies 2021-06-16 11:18:25 +02:00
Hauke Petersen
c5d1a34b83 sys/trickle: migrate to ZTIMER_MSEC 2021-06-14 09:04:25 +02:00
Francisco Molina
4ddbac3be3
sys/event: add periodic event 2021-06-03 17:53:44 +02:00
Francisco Molina
4f34e50130
sys/event/timeout: add option to use ztimer as backend 2021-05-27 22:34:01 +02:00
Ollrogge
427d2bd06e sys/crypto: Enable support for AES-192, AES-256 2021-05-03 17:34:49 +02:00
Marian Buschsieweke
19d92cb455
sys/net/gnrc/Makefile.dep: split out of sys/Makefile.dep 2021-04-23 20:29:38 +02:00
Hauke Petersen
75dbf65256 net/gnrc/sixlowpan/ctx: use ztimer if available 2021-04-16 11:38:54 +02:00
Hauke Petersen
b339e91e18 sys/sema: allow to use ztimer and/or xtimer 2021-04-12 13:08:39 +02:00
Marian Buschsieweke
1454dc3566
sys/Makefile.dep: clean up 2021-04-01 11:06:22 +02:00
Martine Lenders
fd36c626a3
Merge pull request #15950 from MrKevinWeiss/pr/turo/initial
sys/test_utils/result_output: Initial implementations and API of turo
2021-03-15 11:35:01 +01:00
MrKevinWeiss
6a3eb46d5e sys/result_output: Expose result output 2021-03-12 16:20:33 +01:00
Leandro Lanzieri
e47727fb16
treewide: remove unneeded ieee802154_radio_hal pseudomodule 2021-03-10 14:18:13 +01:00
Leandro Lanzieri
fe5c982fa6
drivers/Makefile.dep: don't pull netdev on netdev_default
netdev_default should enable the network devices, which do not
necessarily use netdev.
2021-03-10 14:18:12 +01:00
Francisco
fc82e3916e
Merge pull request #15931 from haukepetersen/add_dbgpin3
sys: add `dbgpin` module for debugging and profiling (take 2)
2021-03-09 10:26:37 +01:00
Hauke Petersen
2d582cdd2e sys: initial import of dbgpin module 2021-02-26 11:34:52 +01:00
Martine Lenders
e65fee4587
congure_test: initial import of CongURE test framework 2021-02-26 10:08:12 +01:00
Martine Lenders
2f2a009e7a
congure: initial import of a congestion control framework 2021-02-26 10:08:11 +01:00
f97267ba68 sys/net: add netstats_neighbor 2021-02-09 12:27:58 +01:00
Martine Lenders
209b48e385
Merge pull request #15694 from maribu/gnrc_tx_sync
sys/net/gnrc/tx_sync: new module
2021-02-08 19:47:43 +01:00
Marian Buschsieweke
9895b840cd
sys/net: gnrc_tx_sync not implemented for gnrc_sixlowpand_frag_sfr
It is currently not possible to use both gnrc_tx_sync and
gnrc_sixlowpand_frag_sfr at the same time - this will be added in a follow
up PR.
2021-02-08 16:13:11 +01:00
Benjamin Valentin
118cf0e9e6 riotboot_usb_dfu: depend on periph_pm 2021-02-02 23:40:21 +01:00
Benjamin Valentin
32c30aaeaa pm_layered: depend on periph_pm 2021-02-02 23:40:21 +01:00
ce97e9d8ce
Merge pull request #15859 from fjmolinas/pr_newlib_feature
treewide: model newlib as a FEATURE
2021-01-27 10:06:08 +01:00
Francisco Molina
63a2a6ce1b
treewide: model newlib as a FEATURE 2021-01-27 09:24:25 +01:00
Hauke Petersen
4540b6273b ble/skald: switch from xtimer to ZTIMER_MSEC 2021-01-26 09:34:09 +01:00
Leandro Lanzieri
91ff4e5ce5
sys/Makefile.dep: default saul_init_devs to y when saul_default is used 2021-01-25 09:17:00 +01:00
Hauke Petersen
8f5d366fe9 sys/evtimer: fix module dependencies 2021-01-19 11:07:20 +01:00
Benjamin Valentin
5602587dd7 sys/sema_inv: add inverse Semaphore
It is often desiderable to sync on multiple threads, e.g. there can be a controller
thread that waits for `n` worker threads to finish their job.
An inverse semaphore provides an easy primitive to implement this pattern.

After being initialized with a value `n` (in counter mode), a call to `sema_inv_wait()`
will block until each of the `n` threads has called `sema_inv_post()` exactly once.

There are situations where workers might post an event more than once
(unless additional state is introduced).
For this case, the alternative mask mode is provided.
Here the inverse semaphore is initialized with a bit mask, each worker can clear one
or multiple bits with `sema_inv_post_mask()`. A worker can clear it's bit multiple times.
2021-01-17 00:17:58 +01:00
dylad
beb0fb752c sys/riotboot: add DFU support to riotboot 2021-01-12 11:34:22 +01:00
dylad
669a8ec7b3 usbus/dfu: introduce initial Device Firmware Upgrade support for USBUS 2021-01-12 11:34:22 +01:00
Build Bot
122d7a0f35 usbus/hid: add minimal implementation 2021-01-11 00:24:30 +01:00
Dylan Laduranty
dd557a1328
Merge pull request #15651 from bergzand/pr/usbus/gen_serial
usbus: Add USB peripheral serial string support
2020-12-22 21:38:27 +01:00
Hauke Petersen
ee01950ed7 net/asymcute: switch to sock_asnyc_event 2020-12-18 13:58:20 +01:00
9cd753228c
usbus: Add USB peripheral serial string support 2020-12-17 11:37:05 +01:00
Martine S. Lenders
e980405cbc
gnrc_sixlowpan_frag_sfr: provide statistics sub-module 2020-12-14 13:00:37 +01:00
Martine S. Lenders
1cd1716280
gnrc_sixlowpan_frag: initial import of Selective Fragment Recovery 2020-12-14 13:00:36 +01:00
Martine Lenders
b6bf67114b
Merge pull request #15536 from fjmolinas/pr_openwsn_sock_selfhosted
pkg/openwsn: add sock_udp
2020-12-11 11:22:50 +01:00
Francisco Molina
1d1e4b6e7b
sys/Makefile.dep: add openwsn shell_commands missing dependency 2020-12-11 09:07:52 +01:00
Francisco Molina
c97f025333
Makefile.dep: fix sock_async deps 2020-12-11 09:07:51 +01:00
Francisco Molina
5c26f53828
pkg/openwsn: add openwsn_sock_udp module
Co-authored-by: Timothy Claeys <timothy.claeys@inria.fr>
2020-12-11 09:07:48 +01:00
Martine Lenders
08d86295d2
Merge pull request #15560 from maribu/gnrc-aux-rx-timestamps
net/gnrc/sock: Implement sock_aux_timestamp for RX
2020-12-10 19:20:16 +01:00
Marian Buschsieweke
d95192e97b
sys/net/gnrc/sock: Add support for RX timestamp 2020-12-10 17:43:11 +01:00
Fabian Hüßler
dc16c14b3d sys: Add IEEE 802.15.4 security 2020-12-04 09:40:55 +01:00
Francisco
0a064806e3
Merge pull request #15443 from benpicco/l2util_addr
replace netif_addr_to/from_str() with l2util_addr_to/from_str()
2020-12-02 09:21:16 +01:00
benpicco
b18cbd8c2a
Merge pull request #11068 from miri64/gnrc_sixlowpan_frag/new/minfwd
gnrc_sixlowpan_frag: initial import of minimal forwarding
2020-12-01 18:55:51 +01:00
Leandro Lanzieri
2fc12c8252
Merge pull request #14324 from PeterKietzmann/pr_add_entropy_source
sys/entropy_source: add new module for entropy sources
2020-12-01 16:58:42 +01:00
PeterKietzmann
aec75b55fe sys/entropy_source: add new module for entropy sources 2020-12-01 15:51:40 +01:00
Martine Lenders
4ce2d01cb9
gnrc_sixlowpan_frag: initial import of minimal forwarding
See https://tools.ietf.org/html/draft-ietf-6lo-minimal-fragment-04
2020-12-01 15:08:08 +01:00
benpicco
333fce44b4
Merge pull request #14973 from benpicco/driver/at86rf215-batmon
drivers/at86rf215: implement battery monitor, add power bus
2020-12-01 11:52:46 +01:00
Marian Buschsieweke
45b8902659
Merge pull request #15314 from aabadie/pr/sys/arduino_print_float
sys/arduino: fix print float
2020-11-17 16:15:39 +01:00
Benjamin Valentin
5d6754e7a9 l2util: add l2util_addr_to_str()/l2util_addr_from_str() 2020-11-14 17:29:26 +01:00
Benjamin Valentin
7e069290a0 sys/bus: add system buses 2020-11-12 22:50:53 +01:00
722223902a
riotboot: only depend on periph_flashpage 2020-11-11 23:16:43 +01:00
Martine Lenders
cc10d31391
Merge pull request #15305 from aabadie/pr/sys/posix_sleep
sys/posix: rename posix_time to posix_sleep
2020-11-05 16:36:25 +01:00
benpicco
568e1e3635
Merge pull request #15199 from fjmolinas/pbkdf2-sha256
sys/hashes/pbkdf2: Add PBKDF2-sha256 implementation. [TAKEOVER]
2020-11-04 14:45:12 +01:00
Juan Carrano
bc8ce928d4
sys/hashes/pbkdf2: wipe local variables, prevents leaks.
Wipe temporary buffers and sha256 contexts so that no remnants of the
password is left on the stack

This ensures that the password is not leaked if some function reads
the stack afterwards.
2020-11-04 09:57:32 +01:00
1be6bd7567
sys/arduino: use fmt_float to print float values 2020-10-27 15:31:42 +01:00
abcdc7968a
sys/posix/sleep: use ztimer instead of xtimer 2020-10-27 15:20:33 +01:00
68a2a5dab0
sys: tests: rename posix_time to posix_sleep 2020-10-27 15:20:33 +01:00
Francisco Molina
f8e6f77657
sys/Makefile.dep: add missing nanocoap_sock dependency 2020-10-27 10:54:45 +01:00
Francisco Molina
304cbdf89f
sys/suit: allow easy selection of libcose_crypt module 2020-10-27 10:54:27 +01:00
Francisco Molina
82e06ef8f4
pkg/openwsn: add ieee802154 hal based radio 2020-10-23 15:31:55 +02:00
Francisco Molina
c756fa5e78
sys/Makefile.dep: make ieee802154_radio_hal depend on ieee802154 2020-10-22 14:54:53 +02:00
e20dc64ff3
Merge pull request #15135 from bergzand/pr/riotboot/flashwrite_raw
riotboot/flashwrite: add flashpage_raw capabilities
2020-10-20 13:05:56 +02:00
55b0f0b6a8
riotboot/flashwrite: add flashpage_raw compatibility
This adds optional usage of periph_flashpage_raw for the
riotboot/flashwrite module. This removes the need to buffer a full
flashpage page, instead it must buffer two times the
FLASHPAGE_RAW_BLOCKSIZE. One is used to buffer the current write block,
the other buffers the first chunk (offset zero, page zero). This first
chunk is written when finalizing the flash operation.

Care must be taken that, when using the skiplength, the number of bytes
skipped is always a multiple of the FLASHPAGE_RAW_BLOCKSIZE.
2020-10-20 11:22:56 +02:00
Jose Alamos
ca7240e529 ieee802154_submac: drop luid dependency 2020-10-19 15:18:35 +02:00
Karl Fessel
9a89b84c2c Makefile.dep: sort dependencies
move most dependencies from <RIOTBASE>/Makefile.dep to the Makefile.dep where
dependant module resides
2020-10-05 18:27:58 +02:00
Marian Buschsieweke
033807008a
sys/arduino: Require feature cpp
Arduino code requires C++ support
2020-07-23 20:18:34 +02:00
Marian Buschsieweke
2f858a2c0a
sys/shell: Added shell command "dfplayer"
Added a shell command that is added if the modules shell_commands and dfplayer
are both used. It allows to control the DFPlayer Mini MP3 player.
2020-06-28 21:06:49 +02:00
Francisco Molina
e7a8c58de4
sys/arduino: include arduino_sketches in Makefile.dep 2020-06-25 11:02:02 +02:00
a45fdf0e0a sys/trace: initial commit 2020-06-10 21:21:33 +02:00
benpicco
b0fab9c53a
Merge pull request #13638 from gschorcht/sys/shell/rtt_command
sys/shell: add rtt command
2020-03-19 21:21:12 +01:00
Gunar Schorcht
3d20b0b6c5 sys/shell: add rtt command 2020-03-19 17:17:26 +01:00
182cb8735b
sys: periph_uart is required for arduino 2020-03-18 10:53:17 +01:00
0b082d8cff
sys: extend crypto_* dependency resolution
Add dependency resolution for crypto_aes_unroll and
crypto_aes_precalculated pseudomodules

Co-authored-by Gunar Schorcht <gunar@schorcht.net>
2020-03-06 19:54:23 +01:00
f6c4e269b1
sys/crypto: define ciphers via pseudomodules 2020-03-06 19:49:58 +01:00
Marian Buschsieweke
cc50da690b
sys/arduino: Added SPI interface
Added an Arduino compatible SPI API on top of RIOT's SPI API.
2019-11-07 13:04:46 +01:00
Gunar Schorcht
3fc2c60f20 sys/arduino: add Wire (I2C) library implementation 2019-10-24 08:33:49 +02:00
d6356bdc08
Merge pull request #11692 from maribu/fmt_table
sys/fmt: Added submodule fmt_table for printing tables
2019-08-20 22:18:54 +02:00
Marian Buschsieweke
26d73116f6
sys/fmt: Added submodule fmt_table
print_col_u32_dec() / print_col_s32_dec() can be used to print an
uint32_t / int32_t as a column of the given width
2019-08-20 14:32:49 +02:00
Gaëtan Harter
027426793c
test_utils_interactive_sync: add a helper for synchronizing tests
Add an implementation that waits for 's' to print 'START' and return.
If 'r' is given is prints 'READY' to allow querying for state.

The help and answered string have to be different to not match the other.
Using puts/getchar was smaller than using `stdio_read/stdio_write` on the
example I tested with `esp32`.
2019-08-15 12:26:28 +02:00
Marian Buschsieweke
6b0082bb3f
shell: Add command i2c_scan
Add a trivial shell program that scans for all slaves on an I2C bus by iterating
all of the possible 127 I2C addresses and checking for the ACK of the device.
2019-03-25 14:10:04 +01:00
Matthew Blue
ba4de322f4 sys/eepreg: Makefile support 2018-10-20 09:30:41 -04:00
Bas Stottelaar
99755eaa0c sys: random: add fortuna PRNG 2018-05-29 18:40:58 +02:00