Francisco
7d2eb7efad
Merge pull request #16229 from yarrick/dhcp_start
...
pkg/lwip: Start DHCP early for all Ethernet interfaces
2021-03-30 15:54:11 +02:00
Francisco
3e32d55c33
Merge pull request #15922 from haukepetersen/opt_nimble_statconn_randconnitvl
...
pkg/nimble/statconn: allow random connection interval
2021-03-30 10:59:47 +02:00
Francisco
7b65dda691
Merge pull request #16190 from aabadie/pr/pkg/make_silent_ci_build
...
pkg: silent make commands with RIOT_CI_BUILD=1
2021-03-30 10:28:12 +02:00
Erik Ekman
6b89f4f34b
pkg/lwip: Start DHCP early for all Ethernet netifs
...
Netifs without link status support will keep sending discover
messages with increasing time between.
Netifs that support link status will wait for the link to be up,
and then start sending.
Netifs that support link status but send no link status events
will continue to not work (unless link status is up from the
first check when setting it up).
2021-03-25 16:01:27 +01:00
benpicco
9cad382dc8
Merge pull request #16153 from yarrick/netif_add
...
pkg/lwip: Add netifs with netif_add_noaddr
2021-03-25 13:36:17 +01:00
benpicco
b0364941b5
Merge pull request #16082 from yarrick/link_state
...
pkg/lwip: Set netif link state properly when supported
2021-03-25 13:36:07 +01:00
José Alamos
21390849bf
Merge pull request #16188 from aabadie/semtech-loramac_netdev
...
pkg/semtech-loramac: refactor to use netdev API only
2021-03-18 13:11:32 +01:00
benpicco
3fabafa0d9
Merge pull request #16152 from yarrick/foreach_netif
...
pkg/lwip: Use NETIF_FOREACH macro in sock implementation
2021-03-18 11:49:19 +01:00
Karl Fessel
6588db6580
pkg/qcbor,wakaama,wolfssl: remove maybe-uninitialized warning
...
some variable seem uninitialized to gcc with -Og but aren't
https://gcc.gnu.org/bugzilla/buglist.cgi?quicksearch=may%20be%20used%20uninitialized
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42145
especialy:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90710#c1
2021-03-16 12:14:43 +01:00
90b74104f2
pkg/semtech-loramac: use common time on air computation helper
2021-03-15 09:48:42 +01:00
9bd22dba79
pkg: silent make commands with RIOT_CI_BUILD=1
2021-03-12 16:05:18 +01:00
f337a9025a
pkg/semtech-loramac: only handle CAD/FHSS events with sx127x
2021-03-12 14:40:12 +01:00
5aff617512
pkg/semtech-loramac: rework to only use netdev interface
2021-03-12 14:40:12 +01:00
25a613ba93
pkg/semtech-loramac: use netdev interface to set sleep state
2021-03-12 11:38:14 +01:00
Leandro Lanzieri
e47727fb16
treewide: remove unneeded ieee802154_radio_hal pseudomodule
2021-03-10 14:18:13 +01:00
Leandro Lanzieri
fe5c982fa6
drivers/Makefile.dep: don't pull netdev on netdev_default
...
netdev_default should enable the network devices, which do not
necessarily use netdev.
2021-03-10 14:18:12 +01:00
Marian Buschsieweke
11ea9ee772
pkg/qDSA: fix backend selection log
...
qDSA as optimized implementations for AVR. The logic to select the optimized
backend predates the architecture features and uses some hand crafted logic.
This updates the logic to select the backend based on the boards architecture
using the feature system instead.
2021-03-08 15:45:50 +01:00
Erik Ekman
d3ba3117f2
pkg/lwip: Use NETIF_FOREACH macro in sock implementation
...
Decreases dependency on lwIP internals, and will handle LWIP_SINGLE_NETIF.
2021-03-06 11:27:14 +01:00
Erik Ekman
9b03b79a85
pkg/lwip: Add netifs with netif_add_noaddr
...
Makes 6lowpan netifs work even if dual stack is enabled,
and one less static method needed.
2021-03-05 00:17:17 +01:00
70055a5a19
pkg/lvgl: disable a warning on mips
2021-03-03 18:00:50 +01:00
4e09a54521
pkg/lvgl: add auto_init_screen by default + setup auto_init
2021-03-03 18:00:49 +01:00
40b5359096
pkg/lvgl: split task handler thread start from init
2021-03-02 17:35:32 +01:00
Erik Ekman
60d5d1aa74
pkg/lwip: Set link state properly when supported
...
Set link state correctly in lwIP for interfaces that support
the NETOPT_LINK option. Interfaces that do not support it
(like tap for native arch) remain up all the time.
Netdevs that support NETOPT_LINK but do not send NETDEV_EVENT_LINK_UP/DOWN
events will end up with a mismatched link state - but DHCP would
already not start for them either.
Use netifapi to signal lwIP to do the work in its own thread.
2021-03-01 23:55:08 +01:00
benpicco
3d85a2249e
Merge pull request #15666 from benpicco/pkg/openthread-20191113
...
pkg/openthread: bump version to 20191113
2021-03-01 11:35:50 +01:00
Benjamin Valentin
a57e58d6ef
lwip: hook up sam0_eth support
2021-02-26 12:54:40 +01:00
Hauke Petersen
ef4cecae25
pkg/nimble/netif: add function to get used channels
2021-02-26 10:21:21 +01:00
Martine Lenders
afb027852d
Merge pull request #15992 from yarrick/more_lwip
...
Add lwIP ifconfig shell command
2021-02-23 16:59:41 +01:00
4b807c1f73
Merge pull request #16031 from benpicco/pkg/nanocbor-bump
...
pkg/nanocbor: bump version
2021-02-23 15:50:28 +01:00
7ead5b28f9
Merge pull request #15916 from benpicco/pkg/nanopb-0.4.4
...
pkg/nanopb: bump version to 0.4.4
2021-02-23 12:04:09 +01:00
Erik Ekman
ccd4c71110
pkg/lwip: Add patch for lowpan6 printf formatters
2021-02-23 11:48:13 +01:00
Erik Ekman
eab317749f
sys/shell: Add lwIP ifconfig shell command
...
Lists state, link type, v4/v6 addresses.
Currently read-only.
Using lwIP debug system to print addresses, to limit dependencies
and work with dual stack setup. Most other code seems to only
allow either v4 or v6 networking. For that to compile I
had to change the `SZT_F` format string due to this error:
```
error: format '%lu' expects argument of type 'long unsigned int',
but argument 2 has type 'size_t {aka unsigned int}'
```
Switching to the lwIP default format string here.
Outputs the following on my ESP32 board with Ethernet,
when both v4 and v6 are enabled in examples/paho-mqtt:
```
> ifconfig
Iface ET0 HWaddr: 24:0a:c4:e6:0e:9f Link: up State: up
Link type: wired
inet addr: 10.4.4.81 mask: 255.255.254.0 gw: 10.4.4.1
inet6 addr: fe80:0:0:0:260a:c4ff:fee6:e9f scope: link
inet6 addr: 2001:db8:1000:0:260a:c4ff:fee6:e9f scope: global
Iface ET1 HWaddr: 24:0a:c4:e6:0e:9c Link: up State: up
Link type: wireless
inet addr: 10.4.4.82 mask: 255.255.254.0 gw: 10.4.4.1
inet6 addr: fe80:0:0:0:260a:c4ff:fee6:e9c scope: link
inet6 addr: 2001:db8:1000:0:260a:c4ff:fee6:e9c scope: global
>
```
2021-02-23 11:47:45 +01:00
Erik Ekman
9da7ea2dec
pkg/lwip: Name sixlowpan netifs
2021-02-23 11:47:33 +01:00
Benjamin Valentin
07acd9c101
pkg/nanocbor: bump version
...
The package got relicensed to CC-0.
2021-02-23 11:24:52 +01:00
Benjamin Valentin
56bb4529be
pkg/emlearn: bump version to 0.11.6
2021-02-22 17:23:36 +01:00
Leandro Lanzieri
9fb93af034
Merge pull request #15985 from MrKevinWeiss/pr/umorse/kconfig
...
pkg/umorse: Add Kconfig support
2021-02-22 09:37:12 +01:00
Martine Lenders
de4ee0f934
Merge pull request #15562 from benpicco/socket_zep_register
...
socket_zep: register with netdev, provide EUI-64 as command line parameter
2021-02-20 20:32:01 +01:00
MrKevinWeiss
b53fbf081d
pkg/umorse: Add Kconfig support
2021-02-19 15:32:20 +01:00
Marian Buschsieweke
645fee91ac
pkg/wakaama: fix compilation with 6lowpan-clicker
...
Drop included of unused header file that caused conflict with the new toolchain
2021-02-17 22:09:06 +01:00
2dd49a0737
Merge pull request #15966 from aabadie/pr/make/gcc_10_riscv_failures
...
make: silence a couple of warnings raised with gcc 10 on riscv
2021-02-16 12:05:42 +01:00
Benjamin Valentin
95f814b5da
CODING_CONVENTIONS.md: default to C11
...
The standard is 9 years old now, it is well supported in all mayor compilers.
In fact, features of the 'new' standard are already used in RIOT (std_atomic).
Let's make it the default and adapt the Makefiles accordingly.
2021-02-14 14:28:13 +01:00
Erik Ekman
a29c835b2e
lwip/esp: Support adding both netifs (eth/wifi)
2021-02-13 15:42:33 +01:00
a51df1fd30
pkg/cn-cbor: ignore return local address warning
...
This warning is triggered with gcc 10 on riscv and make the build to fail
2021-02-10 09:17:34 +01:00
Martine Lenders
4e9980c804
Merge pull request #15838 from fjmolinas/pr_openwsn_sock_udp_fix
...
pkg/openwsn/sock: fix sock_udp_close handling
2021-02-10 08:28:43 +01:00
Francisco Molina
3d6d8b1872
pkg/openwsn/sock: drop messages in mbox on close
2021-02-09 21:28:22 +01:00
benpicco
6929577c76
Merge pull request #15845 from benpicco/boards/adafruit-itsybitsy-m4
...
boards: add adafruit-itsybitsy-m4
2021-02-09 19:41:43 +01:00
Francisco Molina
ca2e59d6a2
pkg/openwsn/sock: add mutex around linked list access
...
Fix possible race conditions when sock is closed while iterating
through the linked list.
2021-02-09 17:04:25 +01:00
Benjamin Valentin
735d22ea1b
pkg/wolfssl: add SAMD51 to name collision hack
...
Fix this properly in the future by not pulling in all vendor files
through cpu_conf.h which gets included by several core headers.
2021-02-09 16:15:34 +01:00
Marian Buschsieweke
83fbde1e91
Merge pull request #15934 from leandrolanzieri/pr/pkg/wakaama_patch_native_exception
...
pkg/wakaama: add patch to cast macro to time_t
2021-02-06 13:12:37 +01:00
Leandro Lanzieri
0492cc5177
pkg/wakaama: cast macro to time_t
...
Currently on some toolchains the wakaama package is raising a floating
point exception on native. This seems to be fixing the issue.
2021-02-05 16:20:08 +01:00
Hauke Petersen
faf7a7dabc
pkg/nimble/statconn: allow random conn interval
2021-02-04 09:55:23 +01:00
Hauke Petersen
ee9a573455
pkg/nimble/autoconn: add missing 'random' dep
2021-02-04 09:30:42 +01:00
Hauke Petersen
101bc6184c
pkg/nimble/netif: improve _send() error return val
2021-02-03 12:30:58 +01:00
Benjamin Valentin
439947a845
pkg/nanopb: bump version to 0.4.4
2021-02-02 19:22:16 +01:00
Benjamin Valentin
f3780bb00c
pkg/fatfs: bump version to r0.14a
...
R0.14a (December 05, 2020)
Limited number of recursive calls in f_findnext().
Fixed old floppy disks formatted with MS-DOS 2.x and 3.x cannot be mounted.
Fixed some compiler warnings.
- http://elm-chan.org/fsw/ff/updates.txt
2021-01-31 20:03:13 +01:00
Dylan Laduranty
1f085cfd03
Merge pull request #15843 from benpicco/mtd_write_page_hl
...
mtd: rename mtd_write_page() -> mtd_write_page_raw(), add high-level mtd_write_page()
2021-01-28 18:43:42 +01:00
df12cbbe5a
pkg/libfixmath: bump version to latest master
2021-01-27 14:19:52 +01:00
Akshai M
c7691035a6
pkg/semtech-loramac : Translate the configs
...
Translate Kconfigs and CFLAGS
2021-01-26 16:56:05 +01:00
Akshai M
42eb6c4097
net/lorawan : Update documentation
...
Marked as non-supported:
LORAMAC_DEFAULT_ADR_ACK_LIMIT
LORAMAC_DEFAULT_ADR_ACK_DELAY
LORAMAC_DEFAULT_ADR_TIMEOUT
2021-01-26 16:56:05 +01:00
Akshai M
9600ebf536
net/lorawan : Expose to Kconfig
2021-01-26 16:56:02 +01:00
Akshai M
a2f505f116
net/lorawan : Move 'LORAMAC_DEFAULT_MIN_RX_SYMBOLS' to 'CONFIG_'
2021-01-26 16:52:59 +01:00
Akshai M
216956d7b0
net/lorawan : Move 'LORAMAC_DEFAULT_SYSTEM_MAX_RX_ERROR' to 'CONFIG_'
2021-01-26 16:52:59 +01:00
Akshai M
97d873a5bd
net/lorawan : Move 'LORAMAC_DEFAULT_ADR' to 'CONFIG_'
...
Move 'LORAMAC_DEFAULT_ADR' to 'CONFIG_' namespace and model
'CONFIG_LORAMAC_DEFAULT_ADR' as BOOL for Kconfig
2021-01-26 16:52:58 +01:00
Akshai M
d2d90fbce5
net/lorawan : Move 'LORAMAC_DEFAULT_TX_MODE' to 'CONFIG_'
...
Move 'LORAMAC_DEFAULT_TX_MODE' to 'CONFIG_' and added symbols
for Kconfig exposure
2021-01-26 16:52:58 +01:00
Akshai M
aa3b1da0c4
net/lorawan : Move 'LORAMAC_DEFAULT_TX_PORT' to 'CONFIG_'
2021-01-26 16:52:58 +01:00
Akshai M
55f196095d
net/lorawan : Move 'LORAMAC_DEFAULT_DR' to 'CONFIG_'
...
Move 'LORAMAC_DEFAULT_DR' to 'CONFIG_' and enable options for
Kconfig
2021-01-26 16:52:58 +01:00
Akshai M
1befae9022
net/lorawan : Invert 'LORAMAC_DEFAULT_PUBLIC_NETWORK'
...
Introduced a bool 'LORAMAC_DEFAULT_PRIVATE_NETWORK' to invert
the semantics of 'LORAMAC_DEFAULT_PUBLIC_NETWORK'. Move
'LORAMAC_DEFAULT_PRIVATE_NETWORK' to 'CONFIG_' namespace.
2021-01-26 16:52:58 +01:00
Akshai M
3c5c429541
net/lorawan : Move 'LORAMAC_DEFAULT_NETID' to 'CONFIG_'
2021-01-26 16:52:58 +01:00
Akshai M
e46c4401a9
net/lorawan : Move 'LORAMAC_DEFAULT_DEVICE_CLASS' to 'CONFIG_'
...
Move 'LORAMAC_DEFAULT_DEVICE_CLASS' to 'CONFIG_' and added
additional symbols for Kconfig exposure.
2021-01-26 16:52:57 +01:00
Benjamin Valentin
60eb75da3c
mtd: rename mtd_write_page() -> mtd_write_page_raw()
...
The function will not abstract away the behavior of the underlying media
(e.g. whether only 1 -> 0 writes are possible without erase), thus rename it.
2021-01-26 11:48:26 +01:00
Benjamin Valentin
d8918c24fa
socket_zep: register with netdev
2021-01-25 22:59:01 +01:00
Martine Lenders
879fbc179e
Merge pull request #15755 from janosbrodbeck/pr/dtls/get_event_session
...
sock/async: add function to retrieve session object of current DTLS event
2021-01-22 10:51:51 +01:00
János Brodbeck
04d95d1c5e
pkg/tinydtls: implement sock_dtls_get_event_session
2021-01-21 19:03:40 +01:00
benpicco
ac4bd3abf8
Merge pull request #15819 from bergzand/pr/littlefs2/bump_2.4
...
littlefs2: Bump to v2.4
2021-01-20 18:41:26 +01:00
fd4f3f829d
littlefs2: Bump to v2.4
2021-01-20 15:03:15 +01:00
Benjamin Valentin
da7cbf3e4c
pkg/openthread: bump version to 20191113
2021-01-19 00:05:43 +01:00
6143fdc912
pkg/monocypher: bump to version 3.1.2
2021-01-18 15:06:11 +01:00
José Alamos
2bf10413d0
Merge pull request #15397 from fjmolinas/pr_ieee802154_crc_error
...
sys/net/iee802154/radio: add IEEE802154_RADIO_INDICATION_CRC_ERROR
2021-01-14 10:29:17 +01:00
Francisco Molina
83fbe6d100
pkg/openwsn: use IEEE802154_RADIO_INDICATION_CRC_ERROR
2021-01-13 23:42:43 +01:00
Francisco Molina
49c90cd517
pkg/openwsn/contrib/radio_hal: fix rssi conversion
2021-01-13 19:45:13 +01:00
a0d4f599d8
pkg/wakaama: use ARRAY_SIZE macro
2021-01-08 14:37:33 +01:00
f4523140f1
pkg/lwip: fix typo (semaphor => semaphore)
2021-01-08 10:15:33 +01:00
János Brodbeck
34a15b6540
pkg/tinydtls: implement sock_dtls_session_set_udp_ep
2021-01-04 20:22:57 +01:00
János Brodbeck
4be161c3e7
pkg/tinydtls: implement sock_dtls_session_get_udp_ep
2020-12-21 18:24:22 +01:00
Martine Lenders
eb6056d469
pkg/tweetnacl: remove trailing whitespaces from doc.txt
2020-12-19 10:00:20 +01:00
Martine Lenders
0770293552
pkg/relic: remove trailing whitespaces from doc.txt
2020-12-19 10:00:08 +01:00
Martine Lenders
15a3365b16
pkg/minmea: remove trailing whitespaces from doc.txt
2020-12-19 09:59:46 +01:00
Martine Lenders
ce9050f2a6
pkg/micro-ecc: remove trailing whitespaces from doc.txt
2020-12-19 09:59:32 +01:00
Martine Lenders
b6a5c533d9
pkg/heatshrink: remove trailing whitespaces from doc.txt
2020-12-19 09:59:06 +01:00
János Brodbeck
387acdfdb5
pkg/tinydtls: remove sock_udp_ep_t from sock_dtls_session_t
2020-12-18 16:41:58 +01:00
Martine Lenders
6dfc33edcc
pkg/openwsn/sock: fix doxygen group doc
2020-12-11 11:27:34 +01:00
Martine Lenders
b6bf67114b
Merge pull request #15536 from fjmolinas/pr_openwsn_sock_selfhosted
...
pkg/openwsn: add sock_udp
2020-12-11 11:22:50 +01:00
Francisco Molina
e64c91190a
pkg/openwsn: add OPENWSN_NETIF_ID
2020-12-11 09:07:55 +01:00
Francisco Molina
223c952586
pkg/openwsn/Makefile.dep: allow to mock the scheduler
2020-12-11 09:07:53 +01:00
Francisco Molina
5c26f53828
pkg/openwsn: add openwsn_sock_udp module
...
Co-authored-by: Timothy Claeys <timothy.claeys@inria.fr>
2020-12-11 09:07:48 +01:00
0a96c71053
littlefs2: Bump to v2.3
2020-12-08 16:32:08 +01:00
Marian Buschsieweke
f222a3f2e9
pkg/tinydtls: Implement sock_aux_local
2020-12-04 16:00:32 +01:00
Marian Buschsieweke
77b39c5550
pkg/lwip: Implement sock_aux_local
...
Provide address the IP packet / UDP datagram was received on in the auxiliary
data, if module sock_aux_local is used.
2020-12-04 12:51:48 +01:00
Marian Buschsieweke
9d46bc7d7f
Merge pull request #14703 from maribu/sock-aux-api
...
net/sock: Add access to auxiliary data (API only)
2020-12-03 12:08:49 +01:00
Marian Buschsieweke
152ffe6db9
net/sock_dtls: Extend API for auxiliary data
2020-12-02 17:56:14 +01:00
Marian Buschsieweke
893bfd13d0
net/sock_udp: Extend API for auxiliary data
2020-12-02 17:56:13 +01:00