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

24452 Commits

Author SHA1 Message Date
Martine Lenders
eebf3709db
Merge pull request #12465 from aabadie/pr/tests/nordic_softdevice
tests/nordic_softdevice: cleanup test script and fix test
2019-10-16 13:28:39 +02:00
8d0afb2d5a
Merge pull request #12468 from cladmi/pr/make/parallel_flash_test
Makefile.include:  TERMFLASHDEPS to TERMDEPS so it also applies to `test`
2019-10-16 11:46:18 +02:00
Martine Lenders
22a3f4d5b7
Merge pull request #12466 from smlng/pr_tests_emb6_bl
tests/emb6: replace boards blacklist
2019-10-16 11:05:51 +02:00
Sebastian Meiling
375687da50 tests/emb6: replace board blacklist
Replaces the board blacklist by a matching
feature blacklist or arch_msp430.
2019-10-16 09:49:26 +02:00
Sebastian Meiling
047104c1c9 tests/emb6: remove pic32 boards from blacklist
First the comment does not fit these two boards and
second they would work compiler wise but just do not
have an SPI to support the radio. Hence, won't be
used due to missing features.
2019-10-16 09:46:45 +02:00
98e17c2736
tests/nordic_softdevice: cleanup test script and fix test
Adding a 1s delay before sending ifconfig makes this test works reliably because it gives the softdevice enough time to get in a ready state.
2019-10-16 08:20:41 +02:00
Ken Bannister
fe8bb49e39
Merge pull request #12231 from kb2ma/coap/refine_api_purpose
net/nanocoap: rebalance application vs. option API doc
2019-10-15 18:25:50 -04:00
benpicco
97d5040525
Merge pull request #12272 from miri64/shell/enh/run-forever
shell: make shell_run run shell forever
2019-10-15 20:16:04 +02:00
6c7acf4188
Merge pull request #12453 from aabadie/pr/make/features_blacklisted
make: handle blacklisted features separately from missing requirements
2019-10-15 19:15:10 +02:00
Cenk Gündoğan
eb981fe8dd
Merge pull request #12444 from miri64/gnrc_sixlowpan_frag_rb/enh/factor-frag-out
gnrc_sixlowpan_frag_rb: seperate out classic frag specific code
2019-10-15 17:41:29 +02:00
benpicco
1ffca2b963
Merge pull request #12412 from benpicco/tests_no-SLEEP
tests: replace SLEEP define
2019-10-15 15:39:53 +02:00
benpicco
c9b76a9585
Merge pull request #12406 from maribu/pain_in_the_ass
examples: Moved CI infos to Makefile.ci
2019-10-15 14:40:40 +02:00
Cenk Gündoğan
626f68cd46
Merge pull request #12442 from miri64/gnrc_ipv6/fix/only-local-invalid-src
gnrc_ipv6: only discard invalid source when assigned to interface
2019-10-15 13:50:47 +02:00
benpicco
10824e1cd0
Merge pull request #12251 from maz3max/bmp-tool
Add helper script for Black Magic Probe
2019-10-15 13:39:08 +02:00
Maximilian Deubel
30f12c9058 Add helper script for Black Magic Probe
This script can detect [Black Magic Probes](https://github.com/blacksphere/blackmagic/wiki) and act as a flashloader (and more).
It is compatible with Linux and macOS.

All important options that can be set via the monitor command are available as arguments.

Makefiles for using `make flash`, `make erase`, `make debug` and `make term` with the script are included.
2019-10-15 12:58:24 +02:00
Kevin "Tristate Tom" Weiss
e20ffd7f7c
Merge pull request #11738 from OTAkeys/feat/add_cme_cms_error
driver/at: add return code for CME/CMS errors
2019-10-15 12:55:40 +02:00
Marian Buschsieweke
68fcb733af
Merge pull request #12456 from miri64/tests/fix/unittests-pkt-32-bit
unittests: fix `tests-pkt` for non-32bit platforms
2019-10-15 12:19:36 +02:00
ba0eb796fb
make: add FEATURES_USED_BLACKLISTED to the build info 2019-10-15 11:40:06 +02:00
a21743a0ac
make: handle blacklisted features in info-boards-supported 2019-10-15 11:39:16 +02:00
42f9689c7d
make: manage blacklisted features independently 2019-10-15 11:39:16 +02:00
Martine Lenders
2a74d32ea9 gnrc_sixlowpan_frag_rb: seperate out classic frag specific code 2019-10-15 10:40:50 +02:00
Martine Lenders
a7d082d9b8 sixlowpan: more helper functions 2019-10-15 10:40:50 +02:00
Martine Lenders
18fc2c206f unittests: fix tests-pkt for non-32bit platforms 2019-10-15 10:40:07 +02:00
Marian Buschsieweke
63be700fa7
Merge pull request #12455 from miri64/tests/cleanup/unittests-blacklist
unittests: remove board blacklist, fix doc for MCU architectures
2019-10-15 10:37:54 +02:00
Martine Lenders
7427d6655e
Merge pull request #12454 from smlng/pr_exwolf_bl
examples/dtls-wolfssl: remove boards blacklist
2019-10-15 10:09:52 +02:00
Marian Buschsieweke
2c996057c4
dist/tools: Check BOARD_INSUFFICIENT_MEMORY usage
Enforce BOARD_INSUFFICIENT_MEMORY is not managed in the Makefile in the examples
2019-10-15 09:55:07 +02:00
Marian Buschsieweke
ba90ba2e2f
examples: BOARD_INSUFFICIENT_MEMORY -> Makefile.ci
- Decluttered Makefile by moving BOARD_INSUFFICIENT_MEMORY lists from Makefile
  to Makefile.ci
- Optimized the list for use of tools:
    - One entry per line reduces the number of merge conflicts
    - One entry per line allows alphabetical sorting e.g. via Vim's sort command
- Sorted all lists alphabetically
2019-10-15 09:55:07 +02:00
Martine Lenders
117ff2f862 unittests: remove board blacklist, fix doc for MCU architectures 2019-10-15 09:48:04 +02:00
Sebastian Meiling
07758c2900 examples/dtls-wolfssl: remove boards blacklist
Replaces the boards blacklist with a new arch_32bit feature requirement.
2019-10-15 09:31:53 +02:00
Sebastian Meiling
946c887f2c
Merge pull request #12432 from kaspar030/arch_features_tests/ssp
tests/ssp: make use of architecture features
2019-10-15 08:29:35 +02:00
8f0f28bd50 tests/ssp: make use of architecture features 2019-10-14 22:40:13 +02:00
859f811495
Merge pull request #12426 from smlng/pr_noblacklist_exfs
examples/filesystem: blacklist feature instead of boards
2019-10-14 22:35:31 +02:00
benpicco
2c0ed1db45
Merge pull request #12449 from smlng/pr_cpu_fe310_arch
cpu: add missing arch features to fe310
2019-10-14 18:19:32 +02:00
benpicco
3d01833f88
Merge pull request #12439 from aabadie/pr/boards/feather-m0-doc-typo
boards/feather-m0: fix typo in doc
2019-10-14 18:19:15 +02:00
Sebastian Meiling
ea0b5ff0dd cpu: add missing arch features to fe310
Adds arch_32bit and arch_riscv to cpu/fe310 to allow for feature
requirements and blacklisting.
2019-10-14 17:40:23 +02:00
Sebastian Meiling
55f9e6f99f examples/filesystem: blacklist feature instead of boards
Remove BOARD_BLACKLIST and use FEATURES_BLACKLIST instead.
2019-10-14 17:21:54 +02:00
Leandro Lanzieri
bfd81c1d72
Merge pull request #12431 from benpicco/mrf24j40-fix_reset
drivers/mrf24j40: don't loop in mrf24j40_reset_state_machine()
2019-10-14 17:21:17 +02:00
8a1e78bf4d
Merge pull request #9081 from kaspar030/add_arch_features
make: add architecture features and feature blacklisting
2019-10-14 16:12:54 +02:00
Martine Lenders
b5b52c74e8 gnrc_ipv6: only discard invalid source when assigned to interface
While it is correct to not use an invalid address as a source address,
it is incorrect to assume that addresses not assigned to the interface
(`idx == -1` in the respective piece of code) are invalid: Other than
classic forwarding via a FIB, forwarded packets utilizing a IPv6
routing header will pass this check, like any other packet sent by this
node. The source address for these is not on the given node, so e.g.
source routing is not possible at the moment.
2019-10-14 15:43:07 +02:00
Leandro Lanzieri
0e0b6f8231
Merge pull request #12221 from benpicco/mrf24j40-init_check
drivers/mrf24j40: allow for basic self-test on init
2019-10-14 15:36:52 +02:00
Kevin "Tristate Tom" Weiss
e236fa1ef3
Merge pull request #10793 from aabadie/pr/boards/thingy52_i2c
boards/thingy52: add dependency for on-board hts221/lps22hb sensors
2019-10-14 15:06:37 +02:00
Benjamin Valentin
38b35c513c drivers/mrf24j40: allow for basic self-test on init
During production it is often desirable for devices to perform
some kind of basic self-test to isolate defects.

For this it is necessary for the initialization not to hang if a
component is faulty / not connected.

This moves an already exising self-test that was previously enabled
as a debug option to an independent compile-time configurable.

It is necessary to call this in _init() before mrf24j40_hardware_reset()
as the reset function uses xtimer_usleep() which will cause another
thread to get scheduled.
If this thread (e.g. rpl or ipv6) then tries to access the netdev, RIOT
will crash.
2019-10-14 14:50:06 +02:00
Cenk Gündoğan
b4cb32a8ab
Merge pull request #12440 from miri64/tests/fix/gnrc_rpl_srh
tests/gnrc_rpl_srh: fix test assumption
2019-10-14 14:43:30 +02:00
Martine Lenders
3e7f25566f tests/gnrc_rpl_srh: fix unittests for gnrc_rpl_srh behavior change 2019-10-14 12:04:35 +02:00
Martine Lenders
a279228663 gnrc_rpl_srh: don't send error message on multicast error
A node is not supposed to send an ICMPv6 error message when the
destination or one of the addresses in the source route is multicast
but is supposed to be silently discarded (see [RFC4443] and [RFC6554]).
If we leave the `err_ptr` unset, the [node will not send an error
message][err_ptr set].

[RFC 4443]: https://tools.ietf.org/html/rfc4443#section-2.4
[RFC 6554]: https://tools.ietf.org/html/rfc6554#section-4.2
[err_ptr set]: https://github.com/RIOT-OS/RIOT/blob/9bc600a/sys/net/gnrc/network_layer/ipv6/ext/rh/gnrc_ipv6_ext_rh.c#L100-L105
2019-10-14 11:25:53 +02:00
Martine Lenders
ee2126a4e2 tests/gnrc_rpl_srh: fix test assumption
If the destination address or an address within the source route is
multicast within a RPL source routing header, a receiving node is
supposed to just discard the packets, but not to send an ICMPv6 error
message, as the test assumes at the moment.

Source: https://tools.ietf.org/html/rfc6554#section-4.2
2019-10-14 10:33:25 +02:00
9bc600a2e5
Merge pull request #12386 from keestux/sodaq-boards-arduino
Sodaq boards arduino
2019-10-14 07:47:58 +02:00
6d53bb33cb
Merge pull request #12437 from kaspar030/add_stmf7_spi_divs
boards/stm32: add 54MHz and 108MHz SPI divtable entries
2019-10-13 21:28:27 +02:00
3eae2f7b79 pkg/lwip: add arch_32bit feature dependency 2019-10-13 21:03:41 +02:00
ebf43616b7 cpu: add arch_* features 2019-10-13 21:03:41 +02:00