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

7510 Commits

Author SHA1 Message Date
2df96e033e
Merge pull request #13985 from maribu/stdio_from_isr
sys/stdio_uart: Add warning about use in ISR
2020-06-24 00:01:46 +02:00
Marian Buschsieweke
e568973cd6
sys/stdio_uart: Add warning about use in ISR 2020-06-23 23:32:44 +02:00
02578cfbd3
Merge pull request #14317 from fjmolinas/pr_fix_od_werror
sys/od/od: fix -Werror=char-subscripts
2020-06-22 14:59:44 +02:00
Martine Lenders
2b90d9b833
Merge pull request #12907 from miri64/tinydtls/enh/async-sock
tinydtls: add `sock_async` support for `sock_dtls`
2020-06-22 08:25:16 +02:00
Martine Lenders
3a135c94bb
Merge pull request #14316 from leandrolanzieri/pr/gnrc/gomach_lwmac_remove_queue_size_option
gnrc/[gomach,lwmac]: Remove unused queue size option
2020-06-19 13:23:12 +02:00
Martine Lenders
782d76d2a2
Merge pull request #14267 from fengelhardt/feature_posix_sockets_netif
posix_sockets: use sin6_scope_id of struct sockaddr_in6
2020-06-19 12:32:19 +02:00
Francisco Molina
ce969034dc
sys/od/od: fix -Werror=char-subscripts 2020-06-19 10:44:56 +02:00
Leandro Lanzieri
1f33c43fd4
net/gnrc/lwmac: Remove unused queue size configuration option 2020-06-19 10:20:15 +02:00
Leandro Lanzieri
d9ba720cc0
net/gnrc/gomach: Remove unused queue size configuration option 2020-06-19 10:19:31 +02:00
Akshai M
d2342b6e26 gnrc/gomach : Expose configurations to Kconfig 2020-06-18 21:21:50 +05:30
Akshai M
676a39cebb gnrc/gomach : Move GNRC_GOMACH_MAX_T2U_RETYR_THRESHOLD to 'CONFIG_' 2020-06-18 21:21:50 +05:30
Akshai M
89360577a0 gnrc/gomach : Move GNRC_GOMACH_T2U_RETYR_THRESHOLD to 'CONFIG_' 2020-06-18 21:21:50 +05:30
Akshai M
b9773263c0 gnrc/gomach : Move GNRC_GOMACH_REPHASELOCK_THRESHOLD to 'CONFIG_' 2020-06-18 21:21:50 +05:30
Akshai M
6b10059b8a gnrc/gomach : Move GNRC_GOMACH_MAX_ALLOC_SENDER_NUM to 'CONFIG_' 2020-06-18 21:21:50 +05:30
Akshai M
3274a6b83e gnrc/gomach : Move GNRC_GOMACH_RX_DUPCHK_UNIT_LIFE to 'CONFIG_' 2020-06-18 21:21:50 +05:30
Akshai M
a8cad3715d gnrc/gomach : Move GNRC_GOMACH_CP_EXTEND_THRESHOLD to 'CONFIG_' 2020-06-18 21:21:50 +05:30
Akshai M
62a3be9eee gnrc/gomach : Move GNRC_GOMACH_TX_BUSY_THRESHOLD to 'CONFIG_' 2020-06-18 21:21:50 +05:30
Akshai M
025c1e0509 gnrc/gomach : Move GNRC_GOMACH_VTDMA_SLOT_SIZE_US to 'CONFIG_' 2020-06-18 21:21:50 +05:30
Akshai M
9b7b3fef42 gnrc/gomach : Move GNRC_GOMACH_BCAST_INTERVAL_US to 'CONFIG_' 2020-06-18 21:15:28 +05:30
Akshai M
6aa0418da4 gnrc/gomach : Move GNRC_GOMACH_PREAMBLE_INTERVAL_US to 'CONFIG_' 2020-06-18 21:15:28 +05:30
Akshai M
48a2fc57e0 gnrc/gomach : Move GNRC_GOMACH_MAX_PREAM_INTERVAL_US to 'CONFIG_' 2020-06-18 21:15:28 +05:30
Akshai M
a0a6dc0e4e gnrc/gomach : Move GNRC_GOMACH_NO_TX_ISR_US to 'CONFIG_' 2020-06-18 21:15:28 +05:30
Akshai M
ae175987d5 gnrc/gomach : Move GNRC_GOMACH_WAIT_RX_END_US to 'CONFIG_' 2020-06-18 21:15:28 +05:30
Akshai M
588200f515 gnrc/gomach : Move GNRC_GOMACH_CP_MIN_GAP_US to 'CONFIG_' 2020-06-18 21:15:28 +05:30
Akshai M
1505ea8e11 gnrc/gomach : Move GNRC_GOMACH_CP_RANDOM_END_US to 'CONIFG_' 2020-06-18 21:15:28 +05:30
Akshai M
e6da0bab49 gnrc/gomach : Move GNRC_GOMACH_SUPERFRAME_DURATION_US to 'CONFIG_' 2020-06-18 21:15:28 +05:30
Akshai M
ab3e197c3f gnrc/gomach : Move GNRC_GOMACH_CP_DURATION_US to 'CONFIG_' 2020-06-18 21:07:30 +05:30
Akshai M
517e7ff5f7 gnrc/gomach : Update documentation
Add configurations to compile time configurations.

Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-06-18 21:04:02 +05:30
Martine S. Lenders
7dc4f78d0c
sock_async: add missing license header to net/sock/async/types.h 2020-06-18 15:40:41 +02:00
Martine Lenders
09d097c934
Merge pull request #14214 from btcven/2020_06_06-6lo-mtu
net/gnrc/netif: add option for non-std 6lo MTU
2020-06-18 15:25:01 +02:00
Martine S. Lenders
1b2303771e
sock_async: change flags for new sock_dtls behavior 2020-06-18 15:23:02 +02:00
Jean Pierre Dudey
e1ef082d49
net/gnrc/netif: disable 6lo fragmentation when unneeded
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-06-18 07:16:16 -05:00
Jean Pierre Dudey
d47f4a1caa
net/gnrc/netif: add option for non-std 6lo MTU
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-06-18 07:16:16 -05:00
Leandro Lanzieri
3ce8efd4cb
Merge pull request #14138 from akshaim/Kconfig_mac
gnrc/mac : Expose configurations to Kconfig
2020-06-17 18:12:40 +02:00
56962f86fb
Merge pull request #14293 from kaspar030/fix_ztimer_frac_slowdown_max_value
ztimer: convert_frac: use self->scale_now for max_value
2020-06-16 19:30:54 +02:00
80023c408a
Merge pull request #14259 from fjmolinas/pr_rtt_min_offset
drivers/periph/rtt: introduce RTT_MIN_OFFSET
2020-06-16 16:22:04 +02:00
Martine Lenders
1f2c3f7547
Merge pull request #12604 from maribu/luid-doc
sys/luid: Added postcondition to luid_get()
2020-06-16 15:24:51 +02:00
1ff609167e ztimer: convert_frac: use self->scale_now for max_value
When using convert_frac to slow down a timer, the extension machinery is
used to prevent converting values that would be larger than, after
conversion, 2**32. In order to calculate the maximum value, UINT32_MAX
is converted.

Previously, this was mistakenly converted by multiplying with the
fraction used to scale up a value. E.g., when using convert_frac to
slow down a 1us timer to provide a 1ms timer, UINT32_MAX was multiplied
by 1000. As the result is used % UINT32_MAX, this lead to a wrong value
close to UINT32_MAX, as ((UINT32_MAX * N) % UINT32_MAX = (UINT32_MAX - N - 1)).

This PR fixes the calculation so max_value is determined by multiplying
with the fraction used to scale down a value.
2020-06-16 12:24:11 +02:00
Frank Engelhardt
356c8008dd posix_sockets: use sin6_scope_id field to specify netif 2020-06-15 11:23:46 +02:00
Akshai M
383555c3de gnrc/mac : Update documentation
Move non 'CONFIG_' macros away from 'net_gnrc_mac_conf' group
2020-06-15 12:29:00 +05:30
Akshai M
25f778b552 gnrc/mac : Expose to Kconfig
Expose configurations to Kconfig

Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-06-15 12:28:57 +05:30
Akshai M
ba33686949 gnrc/mac : Model as bool GNRC_MAC_ENABLE_DUTYCYCLE_RECORD
Modelled GNRC_MAC_ENABLE_DUTYCYCLE_RECORD as bool. Introduced
CONFIG_GNRC_MAC_DISABLE_DUTYCYCLE_RECORD to invert the logic.
Tagged GNRC_MAC_ENABLE_DUTYCYCLE_RECORD for deprecation.
2020-06-15 12:19:37 +05:30
Akshai M
75e0632caf gnrc/mac : Configure GNRC_MAC_TX_QUEUE_SIZE with exponent 2020-06-15 12:19:37 +05:30
Akshai M
9ddc9e0633 gnrc/mac : Move GNRC_MAC_NEIGHBOR_COUNT to 'CONFIG_' 2020-06-15 12:19:37 +05:30
Akshai M
b2550451a1 gnrc/mac : Configure GNRC_MAC_DISPATCH_BUFFER_SIZE with exponent 2020-06-15 12:19:37 +05:30
Akshai M
2c1aa8618b gnrc/mac : Configure GNRC_MAC_RX_QUEUE_SIZE with exponent 2020-06-15 12:19:37 +05:30
Leandro Lanzieri
dbfe0d8ea1
gnrc/sock: Configure mbox size with exponent and add config doc group
This changes the configuration macro to be the exponent of 2^n, as the
mbox buffer size needs to be always power of 2. The macro now has the
GNRC prefix.

Also a compile configuration documentation group is created.
2020-06-15 07:30:54 +02:00
Leandro Lanzieri
d4cac38cc9
gnrc/tcp: Configure mbox size with exponent and add config doc group
This changes the configuration macro to be the exponent of 2^n, as the
mbox buffer size needs to be always power of 2.

Also a compile configuration documentation group is created.
2020-06-15 07:30:54 +02:00
Leandro Lanzieri
375cad38df
gnrc/sixlowpan: Configure queue size with exponent
This changes the configuration macro to be the exponent of 2^n, as the
message queue size needs to be always power of 2.
2020-06-15 07:30:52 +02:00
Leandro Lanzieri
05962fe3ef
gnrc/netif: Configure queue size with exponent
This changes the configuration macro to be the exponent of 2^n, as the
message queue size needs to be always power of 2.
2020-06-15 07:30:52 +02:00