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

2565 Commits

Author SHA1 Message Date
Vincent Dupont
7e47e36e55 pkg/littlefs: fix file buffer size 2018-10-03 11:54:17 +02:00
Federico Pellegrin
b4f2c1a62a tests/periph_flashpage: short raw write test if hardware supports it 2018-10-03 08:23:40 +02:00
Federico Pellegrin
2edfcdfcbb tests/periph_flashpage: add automated test for flash peripheral 2018-10-03 07:19:28 +02:00
5b398930c1 tests/unittests: exclude samr30-xpro board 2018-10-01 10:20:41 +02:00
Martine Lenders
b78f78d3a1
Merge pull request #9947 from bergzand/pr/tinycbor/v052
tinycbor: Version bump to 0.5.2
2018-09-29 22:30:46 +02:00
0b65a33979
tinycbor: Version bump to 0.5.2
This release fixed some bugs related to disabling float support in the
parser.
The float support is now optional and can be enabled by including the
tinycbor_float module. This allows for compiling on AVR as that platform
doesn't support the float specific defines used by tinycbor.
2018-09-28 20:47:25 +02:00
PeterKietzmann
29fca6dd56 unittests/tests-ecc: generalize ECC test 2018-09-28 08:53:25 +02:00
PeterKietzmann
b7615e9e1b sys/ecc: remove separate hamming256 folder 2018-09-28 08:53:25 +02:00
Hauke Petersen
4a59113963 net/nanocoap: use correct type param for _bulid_hdr() 2018-09-26 13:00:39 +02:00
Martine Lenders
3f8819dfe8
Merge pull request #10039 from smlng/pr/fix/bench_sizeof_coretypes
tests: enhance bench_sizeof_coretypes
2018-09-26 10:53:17 +02:00
smlng
3c202d0ad2 tests/bench_sizeof_coretypes: fix ifdef for wait_data attribute 2018-09-26 09:58:51 +02:00
smlng
368ee45986 tests/bench_sizeof_coretypes: use testrunner from pylib path 2018-09-26 09:58:51 +02:00
smlng
852c4baf00 tests: print missing thread_t attribute
This adds the `stack_size` attribute which wasn't printed right now
so for instance the numbers didn't add for the sizeof(thread_t) when
DEVELHELP was on its of by 4 bytes (on 32-Bit).
2018-09-26 09:58:51 +02:00
ad7ec70af0
Merge pull request #9863 from leandrolanzieri/pr/lora-serialization
pkg/lora-serialization: add support for lora-serialization format
2018-09-26 09:58:06 +02:00
Leandro Lanzieri
f2bda2bb69 pkg/lora-serialization: Add lora serialization external package
tests/pkg_lora-serialization: Add test application
2018-09-26 09:09:37 +02:00
61f3687ee2
Merge pull request #8864 from aabadie/pr/pkg/semtech-loramac_update_pkg
pkg/semtech-loramac: update to upstream v4.4.1 + cleanup
2018-09-26 08:57:40 +02:00
Martine Lenders
cf87144daa
Merge pull request #8793 from beduino-project/remove-cbor-module
sys/cbor: remove module
2018-09-25 23:15:59 +02:00
Martine Lenders
442df8227b
Merge pull request #9839 from MrKevinWeiss/pr/doc/repoupdate
doc: Add deprecation warnings for new repos
2018-09-25 23:15:07 +02:00
7bfef117fc tests/pkg_semtech-loramac: use new return codes in application 2018-09-25 22:22:13 +02:00
6e12b44d12 tests/pkg_semtech-loramac: adapt to pkg changes 2018-09-25 22:22:13 +02:00
dd789fcdaf tests/pkg_semtech_loramac: adapt to latest pkg version 2018-09-25 22:22:13 +02:00
Sören Tempel
e523e8f5ec sys/cbor: remove module
Fixes #7707
Fixes #7800
2018-09-25 21:07:29 +02:00
Martine Lenders
f1529b886c
Merge pull request #10014 from cladmi/pr/tests_libc/fix_for_llvm
tests/libc_newlib: fix pointers comparison for llvm
2018-09-25 15:50:37 +02:00
cladmi
ba2a8dfe8a
tests/libc_newlib: fix pointers comparison for llvm
With llvm and samr21-xpro, I could not directly do 'printf == iprintf'.
But doing `(printf - iprintf) == 0` correctly checked if they are equal.

Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
2018-09-25 15:02:29 +02:00
smlng
59e299635b cppcheck: add/correct reason for cppcheck-suppress
Adding and correcting description/rational on why certain cppcheck
warnings or errors are intentionally suppressed.
2018-09-25 12:03:58 +02:00
Martine Lenders
925b9c6422 tests/gnrc_sixlowpan: fix stacksize of dummy device
This was already too small in 6c2510dc so it should have been properly
tested. Now that we are testing it on CI with binaries compiled by LLVM
this leads to crashes with this "new" platform.
2018-09-24 16:18:42 +02:00
Martine Lenders
606a294970
Merge pull request #9979 from SemjonKerner/add_irq_dis_enable_test
tests/periph_gpio: add interrupt enable disable command
2018-09-21 17:11:39 +02:00
91f711010e
Merge pull request #9980 from silkeh/libhydrogen
pkg: add libhydrogen
2018-09-21 14:28:04 +02:00
Silke Hofstra
398d1d44d2 pkg: add libhydrogen 2018-09-21 13:48:00 +02:00
Semjon Kerner
64dc5e7dd4 tests/periph_gpio: add interrupt enable disable command 2018-09-21 11:24:46 +02:00
Joakim Nohlgård
bf7bbec6ec
Merge pull request #9981 from haukepetersen/fix_gpio_ifdefextintfuncs
tests/periph_gpio: make IRQ related functionality optional
2018-09-21 10:30:00 +02:00
Hauke Petersen
0b616acbc6 tests/periph_gpio: make IRQ commands optional
only include irq related shell commands in case the
PERIPH_GPIO_IRQ feature is selected
2018-09-21 08:23:44 +02:00
Semjon Kerner
071b8dfa98 tests/srf04: test application for srf04 driver 2018-09-20 15:18:49 +02:00
cladmi
784b9806cc
tests/netdev_test: remove non required feature periph_timer
Found out it is not actually linked.
2018-09-19 18:53:07 +02:00
Silke Hofstra
ee82d4fbfe boards, examples, tests: rename stm32mindev to blackpill 2018-09-19 16:22:14 +02:00
Francisco Acosta
3721f193d0
Merge pull request #9816 from leandrolanzieri/lobaro_port
boards/lobaro-lorabox: Add support for Lobaro LoraBox board
2018-09-18 19:35:59 +02:00
Leandro Lanzieri
177ef5bfa9 boards/lobaro-lorabox: Add initial support for Lobaro Lorabox board 2018-09-18 18:07:07 +02:00
e66e9f8c5f
Merge pull request #9922 from gebart/pr/bench_timers_typo
bench_timers: Fix mixup in trace output
2018-09-16 22:01:05 +02:00
5d1cc5713c tests/bench_runtime_coreapis: remove unnecessary test target 2018-09-11 16:58:20 +02:00
Joakim Nohlgård
49debfc67c bench_timers: Fix mixup in trace output
The equal sign was intended to be a symbol for parallel timers (two
lines), the minus was intended to be a single timer (one line).
2018-09-11 15:55:11 +02:00
Martine Lenders
e8af06fe5f
Merge pull request #9346 from haukepetersen/add_bench_sizeofcoretypes
tests: initial include of tests/bench_sizeof_coretypes
2018-09-11 15:17:08 +02:00
Martine Lenders
f1a5b08d3a
Merge pull request #9433 from neiljay/pr/blacklist_pic32_boards
pic32: Blacklist pic32 boards from some pkg tests
2018-09-11 14:32:23 +02:00
Hauke Petersen
4abe8d59d9 test: remove now deprecated sizeof_tcb test
The contents of the test were fully merged into
tests/bench_sizeof_coretypes.
2018-09-11 14:12:59 +02:00
Hauke Petersen
a61b5e3605 tests: initial include of bench_sizeof_coretypes 2018-09-11 14:12:59 +02:00
Ken Bannister
104de7b621
Merge pull request #9872 from haukepetersen/fix_nanocoap_optputstring
net/nanocoap: allow empty uri/location path option
2018-09-11 11:14:48 +00:00
Hauke Petersen
e9f9905079 tests: add core API runtime benchmark 2018-09-11 11:34:30 +02:00
Ken Bannister
cad1ccfa3b net/nanocoap: add unit test for trailing slash in path 2018-09-11 10:06:57 +02:00
472bd0ae01 tests: remove obsolete local test targets 2018-09-07 15:13:08 +02:00
Andreas "Paul" Pauli
775acf9268
Merge pull request #9625 from Josar/pr/xtimer_drift/interval
test/xtimer_drift: interval calculation
2018-09-06 14:24:26 +02:00
Martine Lenders
0fccf65c27
Merge pull request #9748 from miri64/tests/enh/ula-src
tests/gnrc_netif: add test for ULA source selection
2018-09-06 10:10:53 +02:00
Francisco Acosta
fad4d9be19
Merge pull request #9781 from cladmi/pr/toolchain/avr/linkerscript
atmega_common: allow defining rom and ram length for link.
2018-09-05 16:00:33 +02:00
cladmi
6942c376df
tests/: blacklist arduino boards based on ROM/RAM overflow 2018-09-05 12:08:29 +02:00
cladmi
ad6f6fcb03
tests/xtimer: blacklist arduino boards based on ROM/RAM overflow 2018-09-05 12:08:27 +02:00
cladmi
fc6c06992f
tests/thread: blacklist arduino boards based on ROM/RAM overflow 2018-09-05 12:08:24 +02:00
cladmi
725d3d9bcd
tests/pkg: blacklist arduino boards based on ROM/RAM overflow 2018-09-05 12:08:22 +02:00
cladmi
661868cf4e
tests/periph: blacklist arduino boards based on ROM/RAM overflow 2018-09-05 12:08:20 +02:00
cladmi
4a9187f74c
tests/gnrc: blacklist arduino boards based on ROM/RAM overflow 2018-09-05 12:08:18 +02:00
cladmi
1bab7742c2
tests/driver: blacklist arduino boards based on ROM/RAM overflow 2018-09-05 12:08:14 +02:00
Schorcht
6e3c84d3ca tests: blacklist esp8266 based boards 2018-09-05 02:39:50 +02:00
Martine Lenders
461ceb8072 tests/lwip_sock_*: remove implicit import of lwip_ethernet module
Now that `lwip_ethernet` is pulled in as a dependency of `lwip` +
`netdev_eth`, it can be removed.
2018-09-04 13:48:22 +02:00
Martine Lenders
d9d5828106 tests/lwip: remove implicit import of lwip_ethernet module
Now that `lwip_ethernet` is pulled in as a dependency of `lwip` +
`netdev_eth`, it can be removed. This also makes this application more
flexible for usage of non-`native` boards with Ethernet devices.
2018-09-04 13:44:48 +02:00
Martine Lenders
2350c46740
Merge pull request #9826 from kaspar030/fix_byteorder_bebuf
core/byteorder: fix bebuftohs() / htobebufs() on big endian
2018-09-03 14:35:29 +02:00
Josarn
fdb2baa10a test/xtimer_drift: interval calculation 2018-09-02 22:29:44 +02:00
Hauke Petersen
04bc6ee069 unittests/nanocoap: adjust to api changes 2018-08-30 10:31:03 +02:00
Joakim Nohlgård
ace717ee27 drivers: Add dep on periph_gpio_irq in drivers using GPIO IRQ 2018-08-29 08:53:20 +02:00
Joakim Nohlgård
667a43f742 tests/driver_*: Rely on Makefile.dep for FEATURES_REQUIRED 2018-08-26 09:34:58 +02:00
Joakim Nohlgård
32223aa760 tests/openthread: Makefile: Fix FEATURES_REQUIRED 2018-08-26 07:24:38 +02:00
MrKevinWeiss
223ed1a26b doc: Add deprecation warnings for new repos
This PR add deprication warning to notify anyone using the if_lib files that it is being removed from RIOT repo and making it's own repo (RIOT-OS/lib_if).
This is intended to help wil modularization since it is not only being used within RIOT but in other areas as well.
README files are updated to indicate the change and if the if_lib is used it will throw a warning indicating the deprecation.
2018-08-25 10:34:32 +02:00
face869e3e tests/unittests/core: add byteorder_bebuftohs(), byteorder_htobebufs() tests 2018-08-23 10:34:59 +02:00
Hauke Petersen
c2184f3454 boards/cpu/drivers/sys: use generic stdio_ if 2018-08-22 10:54:25 +02:00
463b04aa74
Merge pull request #7067 from dylad/adxl345_fix
drivers/adxl345: fixes & cleanup
2018-08-22 10:23:46 +02:00
Martine Lenders
ead6c1fd00
Merge pull request #9797 from gschorcht/tests_driver_isl29125_fix
tests/driver_isl29125: fix of compilation error
2018-08-21 11:18:00 +02:00
Toon Stegen
6a224d8bf2 unittests: add unittests for fmt_hex_byte 2018-08-20 16:19:30 +02:00
Gunar Schorcht
7b8ef9e1c3 tests/driver_isl29125: fix of compilation error 2018-08-20 08:42:08 +02:00
Martine Lenders
69475e0511
Merge pull request #9796 from gschorcht/lwip_sock_fix
tests/lwip_sock_*: fix compilation error
2018-08-19 19:44:53 +02:00
Gunar Schorcht
a71124a809 tests/lwip_sock_*: fix compilation error 2018-08-19 19:13:05 +02:00
Gaëtan Harter
31aba49a31
Merge pull request #9759 from smlng/pr/pythonlibs/testrunner
dist: move testrunner to pythonlibs as package
2018-08-16 11:54:02 +02:00
José Alamos
a697689c4c
Merge pull request #9729 from leandrolanzieri/pr/sensebox
boards/sensebox: Add support for SenseBox board
2018-08-15 10:04:57 +02:00
smlng
3893f04d00 tests: move testrunner import up
Testrunner is now impported as a package found in PYTHONPATH, so
import can be placed at the top of the script as usual.
2018-08-13 14:11:24 +02:00
smlng
f9824abedb tests: remove unused os package import
os package is imported by every test script but only used by
a few, thus flake8 check reported errors.
2018-08-13 14:11:23 +02:00
smlng
13d61b5c20 tests: use testrunner from pythonlibs
Remove now obsolete sys.append from all tests, as testrunner was moved
to dist/pythonlibs as proper package.
2018-08-13 14:11:23 +02:00
Jose Alamos
d54a74736d boards/sensebox: Initial board port for SenseBox MCU with SAMD21 2018-08-13 10:49:46 +02:00
e2d2a479bf
Merge pull request #9351 from cladmi/pr/make/cortexm_common/linkerscript
cortexm_common/ldscript: simplify generation of firmwares in section of the ROM
2018-08-12 12:28:44 +02:00
Gaëtan Harter
6abcf2e015
cortexm_common_ldscript: add a README.md
Explain the test and the output you should get.
2018-08-11 11:34:10 +02:00
Gaëtan Harter
8ecc0ac652
cortexm_common_ldscript: add test for _fw_rom_length overflow
Verify that specifying a too big _fw_rom_length for the rom is detected and
prevent compilation.
2018-08-11 11:34:07 +02:00
Gaëtan Harter
6768763601
cortexm_common_ldscript: add test for linker FW_ROM_LEN
Compile an elf file with a length equals to half the rom length.
2018-08-11 11:34:04 +02:00
Gaëtan Harter
642f5f2414
cortexm_common_ldscript: add test for linker script offset
Compile two elf files with different offset and verify the linked file offset.
I only enabled samr21-xpro and iotlab nodes for the moment.
2018-08-11 11:33:58 +02:00
Gaëtan Harter
def2858af9
cortexm_common_ldscript: test _rom_offfset taken into account
Test that _rom_offfset is removed from the available _rom_length.
2018-08-11 11:33:49 +02:00
Gaëtan Harter
bbb1fbe0e3
cortexm_common_ldscript: add a test that checks if ROM_LEN is used
Trigger an overflow by 1 byte to detect in ROM_LEN is indeed used.
2018-08-11 11:33:43 +02:00
Joakim Nohlgård
556d06d3bf tests/gnrc_netif: Fix -Wformat-overflow
Fixes the following error with GCC 7

main.c: In function 'test_netif_get_name':
main.c:1054:23: error: 'sprintf' may write a terminating nul past the end of the destination [-Werror=format-overflow=]
     sprintf(exp_name, "if%d", (int)netif);
                       ^~~~~~
main.c:1054:5: note: 'sprintf' output between 4 and 9 bytes into a destination of size 8
     sprintf(exp_name, "if%d", (int)netif);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2018-08-11 07:28:29 +02:00
Martine Lenders
c1926414ab tests/gnrc_netif: add test for ULA source selection 2018-08-09 11:37:10 +02:00
Gaëtan Harter
a081b485c1
tests/evtimer_underflow: run tests with echo=True by default 2018-08-09 07:13:25 +02:00
Gaëtan Harter
11d2cdb2ac
tests/cbor: run tests with echo=True by default 2018-08-09 07:13:12 +02:00
Gaëtan Harter
842bc88d4e
tests/evtimer_msg: run tests with echo=True by default 2018-08-09 07:12:50 +02:00
Gaëtan Harter
e0c4442395
tests/isr_yield_higher: run tests with echo=True by default 2018-08-09 07:12:31 +02:00
Gaëtan Harter
e354bf4174
tests/od: run tests with echo=True by default 2018-08-09 07:12:13 +02:00
Ken Bannister
3f3df74bcd
Merge pull request #7237 from Ell-i/feature-gcoap-extra-indirection
net/gcoap: Make references to coap_resource_t all const in gcoap
2018-08-07 23:52:59 -04:00
Gaëtan Harter
8ab79e94c1
tests/gnrc_netif: enable CI tests 2018-08-07 18:05:07 +02:00
Gaëtan Harter
a7241384be
Merge pull request #9719 from miri64/gnrc_ipv6_nib/enh/emit-conf
gnrc_ipv6_nib: make automatic NDP packet emission (NS/RS) configurable
2018-08-07 17:55:00 +02:00
Martine Lenders
bc320cd011 tests/gnrc_netif: disable NDP emissions
This test doesn't test NDP behavior so emissions of NDP neighbor and
router solicitations is more harming than helpful. Because of that I
disabled it for this test.
2018-08-07 16:50:39 +02:00