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

30204 Commits

Author SHA1 Message Date
Martine Lenders
339e3faf21
Merge pull request #14400 from maribu/base64_tests
sys/base64: Fix, unit test cleanup, and benchmark
2020-07-02 13:40:56 +02:00
Marian Buschsieweke
4e6ec3493f
tests/unittests: Extend & clean up base64 tests
- Added unit test for `base64_estimate_{de,en}code_size()`
- Mark constant stuff as `const`
- Use `memcmp()` for comparing memory
- Do not use variable size arrays
- Various code style issue
2020-07-02 12:23:43 +02:00
Marian Buschsieweke
e3ea4943af
tests: Add benchmark for sys/base64 2020-07-02 12:23:43 +02:00
Marian Buschsieweke
3c7fd0cdc9
sys/base64: Use void pointer for buffers in API
This is a non-breaking change, as `unsigned char *` can implicitly be converted
to `void *`.
2020-07-02 11:10:06 +02:00
Maciej Jurczak
f8ac003bbf
base64: Fixed decode buffer size estimation
Fixed required result buffer size underestimation in base64_estimate_decode_size() function.
2020-07-02 11:10:05 +02:00
Leandro Lanzieri
045874abe6
Merge pull request #14050 from akshaim/Documentation_Update
doc/driver-guide.md : Update for compile-time configuration
2020-07-02 09:59:13 +02:00
Leandro Lanzieri
192737948d
Merge pull request #12975 from miri64/posix/feat/select
posix: initial import of select() function (only support sockets for now)
2020-07-02 09:37:55 +02:00
Martine Lenders
8e3961a541
Merge pull request #14414 from btcven/2020_07-docs
net/gnrc/ipv6/nib: fix ref to net_gnrc_ipv6_nib_nc_info
2020-07-02 00:12:10 +02:00
Jean Pierre Dudey
7a991f8ecc
net/gnrc/ipv6/nib: fix ref to net_gnrc_ipv6_nib_nc_info
This fixes a bug with the link as newlines can't be inside of a link
on Doxygen documentation.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-07-01 16:16:16 -05:00
Martine Lenders
77bf3d4484
Merge pull request #14378 from benpicco/core/panic_usb-bootloader
core/panic: launch USB bootloader on crash for easy recovery
2020-07-01 22:51:38 +02:00
Martine Lenders
71f1310639
Merge pull request #14408 from fjmolinas/pr_lora_tests
tests-examples: ci blacklist lora tests
2020-07-01 22:32:22 +02:00
Martine Lenders
315ac305f4
Merge pull request #14411 from kfessel/patch-doxygen-search
doc/header: make hitting return not reload the page
2020-07-01 20:58:57 +02:00
Benjamin Valentin
b71fde68e9 core/panic: launch USB bootloader for easy recovery
If a board was flashed via USB bootloader, a crash means the user has to
perform a procedure to manually enter the bootloader again for recovery.

To allow for easier recovery, automatically lauch the bootloader on crash
if `DEVELHELP` is enabled.
2020-07-01 20:36:59 +02:00
Akshai M
d379009488 doc/driver-guide.md : Fix typo, punctuations and sentences 2020-07-01 21:59:42 +05:30
Martine S. Lenders
fa9371d177
examples: add posix_select example 2020-07-01 18:10:26 +02:00
Martine S. Lenders
6ba6740231
posix_select: initial import of select() function 2020-07-01 18:10:26 +02:00
Akshai M
39a36f7fef doc/driver-guide.md : Fix syntax 2020-07-01 21:20:10 +05:30
Akshai M
b5902cadd5 doc/driver-guide.md : Update for compile-time configuration
Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
Co-authored-by: Martine Lenders <mail@martine-lenders.eu>
2020-07-01 21:20:10 +05:30
Martine Lenders
1245065afb
Merge pull request #14291 from brummer-simon/gnrc_tcp-move_rcv_buffer_handling
gnrc_tcp: rewrite recv buffer allocation/returning
2020-07-01 17:19:28 +02:00
benpicco
adc0a3cb8c
Merge pull request #13668 from benpicco/tools/radvd
tools/radvd: Add script to run radvd on a tun interface
2020-07-01 16:06:24 +02:00
Simon Brummer
9fe91f5c44 gnrc_tcp: rewrite recv buffer allocation/returning 2020-07-01 15:47:23 +02:00
799ee40ea7
Merge pull request #13866 from benpicco/pkg/fs_params
pkg/fs: set VFS params by fs, not by the application
2020-07-01 14:19:00 +02:00
e8d8fd2f32
Merge pull request #14404 from benpicco/sys/usb_board_reset_in_bootloader
sys/usb_board_reset: add usb_board_reset_in_bootloader definition
2020-07-01 13:49:59 +02:00
Martine S. Lenders
af24c539d0
posix_sockets: count available received messages asynchronously
Utilizing `sock_async`
2020-07-01 13:36:36 +02:00
Martine S. Lenders
791069acf1
posix_sockets: provide function to check if file descriptor is a socket 2020-07-01 13:36:36 +02:00
Martine S. Lenders
c7dc0bb8de
posix_sockets: use vfs_file_get() to resolve file descriptor 2020-07-01 13:36:36 +02:00
Martine S. Lenders
ef844d8863
vfs: provide function to get internal file information by fd 2020-07-01 13:36:25 +02:00
chrysn
a787875cf8 usb_board_reset: Split headers into public and private
The private parts need USB definitions (and are thus preferably used
from USB_H_USER_IS_RIOT_INTERNAL compilation units). Functions like
usb_board_reset_in_bootloader do not depend on USB headers for their
definitions and are fair game throughout the application even for
generic RIOT USB devices.
2020-07-01 13:22:25 +02:00
Karl Fessel
f09064c40c doc/header: make hitting return not reload the page
adding onsubmit="return false" stops form submition which leads to reload
2020-07-01 12:58:05 +02:00
Francisco Molina
6263ee1b6f
tests-examples: ci blacklist lora tests 2020-07-01 12:20:26 +02:00
Benjamin Valentin
33ef4f2902 sys/usb_board_reset: add usb_board_reset_in_bootloader definition
Move the definition of usb_board_reset_in_bootloader() to a common
location.
2020-07-01 10:30:17 +02:00
Francisco
772b638d2a
Merge pull request #14405 from aabadie/pr/cpu/mips_no_binfile
cpu/mips: disable BINFILE generation
2020-07-01 10:21:41 +02:00
Leandro Lanzieri
4cfa25f921
Merge pull request #11915 from fjmolinas/pr_loramac_tests
release/11-lorawan: add tests to target applications
2020-07-01 10:12:41 +02:00
Leandro Lanzieri
b2c0a8e67d
Merge pull request #14401 from benpicco/kconfiglib-v14.1.0
kconfiglib: bump to v14.1.0
2020-07-01 09:37:50 +02:00
Francisco
41888674a4
Merge pull request #14385 from aabadie/pr/make/appdeps_export
boards/mips: remove use of APPDEPS, un-export globally APPDEPS
2020-07-01 09:13:35 +02:00
Francisco Molina
f60e6e008d
tests/pkg_semtech-loramac: add automatic test 2020-07-01 09:08:08 +02:00
Francisco Molina
9e130be8a8
examples/lorawan: add automatic test 2020-07-01 09:08:07 +02:00
b3e566bcd8
cpu/mips: disable BINFILE generation 2020-07-01 08:08:23 +02:00
Martine Lenders
95fa7fbb4f
Merge pull request #14403 from pokgak/fix-cord-ep-netif
cord_ep: allow not specify netif if only one interface exist
2020-06-30 23:00:27 +02:00
M Aiman Ismail
edc95679cd cord_ep: allow not specify netif if only one interface exist 2020-06-30 22:36:23 +02:00
benpicco
e1d27cb7d5
Merge pull request #14394 from sven-hm/fatfs_vfs_fstat
pkg/fatfs/fatfs_vfs: fix _fstat
2020-06-30 18:30:26 +02:00
Peter Kietzmann
2250c67240
Merge pull request #14388 from leandrolanzieri/pr/kconfig/ezr32wg_board_symbols
boards/slwstk6220a: Model features provided in Kconfig
2020-06-30 18:24:44 +02:00
Benjamin Valentin
6dcaa9ad49 tools/radvd: Add script to run radvd on a tun interface
This adds a small wrapper script to configure and start radvd on a
tun interface.
This allows the use of router advertisements and global adresses with
the `native` target.

Usage:

 - first create the tap interface as usual

    sudo dist/tools/tapsetup/tapsetup

 - now run radvd on the new tapbr0 interface

    sudo dist/tools/radvd/radvd.sh -c tapbr0 2001:db8::/64

 - Now run the `gnrc_networking` example on native:

    make -C examples/gnrc_networking all term

You should now see that the `native` node has received a global address
in `ifconfig`.
You should be able to reach this address from your host computer.

It may take very long for the native node to obtain the address.
If you are observing this, try turning off router advertisements of the
native node on the upstream interface by running

    ifconfig 6 -rtr_adv

Alternatively change `USEMODULE += gnrc_ipv6_router_default` to
`USEMODULE += gnrc_ipv6_default` in the project's `Makefile`.
2020-06-30 17:55:25 +02:00
Benjamin Valentin
a91cbea59a tests/pkg_spiffs: increase test timeout to 90s
test takes 66s to run on esp8266-esp-12x, bump the timeout to 90s to be safe.
2020-06-30 17:42:28 +02:00
Benjamin Valentin
11fa839abb kconfiglib: bump to v14.1.0
The latest upstream version uses Python3 instead of Python2.
2020-06-30 17:32:42 +02:00
Francisco
7cdba86d2c
Merge pull request #14387 from leandrolanzieri/pr/doc/kconfig_prefixes
doc/kconfig: Add guide to model features, CPUs and boards
2020-06-30 17:08:07 +02:00
Francisco
325b7a8d8e
Merge pull request #13631 from benpicco/cpu/sam0_common/spi-deinit
drivers/periph/spi: add periph_spi_reconfigure feature & implementation for sam0
2020-06-30 15:34:53 +02:00
Francisco
960cca77b7
Merge pull request #13675 from benpicco/native_eof_exit
sys/shell: native: stop RIOT when the shell reads EOF
2020-06-30 15:29:52 +02:00
Francisco
59b58eaef2
Merge pull request #14389 from aabadie/pr/doc/package_enh
pkg/doc.txt: improve rendering of source location documentation
2020-06-30 15:13:52 +02:00
Francisco
e8389a5847
Merge pull request #12870 from benpicco/xtimer-doc-fix
sys/xtimer: fix documentation about XTIMER_BACKOFF
2020-06-30 15:07:09 +02:00