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

20016 Commits

Author SHA1 Message Date
Martine Lenders
ac54a2d2b2 gnrc_pktbuf: add gnrc_pktbuf_reverse_snips() helper function
This allows for

a) testing the packet reversal properly in unittests
b) use it in other places than `gnrc_ipv6`'s receive function
2018-10-25 23:11:33 +02:00
Martine Lenders
85733a7568
Merge pull request #10255 from Lotterleben/examples_gnrc_net_add_reminder
examples/gnrc_networking/README: add make reminder, rm forced line breaks
2018-10-25 22:04:39 +02:00
Lotte Steenbrink
6ad781970c examples/gnrc_networking/README.md: trim lines with > 72 chars 2018-10-25 21:44:15 +02:00
Lotte Steenbrink
dd1c32c011 examples/gnrc_networking/README.md: add make reminder 2018-10-25 21:42:34 +02:00
Martine Lenders
521fa8d9cb gnrc_rpl_srh: remove type define
The only usage was removed in parent and we now have a centralized
definition of the routing header types.
2018-10-25 19:21:20 +02:00
Martine Lenders
274371c174 ipv6_ext_rh: switch over to generic RH type define 2018-10-25 19:21:20 +02:00
Martine Lenders
3c4bd0ac57 ipv6_ext_rh: define RH type numbers at central place
This moves the type numbers for routing headers to a central place, as
we did it with other IANA-registered numbers.
2018-10-25 19:21:19 +02:00
Martine Lenders
959e4491fa
Merge pull request #9702 from maribu/phydat_fit
sys/phydat: New phydat_fit API
2018-10-25 19:16:54 +02:00
Martine Lenders
466bc341a6
Merge pull request #10231 from miri64/gnrc_ipv6_ext/enh/move-rh-to-gnrc
gnrc_ipv6_ext: move ipv6_ext_rh (partly) to GNRC
2018-10-25 19:15:22 +02:00
danpetry
99ae495226
Merge pull request #10011 from leandrolanzieri/pr/drivers/ds18
drivers/ds18: Add Maxim Integrated 1-Wire temperature sensor driver
2018-10-25 17:26:10 +02:00
Gaëtan Harter
c5deac4865
Merge pull request #10023 from miri64/gnrc_netif/fix/no-addr-but-addr-len
gnrc_netif: Fix l2addr_len > 0, but no l2addr edge-case
2018-10-25 14:31:32 +02:00
Martine Lenders
bd06f7e846
Merge pull request #10250 from bergzand/pr/at86rf2xx/reenable_ack_req
at86rf2xx: Re-enable ack requests by default
2018-10-25 14:08:35 +02:00
MichelRottleuthner
da0f722a1c
Merge pull request #10245 from MichelRottleuthner/pr_l476rg_add_i2c_config
boards/nucleo-l476rg: add I2C configuration
2018-10-25 14:02:50 +02:00
Martine Lenders
390ddfba7c tests/unittests: adapt for value name changes 2018-10-25 14:02:46 +02:00
Gaëtan Harter
40187e81fa
Merge pull request #10184 from bergzand/pr/tests/tweetnacl_move
tests/tweetnacl: Move from unittests to regular test
2018-10-25 12:27:16 +02:00
c3da55b015
at86rf2xx: Re-enable ack requests by default
Properly splitting the flags between netdev_ieee802154 and the at86rf2xx
driver had as side effect that the ACK REQ flag was no longer set by
default. This commit reverts the default settings by enabling it again
on startup. The current code calls the generic netdev setter to set the
flag.
2018-10-25 12:17:02 +02:00
Martine Lenders
ad183dbf7e ipv6_ext: remove empty, unused module 2018-10-25 11:12:14 +02:00
Martine Lenders
6a9adf2b59 gnrc_ipv6_ext: remove unnecessary return-value indirection
Those return values are internal anyway, and they have the same intent
as the one provided by `gnrc_ipv6_ext_rh`.
2018-10-25 11:12:14 +02:00
Martine Lenders
84a62da102 gnrc_ipv6_ext_rh: rename GNRC_IPV6_EXT_RH_OK for clarity 2018-10-25 11:11:50 +02:00
Martine Lenders
c54ba49e82 gnrc_ipv6_ext: move ipv6_ext_rh (partly) to GNRC 2018-10-25 11:10:25 +02:00
José Alamos
059ef5c437
Merge pull request #10201 from MrKevinWeiss/pr/tests/fixlibfixmath
tests/libfixmath: Add delay at start of test
2018-10-25 11:06:37 +02:00
Michel Rottleuthner
2bbc9be47a boards/nucleo-l476rg: add I2C configuration 2018-10-25 09:45:17 +02:00
6f37f7eda7
Merge pull request #10240 from cladmi/pr/iotlab/add_new_architectures
makefile.iotlab.single.inc.mk: add new IoT-LAB supported nodes
2018-10-24 20:40:04 +02:00
MrKevinWeiss
646c6d67c0 tests/libfixmath: Add delay at start of test
The delay allows allows time for the `make term` to connect and start flushing the output buffer before the buffer overflows.
2018-10-24 17:27:30 +02:00
137e4825ed
tests/tweetnacl: Move from unittests to regular test
Stack size is changed from 4 times the default + printf to 5 times the
default stack size. Only on the lpc2387 this reduces the resulting stack
space. the test is not rerun for the lpc2387 and is untested.

Tests are disable for the Arduino. While they "might" work, it takes
around 8 minutes to complete the tests.
2018-10-24 16:56:32 +02:00
Frits Kuipers
8b8790c18f drivers/ds18: Add Maxim Integrated ds18 driver
tests/driver_ds18: Add test application for DS18B20 sensor.

tests/driver_ds18: Add whitelist of boards
2018-10-24 16:02:05 +02:00
Gaëtan Harter
8179038a8c
makefile.iotlab.single.inc.mk: add new IoT-LAB supported nodes
Support for `nrf52dk` and `samr30-xpro` has been added on saclay site.
2018-10-24 15:43:59 +02:00
Gaëtan Harter
599bc2afd2
makefile.iotlab.single.inc.mk: sort IOTLAB_ARCH_ variables definition
Define them in alphabetical order instead on putting the 'iotlab'
specific nodes at first. Prepare for adding new architectures.
2018-10-24 15:12:00 +02:00
José Alamos
ea219c3eba
Merge pull request #10217 from cladmi/pr/tests/heatshrink/ci
tests/pkg_heatshrink: re-enable CI test
2018-10-24 13:56:16 +02:00
Marian Buschsieweke
fe46cae00d
sys/phydat: New phydat_fit API
The current phydat_fit implementation the following limitations:
- The API is way more complicated to use than needed
- It doesn't perform any rounding
- It uses `long` in a place where actual width (or better range) of the type
  is pretty important.

This commit addresses these limitations and uses lookup-tables to reduce the
number of divisions required.

Before this commit code using it looked like this:
``` C
long values[] = { 100000, 2000000, 30000000 };
phydat_t dat = { .scale = 42, .unit = UNIT_V };
phydat_fit(&dat, values[0], 0, phydat_fit(&dat, values[1], 1, phydat_fit(&dat, values[2], 2, 0)));
```

Now it can be used like this:
``` C
int32_t values[] = { 100000, 2000000, 30000000 };
phydat_t dat = { .unit = UNIT_V, .scale = 42 };
phydat_fit(&dat, values, 3);
```
2018-10-24 13:05:51 +02:00
José Alamos
90d15d1fcd
Merge pull request #10235 from cladmi/pr/make/buildtest/correctly_clean
makefiles/buildtests.inc.mk: fix 'clean-intermediates' not cleaning
2018-10-24 13:01:41 +02:00
José Alamos
6f9838f14a
Merge pull request #9881 from basilfx/feature/slstk3401a_docs
boards: slstk3401a: add docs
2018-10-24 12:55:53 +02:00
cladmi
e9557a6242
makefiles/buildtests.inc.mk: fix 'clean-intermediates' not cleaning
`clean-intermediates` should be done per board. Without this it only
tries to clean the default board.
2018-10-24 11:38:10 +02:00
José Alamos
b88de338d5
Merge pull request #10230 from PeterKietzmann/pr_at233_smartlistening_doc
drivers/at86rf233: extend doc for smart idle listening feautre
2018-10-24 10:27:21 +02:00
PeterKietzmann
1bcb521469 drivers/at86rf233: extend doc for smart idle listening feature 2018-10-23 20:02:39 +02:00
Peter Kietzmann
f5379c05a3
Merge pull request #8971 from Hyungsin/forupstream_smart_idle_listening
drivers/at86rf2xx: add smart idle listening feature
2018-10-23 19:34:21 +02:00
Gaëtan Harter
f160a75aa5
Merge pull request #10209 from bergzand/pr/pkg/hacl_move
tests/hacl: Move from unittests to regular test
2018-10-23 18:32:27 +02:00
José Alamos
d386c97e5c
Merge pull request #9651 from cladmi/pr/make/docker/add_gitcache_support
docker: Use system GIT_CACHE_DIR if available
2018-10-23 18:25:35 +02:00
Martine Lenders
3068fb8aed
Merge pull request #9034 from cladmi/pr/tests/pkg_micro-ecc/blacklist/wsn430
tests/pkg_micro-ecc: blacklist wsn430 boards
2018-10-23 18:17:44 +02:00
Juan I Carrano
12729d62a5
Merge pull request #10053 from OTAkeys/feat/base64_const
sys/base64: api change (const + void*)
2018-10-23 17:53:58 +02:00
Juan I Carrano
8148790e92
Merge pull request #10218 from bergzand/pr/crypt/helper_equal_const
crypto/helper: Change equals arguments to const
2018-10-23 17:51:56 +02:00
Juan I Carrano
f8685ba8c2
Merge pull request #10148 from danpetry/driver_tsl4531x
drivers: Add support for tsl4531x visible light intensity sensor
2018-10-23 17:51:07 +02:00
052fea24aa
tests/hacl: Move from unittests to regular test 2018-10-23 17:46:13 +02:00
danpetry
bed1e22e7d sys/auto_init: Changes to support SAUL
SAUL read functionality implemented only, as described in
tsl4531x_saul.c.
This driver will work with SAUL in both low and high power modes,
with the startup mode configurable in tsl4531x_params.h.
2018-10-23 17:26:28 +02:00
danpetry
6fcb9ad552 tests/tsl4531x: Add tests to cover API changes.
The changes to the test correspond to the change in the API and design
of the driver, as described in the previous commit and in tsl4531x.h.
2018-10-23 17:26:28 +02:00
danpetry
a1a834a726 drivers/tsl4531x: Add power modes; redesign
Changes include:
- Implementation of two power modes for the driver: low and high
- Redesign and API change to the description in tsl4531x.h
- Full documentation
- Changing file structure and implementation to fit best practices as
  described in
  https://github.com/RIOT-OS/RIOT/wiki/Guide%3A-Writing-a-device-driver-in-RIOT
- Including I2C addresses for the rest of the range
2018-10-23 17:26:28 +02:00
Juan Carrano
5604abcedc drivers/tsl4531x: Add SAUL driver. 2018-10-23 17:26:28 +02:00
Juan Carrano
b99bd67efd tests/driver_tsl4531x: Add tests for illuminance sensor.
Missing README.
2018-10-23 17:26:28 +02:00
Juan Carrano
63dcc18c55 drivers/tsl4531x: Add driver for TSL45315 illuiminance sensor.
Missing run modes and power saving configurations, but otherwise
functional.
2018-10-23 17:26:28 +02:00
Gaëtan Harter
c60324744c
docker: Use system GIT_CACHE_DIR if available
If GIT_CACHE_DIR is a directory make it available to docker.
This will allow using the system git_cache also in the docker container.
2018-10-23 15:01:43 +02:00