Benjamin Valentin
338f0ff604
cpu/sam_common: make use of cortexm.ld
2022-09-23 15:55:12 +02:00
Benjamin Valentin
516b4b6c7f
cpu/nrf51: use cortexm.ld
2022-09-23 15:55:05 +02:00
benpicco
04b7ea59fd
Merge pull request #18625 from nmeum/pr/dhcp-zero-opt
...
dhcpv6: don't treat zero option as an end-of-payload marker
2022-09-23 04:50:28 +02:00
Marian Buschsieweke
655fe2f45e
Merge pull request #18626 from maribu/cpu/atxmega
...
cpu/atxmega: fix building with avr-libc 2.1.0
2022-09-22 22:48:02 +02:00
Sören Tempel
498e531e2f
dhcpv6: don't treat zero option as an end-of-payload marker
...
As far as I can tell, no DHCPv6 RFC specifies this option. The handling
for the zero option was added in #17736 by @benpicco to fix issues
encountered while trying to retrieve a DHCHPv6 lease. However, I
strongly suspect that the zero option was encountered in this case due
to an out-of-bounds read performed in RIOT's DHCPv6 client
implementation (i.e. the option parsing loop read beyond the packet
bounds). This issue was fixed in #18307 and I strongly suspect that it
should also fix the issue @benpicco originally encountered in #17736 . As
such, I propose that we remove the if statement which treats the zero
option as an end-of-payload marker.
Fixes #18309
2022-09-22 20:08:00 +02:00
benpicco
4737d8148a
Merge pull request #17702 from benpicco/core/macros/math
...
core/macros: add math helper macros
2022-09-22 14:14:24 +02:00
Marian Buschsieweke
023b6ae7cf
cpu/atxmega: fix building with avr-libc 2.1.0
...
Due to the lack of new official avr-libc releases (which includes the
vendor header files needed to support different version of MCUs),
support for new MCUs was lacking. Distributions such as Debian addressed
this by extending the upstream code with vendor header files directly
obtained from Atmel / Microchip, but without paying attention to
details. As such, a naming inconsistency (ASIZE vs ASPACE) between
officially supported MCUs and new MCUs was introduced.
Now that avr-libc 2.1.0 is officially released, hardware support for new
MCUs is provided by upstream out of the box and only ASIZE is used as
name. This commit adds a bit of glue code to create aliases for ASIZE on
older avr-libc versions where needed. This fixes compilation with the
new avr-libc release and results in more consistent code.
2022-09-22 13:56:53 +02:00
benpicco
cbee5f4b96
Merge pull request #18615 from spectraphilic/remote-revb-docs-pinout
...
boards/remote-revb: fix pinout image in doc.txt
2022-09-21 19:58:16 +02:00
Benjamin Valentin
27b3c115d2
tests/unittests: add tests core math macros
2022-09-21 16:00:26 +02:00
Benjamin Valentin
c53051f72f
core/macros: add math helper macros
2022-09-21 16:00:26 +02:00
6db9960741
Merge pull request #18448 from nmeum/pr/stack-overflow-panic
...
core: Treat stack overflows as an unrecoverable error
2022-09-21 15:11:12 +02:00
chrysn
994ee9ed4f
Merge pull request #18609 from maribu/sys/string_ext
...
sys/string_utils : new (header-only) module for string utilities
2022-09-21 14:24:30 +02:00
Martine Lenders
c79a7f7065
Merge pull request #18616 from maribu/sys/shell/cmds
...
treewide: fix conditionals on deprecated module
2022-09-21 12:12:22 +02:00
Dylan Laduranty
4c1684f616
Merge pull request #18614 from benpicco/BTN0_PORT-purge
...
boards: drop unused BTN0_PORT define
2022-09-21 10:15:33 +02:00
Marian Buschsieweke
3b2df89b4c
treewide: fix conditionals on deprecated module
...
As a leftovers from https://github.com/RIOT-OS/RIOT/pull/18355 are still
present that check for `MODULE_SHELL_COMMANDS` rather than
`MODULE_SHELL_CMDS`. This updates the conditionals as needed.
2022-09-21 09:42:37 +02:00
J. David Ibáñez
1a640a4cdb
boards/remote-revb: fix pinout image in doc.txt
2022-09-21 09:21:35 +02:00
chrysn
3876f38b93
Merge pull request #18613 from chrysn-pull-requests/doc-install-c++-getting-started
...
doc/getting-started: Add C++ standard library to the list
2022-09-20 22:30:57 +02:00
Benjamin Valentin
f39e502eaf
boards: drop unused BTN0_PORT define
2022-09-20 18:08:55 +02:00
Marian Buschsieweke
a00fb233dc
sys/net/credman: fix insecure memory wiping
2022-09-20 17:44:24 +02:00
Marian Buschsieweke
0f27ce4ad8
sys/fido2: fix insecure memory wiping
2022-09-20 17:44:24 +02:00
Marian Buschsieweke
34c61b58a6
sys/string_utils : new (header-only) module for string utilities
...
This header-only module provides a `string_utils.h` that currently
only provides the non-standard function `explicit_bzero()` to securely
wipe memory. It may be extended with other utility functions in the
future.
2022-09-20 17:44:24 +02:00
Martine Lenders
c107d7377e
Merge pull request #18602 from chrysn-pull-requests/move-in-riot-applications
...
examples: Move in RIOT/applications
2022-09-20 16:51:29 +02:00
chrysn
95c540058d
doc/getting-started: Add C++ standard library to the list
2022-09-20 16:42:19 +02:00
chrysn
59d184f170
examples/spectrum-scanner: Fix building on PIC32 and RISC-V
2022-09-20 13:46:07 +02:00
Martine Lenders
13f94cb11c
examples: sniffer / spectrum_analyzer: amend Makefile.ci
2022-09-20 13:46:07 +02:00
Marian Buschsieweke
3f8f6e929d
Merge pull request #18610 from miri64/event_periodic_callback/fix/dep
...
event_periodic_callback: remove unnecessary dependency
2022-09-20 12:15:58 +02:00
chrysn
f738c9bb41
Move in RIOT/applications
2022-09-20 11:52:30 +02:00
chrysn
ff3d3b5ba2
makefiles: Adjust paths of RIOT-applications to run from examples
2022-09-20 11:49:56 +02:00
chrysn
17a042a060
Move RIOT-applications into examples
2022-09-20 11:49:33 +02:00
chrysn
39dab4ee57
Remove files from RIOT-applications that make no sense in RIOT examples
2022-09-20 11:47:59 +02:00
chrysn
a54501fa21
Merge pull request https://github.com/RIOT-OS/applications/pull/82 from miri64/scripts/enh/black
...
sniffer / spectrum-scanner: reformat using black
2022-09-20 11:24:12 +02:00
Martine Lenders
a6a642a723
Merge pull request https://github.com/RIOT-OS/applications/pull/81 from miri64/sniffer/fix/python3
...
sniffer: correct handling of byte strings
2022-09-20 11:24:12 +02:00
Martine Lenders
646b37b2b3
sniffer / spectrum-scanner: reformat using black
2022-09-20 11:24:12 +02:00
chrysn
4217c680ac
Merge pull request https://github.com/RIOT-OS/applications/pull/80 from chrysn-pull-requests/remove-chat-application
...
Remove "coap-chat" application
2022-09-20 11:24:12 +02:00
Martine Lenders
adf8ed117d
sniffer.py: enforce use of python3
2022-09-20 11:24:12 +02:00
Martine Lenders
7c5f2e3ec2
Merge pull request https://github.com/RIOT-OS/applications/pull/78 from akshaim/update-submodule
...
RIOT-OS Submodule : Update to 2022.07 release
2022-09-20 11:24:12 +02:00
chrysn
eb0ec397cc
Remove "coap-chat" application
2022-09-20 11:24:12 +02:00
Martine Lenders
1c187bb82f
sniffer: correct handling of byte strings
2022-09-20 11:24:12 +02:00
Martine Lenders
43903b179b
Merge pull request https://github.com/RIOT-OS/applications/pull/76 from akshaim/remove_flak8
...
travis: Remove flake8
2022-09-20 11:24:12 +02:00
chrysn
ef9b3a029d
sniffer: Migrate to ztimer
...
See-Also: https://github.com/RIOT-OS/applications/pull/78#pullrequestreview-1112206330
2022-09-20 11:24:12 +02:00
Martine Lenders
c71f74e2a9
Merge pull request https://github.com/RIOT-OS/applications/pull/74 from leandrolanzieri/pr/coap_chat/adapt_new_gcoap_api
...
coap-chat: adapt to new gcoap API
2022-09-20 11:24:12 +02:00
Akshai M
b4f4173553
travis: Remove flak8
2022-09-20 11:24:12 +02:00
chrysn
dda61ca78e
dependencies: Replace deprecated module
2022-09-20 11:24:12 +02:00
Martine Lenders
9db31389e0
Merge pull request https://github.com/RIOT-OS/applications/pull/72 from miri64/release/enh/2020.07
...
RIOT: update to 2020.07
2022-09-20 11:24:12 +02:00
Leandro Lanzieri
9d17a74df8
coap-chat: adapt to new gcoap API
2022-09-20 11:24:12 +02:00
chrysn
25a5151dc4
sniffer: Update to 2022.07 release
...
The ztimer64_xtimer_compat module is not automatically enabled when
ztimer provides xtimer compatibility. It does not provide the
xtimer_usec_from_ticks64 function, but that was not particularly used
anyway. A header file became unavailable but was not needed.
2022-09-20 11:24:12 +02:00
5b40f96f9d
Merge pull request https://github.com/RIOT-OS/applications/pull/71 from fjmolinas/pr_bump_version
...
RIOT: bump version to 2020.01
2022-09-20 11:24:12 +02:00
Martine S. Lenders
0fb6a17dd0
spectrum-scanner: adapt for 2020.07 release
2022-09-20 11:24:12 +02:00
chrysn
bc38fd40bc
spectrum-scanner: Update to 2022.07 release
...
The ztimer64_xtimer_compat module is not automatically enabled when
ztimer provides xtimer compatibility.
2022-09-20 11:24:12 +02:00
Martine Lenders
ad5c7c9a4a
Merge pull request https://github.com/RIOT-OS/applications/pull/69 from kb2ma/sniffer/2019.10_update
...
sniffer: README updates
2022-09-20 11:24:12 +02:00