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

1132 Commits

Author SHA1 Message Date
2f873569b7
pkg/tlsf: whitelist 32bit architectures
The package is not compatible with 8 or 16 bit architectures
2019-12-04 08:04:50 +01:00
Leandro Lanzieri
c52ad2df9e pkg/wakaama: Add LwM2M Client implementation 2019-11-29 20:31:41 +01:00
Leandro Lanzieri
2826779fbf pkg/wakaama: Add patches to fix logging 2019-11-29 20:31:41 +01:00
pokgak
4ed4ab404a pkg/tinydtls: implement DTLS sock API 2019-11-28 13:54:06 +01:00
2cf3cb3b52 pkg/wolfssl: fix typos 2019-11-23 22:39:38 +01:00
9ac32c6dd7 pkg/tlsf: fix typos 2019-11-23 22:39:38 +01:00
05f5d5d638 pkg/semtech-loramac: fix typos 2019-11-23 22:39:38 +01:00
16440469dc pkg/openthread: fix typos 2019-11-23 22:39:38 +01:00
357c1bc0db pkg/nordic_softdevice_ble: fix typos 2019-11-23 22:39:38 +01:00
f827e0c3d1 pkg/nimble: fix typos 2019-11-23 22:39:38 +01:00
de88c9a6eb pkg/nanocbor: fix typos 2019-11-23 22:39:38 +01:00
04183aa8fd pkg/lwip: fix typos 2019-11-23 22:39:38 +01:00
0ba8628b45 pkg/lua: fix typos 2019-11-23 22:39:38 +01:00
591d08500a pkg/fatfs: fix typos 2019-11-23 22:39:38 +01:00
Gunar Schorcht
eb47f1c537 tests/sys_arduino_lib: demo the use of Arduino library
This test application defines a packages which imports a very simple Arduino library that is used by test application to demonstrate how an Arduino library can be imported as package and used by an application.
2019-11-22 13:26:35 +01:00
Francisco Molina
7e2fd21f2a pkg/u8g2/src/csrc/u8g2_riotos.c: fix cpp.check shiftTooManyBitsSigned 2019-11-21 11:58:07 +01:00
Francisco Molina
cc2c3a0163 pkg/ucglib/src/csrc/ucg_riotos.c: fix cpp.check shiftTooManyBitsSigned 2019-11-21 11:58:07 +01:00
a4bff5f803
pkg/libfixmath: blacklist architectures not supported by unittests
8bit architectures are not compatible. round function is not provided by
the msp430 toolchain.
2019-11-20 22:27:12 +01:00
b32dd168a1
pkg/libfixmath: fix computations on 8bit architectures 2019-11-20 22:27:12 +01:00
8e281f8b02
pkg/libfixmath: cleanup Makefiles and patches 2019-11-20 22:27:12 +01:00
6bcf492d08
pkg/ndn-riot: blacklist ble_nimble feature 2019-11-20 07:25:25 +01:00
benpicco
d91b756d0b
Merge pull request #12735 from aabadie/pr/pkg/cleanup_makefiles
pkg: cleanup management of dependencies
2019-11-20 01:43:26 +01:00
Vincent Dupont
8bf37f3f62
Merge pull request #12664 from benpicco/littlefs-1.7.2
pkg/littlefs: bump littlefs version to 1.7.2
2019-11-19 14:26:46 +01:00
Kevin "Tristate Tom" Weiss
be39169bd4
Merge pull request #11108 from gschorcht/cpu/esp8266/esp-idf/pr
cpu/esp8266: complete reimplementation based on ESP8266 RTOS SDK
2019-11-18 09:34:49 +01:00
6975bab63d
pkg/ndn-riot: move dependency handling in Makefile.dep 2019-11-18 08:57:00 +01:00
d88042d92a
pkg/gecko_sdk: move dependency handling in Makefile.dep 2019-11-18 08:56:51 +01:00
aa8d8a8731
pkg/libcoap: cleanup Makefile.dep
There's no need to load dependency modules if the package is used. This is already managed by the build system
2019-11-18 08:55:47 +01:00
adcdb3601a
pkg/tinydtls: cleanup Makefile.dep
There's no need to load dependency modules if the package is used. This is already managed by the build system
2019-11-18 08:55:32 +01:00
bdf5eb7b1e
pkg/openthread: cleanup Makefile.dep
There's no need to load dependency modules if the package is used. This is already managed by the build system
2019-11-18 08:55:17 +01:00
246a43ee19
pkg/umorse: cleanup Makefile.dep
There's no need to load dependency modules if the package is used. This is already managed by the build system
2019-11-18 08:54:34 +01:00
c34feaf118
pkg/jerryscript: cleanup Makefile.dep
There's no need to load dependency modules if the package is used. This is already managed by the build system
2019-11-18 08:54:02 +01:00
9334014b13
pkg/ccn-lite: cleanup Makefile.dep
There's no need to load dependency modules if the package is used. This is already managed by the build system
2019-11-18 08:52:38 +01:00
5400ab7284
pkg/semtech-loramac: blacklist MSP430 based boards
EXIT_SUCCESS/EXIT_FAILURE macros are not provided by the toolchain, which ends-up in a failing build
2019-11-15 18:14:25 +01:00
Martine S. Lenders
b5b035ca14 nimble/netif: use gnrc_netif_hdr_set_netif() 2019-11-15 15:10:52 +01:00
27e8caf3f3
Merge pull request #12526 from kaspar030/fix_fe310_default_optimization
cpu/fe310: change default optimization to "-Os"
2019-11-15 13:10:13 +01:00
Gunar Schorcht
074369fbb5 pkg/lwip: changes for ESP8266 esp_wifi 2019-11-14 12:04:29 +01:00
Hauke Petersen
18a133944c pkg/nimble: depend netif on ble_nimble_netif feat. 2019-11-13 13:10:12 +01:00
Hauke Petersen
004eb5e0b6 pkg/nimble: add 'autoconn' connection manager 2019-11-13 12:59:35 +01:00
d6f11a4c3c
pkg/lora-serialization: bump to latest versio 2019-11-11 17:30:31 +01:00
Benjamin Valentin
ab9f8d64d3 pkg/littlefs: bump littlefs version to 1.7.2 2019-11-07 17:02:58 +01:00
José Alamos
20ea18637f
Merge pull request #10485 from miri64/gnrc_netif/enh/default-init
gnrc_netif: assume `netif->ops->init()` to be set to at least a default
2019-11-07 11:41:05 +01:00
Martine Lenders
14a2f6bc18 gnrc: use gnrc_netif_default_init() for all implementations 2019-11-07 11:00:36 +01:00
Bas Stottelaar
f5ddc372e7 pkg/gecko_sdk: update to version 2.6 2019-11-06 23:11:39 +01:00
f542bc5fcf
pkg/oonf_api: blacklist unsupported architectures
AVR8 and MSP430 are excluded because of missing features in their respective toolchains
2019-11-05 09:47:25 +01:00
6791662397
pkg/ubasic: blacklist unsupported architectures
AVR8, MSP430, RISV and MIPS are excluded because of missing features in their respective toolchains
2019-11-05 08:45:12 +01:00
1055c6497e
pkg/lua: exclude RISCV 2019-10-30 16:15:41 +01:00
01702df52d
pkg/lua: exclude MIPS 2019-10-30 15:40:09 +01:00
219faf250e
pkg/jerryscript: exclude MIPS 2019-10-30 15:39:11 +01:00
c15c3ab8a2
pkg/lua: add arch 32bit requirement 2019-10-30 14:27:15 +01:00
04e8461460
pkg/jerryscript: add arch 32bit requirement 2019-10-30 14:25:41 +01:00
4993b65650
pkg/tinydtls: add arch 32bit requirement 2019-10-30 14:11:59 +01:00
286c9b63e3
pkg/micro-ecc: blacklist arch 16bit requirement 2019-10-30 11:43:40 +01:00
8062a6fb82
pkg/qDSA: blacklist arch 16bit requirement 2019-10-30 11:43:40 +01:00
a19f7a5589
pkg/libhydrogen: add arch 32bit requirement 2019-10-30 11:43:40 +01:00
5839e35eac
pkg/tinycbor: add arch 32bit requirement 2019-10-30 11:43:40 +01:00
c77916e730
pkg/monocypher: add arch 32bit requirement 2019-10-30 11:43:39 +01:00
fa700de4d5
pkg/libcoap: add arch 32bit requirement 2019-10-30 11:43:39 +01:00
0631cf6437
pkg/hacl: add arch 32bit requirement 2019-10-30 11:43:39 +01:00
83dbbcc35a
pkg/cn-cbor: add arch 32bit requirement 2019-10-30 11:43:39 +01:00
99d7439fa8
pkg/cifra: add arch 32bit requirement 2019-10-30 11:43:38 +01:00
fbf8688f01
pkg/wolfssl: add 32bit arch requirement 2019-10-30 11:43:38 +01:00
Marian Buschsieweke
bf54c56420
Merge pull request #12501 from maribu/NETOPT_MAX_PACKET_SIZE
drivers: Replaced NETOPT_MAX_PACKET_SIZE by NETOPT_MAX_PDU_SIZE
2019-10-30 10:51:32 +01:00
Toon Stegen
f6b97a444e make/pkg: make git commands quiet 2019-10-29 13:58:21 +01:00
Toon Stegen
6ef9b4b340 make/pkg: don't warn on whitespace errors 2019-10-29 13:58:21 +01:00
Toon Stegen
a6255240fb make/pkg: don't print executed commands 2019-10-29 13:58:21 +01:00
Rotzbua
cc955f729c pkg: docu: remove old pkg/Makefile.svn 2019-10-28 23:41:46 +01:00
Gunar Schorcht
61949b0e4a pkg/tinycbor: fix "uninitialized variable" warning
On ESP32 and new ESP8266 platform, the compilation of the package fails since a local variable is potentially used uninitialized. Therefore, the variable is initialized with a default value.
2019-10-27 09:56:10 +01:00
Aiman Ismail
1900563ec6 pkg/tinydtls: bump package version
This pulls in commit 865ca387cd9d05e52943e5641ad0eefafef218a3 which
fixes #12351.
2019-10-21 13:24:35 +02:00
7402092649 Revert "pkg/wolfssl: disable maybe-uninitialized warning with wolfcrypt"
This reverts commit 02ff48751e.
(Obsoleted by 1193b0b1f8)
2019-10-21 12:39:20 +02:00
02ff48751e
pkg/wolfssl: disable maybe-uninitialized warning with wolfcrypt
Only when building with riscv toolchain, because the default optimization used can lead to this problem.
2019-10-21 08:09:51 +02:00
cd18dad5ca pkg: introduce nanoPb Protocol Buffers library 2019-10-18 22:34:28 +02:00
Marian Buschsieweke
d879739665
drivers/nimble: Use NETOPT_MAX_PDU_SIZE
Replaced deprecated NETOPT_MAX_PACKET_SIZE by NETOPT_MAX_PDU_SIZE
2019-10-18 17:57:36 +02:00
Francisco Molina
45c8eafd42 Makefile.include: remove repeated OS declaration 2019-10-18 10:36:43 +02:00
Francisco Molina
f3482de277 REMOVEME: add OS and OS_ARCH variable 2019-10-18 08:46:51 +02:00
3eae2f7b79 pkg/lwip: add arch_32bit feature dependency 2019-10-13 21:03:41 +02:00
Martine Lenders
c7502fedf9
Merge pull request #12190 from benpicco/deprecate_oonf
pkg/oonf_api: deprecate package
2019-10-09 19:19:47 +02:00
Martine S. Lenders
0a2945164c lwip: improve and fix documentation 2019-10-09 14:45:30 +02:00
Martine S. Lenders
cb18f8c99b lwip: remove deprecated defines
`SYS_SEM_NULL` and `SYS_MBOX_SIZE` aren't used by lwIP anymore and
`LWIP_CHKSUM_ALGORITHM` has a predefined value now
2019-10-09 14:23:02 +02:00
Ken Bannister
3e0a3b1746
Merge pull request #12389 from miri64/pkg/depr/emb6
emb6: deprecate package
2019-10-09 06:53:50 -04:00
Martine Lenders
7cf1bab2e6 emb6: deprecate package
I basically didn't work on `emb6` since 2016 and adapting to the newest
version would mean some major overhaul. However, the development at
their end seems to be stalled [since March 2018][emb6-develop] as well.
All this speaks for deprecating this package.

[emb6-develop]: https://github.com/hso-esk/emb6/tree/develop
2019-10-09 11:50:17 +02:00
Martine S. Lenders
0d8511616a emb6: fix documentation 2019-10-09 11:27:52 +02:00
Martine Lenders
238ebe3d37
Merge pull request #12350 from haukepetersen/opt_nimble_verokt19
pkg/nimble: bump NimBLE version
2019-10-09 11:18:07 +02:00
688c29f200
pkg/cayenne-lpp: bump version to 0.1.1
This version contains a fix with barometric pressure values
See https://github.com/aabadie/cayenne-lpp/pull/8 for details
2019-10-08 08:40:54 +02:00
Martine Lenders
b7dfb6a26f
Merge pull request #12383 from aabadie/pr/pkg/semtech-loramac_fix_us915
pkg/semtech-loramac: fix failed assertion in randr function
2019-10-07 21:09:17 +02:00
Martine Lenders
70dddfd775
Merge pull request #12354 from haukepetersen/opt_nimble_netifmaxconn
pkg/nimble/netif: set max conn explicitly
2019-10-07 19:18:40 +02:00
900e7c4040
pkg/semtech-loramac: fix failed assertion in randr function 2019-10-07 15:30:31 +02:00
Hauke Petersen
a595f89bbe pkg/nimble/netif: set max conn explicitly 2019-10-07 14:50:57 +02:00
Hauke Petersen
f8112e2164 pkg/nimble/netif_conn: improve debug messages 2019-10-01 17:33:23 +02:00
Hauke Petersen
b7885428ce pkg/nimble: bump NimBLE version 2019-10-01 16:40:08 +02:00
Bas Stottelaar
8fa920d04c pkg/gecko_sdk: update to newer version 2019-09-30 18:10:38 +02:00
68aae9c848
Merge pull request #12262 from cladmi/pr/cflags/fix_spaces_and_rebuild
makefiles: do not remove defines from CFLAGS
2019-09-28 09:42:56 +02:00
cladmi
da59fb0eda
pkg/relic: pass COMP through environment
export COMP by using the environment insteal of through the shell to
prevnet issues with `\"` being defined when keeping macros in CFLAGS.

Another solution was to use COMP='...' but could there could still have
issues with single quotes in CFLAGS.
2019-09-27 19:28:33 +02:00
Martine Lenders
26d8650027
Merge pull request #12174 from haukepetersen/opt_nimble_scannerusetype
pkg/nimble/scanner: pass adv pkt type to callback
2019-09-27 12:14:34 +02:00
Dylan Laduranty
a64613e9b9 pkg/wolfssl: prevent name-colliding struct for AES 2019-09-26 11:06:00 +02:00
Martine Lenders
4c88cb5f0e lwip: sys_arch: replace sched_switch() with thread_yield_higher()
`sched_switch()` is supposed to be used in core only.

This fixes #6756.
2019-09-24 16:33:11 +02:00
Hauke Petersen
cf8f3125fc make/pkg: allow to set SOURCE_LOCAL per pkg 2019-09-23 11:44:17 +02:00
benpicco
f02095102f
Merge pull request #12031 from jcarrano/tlsf-malloc-fix-override
pkg/tlsf: Fix the way system functions are overriden.
2019-09-17 23:12:36 +02:00
Juan Carrano
cc907fa54e pkg/tlsf: Fix the way system functions are overriden.
The correct way to overrride the malloc family of functions in newlib-nano is
to provide the *_r (reentrant) variants. Newlib implements the "normal"
functions on top of these (see the newlib source code). Also, internally it calls
the *_r functions when allocating buffers.

If only the "normal" non-reentrant functions are provided this will mean that
some of the code will still use the vanilla newlib allocator. Furthermore, if
one uses the whole heap as a pool for TLSF then the system may in the best case
crash as there is no enough memory for its internall allocations or in the worst
case function eratically (this depends on how the heap reserved, there is an
upcomming series of commits in that direction).

This commit splits the handling between newlib and native. It also prepares the
ground for future work on the pool initialization.

Right now I could only test this in ARM and native and I cannot ensure it will
work on other platforms. Replacing the system's memory allocator is not something
that can be taken lightly and will inevitably require diving into the depths of
the libc. Therefore I would say that using TLSF as a system wide allocator is ATM
supported officially only on those plaftorms.

Testing:

Aside from reading the newlib sources, you can see the issue in a live system
using the debugger.

Compile any example (with or without tlsf-malloc), grab a debugger and place
a breakpoint in sbrk and _sbrk_r. Doing a backtrace will reveal it gets called
by _malloc_r.
2019-09-17 21:18:50 +02:00
ab8cdace12
Merge pull request #11996 from fjmolinas/pr_libcose_crypto_up
pkg/libcose: update crypto support
2019-09-13 10:10:49 +02:00
Martine Lenders
033f2865a9
Merge pull request #11936 from pokgak/tinydtls-add-docs
pkg/tinydtls: documents usage and configuration options
2019-09-12 17:16:34 +02:00
Aiman Ismail
b29d56781f pkg/tinydtls: add usage and compile configs docs 2019-09-12 16:53:08 +03:00
Aiman Ismail
5e195e82ca wolfssl: move to 'net' doxygen group 2019-09-12 14:55:52 +03:00
MichelRottleuthner
3d0e3b0117
Merge pull request #10308 from danielinux/master
wolfSSL pkg addition with examples
2019-09-11 09:12:57 +02:00
Daniele Lacamera
8bb1ee1cd5 wolfSSL pkg: new set of examples and tests 2019-09-11 08:12:50 +02:00
Juan I Carrano
56c7197734
Merge pull request #12184 from benpicco/oonf-fix_tests
pkg/oonf_api: fix generated test Makefiles
2019-09-10 18:06:33 +02:00
Marian Buschsieweke
b87ab96d17
Merge pull request #10661 from miri64/gnrc_netif_hdr/enh/netif_setter
gnrc_netif_hdr: add setter for netif
2019-09-10 16:14:28 +02:00
Benjamin Valentin
07099d99d8 pkg/oonf_api: deprecate package
- oonf_api has not been updated in 6 years, it's stil at 0.3.0
   from 2013.
 - tests were never integrated into CI
 - With NHDP the only upstream user of the package is deprecated.
 - Downstream users would rather prefer a less vintage version of the libraray.
2019-09-10 15:51:43 +02:00
3059e03c7c
Merge pull request #11620 from cladmi/pr/softdevice/ensure_memory_value
pkg/nordic_softdevice_ble: reset memory in the .hex file
2019-09-10 14:38:33 +02:00
benpicco
4e4414da61
Merge pull request #12155 from jcarrano/oonf-mri-combine-archives
pkg/oonf_api: Use MRI script to combine archives.
2019-09-09 19:48:43 +02:00
kaleb-himes
b3f32f83bb wolfSSL pkg with examples 2019-09-09 18:48:53 +02:00
Benjamin Valentin
f5920a1884 pkg/oonf_api: fix generated test Makefiles 2019-09-09 18:24:01 +02:00
benpicco
cf56f6a942
Merge pull request #12172 from bergzand/pr/pkg/cifra
Cifra: initial import of package
2019-09-07 16:37:29 +02:00
Hauke Petersen
7f4f323d78 pkg/nimble/scanlist: save and print adv pkt type 2019-09-05 17:04:32 +02:00
Hauke Petersen
825710e489 pkb/nimble/scanner: pass adv pkt type to callback 2019-09-05 17:04:21 +02:00
Francisco Molina
1357f46c47 pkg/semtech-loramac: add uplink_counter get/set functions 2019-09-05 16:01:32 +02:00
4100a1ee80
Cifra: Initial import of package 2019-09-05 10:10:02 +02:00
Benjamin Valentin
4707f6b749 pkg/libb2: rename config.h to libb2_config.h
This is to avoid conflics with other config.h files, e.g. when building
for esp8266 where $(NEWLIB)/xtensa-lx106-elf/include/config.h gets
included instead.
2019-09-04 14:15:52 +02:00
Benjamin Valentin
bf410c84f1 pkg/libb2: define HAVE_ALIGNED_ACCESS_REQUIRED based on CPU
Most architectures do not support unaligned memory access, so set the define accordingly.
2019-09-04 14:15:52 +02:00
Juan Carrano
55eccb689f pkg/oonf_api: Use MRI script to combine archives.
The OONF package is combining multiple ".a" file into a single archive. The
way it was being done involved creating and changing directories, unpacking
the original archives and repacking them into a combined one.

Theis has a couple of issues:

- It is untidy and wasteful.
- It breaks when thin archives are enabled, as a thin archive cannot be
  unpacked.

This commit uses a MRI script to do the combining step. It works both with
and without thin archives and is cleaner overall.

An issue that remains to be soved is that make is calling itself to create the
archive, as the PARTIAL_ARCHIVES are not known before hand. This is hacky. It
can be solved but it is a subject for another PR.
2019-09-02 16:50:35 +02:00
Martine Lenders
93fa48df71
Merge pull request #12124 from cgundogan/pr/ccnlite-bump
pkg: ccn-lite: version bump
2019-08-30 13:33:12 +02:00
Cenk Gündoğan
a4bd845c81 pkg: ccn-lite: version bump 2019-08-29 21:54:20 +02:00
Martine Lenders
e0945ad64e
pkg/nordic_softdevice_ble: use gnrc_netif_hdr_set_netif() 2019-08-29 14:51:45 +02:00
Kevin "Tristate Tom" Weiss
969e3b3e95
Merge pull request #12098 from cladmi/pr/export/remove_local_export_compilation_variables
make: do not locally export compilation variables
2019-08-29 14:32:22 +02:00
Gaëtan Harter
15e9812ffb
pkg/oonf_api: remove exporting CFLAGS and INCLUDES
CFLAGS and INCLUDES are already exported by `makefiles/vars.inc.mk`.
It is a prerequisite to allow handling compilation without global exports.
2019-08-29 10:35:36 +02:00
Hauke Petersen
eadc0e62f2 pkg/nimble: fix doxygen group name prefix 2019-08-29 10:04:08 +02:00
Hauke Petersen
891294d3b7 pkg/nimble: temporary LLVM workaround for NimBLE 2019-08-28 16:49:21 +02:00
Hauke Petersen
eb6673f769 pkg/nimble: add README on how to connect to Linux 2019-08-28 16:49:20 +02:00
Hauke Petersen
a3b8c87ab5 sys/shell: add 'ble' shell cmd for nimble_netif 2019-08-28 16:48:42 +02:00
Hauke Petersen
6bbe16601a pkg/nimble: add netif wrapper 2019-08-28 16:48:42 +02:00
Hauke Petersen
e1e62ffff7 pkg/nimble/scanlist: implement _get_by_pos() 2019-08-28 16:48:42 +02:00
Aiman Ismail
ede7edd313 sys/net pkg/: document DTLS support in net_dtls 2019-08-27 16:41:39 +02:00
Juan Carrano
5dc46eb03e pkg/ccn-lite: remove dependency on tlsf-malloc.
There is no reason why this package would need tlsf. Using tlsf as
system malloc is not known to work in all platforms.

With this patch CCN-Lite will use the default malloc provided by the
target's C library.
2019-08-20 17:47:25 +02:00
Juan Carrano
ad4d883c4f pkg/tlsf: fix double pointer.
A (void*) function was declared as (void**) because one of the void pointers
was hidden behind a typedef. Because of the way a void* works, this has no
consequences, but it is confusing.
2019-08-16 19:17:32 +02:00
Gaëtan Harter
f3e72009e8
pkg/nordic_softdevice_ble: reset memory in the .hex file
softdevice needs the memory at 0x2000 to be initialized to 0xffffffff
according to #5893 and testing. However, the addresses [0x8bc, 0x3000[ are not
set in softdevice.hex.

So use a modified hex file with all the memory set to 0xff as it is the rom
reset value anyway.

This change updates the `.hex` file instead on relying on erasing the
memory.
2019-08-12 15:54:45 +02:00
Francisco Molina
ae1c4f422c pkg/libcose: add monocypher and c25519 2019-08-12 14:51:54 +02:00
Francisco Molina
3b8fb0bd80 pkg/libcose: remove tweetnacl support 2019-08-12 14:22:04 +02:00
701ba9c608
pkg/nimble: adapt to nrf51 family 2019-08-07 09:53:55 +02:00
Martine Lenders
1dc6bded04
Merge pull request #11946 from gschorcht/cpu/esp32/lwip_netdev
cpu/esp32: lwIP netdev
2019-08-07 08:10:03 +02:00
Gunar Schorcht
f5af8ac2a4 pkg/lwip: override TPCIP_THREAD_PRIO for ESP32
To avoid priority conflicts with the WiFi hardware driver thread which has priority of 1, the default thread priority of lwIP's TCP/IP thread is decreased to 2.
2019-08-06 23:10:11 +02:00
Benjamin Valentin
66117601bb pkg: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
Gunar Schorcht
d4f818b5f3 pkg/lwip: add esp_wifi network device
The changes allow to use an esp_wifi network device of ESP32 with lwIP.
2019-08-06 19:12:29 +02:00
bd816f3fb1
pkg/lwip: cleanup doxygen documentation
- Deduplicate lwip group definition
- Fix reference to sock instead of conn
2019-08-05 16:57:36 +02:00
Martine Lenders
4139370a87
Merge pull request #11952 from PeterKietzmann/pr_ccnl_update_and_bump
pkg/ccn-lite: bump version and adapt shell functions accordingly
2019-08-05 10:27:43 +02:00
PeterKietzmann
0cc91a47e1 pkg/ccn-lite: suppress llvm error 2019-08-05 09:36:43 +02:00
PeterKietzmann
448e282ff3 pkg/ccn-lite: bump version 2019-08-02 10:35:39 +02:00
Hauke Petersen
4016eeb1ad pkg/nimble: bump version to 997dad8 2019-08-01 13:55:47 +02:00
Francisco Molina
41e440a0ef pkg/semtech-loramac: extended return code doc and debug msg
- Add SEMTECH_LORAMAC_ALREADY_JOINED ret code for semtech_loramac_join
- Add SEMTECH_LORAMAC_TX_CNF_FAILED ret code for semtech_loramac_send
- Update shell commands to notify when no ACK is received on cnf tx
2019-07-22 16:12:23 +02:00
Francisco Molina
cdf687ceba examples/lorawan: fix semtech_loramac_send TX ret code
- with #11541 TX notification are only sent after mcps confirm event
  this will send a SEMTECH_LORAMAC_TX_DONE instead of
  SEMTECH_LORAMAC_TX_OK.
2019-07-19 12:22:53 +02:00
8150b014b1
Merge pull request #11801 from kaspar030/update_pkg_libcose
pkg/libcose: bump version
2019-07-18 09:44:32 +02:00
f8d969c3cf pkg/libcose: update to latest master 2019-07-17 10:30:15 +02:00
Francisco Molina
aff7ee3732 pkg/semtech_loramac: fix memcpy to uninitialized pointer 2019-07-16 10:47:36 +02:00
Martine S. Lenders
fd3789a735 nanocbor: fix doc grouping of nanocbor_config 2019-07-12 15:41:58 +02:00
Francisco
f33ba386ac
Merge pull request #11799 from aabadie/pr/pkg/semtech-loramac-rx-started-event
pkg/semtech-loramac: handle rx started event in mac event callback
2019-07-10 15:51:54 +02:00
Leandro Lanzieri
9aa1d76bee
Merge pull request #11817 from jia200x/pr/fix_ot_dep
pkg/openthread: remove openthread config header from contrib
2019-07-08 17:23:10 +02:00
Jose Alamos
f7afc79bab pkg/openthread: remove openthread header from contrib
The internal Openthread config file is not needed for the contrib
files, since it only includes internal OpenThread configuration
(use by the Openthread build system). Under certain cases some
macros defined in Openthread collide with RIOT internals or vendor
headers. So it's important to keep dependencies consistent.
2019-07-08 14:04:49 +02:00
01ab91dbf0
pkg/nanocbor: Version bump to latest master
Current latest master is also compatible with 8 and 16-bit platforms
2019-07-05 20:47:48 +02:00
91d982733f
Merge pull request #11600 from bergzand/pr/pkg/nanocbor
nanocbor: Initial support for the nanocbor package
2019-07-05 15:07:04 +02:00
2b2980bca1
pkg/nanocbor: Initial import 2019-07-05 14:26:17 +02:00
01195a073f
pkg/semtech-loramac: handle rx started event in mac event callback
This is only used for debugging purpose when ENABLE_DEBUG is set and avoid having a message about an unexpected event received
2019-07-04 19:34:24 +02:00
ce9b1e3826 pkg: remove not needed git-downloaded dependencies
This is implicitly done by the "pkg-prepare"-step of the main make
instance.
2019-06-28 09:38:44 +02:00
2260f0996b
pkg/nimble: add dependency to radio_nrfble feature 2019-06-12 17:41:31 +02:00
2703316900
pkg/semtech-loramac: update rx parameters type
System max RX error is in ms and should be uint32_t, min RX symbols is supposed to be uint8_t in loramac-node code
2019-06-05 18:46:03 +02:00
Hauke Petersen
5d96471abf pkg/nimble: cleanup doxygen groups for submodules 2019-06-04 16:14:41 +02:00
Hauke Petersen
fb3febab7f ble/nimble: add support for build-in IPSS service 2019-06-04 14:48:42 +02:00
Leandro Lanzieri
f56709e0bb
Merge pull request #9726 from jcarrano/lua-loader-fix
pkg/lua: Make the module searchers conform to the API.
2019-06-03 11:47:06 +02:00
Juan Carrano
56eb7d9d92 pkg/lua: detect if weak symbol has been overriden.
After removing the default definitions of lua module tables and table
lengths (see lua_builtin.h) the symbols have been left undefined, which
results in them getting an address of NULL and a crash if there are no
user symbols and the user attempts a "require".

This patch checks the address of the table length variable and fails the
module search function of the table is not set (i.e. it behaves as if the
table was empty.)
2019-05-31 17:15:41 +02:00
Juan Carrano
fe07bff90c pkg/lua: Make the module searchers conform to the API.
The module searchers in the `require` package should return a string
if the module is not found, and not raise an error.

See: https://www.lua.org/manual/5.3/manual.html#pdf-package.searchers

Also make error strings contain newlines and tabs just like the original
ones.
2019-05-31 17:15:04 +02:00
ba8e7e5eaf
pkg/semtech-loramac: persist updated RX2 params
After a successful OTAA join procedure, the network may change the RX2 channel datarate. It's
required to also persist to be able to correctly receive downlink after a reboot
2019-05-30 13:41:54 +02:00
bcad9ee517
pkg/semtech-loramac: update documentation with persistence mecanism 2019-05-30 13:41:54 +02:00
b4d905471f
pkg/semtech-loramac: persist OTAA join information in eeprom
This allows to continue sending data even after a reboot of a device that provide non volatile storage, e.g. eeprom
2019-05-30 13:41:54 +02:00
b5c48ef04e
pkg/semtech-loramac: make RX optional 2019-05-29 16:24:52 +02:00
032f89145a
pkg-semtech-loramac: update/simplify doxygen documentation 2019-05-29 16:24:23 +02:00
b7890b3031
pkg/semtech-loramac: refactor send and recv interactions with the MAC
Now TX notification messages are only sent after mcps confirm event. RX message notification message is sent after mcps indication
2019-05-29 16:24:23 +02:00
d1798375e0
pkg/semtech-loramac: reduce MAC thread message queue 2019-05-29 16:24:22 +02:00
Kevin "Bear Puncher" Weiss
6616032150
Merge pull request #9941 from bergzand/pr/pkg/monocypher/v205
pkg/monocypher: bump version to 2.0.5
2019-05-29 09:55:08 +02:00
d87cf66473
pkg/semtech-loramac: move lora region cflags to pkg makefile 2019-05-26 11:47:16 +02:00
Martine Lenders
6273b30bcb minmea: bump version to current master
$ git log --oneline dbf51f03c5058746b4c4b3d6fdcd3d0357c5da36..HEAD
ae4dd94 Merge pull request #38 from noahp/noahp/check-url
b1371aa 🔗 update Check link
65bf740 Merge pull request #35 from gdpinchina/master
61c6ef7 fix test for gga
4514f6d fix test for gga
113221d fix test for gga
35b00bc fix test in gga
9fcd245 remove indent
59c3e0a fix gga char alignment problem in test.c
79b964a modefy initialization for dgps_age
c4a5a01 modify dgps_age type
c01cbcf modify dgps_age type
cd27e72 Merge pull request #29 from swilson/master
4d97109 Fix compiler warnings.
0456bbb Define timegm
04f1141 Add TI-RTOS compat header
8e4fc4e README.md: formatting fixes
0b02771 minmea.h: add Windows compatibility layer
ded4faf Merge pull request #25 from asund/master
f50449e Fixup whitespace
80af9b4 * Arrange year interpretation in order of likeliness * Add unit tests
ef8bca7 clarity of century use in struct tm
486da2b Small fixes to minmea_gettime * Handle four digit years provided by ZDA in minmea_gettime * Assume GPS epoch to allow dates prior 2000 to be parsed
2019-05-24 19:02:59 +02:00
José Alamos
d66ac85b8d
Merge pull request #11540 from OlegHahm/feature/pkg/openthread_update
openthread: update to release 20180926
2019-05-17 14:00:42 +02:00
Hauke Petersen
88f9cf780a ble/nimble: bump version to 9d4bda2 2019-05-17 10:34:26 +02:00
Oleg Hahm
4f83dfd975 openthread: update to release 20180926 2019-05-16 23:28:35 +02:00
Guillaume Gonnet
f5c9fef096 pkg/semtech_loramac: fix DEBUG message when payload is NULL
In function `_semtech_loramac_send` parameter `payload` can be NULL (that the
case when scheduling an immediate TX, line 726). As DEBUG macro use printf,
a %s parameter can't be NULL so we have to handle that case.
2019-05-15 20:50:55 +02:00
Jose Alamos
86942279a2 pkg/openthread: adapt CLI guards to new format 2019-05-14 18:55:53 +02:00
Jose Alamos
c42af783c5 pkg/openthread: separate cli and thread mode variables 2019-05-14 18:55:53 +02:00
4ae1ef3f22
pkg/c25519: remove inexistent SHAFILE cleanup 2019-04-22 21:10:27 +02:00
81eed53776
pkg/semtech-loramac: cleanup in doc file
- fix badly rendered github url
- add missing newline at end of file
2019-04-10 08:21:41 +02:00
1f57c0bd2e
pkg/semtech-loramac: update send function snippet
If the send fails, just return. This avoid recv to be stuck afterward and shows a good practice
2019-04-10 08:20:40 +02:00
Juan I Carrano
9832299e62
Merge pull request #11319 from miri64/pkg/new/ubasic
pkg: Initial introduction of ubasic package
2019-04-08 17:38:03 +02:00
Martine Lenders
8543129ba9 pkg: Initial introduction of ubasic package 2019-04-08 17:09:28 +02:00
f6f988cfbf
Merge pull request #9389 from bergzand/pr/pkg/c25519/initial
c25519: Initial support for the c25519 package
2019-04-04 14:23:09 +02:00
6d8e18b57e
c25519: Initial support for c25519 package
c25519[1] is a library optimized for embedded applications handling ed25519
signing and x25519 crypto. It uses significantly less memory and flash
compared to TweetNaCl and is significantly faster when used on a
samr21-xpro

[1]: https://www.dlbeer.co.nz/oss/c25519.html
2019-04-04 14:05:57 +02:00
José Alamos
b5aaa6186f
Merge pull request #10599 from miri64/pkg/cleanup/openthread-rm-NETOPT_IPV6_IID
openthread: use l2util_ipv6_iid_from_addr() instead of NETOPT_IPV6_IID
2019-03-29 12:33:21 +01:00
Leandro Lanzieri
ef2b33c3d5
Merge pull request #11277 from obgm/tinydtls
pkg/tinydtls: Update repository URL to new location, fix posix_sockets
2019-03-28 17:17:46 +01:00
Hauke Petersen
42c6702433 ble/nimble: add scanner submodule 2019-03-27 18:11:37 +01:00
Martine Lenders
f70bba0958
Merge pull request #11278 from haukepetersen/add_nimble_scanlist
ble/nimble: add scanlist submodule
2019-03-27 17:10:01 +01:00
Hauke Petersen
bce0381c6f ble/nimble: add scanlist submodule 2019-03-27 16:45:25 +01:00
Martine Lenders
727f387ea9 openthread: use l2util_ipv6_iid_from_addr() instead of NETOPT_IPV6_IID 2019-03-27 16:02:01 +01:00
Martine Lenders
301b6555aa lwip: use l2util_ipv6_iid_from_addr() instead of NETOPT_IPV6_IID 2019-03-27 11:48:49 +01:00
José Alamos
61d7b205b8
Merge pull request #11241 from aabadie/pr/pkg/loramac_duty_cycle
pkg/semtech-loramac: provide a way to disable dutycycle
2019-03-27 11:47:48 +01:00
Olaf Bergmann
542701f3fd [tinydtls] Makefile: Updated package to head of develop branch
[tinydtls] Makefile: Updated PKG_URL

The tinydtls repository has moved from Eclipse Gerrit to GitHub [1].
PKG_URL now points to the new direction and PKG_VERSION was updated
to the HEAD of the develop branch.

[1] https://github.com/eclipse/tinydtls.git
2019-03-27 10:04:26 +01:00
Hauke Petersen
310cdab3d3 ble/nimble: add addr helper module 2019-03-26 22:20:01 +01:00
Martine Lenders
98ac1249bf
Merge pull request #10114 from miri64/pkg/enh/lwip-socket_zep
pkg/lwip: provide socket_zep support
2019-03-26 21:17:48 +01:00
Martine Lenders
45d4004fcb
Merge pull request #10816 from miri64/pkg/enh/softdevice-fix-kernel-doc
nordic_softdevice_ble: document working Linux versions
2019-03-26 18:47:20 +01:00
Hauke Petersen
4907d56185 ble/nimble: fix missing stdint incl in riot_nimble 2019-03-26 14:24:15 +01:00
Martine Lenders
97c4fef19e
Merge pull request #11232 from haukepetersen/fix_nimble_includeguardsriotinit
pkg/nimble: fix include guards in nimble_riot.c
2019-03-26 14:18:28 +01:00
Olaf Bergmann
db615302a2 [tinydtls] Makefile.include: fixed GNRC vs. posix_sockets
When WITH_RIOT_GNRC is set in CFLAGS, tinydtls will use a more
compact address representation based on ipv6_addr_t instead of
POSIX-style sockaddr_in6 to identify sessions (cf. struct session_t).

When posix_sockets are used (as in libcoap, e.g.), the POSIX
address representation should be selected automatically for
consistency. This change adds -DWITH_RIOT_GNRC to CFLAGS only
when the module posix_sockets is not selected.
2019-03-26 08:52:10 +01:00
Hauke Petersen
f5467ef9f1 net/ble: cleanup doxygen grouping 2019-03-25 19:04:05 +01:00
4e827085f7
pkg/semtech-loramac: provide a way to disable dutycycle
Duty cycle can be disabled by building the application using CFLAGS=-DDISABLE_LORAMAC_DUTYCYCLE
2019-03-23 07:38:38 +01:00
Hauke Petersen
eca26c91cd pkg/nimble: fix include guards in nimble_riot.c 2019-03-21 21:39:15 +01:00
Hauke Petersen
c0819c7a46
Merge pull request #11216 from haukepetersen/opt_nimble_verbump
pkg/nimble: bump version to a7b3c93
2019-03-20 14:13:02 +01:00
Martine Lenders
4ee4625f39
Merge pull request #10357 from jcarrano/posix_headers-module
sys/posix: make posix module provide only headers.
2019-03-20 14:07:12 +01:00
Hauke Petersen
4ec250b24f pkg/nimble: bump version to a7b3c93
- version update to a7b3c93
- remove patches (merged to changes to nimble upstream)
- adapt initialization order to upstream changes
2019-03-20 13:36:00 +01:00
Juan Carrano
6b766c3cd3 sys/posix: make posix module provide only headers.
The build system contains several instances of
 INCLUDES += -I$(RIOTBASE)/sys/posix/include

This is bypassing the module management system, by directly accesing
headers without depending on a module. The module is the posix module.

That line is also added when one of the posix_* modules is requested.

According to the docs, the posix module provides headers only, but in
reality there is also inet.c.

This patch:

- Moves `inet.c` into `posix_inet`, leaving `posix` as a headers-only
  module.
- Rename `posix` as `posix_headers` to make it clear the module only
  includes headers.
- Makes `posix_*` modules depend on `posix_headers`, thus removing the
  explicit `INCLUDES+=...` in `sys/Makefile.include`.
- Ocurrences of `INCLUDES+=...` are replaced by an explicit dependency
  on `posix_headers`.
2019-03-20 12:57:13 +01:00
Juan I Carrano
5488c5fef6
Merge pull request #11129 from jcarrano/pkg-update-version
pkg/pkg.mk: make sure we are building the correct commit.
2019-03-19 14:05:56 +01:00
Juan Carrano
f8f229b6f7 pkg/pkg.mk: make sure we are building the correct commit.
Once the repo is downloaded, the version is not checked gain. This
means that even if a package's Makefile is touched, that will only
cause a rebuild of the previously downloaded version. For packages
that are normally not deleted, like edbg, this renders PKG_VERSION
bumps ineffective, unless the user manually deletes the repo
directory.

This patch fixes that by always checking that the repo is at the
right commit.
2019-03-19 11:49:41 +01:00
Gunar Schorcht
cd00449863 pkg/lwip: include log.h if module log is used
If module log is used, log.h should be included. Otherwise, it might lead to compilation problems since LOG_ERROR macro isn't know in expansion of LWIP_PLATFORM_ASSERT macro.
2019-03-10 12:47:31 +01:00
d562af40e6
Merge pull request #11144 from jia200x/pr/netdev_lora_rx_info
netdev/lora: add netdev_lora_rx_info structure for RX info
2019-03-08 18:36:02 +01:00
Jose Alamos
dd2e0bb7a7 pkg/semtech_loramac: use netdev_lora_rx_info structure for RX info 2019-03-08 17:47:22 +01:00
Jose Alamos
ee93796975 pkg/semtech_loramac: add null guards to radio_events descriptor 2019-03-07 17:36:29 +01:00
Hauke Petersen
8a849be118 pkg/nimble: auto initialize build-in services 2019-03-07 16:21:08 +01:00
Hauke Petersen
f3257f0bfe pkg/nimble: extract own addr type during init 2019-03-07 16:20:36 +01:00
Hauke Petersen
fe56b73e07 pkg/nimble: wait for host/ctrl sync during init 2019-03-07 16:19:23 +01:00
Martine Lenders
f4145b3bfc
Merge pull request #11120 from fjmolinas/pkg/lwip_fix_URL
pkg/lwip: update pkg_url from git:// to https://
2019-03-07 11:15:06 +01:00
francisco
e4d5996526 pkg/lwip: update url from git:// to https:// 2019-03-07 10:03:58 +01:00
Hauke Petersen
51aa8fe407 examples/nimble_gatt: use gatt/gap svcs explicitly 2019-03-06 18:21:52 +01:00
Hauke Petersen
2f46f8c732 pkg/nimble: improve Makefile structure 2019-03-06 18:21:52 +01:00
Jose Alamos
82c7eac041 pkg/wakaama: Bump to v1.0
- copy basic objects from client implementation

- fix pkg warnings

- use lwm2m_strdup instead of strdup

- fix alignment problem in lwm2m data struct

- add fix of acc_ctrl object read
2019-02-27 10:48:08 +01:00
120a46c784 pkg/lwip: use xtimer_set64() in sys_arch_mbox_fetch()
Used _xtimer_set64 previously, which expects ticks instead of us.
That broke on non-1us xtimer ticks (e.g., hifive1 with 32kHZ).
2019-02-21 13:53:21 +01:00
f7abe8415d
pkg/semtech-loramac: fixing missing directive in doc
Setting the LORAMAC_ACTIVE_REGION define via cflags is required for any lorawan application to build
2019-02-20 21:39:16 +01:00
PeterKietzmann
8f766c3fac pkt/emb6: fix typo in hwrng call 2019-02-19 17:51:01 +01:00
afc85e3daa
pkg/semtech-loramac: improve send and recv functions doc 2019-01-30 18:58:43 +01:00
1f0b2c390e
pkg/semtech-loramac: better handle TX status from the MAC 2019-01-30 18:58:28 +01:00
cee830bd97
Merge pull request #10868 from jia200x/pr/pkg_loramac_calibration
pkg/semtech-loramac: add timer calibration
2019-01-25 15:55:03 +01:00
Jose Alamos
3c2617dfeb pkg/semtech-loramac: set default timer calibration values 2019-01-25 14:18:46 +01:00
Jose Alamos
5b4a26cd69 pkg/semtech-loramac: add timer calibration functions 2019-01-25 14:17:12 +01:00
Jose Alamos
b3d81af38a pkg/semtech-loramac: remove timer tweaks from contrib 2019-01-25 14:16:11 +01:00
Dylan Laduranty
b3e1802677 pkg/qDSA: add support for cortex-M23 2019-01-21 17:08:48 +01:00
Martine Lenders
8f5f6dcacd nordic_softdevice_ble: document working Linux versions
It is not 100% clear if 4.12 is the last version the softdevice is able
to interact with, but newer kernel versions than 4.12 definitely
don't work (we tried 4.15 on Ubuntu 18.04 and 4.20 on a quite recent
Arch).

The reason I believe it's the 4.12 that last worked is that in the
documentation of the nRF5 SDK it is mentioned for something called
"legacy mode" [1]. However, we are using the nRF5 *IoT* SDK which
doesn't mention this legacy mode at all.

I don't know if we can update the `pkg` to the other SDK, so I just
updated the documentation accordingly for now.

[1]: https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/group__ble__6lowpan__config?9932#ga5285fd3eaf403092286f607cd66850f3
2019-01-18 14:46:13 +01:00
Cenk Gündoğan
82f30fd8c4
Merge pull request #10514 from miri64/pkg/enh/nordic-softdevice-ble-mac48
pkg/nordic_softdevice_ble: Use MAC48 as hardware address
2019-01-17 19:22:36 +01:00
Martine Lenders
7f7bc8fc20 pkg/nordic_softdevice_ble: Use MAC48 as hardware address
This is just a compatibility issue waiting to happen as soon as there
is support for a more standard-compliant implementation of BLE (like
e.g. NimBLE ;-)).
2019-01-17 18:08:55 +01:00
Martine Lenders
d4b92e931e
Merge pull request #10789 from cladmi/pr/build_dir/fix_jerryscript
pkg/jerryscript: namespace BUILD_DIR variable
2019-01-16 18:57:42 +01:00
Gaëtan Harter
6a170583d6
pkg/jerryscript: namespace BUILD_DIR variable
BUILD_DIR was introduced but the variable was already used by
`pkg/jerryscript` so there is a name collision.
Namespace it to prevent issues.
2019-01-16 17:47:12 +01:00
7226daf33e
Merge pull request #10558 from dylad/pr/update_arm_cmsis
cpu/cortexm_common: Update ARM CMSIS to V5.4.0
2019-01-16 16:49:14 +01:00
danpetry
9fadbf60b4
Merge pull request #10190 from jcarrano/qualifier-fixes/lua
pkg/lua: Fix warnings on discarded qualifiers.
2019-01-16 12:13:29 +01:00
Dylan Laduranty
514812fc7c pkg/cmsis-dsp: update to V5.4.0 from ARM repo
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2019-01-15 21:33:24 +01:00
Juan Carrano
a8a23e4d85 pkg/lua/contrib: Fix warning on discarded qualifier.
There was a cast in a macro that calculated offsets. Since it was
only doing a pointer difference, the cast was inocuous, but I fix
it anyways.
2019-01-15 15:16:25 +01:00
Juan Carrano
cf2bca0d53 pkg/lua: Suppress warnings on discarded qualifiers.
Upstream lua has many instances of discarding cont qualifiers through
explicit casting. This disables the warnigns for the package so that
they don't show up when one enables -Wno-cast-qual globally.
2019-01-15 15:16:25 +01:00
Kevin "Bear Puncher" Weiss
9554f751d8
Merge pull request #6630 from OTAkeys/pr/cortex-m4f-fpu
cortexm_common: add FPU support for cortex-m4f and cortex-m7
2019-01-04 11:56:18 +01:00
Vincent Dupont
e06993e913 pkg/cmsis-dsp: include cpu_conf.h for __FPU_PRESENT define 2019-01-03 16:06:30 +01:00
Bas Stottelaar
af7f3544a8 pkg: gecko_sdk: update to v2.5 2018-12-30 23:35:57 +01:00
cladmi
04a91e9a42
jerryscript: re-enable LLVM/clang
Re-enable LLVM/clang now that system includes are used.
It compiles and correctly executes examples/javascript.
2018-12-19 17:12:31 +01:00