871d72ffb4
boards/nrf6310: factorize common code
2018-10-27 09:47:42 +02:00
5e8c92d69c
boards/nrf51dongle: factorize common code
2018-10-27 09:47:42 +02:00
a4463be1e3
boards/microbit: factorize common code
2018-10-27 09:47:42 +02:00
a1d65583cb
boards/yunjia-nrf51822: factorize common code
2018-10-27 09:47:42 +02:00
0842eb56ce
boards/airfy-beacon: factorize common code
2018-10-27 09:47:42 +02:00
84cdab8c0b
boards/common/nrf51: introduce common location
2018-10-27 09:47:42 +02:00
Joakim Nohlgård
21efb20184
Merge pull request #9725 from miri64/tests/enh/pkg_cmsis-dsp-testscript
...
tests/pkg_cmsis-dsp: provide testscript
2018-10-27 02:39:32 +02:00
Joakim Nohlgård
23738008a7
at86rf2xx: refactor received frame ED processing
...
The value at the end of the frame buffer is the ED value, same as
PHY_ED_LEVEL, which is given in dB offset from RSSI_BASE.
2018-10-27 01:45:01 +02:00
Joakim Nohlgård
52ac53b4d9
gnrc_netif_ieee802154: Provide LQI, RSSI in raw mode via netif_hdr
...
Useful in sniffer situations to see the signal strength of a received
packet. Also avoids the crash described in
https://github.com/RIOT-OS/applications/pull/54
2018-10-27 00:22:51 +02:00
Josarn
d1261a7ef0
at86rf2xx: correct framebuffer release
...
This PR sets the tranceiver in PLL_ON state to avoid corruption of the
data in the frame buffer and sets it back to the last state which the
transceiver had before changing into transmit mode after the data is
read out. This is done to avoid data corruption when `_recv(...)` is
called to retrieve the buffer size and frame buffer protection is released.
2018-10-26 19:16:34 +02:00
Marian Buschsieweke
6e1c50a1e3
sys/auto_init: Fixed initialization of sht1x
...
- the driver for sht1x is initialized two times
- the second initialization is done only when SAUL is used, but sht1x needs
to be initialized in any case. (SAUL registration is also done there, but
only when SAUL is actually being used.)
This commit fixes both.
2018-10-26 13:08:37 +02:00
f139dfdad2
Merge pull request #10266 from aabadie/pr/typo_freie
...
boards/*: fix typo Feie => Freie
2018-10-26 11:32:36 +02:00
2ebd88d0c4
boards/*: fix typo Feie => Freie
2018-10-26 10:26:59 +02:00
Martine Lenders
effd0c85a4
Merge pull request #10263 from gebart/sys/ps-rm-xtimer
...
sys/ps: Remove unused include xtimer.h
2018-10-26 10:24:59 +02:00
MrKevinWeiss
3e1fd9f494
cpu/stm32_common/i2c: Fix error handling in i2c_1.c
...
Errors flags could not clear making the i2c unusable after error.
This fix removes the error check in start so the error flags can clear and does proper checking for status bits before _bus_check.
2018-10-26 09:56:35 +02:00
Joakim Nohlgård
1f58c63ea4
sys/ps: Remove unused include xtimer.h
2018-10-26 09:03:46 +02:00
Martine Lenders
f597c6a6f9
Merge pull request #10226 from miri64/gnrc_pktbuf/enh/reverse-snips
...
gnrc_pktbuf: add gnrc_pktbuf_reverse_snips() helper function
2018-10-25 23:51:44 +02:00
Martine Lenders
d6ea335bfc
unittests: add tests for gnrc_pktbuf_reverse_snips()
2018-10-25 23:11:33 +02:00
Martine Lenders
a5c9f959b5
gnrc_ipv6: use gnrc_pktbuf_reverse_snips()
2018-10-25 23:11:33 +02:00
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