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
d4bdac7e5c
Merge pull request #9513 from cladmi/pr/make/llvm/nano
...
newlib.mk: llvm, fix newlib-nano header not used
2018-08-02 17:00:38 +02:00
Gaëtan Harter
0a4a359555
Merge pull request #9681 from miri64/tests/fix/cayenne-lpp-llvm
...
tests: fix cayenne-lpp test for LLVM
2018-08-02 16:07:27 +02:00
Gaëtan Harter
d5505930cc
Merge pull request #9672 from miri64/gnrc_ipv6/fix/8215-regression
...
gnrc_ipv6: fix regression from #8215
2018-08-02 15:40:51 +02:00
Martine Lenders
35b798e486
tests: fix cayenne-lpp test for LLVM
...
Fixes #9680
2018-08-02 15:33:29 +02:00
Martine Lenders
f946314837
gnrc_ipv6: refactor to remove superfluous temporary variable
...
Since no release in this function is required anyways, we can just use
`payload` to check the return value directly.
2018-08-02 15:20:59 +02:00
Martine Lenders
cb4f6a96a8
gnrc_ipv6: correctly reset from temporary variable
...
While `tmp` in the loop for write-protection for the check-sum
calculation is used to check the return value of
`gnrc_pktbuf_start_write()`, it was never overwriting `payload` causing
the original snip to be used in the following iteration `prev` when
duplicated, and destroying the sanity of `ipv6`.
2018-08-02 15:17:40 +02:00
Martine Lenders
72e9b1f623
gnrc_ipv6: remove superfluous release
...
The packet handed to `_fill_ipv6_hdr()` is already released in the
caller (in the current version this is only `_save_fill_ipv6_hdr()`).
2018-08-02 15:16:08 +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
Cenk Gündoğan
36529e3d61
Merge pull request #9586 from miri64/dist/fix/iotlab-term
...
iotlab-support: use iotlab command to check credentials
2018-08-02 09:26:07 +02:00
Gaëtan Harter
9786d2fd0b
Merge pull request #9675 from miri64/tests/fix/group-macro
...
tests: gnrc_netif: fix group join iteration macro
2018-08-01 23:17:07 +02:00
Martine Lenders
39304987c3
Merge pull request #9668 from gschorcht/sdcard_spi
...
driver/sdcard_spi: fix of issue #9667
2018-08-01 22:16:55 +02:00
Martine Lenders
5921447291
tests: gnrc_netif: fix group join iteration macro
...
The `test_ipv6_group_join__ENOMEM()` tests joining multicast groups,
so we need to iterate `GNRC_NETIF_IPV6_GROUPS_NUMOF` times to fill up
all addresses, not `GNRC_NETIF_IPV6_ADDRS_NUMOF`.
2018-08-01 20:44:49 +02:00
Gunar Schorcht
bd4661bc19
drivers/sdcard_spi: fix of #9667
2018-08-01 20:41:30 +02:00
Martine Lenders
0a8d5e0fb9
Merge pull request #9670 from cladmi/pr/asymcute_mqttsn/documentation
...
examples/asymcute_mqttsn: fix target name
2018-08-01 20:26:29 +02:00
Martine Lenders
1fcf23c512
Merge pull request #9650 from cladmi/pr/tests/gnrc_sixlowpan
...
tests/gnrc_sixlowpan: enable test on murdock
2018-08-01 20:23:29 +02:00
Gaëtan Harter
2ce25d44b7
Merge pull request #9654 from miri64/tests/fix/gnrc_ipv6_ext-dummy-iface
...
tests: gnrc_ipv6_ext: replace default netif with dummy
2018-08-01 20:07:22 +02:00
Gaëtan Harter
4e83e18dc8
examples/asymcute_mqttsn: fix target name
...
Target name is `mosquitto_rsmb` and not `rsmb`.
2018-08-01 19:49:57 +02:00
Martine Lenders
af30e08351
Merge pull request #8378 from Icaltary/sx127x_get_rx_state
...
drivers/sx127x: return correct state when device is receiving
2018-08-01 17:34:41 +02:00
Martine Lenders
c4ba2b55d0
tests: gnrc_ipv6_ext: replace default netif with dummy
...
Use a minimalistic dummy instead of the default interface for testing
the `gnrc_ipv6_ext` module.
Currently the default interface is used which leads to problems with
this test, since random traffic on the medium or a missing default
interface might lead to failed results.
Since the `tap` dependency is removed for `native`, I add this test for
testing on CI.
2018-08-01 17:25:58 +02:00
Gaëtan Harter
edefd096d0
tests/gnrc_sixlowpan: enable test on murdock
2018-08-01 15:27:23 +02:00
Peter Kietzmann
0230c2cac1
Merge pull request #8551 from aabadie/pr/readme_features
...
README: update features list + line length cleanup
2018-08-01 10:09:06 +02:00
Martine Lenders
e57ae7d05e
Merge pull request #9661 from miri64/native/fix/non-literal-syscall
...
native: ignore -Wformat-nonliteral for formatting syscalls
2018-08-01 09:24:32 +02:00
Martine Lenders
d6ec8e0122
Merge pull request #9659 from miri64/pkg/fix/tlsf-llvm
...
tlsf: fix for llvm
2018-08-01 09:20:09 +02:00
Martine Lenders
ad133da209
native: ignore -Wformat-nonliteral for formatting syscalls
...
The point of that call is to wrap the actual host system's formatting
functions, so the non-literal formatting string is alright here.
2018-08-01 09:03:01 +02:00
Martine Lenders
5ea5904d41
Merge pull request #9648 from miri64/tests/fix/gnrc_sixlowpan-dummy
...
tests: gnrc_sixlowpan: replace default netif with dummy
2018-07-31 22:01:47 +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
Martine Lenders
6c2510dc53
tests: gnrc_sixlowpan: replace default netif with dummy
...
Use a minimalistic dummy instead of the default interface for testing
the `gnrc_sixlowpan` module
Currently the default interface is used which leads to problems with
this test, since random traffic on the medium might lead to failed
results.
2018-07-31 20:59:03 +02:00
Gaëtan Harter
33389dd640
Merge pull request #9507 from ZetaR60/RIOT_docker_compat
...
tests/*: memory blacklisting for new Docker image
2018-07-31 19:58:37 +02:00
Peter Kietzmann
e897826cc7
Merge pull request #9616 from bergzand/pr/at86rf2xx/always_set_channel
...
at86rf2xx: Always set channel on device
2018-07-31 18:33:44 +02:00
ZetaR60
3ab20292a3
Merge pull request #9643 from cladmi/pr/libfixmath/debug
...
pkg/libfixmath: replace __FILE__ by RIOT_FILE_NOPATH
2018-07-31 11:59:38 -04:00
Matthew Blue
25c7b3ceeb
tests/*: memory blacklisting for new Docker image
2018-07-31 11:48:11 -04:00
Martine Lenders
a15a1b64d9
Merge pull request #9649 from miri64/tests/fix/gnrc_sixlowpan-print
...
tests: gnrc_sixlowpan: fix expect for #9585
2018-07-31 16:22:27 +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
Martine Lenders
c289cccb42
tests: gnrc_sixlowpan: fix expect for #9585
...
PR #9585 changed the output for the dump slightly, so now this test
is failing. This fixes that and should also fix some issues from the
2017.07 release tests.
2018-07-30 18:03:22 +02:00
Gaëtan Harter
5284849621
Merge pull request #9063 from bergzand/pr/shellcheck/initial
...
shellcheck: Add CI check script
2018-07-30 13:52:58 +02:00
c5c3903617
shellcheck: Add CI check script
2018-07-29 15:28:13 +02:00
Juan I Carrano
883280b73d
Merge pull request #9635 from cladmi/pr/docker/allow_using_sudo
...
makefiles/docker.inc.mk: allow using sudo for docker
2018-07-27 16:39:13 +02:00
Gaëtan Harter
f996e1ca78
Merge pull request #9627 from cladmi/pr/sc_can/uninitialized
...
shell/sc_can: fix uninitialized warning
2018-07-27 12:34:19 +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
e5c49aa486
makefiles/docker.inc.mk: allow overwriting 'docker' command
...
Not all users register their user in the docker group and should not run the
whole make process as root to use docker.
They can now overwrite DOCKER with `DOCKER="sudo docker"`.
Creating files as a user is correctly handled as `id -u` is still run as the
original user.
2018-07-26 14:30:39 +02:00
Juan I Carrano
b4feb4dc85
Merge pull request #9637 from cladmi/pr/pkg/allow_overwriting_gitamflags
...
pkg/pkg.mk: allow overwriting GITAMFLAGS from environment var
2018-07-26 14:06:05 +02:00
Joakim Nohlgård
38a292add9
Merge pull request #9640 from cladmi/pr/fix/hd44780/permission
...
tests/driver_hd44780: fix test permission
2018-07-26 12:26:53 +02:00
Gaëtan Harter
38edca82b4
tests/driver_hd44780: fix test permission
...
Test was not executable so `make test` fails.
2018-07-26 12:14:49 +02:00
Cenk Gündoğan
f03e52d157
Merge pull request #9484 from miri64/gnrc_sixlowpan_iphc/enh/i8511-recv
...
gnrc_sixlowpan_iphc: refactor reception for #8511
2018-07-26 07:58:52 +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
Martine Lenders
69d9ecc0d9
gnrc_sixlowpan_iphc: refactor reception for #8511
...
This refactors reception/decoding part of `gnrc_sixlowpan_iphc` to the
more layered approach modeled in #8511 . Since the reception part is
already complicated enough I decided to divide send and receive up into
separate changes.
2018-07-25 18:15:09 +02:00
Cenk Gündoğan
257ef2b355
Merge pull request #9636 from miri64/gnrc_sixlowpan/doc/fix-assertion
...
gnrc_sixlowpan: remove assertion on multiple_by_size function
2018-07-25 18:15:05 +02:00
Martine Lenders
9a88cc8004
gnrc_sixlowpan: remove assertion on multiple_by_size function
...
During the review of #9485 [we found out][1] that an assertion in this
function was invalid. However, the documentation on this assertion
wasn't removed on that. This fixes that.
[1] https://github.com/RIOT-OS/RIOT/pull/9485#issuecomment-407794280
2018-07-25 18:00:30 +02:00