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

20448 Commits

Author SHA1 Message Date
87dd5f9341 tests/pthread_condition_variable: increase timeout
Otherwise it raises a timeout on slow boards. It takes around 2 minutes
on nrf51 based boards (e.g microbit)
2018-12-14 22:05:12 +01:00
Gaëtan Harter
169a72b9a7
Merge pull request #10590 from aabadie/tests/pkg_libcose_timeout
tests/pkg_libcose: increase timeout of autotest
2018-12-14 21:05:58 +01:00
Gaëtan Harter
60f3e1af8a
Merge pull request #10591 from aabadie/pr/tests/libfixmath_extend_timeout
tests/libfixmath_unittests: extend timeout in autotest
2018-12-14 19:46:44 +01:00
Gaëtan Harter
7b5b778cea
Merge pull request #10602 from aabadie/pr/tests/pkg_micro-ecc_timeout
tests/pkg_micro-ecc*: increase expect timeout
2018-12-14 19:28:56 +01:00
José Alamos
bb16a7533c
Merge pull request #10571 from jia200x/pr/dox_conf_group
doc: add configurations Doxygen group
2018-12-14 14:44:01 +01:00
Jose Alamos
5070ed9596 doc: add configurations Doxygen group 2018-12-14 13:39:44 +01:00
José Alamos
b709e63581
Merge pull request #10234 from miri64/gnrc_ipv6/enh/iterate-out-of-ext
gnrc_ipv6: move ipv6_ext iteration out of ext_demux()
2018-12-14 10:44:00 +01:00
5c4b398c20
Merge pull request #10607 from MrKevinWeiss/pr/stm32f1/i2cremap
cpu/stm32f1: Fix i2c for stm32f1 based boards
2018-12-14 09:41:03 +01:00
MrKevinWeiss
d7eb070eb4 cpu/stm32f1: Add remap support for stm32f1 cpus and boards
This commit fixes configuration problems when trying to use i2c pins that need to be remapped.
All B8 and B9 pins for STM32F1 need to be remapped, so a check is done if the remappable pins are selected.
2018-12-14 09:16:37 +01:00
Martine Lenders
4257b70c6f gnrc_pktbuf: update tense of deprecation note ;-)
With the preceding changes the subject of the deprecation note on
`gnrc_pktbuf_duplicate_upto()` becomes actual and thus doesn't need to
be referred to in future but past tense.
2018-12-13 17:22:12 +01:00
Martine Lenders
b8f71c37ff gnrc_ipv6: rename should_release for clarity 2018-12-13 17:22:12 +01:00
Martine Lenders
e6df40dbde gnrc_ipv6: clean-up unrequired stuff after demux rework 2018-12-13 17:22:12 +01:00
Martine Lenders
764ed8c300 gnrc_ipv6: make next-header demuxer private
Since the recursion into `gnrc_ipv6_demux()` was removed in
`gnrc_ipv6_ext`, `gnrc_ipv6.c` is the only user of this function,
so it can be made private. It was only made public so it can be used
from `gnrc_ipv6_ext`.
2018-12-13 17:22:12 +01:00
Martine Lenders
f671a87fe2 gnrc_ipv6_ext: remove unnecessary pkt write-protection
As `pkt` isn't pre-parsed the write-protection of *the whole* packet
(except the netif-header) comes for free, when this was done in the
receive routine of IPv6.
2018-12-13 17:22:12 +01:00
Martine Lenders
02a7bc252a gnrc_ipv6: move ipv6_ext iteration out of ext_demux()
Since with #10233 we now assume IPv6 packets always to not be
pre-parsed, we can iterate over the extension headers by gradually
"eating" them away. This allows us to move the iteration over them
out of `gnrc_ipv6_ext_demux()` and into `gnrc_ipv6_demux()`.

By moving the iteration over all extension headers out of
`gnrc_ipv6_ext_demux()` we also can

1. simplify the extension header handling a lot, as it now
   just a loop inside `gnrc_ipv6_demux()`,
2. remove the recursion to `gnrc_ipv6_demux()` within
   `gnrc_ipv6_ext_demux()`.
2018-12-13 17:22:11 +01:00
Gaëtan Harter
e6d9630144
Merge pull request #10601 from aabadie/pr/testbed-support/iotlab_single_nrf51dk
testbed-support: add nrf51dk to supported archis
2018-12-13 15:06:29 +01:00
Kevin "Bear Puncher" Weiss
e0997b4fc7
Merge pull request #10600 from jia200x/pr/phyNODE_kw41Z
boards/phynode-kw41z: add initial support
2018-12-13 11:44:34 +01:00
5b17d52542
Merge pull request #10466 from maribu/stm32f103c_i2c
boards/common/stm32f103c8: Fixed I2C configuration
2018-12-13 11:25:22 +01:00
Jose Alamos
40d791e898 doc: add documentation for phynode-kw41z board 2018-12-13 10:35:50 +01:00
Jose Alamos
50c7b5c11a boards/phynode-kw41z: add initial support 2018-12-13 10:35:50 +01:00
0ea00d932e tests/pkg_libcose: increase timeout of autotest
On a microbit (nrf51) the autotest takes around 4 minutes to complete.
2018-12-13 10:04:30 +01:00
5c4698bfd8 tests/pkg_micro-ecc*: increase expect timeout
Otherwise the test takes too long on nrf51 based boards and fails:
- 80s on a microbit for tests/pkg_micro-ecc
- 120s on a microbit for tests/pkg_micro-ecc-with-hwrng
2018-12-13 10:00:51 +01:00
Hauke Petersen
5b31aa3619
Merge pull request #10595 from miri64/netopt/cleanup/deprecate-IPV6_IID-from-netdev
netopt: deprecate getting NETOPT_IPV6_IID from netdev
2018-12-12 16:43:25 +01:00
0cb75c5f10 testbed-support: add nrf51dk to supported archis 2018-12-12 15:36:56 +01:00
Martine Lenders
b0706ca82b netopt: deprecate getting NETOPT_IPV6_IID from netdev 2018-12-12 10:21:39 +01:00
Martine Lenders
30b39dcf44
Merge pull request #10580 from gschorcht/drivers_sht3x_auto_init_fix
sys/auto_init: alphabetical order for SHT3x fixed
2018-12-12 09:56:18 +01:00
Leandro Lanzieri
4ce63d00ea
Merge pull request #10280 from fedepell/stk3700_arduino
boards/common/silabs: add Arduino API support for SiLabs boards
2018-12-12 09:51:13 +01:00
Sebastian Meiling
4f646b4efc
Merge pull request #10441 from miri64/gnrc_netapi/enh/codesize-opt
gnrc_netapi: optimize code-size
2018-12-12 09:51:02 +01:00
Martine Lenders
c16d0bc96e gnrc_netapi: use static inline for high-level wrapper functions
This reduces the overall code size of GNRC applications by a few bytes.
2018-12-11 16:15:51 +01:00
Martine Lenders
6886ca54c2
Merge pull request #10537 from miri64/netdev_ieee802154/fix/get-iid
netdev_ieee802154: fix IID getter
2018-12-11 15:59:52 +01:00
d8d9dd32bf tests/libfixmath_unittests: extend timeout in autotest
It can takes up to 640s to complete on microbit
2018-12-11 14:42:08 +01:00
Kevin "Bear Puncher" Weiss
d7c826f365
Merge pull request #10585 from aabadie/pr/boards/microbit_upload_typo
boards/microbit: fix typo in flash script
2018-12-11 11:47:40 +01:00
404e7f9cb3
Merge pull request #10586 from haukepetersen/opt_clist_doc
core/clist: add missing function to table in doc
2018-12-11 11:46:26 +01:00
Hauke Petersen
0e4f5bf894 core/clist: add missing function to table in doc 2018-12-11 11:15:18 +01:00
104bb525c9 boards/microbit: fix typo in flash script 2018-12-11 11:10:53 +01:00
Juan I Carrano
c644110bdb
Merge pull request #10573 from cladmi/pr/tests/compile_tests_in_docker
tests: compile-tests should only be executed in building machine
2018-12-10 15:46:23 +01:00
José Alamos
970bec1d1b
Merge pull request #10233 from miri64/gnrc_ipv6/enh/assume-no-preparsed-pkt
gnrc_ipv6: assume no preparsed packets
2018-12-10 14:21:17 +01:00
Gunar Schorcht
56c09a088c sys/auto_init: alphabetical order for SHT3x fixed
This commit fixes the alphabetical order in sys/auto_init for the SHT3x driver.
2018-12-10 12:45:27 +01:00
Sebastian Meiling
7f1436536e
Merge pull request #10561 from MrKevinWeiss/pr/adduarttofrdmk22f
boards/frdm-k22f: Add second UART to config
2018-12-10 09:35:58 +01:00
Gaëtan Harter
5a2609c573
Merge pull request #10439 from jcarrano/ensure-value
makefile/utils: Add a function for checking that a string is not empty.
2018-12-07 19:17:37 +01:00
Gaëtan Harter
cd35eddada
Merge pull request #10344 from jcarrano/makefile.include-cannot-be-made
Makefile.include: remove rule to remake PKGs' Makefile.include
2018-12-07 18:33:49 +01:00
Gaëtan Harter
9d252a883e tests/build_system_utils: add test for build system utilities
This will allow testing the build system 'utils' functions.
2018-12-07 18:19:38 +01:00
Juan Carrano
f466171053 makefiles/utils: add tests for checks.mk.
make -f test-checks.mk test-ensure_value should succeed, while
make -f test-checks.mk test-ensure_value-negative should fail.
2018-12-07 18:19:38 +01:00
Juan Carrano
547d9f0802 makefiles/utils: Add a function for checking that a string is not empty.
A call to `$(ensure_value x,y)` will fail with message y if x is empty, and
otherwise return x. This can be useto write more compact makefiles, while still
producing friendly error messages.
2018-12-07 18:19:34 +01:00
Juan Carrano
8945a9513e Makefile.include: remove rule to remake PKGs' Makefile.include
This rule is not being used, it complicates the makefile and causes
make clean to permform unnecessary actions.

All packages have a Makefile.include, so the rule is not needed anyways.
Also, it is defined with a double colon for no reason.
2018-12-07 17:49:22 +01:00
Kevin "Bear Puncher" Weiss
35626eda50
Merge pull request #10270 from cladmi/pr/make/pre_post_include
Makefile.include: allow specifying makefiles to be parsed
2018-12-07 17:42:21 +01:00
Gaëtan Harter
58bcde876a
tests/cortexm_common_ldscript: only execute compile-tests in docker
Without the protection, the host system also tries to execute the tests.
2018-12-07 17:41:57 +01:00
Gaëtan Harter
4dd6eb3e5b
tests/libc_newlib: only execute compile-test in docker
Without the protection, the host system also tries to execute the tests.
2018-12-07 17:41:57 +01:00
Gaëtan Harter
aea71dc309
tests/libc_newlib: verify the file exist before testing
If the file does not exist, because of concurrency issues, there is no
error. So verify it is there for good measures.
2018-12-07 17:41:57 +01:00
Gaëtan Harter
e47fea7bf5
doc/advanced-build-system-tricks.md: add a doc for new variables
Add a documentation page for advanced low level tricks.
Document the `RIOT_MAKEFILES_GLOBAL_PRE` and
`RIOT_MAKEFILES_GLOBAL_POST`.

I could not work around to have `$(RIOTBASE)/Makefile.include` in the
doc as the `$()` part was removed, so I kept with `$RIOTBASE` for now.
2018-12-07 17:05:51 +01:00