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

3351 Commits

Author SHA1 Message Date
Martine Lenders
bf5b53392c
Merge pull request #12603 from jia200x/pr/link_up
netopt: redefine NETOPT_LINK_CONNECTED
2019-10-30 15:19:07 +01:00
Jose Alamos
f77eba2e53 gnrc_ipv6_ext_frag: add board to insufficient memory list 2019-10-30 14:23:34 +01:00
Anton Gerasimov
6258713e5e boards/cc1352-launchpad: Add BOARD_INSUFFICIENT_MEMORY entries
Signed-off-by: Anton Gerasimov <tossel@gmail.com>
2019-10-29 21:27:00 +01:00
14346dba26
tests/driver_hd44780: remove arduino feature requirement
Remove boards blacklisted because they don't provide the Arduino pin macros
2019-10-29 11:09:56 +01:00
04dc65f6ad
drivers/hd44780: move params header at the right place 2019-10-29 10:58:26 +01:00
Martine Lenders
05d338169d
Merge pull request #12367 from brummer-simon/gnrc_tcp-fix_recv_conn_closed
gnrc_tcp: return immediatly on gnrc_tcp_recv if a connection is closing
2019-10-29 09:54:43 +01:00
Marian Buschsieweke
4cf2151248
Merge pull request #12537 from benpicco/at86rfmega
drivers/at86rf2xx: add support for ATmegaRF MCUs
2019-10-28 09:22:02 +01:00
Martine Lenders
86ecc7064f
Merge pull request #12532 from benpicco/make-pan_id
makefiles: allow setting PAN ID like channel
2019-10-27 12:39:52 +01:00
Benjamin Valentin
d45b3d1cd3 makefiles: default-channel.inc.mk -> default-radio-settings.inc.mk
The scope of the file has changed, so change it's name.
2019-10-27 11:55:55 +01:00
Gunar Schorcht
b6b12527a9 tests/pkg_tinycbor: esp32 boards removed from blacklist 2019-10-27 09:58:29 +01:00
Benjamin Valentin
eeb75c08bd tests/examples: add microduino-corerf to Makefile.ci
Now that the radio is enabled, some tests do not fit onto the MCU
anymore.
2019-10-27 00:18:23 +02:00
Marian Buschsieweke
a770a919aa
tests/c11_atomics_cpp_compat: Added compile test 2019-10-24 23:08:36 +02:00
Marian Buschsieweke
707bacc1b7
tests/rmutex_cpp: Testing rmutex with C++
Copied test from tests/rmutex, but using C++ instead of C.
2019-10-24 23:08:36 +02:00
Francisco
0364c39694
Merge pull request #12408 from miri64/gnrc_netif/fix/src-addr-selection
gnrc_netif: only use prefix matching as tie-breaker in source selection
2019-10-24 17:14:17 +02:00
Martine Lenders
020af4145a tests: provide more test cases for source address selection
- ULA destination with global address on interface
- Deprecated addresses
2019-10-24 16:04:41 +02:00
Cenk Gündoğan
e0ab8776f3
Merge pull request #12547 from miri64/gnrc_netif/enh/warn-no-ARSM
gnrc_netif: warn when not joining solicited-nodes from non-6LN netif
2019-10-24 13:46:38 +02:00
Martine Lenders
796d6a3167 gnrc_sixlowpan: move garbage collect msg type to reassembly buffer 2019-10-24 12:41:29 +02:00
Martine S. Lenders
9103e5b98e tests: set log level to ERROR for gnrc_ipv6_nib_6ln test
This way it still fits on `z1`.
2019-10-24 11:42:35 +02:00
d22ddc1e95
usbus: Fix usb, initialization and detected spelling mistakes
This commit fixes a number of difficult words in the USB stack and
related test files.
2019-10-23 10:43:52 +02:00
Simon Brummer
1eb2969986 gnrc_tcp_recv: immediatly return on closed connection 2019-10-22 20:12:38 +02:00
e2049cce49
Merge pull request #12539 from fjmolinas/pr_isr_yield_relative_time
tests/isr_yield_higher: adapt TEST_TIME to start-up time
2019-10-22 16:50:53 +02:00
Francisco Molina
0d91e61dbb tests/isr_yield_higher: adapt TEST_TIME to start-up time 2019-10-22 16:20:48 +02:00
Benjamin Valentin
b5906c2aa4 tests/pthread*: blacklist boards with low RAM
The pthread tests dynamically allocate memory for the thread stacks.
Therefore while compilation succeeds, they will fail to run on these
low memory boards.

Static allocation of thread stacks is an option to make those tests work
for those boards (confirmed for `tests/pthread`), but it would
change the nature of the tests.
2019-10-21 15:33:48 +02:00
Benjamin Valentin
8f3d1eaf04 tests: reduce THREAD_STACKSIZE_DEFAULT for stm32f030f4-demo 2019-10-21 15:33:48 +02:00
Benjamin Valentin
58892fbbef tests: add stm32f030f4-demo to Makefile.ci 2019-10-21 15:33:11 +02:00
Martine Lenders
42968ccc6b
Merge pull request #12528 from benpicco/ifconfig_scope
shell_commands: gnrc_netif: print correct scope for IPv6 address
2019-10-21 15:16:47 +02:00
Benjamin Valentin
2ff7c474b7 shell_commands: gnrc_netif: print correct scope for IPv6 addr
Previously `ifconfig` would only know link-local addresses
(printed as 'local') and everything else would be 'global'.

This is wrong for site-local and unique local addresses which were
also denoted as global.

So use the already existing helper functions to determine the correct
type of IPv6 address when printing.
2019-10-21 14:47:34 +02:00
benpicco
ca7e82c312
Merge pull request #11090 from maribu/atmega328p
boards: Added standalone ATmega328p
2019-10-21 13:38:58 +02:00
Marian Buschsieweke
6441e3c178
tests: Updated BOARD_BLACKLIST
- Added atmega328p to BOARD_BLACKLIST where needed
- Adapted special timer frequency selection in tests/periph_timer to also
  select 25kHz for the atmega328p board
2019-10-21 12:54:46 +02:00
Marian Buschsieweke
06d560f408
tests: Added atmega328p to Makefile.ci
Added the atmega328p board to the BOARD_INSUFFICIENT_MEMORY list where needed.
2019-10-21 12:54:46 +02:00
Martine Lenders
05bcdba02e
Merge pull request #10499 from miri64/gnrc_netif/enh/split-6lo-6ln
gnrc_netif: introduce distinction if an interface supports 6Lo or if it performs ND according to RFC 6775
2019-10-21 11:47:30 +02:00
300c3abf2b
tests/lwip_sock_udp: fix sizeof address param in mempcy
Co-authored-by: Martine Lenders <m.lenders@fu-berlin.de>
2019-10-21 08:09:51 +02:00
Martine Lenders
c93b30268b tests/gnrc_ipv6_nib_6ln: add msb-430* to BOARD_INSUFFICIENT_MEMORY
The new fixed code paths with the 6LN/6Lo distinction make this
application too big for the given boards
2019-10-20 15:40:10 +02:00
798d3170d5
Merge pull request #12510 from gschorcht/tests/log_color
tests/log_color: fix string literal error
2019-10-19 19:31:44 +02:00
Gunar Schorcht
41e31c516c tests/log_color: fix string literal error
printf function requires a string literal as the format argument. Using a character pointer is not accepted as string literal by some compilers.
2019-10-19 16:59:11 +02:00
Martine Lenders
3cc8b912a2 tests/gnrc_sixlowpan_frag: fix comment typo 2019-10-19 16:30:45 +02:00
Martine S. Lenders
b715aee81d tests: add tests for new 6Lo reassembly buffer functions 2019-10-19 16:30:45 +02:00
Gunar Schorcht
855ef72202
Merge pull request #12503 from kaspar030/fix_tests/pkg_fatfs_format_overflow
tests/pkg_fatfs: fix sprintf format overflow warning
2019-10-19 10:41:17 +02:00
ea6c4a7f23 tests/pkg_fatfs: fix sprintf format overflow warning
Some platforms issue this:

    tests/pkg_fatfs/main.c: In function '_mkfs':
    tests/pkg_fatfs/main.c:355:26: error: '%d' directive writing between 1 and 11 bytes into a region of size 8 [-Werror=format-overflo
    w=]
      355 |     sprintf(volume_str, "%d:/", vol_idx);
          |                          ^~
    tests/pkg_fatfs/main.c:355:25: note: directive argument in the range [-2147483648, 0]
      355 |     sprintf(volume_str, "%d:/", vol_idx);
          |                         ^~~~~~
    tests/pkg_fatfs/main.c:355:5: note: 'sprintf' output between 4 and 14 bytes into a destination of size 8
      355 |     sprintf(volume_str, "%d:/", vol_idx);
          |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cc1: all warnings being treated as errors

The cause is vol_idx being converted by atoi(), so it might be negative.
This commit increases the stack array so it cannot overflow.
2019-10-18 23:06:44 +02:00
f52bbd084c tests/pkg_nanopb: initial commit 2019-10-18 22:34:29 +02:00
04712dbcfc
Merge pull request #12446 from fjmolinas/pr_fix_tests_riotboot
tests/riotboot: fix test running test in docker.
2019-10-18 17:20:49 +02:00
Francisco Molina
57b09f1685 tests/riotboot: add SLOT_RIOT_ELFS:%.elf=%.bin to BUILD_FILES
- When running `BUILD_IN_DOCKER=1 make -C tests/riotboot test`
  new slot binaries (fw + hdr) need to be generated.
  `%.bin: %.elf` is no defined when building in docker, so the
  fw binaries $(SLOT_RIOT_ELFS:%.elf=%.bin) are added to
  BUILD_FILES
2019-10-18 15:56:48 +02:00
16aef163ca
Merge pull request #12497 from benpicco/tests-cpp_memory
tests: remove Makefile.ci from cpp11 tests
2019-10-18 15:12:36 +02:00
Benjamin Valentin
44d6cabd8a tests: remove Makefile.ci from cpp11 tests
The description states that the tests caused issues with an ancient
toolchain.
Building these tests locally worked fine.

So remove the obsolete BOARD_INSUFFICIENT_MEMORY lists.
2019-10-18 14:28:57 +02:00
Martine S. Lenders
f8d75d7add gnrc_sixlowpan_frag_rb: behavioral change to add()
Rather than dispatching the packet automatically once it is complete,
`gnrc_sixlowpan_frag_rb_add()` now only returns success, and leaves it
to the caller to dispatch the packet.
2019-10-18 09:02:32 +02:00
Martine S. Lenders
df484926a2 tests/gnrc_sixlowpan_frag: adapt for API change
These changes reflect adaptations for the following API changes:

- gnrc_sixlowpan_frag_rb: return pointer to entry on add()
2019-10-18 09:02:32 +02:00
Benjamin Valentin
c01eae3239 tests: add microduino-corerf to Makefile.ci 2019-10-17 20:38:47 +02:00
Benjamin Valentin
252f22bfe2 tests/driver_hih6130: replace SLEEP define
The SLEEP define collides with an Atmel header file.
Rename the define to resolve the conflict.
2019-10-17 19:20:31 +02:00
benpicco
ad81a9df8a
Merge pull request #12484 from maribu/pain_in_the_ass
tests: Moved BOARD_INSUFFICIENT_MEMORY to Makefile.ci
2019-10-17 18:25:41 +02:00
benpicco
bd0ba7f187
Merge pull request #12476 from basilfx/feature/efm32_uart_modes_cleanup
cpu/efm32: remove EFM32_UART_MODES
2019-10-17 18:22:37 +02:00