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

785 Commits

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