Akshai M
b57365cc7f
net/lora : Update documentation
2020-09-30 20:00:03 +05:30
Akshai M
4dbbd9311d
net/lora : Remove unused macro 'LORA_FIX_LENGTH_PAYLOAD_ON_DEFAULT'
2020-09-30 20:00:03 +05:30
Akshai M
aa83367b4b
net/lora : Expose to Kconfig
2020-09-30 20:00:03 +05:30
Akshai M
399273dba5
net/lora : Move 'LORA_PAYLOAD_LENGTH_DEFAULT' to 'CONFIG_'
2020-09-30 20:00:03 +05:30
Akshai M
1629b11801
net/lora : Mode as bool 'LORA_PAYLOAD_CRC_ON_DEFAULT'
...
Modelled 'LORA_PAYLOAD_CRC_ON_DEFAULT' as bool. Introduced
'CONFIG_LORA_PAYLOAD_CRC_OFF_DEFAULT' to invert logic and
tagged 'LORA_PAYLOAD_CRC_ON_DEFAULT' for deprecation
2020-09-30 20:00:03 +05:30
Akshai M
889828ae87
net/lora : Model as bool 'LORA_FIXED_HEADER_LEN_MODE_DEFAULT'
...
Move 'LORA_FIXED_HEADER_LEN_MODE_DEFAULT' to 'CONFIG_'
2020-09-30 20:00:03 +05:30
Akshai M
e329588be4
net/lora : Move 'LORA_FREQUENCY_HOPPING_PERIOD_DEFAULT' to 'CONFIG_'
2020-09-30 20:00:03 +05:30
Akshai M
acd601ebb9
net/lora : Model as bool 'LORA_FREQUENCY_HOPPING_DEFAULT'
...
Move 'LORA_FREQUENCY_HOPPING_DEFAULT' to 'CONFIG_'
2020-09-30 20:00:03 +05:30
Akshai M
00cc04f596
net/lora : Model as bool 'LORA_IQ_INVERTED_DEFAULT'
...
Move 'LORA_IQ_INVERTED_DEFAULT' to 'CONFIG_'
2020-09-30 20:00:03 +05:30
Akshai M
a161476041
net/lora : Move 'LORA_CR_DEFAULT' to 'CONFIG_'
...
Added choices and moved 'LORA_CR_DEFAULT' to 'CONFIG_' namespace
2020-09-30 20:00:03 +05:30
Akshai M
aaeed98277
net/lora : Move 'LORA_SF_DEFAULT' to 'CONFIG_'
2020-09-30 20:00:03 +05:30
Akshai M
349d20349d
net/lora : Move 'LORA_BW_DEFAULT' to 'CONFIG_'
...
Added choices and moved 'LORA_BW_DEFAULT" to 'CONFIG_' namespace
2020-09-30 20:00:03 +05:30
Akshai M
979700cd45
net/lora : Move 'LORA_SYMBOL_TIMEOUT_DEFAULT' to 'CONFIG_'
2020-09-30 20:00:03 +05:30
Akshai M
de1ad1e8cf
net/lora : Move 'LORA_PREAMBLE_LENGTH_DEFAULT' to 'CONFIG_'
2020-09-30 20:00:03 +05:30
Marian Buschsieweke
d68437249f
Merge pull request #15096 from benpicco/eui64_to_eui48
...
net/eui64: add eui64_to_eui48()
2020-09-30 16:15:14 +02:00
b72d510690
suit/transport/mock: Use common storage backend
2020-09-30 14:32:27 +02:00
edeffdcd54
suit: Adapt manifest handling to use common storage backend
2020-09-30 14:32:27 +02:00
Jose Alamos
fda73fdf0a
gnrc_lorawan: uncrustify files
2020-09-30 14:18:54 +02:00
Jose Alamos
71bda3bcd8
gnrc_lorawan: remove GNRC specific dependencies
2020-09-30 14:18:54 +02:00
Jose Alamos
0162a16d82
gnrc_lorawan: fix BUSY logic
2020-09-30 14:18:54 +02:00
Jose Alamos
2e6ba90435
gnrc_lorawan: refactor rx_done callback
2020-09-30 14:18:54 +02:00
Jose Alamos
5146261f03
gnrc_lorawan: rename radio event functions
2020-09-30 14:18:54 +02:00
a29eaf557f
suit/storage/flashwrite: Add riotboot flashwrite storage backend
2020-09-30 13:32:39 +02:00
9ce2ba1c55
suit/storage/ram: Introduce RAM storage backend for SUIT
2020-09-30 13:32:38 +02:00
7742750abd
suit: Introduce generic storage backend
...
This commit introduces a common storage backend for SUIT manifest
payloads. Different backends can be compiled into a single firmware.
Degending on the component name in the SUIT manifest, a storage backend
is selected by the parser.
2020-09-30 13:32:38 +02:00
Vincent Dupont
b4f29035ce
native/can: fix CAN init
...
Native CAN device was not properly ported to periph_can interface.
This commit fixes this by renaming all needed structures and files so
auto_init_can can initialize the native device. FEATURES_PROVIDED is
also updated for native.
2020-09-30 12:59:03 +02:00
Vincent Dupont
98c39d5104
can: add proper checks for ifnum validity
...
Most functions were using asserts, but in some cases it might not be a
programmatic error to pass an invalid ifnum. This makes sure the code
does not crash by testing it at runtim and returning an error.
2020-09-30 12:59:02 +02:00
Benjamin Valentin
307ea6224a
net/eui48: add eui64_to_eui48()
...
Provide helper function to mangle a EUI-64 into an EUI-48.
This can be useful to get predictable, locally unique addreses.
2020-09-30 11:18:36 +02:00
Benjamin Valentin
d7943a49aa
net/eui48: reorder code
...
Move eui48_set_local() and eui48_clear_group() to the top so we can
use it later in the file.
2020-09-30 11:18:34 +02:00
benpicco
0bc80250cf
Merge pull request #15101 from benpicco/sys/net/uhcp-log
...
sys/net/uhcp: use LOG_xxx functions
2020-09-30 11:08:53 +02:00
2dab6c7b30
Merge pull request #15111 from maribu/xtimer-assert
...
sys/{x,z}timer: assert() successful initialization of periph_timer
2020-09-30 08:52:34 +02:00
aa6e64316c
Merge pull request #15053 from kaspar030/ztimer_periodic
...
sys/ztimer: add periodic timers API
2020-09-29 23:58:51 +02:00
548c4f02fc
sys/ztimer: add ztimer_periodic
2020-09-29 23:04:39 +02:00
Marian Buschsieweke
a206df5399
Merge pull request #15104 from maribu/platform
...
sys/architecture: New module to access architecture internals in platform-independent way
2020-09-29 18:12:34 +02:00
ea007ada05
suit: Mark conversion function arguments as const
...
Small cleanup to mark arguments of the conversion functions for param to
cbor and vice versa as const where possible
2020-09-29 15:18:57 +02:00
f05c5f7708
riotboot/flashwrite: Add force flush to storage function
2020-09-29 15:18:56 +02:00
a00314bfc4
riotboot: Add function to retrieve the slot size
2020-09-29 15:18:52 +02:00
fc794d9a21
Merge pull request #15092 from bergzand/pr/suit/per_component_flags
...
suit: Introduce per-component flags
2020-09-29 15:03:06 +02:00
72ef2086b5
suit: Group the HAVE_COMPONENTS flag with the others
2020-09-29 13:09:32 +02:00
d9cf10c109
suit: Introduce per-component flags
2020-09-29 13:09:32 +02:00
benpicco
9970a26277
Merge pull request #15113 from kaspar030/fix_ztimer_spin
...
ztimer: fix ztimer_spin() time_left == duration case
2020-09-29 13:00:19 +02:00
Marian Buschsieweke
27c1c453f7
sys: Module to access architecture details
...
Add a platform independent way to access architecture details. Currently only
macros to query word size, word sized integer types, and a type qualifier for
aligning variables to word boundaries are provided.
2020-09-29 12:33:59 +02:00
70b160713e
ztimer: add comment explaining ztimer_spin() logic
2020-09-29 11:53:35 +02:00
Marian Buschsieweke
a6dc9bdb2d
sys/ztimer: assert() successful initialized
...
Use an `assert()` to make sure that `periph_timer` was successfully initialized.
2020-09-29 11:52:26 +02:00
Marian Buschsieweke
6deb89f887
sys/xtimer: assert() successful initialized
...
Use an `assert()` to make sure that `periph_timer` was successfully initialized.
2020-09-29 11:52:26 +02:00
Martine Lenders
f55031e65d
Merge pull request #15079 from miri64/gnrc_ipv6_nib/enh/multicast-6LN-UNREACHABLED-probe
...
gnrc_ipv6_nib: only multicast probe UNREACHABLE neighbor if 6LR
2020-09-29 11:49:27 +02:00
07a1dde684
ztimer: fix ztimer_spin() time_left == duration case
2020-09-29 11:23:28 +02:00
Martine Lenders
9631576b22
gnrc_ipv6_nib: make ARO extra status codes also available without 6LN
2020-09-29 10:45:12 +02:00
Martine Lenders
04f6e06dd4
gnrc_ipv6_nib: only multicast probe UNREACHABLE neighbor if 6LR
...
Non-routing 6LNs do not have to join the solicited nodes address, so
probing for a neighbor using that address may be in vain and only
spamming the LLN with unnecessary messages. RFC 6775 basically assumes
this in section 5.2:
> There is no need to join the solicited-node multicast address, since
> nobody multicasts NSs in this type of network.
2020-09-29 10:45:12 +02:00
Benjamin Valentin
f163f1580b
sys/net/uhcp: use LOG_ functions
...
Using `gnrc_border_router` with `uhcp` is quite noisy.
uhcpc will regularly refresh the prefix and print a bunch of status messages.
Allow the user to tone it down by setting a higher `LOG_LEVEL`.
For this, convert calls to `printf()` and `puts()` to `LOG_xxx()`.
This requires a dummy header for `uhcpd`.
2020-09-29 09:55:28 +02:00
Francisco
bfb8fc52b1
Merge pull request #15094 from bergzand/pr/suit/secure_fetch
...
SUIT: fail fetch if the image size doesn't match expected
2020-09-28 14:11:26 +02:00
ab0cc57997
suit: Only finish the flashwrite when mock is not active
...
This can be removed as soon as the SUIT module has a proper storage
abstraction
2020-09-28 13:03:40 +02:00
Martine Lenders
4a133a7d30
Merge pull request #15088 from maribu/sc_gnrc_icmpv6_echo
...
sys/shell/commands/gnrc_icmpv6_echo: Fix alignment
2020-09-28 11:30:08 +02:00
ad45506924
Merge pull request #15082 from leandrolanzieri/pr/sys/net/remove_routing
...
sys/net: remove unused routing directory
2020-09-27 15:55:30 +02:00
Juergen Fitschen
62fb4a2ade
Merge pull request #13661 from jue89/feature/evtimer_on_ztimer
...
sys/evtimer: introduce ZTIMER_MSEC as timer backend
2020-09-27 14:07:04 +02:00
91df9cae87
suit: Finalize image after digest verification
2020-09-26 14:40:14 +02:00
791155d3dd
suit/coap: fail fetch if the image size doesn't match expected
2020-09-26 13:34:50 +02:00
cdf45f9798
suit: Move policy check to before fetch
...
This prevents the whole payload fetch if the manifest fails the policy
check
2020-09-26 12:48:53 +02:00
Juergen Fitschen
dfec601dea
sys/evtimer: adjusted documentation for evtimer_on_ztimer
2020-09-25 18:55:01 +02:00
Marian Buschsieweke
5a04f48238
sys/shell/commands/gnrc_icmpv6_echo: Fix alignment
...
Fix unaligned memory access in `ping6` shell command
2020-09-25 12:42:02 +02:00
Francisco
ad9e35c445
Merge pull request #14436 from bergzand/pr/suit/ietf_v7
...
SUIT: Upgrade to draft-ietf-suit-manifest-09
2020-09-24 21:57:24 +02:00
c8ecc9c3ca
suit: Upgrade manifest parser to IETF-v9 compliance
2020-09-24 21:15:08 +02:00
Leandro Lanzieri
0cd94c7c67
sys/net: remove unused routing directory
2020-09-24 17:32:34 +02:00
f25398ae25
Merge pull request #15075 from benpicco/evtimer_warn
...
sys/evtimer: copy warning from xtimer
2020-09-24 16:28:44 +02:00
Martine Lenders
555c62de51
gnrc_ipv6_nib: set NCE stale on incoming ARO
...
In accordance with RFC 6775, section 5.2 an NCE should be set STALE
when an ARO renews the address registration for the address:
> The routers SHOULD NOT garbage-collect Registered NCEs (see
> Section 3.4), since they need to retain them until the Registration
> Lifetime expires. Similarly, if NUD on the router determines that
> the host is UNREACHABLE (based on the logic in [RFC4861]), the NCE
> SHOULD NOT be deleted but rather retained until the Registration
> Lifetime expires. A renewed ARO should mark the cache entry as
> STALE. Thus, for 6LoWPAN routers, the Neighbor Cache doesn't behave
> like a cache. Instead, it behaves as a registry of all the host
> addresses that are attached to the router.
2020-09-24 13:13:43 +02:00
Juergen Fitschen
838d1007b3
gnrc/mac/timeout: add missing include
2020-09-24 13:06:47 +02:00
Benjamin Valentin
bb2b6adb7e
sys/evtimer: copy warning from xtimer
...
Callbacks from evtimer are still executed in interrupt context.
While xtimer warns about this, evtimer leaves the user unsuspecting.
Copy the warning from xtimer to keep users vigilant.
2020-09-24 11:52:56 +02:00
Juergen Fitschen
c3a20f8fb8
sys/evtimer: introduce ZTIMER_MSEC as timer backend
2020-09-24 11:30:26 +02:00
Marian Buschsieweke
0ce6f2f375
sys/xtimer: untangle from core/mutex
...
Place a verbatim copy of `_mutex_lock()` as `static` in `xtimer`, so internal
mutex function can be optimized one step at a time without breaking `xtimer`.
2020-09-24 07:42:35 +02:00
e719eaf97c
Merge pull request #15003 from kaspar030/ztimer_now64_tick
...
ztimer/core: ensure half-period tick when ztimer_now64 is used
2020-09-23 14:14:52 +02:00
Martine Lenders
711ea275e9
Merge pull request #15042 from maribu/gnrc_dont_include_xtimer_when_not_used
...
sys/net/gnrc/netif: Fix compilation on waspmote-pro
2020-09-23 13:37:36 +02:00
18852cf30c
ztimer/core: ensure half-period tick when ztimer_now64 is used
2020-09-23 13:11:29 +02:00
Martine Lenders
5e4c285323
Merge pull request #15056 from maribu/gnrc_pktbuf_static_alignment
...
sys/net/gnrc/pktbuf_static: Fix alignment
2020-09-22 17:07:07 +02:00
Martine Lenders
db6355fb13
Merge pull request #15054 from haukepetersen/fix_emcute_msgupdate
...
net/emcute: fix buffer overflow in _willupd_msg()
2020-09-22 15:51:05 +02:00
Marian Buschsieweke
28d4bf7751
sys/net/gnrc/pktbuf_static: Fix alignment
...
The buffer _pktbuf was previously only aligned to a 1 byte boundary. This could
result in run time issues.
2020-09-22 15:04:56 +02:00
Francisco
f3a5ee69e0
Merge pull request #14936 from kaspar030/ztimer_sleep_adjust
...
sys/ztimer: allow compensation of ztimer_sleep() overhead
2020-09-22 14:56:56 +02:00
Marian Buschsieweke
8a5d301caa
sys/net/gnrc/netif: Fix compilation on waspmote-pro
...
xtimer.h must not be included, when the xtimer module is not use. Otherwise
compilation on the waspmote-pro with https://github.com/RIOT-OS/RIOT/pull/14799
will not longer work. gnrc_netif_pktq includes xtimer.h and uses xtimer, but
gnrc_netif includes gnrc_netif_pktq.h regardless of whether gnrc_netif_pktq
is used. This makes sure that gnrc_netif_pktq.h is only included when actually
used.
2020-09-22 11:51:09 +02:00
Marian Buschsieweke
1d1b446d6b
sys/net/gnrc/netif: use IS_USED macro
2020-09-22 11:50:18 +02:00
Hauke Petersen
3b424858de
net/emcute: fix buffer overflow in _willupd_msg()
2020-09-22 11:43:00 +02:00
MichelRottleuthner
cdd1cd3ea2
Merge pull request #14978 from pokgak/xtimer/remove_set_absolute
...
xtimer: remove _xtimer_set_absolute
2020-09-21 10:03:25 +02:00
Marian Buschsieweke
7946eb766e
Merge pull request #15047 from kaspar030/fix_cdc_ecm_recv_return
...
sys/usb/usbus/cdc_ecm_netdev: fix _recv() return values
2020-09-18 22:45:13 +02:00
70d480c301
sys/usb/usbus/cdc_ecm_netdev: fix _recv() return values
...
Previously, the function would always return the max_len parameter.
This poses two issues:
1. the API requires to return the actual packet size
2. the API requires that if the packet is larger than max_len, the
packet is flushed and -ENOBUFS is returned
3. this basically bypasses the packet flushing, consequtive _recv()
would return the last packet again
This commit fixes those issues.
2020-09-18 21:04:15 +02:00
Marian Buschsieweke
0cb274c1eb
sys/net/gnrc: Fix include of xtimer.h
...
Make sure xtimer.h is only included if the xtimer module is actually used, as
otherwise compilation for the waspmote-pro fails.
2020-09-16 19:55:43 +02:00
benpicco
aac05cb393
Merge pull request #15024 from chrysn-pull-requests/declare-ull-constant
...
ipv6: Declare unsigned long long literal
2020-09-15 16:57:24 +02:00
chrysn
7e371bb1e6
ipv6: Declare unsigned long long literal
2020-09-15 12:55:29 +02:00
0ee2a8fa5f
sys/ztimer: fix auto_init doc
2020-09-14 18:05:09 +02:00
benpicco
819dc7de90
Merge pull request #14843 from benpicco/picolibc_stdio_offset
...
picolibc: enable read()/write() with !VFS, implement missing fs functions
2020-09-11 18:04:01 +02:00
benpicco
d7edd8cb71
Merge pull request #14986 from benpicco/sys/luid-shuffle
...
sys/luid: shuffle bytes
2020-09-11 16:02:52 +02:00
Benjamin Valentin
28d1936fae
sys/luid: shuffle bytes
...
The CPU ID can have large parts that are identical between devices.
To add some more entropy to the generated IDs, shuffle the bytes.
2020-09-11 13:01:31 +02:00
23fb19ad8d
Merge pull request #15009 from fjmolinas/pr_pipe_null_deref
...
sys/pipe/pipe_dynamic: fix possible null pointer dereference
2020-09-11 12:29:49 +02:00
Francisco Molina
ee379eb535
sys/pipe/pipe_dynamic: fix possible null pointer dereference
2020-09-11 11:19:58 +02:00
474cde6046
Merge pull request #15004 from kaspar030/ztimer_periodic_wakeup_32bit
...
ztimer: use uint32_t in ztimer_periodic_wakeup
2020-09-11 11:13:19 +02:00
6c2459057f
Merge pull request #14910 from OTAkeys/pr/thread_names
...
thread: Add THREAD_NAMES make flag
2020-09-11 10:54:10 +02:00
fb7e285acd
ztimer: add ztimer_spin()
...
This adds a simple busy waiting function intended for blocking, but very
precise short delays.
2020-09-11 00:18:59 +02:00
ff1ea0bfb1
ztimer: use uint32_t in ztimer_periodic_wakeup
...
This ensures compatibility with xtimer_periodic_wakeup() in case
ztimer_now64 is used.
2020-09-10 23:39:48 +02:00
benpicco
f75ca11968
Merge pull request #14802 from jia200x/pr/nrf52840_radio_hal
...
nrf52840: implement Radio HAL
2020-09-10 18:07:51 +02:00
Jose Alamos
c74ee68674
net/ieee802154.h: add IFS constants
2020-09-10 17:01:13 +02:00
benpicco
8a2080ab91
Merge pull request #14997 from jia200x/pr/hal/reg_retention
...
ieee802154_hal: add cap for register retention during `off`
2020-09-10 14:53:10 +02:00
Jose Alamos
4944d136c2
ieee802154_hal: add cap for register retention during off
2020-09-10 14:07:49 +02:00
Jose Alamos
4db4d44304
ieee802154_hal: remove misplaced note
2020-09-10 13:42:20 +02:00
42f2fbef71
Merge pull request #14905 from fjmolinas/pr_openwsn_riot_sched
...
pkg/openwsn: add riot based openwsn scheduler
2020-09-10 13:23:12 +02:00
Jim O'Brien
bd149e7db9
thread: Add THREAD_NAMES make flag
...
Separate thread names from DEVELHELP so thread names can be
enabled in non-development/debug builds when required/desired.
THREAD_NAMES will be enabled by default then DEVELHELP is set to 1.
2020-09-10 10:08:27 +02:00
Francisco Molina
19494a4db3
pkg/openwsn: add riot based openwsn scheduler
2020-09-10 09:37:43 +02:00
Cenk Gündoğan
0d0bc91553
Merge pull request #14754 from leandrolanzieri/pr/no_archives
...
build system: link object files
2020-09-10 09:36:29 +02:00
benpicco
239999fe73
Merge pull request #14984 from jia200x/pr/hal/missing_const
...
ieee802154_hal: add missing const qualifiers
2020-09-09 13:03:30 +02:00
2fbd85b798
sys/ztimer: allow compensation of ztimer_sleep() overhead
2020-09-09 12:50:51 +02:00
Jose Alamos
4ad75216dd
ieee802154_hal: add missing const qualifiers
2020-09-09 11:17:44 +02:00
Francisco
cb6b65e7ff
Merge pull request #14886 from miri64/gnrc/fix/circ-deps
...
gnrc: remove circular module dependencies
2020-09-09 09:06:28 +02:00
Martine Lenders
ec436b9069
Merge pull request #14963 from miri64/gnrc_sock_ip/fix/sock
...
gnrc_sock_ip: fix NULL pointer dereference
2020-09-08 17:15:25 +02:00
M Aiman Ismail
bc8d55fde9
sys/xtimer: remove _xtimer_set_absolute
2020-09-08 14:21:40 +02:00
Martine S. Lenders
7d47484170
gnrc_sock_ip: fix NULL pointer dereference
2020-09-08 13:05:10 +02:00
Martine S. Lenders
2cf5b3c185
gnrc_ipv6_hdr: make HDR_NETTYPE dependent on nettype module
...
In #13994 this was introduced but overlooked here.
2020-09-08 12:53:29 +02:00
Martine S. Lenders
0e3443d006
gnrc_netif: guard usage of gnrc_ipv6 member
2020-09-08 12:53:29 +02:00
Martine S. Lenders
4fe7bb003a
gnrc_ipv6_nib: add missing header includes
2020-09-08 12:53:29 +02:00
Benjamin Valentin
471e81d544
ieee802154: add definitions & config options for MR-FSK
2020-09-07 15:40:56 +02:00
benpicco
c7993b6140
Merge pull request #14961 from miri64/gnrc_rpl/fix/check-idx
...
gnrc_rpl: check index after fetching address from netif
2020-09-07 14:24:44 +02:00
benpicco
a084430be3
Merge pull request #14883 from miri64/gnrc_ipv6_nib/fix/ipv6_addr_idx-check
...
gnrc_ipv6_nib: check return value of gnrc_netif_ipv6_addr_idx()
2020-09-07 14:24:17 +02:00
benpicco
a336fdc918
Merge pull request #11263 from miri64/gnrc_netif/new/pktq
...
gnrc_netif: add packet to queue when device is busy
2020-09-07 13:59:58 +02:00
Leandro Lanzieri
40b52e1d72
Merge pull request #14321 from akshaim/Kconfig_cord
...
net/cord : Expose configurations to Kconfig
2020-09-07 11:45:17 +02:00
Martine S. Lenders
91dfee7ee0
gnrc_ipv6_nib: fix duplicate handling for ARO
...
When `nce` is NULL on the duplicate check, the later re-fetching of the
`nce` might result in an actual NCE entry that then contains a
duplicate, so we need to re-check the EUI-64 again as well.
2020-09-07 08:42:50 +02:00
Martine S. Lenders
f9c3e5f5a4
gnrc_ipv6_nib: check return value of gnrc_netif_ipv6_addr_idx()
...
And acquire exclusive network interface access when necessary.
Fixes #14752 .
2020-09-07 08:42:50 +02:00
Martine S. Lenders
f7913b3d47
gnrc_rpl: check index after fetching address from netif
2020-09-07 08:39:29 +02:00
Leandro Lanzieri
81cb769cad
makefiles: avoid building archives when compiling
2020-09-04 15:01:10 +02:00
Leandro Lanzieri
e24a64fd64
Merge pull request #14926 from akshaim/Kconfig_dtls
...
net/sock/dtls : Expose configuration to Kconfig
2020-09-04 14:49:23 +02:00
Akshai M
55fe4a464f
net/sock : Update documentation
...
Added net_sock_conf super group and updated sock_util to the super
group.
2020-09-04 16:29:13 +05:30
Akshai M
b8d2d30a6d
net/sock/dtls : Expose to Kconfig
2020-09-04 16:28:29 +05:30
Akshai M
2cbf9de2eb
net/sock/dtls : Model 'DTLS_HANDSHAKE_BUFSIZE' with exponent
...
Introduced CONFIG_DTLS_HANDSHAKE_BUFSIZE_EXP to hold exponent and
update documentation
2020-09-04 16:28:29 +05:30
Jose Alamos
b7929bf6e6
net/ieee802154: add default CSMA-CA params
2020-09-03 18:22:08 +02:00
Jose Alamos
b582d5ee4e
ieee802154: add RSSI offset macro
2020-09-03 18:20:49 +02:00
benpicco
ffea8cdc14
Merge pull request #14938 from jia200x/pr/improve_radio_hal
...
net/ieee802154_hal: add const qualifiers and set pan_id with pointer
2020-09-03 18:17:27 +02:00
Jose Alamos
6cca6172ed
net/ieee802154_hal: set pan_id via pointer
2020-09-03 16:24:11 +02:00
Jose Alamos
857dbbe881
net/ieee802154_hal: add const qualifiers to read only args
2020-09-03 16:24:05 +02:00
892a681ea4
Merge pull request #14803 from fjmolinas/pr_openwsn_shell_commands
...
pkg/openwsn: add shell commands
2020-09-02 21:11:35 +02:00
Akshai M
58f6defb41
sys/net/cord : Update documentation
...
Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-09-02 23:36:59 +05:30
Akshai M
bb8d3cd72b
sys/net/cord : Expose to Kconfig
...
Expose configurations to Kconfig
Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-09-02 23:36:48 +05:30
Akshai M
536a99022c
sys/net/cord : Move 'CONFIG_CORD_EP' to 'CONFIG_'
2020-09-02 23:36:48 +05:30
Akshai M
e09063e7f1
sys/net/cord : Move 'CORD_UPDATE_INTERVAL' to 'CONFIG_'
2020-09-02 23:36:48 +05:30
Akshai M
de2d33f65b
sys/net/cord : Move 'CORD_LT' to 'CONFIG_'
2020-09-02 23:36:48 +05:30
b584a2dadf
Merge pull request #14930 from bergzand/pr/memarray/calloc
...
memarray: Add memarray_calloc
2020-09-02 19:48:54 +02:00
232237796a
memarray: Add memarray_calloc
...
The memarray_alloc can be error prone to use as the block returned can
contain data from previous uses. The memarray_calloc call added in this
commit always zeroes the block before returning it to the user.
2020-09-02 19:16:30 +02:00
Francisco Molina
badfa06694
pkg/openwsn: add shell commands
2020-09-02 17:19:00 +02:00
Martine Lenders
a72d0ef3e8
gnrc_netif: add packet to queue when device is busy
...
... and also send on send error (i.e. when *medium* was busy)
2020-09-02 12:30:23 +02:00
Martine Lenders
7c7f667108
gnrc_netif: add a send queue
2020-09-02 12:30:22 +02:00
Francisco
6f84870c26
Merge pull request #14634 from benpicco/eui_provider
...
net/link_layer: implement EUI provider
2020-09-01 16:26:08 +02:00
Cenk Gündoğan
538155c344
Merge pull request #14904 from leandrolanzieri/pr/kconfig/change_prefix_convention
...
treewide: modify Kconfig symbol prefixes
2020-09-01 15:57:06 +02:00
benpicco
61334d55d6
Merge pull request #14840 from benpicco/picolibc_unbuffered
...
picolibc: only enable stdout buffering for CDC ACM, ethos, semihosting & SLIP
2020-09-01 15:15:01 +02:00
c83b78a567
Merge pull request #14762 from maribu/move_byteorder
...
core/byteorder: Moved to sys
2020-09-01 15:02:11 +02:00
Martine S. Lenders
3b7bab1108
gnrc_ipv6_nib_nc: error on non-link-local address without ARSM
2020-09-01 11:12:55 +02:00
Martine S. Lenders
14efa3185b
gnrc_ipv6_nib: don't add dst from PL to NC without ARSM
2020-09-01 11:12:55 +02:00
Benjamin Valentin
c0397668ca
picolibc: fix build for fe310
...
We need to include `irq.h` for `irq_disable()`.
2020-08-31 12:56:56 +02:00
Leandro Lanzieri
2e79e00ca7
treewide: change Kconfig prefix for module symbols
...
This changes the prefix used for the symbols that reprensent modules
(not the ones generated from USEMODULE).
MOD_ => MODULE_
2020-08-31 09:57:28 +02:00
Leandro Lanzieri
d25fc243c4
treewide: change prefix for generated Kconfig symbols.
...
This changes the prefixes of the symbols generated from USEMODULE and
USEPKG variables. The changes are as follow:
KCONFIG_MODULE_ => KCONFIG_USEMODULE_
KCONFIG_PKG_ => KCONFIG_USEPKG_
MODULE_ => USEMODULE_
PKG_ => USEPKG_
2020-08-31 09:37:09 +02:00
Benjamin Valentin
bca68ff484
net/link_layer: implement EUI provider
...
This adds the possibility to define EUI sources and assign them to
a network device.
2020-08-30 23:43:57 +02:00
Martine Lenders
4ba5367755
Merge pull request #7664 from zhuoshuguo/lwmac_radio_reinit
...
LWMAC: add re-initialize radio support.
2020-08-26 18:58:56 +02:00
benpicco
9f2475dc14
Merge pull request #14832 from maribu/sys-cleanup
...
sys: Cleanup access to internal variables
2020-08-26 17:07:19 +02:00
Akshai M
32af195281
net/skald : Update documentation
...
Add documentation and checks for 'DOXYGEN' defines to better
render documentation.
2020-08-26 15:13:45 +05:30
Akshai M
112514a4e8
net/skald : Expose to Kconfig
...
Expose configurations to Kconfig
2020-08-26 15:13:08 +05:30
Akshai M
b210da4ef8
net/skald : Enable configuration of 'SKALD_ADV_CHAN'
...
Add macros to disable specific channels and move macros to
'CONFIG_' namespace
2020-08-26 15:13:08 +05:30
Akshai M
4219036727
net/skald : Move 'SKALD_INTERVAL' to 'CONFIG_'
2020-08-26 15:12:07 +05:30
benpicco
2eb6d752df
Merge pull request #14770 from benpicco/netif_addr_to_str
...
net/netif: move gnrc_netif_addr_to/from_str() to netif
2020-08-25 18:52:55 +02:00
Martine Lenders
ec3464aaeb
Merge pull request #14788 from leandrolanzieri/pr/fuzzing/select_gnrc_pktbuf_malloc
...
fuzzing: select gnrc_pktbuf_malloc implementation
2020-08-25 16:05:46 +02:00
5226789f70
Merge pull request #14842 from benpicco/picolibc_multiheap
...
picolibc: enable multiple heaps
2020-08-25 14:42:18 +02:00
Leandro Lanzieri
ff8079b109
fuzzing: select gnrc_pktbuf_malloc implementation
2020-08-25 09:24:50 +02:00
Benjamin Valentin
3f35564b36
picolibc: implement rmdir(), remove() & rewind()
...
Those are used by `tests/pkg_fatfs_vfs`.
2020-08-25 08:26:25 +02:00
Benjamin Valentin
eb00ca816f
picolibc: enable read/write etc. functions without VFS
...
The read()/write() functions still work without VFS when
reading/writing to stdin, stdout or stderr.
Provide dummy functions for the remaining fs functions so
linking does not fail with !VFS.
2020-08-25 08:26:25 +02:00
Benjamin Valentin
28d40eae6f
picolibc: enable multiple heaps
...
We can simply re-use the same code from newlib.
2020-08-24 20:45:05 +02:00
Marian Buschsieweke
3b6fa61829
sys: Cleanup access to internal variables
...
Replace direct accesses to sched_active_thread and sched_active_pid with
the helper functions thread_getpid() and thread_get_active(). This serves
two purposes:
1. It makes accidental writes to those variable from outside core less likely.
2. Casting off the volatile qualifier is now well contained to those two
functions
2020-08-24 20:28:11 +02:00
Martine Lenders
b9bce7030b
Merge pull request #14838 from haukepetersen/fix_rpl_dfltroutelifetime
...
net/gnrc/rpl: fix default route lifetime
2020-08-24 19:16:23 +02:00
Benjamin Valentin
ea27064d21
picolibc: make stdout buffering optional
2020-08-24 18:49:36 +02:00
Hauke Petersen
d8aa76501a
net/gnrc/rpl: fix default route lifetime
...
On receiving a DIO message, RPL sets the lifetime for the default
route and the parent timeout event to the value. This leads to short
amounts of time whem the node looses its default route, while it
handles the parent timeout event to probe its parent.
This commit fixes this by adding time the node needs for probing
to the default route lifetime.
2020-08-24 17:53:00 +02:00
Keith Packard
fda68c4149
picolibc: Add stdout buffering [v2]
...
Add buffering so that USB back-ends get some batching for stdout
Signed-off-by: Keith Packard <keithp@keithp.com>
----
v2:
Replace tabs with spaces.
2020-08-24 08:26:41 -07:00
Keith Packard
e215261ced
picolibc: Use most NEWLIB code with picolibc
...
In most places, picolibc and newlib are the same, so use
the existing newlib code when compiling with picolibc.
Signed-off-by: Keith Packard <keithp@keithp.com>
2020-08-24 08:26:16 -07:00
79d733a1af
picolibc: glue sbrk to heap start/end [v2]
...
---
v2:
Squash fixes in
2020-08-24 08:26:16 -07:00
26c1920cf1
posix/select: Add picolibc to cyclic dependency resolution
2020-08-24 08:26:16 -07:00
ff3bee24b9
picolibc: Provide integration into the build system [v3]
...
Support for picolibc as alternative libc implementation is added with
this commit. For now only cortex-m CPU's are supported.
Enable via PICOLIBC=1
---
v2:
squash fixes in
v3:
Remove picolibc integer printf/scanf stuff from sys/Makefile.include,
it gets set in makefiles/libc/picolibc.mk
fixup for dependency
2020-08-23 13:12:57 -07:00
b64f8a22a3
picolibc: Add default syscall implementations [v2]
...
picolibc: Use thread_getpid for getpid() in picolibc_syscalls_default
Instead of directly accessing the sched_active_pid variable (which
isn't defined in this context), use the existing wrapper function
to get that value.
Signed-off-by: Keith Packard <keithp@keithp.com>
---
v2:
Squash a couple of fixes in
* fixup! picolibc: Use thread_getpid for getpid() in
picolibc_syscalls_default
* squashme: Add `times` to picolibc syscalls
* Add __noreturn__ attribute to _exit
* Add VFS syscall wrappers. This provides the POSIX api used
by picolibc stdio
2020-08-23 12:43:51 -07:00
Martine Lenders
6e504bf326
Merge pull request #14825 from haukepetersen/fix_gnrcnib_typo
...
net/gnrc/nib_ft.c: fix minor typo in comment
2020-08-21 22:44:35 +02:00
Marian Buschsieweke
92ae260617
Merge pull request #14778 from benpicco/sys/luid_netdev
...
sys/luid: add luid_netdev_get_eui48() & luid_netdev_get_eui64()
2020-08-21 21:30:14 +02:00
Martine Lenders
fb63453a1d
Merge pull request #14498 from brummer-simon/evtimer-add_mbox_support
...
evtimer: add mbox support
2020-08-21 16:33:06 +02:00
Hauke Petersen
05347190b9
net/gnrc/nib_ft.c: fix minor typo in comment
2020-08-21 16:06:04 +02:00
Simon Brummer
5d67daebb2
evtimer: add mbox support
2020-08-21 15:19:22 +02:00
Martine Lenders
0b6394c55d
Merge pull request #14812 from miri64/gnrc_sixlowpan_frag_rb/fix/icnlowpan-sfr-fixes
...
gnrc_sixlowpan_frag_rb: Check possibly uninitialized pointers
2020-08-21 12:33:49 +02:00
benpicco
c7d9b4b4c4
Merge pull request #14793 from leandrolanzieri/pr/pkg/tinydtls/check_prng
...
pkg/tinydtls: enforce the selection of a crypto secure PRNG
2020-08-21 10:43:47 +02:00
Leandro Lanzieri
531367a9a2
pkg/tinydtls: enforce the selection of a crypto secure PRNG
...
Also add a sanity checks on the prng_ modules.
2020-08-21 08:39:34 +02:00
Martine Lenders
66de39a20a
gnrc_sixlowpan_frag_rb: Check possibly uninitialized pointers
2020-08-20 23:51:38 +02:00
f1d5e98c81
sys/ztimer: fix ztimer msec convert for 250kHz timers
2020-08-20 13:41:40 +02:00
Francisco
70fc19258f
Merge pull request #14783 from maribu/xtimer_on_ztimer_fix
...
sys/{ztimer, xtimer}: Fix issues with xtimer_on_ztimer
2020-08-19 13:28:10 +02:00
benpicco
7f359612e9
Merge pull request #14371 from jia200x/pr/radio_hal
...
ieee802154/radio_hal: introduce Radio HAL for IEEE802.15.4 compatible radios
2020-08-19 13:07:52 +02:00
Jose Alamos
b6e3afe3d6
ieee802154/radio: add radio HAL definition
2020-08-19 12:06:04 +02:00
Marian Buschsieweke
d382bd6565
sys/xtimer: No tick conversion if xtimer_on_ztimer
...
When `xtimer_on_ztimer` is used, `xtimer` does not need to perform any clock
conversion. Especially undefined macros of `XTIMER_HZ` and `XTIMER_SHIFT` should
no longer result in compilation issues, as they are not used internally anyway.
2020-08-19 09:48:23 +02:00
Marian Buschsieweke
527c429f5f
sys/ztimer: Fix compilation without ztimer_extend
...
`ztimer_init_extend()` should only be defined when module `ztimer_extend` is
used, as otherwise the `struct` member `clock->max_value` is not available.
2020-08-19 07:02:19 +02:00
Benjamin Valentin
3b7351753b
sys/luid: add luid_netdev_get_eui48() & luid_netdev_get_eui64()
...
Add functions to generate an EUI based on the netdev ID.
This will always return the same EUI for the same netdev, so it is
stable across netdev resets.
2020-08-18 11:45:45 +02:00
Benjamin Valentin
decadc41a0
drivers/dose: register driver with netdev
2020-08-17 22:53:51 +02:00
Benjamin Valentin
4f19b54b7b
drivers/at86rf215: register driver with netdev
2020-08-17 22:53:51 +02:00
Benjamin Valentin
53eedc283b
drivers/at86rf2xx: register driver with netdev
2020-08-17 22:53:51 +02:00
Benjamin Valentin
39951a948e
net/netif: move gnrc_netif_addr_to/from_str() to netif
...
These functions are independent from GNRC and can be used by stack-agnistoc
code.
Avoid pulling in a GNRC dependency by moving those two helper functions to
`netif`.
The old function names are kept as `static inline` wrapper functions to avoid
breaking API users.
2020-08-16 23:52:32 +02:00
zhuoshuguo
d3c87d7bb9
lwmac: add re-initialize radio support.
2020-08-15 22:12:36 +08:00
Marian Buschsieweke
164d2ac8f2
core/byteoder: Moved to sys
...
The byteorder utilities are never used in `core`, but extensively in `sys`.
They seem to be better located in `sys`.
2020-08-14 16:28:59 +02:00
Marian Buschsieweke
030e0af985
sys/unaligned: Add 64 bit version
...
Add helper function to access `uint64_t` values with possibly unaligned
pointers.
2020-08-14 12:21:24 +02:00
Leandro Lanzieri
e76387911c
sys/pm_layered: Add module to Kconfig
2020-08-12 12:22:41 +02:00
Leandro Lanzieri
4f2494fa1a
sys/stdio: add module to Kconfig
2020-08-12 12:22:41 +02:00
Leandro Lanzieri
67b2519a7d
sys: add newlib modules to Kconfig
2020-08-12 12:22:40 +02:00
Leandro Lanzieri
4ad2180f81
kconfig: Add default modules' symbols
2020-08-12 12:22:38 +02:00
Benjamin Valentin
d4aa8aad10
nanocoap: validate input with NDEBUG
...
A malformed or malicious CoAP request may contain invalid field lengths.
`nanocoap` protects with this by using `assert()`, which safely crashes
the application in debug mode.
In release mode the check is removed.
Instead of allowing arbitrary memory writes, return 0 on invalid inputs.
Discovered by [Coverity](https://scan3.coverity.com/reports.htm#v46910/p10250/fileInstanceId=38357789&defectInstanceId=9793779&mergedDefectId=297306 )
2020-08-11 15:54:23 +02:00
benpicco
1887e55962
Merge pull request #14743 from benpicco/gnrc_sixlowpan_iphc_coverty
...
gnrc_sixlowpan_iphc: fix issues found by Coverity scan
2020-08-11 14:38:57 +02:00
Benjamin Valentin
2ed7f66d33
gnrc_sixlowpan_iphc: fix last byte of iphc_hdr always being 0
...
Coverty scan found this:
> CID 298295 (#1 of 1): Operands don't affect result (CONSTANT_EXPRESSION_RESULT) result_independent_of_operands:
> (ipv6_hdr_get_fl(ipv6_hdr) & 255) >> 8 is 0 regardless of the values of its operands.
Looking at the code, this appears to be a copy & paste error from the previous line.
2020-08-11 14:09:28 +02:00
Benjamin Valentin
a9a0671232
gnrc_sixlowpan_iphc: fix Out-of-bounds read
...
Coverty scan found this:
> CID 298279 (#1 of 1): Out-of-bounds read (OVERRUN)
> 21. overrun-local: Overrunning array of 16 bytes at byte offset 64 by dereferencing pointer
The original intention was probably to advance the destination pointer by 4 bytes, not
4 * the destination type size.
2020-08-11 13:31:22 +02:00
Marian Buschsieweke
2fb7d84ae5
Merge pull request #14627 from fjmolinas/ps-robust-array-lookup
...
sys/ps: Improve robustness against string table errors.
2020-08-11 10:54:24 +02:00
benpicco
09085e7684
Merge pull request #14730 from maribu/sys-makefile-sort
...
sys: Sort Makefile
2020-08-07 18:13:18 +02:00
Marian Buschsieweke
c2b32430b1
sys: Sort Makefile
2020-08-07 16:42:39 +02:00
95ae77dd4b
Merge pull request #14695 from maribu/event_cleanup
2020-08-06 22:15:51 +02:00
Jannes
7f0a099256
net: Add the possibility to use custom ethertype
2020-08-06 13:04:58 +02:00
e4bb06227f
sys/newlib_syscalls_default: don't use static msp430 heap size
2020-08-05 14:32:58 +02:00
acd47f0c1f
gnrc_tcp: abs() -> labs() for int32_t
...
Fixes compilation on msp430 and probably avr.
2020-08-05 14:32:58 +02:00
e09383d343
sys/newlib_syscalls_default: mark _exit as used
2020-08-05 14:32:58 +02:00
23efdcc786
sys/newlib: explicitly define heap for msp430
2020-08-05 14:29:07 +02:00
83f13b8b22
sys/newlib: provide msp430 specific linker symbol names
2020-08-05 14:29:07 +02:00
30cf61dd35
cpu/msp430: remove obsolete msp430 specific headers
2020-08-05 14:29:07 +02:00
Marian Buschsieweke
a5c4692806
sys/event: Add multi-queue initializers
...
Add a set of helper functions to initialize / claim an array of queues and use
this in `tests/events`.
2020-08-05 11:59:40 +02:00
Marian Buschsieweke
2c03dfca13
sys/event: Made trivial functions static inline
...
When the expected ROM overhead of a function is bigger than the actual function,
it is better to provide the function as static inline function in the header.
2020-08-05 11:45:53 +02:00
Marian Buschsieweke
649486f5cd
sys/event: Remove incorrect comment
...
The value of `queue->waiter` at the time the event was queued (with IRQs
disabled) was backed up to the stack-variable `waiter`. Thus, the test later on
for `waiter` checks if the queue was already claimed at the time the event
was queued. Therefore, there is no race.
2020-08-05 11:44:25 +02:00
7b05b85135
Merge pull request #14682 from maribu/event_wait_prio
2020-08-05 11:38:55 +02:00
Marian Buschsieweke
8bda9fac1b
sys/event: Add support for multiple queues
...
Added `event_wait_multi()` that takes an array of event queues rather than
a single event queues. The queue with the lowest index will have the highest
priority.
2020-08-04 13:30:25 +02:00
Leandro Lanzieri
7f1f8ae576
Merge pull request #14652 from akshaim/Kconfig_netif
...
net/netif : Expose configurations to Kconfig
2020-08-03 20:03:33 +02:00
Martine Lenders
b043e1fa64
Merge pull request #14683 from miri64/gnrc_sixlowpan_frag_vrb/fix/cppcheck-warning
...
gnrc_sixlowpan_frag_vrb: fix cppcheck warning
2020-08-03 13:15:52 +02:00
Akshai M
e557fa8ef6
net/netif : Update documentation
2020-08-03 16:10:15 +05:30
Akshai M
1a844b3df6
net/netif : Expose configurations to Kconfig
...
Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-08-03 16:10:00 +05:30
Akshai M
b52e3e1587
net/netif : Move 'NETIF_NAMELENMAX' to 'CONFIG_'
2020-08-03 16:09:21 +05:30
Martine S. Lenders
5885293e9e
gnrc_sixlowpan_frag_vrb: fix cppcheck warning
...
... which wasn't a false positive after all.
2020-08-03 12:29:06 +02:00
Benjamin Valentin
6af92ee113
gnrc/nib: fix _idx_dsts() calculation
...
Using pointer difference already gives us the number of elements of
size of what the pointer is pointing to.
Dividing by size will lead to the wrong (always 0) result.
2020-08-03 11:35:54 +02:00
Francisco Molina
1a66ce3d23
sys/ps/ps: use same order as tcb for lookup table
2020-07-29 17:13:11 +02:00
Juan Carrano
d167cb3af8
sys/ps: Improve robustness against string table errors.
...
The mapping from thread state codes to a human readable string in the
PS modules has to be maintained manually. There is a very real possibility
for it to get out of sync with the actual defined states, which would cause
a crash when a lookup with an out of bounds index is performed. Also, because
of the way the array is defined, there could be gaps (which will be filled by
nulls).
This patch replaces the array looukup by a function that checks bounds and
also triggers an assertion so that the issue can be caught during development.
2020-07-29 17:12:40 +02:00
Leandro Lanzieri
224e2c977d
Merge pull request #14509 from jia200x/pr/lora_implicit_mode
...
sx127x: add support for implicit header mode
2020-07-29 12:52:00 +02:00
Jose Alamos
f3bdf7232d
netopt: add NETOPT_PDU_SIZE
2020-07-29 11:57:52 +02:00
Martine Lenders
05b13f5029
Merge pull request #14488 from PeterKietzmann/pr_add_sha256prng
...
sys/random: add SHA256 mode to SHA1PRNG & tests
2020-07-29 11:20:55 +02:00
benpicco
2d4d29367e
Merge pull request #14642 from maribu/fix-byteorder-big-endian
...
core/byteorder: Fix be byte buffer conversion on big endian systems
2020-07-29 01:25:03 +02:00
Marian Buschsieweke
4f391007f0
sys/unaligned: Add 32 bit version
2020-07-28 22:34:25 +02:00
Martine Lenders
91c23511d1
Merge pull request #14639 from kaspar030/sys_benchmark_extended_xtimer_workaround
...
sys/benchmark: don't disable interrupts
2020-07-28 22:12:28 +02:00
Martine Lenders
6e8006240b
Merge pull request #14628 from cgundogan/pr/sys/shell/ping_alias
...
sys: shell: deduplicate help text for ping command
2020-07-28 19:48:32 +02:00
Martine Lenders
0e3aa2fff5
Merge pull request #14632 from benpicco/netif_single
...
gnrc_netif: replace GNRC_NETIF_SINGLE with gnrc_netif_single pseudo-module
2020-07-28 17:56:51 +02:00
f60980b163
sys/benchmark: don't disable interrupts
...
the function uses xtimer, which breaks with disabled interrupts.
2020-07-28 16:03:00 +02:00
Leandro Lanzieri
cfdf30409a
Merge pull request #14599 from akshaim/Kconfig_dhcpv6
...
net/dhcpv6 : Expose configurations to Kconfig
2020-07-28 15:46:17 +02:00
Benjamin Valentin
0c06694f72
gnrc_netif: replace GNRC_NETIF_SINGLE with gnrc_netif_single pseudo-module
2020-07-28 13:59:20 +02:00
benpicco
403b6b15c6
Merge pull request #14481 from maribu/cpp-fix-linking
...
Makefile.{base,include}: Fix linking for C++ code in external modules
2020-07-28 12:42:14 +02:00
Akshai M
a9e0a110d7
net/dhcpv6 : Remove unused macro
...
Remove unused macro 'DHCPV6_CLIENT_SERVER_MAX'
2020-07-28 15:02:48 +05:30
Cenk Gündoğan
891b8e37d7
sys: shell: deduplicate help text for ping command
2020-07-28 10:49:17 +02:00
Akshai M
6be6300075
net/dhcpv6 : Update documentation
...
Add configuration 'CONFIG_DHCPV6_CLIENT_PFX_LEASE_MAX' to
configuration group
2020-07-24 00:23:08 +05:30
Akshai M
0413a5881f
net/dhcpv6 : Expose to Kconfig
...
Expose configurations to Kconfig. Add conditional CFLAGS to avoid
conflicts with Kconfig.
2020-07-24 00:23:08 +05:30
Marian Buschsieweke
6520db8ed9
sys/cxx_ctor_guards: Add guard for c++ ctors
...
For thread-safe calling of C++ constructs of statically allocated class
instances some platform support code is needed. This commit ads one
implementation compatible with g++.
2020-07-23 20:24:47 +02:00
Marian Buschsieweke
033807008a
sys/arduino: Require feature cpp
...
Arduino code requires C++ support
2020-07-23 20:18:34 +02:00