1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-15 18:52:45 +01:00
Commit Graph

1699 Commits

Author SHA1 Message Date
Francisco
f23c616eb1
Merge pull request #15422 from benpicco/pkg/fatfs-r0.14
pkg/fatfs: bump version to r0.14
2020-12-01 10:46:54 +01:00
c3fa38d9d6
pkg/libb2: blacklist 8bit architectures 2020-11-26 16:13:14 +01:00
b1a05b8c89
pkg/libb2: remove useless define
HAVE_ALIGNED_ACCESS_REQUIRED is not used anymore in libb2
2020-11-26 16:13:13 +01:00
01d2201f4d
pkg/libb2: bump to 0.98.1 2020-11-26 16:13:12 +01:00
Francisco
522e9ebc71
Merge pull request #15500 from benpicco/tests/pkg_jsmn-bump
pkg/jsmn: bump version
2020-11-26 10:47:15 +01:00
Francisco
47ed64fcfd
Merge pull request #15466 from leandrolanzieri/pr/kconfig_drivers_bc
drivers/{b,c}*: model modules in Kconfig
2020-11-26 10:44:28 +01:00
bc34c85226 pkg/lwip: add mips32 ssize_t fix 2020-11-25 17:52:34 +01:00
1936c43689 pkg/ndn-riot: update kernel_pid_t location patch 2020-11-25 17:52:34 +01:00
46737bcdf3 pkg/ccn-lite: add patch for changed kernel_pid_t location 2020-11-25 17:52:34 +01:00
Leandro Lanzieri
18c937ab69
{drivers/pkg}: add bm680 to Kconfig 2020-11-25 12:00:13 +01:00
Benjamin Valentin
77aa5cbf6c pkg/jsmn: bump version
Only fixes for typos and warnings, but good to keep up to date.
2020-11-23 20:19:47 +01:00
ff5a60396f pkg/ndn-riot: add patch for changed kernel_pid_t location 2020-11-23 16:56:34 +01:00
0b801c4de0 all: adapt to moved sched defines 2020-11-23 16:56:34 +01:00
Martine Lenders
ef5e0344ef
tinydtls_sock_dtls: use new mbox_avail() function 2020-11-20 13:09:59 +01:00
Martine Lenders
71224b4b1e
lwip_sock: use new mbox_avail() function 2020-11-20 13:09:42 +01:00
benpicco
a17e9ce8a3
Merge pull request #15401 from chrysn-pull-requests/hacl-provide-prix64
hacl: Patch to fix building where PRIx64 is absent
2020-11-19 16:37:53 +01:00
benpicco
d1ccd53c43
Merge pull request #15450 from janosbrodbeck/pr/tinydtls_fix_handshake_session
pkg/tinydtls: set endpoint of session after complete handshake
2020-11-17 14:21:37 +01:00
Benjamin Valentin
33449a4409 pkg/fatfs: bump version to r0.14 2020-11-17 11:29:28 +01:00
Benjamin Valentin
dbf6b1e25c sys/net: replace netif_addr_to/from_str with l2util_addr… 2020-11-17 10:51:22 +01:00
Benjamin Valentin
4c9a3c0434 pkg/hacl: switch upstream to backup copy
The https://github.com/mitls/hacl-c repo was deleted.
Getting the new upstream (https://github.com/project-everest/hacl-star)
to work nicely as a package requires some non-trivial work and in the
meantime all CI jobs will fail.

As a short-term solution, switch the upstream to a backup version of
the original repository.
2020-11-16 16:34:41 +01:00
János Brodbeck
2538e72625
pkg/tinydtls: set endpoint of session after complete handshake 2020-11-16 13:50:15 +01:00
57116e737b
Merge pull request #14691 from gdoffe/mp1_dev
Port of RIOT-OS to stm32mp1
2020-11-13 12:34:19 +01:00
eaf410592b
Merge pull request #15428 from btcven/2020_11_11-lvgl-preemption
pkg/lvgl: set LVGL thread priority higher than main
2020-11-13 11:58:06 +01:00
Gilles DOFFE
1e57778584 pkg/paho-mqtt: fix patches for STM32MP157Cxx line
As the STM32MP157Cxx has no CMSIS header repositories, SUCCESS enum
is not defined.
Thus STM32MP157Cxx line must be specifically handled as the
STM32F030x4 line to create missing enums.

Signed-off-by: Gilles DOFFE <gilles.doffe@savoirfairelinux.com>
2020-11-13 10:43:08 +01:00
153c52754d
Merge pull request #15070 from fjmolinas/pr_uwb_core
pkg/uwb_core: initial support
2020-11-12 14:04:51 +01:00
Francisco Molina
3622c2da07
pkg/uwb-core: initial import 2020-11-12 12:54:54 +01:00
Francisco Molina
cc0d8a83f1
pkg/uwb-dw1000: initial import 2020-11-12 12:07:20 +01:00
Jean Pierre Dudey
7092c455f9 pkg/lvgl: set LVGL thread priority higher than main
Using a lower priority than of the main thread would make
the LVGL thread to preempt the main thread, for example,
if you do a `xtimer_msleep(200);` on the main thread
giving any chance for the LVGL thread to preempt it
while working with LVGL on the main thread would
make the CPU crash.

To reproduce the bug just create various widgets, and fill
them with data from a sensor that "waits" for data to be ready.

Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2020-11-11 09:46:21 +01:00
Bas Stottelaar
f55c033681 pkg/cryptoauthlib: disable for efm32
Some CPUs define AES_COUNT, which is also defined by this package.
2020-11-10 23:03:08 +01:00
benpicco
2a60406ae0
Merge pull request #15292 from fjmolinas/pr_openwsn_defs
boards cpu: move OpenWSN defintions to openwsn_defs.h
2020-11-10 10:07:55 +01:00
Francisco Molina
c4edff3a59
boards cpu: move OpenWSN defintions to openwsn_defs.h 2020-11-10 07:46:35 +01:00
János Brodbeck
958d604775
pkg/tinydtls: set address family of session endpoint on sock_dtls_recv 2020-11-10 03:11:20 +01:00
3a292087b7
pkg/lvgl: update defaults in lv_conf.h 2020-11-08 17:04:55 +01:00
408c2b534d
pkg/lvgl: bump to v7.7.1 2020-11-08 16:19:55 +01:00
chrysn
54078be409 hacl: Patch to fix building where PRIx64 is absent
Quoting the inner commit:

> Not all RIOT platforms provide a PRIx64 or even 64-bit printing.
>
> As the debug routines that actually use this definition are unlikely to
> be used with RIOT, providing a definition that builds (and, depending on
> platform support, may or may not produce correct output) is a suitable
> fix.
2020-11-08 06:44:45 +01:00
benpicco
f702a95880
Merge pull request #15385 from benpicco/xtimer_msleep-convert
drivers, tests: use xtimer_msleep()
2020-11-05 16:46:39 +01:00
Martine Lenders
cc10d31391
Merge pull request #15305 from aabadie/pr/sys/posix_sleep
sys/posix: rename posix_time to posix_sleep
2020-11-05 16:36:25 +01:00
Benjamin Valentin
1c61d36173 pkg/paho-mqtt: convert to xtimer_msleep() 2020-11-05 11:32:41 +01:00
Benjamin Valentin
de2f576437 pkg/driver_bme680/contrib: convert to xtimer_msleep() 2020-11-05 11:32:41 +01:00
Hendrik van Essen
fe4f0a69ee sys/nimble_autoadv: add new module
module for automated bluetooth advertising
2020-11-05 10:53:21 +01:00
Bas Stottelaar
9dd3b7a3ec pkg/*: replace #if ENABLE_DEBUG with IS_ACTIVE 2020-11-02 21:49:39 +01:00
benpicco
2198598c50
Merge pull request #15355 from a-podshivalov/loramac-crc-bugfix
Fixed a critical bug, allowing to crash the whole system with a specially crafted LoRa frame
2020-11-02 13:05:00 +01:00
Alexander Podshivalov
a82318d4ec pkg/semtech-loramac: reduce scope of radio_payload and make CI happy 2020-10-31 18:09:51 +03:00
benpicco
e77d12da26
Merge pull request #15188 from benpicco/drivers/kw41zrf-register
drivers/kw41zrf: register with netdev
2020-10-31 14:30:00 +01:00
Alexander Podshivalov
4d5812eded pkg/semtech-loramac: check return value of recv() in NETDEV_EVENT_RX_COMPLETE 2020-10-31 00:22:11 +03:00
cf823da856
pkg/tinydtls: remove deprecation message about some CFLAGS 2020-10-30 10:15:18 +01:00
c8e40fc690
pkg: remove deprecated nordic softdevice package 2020-10-29 09:02:05 +01:00
68a2a5dab0
sys: tests: rename posix_time to posix_sleep 2020-10-27 15:20:33 +01:00
Bas Stottelaar
785b646298 pkg/gecko_sdk: update to v2.7.7 2020-10-26 20:29:42 +01:00
chrysn
b6392d63ef vfs: Provide generic stat implementation (and use in fatfs)
When a file system has `fstat` and `open` implemented, `stat` can still
be missing. The new function is a generic implementation, and used in
fatfs to provide a `stat`.
2020-10-25 17:39:57 +01:00
José Alamos
e8721ce415
Merge pull request #15145 from fjmolinas/pr_openwsn_radio_hal
pkg/openwsn: add ieee802154_hal based radio
2020-10-23 21:26:21 +02:00
Francisco Molina
0e0f385f3f
pkg/openwsn/sctimer_rtt: account for counters < uint32 2020-10-23 15:31:57 +02:00
Francisco Molina
0731fdbbaa
pkg/openwsn/scheduler: fix debugpins ordering 2020-10-23 15:31:57 +02:00
Francisco Molina
82e06ef8f4
pkg/openwsn: add ieee802154 hal based radio 2020-10-23 15:31:55 +02:00
Francisco Molina
75eee27c72
pkg/openwsn: move setting RTT_FREQUENCY 2020-10-23 15:31:53 +02:00
Francisco Molina
f5b587c130
pkg/openwsn: allow overiding led pins 2020-10-23 09:13:32 +02:00
Bas Stottelaar
38a5ff7d4b pkg/*: realign ENABLE_DEBUG 2020-10-23 02:43:10 +02:00
benpicco
d078488be3
Merge pull request #14979 from jia200x/pr/openthread/cc2538_rf
openthread: add support for radios compatible with SubMAC
2020-10-22 18:11:11 +02:00
Jose Alamos
383e1b1aaf openthread/nrf802154: add support for NRF802154 radios 2020-10-22 16:56:11 +02:00
Jose Alamos
48a65d2617 openthread/cc2538_rf: add support for CC2538 radios 2020-10-22 16:56:07 +02:00
benpicco
f933bbd4cd
Merge pull request #15267 from basilfx/feature/missing_assert_header
treewide: cleanup assert.h includes
2020-10-22 16:41:49 +02:00
benpicco
6931667cfb
Merge pull request #15253 from benpicco/pkg/micro-ecc-bump
pkg/micro-ecc: bump version
2020-10-22 12:04:21 +02:00
Bas Stottelaar
7088db3636 pkg/*: remove unused assert.h include 2020-10-22 11:29:27 +02:00
Bas Stottelaar
970c72a0cb pkg/*: add missing include of assert.h 2020-10-22 11:13:08 +02:00
Benjamin Valentin
d7e68d1d01 pkg/micro-ecc: bump version
micro-ecc now has upstream RIOT support, we can drop the patch.
2020-10-22 09:44:04 +02:00
Bas Stottelaar
ae8c700e6f pkg/*: add explicit include of timex.h 2020-10-21 21:47:31 +02:00
Benjamin Valentin
57ad2fd47c pkg/libhydrogen: bump version 2020-10-20 16:42:33 +02:00
Jose Alamos
246acb311f lwip: adapt bootstrap for nrf802154 2020-10-19 15:18:35 +02:00
Marian Buschsieweke
8fcafb89d0
Merge pull request #15242 from maribu/tinycrypt
pkg/tinycrypt: Fix dependencies
2020-10-19 10:11:10 +02:00
Marian Buschsieweke
ffc4277b9f
pkg/tinycrypt: Fix dependencies
According to tests/pkg_tinycrypt, this package only works on 32 bit archs. So
add this as a required feature.
2020-10-19 09:29:37 +02:00
Benjamin Valentin
c5e309a15d pkg/tinycrypt: bump version
Bump the snapshot of TinyCrypt that we are using.
2020-10-18 23:12:15 +02:00
8ca1c65f79
pkg/lua: blacklist picolibc feature 2020-10-15 18:52:51 +02:00
Martine Lenders
45144fb4a4
treewide: use new gnrc_pkt API functions instead of utlist.h macros 2020-10-13 13:32:53 +02:00
János Brodbeck
ffb80ab6b6
tinydtls: fix minor typo in comment 2020-10-10 13:05:46 +02:00
Benjamin Valentin
b32bc3dbd1 drivers/kw41zrf: register with netdev 2020-10-08 16:19:23 +02:00
Benjamin Valentin
1afe72a5e5 drivers/enc28j60: register with netdev 2020-10-08 10:36:56 +02:00
Benjamin Valentin
988ee1648f drivers/mrf24j40: register with netdev 2020-10-07 16:39:39 +02:00
Karl Fessel
9a89b84c2c Makefile.dep: sort dependencies
move most dependencies from <RIOTBASE>/Makefile.dep to the Makefile.dep where
dependant module resides
2020-10-05 18:27:58 +02:00
Francisco
df3ab9f161
Merge pull request #15138 from aabadie/pr/dist/codespell_fixes
dist/codespell: update the list of ignored words and fix all typos
2020-10-02 12:27:12 +02:00
9d798bdbf7
pkg/wakaama: fix typo 'bindins' -> 'bindings' 2020-10-02 08:08:36 +02:00
5657dead3e
pkg/softdevice: fix typo 'connecton' -> 'connection' 2020-10-02 08:08:09 +02:00
4792ff1f23
pkg/nimble: fix typo 'mater' -> 'master' 2020-10-02 08:07:37 +02:00
Benjamin Valentin
f88d7a90f5 pkg/nanopb: bump version to 0.4.3 2020-10-01 18:55:51 +02:00
a2cf40aa76
Merge pull request #15038 from jia200x/pr/openthread/refactor
pkg/openthread: migrate to event loop
2020-09-29 10:48:07 +02:00
Jose Alamos
34b3f55200 pkg/openthread: migrate to event loop 2020-09-24 15:48:07 +02:00
Francisco
11d51def4b
Merge pull request #14965 from haukepetersen/fix_nimnetif_deadlockonconndrop
pkt/nimble/netif: fix deadlock on connection loss
2020-09-21 10:18:42 +02:00
Francisco
64f6b7ffa4
Merge pull request #14702 from maribu/sched_active_thread
treewide: Fix direct access to scheduler internals
2020-09-21 09:09:59 +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
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
Francisco Molina
006cdeb37e
pkg/openwsn: bump version 2020-09-10 08:58:31 +02:00
benpicco
df913bf9bf
Merge pull request #14906 from miri64/sock/cleanup/deps
sock: cleanup dependencies
2020-09-09 12:01:28 +02:00
Marian Buschsieweke
90177889b7
treewide: 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-09-07 12:59:55 +02:00
Hauke Petersen
6ee2c1025b pkt/nimble/netif: fix deadlock on connection loss 2020-09-07 11:05:32 +02:00
Leandro Lanzieri
81cb769cad
makefiles: avoid building archives when compiling 2020-09-04 15:01:10 +02:00
Marian Buschsieweke
ed0c8d7b84
pkg/ccn-lite: bump version 2020-09-03 06:40:53 +02:00
eef7f76b87
pkg/stm32cmsis: remove package 2020-09-02 11:30:49 +02:00
ec2e1a15f9
cpu/stm32: move cmsis package Makefile to stm32 cpu 2020-09-02 11:30:49 +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
d2369a2651
Merge pull request #14902 from gschorcht/periph/gpio/inline_functions_for_valid_and_equal
periph/gpio: use inline functions to test for valid and equal GPIOs
2020-09-01 09:57:52 +02:00
Jannes
f3e934988c drivers/stm32_eth: add 'NETDEV_EVENT_LINK_UP' event 2020-08-31 20:50:47 +02:00
Martine S. Lenders
8386ec9fac
sock: make sock implementation dependency of sock API + stack
This is the logical continuation of [#12931] for _all_ `sock`
implementations.

[#12931]: https://github.com/RIOT-OS/RIOT/pull/12931
2020-08-31 15:17:22 +02:00
Gunar Schorcht
d63d58ac0b pkg: use inline function for GPIO comparison
The expandable GPIO API requires the comparison of structured GPIO types. This means that inline functions must be used instead of direct comparisons. For the migration process, packages must first be changed so that they use the inline comparison functions.
2020-08-31 13:11:05 +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
Martine Lenders
48e5bbc8ba
Merge pull request #14858 from leandrolanzieri/pr/pkg/use_recursive_make_directly
pkg/{lwip,ubasic}: call submake with '+'
2020-08-26 21:03:11 +02:00
Leandro Lanzieri
84ed96c125
pkg/{lwip,ubasic}: use + in recursive make call 2020-08-26 19:12:14 +02:00
Francisco
30ef147fd7
Merge pull request #14814 from benpicco/pkg/wolfssl-4.5.0
pkg/wolfssl: bump version to 4.5.0
2020-08-26 17:33:07 +02:00
9b2aa40e03
Merge pull request #14038 from benpicco/mtd_pagewise
mtd: add page addressed operations to allow access > 4GiB on SD cards
2020-08-25 13:10:20 +02:00
edb9726322
Merge pull request #14800 from benpicco/pkg/cn-cbor-1.0.0
pkg/cn-cbor bump to 1.0.0
2020-08-21 14:04:58 +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
Benjamin Valentin
584d66190b pkg/wolfssl: bump version to 4.5.0
Update to the latest upstream release

https://www.wolfssl.com/docs/wolfssl-changelog/
2020-08-20 23:14:51 +02:00
abfbc8a813
pkg/semtech-loramac: add documentation about ztimer 2020-08-20 14:08:03 +02:00
52748dd935
pkg/semtech-loramac: migrate to ztimer usage 2020-08-20 13:41:40 +02:00
Benjamin Valentin
ae8ed273ab pkg/cn-cbor bump to 1.0.0
Upstream changed, original upstream is archived now with this note:

> Jim Schaad now is so far ahead of this repo that you are most
> likely better off using his repo as your upstream.
2020-08-19 23:25:25 +02:00
Leandro Lanzieri
e7912ce2a6
pkg/cmsis-nn: use modules to compile package 2020-08-19 11:34:43 +02:00
Leandro Lanzieri
75902c96f8
pkg/cmsis-dsp: use modules to compile package 2020-08-19 11:34:43 +02:00
Benjamin Valentin
f3500257b1 pkg/littlefs: use page-addressed MTD operations 2020-08-18 17:25:40 +02:00
Benjamin Valentin
c2492209d8 pkg/littlefs2: use page-addressed MTD operations 2020-08-18 17:25:40 +02:00
Benjamin Valentin
c436c39ea8 pkg/fatfs: use page-wise read() and write()
The FAT file system operates on sectors (pages), so use the new
mtd_write_page() and mtd_read_page() functions.

This also avoids the wrap-around after reading/writing past 4 GiB.
2020-08-18 17:25:39 +02:00
8a0fc9daf1
Merge pull request #14775 from benpicco/pkg/tinycbor-v0.5.3
pkg/tinycbor: bump to v0.5.3
2020-08-18 11:41:45 +02:00
Benjamin Valentin
53eedc283b drivers/at86rf2xx: register driver with netdev 2020-08-17 22:53:51 +02:00
Benjamin Valentin
0eed7a7715 pkg/tinycbor: bump to v0.5.3 2020-08-17 16:29:48 +02:00
benpicco
dfcc69dcb1
Merge pull request #14193 from aabadie/pr/pkg/lvgl_v7
pkg/lvgl: bump to v7
2020-08-12 14:03:24 +02:00
377d389ce9
Merge pull request #14609 from fjmolinas/pr_openwsn_bump
pkg/openwsn: bump version
2020-08-11 16:25:36 +02:00
71a6bfc32d
pkg/lvgl: bump to version 7.0.0 2020-08-11 15:39:01 +02:00
Francisco Molina
aa1e7797b0
pkg/openwsn: bump version
With the new version some OpenWSN modules are optional:
- openwsn_cjoin (and therefore opewnsn_coap)
- openwsn_6lo_fragmentation
- openwsn_icmpv6echo
- openwsn_crypto
- openwsn_udp (optional but kept as default)

New optional modules have been added:
- openwsn_iee802154e_security (link layer security)
- openwsn_adaptive_msf (MSF dynamic slot allocation)

Openvisualizer needs to be updated to be compatible with the new
version.
2020-08-11 15:24:33 +02:00
b8f94c2a51 pkg/tweetnacl: blacklist for msp430 2020-08-05 14:32:58 +02:00
Marian Buschsieweke
f48147b585
Merge pull request #14663 from benpicco/native-fixes
treewide: compile fixes for native
2020-07-31 14:57:41 +02:00
Benjamin Valentin
492283898e pkg/driver_atwinc15x0: don't be pedantic 2020-07-31 13:38:03 +02:00
Benjamin Valentin
e3fd43861c pkg/semtech-loramac: allow pointer <-> function pointer cast
Building on native reveals

    error: ISO C forbids initialization between function pointer and ‘void *’

Let's disable that.
2020-07-31 13:38:03 +02:00
Marian Buschsieweke
00c44b0924
pkg/lwip: Use IS_ACTIVE() & NETCONNTYPE_ISIPV6()
This also fixes an issue detected by `tests/lwip_sock_udp` when both IPv4 and
IPv6 are enabled.
2020-07-31 13:27:09 +02:00
Marian Buschsieweke
5be2d082b9
pkg/lwip: Compatibility with IS_USED()
The `IS_USED()` macro doesn't work if macros are defined to `(1)` instead of `1`
2020-07-31 10:51:12 +02:00
4842da272c
pkg/lvgl: add optional touch capability via screen generic API 2020-07-29 14:49:16 +02:00
José Alamos
2f6185ee97
Merge pull request #14612 from ArwinV/openthread-kw41z
pkg/openthread: add support for kw41z radios
2020-07-29 11:47:27 +02:00
Arwin Verhoeven
579a2d8fe0 pkg/openthread: add support for kw41z radios
pkg/openthread: fix some indentation errors

pkg/openthread: remove unnecessary library

Co-authored-by: José Alamos <jialamos@uc.cl>
2020-07-28 17:52:54 +02:00
Marian Buschsieweke
1ad7b4c21a
pkg/utensor: Require feature libstdcpp 2020-07-24 16:21:12 +02:00
f50d20f7fa
pkg/lvgl: adapt Makefile for nicer build output 2020-07-22 14:41:58 +02:00
8c50212a8d
pkg/stm32cmsis: add version for g0 family 2020-07-21 12:35:42 +02:00
0b549c6e0c
Merge pull request #14152 from aabadie/pr/pkg/stm32cube
pkg/stm32cmsis: retrieve STM32 CMSIS header from a package
2020-07-21 12:27:19 +02:00
3aaf7ed5f3
pkg/jerryscript: remove unnecessary CFLAGS 2020-07-17 20:03:15 +02:00
d820570782
pkg/jerryscript: improve Makefile logic
drop useless libjerry target and use regular files targets. This prevents re-running the sub-make when the required archives are already generated
2020-07-17 20:03:15 +02:00
51cda0d2ad
pkg/jerryscript: adapt CMake options
Add the possibility to set JERRY_STACK to prevent stack overflows due to recursion, JERRY_GC_LIMIT to the maximum allowed heap usage increase until triggering the next garbage collection and JERRY_GC_MARK_LIMIT to adjust the maximum recursion depth during the GC mark phase
2020-07-17 20:03:15 +02:00
7b6bd1a026
pkg/jerryscript: bump to version 2.3.0 2020-07-17 20:03:15 +02:00
Benjamin Valentin
a028102149 pkg/littlefs2: rename littlefs_desc_t -> littlefs2_desc_t
Allow to have both versions of the FS present at the same time.
2020-07-17 16:43:00 +02:00
c59f4af054
pkg/paho-mqtt: update patch to fix build with STM32 2020-07-16 17:41:48 +02:00
a8c04f5bea
pkg/ccn-lite: add patch to fix the build on stm32 cpus 2020-07-16 17:35:50 +02:00
67068393a9
pkg/stm32cmsis: add package for STM32 cmsis device repositories 2020-07-16 17:35:48 +02:00
Francisco
83396ac83c
Merge pull request #14486 from aabadie/pr/tools/pkg_clean_build_standalone
tools: build more tools with tools-buildtest
2020-07-15 11:22:26 +02:00
Martine S. Lenders
4f243c52ea
pkg/emb6: remove deprecated package
Deprecation was noted in 7cf1bab2e6
2020-07-11 02:18:17 +02:00
06b152fac0
pkg/pkg.mk: improve clean and distclean for in-source builds 2020-07-10 13:30:37 +02:00
benpicco
63a0014456
Merge pull request #14467 from benpicco/fix_file_permission
treewide: fix file permissions
2020-07-08 18:30:01 +02:00
Benjamin Valentin
9d836888c2 treewide: fix file permissions
C files should not be executable.
2020-07-08 17:32:36 +02:00
Martine Lenders
cc6c5a8c7b
Merge pull request #14456 from benpicco/pkg/tinydtls_update
pkg/tinydtls: use latest development version
2020-07-08 15:22:56 +02:00
Hauke Petersen
32f086e98d pkg/nimble/statconn: cleanup timing params 2020-07-08 08:46:43 +02:00
Hauke Petersen
29640252b7 pkg/nimble/autoconn: cleanup timing params 2020-07-08 08:46:43 +02:00
Hauke Petersen
bd48f06de4 pkg/nimble/autoconn: fix conn timeout calculation
The timeout parameter for nimble_netif_connect() is given in ms
and the same is true for NIMBLE_AUTOCONN_CONN_TIMEOUT. So there
should be no conversion between the autoconn parameter and the
value passed to nimble_netif.
2020-07-08 08:45:09 +02:00
Hauke Petersen
28b595e72e pkt/nimble: version bump to cd7d7aa 2020-07-08 08:45:09 +02:00
Benjamin Valentin
7d54fe1662 pkg/tinydtls: default to sha1prng for the PRNG implementation 2020-07-07 21:06:12 +02:00
Benjamin Valentin
6dcb25de15 pkg/tinydtls: bump version 2020-07-07 21:05:39 +02:00
Leandro Lanzieri
88819c3118
pkg/cryptoauthlib/atca: Fix documentation group 2020-07-06 16:26:13 +02:00
Martine Lenders
d510e034ea
Merge pull request #13552 from haukepetersen/add_nimble_statconn
pkg/nimble: add static connection manager `statconn`
2020-07-06 09:59:13 +02:00
Hauke Petersen
3591206cbb pkt/nimble: add statconn static connection manager 2020-07-06 08:14:09 +02:00
Javier FILEIV
4214136766 pkg/paho-mqtt: add pkg paho-mqtt 2020-07-05 19:10:41 +02:00
Cenk Gündoğan
8356b93d1c pkg: openthread: do not hardcode number of parallel jobs 2020-07-03 12:03:06 +02:00
Cenk Gündoğan
7aa499d5f1 make: use $(MAKE) instead of direct make call 2020-07-03 12:03:06 +02:00
799ee40ea7
Merge pull request #13866 from benpicco/pkg/fs_params
pkg/fs: set VFS params by fs, not by the application
2020-07-01 14:19:00 +02:00
benpicco
e1d27cb7d5
Merge pull request #14394 from sven-hm/fatfs_vfs_fstat
pkg/fatfs/fatfs_vfs: fix _fstat
2020-06-30 18:30:26 +02:00
Francisco
59b58eaef2
Merge pull request #14389 from aabadie/pr/doc/package_enh
pkg/doc.txt: improve rendering of source location documentation
2020-06-30 15:13:52 +02:00
d98ddfad9a
Merge pull request #13824 from fjmolinas/pr_openwsn
pkg/openwsn: re-integrate the network stack as a package
2020-06-30 14:08:10 +02:00
Francisco Molina
844ccfbeb3
pkg/OpenWSN: initial import
Co-authored-by: Peter Kietzmann <peter.kietzmann@haw-hamburg.de>
Co-authored-by: Jose Alamos <jose.alamos@haw-hamburg.de>
Co-authored-by: Michel Rottleuthner <michel.rottleuthner@haw-hamburg.de>
2020-06-30 13:08:36 +02:00
Sven Herrmann
75a9ad0be1 pkg/fatfs/fatfs_vfs: fix fstat 2020-06-30 07:45:08 +00:00
benpicco
3af5efe5cd
Merge pull request #14175 from sven-hm/fatfs_vfs_open_flag_translation
pkg/fatfs/fatfs_vfs: fix flag translation in _open
2020-06-29 23:40:55 +02:00
5a9399e4c2
pkg/doc.txt: improve rendering of source location documentation 2020-06-29 15:53:25 +02:00
Sven Herrmann
4469d8f0fb pkg/fatfs/fatfs_vfs: fix flag translation in _open 2020-06-29 10:06:28 +00:00
5325233928
pkg/emlearn: add support to RIOT 2020-06-28 21:50:51 +02:00
Gunar Schorcht
b64ce62a8f pkg/lwip: fixes the netif handling for atwinc15x0
With PR #14349 the double stack mode for lwIP was activated. The ATWINC15x0 driver was provided before the changes in PR #14349 but merged after that. Therefore, the changes for the driver were not taken into account anymore and have to be applied accordingly.
2020-06-27 11:09:50 +02:00
Gunar Schorcht
4b38d37cfd pkg/driver_atwinc15x0: enable vendor spi_flash 2020-06-26 12:36:56 +02:00
Gunar Schorcht
f92d2acb0a pkg/lwip: support of ATWINC15x0 WiFi netdev 2020-06-26 12:33:38 +02:00
Gunar Schorcht
649b315214 pkg: add ATWINC15x0 vendor driver as package
fixup! pkg: add ATWINC15x0 vendor driver as package

fixup! pkg: add ATWINC15x0 vendor driver as package
2020-06-26 12:33:38 +02:00
42912b40eb
pkg/doc.txt: document the package source code locations 2020-06-26 09:25:45 +02:00
f67cff2458
pkg/Makefile.git: adapt example to new organization 2020-06-26 09:25:44 +02:00
91fbb42061
pkg: let some packages to remain built in-source
openthread, micropython and nordic_softdevice cannot be built out-of-source
2020-06-26 09:25:44 +02:00
a8eb1f5d53
pkg: adapt cmake based packages to the new organization 2020-06-26 09:25:44 +02:00
385ad95701
pkg: adapt 'simple' packages to the new organization 2020-06-26 09:25:43 +02:00
b633f875e2
pkg/pkg.mk: better distinguish between source and build directory 2020-06-26 09:25:43 +02:00
Francisco
903ad1e888
Merge pull request #14354 from miri64/drivers/cleanup/rm-NETOPT_IPV6_IID
netdev: remove NETOPT_IPV6_IID support for network devices
2020-06-25 15:53:33 +02:00
Martine S. Lenders
0035bf03bd
pkg/nordic_softdevice_ble: remove NETOPT_IPV6_IID support
This option is handled in the `gnrc_netif`-layer without any access to
the driver's option since 7ae90564d9.
2020-06-25 13:41:33 +02:00
Martine S. Lenders
e80c473830
pkg/lwip: only use ip4_addr_t component of IP4_ADDR_ANY at bootstrap
IP4_ADDR_ANY is a generic address of type IPv4 when lwIP is compiled
with both IPv4 and IPv6, so we need to extract the `ip4_addr_t`
component when using with `netif_add()` as that is the expected type.
2020-06-25 12:45:37 +02:00
Martine S. Lenders
c0b7560dde
pkg/lwip: remove code duplication for IPv4-based netif initialization 2020-06-25 12:45:37 +02:00
Martine S. Lenders
035acc2e53
pkg/lwip: remove ipv6only clause for AF_INET6 sockets 2020-06-24 18:44:06 +02:00
dc2be00c63
pkg/lua: remove unnecessary patch 2020-06-24 10:19:32 +02:00
6b3f241be2
pkg/pkg.mk: define GITCACHE and only export GIT_CACHE_DIR from there 2020-06-23 14:54:25 +02:00
b4e268423e
Merge pull request #14286 from aabadie/pr/pkg/cmake_build_source_dir
pkg: tools: ensure cmake based packages/tools are built out-of-source
2020-06-23 12:50:39 +02:00
ae95e33308
Merge pull request #14297 from aabadie/pr/pkg/prepare
pkg/pkg.mk: silent prepare target when there's nothing to prepare
2020-06-23 11:49:16 +02:00
6235d74ac9
Merge pull request #14280 from aabadie/pr/pkg/cleanup_header_only
pkg: remove unecessary module, especially for header-only packages
2020-06-23 11:22:55 +02:00
962eea6c4e
pkg.mk: all depends on prepare 2020-06-23 11:17:28 +02:00
b87898df5e
pkg/pkg.mk: silent prepare target when there's nothing to be done 2020-06-23 11:05:31 +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
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
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
fad397b62e
Merge pull request #13351 from Carton32/monocypher_update
pkg/monocypher: bump to version 3.0.0
2020-03-25 09:36:12 +01:00
Gunar Schorcht
5c65409dfc pkg/wakaama: fix broken links 2020-03-24 10:38:40 +01:00
Gunar Schorcht
8d6dfa65ef pkg/lua: fix broken links 2020-03-24 10:38:40 +01:00
dbe167e474
pkg/lvgl: add LittlevGL package 2020-03-18 14:15:38 +01:00
39d9d599cc
Merge pull request #13620 from kaspar030/add_pkg_yxml
pkg/yxml: add Yxml XML parser library package
2020-03-17 11:06:19 +01:00
Martine Lenders
5defa1ae34
Merge pull request #13466 from gschorcht/fix_compilation_with_ndebug
tests: fix compilation problems with NDEBUG
2020-03-12 19:34:33 +01:00
Gunar Schorcht
0378fd2697 pkg/ubasic: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Robert Hartung
dc6665d5cf
Merge pull request #12717 from dylad/pr/bme680_pkg_driver
driver/bme680: add I2C/SPI driver for BME680 device
2020-03-12 14:00:40 +01:00
fd0fd1cb3c pkg/yxml: add Yxml XML parsing library 2020-03-12 13:09:56 +01:00
Gunar Schorcht
90fb789697 pkg: add Bosch Sensortech BME680 driver
Add the vendor driver implementation from Bosch Sensortech as a package.
2020-03-12 08:42:11 +01:00
Martine S. Lenders
29651da8f4
lwip_sock: update implementation for async callback argument 2020-03-11 16:54:12 +01:00
Martine S. Lenders
612e782b3c
sock_async: supply optional callback argument with callback setter 2020-03-11 16:54:11 +01:00
Martine S. Lenders
6e6e435c65
sock_async: add optional callback argument 2020-03-11 16:54:11 +01:00
Aydogan Ersoz
d66f35c31a add QCBOR package 2020-03-09 20:29:50 +01:00
Aiman Ismail
e0a02705b2 examples/dtls-sock: change unsupported %zd to %d 2020-03-09 15:08:52 +01:00
Aiman Ismail
aa3cbacceb net/sock_dtls: do not put msg in mbox on timeout 2020-03-09 15:08:52 +01:00
Leandro Lanzieri
1ee1a4f817
Merge pull request #12992 from pokgak/pr/kconfig_migrate/tinydtls
Kconfig: Expose pkg/tinydtls configurations
2020-03-06 15:29:56 +01:00
Gunar Schorcht
fc37d7bf81
Merge pull request #13427 from miri64/lwip/enh/sock_async
lwip: provide sock_async support
2020-03-06 14:37:54 +01:00
Aiman Ismail
a6432cff92 Kconfig: Expose pkg/tinydtls configurations 2020-03-06 13:53:51 +01:00
Martine Lenders
a7ef50636e
lwip: activate TCP_LISTEN_BACKLOG per default with sock_tcp
Prevents unnecessary usage of resources, as the queue of `sock_tcp` is
restricted.
2020-03-06 11:29:46 +01:00
Martine Lenders
1a4e6e9cdb
lwip_sock_tcp: close accepted connection if queue is full 2020-03-06 11:29:45 +01:00
Martine S. Lenders
e98e2f6143
lwip: fix style errors found by Vera++ 2020-03-06 11:29:45 +01:00
Martine S. Lenders
fc67e6143a
lwip: provide sock_async support 2020-03-06 11:28:16 +01:00
Aiman Ismail
d5b2aa8a2f pkg/tinydtls: Move configurations to 'CONFIG_' namespace
Macros that changed:
DTLS_PSK -> CONFIG_DTLS_PSK
DTLS_ECC -> CONFIG_DTLS_ECC (except in release-notes.txt)
DTLS_CONTEXT_MAX -> CONFIG_DTLS_CONTEXT_MAX
DTLS_PEER_MAX -> CONFIG_DTLS_PEER_MAX
DTLS_HANDSHAKE_MAX -> CONFIG_DTLS_HANDSHAKE_MAX
DTLS_SECURITY_MAX -> CONFIG_DTLS_SECURITY_MAX
DTLS_HASH_MAX -> CONFIG_DTLS_HASH_MAX
2020-03-05 19:11:38 +01:00
Leandro Lanzieri
7a44d8ecf7 Kconfig: Add 'Packages' file and menu 2020-03-05 19:11:38 +01:00
Juergen Fitschen
0a931c833c pkg/cryptoauthlib: enable boards to set auto init parameters 2020-03-04 11:27:49 +01:00
MichelRottleuthner
698f313f6f
Merge pull request #13489 from miri64/tinydtls/enh/mbox-recv
tinydtls: remove receive buffer indirection via mbox
2020-03-04 10:03:39 +01:00
Martine S. Lenders
f8198dbf6f
tinydtls: remove receive buffer indirection via mbox 2020-03-03 14:42:16 +01:00
bdeae779c3
Merge pull request #13528 from haukepetersen/opt_nimble_autoconndbgmsgfix
pkg/nimble/autoconn: minor debug message cleanup
2020-03-03 09:46:08 +01:00
Cenk Gündoğan
8c202d5ac5
Merge pull request #13437 from leandrolanzieri/pr/pkg/local_mk/add_force_to_phony
pkg/local.mk: Add FORCE target to .PHONY
2020-03-02 18:17:51 +01:00
MichelRottleuthner
10226aa4f5
Merge pull request #13260 from benpicco/wolfssl-update
pkg/wolfssl: bump version to 4.3.0
2020-03-02 15:57:36 +01:00
Hauke Petersen
2e8186f4f4 pkg/nimble/autoconn: minor debug message cleanup 2020-03-02 15:24:32 +01:00
Benjamin Valentin
e6bc8d773e pkg/wolfssl: bump version to 4.3.0
Update to the latest upstream release

https://www.wolfssl.com/docs/wolfssl-changelog/

This unfortunetaly introduced some unused parameter warnings, so disable
the warning via CFLAGS.
2020-03-02 15:10:29 +01:00