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

1539 Commits

Author SHA1 Message Date
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