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

672 Commits

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