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