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

1132 Commits

Author SHA1 Message Date
Martine Lenders
5ab1633c04
Merge pull request #14149 from miri64/sock_dtls/enh/udp_sock_getter
sock_dtls: provide getter function for UDP sock
2020-05-26 22:30:43 +02:00
Martine Lenders
a38428b8f2
Merge pull request #13701 from miri64/lwip_sock/enh/recv_buf
lwip_sock: provide implementation for `sock_*_recv_buf()`
2020-05-26 21:33:09 +02:00
Martine S. Lenders
ccdcc3679c
tinydtls: provide implementation for sock_dtls_get_udp_sock 2020-05-26 20:37:42 +02:00
eee5bf178d
Merge pull request #13993 from benpicco/examples/filesystem-fatfs
examples/filesystem: add support for fatfs on SD card
2020-05-26 19:20:47 +02:00
MichelRottleuthner
b13a4d6c9c
Merge pull request #14060 from miri64/lwip_sock/fix/re-recv-signal
lwip_sock: re-issue receive events if there are still received messages after `*_recv()` or `*_accept()` was called.
2020-05-22 15:59:25 +02:00
Martine Lenders
e011e3ed38
Merge pull request #14043 from pokgak/pr/sock_dtls/send_api_change
sock_dtls: add timeout to sock_dtls_send and add sock_dtls_session_init
2020-05-22 14:33:54 +02:00
Aiman Ismail
3ad2724f44 sock_dtls: fix vera++ warnings on line length 2020-05-22 14:06:38 +02:00
Aiman Ismail
b5b7955743 sock_dtls: add sock_dtls_session_init()
deprecates sock_dtls_session_create()
2020-05-22 14:06:12 +02:00
Benjamin Valentin
3b2cfa6478 drivers/sdcard_spi: add auto_init_storage to DEFAULT_MODULE
sdcard_spi is the only driver in auto_init_storage and was previously
pulled in by fatsfs (because it's used on SD cards)

It does however make much more sense if the SD card driver pulls that in
so other file systems can be used on SD card too.
2020-05-20 11:57:05 +02:00
Leandro Lanzieri
16113afb1e
Merge pull request #14026 from miri64/gnrc_netif/fix/deps
gnrc_netif: use gnrc_netif-submodules to pull in upper-layer struct members
2020-05-19 16:36:18 +02:00
Martine S. Lenders
9801a439fc
gnrc_netif: introduce gnrc_netif_6lo pseudo-module for 6LoWPAN members
This aims to reduce circular dependencies in GNRC.
2020-05-19 16:10:59 +02:00
Aiman Ismail
7f883f4098 sock_dtls: add timeout to sock_dtls_send() 2020-05-18 09:45:14 +02:00
Semjon Kerner
686e90323a pkg/softdevice/doc.txt: add deprecation warning 2020-05-15 22:43:21 +02:00
c2896cc798
Merge pull request #13962 from haukepetersen/fix_nimble_netifmcastlock
nimble/netif: fix deadlock when sending multicast under load
2020-05-14 21:19:28 +02:00
Martine S. Lenders
ef1d458089
lwip_sock: re-issue receive events if there are still received messages
... after `*_recv()` or `*_accept()` was called.

This prevents a client from needing to call `*_recv()` or `*_accept()`
in a loop.
2020-05-12 14:19:34 +02:00
adb46b9ee7
Merge pull request #14006 from benpicco/sdcard_fixes
pkg/fs: initialize MTD device before accessing it's properties
2020-05-12 11:31:39 +02:00
benpicco
7037c95b44
Merge pull request #13412 from jue89/feature/cryptoauthlib-gpio-wake
pkg/cryptoauthlib: wake pulse implementation for CPUs supporting periph_i2c_reconfigure
2020-05-07 16:34:44 +02:00
fabian18
a3a1c160ee mtd: Change API to return 0 on success
Returning the number of bytes written/read could return a negative integer
because a uint32_t is expected for the length in read()/write() operations.
2020-05-06 20:24:27 +02:00
Juergen Fitschen
0680eae86b pkg/cryptoauthlib: wake pulse implementation for SAM0 CPUs 2020-05-06 12:03:26 +02:00
Martine S. Lenders
1c251beb03
gnrc_nettype: indirect NETTYPE definition via pseudo-modules
Instead of making a NETTYPE definition dependent on an implementation
module, this change makes it dependent on a pseudo-module for each
specific NETTYPE and makes the respective implementation modules
dependent on it.

This has two advantages:

- one does not need include the whole implementation module to
  subscribe to a NETTYPE for testing or to provide an alternative
  implementation
- A lot of circular dependencies related to GNRC could be untangled.
  E.g. the only reason `gnrc_icmpv6` needs the `gnrc_ipv6` is because it
  uses `GNRC_NETTYPE_IPV6` to search for the IPv6 header in an ICMPv6
  when demultiplexing an ICMPv6 header.

This change does not resolve these dependencies or include usages where
needed. The only dependency change is the addition of the
pseudo-modules to the implementation modules.
2020-05-05 19:16:06 +02:00
Benjamin Valentin
348b45f600 pkg/spiffs: init MTD device before accessing it's parameters
The parameters of the MTD device (`sector_count`, `page_size`)
are only known after the device has been initialized.

Init the device before using it to avoid reading all 0 on e.g. SD cards.
2020-05-05 13:48:18 +02:00
Benjamin Valentin
891a05dca6 pkg/littlefs2: init MTD device before accessing it's parameters
The parameters of the MTD device (`sector_count`, `page_size`)
are only known after the device has been initialized.

Init the device before using it to avoid reading all 0 on e.g. SD cards.
2020-05-05 13:48:18 +02:00
Benjamin Valentin
85a7254326 pkg/littlefs: init MTD device before accessing it's parameters
The parameters of the MTD device (`sector_count`, `page_size`)
are only known after the device has been initialized.

Init the device before using it to avoid reading all 0 on e.g. SD cards.
2020-05-05 13:48:18 +02:00
Martine S. Lenders
77b89bb968
lwip_sock: provide implementation for sock_*_recv_buf() 2020-04-28 09:46:07 +02:00
Hauke Petersen
a063512bb4 pkt/nimble/netif: do not block sending mcast 2020-04-27 15:16:27 +02:00
Hauke Petersen
d335c75855 pkt/nimble/netif_conn: add non-blocking iter func 2020-04-27 15:15:50 +02:00
ca4c9c38f5
pkg/semtech-loramac: fix rx thread documentation 2020-04-22 10:16:34 +02:00
84594e94cb pkg/ndn-riot: update patch to do implizit xtimer_t zeroing 2020-04-21 11:26:57 +02:00
2f9b77920d pkg/semtech-loramac: TimerInit(): use static struct initializer
Previously, TimerInit() explicitly set some values of the xtimer truct
to "0". This commit changes it to use a static struct initializer
`(xtimer_t){0}`. The advantage is that now this is independent of the
actual xtimer structure.

Now this also resets the remaining xtimer fields, but they're properly
re-populated elsewhere (by using xtimer_set_msg()).
2020-04-21 11:26:57 +02:00
Francisco Molina
2331448644
Makefile: remove usage of SUBMODULES_NOFORCE
With #10970 only existing *.c files will be added to SRC when using
the SUBMODULES mechanism, so SUBMODULES_NOFORCE (used to filter out
non existing source files) is now redundant so remove the usage.
2020-04-15 12:11:44 +02:00
3625fa9b95
littlefs2: bump to version 2.2.1 2020-04-09 15:39:14 +02:00
a5cf43da09
Merge pull request #13800 from benpicco/pkg/littlefs2-2.2
pkg/littlefs2: bump version to 2.2
2020-04-08 10:53:33 +02:00
Leandro Lanzieri
1f24698a2a
Merge pull request #13792 from benpicco/pkg/nanopb-fixes
pkg/nanopb: fix for proto files with includes
2020-04-08 10:37:20 +02:00
Benjamin Valentin
7227b00b97 pkg/nanopb: extend the documentation 2020-04-08 10:18:56 +02:00
Leandro Lanzieri
e5729ae527
Kconfig: Expose pkg/wakaama configurations 2020-04-07 16:29:00 +02:00
Leandro Lanzieri
a3f9b2b5b4
pkg/wakaama: Move LWM2M_TLSF_BUFFER to 'CONFIG_' namespace 2020-04-07 16:29:00 +02:00
Leandro Lanzieri
d6b4cde03e
pkg/wakaama: Move client mode flag to package
As the only implementation available in RIOT of LwM2M is the client, it
makes no sense to set this flag in every application.
2020-04-07 16:28:59 +02:00
Leandro Lanzieri
c392a4ad34
pkg/wakaama: Move configurations to 'CONFIG_' namespace
Macros that changed:
LWM2M_STANDARD_PORT -> CONFIG_LWM2M_STANDARD_PORT
LWM2M_DTLS_PORT -> CONFIG_LWM2M_DTLS_PORT
LWM2M_BSSERVER_PORT -> CONFIG_LWM2M_BSSERVER_PORT
LWM2M_LOCAL_PORT -> CONFIG_LWM2M_LOCAL_PORT
LWM2M_DEVICE_NAME -> CONFIG_LWM2M_DEVICE_NAME
LWM2M_DEVICE_TTL -> CONFIG_LWM2M_DEVICE_TTL
LWM2M_SERVER_URI -> CONFIG_LWM2M_SERVER_URI
LWM2M_SERVER_ID -> CONFIG_LWM2M_SERVER_ID
LWM2M_ALT_PATH -> CONFIG_LWM2M_ALT_PATH
LWM2M_BOOTSTRAP -> CONFIG_LWM2M_BOOTSTRAP
LWM2M_DEVICE_MANUFACTURER -> CONFIG_LWM2M_DEVICE_MANUFACTURER
LWM2M_DEVICE_MODEL -> CONFIG_LWM2M_DEVICE_MODEL
LWM2M_DEVICE_SERIAL -> CONFIG_LWM2M_DEVICE_SERIAL
LWM2M_DEVICE_FW_VERSION -> CONFIG_LWM2M_DEVICE_FW_VERSION
LWM2M_DEVICE_BINDINGS -> CONFIG_LWM2M_DEVICE_BINDINGS
LWM2M_DEVICE_TYPE -> CONFIG_LWM2M_DEVICE_TYPE
LWM2M_DEVICE_HW_VERSION -> CONFIG_LWM2M_DEVICE_HW_VERSION
LWM2M_DEVICE_SW_VERSION -> CONFIG_LWM2M_DEVICE_SW_VERSION
LWM2M_WITH_LOGS -> CONFIG_LWM2M_WITH_LOGS
2020-04-07 16:28:55 +02:00
Aiman Ismail
bd0228342d tinydtls_sock_dtls: remove duplicate handle message 2020-04-05 16:11:18 +02:00
Benjamin Valentin
f74bdb6bca pkg/littlefs2: bump version to 2.2.0
Update to the new minor release.
2020-04-03 13:01:11 +02:00
Koos
b34b11a0c6 pkg/fatfs: fix day_of_month value of get_fattime() 2020-04-03 11:27:10 +02:00
Benjamin Valentin
7fd329b3a1 pkg/nanopb: fix for proto files with includes
Proto files can include other proto files.
E.g. nanopb comes with a `nanopb.proto` include that contains some
nanopb-specific extensions.

This patch makes it possible to include this file as well as specifying
additional proto include folders.

I added the include to `simple.proto` so it gets exercised by the test.
2020-04-02 17:21:25 +02:00
Peter Kietzmann
767cfc21a9
Merge pull request #13341 from Einhornhool/cryptoauth-shellhandler
sys/shell: add shell handler for CryptoAuth devices
2020-03-31 22:19:21 +02:00
Lena Boeckmann
5bc0b15114 sys/shell: add cryptoauthlib shell handler 2020-03-31 21:31:24 +02:00
Leandro Lanzieri
ce931f179c
gnrc/nib: Move GNRC_IPV6_NIB_CONF_SLAAC to 'CONFIG_' namespace
Also evaluate it using IS_ACTIVE macro.
2020-03-31 18:07:05 +02:00
d8751f79d4 pkg: add libbase58 2020-03-29 23:18:34 +02:00
Jose Alamos
9cf2da0287 pkg/ccn-lite: add patch for replacing GNRC_NETIF_NUMOF 2020-03-26 14:19:03 +01:00
Jose Alamos
aa5e6090f0 pkg/ndn-riot: add patch for replacing GNRC_NETIF_NUMOF 2020-03-26 14:19:03 +01:00
Jose Alamos
67ed9defbe gnrc_netif_xxx_create: use external netif allocation 2020-03-26 11:12:23 +01:00
95fa4bae5a
pkg/libcose: remove Monocypher as crypto backend
With the 3.0.0 update of monocypher the API changed enough to break
libcose compatibility. This PR removes monocypher from the crypto
options. It can be restored as soon as upstream libcose is updated to
restore compatibility
2020-03-25 09:37:12 +01:00