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

1251 Commits

Author SHA1 Message Date
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
f869354c76
pkg/relic: add custom prepared target
This custom prepared target create an include directory in the build directory which is set globally in the INCLUDES variables.
2020-06-19 14:24:34 +02:00
3cdc337c22
pkg/pkg.mk: add custom prepared target
This target is called by the prepare target and does nothing by default
2020-06-19 14:24:33 +02:00
0087a2a892
pkg/jerryscript: refactor Makefile 2020-06-19 14:23:49 +02:00
b67578899f
pkg/ccn-lite: improve out-of-source build 2020-06-19 14:23:49 +02:00
188ca56e1c
pkg/jerryscript: remove non existent use of CMake variable 2020-06-19 14:23:49 +02:00
82947ec156
pkg/jerryscript: configure out-of-source build with cmake 2020-06-19 14:23:48 +02:00
0aa4fffe81
pkg/relic: separate cmake build dir from source dir 2020-06-19 14:23:48 +02:00
Leandro Lanzieri
e7dcc28072
Merge pull request #14268 from aabadie/pr/pkg/cryptoauthlib_cleanup
pkg/cryptoauthlib: cleanup build system integration
2020-06-19 11:53:42 +02:00
Bas Stottelaar
685bbc6f8a pkg/gecko_sdk: update to v2.7.6 2020-06-19 00:38:23 +02:00
Martine Lenders
4013c616f7
tinydtls: add sock_async support for sock_dtls 2020-06-18 15:40:41 +02:00
M Aiman Ismail
44f2f50c89 tinydtls_sock_dtls: don't put alert & EVENT_CONNECT in mbox 2020-06-18 14:14:12 +02:00
M Aiman Ismail
2e16b90b38 tinydtls_sock_dtls: save session information after data decrypted 2020-06-18 14:04:51 +02:00
Leandro Lanzieri
2bdf9b16ee
Merge pull request #14274 from aabadie/pr/pkg/wolfssl_make_enh
pkg/wolfssl: improve build system integration
2020-06-18 10:47:31 +02:00
Benjamin Valentin
adbf9ef3ac vfs: select VFS params to accommodate all enabled file systems 2020-06-17 16:00:24 +02:00
Benjamin Valentin
3068dad305 pkg/spiffs: set VFS params 2020-06-17 16:00:24 +02:00
Benjamin Valentin
67d68b2bd3 pkg/littlefs2: set VFS params 2020-06-17 16:00:24 +02:00
Benjamin Valentin
17236a12e9 pkg/littlefs: set VFS params 2020-06-17 15:58:33 +02:00
Benjamin Valentin
eae9e3cf67 pkg/fatfs: set VFS params 2020-06-17 15:58:33 +02:00
Bas Stottelaar
7d73e8acaf pkg/ucglib: refactor the Ucglib package
- Passing RIOT-OS specific data as user_ptr
- Added necessary macros to Makefile.dep
- Added missing explicit dependency to xtimer module
- Added ucg_riotos.h with the RIOT-OS specific functionality
- Removed the now-obsolete patch of Ucglib
- Other minor fixes
2020-06-17 00:47:54 +02:00
Bas Stottelaar
3d4a330153
Merge pull request #14273 from aabadie/pr/pkg/ucglib_make
pkg/ucglib: improve build system integration
2020-06-17 00:32:48 +02:00
Bas Stottelaar
0455bacec7
Merge pull request #14272 from aabadie/pr/pkg/u8g2_make_enh
pkg/u8g2: improve build system integration
2020-06-17 00:26:50 +02:00
Francisco
e3c9894402
Merge pull request #14282 from aabadie/pr/pkg/openthread_make_rework
pkg/openthread: improve package Makefile
2020-06-16 21:13:04 +02:00
4b087a73a5
Merge pull request #14299 from fjmolinas/pr_pkg_git_patch
pkg/pkg.mk: explicitly exclude state files
2020-06-16 19:28:51 +02:00
Leandro Lanzieri
2546f92d37
Merge pull request #14251 from aabadie/pr/pkg/make_enh
pkg: avoid copying Makefiles in package source when possible
2020-06-16 17:00:30 +02:00
Francisco Molina
1a069f2631
pkg/pkg.mk: explicitly exclude state files 2020-06-16 16:27:57 +02:00
Francisco
3935c7630f
Merge pull request #14266 from haukepetersen/opt_nimble_mbufinit
pkg/nimble/netif: simplify mbuf pool initialization
2020-06-16 14:02:55 +02:00
Francisco
315b97939f
Merge pull request #14246 from leandrolanzieri/pr/cpu_arch_to_cpu_core
cpu: Rename CPU_ARCH to CPU_CORE
2020-06-16 13:48:08 +02:00
Leandro Lanzieri
89570087d8
Merge pull request #14250 from aabadie/pr/pkg/semtech_loramac_make
pkg/semtech-loramac: cleanup build system integration
2020-06-16 13:12:48 +02:00
Leandro Lanzieri
649017f0b2
cpu/cortexm_common: Rename arch_cortexm feature to cpu_core_cortexm 2020-06-16 12:05:41 +02:00
Leandro Lanzieri
4d65bc8e0a
cpu: Rename CPU_ARCH to CPU_CORE 2020-06-16 12:05:40 +02:00
2778e037fe
Merge pull request #14220 from aabadie/pr/pkg/lwip_nrf802154
pkg/lwip: add support for nrf802154
2020-06-16 11:13:33 +02:00
fd5c51f903
pkg/lvgl: declare module as pseudomodule
There's no lvgl module to build with package, only lvgl_xx modules.
2020-06-14 22:20:38 +02:00
609a0b6109
pkg/gemmlowp: declare module as pseudomodule
This package is only use for its headers so there's no module to build.
2020-06-14 22:20:38 +02:00
21c9acbd6b
pkg/flatbuffers: declare module as pseudomodule
This package is only use for its headers so there's no module to build.
2020-06-14 22:20:38 +02:00
d7ddf57596
pkg/openthread: improve package Makefile
This commit improves the target dependencis so that bootstrap and configure command are not run for each rebuild
2020-06-14 22:11:59 +02:00
b0d20fa603
pkg/nordic_softdevice_ble: don't alter archive before building
Use RIOT Makefile.base when possible or explictly set files to build in a module
2020-06-14 21:36:13 +02:00
c25f611258
pkg/nimble: use Makefile.base to build pkg modules when possible 2020-06-14 12:04:21 +02:00
ff37e8ee6d
pkg/cryptoauthlib: use out-of-source build / remove unused variable 2020-06-13 21:05:43 +02:00
18d6252461
pkg/micro-ecc: remove unnecessary patch for build system 2020-06-12 18:44:49 +02:00
f894862f61
pkg/tinycbor: remove unncessary patch 2020-06-12 18:44:49 +02:00
b203c5e541
pkg/tiny-asn1: remove unnecessary patches 2020-06-12 18:44:49 +02:00
e620d37924
pkg/monocypher: reduce scope of CFLAGS 2020-06-12 18:44:49 +02:00
67f117d997
pkg/monocypher: remove unecessary patches 2020-06-12 18:44:49 +02:00
a009684336
pkg: use Makefile.base to build pkg modules when possible 2020-06-12 18:44:49 +02:00
b76bf294ec
pkg/monocypher: pkg/tweetnacl: remove inconsitent use of 2020-06-12 18:44:48 +02:00
3209f7ce0c
pkg/littlefs2: always build littlefs2 fs (hard deps) 2020-06-12 18:44:48 +02:00
75b2de0ad3
pkg/littlefs2: remove redundant use of .PHONY: all
'all' is already set as .PHONY in pkg.mk
2020-06-12 18:44:48 +02:00
9464c34467
pkg: don't copy Makefile in package build directory
Instead use the '-f' option of the make command
2020-06-12 18:44:48 +02:00
0fc0ad7207
pkg/ucglib: clean build system integration
And leave the original repository untouched (except for patches)
2020-06-12 17:55:29 +02:00
86f9190a4c
pkg/wolfssl: improve build system integration
and avoid copying in the cloned repository when building
2020-06-12 17:49:09 +02:00
Hauke Petersen
f316f71abb pkg/nimble/netif: set host thread prio to ctrl+1 2020-06-12 14:50:42 +02:00
07a4d20acf
pkg/u8g2: improve build system integration 2020-06-12 10:31:59 +02:00
e1972999a3
pkg/cryptoauthlib: don't modify package source when building tests 2020-06-11 17:28:44 +02:00
Hauke Petersen
a0d34a707e pkg/nimble/netif: simplify mbuf pool initialization 2020-06-11 16:24:38 +02:00
Leandro Lanzieri
a4889b4207
Merge pull request #14248 from aabadie/pr/pkg/wakaama_make
pkg/wakaama: cleanup build system integration
2020-06-10 18:47:43 +02:00
9ebae8e92a
pkg/wakaama: fix indentation in Makefile.include 2020-06-10 14:19:27 +02:00
6de497a066
pkg/wakaama: cleanup build system integration
Avoid modifying the cloned repository for each build
2020-06-10 14:19:26 +02:00
198c9a8990
pkg/tinydtls: cleanup build system integration 2020-06-10 14:15:19 +02:00
12044356de
pkg/semtech-loramac: cleanup build system integration
Avoid copying Makefile in the cloned directory
2020-06-10 14:11:22 +02:00
8fb27b0d30
Merge pull request #14239 from aabadie/pr/pkg/cleanup_pkg.mk
pkg: fix some typos in pkg.mk
2020-06-09 19:30:19 +02:00
Martine Lenders
6af46bf398
Merge pull request #14235 from haukepetersen/opt_nimble_rmnetifptr
pkg/nimble/netif: remove redundant netif ptr
2020-06-09 16:01:04 +02:00
cb4bce393d
pkg/pkg.mk: fix patch prerequisites variable name 2020-06-09 15:14:01 +02:00
4bc8674822
pkg/pkg.mk: fix typo on 'prerequisites' 2020-06-09 15:13:26 +02:00
2b45d0e976
pkg/pkg.mk: remove non needed capital letter 2020-06-09 15:12:54 +02:00
MichelRottleuthner
bd44f63557
Merge pull request #14150 from miri64/lwip/enh/netdev_tap_ipv4
lwip: add IPv4 support for `netdev_tap`
2020-06-09 14:30:02 +02:00
Hauke Petersen
f024b4cd30 pkg/nimble/netif: remove redundant netif ptr 2020-06-09 12:27:08 +02:00
Martine S. Lenders
f5c4a05281
lwip: add IPv4 support for netdev_tap 2020-06-09 12:12:54 +02:00
b3620b35b8
pkg/lwip: add support for nrf802154 2020-06-07 21:24:14 +02:00
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