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

7617 Commits

Author SHA1 Message Date
Marian Buschsieweke
5ecafab83d
sys/pm: Correctly access pm_blocker
Replace `volatile` access to pm_blocker by guarding the accesses with
`irq_disable()` ... `irq_restore()`.

`volatile` does only guarantee that no compiler optimizations are performed on
a variable access, but does not provide atomic access. E.g. on systems with
a memory bus of less than 32 bit, the access to pm_blocker cannot be done
with a single CPU instruction. Thus, resorting to disabling IRQs is the easiest
and most portable way to actually achieve atomic access.
2020-07-15 11:21:59 +02:00
Akshai M
b898c65ecf net/credman : Update documentation 2020-07-14 21:26:19 +05:30
Akshai M
1ad76240c5 net/credman : Expose to Kconfig
Expose 'CONFIG_CREDMAN_MAX_CREDENTIALS' to Kconfig
2020-07-14 21:26:19 +05:30
Akshai M
774c18ea79 net/credman : Move 'CREDMAN_MAX_CREDENTIALS' to 'CONFIG_' 2020-07-14 21:26:19 +05:30
Jose Alamos
96ee1d2bf8 net/gnrc_netif_lorawan: fix unaligned copy 2020-07-13 16:57:26 +02:00
Martine Lenders
8e74bfa511
Merge pull request #14306 from leandrolanzieri/pr/net/nettest_remove
net/gnrc: Remove deprecated module gnrc_nettest
2020-07-10 17:12:59 +02:00
Leandro Lanzieri
cdc252ab7b
net/gnrc/nettest: Remove module
This module has been deprecated and scheduled for removal in release
2020.07.
2020-07-10 15:58:54 +02:00
Daniel Lockau
0d3dc120ef drivers/sdcard_spi: remove auto-init 2020-07-09 08:50:53 +02:00
Leandro Lanzieri
ffee93deed
Merge pull request #14120 from akshaim/Kconfig_lwmac
gnrc/lwmac : Expose configurations to Kconfig
2020-07-08 19:32:50 +02:00
Martine Lenders
908ec472ce
Merge pull request #14453 from benpicco/sys/random-hwrng
sys/random: add option to use HWRNG as source of randomness
2020-07-08 19:30:36 +02:00
benpicco
63a0014456
Merge pull request #14467 from benpicco/fix_file_permission
treewide: fix file permissions
2020-07-08 18:30:01 +02:00
Benjamin Valentin
2f423473fc sys/random: add option to use HWRNG as source of randomness
Add the `prng_hwrng` module to enable the HWRNG as source of all randomness, not just
for seeding a PRNG.

saves ~260 bytes compared to using tinymt32.
2020-07-08 18:23:18 +02:00
Benjamin Valentin
9d836888c2 treewide: fix file permissions
C files should not be executable.
2020-07-08 17:32:36 +02:00
Hauke Petersen
dbec7a3e94 sys/shell/sc_nimble_netif: cleanup timing params 2020-07-08 08:46:43 +02:00
Akshai M
c75df9c5ca gnrc/lwmac : Expose to Kconfig
Expose configurations to Kconfig
2020-07-08 10:04:45 +05:30
Akshai M
a05eb3b4ad gnrc/lwmac : Move GNRC_LWMAC_MAX_DATA_TX_RETRIES to 'CONFIG_' 2020-07-08 10:04:45 +05:30
Akshai M
cda7791a4b gnrc/lwmac : Move GNRC_LWMAC_DATA_CSMA_RETRIES to 'CONFIG_' 2020-07-08 10:04:45 +05:30
Akshai M
e241141a92 gnrc/lwmac : Move GNRC_LWMAC_DATA_DELAY_US to 'CONFIG_' 2020-07-08 10:04:45 +05:30
Akshai M
1fe5acddc6 gnrc/lwmac : Move GNRC_LWMAC_WR_PREPARATION_US to 'CONFIG_' 2020-07-08 10:04:45 +05:30
Akshai M
85948925ba gnrc/lwmac : Move GNRC_LWMAC_TIMEOUT_COUNT to 'CONFIG_' 2020-07-08 10:04:45 +05:30
Akshai M
3bd8dd4aa2 gnrc/lwmac : Move GNRC_LWMAC_BROADCAST_CSMA_RETRIES to 'CONFIG_' 2020-07-08 10:04:45 +05:30
Akshai M
65fa832e40 gnrc/lwmac : Move GNRC_LWMAC_MAX_RX_EXTENSION_NUM to 'CONFIG' 2020-07-08 10:04:45 +05:30
Akshai M
e38dca5d42 gnrc/lwmac : Move GNRC_LWMAC_TIME_BETWEEN_WR_US to 'CONFIG_' 2020-07-08 10:04:45 +05:30
Akshai M
1be3264ab3 gnrc/lwmac : Move GNRC_LWMAC_WAKEUP_INTERVAL_US to 'CONFIG_' 2020-07-08 10:04:45 +05:30
Akshai M
c15bd805af gnrc/lwmac : Update documentation
Add compile time parameters to group 'net_gnrc_conf' and modify
documentation to stick to 80 character limit per line.
2020-07-08 10:04:45 +05:30
Martine Lenders
6fc72be723
Merge pull request #14450 from MrKevinWeiss/pr/shellhooks
sys/shell: Add optional hooks for shell commands
2020-07-07 18:43:50 +02:00
MrKevinWeiss
04630d20ba sys/shell: Add optional hooks for shell commands
Introduce optional user shell_post_readline_hook, shell_pre_command_hook, shell_post_command_hook.
Enable with USEMODULE=shell_hooks.
Calls user implemented *_hook functions if defined.
If implementation does not exist, nothing happens.

The intent is to make profiling of the shell command timings easier.

Test provided in tests/shell with USEMODULE=shell_hooks.
2020-07-07 17:00:38 +02:00
db5070c772
Merge pull request #14441 from miri64/riotctrl_shell/feat/netif
riotctrl_shell: provide netif interactions and parsers
2020-07-07 14:21:35 +02:00
Akshai M
7a2e9c8948 net/asymcute : Update documentation 2020-07-07 16:27:57 +05:30
Akshai M
e9f270c78a net/asymcute : Expose to Kconfig 2020-07-07 16:27:57 +05:30
Akshai M
8a6d2882f7 net/asymcute : Move 'ASYMCUTE_KEEPALIVE_PING' to 'CONFIG_' 2020-07-07 16:27:57 +05:30
Akshai M
a1df2e33b0 net/asymcute : Move 'ASYMCUTE_N_RETRY' to 'CONFIG_' 2020-07-07 16:27:57 +05:30
Akshai M
6dc5747c4b net/asymcute : Move 'ASYMCUTE_T_RETRY' to 'CONFIG_' 2020-07-07 16:27:57 +05:30
Akshai M
1753b84cba net/asymcute : Move 'ASYMCUTE_KEEPALIVE' to 'CONFIG_' 2020-07-07 16:27:57 +05:30
Akshai M
7ba0d3c76f net/asymcute : Move 'ASYMCUTE_TOPIC_MAXLEN' to 'CONFIG_' 2020-07-07 16:27:57 +05:30
Akshai M
e4a3213b99 net/asymcute : Model 'ASYMCUTE_BUFSIZE' with exp
Added 'CONFIG_ASYMCUTE_BUFSIZE_EXP' and modelled ASYMCUTE_BUFSIZE
as power of an exponent.
2020-07-07 16:27:57 +05:30
Martine Lenders
fdcf53e514
Merge pull request #10222 from pokgak/pr/add-cord-lc
net: add CoRE RD lookup client implementation
2020-07-07 12:44:37 +02:00
Martine S. Lenders
e923d5dbd8
sc_gnrc_netif: fix whitespaces in output
Originally, the options and flags in the `netif` shell output were
separated by two spaces. For later added flags this is not the case,
making the parsing of those flags and options hard to impossible.

This change adds those missing spaces + comments so it might not happen
again in the future.
2020-07-07 12:24:40 +02:00
Aiman Ismail
869052dcd8 cord: add RD lookup client 2020-07-07 10:54:10 +02:00
pokgak
88279904c5 sys/coap: add ACCEPT option 2020-07-07 10:54:10 +02:00
Simon Brummer
122616ae7d gnrc_tcp: add retransmission timer 2020-07-06 21:18:23 +02:00
Martine Lenders
b0738051f2
Merge pull request #14222 from brummer-simon/gnrc_tcp-rewrite_internal_messaging
gnrc_tcp: rewrite API internal messaging
2020-07-06 13:39:13 +02:00
Martine Lenders
d510e034ea
Merge pull request #13552 from haukepetersen/add_nimble_statconn
pkg/nimble: add static connection manager `statconn`
2020-07-06 09:59:13 +02:00
Marian Buschsieweke
1267277ca7
sys/base64: Improved implementation 2020-07-06 09:16:24 +02:00
Hauke Petersen
3ecb9d8423 sys/shell: add nimble_statconn shell command 2020-07-06 08:14:09 +02:00
Simon Brummer
67b22d8783 gnrc_tcp: requested changes 2020-07-04 09:21:50 +02:00
Simon Brummer
aa1c2e9cba gnrc_tcp: rewrite API internal messaging 2020-07-04 09:20:43 +02:00
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
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