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

41291 Commits

Author SHA1 Message Date
MrKevinWeiss
6cad5d2477
cpu/mips: Remove all mips 2022-09-27 13:42:37 +02:00
benpicco
2039a10e71
Merge pull request #18646 from maribu/boards/nrf52dk
boards/nrf52dk: fix doc
2022-09-26 15:11:09 +02:00
Marian Buschsieweke
b8936c7895
boards/nrf52dk: fix doc
The board definition of the `nrf52dk` was likely created for some clone
board. However, an official board name nRF52 DK provided by Nordic
also exists. This resulted in previous contributors in confusing this
with the official board and "fixing" the board definition to match
the nRF52 DK board.

Or maybe it always has been meant to be the official board and someone
just added a wrong image to it.

In either case, this brings the documentation back in alignment with
the code by replacing references to some random clone board and the
image of the random clone board with those to/of the official Nordic
nRF52 DK board.
2022-09-26 14:10:57 +02:00
benpicco
782aa52566
Merge pull request #18647 from krzysztof-cabaj/nucleo-f446ze-ADC
boards/nucleo-f446ze: add support for ADC
2022-09-26 13:22:56 +02:00
krzysztof-cabaj
034791d767 boards/nucleo-f446ze: add VBAT config 2022-09-26 07:18:41 -04:00
krzysztof-cabaj
e995099190 boards/nucleo-f446ze: add ADC support 2022-09-26 06:41:49 -04:00
benpicco
6988db6dbe
Merge pull request #18645 from maribu/cleanup
tests: remove bogus files
2022-09-25 21:45:00 +02:00
Marian Buschsieweke
9add97fe0e
tests: remove bogus files 2022-09-25 21:23:54 +02:00
chrysn
976de15da6
Merge pull request #18642 from chrysn-pull-requests/rust-20220924
rust: Update dependencies
2022-09-25 14:52:16 +02:00
benpicco
857fe7d8ad
Merge pull request #18635 from benpicco/tests/gnrc_ipv6_nib_iface_up
tests: call gnrc_ipv6_nib_iface_up() after gnrc_ipv6_nib_init_iface()
2022-09-25 14:19:40 +02:00
chrysn
168ec76a17 rust: Update dependencies
This will allow more components to build on 1.64 stable, and contains a
fix relevant for https://github.com/RIOT-OS/RIOT/pull/18619.

CoAP modules are held back as they appear to need an even newer nightly
than in the current riotdocker to build without feature declarations.
2022-09-25 10:16:27 +02:00
Marian Buschsieweke
aa4aa69338
Merge pull request #18640 from maribu/sys/shell/cmds
treewide:  s/gnrc_pktbuf_cmd/shell_cmd_gnrc_pktbuf/
2022-09-25 09:03:42 +02:00
Marian Buschsieweke
77731c5f7b
treewide: s/gnrc_pktbuf_cmd/shell_cmd_gnrc_pktbuf/
Replace the deprecated module gnrc_pktbuf_cmd with the new
shell_cmd_gnrc_pktbuf module.
2022-09-24 14:50:43 +02:00
Marian Buschsieweke
d75722b227
Merge pull request #18638 from maribu/cpu/arm7_common
cpu/arm7_common: fix compilation with 12.2.0
2022-09-24 13:47:55 +02:00
Marian Buschsieweke
d6a9e5b590
Merge pull request #18628 from benpicco/openocd-adapters-ftdi
tools/openocd: add generic FTDI adapter
2022-09-23 23:58:30 +02:00
benpicco
d9e881e73a
Merge pull request #18634 from maribu/tests/heap_cmd
tests/heap_cmd: fix test script
2022-09-23 20:37:27 +02:00
Marian Buschsieweke
f03e71a509
Merge pull request #18631 from maribu/tools/avarice
tools/avarice: deduce debugger from AVRDUDE_PROGRAMMER
2022-09-23 20:36:00 +02:00
benpicco
a0ddf006af
Merge pull request #18623 from maribu/cpu/avr8_common/strings
cpu/avr8_common: add strings.h for compatibility
2022-09-23 20:35:23 +02:00
Marian Buschsieweke
e7c030cc86
cpu/arm7_common: fix compilation with 12.2.0
This fixes:

    Assembler messages:
    Fatal error: unknown option `-ggdb'
2022-09-23 18:41:12 +02:00
J. David Ibáñez
1ce7537d9e
boards/waspmote-pro: add sdcard configuration 2022-09-23 18:09:12 +02:00
2e238859fc
Merge pull request #18630 from chrysn-pull-requests/info-rust
makefiles: Rust fixes and info extensions
2022-09-23 17:45:11 +02:00
Benjamin Valentin
d2e57ac941 tests: call gnrc_ipv6_nib_iface_up() after gnrc_ipv6_nib_init_iface() 2022-09-23 17:17:42 +02:00
Marian Buschsieweke
466af0400d
tests/heap_cmd: fix test script
In c95e8553ef the shell output of the
heap command was changed and no longer matched the expectation of the
test script. This adapts the test to again match the output.
2022-09-23 14:47:31 +02:00
Marian Buschsieweke
7df2bc2072
tools/avarice: deduce debugger from AVRDUDE_PROGRAMMER
If `AVRDUDE_PROGRAMMER` is already set to a programmer that is also
capable of debugging, we can assume that typically the user will want
to use the same hardware for debugging. Thus, let `AVR_DEBUGDEVICE`
default to the matching hardware.
2022-09-23 13:41:27 +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
chrysn
ec5d75f965 makefiles: Remove duplicate cargo invocation
Back in 36a029c0, rather than being line wrapped, this was duplicated.
2022-09-23 02:05:32 +02:00
chrysn
babccfa947 makefiles: Add make info-rust target 2022-09-23 02:03:50 +02:00
chrysn
5f41839b3d build-info: Output CARGO_CHANNEL etc. 2022-09-23 02:03:23 +02:00
chrysn
9d7fd993aa make/info-build: Protect shell from parentheses in CFLAGS
As for why the `-e` is being removed, observe that the `-e` would
otherwise be printed; there is an [elaborate treatise] on what happens
there.

[elaborate treatise]: https://unix.stackexchange.com/questions/700675/why-is-echo-e-behaving-weird-in-a-makefile
2022-09-23 01:53:42 +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
Benjamin Valentin
f80b4557fd tools/openocd: add generic FTDI adapter 2022-09-22 17:49:34 +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
Marian Buschsieweke
f1da9f6695
cpu/avr8_common: add strings.h for compatibility 2022-09-22 08:33:37 +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