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

17893 Commits

Author SHA1 Message Date
6cee498832 release notes 2018.04 typo fix 2018-05-11 17:58:24 +02:00
Gaëtan Harter
4032cf73b0
tests/trickle: initialize prev_now in main
Having `prev_now` initialized to 0 breaks tests on `arduino-zero` and
`arduino-mega2560` as `xtimer_now_usec` is way bigger (72k on `arduino-zero`).

Issue found in:
* #9052 and proposed fix by ZetaR60
* https://github.com/RIOT-OS/Release-Specs/issues/62#issuecomment-387421737
2018-05-11 17:56:27 +02:00
Gaëtan Harter
60d09e6b21
sys/icmpv6_hdr_print: replace PRIu8 by PRIu16
PRIu8 is not supported on samr21-xpro:

    type:   hu  code:   hu

After fix

    type: 133  code:   0

Found by running 'tests/gnrc_netif'
2018-05-11 17:41:25 +02:00
f4566fe175
Merge pull request #9114 from kaspar030/2018.04/release-notes
add 2018.04 release notes
2018-05-11 17:33:24 +02:00
fec1a09d89 add 2018.04 release notes 2018-05-11 16:31:25 +02:00
Gaëtan Harter
d0f22b787c
Merge pull request #8112 from cladmi/pr/crypto/input_len
crypto/ccm: fix input_len checking with length_encoding
2018-05-09 18:56:34 +02:00
Gaëtan Harter
96812341fc
Merge pull request #9110 from cladmi/pr/make/riottools/gnrc_border_router
examples/gnrc_border_router: use RIOTTOOLS variable
2018-05-09 18:55:44 +02:00
Gaëtan Harter
45e6d60373
examples/gnrc_border_router: use RIOTTOOLS variable
Follow up to #9067 and part of #8821
2018-05-09 18:49:12 +02:00
1b76ce9e92
Merge pull request #9102 from cladmi/pr/make/riottools/main_makefile
Makefile.include: use RIOTTOOLS variable for included files
2018-05-09 18:32:25 +02:00
Gaëtan Harter
e45194d301
mcuboot.mk: use RIOTTOOLS variable 2018-05-09 18:01:51 +02:00
Gaëtan Harter
297ca898fe
dist/tools/desvirt: use RIOTTOOLS variable 2018-05-09 18:01:48 +02:00
Gaëtan Harter
98d33a5eca
Makefile.include: use RIOTTOOLS variable 2018-05-09 18:01:44 +02:00
7f83c450c8
Merge pull request #9100 from cladmi/pr/tests/libfixmath_unittests
tests/libfixmath_unittests: fix for iotlab-m3 and samr21-xpro
2018-05-09 15:30:26 +02:00
83e8a52176
Merge pull request #9089 from gebart/pr/ldscript-attrs
cpu: ldscript memory attribute corrections
2018-05-09 09:26:20 +02:00
260940cfa3
Merge pull request #9079 from OTAkeys/pr/stm32f423
cpu/stm32f4: add support for STM32F423 line
2018-05-09 09:18:18 +02:00
Joakim Nohlgård
986000492d stm32_common: Adjust ldscript memory segment attributes 2018-05-09 06:49:29 +02:00
Joakim Nohlgård
e29e0588b4 sam_common: Adjust ldscript memory segment attributes 2018-05-09 06:49:25 +02:00
Joakim Nohlgård
28361592ae sam0_common: Adjust ldscript memory segment attributes 2018-05-09 06:49:02 +02:00
Joakim Nohlgård
72118db964 nrf52: Adjust ldscript memory segment attributes 2018-05-09 06:48:40 +02:00
Joakim Nohlgård
57b56d2e4d nrf51: Adjust ldscript memory segment attributes 2018-05-09 06:46:51 +02:00
Joakim Nohlgård
60b13e680c lpc2387: Adjust ldscript memory segment attributes 2018-05-09 06:46:05 +02:00
Joakim Nohlgård
bb7fdb6eda lpc1768: Adjust ldscript memory segment attributes 2018-05-09 06:45:28 +02:00
Joakim Nohlgård
37cb8dcf95 lm4f120: Adjust ldscript memory segment attributes 2018-05-09 06:45:00 +02:00
Joakim Nohlgård
433322834e ezr32wg: Adjust ldscript memory segment attributes 2018-05-09 06:44:39 +02:00
Joakim Nohlgård
4532c348b4 cortexm_common: Adjust ldscript memory segment attributes 2018-05-09 06:44:12 +02:00
Joakim Nohlgård
93e2527a64 cc26x0: Adjust ldscript memory segment attributes 2018-05-09 06:43:17 +02:00
Joakim Nohlgård
e3a27a74cc cc2538: Adjust ldscript memory segment attributes 2018-05-09 06:41:57 +02:00
Joakim Nohlgård
e7b957fb04 mips_pic32mz: Tabs to spaces in ldscript 2018-05-09 00:41:27 +02:00
Joakim Nohlgård
b8d6bcdb07 cortexm_common: specify load segment instead of load address for .data 2018-05-09 00:41:27 +02:00
Joakim Nohlgård
179e8505ba kinetis: Const ISR vector padding
Fixes misleading .data usage in size output because the .vectors section
is now properly marked as read-only in the ELF file.
2018-05-09 00:32:28 +02:00
Joakim Nohlgård
f073fdb34f cortexm_common: Mark base ISR vector as const 2018-05-09 00:32:28 +02:00
Gaëtan Harter
bd29ac614d
makefiles/info.inc.mk: add a info-debug-variable-% target
Add a target to print an internal variable value.

Usage: make info-debug-variable-VARIABLENAME

Example:

    make info-debug-variable-ELFFILE
    /path/to/riot/examples/hello-world/bin/native/hello-world.elf
2018-05-08 18:19:03 +02:00
Gaëtan Harter
2c240cadf6
tests/libfixmath_unittests: increase timeout for samr21/iotlab-m3
On iotlab-m3 test duration was 80 seconds and 250 on samr21.
2018-05-08 14:46:45 +02:00
Gaëtan Harter
1773b06a62
tests/libfixmath_unittests: add missing printf_float dependency
The test fix16_str_unittests uses snprintf("%0.5f") to compare to fix16_to_str.
2018-05-08 14:46:38 +02:00
jia200x
157238bb64
Merge pull request #8982 from aabadie/pr/pkg/semtech_loramac_mcps_fail
pkg/semtech_loramac: handle non OK mcps confirm messages
2018-05-08 12:57:51 +02:00
Gaëtan Harter
4f2521262b
tests/mutex_unlock_and_sleep: reduce number of loops in test
Globally speed up automated tests as iterating more does not add anything.

Especially usefull for wsn430 that now takes ~30 seconds instead of the double.
2018-05-08 11:55:49 +02:00
Gaëtan Harter
57a2397631
tests/mutex_unlock_and_sleep: reduce number of iterations on boards
Reduce number of iterations, it allows taking less than 3 seconds on wsn430.

Tested on wsn430 and iotlab-m3 to check that speed was not too fast to read when
executing term.
2018-05-08 11:55:10 +02:00
Gaëtan Harter
2dfb5847f3
tests/mutex_unlock_and_sleep: replace modulo to speed up tests on wsn430
Doing a 32 bit modulo is really slow on wsn430, even when changing to a power of
two modulo.

Replace modulo by a double counter.
2018-05-08 11:54:57 +02:00
7e2f5cf99a tests/pkg_semtech-loramac: adapt to change in pkg 2018-05-08 11:14:05 +02:00
87090072cf pkg/semtech-loramac: handle all mcps confirm cases 2018-05-08 11:14:05 +02:00
jia200x
736c757b80
Merge pull request #8639 from aabadie/pr/pkg/loramac_link_check
pkg/semtech-loramac: add link check support
2018-05-08 11:11:33 +02:00
Ken Bannister
492d7c1a43
Merge pull request #9087 from miri64/gcoap/enh/conf-msg-queue-size
gcoap: make message queue size configurable
2018-05-08 02:43:41 +00:00
Joakim Nohlgård
85111cb159
Merge pull request #9084 from gebart/pr/kinetis-ldscript-fix
kinetis: Memory segment attribute fixes
2018-05-07 16:53:12 +02:00
28f11626a9
Merge pull request #9056 from bergzand/pr/flake8/shellcheck
tools/flake8: fix shellcheck issues
2018-05-07 16:24:51 +02:00
1592de7bff
tools/flake8: fix shellcheck issues 2018-05-07 15:59:46 +02:00
Gaëtan Harter
4948cd01dc
Merge pull request #9091 from kaspar030/qdsa_fix
pkg/qDSA: disble arm asm version for cortexm > 0plus
2018-05-07 15:13:15 +02:00
Gaëtan Harter
fa33eacd1f
crypto/ccm: fix _fits_in_nbytes function
Function is broken with num_bytes >= 4.

Could happen when storing input_len with len_encoding >= 4.
It can take values from 2 to 8, so make it work for cases it would overflow.
2018-05-07 15:08:00 +02:00
Gaëtan Harter
ee311a331b
crypto/ccm: refactor input_len check in a function
Refactorg checking that length can be stored in a number of bytes to a
subfunction.
2018-05-07 15:08:00 +02:00
Gaëtan Harter
a47e5e427e
tests/ccm: add test for input_len check 2018-05-07 15:08:00 +02:00
Wentao Shang
89023b3499
crypto/ccm: fix input_len check
Maximum input_len depends only on length_encoding and not auth_data_len.
The current length_max value was also wrong.

RFC3610 page 2

   3. The message m, consisting of a string of l(m) octets where 0 <=
      l(m) < 2^(8L).  The length restriction ensures that l(m) can be
      encoded in a field of L octets.
2018-05-07 15:08:00 +02:00