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

20047 Commits

Author SHA1 Message Date
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
Gaëtan Harter
357a4a0db9
makefiles: make the build system aware of GIT_CACHE_DIR
Currently the default value was set by `dist/tools/git/git-cache`.
This moves/duplicates the default value in the build system.
2018-10-23 15:00:47 +02:00
José Alamos
13312ef11e
Merge pull request #8987 from cladmi/pr/improve/external_modules
make: process include and dep for external modules
2018-10-23 14:36:10 +02:00
Juan I Carrano
4d85bcf510
Merge pull request #10062 from cladmi/pr/make/cpu/fe310/features
cpu/fe310: rtc depend on the rtt feature and hifive1 update
2018-10-23 13:28:17 +02:00
Gaëtan Harter
4157a07152
tests/external_module_dir: test for EXTERNAL_MODULE_DIRS
It demonstrates:

 * Adding a module with source code
 * Setting a header include directory
 * Adding dependences, which are evaluated before other modules dependencies

If the application compiles, everything is ok.
2018-10-23 13:22:25 +02:00
Gaëtan Harter
6b534a935f
make: process include and dep for external modules
Process `Makefile.include` for external modules. It is included after the others
so it could overwrite some of the configuration if wanted.

Process `Makefile.dep` for external modules. It is included before the others so
it could be parsed before setting 'default' values to dependencies.
2018-10-23 13:22:25 +02:00
Gaëtan Harter
69225e6add
tests/pkg_micro-ecc: blacklist 16bits boards
Test breaks on wsn430 boards with the node rebooting.

This must come becauso `micro-ecc` does not have 16b support.
I also blacklisted the other 16bits boards.

 * https://github.com/kmackay/micro-ecc/issues/96
2018-10-22 14:28:44 +02:00
ed23bdf25a
crypto/helper: Change equals arguments to const 2018-10-21 20:27:33 +02:00
cladmi
d23fea6043
tests/pkg_heatshrink: re-enable CI test
When moved out of `unittests` running test on CI was not re-enabled.
2018-10-21 19:31:25 +02:00
Martine Lenders
2260cd7f45
Merge pull request #10216 from Rotzbua/https
[doc] links http -> https
2018-10-21 16:25:59 +02:00
Rotzbua
e79960cd88 [doc] links http -> https 2018-10-21 15:36:00 +02:00
aedc5260d8
Merge pull request #9848 from ZetaR60/RIOT_eepreg2
sys/eepreg: EEPROM registration support (version 2)
2018-10-21 11:20:53 +02:00
Matthew Blue
a99361e0b6 tests/eepreg: Initial test support 2018-10-20 09:30:41 -04:00
Matthew Blue
ba4de322f4 sys/eepreg: Makefile support 2018-10-20 09:30:41 -04:00
Matthew Blue
d5e9994d1d sys/eepreg: initial EEPROM registration support 2018-10-20 09:30:40 -04:00
José Alamos
27f61a2ca6
Merge pull request #10207 from PeterKietzmann/pr_move_jiminy_doc
doc/boards: move jiminy from wiki to RIOT repo
2018-10-19 16:44:24 +02:00
1157720454
Merge pull request #10202 from smlng/pr/tests/heatshrink
tests/heatshrink: move from unittests to regular test
2018-10-19 16:42:41 +02:00
PeterKietzmann
ecb5972a2a doc/boards: move jiminy from wiki to RIOT repo 2018-10-19 15:44:36 +02:00
smlng
24032ac9ae tests/heatshrink: move from unittests to regular test
This moves tests for the heatshrink package from unittests to a regular
test, which should help to decrease binary size of unittests.
2018-10-19 15:18:16 +02:00
Kevin "Bear Puncher" Weiss
cb09092c0b
Merge pull request #10125 from gschorcht/esp8266_cpu_freq
cpu/esp8266: cpu frequency settings feature added
2018-10-19 14:53:45 +02:00