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

888 Commits

Author SHA1 Message Date
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
cladmi
cf12022d63
pkg/jerryscript: fix jerryscript not using system includes
Jerryscript was never using INCLUDES so never having the 'newlib-nano' or llvm
includes. It prevented working with `llvm`.

Disable unsupported warnings for ESP32 and ESP8266 newlib that show when
using system includes.
 * tested newlib version for ESP32 is 2.2.0
 * tested newlib version for ESP8266 is 3.0.0
2018-12-19 17:12:31 +01:00
cladmi
3a125b6396
pkg/jerryscript: build into '$(BINDIR)'
Build into the BINDIR directory instead of the source repository.
This makes 'clean' work as expected without other intervention.

Also it goes in the direction of having the package source repository
board independent.
2018-12-19 14:30:41 +01:00
cladmi
097575117c
pkg/jerryscript: build directory does not need to exist with -B 2018-12-19 14:30:41 +01:00
cladmi
d55ae9c7f9
pkg/jerryscript: remove unnecessary export and fix indent 2018-12-19 14:27:45 +01:00
cladmi
c4f8c006c4
pkg/jerryscript: use 'make -f' instead of copying makefile 2018-12-19 14:27:32 +01:00
cladmi
da3c075d1d
pkg/jerryscript: update rules
Remove unknown rules from .PHONY.
Make 'all' be the default target for jerryscript and execute `all` target.
This way no definition order issue could happen in the future.
2018-12-19 14:26:55 +01:00
cladmi
b7aa55b721
pkg/jerryscript: do not use Makefile.base
Do not include Makefile.base as 'DIRS' are not used here.
Also if 'all' target was to be used, there would be two rules creating
`$(BINDIR)/jerryscript.a`.

By default `Makefile.jerryscript` executes `libjerry` as it is the first
target.
2018-12-19 14:23:13 +01:00
Gaëtan Harter
3091cd85bd
Merge pull request #10361 from miri64/lwip/enh/bump-2.1.1
lwip: bump to version v2.1.2
2018-11-30 18:57:47 +01:00
Juan Carrano
d7789c08f2 nimble/Makefile: remove unnecessary warning suppression.
The -Wno-sometimes-uninitialized suppression seems to no longer be
necessary. Removing it as it may mask a real bug.

If the problem reappears, and if the comment is correct about it
being only in an unused function, then instead of adding the CFLAG,
it should be fixed locally via a patch.
2018-11-29 14:11:07 +01:00
Juan Carrano
2ffb83af6f pkg/nimble: add patch to fix pointer alignment issue.
Nimble contains a couple of casts that discard alignment information.
This causes a warning with clang's -Wno-address-of-packed-member.

A previous PR (#10503) supressed that warning. This commit re-enables
them and provides a patch to fix the offending code.

The fix has been submitted upstream, see
https://github.com/apache/mynewt-nimble/pull/252
2018-11-29 14:04:01 +01:00
Sebastian Meiling
47a662652e pkg/nimble: disable -Waddress-of-packed-member for llvm 2018-11-29 12:06:12 +01:00
Sebastian Meiling
f56d8d1b1c pkg/jerryscript: disable -Wconversion for llvm 2018-11-29 12:06:12 +01:00
smlng
618fd16699 tests/relic: move from unittests to regular test
This moves tests for the relic package from unittests to a regular
test, which should help to decrease binary size of unittests.
2018-11-27 20:41:26 +01:00
Juan I Carrano
d3e9eec8fe
Merge pull request #10060 from cladmi/pr/tests/build_system_checks
static_tests: add build system checks
2018-11-27 15:20:45 +01:00
Gaëtan Harter
a07ac29c71
pkg/tinycrypt: update commit hash after upstream rewrote history
Upstream rewrote history in master which changed our reference commit from

    3ea1a609e7

to

    6a22712beb

Diff can be verified to be empty with:

    6a22712beb...3ea1a609e7
2018-11-26 15:56:12 +01:00
Martine Lenders
2cbf83b6f7 lwip: bump to version v2.1.2
From lwIP CHANGELOG

(STABLE-2.1.2):

  ++ Bugfixes:

  2018-11-21: Jens Nielsen
  * netbiosns.c: fix expecting too large packet (bug #55069)

  2018-11-19: Dirk Ziegelmeier
  * smtp.c: fix compiling with strict C compatibility because of strnlen (bug #55034)

  2018-11-12: Simon Goldschmidt
  * tcp.c: fix overflow check in tcp_recved triggering invalid assertion (bug #55015)

  2018-11-12: Simon Goldschmidt
  * tcp.c: fix a bug in sending RST segments (sent from port 0)

(STABLE-2.1.1):

  ++ Bugfixes:

  2018-11-01: Joan Lledó
  * sockets.c: fix bad assertion in lwip_poll_dec_sockets_used() (bug #54933)

  2018-11-01: Dirk Ziegelmeier
  * ip4.c: don't send 127.* to default netif (bug #54670)

  2018-10-23: David Girault
  * altcp_tls_mbedtls.c: fix use-after free (bug #54774)

  2018-10-23: Ognjen Bjelica, Dirk Ziegelmeier
  * snmp_scalar.c: Avoid NULL pointer dereference (bug #54886)

  2018-10-23: Simon Goldschmidt
  * Fix missing standard includes in multiple files

  2018-10-17: Ivan Warren
  * def.h: fix casting htonX and ntohX to u16_t (bug #54850)

  2018-10-12: Simon Goldschmidt
  * Revert "tcp_abandon: no need to buffer pcb->local_port" (fix that source port was 0 for RST
    called when aborting a connection)

  2018-10-11: Jonas Rabenstein
  * tcp.c: tcp_recved: check for overflow and warn about too big values (patch #9699)

  2018-10-06: Joan Lledó
  * sockets.c: alloc_socket(): Check for LWIP_SOCKET_POLL when setting select-
    related variables (patch #9696)

  2018-10-04: Spencer
  * tcp.c: Update prev pointer when skipping entries in tcp_slowtmr (patch #9694)

  2018-09-27: Martine Lenders
  * lowpan6.c: Fix IEEE 802.15.4 address setting (bug #54749)
2018-11-24 14:33:19 +01:00
Hauke Petersen
755113d921 pkg/softdevice: use netdev_set_notsup() 2018-11-21 14:33:22 +01:00
Gaëtan Harter
c7de150ec3
pkg/fatfs: fix declaration of periph_rtc optional dependency
* Declare optional dependency to periph_rtc
* Move CFLAGS definition to Makefile.include
2018-11-19 15:59:54 +01:00
Hauke Petersen
8f2a825b58 pkg/nimble: ipmrove host initialization 2018-11-08 14:40:52 +01:00
Hauke Petersen
d5b019fdc2 pkg/nimble: disable selected compiler warnings 2018-11-08 14:10:58 +01:00
Martine Lenders
30dc2d91e1
Merge pull request #10203 from haukepetersen/opt_nimble_versioning
pkg/nimble: bump version to current master
2018-11-08 14:07:45 +01:00
Hauke Petersen
af57afe3ac pkg/nimble: bump version to current master 2018-11-08 12:40:48 +01:00
Martine Lenders
a077dc5782 emb6_sock_udp: unify cppcheck-suppress reason with others 2018-11-06 10:02:13 +01:00
Martine Lenders
9e3ce7b5a7 emb6_sock_udp: fix typo in cppcheck suppression 2018-11-06 10:00:47 +01:00
Martine Lenders
0d5dafe924 emb6_sock_udp: copy receive remote correctly
The `src` member of `sock_udp_t` for `emb6` is a pointer, not a value,
so it should not be referenced.

This fixes the output issue encountered during the
[2018.10 RC1 testing][RC1].

[RC1]: https://github.com/RIOT-OS/Release-Specs/issues/76#issuecomment-435924505
2018-11-05 17:18:48 +01:00
José Alamos
372a729e21
Merge pull request #10070 from OTAkeys/pr/bump_littlefs_version
pkg/littlefs: bump version to v1.6.2
2018-10-18 14:35:55 +02:00
9497a6d8dd
Merge pull request #10180 from leandrolanzieri/pr/pkg/semtech_timeout
pkg/semtech-loramac: Reduce timeout in timer
2018-10-18 08:25:15 +02:00
Leandro Lanzieri
0aa12b9f77 pkg/semtech-loramac: Reduce timeout in timer 2018-10-18 08:08:12 +02:00
Hauke Petersen
7351cba054 pkg/nimble: create ctrl thread with FLAG_STACKTEST 2018-10-17 20:26:42 +02:00
77d97a6fa2
Merge pull request #9336 from jia200x/openthread_ftd
pkg/openthread: rework of FTD and MTD support
2018-10-16 17:23:55 +02:00
Jose Alamos
6541678fea pkg/openthread: adapt to newer stdio uart header file 2018-10-16 15:25:44 +02:00
Jose Alamos
3a9665266e pkg/openthread: replace sed by patch 2018-10-16 15:25:44 +02:00
Jose Alamos
74ec336d03 pkg/openthread: move dependencies to pkg Makefile.dep 2018-10-16 15:25:44 +02:00
Jose Alamos
2bf6d01a87 pkg/openthread: add FTD and NCP support 2018-10-16 15:25:44 +02:00
Martine Lenders
620befe9ea lwip: move lwIP PSEUDOMODULES to pkg's Makefile.include 2018-10-15 21:40:31 +02:00
Martine Lenders
ab258b6783 lwip: provide patch to fix 6Lo hwaddr setting
Patch cherry-picked into upstream as [a47d30f].

[a47d30f]: http://git.savannah.nongnu.org/cgit/lwip.git/commit/?id=a47d30ffc7d36a79307486ca5e9a48f5bf89c7b6
2018-10-15 21:40:27 +02:00
Martine Lenders
fd69f2e63f lwip_netdev: fix setting of link-local address for 6Lo 2018-10-15 21:32:34 +02:00
Martine Lenders
6822f90004 lwip_sock: adapt for address zoning 2018-10-15 21:32:34 +02:00
Martine Lenders
aaa3861ab5 lwip: Bump version to v2.1.0
See release [blog] post for details.

[blog]: https://savannah.nongnu.org/forum/forum.php?forum_id=9248
2018-10-15 21:32:34 +02:00
Martine Lenders
dd30a51d2b lwip: ignore address warnings
lwIP uses a lot of macro "magic" (including dereferencing then
pointerizing pointers again) that confuses the static code checker of
most compilers.
2018-10-15 21:32:31 +02:00
Martine Lenders
95c114bc35 lwip: remove patches
Moves lwIP to an integration scheme more similar to newer `pkg`s.
2018-10-15 21:31:45 +02:00
2f2512601f pkg/semtech-loramac: add config storage to eeprom in API 2018-10-15 14:15:29 +02:00
da48e01029
Merge pull request #10109 from silkeh/add-libb2
pkg: add libb2 (BLAKE2)
2018-10-14 20:26:20 +02:00
Silke Hofstra
07c0ac81c7 pkg: add libb2 (BLAKE2) 2018-10-13 20:39:00 +02:00
Jose Alamos
6e38ab9a95 pkg/lora_serialization: add doc to serialization group 2018-10-10 11:25:08 +02:00
Martine Lenders
521d7bdfc2
Merge pull request #10096 from mtausig/feature/tiny-asn1_update
tiny-asn1: update package version
2018-10-08 14:01:19 +02:00
Mathias Tausig
2cc6637bee tiny-asn1: Fix documentation
Typo
New URL
2018-10-08 10:28:10 +02:00
Mathias Tausig
f600e27a64 tiny-asn1: Update package 2018-10-08 10:27:56 +02:00
Jose Alamos
470cec8935 pkg/minmea: change ingroup directive 2018-10-05 15:34:49 +02:00
Jose Alamos
59463449a4 pkg/jsmn: change ingroup directive 2018-10-05 15:34:49 +02:00
Jose Alamos
a30fbbc184 pkg/cn-cbor: change ingroup directive 2018-10-05 15:34:49 +02:00
Jose Alamos
93b4fe5f51 pkg/cayenne_lpp: change ingroup directive 2018-10-05 15:34:49 +02:00
Martine Lenders
0abd89e7e6 pkg/lwip: provide socket_zep support
This brings 802.15.4 support for native to lwIP. I used this to find
[this bug][1] and thought it might also be useful upstream. Downside:
There is no automated test for it yet.

[1]: https://savannah.nongnu.org/bugs/?54749
2018-10-05 10:39:38 +02:00
Vincent Dupont
7e47e36e55 pkg/littlefs: fix file buffer size 2018-10-03 11:54:17 +02:00
Vincent Dupont
7bb3e3dcc4 pkg/littlefs: bump version to v1.6.2 2018-10-03 10:59:47 +02:00
180917e108
tinycbor: add doc.txt 2018-10-01 09:32:59 +02:00
Martine Lenders
b78f78d3a1
Merge pull request #9947 from bergzand/pr/tinycbor/v052
tinycbor: Version bump to 0.5.2
2018-09-29 22:30:46 +02:00
0b65a33979
tinycbor: Version bump to 0.5.2
This release fixed some bugs related to disabling float support in the
parser.
The float support is now optional and can be enabled by including the
tinycbor_float module. This allows for compiling on AVR as that platform
doesn't support the float specific defines used by tinycbor.
2018-09-28 20:47:25 +02:00
Sebastian Meiling
22e03180fc
Merge pull request #9865 from jia200x/pr/doc_memory
doc: add `memory management` group
2018-09-27 15:45:39 +02:00
Jose Alamos
6089f4a10c doc/mem_management: add implementations and utils 2018-09-27 10:54:39 +02:00
José Alamos
4ca6cd70cb
Merge pull request #10049 from unwireddevices/riot-semtech-lorawan-ru864
pkg/semtech-loramac: RU864 band added
2018-09-26 17:22:58 +02:00
José Alamos
893795b638
Merge pull request #10050 from jia200x/pr/openthread_doc_typo
pkg/openthread: fix typo in documentation
2018-09-26 16:54:42 +02:00
Jose Alamos
4a8c7fb56a pkg/openthread: fix typo in documentation 2018-09-26 16:13:21 +02:00
Jose Alamos
e8c511d27e pkg/openthread: add supported radios in doc.txt 2018-09-26 16:06:34 +02:00
Oleg Artamonov
71460be40d pkg/semtech-loramac: RU864 band added 2018-09-26 16:31:29 +03:00
ad7ec70af0
Merge pull request #9863 from leandrolanzieri/pr/lora-serialization
pkg/lora-serialization: add support for lora-serialization format
2018-09-26 09:58:06 +02:00
Leandro Lanzieri
f2bda2bb69 pkg/lora-serialization: Add lora serialization external package
tests/pkg_lora-serialization: Add test application
2018-09-26 09:09:37 +02:00
61f3687ee2
Merge pull request #8864 from aabadie/pr/pkg/semtech-loramac_update_pkg
pkg/semtech-loramac: update to upstream v4.4.1 + cleanup
2018-09-26 08:57:40 +02:00
46c711152c pkg/semtech-loramac: improve MAC status management
- better handler duty cycle restriction of the MAC when joining and sending
- remove state attribute and rely on internal loramac busy state
- don't join if already joined
2018-09-25 22:22:13 +02:00
bd1968cac4 pkg/semtech-loramac: avoid conversion issue with timers 2018-09-25 22:22:13 +02:00
dylad
193491f6e9 pkg/semtech-loramac: fix wrong behaviour in time functions
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2018-09-25 22:22:13 +02:00
6eb1facac5 pkg/semtech-loramac: adapt to v4.4.1 2018-09-25 22:22:13 +02:00
smlng
506a5a770c pkg/openthread: use predefined env paths
Adapt Makefiles to use already defined environment paths instead
of redefining them.
2018-09-25 17:29:04 +02:00
Gaëtan Harter
fc32f81981
Merge pull request #9734 from miri64/pkg/fix/blacklist-llvm
pkg: blacklist selected `pkg`s for LLVM/clang
2018-09-21 15:33:49 +02:00
Martine Lenders
58f71508b9 jerryscript: blacklist LLVM/clang 2018-09-21 14:54:53 +02:00
Silke Hofstra
398d1d44d2 pkg: add libhydrogen 2018-09-21 13:48:00 +02:00
Gaëtan Harter
9c1d5e5201
Merge pull request #9970 from bergzand/pr/pkg/patchdoc
pkg: update patch documentation
2018-09-20 14:15:48 +02:00
78bc777cad
pkg: update patch documentation 2018-09-20 13:59:06 +02:00
6949fec89f
Merge pull request #9962 from Lotterleben/emb6_update_doc_pdf
emb6: update link to documentation pdf
2018-09-19 16:43:24 +02:00
Lotte Steenbrink
7f08ca15f5 emb6: update link to documentation pdf
Update the link to the emb6 documentation pdf to its state at the time of PKG_VERSION, since the pdf has since been deleted from https://github.com/hso-esk/emb6/tree/develop/doc/.

Resolves https://github.com/RIOT-OS/RIOT/issues/8596.
2018-09-19 14:26:58 +02:00
cladmi
d154123c92
pkg.mk: do not use user identity when applying patches
Use fixed identity when applying patches, it fixes issues when they are
not set in the build computer or if HOME is not exported.

The commits are only used in the build system so adding the building user
information is useless.
2018-09-19 12:09:54 +02:00
83851b5f44
monocypher: bump to v2.0.5 2018-09-15 16:00:12 +02:00
90f2f867d2
monocypher: increase stack requirements to 4096B 2018-09-15 16:00:12 +02:00
Martine Lenders
ed5dde00ec qDSA: blacklist LLVM/clang 2018-09-09 16:15:16 +02:00
Martine Lenders
6a56be5381 nrf_softdevice_ble: blacklist LLVM/clang 2018-09-09 16:15:16 +02:00
Martine Lenders
14eb7607d3 openthread: blacklist LLVM/clang
There is a problem with ranlib and LLVM/clang in this package
2018-09-09 16:15:16 +02:00
Martine Lenders
5aaa0b2b2c micro-ecc: blacklist LLVM/clang
LLVM/clang can't handle the inline assembler instructions in this
package
2018-09-09 16:15:16 +02:00
0cfdaab246
Merge pull request #9842 from jia200x/pr/doc_math
doc: add `math` group to Doxygen
2018-08-27 10:34:09 +02:00
Jose Alamos
961cc9d0d1 pkg/libfixmath: change ingroup directive 2018-08-24 18:14:03 +02:00
Martine Lenders
dde802f528 jerryscript: disable HAVE_TIME_H
Without this disabled `nanosleep()` is used, which isn't provided for
most our platforms (though the header `<time.h>` is).

Furthermore, that macro is only used in that instance throughout the
JerryScript codebase.
2018-08-22 13:50:57 +02:00
Martine Lenders
73e036d4eb jerryscript: bump version
Alternative to #9735, as it [includes that fix in upstream][851f4].

[851f4]: 851f4f0b89
2018-08-21 11:22:22 +02:00
Martine Lenders
7d296dfe31
Merge pull request #9776 from miri64/pkg/enh/nimble-llvm
nimble: deactivate -Wunused-function with LLVM/clang
2018-08-16 18:03:25 +02:00
Martine Lenders
2f15aa9747 nimble: deactivate -Wunused-function with LLVM/clang
When building `nimble` with LLVM/clang the function
`ble_ll_adv_active_chanset_is_sec()` in `ble_ll_adv.c` is reported to
be unused, it is used within an assertions and `ifdef`s within that
file though. So this just disables that warning.
2018-08-16 17:19:29 +02:00
Martine Lenders
90c4ddcfb1
Merge pull request #9704 from miri64/pkg/fix/cmsis-dsp-llvm
pkg: cmsis-dsp: fix -Wunknown-attributes for LLVM
2018-08-15 10:25:42 +02:00
Martine Lenders
f5d0c52650 pkg: cmsis-dsp: fix -Wunknown-attributes for LLVM
Apparently LLVM doesn't know the `optimize` attribute.
2018-08-15 10:13:08 +02:00
Gaëtan Harter
1aebe28f38
pkg/relic: check for minimal cmake version
relic does not build with cmake < 3.6.0. This checks for a minimal version
instead of failing to compile.

    cmake version 3.5.2 is not >= to minimal required 3.6.0

    Makefile:25: recipe for target '..cmake_version_supported' failed
2018-08-14 15:27:01 +02:00
Gaëtan Harter
b0986d91ff
pkg/ccn-lite: check for minimal cmake version
ccn-lite does not build with cmake < 3.6.0. This checks for a minimal version
instead of failing to compile.

    cmake version 3.5.2 is not >= to minimal required 3.6.0

    Makefile:25: recipe for target '..cmake_version_supported' failed

Tested with versions 3.5.2, 3.6.0-rc1, 3.6.0, 3.6.3, 3.7.0-rc1, 3.7.0.

Note: the check used does not consider '-rcX' as 'sort -V' does not handle them
properly.
2018-08-14 15:26:58 +02:00
smlng
990a76c80c pkg: update ccn-lite and adapt shell commands
This updates the ccn-lite package version which brings in the
    latest upstream fixes for some compiler issues found on macOS
    with clang and newer GCC versions.

    A minor adaption of the RIOT shell commands is also included.
2018-08-10 10:21:24 +02:00
Cenk Gündoğan
e19f6463c0
Merge pull request #9703 from miri64/pkg/fix/format-str-literal
pkg: deal with format string non-literals
2018-08-06 10:23:59 +02:00
Bas Stottelaar
b6265567ca pkg: gecko_sdk: update package version 2018-08-05 22:45:38 +02:00
Bas Stottelaar
f315ca71a1 pkg: gecko_sdk: disable -Wno-int-in-bool-context for llvm 2018-08-05 15:28:06 +02:00
Martine Lenders
d6cdf4d06f pkg: openthread: mark otPlatLog() as printf style function 2018-08-03 17:57:21 +02:00
Martine Lenders
0a5acd91cf pkg: tinydtls: ignore -Wformat-nonliteral 2018-08-03 17:56:34 +02:00
Martine Lenders
6a693b4b2d pkg: libcoap: ignore -Wformat-nonliteral 2018-08-03 17:56:22 +02:00
Gaëtan Harter
ea06482b25
pkg/semtech-loramac: Fix -Wformat llvm warning
Fixed warning

    format specifies type 'unsigned long' but the argument has type 'uint32_t' (aka 'unsigned int')
2018-08-02 17:20:43 +02:00
Martine Lenders
7909ce527f
Merge pull request #9626 from jia200x/pr/loramac_patch
semtech-loramac: fix uninitialized datarate
2018-08-02 14:57:30 +02:00
Sebastian Meiling
26c689ffbb
Merge pull request #9548 from RIOT-OS/new_i2c_if3
I2C: introduce and adapt new I2C interface (2nd attempt)
2018-08-02 12:00:59 +02:00
Martine Lenders
82c318224b tlsf: fix for llvm
The `__GNUC__` is also available in `clang` as is just used to provide
the major version of a GNU-C compatible compiler [[1]]. So I check for
`tlsf` if the `alloc_size()` is available by using the combination of
macros as proposed here: https://stackoverflow.com/a/43205345/395687

[1]: https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html
2018-07-31 21:35:29 +02:00
Gaëtan Harter
7913dd90dd
pkg/libfixmath: Replace __FILE__ by RIOT_FILE_NOPATH
The binary file size changes when the RIOT directory is moved.
This caused the `libfixmath_unittests` to fail on my computer.

I used RIOT_FILE_NOPATH instead of RIOT_FILE_RELATIVE as 'TEST' is used a lot
and it would allow more boards to be tested, full path is not that important.
2018-07-31 11:56:18 +02:00
Juan I Carrano
d3c75aa337
Merge pull request #9588 from miri64/pkg/fix/lwip-thread-wrapper
lwip: fix lwip thread_create() wrapper
2018-07-26 19:33:57 +02:00
Gaëtan Harter
8ec1fb2c2f
pkg/pkg.mk: allow overwriting GITAMFLAGS from environment var
On IoT-LAB the git version does not support `--no-gpg-sign` so I would like a
way to overwrite GITAMFLAGS from environment variable.
2018-07-25 18:53:07 +02:00
Bas Stottelaar
01d8c7b4f8 pkg: u8g2: adapt to new I2C api. 2018-07-25 12:01:38 +02:00
Jose Alamos
f963c684f4 semtech-loramac: fix uninitialized datarate 2018-07-24 11:49:14 +02:00
Martine Lenders
adbc977370 emb6_sock_udp: fix atomic initialization 2018-07-19 20:45:53 +02:00
Martine Lenders
dbafd505fd emb6: ignore llvm warnings 2018-07-19 20:44:43 +02:00
Martine Lenders
51a9ac1795
Merge pull request #9355 from gebart/pr/Wformat
cflags: add -Wformat=2 -Wformat-overflow -Wformat-truncation
2018-07-19 15:23:10 +02:00
Gaëtan Harter
c509b6f05c lua: remove unsupported flags for llvm
Prevents error:

  clang: error: unknown argument: '-fstack-usage'
  clang: error: unknown argument: '-fconserve-stack'

The flags are here to print debug information and try to optimize stack but are
not required.
2018-07-19 14:06:35 +02:00
Joakim Nohlgård
1a1c8f6c2a
pkg/ccn-lite: build with -Wno-format-nonliteral 2018-07-18 15:29:06 +02:00
Joakim Nohlgård
209050d382
pkg/oonf_api: Build with -Wno-format-nonliteral 2018-07-18 15:29:06 +02:00
Joakim Nohlgård
7cb21f651a
pkg/lua: build with -Wno-format-nonliteral 2018-07-18 15:29:06 +02:00
Martine Lenders
6c58441d06 lwip: fix lwip thread_create() wrapper 2018-07-17 14:13:01 +02:00
Martine Lenders
ecaef7bfc5
Merge pull request #9575 from bergzand/pr/pkg/emb6/rnd_conflict
pkg/emb6: Add random functions to rename patch
2018-07-16 15:35:42 +02:00
f2791dcec5
pkg/emb6: Rebuild patches for consistency 2018-07-16 14:30:28 +02:00
3c128a0ed7
pkg/emb6: Add utils/random to rename patch
Both random_init and random_rand are prefixed with emb6_ to prevent
function name collisions with RIOT
2018-07-16 14:27:38 +02:00
Peter Kietzmann
446ff9f282
Merge pull request #9553 from bergzand/pr/pkg/lwip/set_netdev_events
lwip: explicitly set required netdev events
2018-07-13 17:09:45 +02:00
Peter Kietzmann
0aa5d8139b
Merge pull request #9556 from bergzand/pr/pkg/emb6/set_netdev_events
emb6: explicitly configure RX complete interrupt
2018-07-13 13:58:44 +02:00
acf7a104d2
emb6: explicitly configure RX complete interrupt 2018-07-12 12:34:15 +02:00
da8589ce4c
openthread: Enable RX complete netdev event
Fixes issue where openthread assumed that this flag was enabled by
default with netdev devices
2018-07-12 12:13:54 +02:00
e7debdb865
lwip: explicitly set required netdev events 2018-07-12 12:00:39 +02:00
a528f96d7d pkg/semtech-loramac: use random_uin32() to generate random integer
Then the patched srand1 function used by loramac is closer to the original code and won't crash because of negative values
2018-07-10 08:58:46 +02:00
a3fc323cf5
Merge pull request #7615 from rfuentess/dtls_upgrade
Improving TinyDTLS package and dtls-echo example
2018-07-04 11:57:48 +02:00
Raul Fuentes
4092eda744 examples/dtls-echo: Cleaning and upgrade to sock
Due to all the changes, this is basically a new version for this
example. The main benefit is the use of sock_udp but also the client
side is now more robust and reliable.

The parameters required for the PSK and ECC (e.g. keys) modes are moved
to an unique header.
2018-07-04 11:35:08 +02:00
Raul Fuentes
61f56ddb14 pkg/tinydtls: Moving to official repository
The integration of TinyDTLS for RIOT has been merged into the
development branch of the official repository.

It will be officially available on the master branch in the next
release of tinyDTLS.

Other minor updates:
- Support for the RIOT's memarray
- tinydtls/sha2 is removed from the compilation for giving priority
to RIOT's sha2 functions.
2018-07-04 11:33:58 +02:00
danpetry
f47bbfea5f
Merge pull request #9153 from jcarrano/lua-on-riot
pkg/lua: Better Lua-RIOT integration
2018-07-02 16:00:35 +02:00
danpetry
ed4411602c pkg/lua: Provide better integration with RIOT
- Remove file related functions from loader.
 * All packages must be builtin.
- Remove os.tmpname.
- Interface with TLSF.
- Don't abort() when out of memory.
2018-07-02 15:13:10 +02:00
Juan I Carrano
122ebb0b75
Merge pull request #9463 from bergzand/pr/pkg/monocypher/initial
Monocypher: Initial import of package
2018-07-02 14:55:23 +02:00
306731a790
monocypher: Initial import of package
Support for monocypher as crypto library. Blazing fast performance, but
double the flash requirement compared to TweetNaCl. Stack usage is
around 70% of TweetNaCl
2018-07-02 13:59:08 +02:00
Francisco Acosta
4b7f85de75
Merge pull request #9285 from Lydrin/master
pkg/jerryscript: update to latest commit
2018-06-29 18:14:02 +02:00
Gaëtan Harter
609c7073db
pkg/relic: use RIOTTOOLS variable 2018-06-28 14:11:00 +02:00
Cenk Gündoğan
d140aa1c8e
Merge pull request #9382 from miri64/sock/enh/i9376
sock_udp: allow creation with ephemeral ports
2018-06-21 12:16:40 +02:00
Cenk Gündoğan
bde61caf03
Merge pull request #9383 from cladmi/pr/pkg/doublecflags
pkgs/cmake: fix CFLAGS given two times
2018-06-21 08:54:41 +02:00
Tobias Markmann
3288f7a5ae pkg/relic: Update to new upstream and remove patches
The removed patches have been applied upstream.
2018-06-20 22:09:25 +02:00
smlng
bbbc149595
pkg/jerryscript: remove duplicate CFLAGS definition 2018-06-20 15:34:50 +02:00
smlng
98d02dec3b
pkg/ccn-lite: remove duplicate CFLAGS definition 2018-06-20 15:34:47 +02:00
Martine Lenders
0151655de5 lwip_sock_udp: provide port for #9376 API fix 2018-06-20 14:51:17 +02:00
Martine Lenders
45107b529d emb6_sock_udp: provide port for #9376 API fix 2018-06-20 14:51:17 +02:00
Gaëtan Harter
acef97aa15
Merge pull request #9243 from cladmi/pr/warning/missing_include_dirs
makefiles/cflags.inc.mk: add -Wmissing-include-dirs flag
2018-06-18 13:13:54 +02:00
Hauke Petersen
5220243853 pkg: add support for tinycrypt 2018-06-15 10:49:38 +02:00
Gaëtan Harter
48143e9389
pkg/tiny-asn1: remove non existing include directory
In this Makefile, 'CURDIR' is RIOTBASE/pkg/tiny-asn1 directory which does not
exist and not PKGDIRBASE/tiny-asn1.

The correct include directory is set by pkg/tiny-asn1/Makefile.include.
2018-06-12 14:08:25 +02:00
Gaëtan Harter
a8e3b6846d
pkg/openthread: remove non existing include directory 2018-06-12 14:08:21 +02:00
Gaëtan Harter
07e7426160
pkg/libcoap: remove non existing include directory 2018-06-12 14:08:17 +02:00
Martine Lenders
91c65e40f8
Merge pull request #9327 from cgundogan/pr/tlsf_total_sizes
tlsf: add custom walker to get total free / used sizes
2018-06-12 10:07:07 +02:00
Cenk Gündoğan
0009213072 tlsf: add custom walker to get total free / used sizes 2018-06-12 09:43:48 +02:00
70407a1a3e pkg*: fix doxygen grouping 2018-06-11 19:12:02 +02:00
Cenk Gündoğan
5ca031d4fa
Merge pull request #9179 from PeterKietzmann/pr_ccnl_shell_cs
shell/ccnl: use new CS add method
2018-06-10 13:35:50 +02:00
PeterKietzmann
f9eb43cf97 pkg/ccnl: clean up build dependencies 2018-06-10 13:24:28 +02:00
PeterKietzmann
917707ef1c pkg/ccnl: version bump 2018-06-10 12:11:45 +02:00
Hauke Petersen
24a7f26eee pkg: add support for NimBLE as package 2018-06-06 13:52:58 +02:00
Bas Stottelaar
63ca613012 pkg: gecko_sdk: upgrade SDK to include utility methods 2018-06-04 18:16:41 +02:00
Anthony
a650a43df2 pkg/jerryscript: update Javascript example up to date 2018-06-04 16:22:23 +02:00
José Alamos
2b08ea351c
Merge pull request #8847 from danpetry/lua_initial
Lua support - initial PR
2018-05-25 11:53:25 +02:00
Loïc Dauphin
260bc37958
Merge pull request #5914 from cgundogan/pr/ndn-riot_as_a_pkg
pkg: ndn-riot: initial import of ndn-riot as a package
2018-05-24 18:29:22 +02:00
danpetry
69888b5c4c pkg/lua: add download and build of lua as pkg
- download of v5.3.4 of Lua from git
- building using RIOT build system
- patched to remove the need for _times and _link to be
provided to Lua via newlib.
2018-05-24 17:56:05 +02:00
Francisco Acosta
f49b8bbf49
Merge pull request #9020 from bergzand/pr/pkg/tinycbor
pkg/tinycbor: Initial import
2018-05-24 15:16:03 +02:00
Cenk Gündoğan
39ccd64965 pkg: ndn-riot: initial import of ndn-riot pkg 2018-05-24 10:58:26 +02:00
c4bfba7681
pkg/tinycbor: initial import 2018-05-23 16:58:25 +02:00
Juan Carrano
cf686bde2d pkg/tlsf: Refactor the TLSF package and bring back original TLSF api.
- Cleanup package makefile.
- Download directly from git.
- Remove giant patch.
- Implement malloc function as a contrib package.
- Update ccn example.
- Update ps command.
2018-05-18 15:41:07 +02:00
236c4f29a8
Merge pull request #9140 from gebart/pr/libcose-randombytes
pkg/libcose: Use RIOT random_bytes instead of randombytes
2018-05-15 21:44:05 +02:00
b0099f7220
Merge pull request #9138 from gebart/pr/hacl-randombytes
pkg/hacl: Use RIOT random_bytes instead of randombytes
2018-05-15 21:42:34 +02:00
Joakim Nohlgård
3efd3829f4 pkg/libcose: Use RIOT random_bytes instead of randombytes 2018-05-15 18:18:32 +02:00
Joakim Nohlgård
c11f9d214a pkg/tweetnacl: Use RIOT random_bytes instead of randombytes 2018-05-15 18:15:39 +02:00
Joakim Nohlgård
86b5f648ce pkg/hacl: Use RIOT random_bytes instead of randombytes 2018-05-15 18:10:18 +02:00
87090072cf pkg/semtech-loramac: handle all mcps confirm cases 2018-05-08 11:14:05 +02:00
jia200x
736c757b80
Merge pull request #8639 from aabadie/pr/pkg/loramac_link_check
pkg/semtech-loramac: add link check support
2018-05-08 11:11:33 +02:00
b1eb793274 pkg/qDSA: disble arm asm version for cortexm > 0plus 2018-05-07 14:24:26 +02:00
Gaëtan Harter
1de1830108
pkg: use RIOTTOOLS variable
Follow up to #9067 and part of #8821
2018-05-04 11:34:38 +02:00
8d6f5ddfcf
Merge pull request #9015 from cladmi/pr/pkg/do_not_sign_patches
pkg/pkg.mk: do not sign when applying patches
2018-04-25 09:40:10 +02:00
Gaëtan Harter
2fe2fff92d
pkg/pkg.mk: Do not sign when applying patches
Disable signing every applied patches for user that have gpgsign by default.
2018-04-24 21:11:33 +02:00
Gaëtan Harter
593dac9044
pkg/pkg.mk: add GITAMFLAGS variable 2018-04-24 21:11:25 +02:00
Gaëtan Harter
caccc2102d
pkg: cleanup old GIT_APPLY_PATCHES variable
variable usage was removed in 0fb50ebeda
2018-04-24 21:07:04 +02:00
8329bc2c68 pkg/semtech-loramac: add link check request support 2018-04-19 13:29:47 +02:00
f4efb5b761 pkg/semtech-loramac: update documentation 2018-04-19 11:44:52 +02:00
5b76fdf46e pkg/semtech-loramac: refactor API to make it thread-safe 2018-04-19 11:44:51 +02:00
6c39d2d621
pkg/libcose: Add package for COSE 2018-04-16 19:01:27 +02:00
Dylan Laduranty
ff5817c569
Merge pull request #8926 from aabadie/pr/drivers/sx127x_fixes
drivers/sx127x: various improvements
2018-04-16 16:10:27 +02:00
ad8e69da96
pkg/cn-cbor: compile with context pointer support 2018-04-16 15:27:43 +02:00
Bas Stottelaar
5c9566264e pkg: u8g2: update package structure + version 2018-04-15 11:05:58 +02:00
46938f6153
Merge pull request #8244 from beurdouche/hacl_ng
pkg: add support for HACL*
2018-04-14 21:32:43 +02:00
Benjamin Beurdouche
1d3207f38b Initial HACL* package and tests 2018-04-14 13:43:27 +02:00
d59a311b1f
pkg/tweetnacl: Remove unused includes in randombytes 2018-04-14 12:46:20 +02:00
c11932ae2a
Merge pull request #8938 from bergzand/pr/cn-cbor-update
pkg/cn-cbor: Bump version, remove patch
2018-04-12 22:16:07 +02:00
72b59cfc2e
pkg/cn-cbor: Bump version
Patches for unaligned memory access are upstreamed and thus removed
here
2018-04-12 21:07:43 +02:00
7f33127d92 pkg/semtech-loramac: better handle radio init errors 2018-04-12 12:49:46 +02:00
8320c7970c
Merge pull request #8924 from OTAkeys/pr/fix_spiffs_c11
pkg/spiffs: remove c11 dependency and clean-up makefile
2018-04-12 10:02:20 +02:00
Vincent Dupont
0d872bb616 pkg/spiffs: remove c11 dependency 2018-04-12 09:55:52 +02:00
Vincent Dupont
26f77e0565 pkg/spiffs: clean-up makefiles 2018-04-12 09:54:04 +02:00
Vincent Dupont
9a2b7b7ff9 pkg/littlefs: disable error prints 2018-04-12 09:21:02 +02:00
Gaëtan Harter
14d6cd5010 pkg/ccn-lite: replace curly braces with parenthesis
Follow up to #8822 cleanup.
2018-04-10 14:31:00 +02:00
Bas Stottelaar
ebdf7a5aa9 pkg: ucglib: add support 2018-04-05 14:20:42 +02:00
Francisco Acosta
baf1b8f6e9
Merge pull request #8791 from kaspar030/fix_cn-cbor
pkg: cncbor: misc fixes
2018-04-04 16:18:43 +02:00
4c14ba158d pkg/cn-cbor: add alignment safe ntoh*p() patch 2018-04-04 15:05:22 +02:00
Bas Stottelaar
a8e57ff496 pkg: gecko_sdk: update to 2.2 2018-04-03 19:25:17 +02:00
Gaëtan Harter
b502637f60
Merge pull request #8509 from smlng/cmake/xcompile
pkg: fix cross compiling with cmake on macOS
2018-03-29 14:20:11 +02:00
smlng
0e26cf849d pkg/relic: adapt cmake xcompile on macOS 2018-03-27 19:03:51 +02:00
smlng
3ad07c6a9d pkg/ccn-lite: fix xcompile with cmake on macOS 2018-03-27 19:03:27 +02:00
ec82c65b90 pkg: add support for Cayenne LPP format 2018-03-23 08:54:27 +01:00
328e2075e2 pkg*: replace curly braces by parenthesis in makefiles 2018-03-22 09:12:12 +01:00
Emmanuel Baccelli
88e61ed353
Merge pull request #8781 from kaspar030/add_qdsa_pkg
pkg: add qDSA package
2018-03-16 16:30:38 +01:00
44fc8ea9ca pkg/cn-cbor: add missing posix dependency 2018-03-16 15:34:48 +01:00
Emmanuel Baccelli
a367e378c8
Merge pull request #8467 from lorenz9314/pr_cn_cbor_unit_tests
pkg: add cn-cbor CBOR implementation plus unit tests
2018-03-16 14:28:44 +01:00
Lorenz Hüther
711766312f tests/unittests: Added unit tests for pkg cn-cbor, removed old tests. 2018-03-16 13:52:40 +01:00
70f0d844ac pkg: add cn-cbor CBOR implementation 2018-03-16 12:51:51 +01:00
Joakim Nohlgård
8873a7102e
Merge pull request #8615 from gebart/pr/fatfs-paths
pkg/fatfs: Refactor path handling, minor fixes
2018-03-15 09:21:48 +01:00
300712c1e7 pkg/qDSA: initial commit 2018-03-14 21:27:14 +01:00
9f3aa366a3 pkg: tweetnacl: use random_bytes() 2018-03-14 18:17:35 +01:00
Joakim Nohlgård
5fb07e89b4 pkg/fatfs: refactor absolute path handling 2018-03-14 11:56:51 +01:00
a8ae3b482a pkg/openthread: fix doxygen documentation 2018-03-07 11:09:58 +01:00
Martine Lenders
17782003c7
Merge pull request #8667 from aabadie/pr/pkg/doc_nordic_softdevice
pkg/nordic_softdevice_ble: add missing doxygen documentation
2018-03-07 11:07:24 +01:00
Martine Lenders
89127d7e60
Merge pull request #8740 from aabadie/pr/pkg/semtech-loramac-make-fix
pkg/semtech-loramac: small enhancements in package Makefile
2018-03-07 11:05:16 +01:00
c4b1fa6e32 pkg/semtech-loramac: adapt to iolist netdev 2018-03-06 14:00:32 +01:00
d396d75d55 pkg/openthread: update to use iolists 2018-03-06 14:00:32 +01:00
4e5e5007c7 pkg/emb6: update to use iolists 2018-03-06 14:00:32 +01:00
403faf2314 pkg/lwip: update to use iolists 2018-03-06 14:00:32 +01:00
Martine Lenders
0b8a467e98
Merge pull request #8728 from cgundogan/pr/ccnl_fix
pkg: ccn-lite: minor changes to integrate latest ccn-lite features
2018-03-05 21:52:17 +01:00
Cenk Gündoğan
92b761df2f pkg: ccn-lite: minor changes to integrate latest ccn-lite features 2018-03-05 21:25:26 +01:00
d6cf5a1c2f pkg/semtech-loramac: small enhancement in Makefile
- use https protocol in source url
- hide cp commands used for package Makefiles
2018-03-05 18:06:04 +01:00
Sebastian Meiling
ddb8127374
Merge pull request #8600 from OTAkeys/pr/update_littlefs
pkg: update littlefs pkg to v1.3
2018-03-05 11:45:54 +01:00
Vincent Dupont
dcc4a5ae9f
Merge pull request #8273 from OTAkeys/pr/spiffs-multi-partitions
pkg/spiffs: add multi-partitions support
2018-03-02 14:15:47 +01:00
Samantha Wojtowicz
ced65bbf5b pkg/spiffs: add multi-partitions support
Two new fileds added in spiffs descriptor:
 - base_addr: base address of the partition
 - part_block_count: number of sectors in the partition
If part_block_count is 0, the whole underlying MTD is used
2018-03-02 13:45:17 +01:00
a4326620db pkg/nordic_softdevice_ble: add missing documentation 2018-03-01 15:31:08 +01:00
76fcb1df68 pkg/semtech-loramac: fix doxygen documentation 2018-03-01 14:06:54 +01:00
9b286c73d3 pkg/semtech-loramac: small fixes
- link to loramac-node github repository is broken
- the example code should return after a failed join procedure
2018-02-28 23:46:43 +01:00
Vincent Dupont
3b26d4abf0 pkg/littlefs: add new error codes support 2018-02-27 16:24:06 +01:00
Martine Lenders
dbbf18a54a
Merge pull request #8427 from smlng/pkg/ccnlite/bump_version
pkg/ccn-lite: bump version to fix compile error
2018-02-26 12:17:35 +01:00
87d322cc9e pkg/semtech-loramac: improve package documentation 2018-02-25 14:22:30 +01:00
dfc89d0256 pkg/openthread: cleanup + fix implicit-fallthrough warning 2018-02-22 09:14:25 +01:00
smlng
8e151e9f0c pkg/umorse: fix missing posix defines for usleep 2018-02-21 11:44:27 +01:00
smlng
218dc728e5 pkg/gecko_sdk: fix compile error 2018-02-21 11:25:20 +01:00
Vincent Dupont
6703be65d0 pkg/littlefs: clean-up Makefile 2018-02-20 10:57:18 +01:00
Vincent Dupont
90062fae61 pkg/littlefs: update pkg to v1.3 2018-02-20 10:24:50 +01:00
Joakim Nohlgård
73c11a366c
Merge pull request #8430 from smlng/gcc7/ignore_fallthroughs
make: ignore fallthroughs errors with GCC 7.x
2018-02-19 11:04:16 +01:00
Martine Lenders
388d8ab841 emb6: remove patch to fix warnings and ignore them instead
This allows for easier maintainance of the package, since smaller
patches lead to less conflicts when applying these patches.
2018-02-15 19:07:34 +01:00
Martine Lenders
06ab28a9a1 emb6: ignore implicit fallthrough errors by GCC 7 2018-02-15 19:07:34 +01:00
Martine Lenders
2b3b225485 emb6: allow for warnings to be disabled
Currently, due to the way emb6 is compiled in our build system, it is
not possible to deactivate certain warnings. This fix provides a
solution for that, by building the submodules in the package build step
instead of on their own, similar to how JerryScript is build.
2018-02-15 19:07:34 +01:00