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

18014 Commits

Author SHA1 Message Date
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
b1eb793274 pkg/qDSA: disble arm asm version for cortexm > 0plus 2018-05-07 14:24:26 +02:00
Gunar Schorcht
af226d4fec enc28j60: fix compilation with l2 stats enabled 2018-05-07 13:42:03 +02:00
Martine Lenders
8a46cf611e gcoap: make message queue size configurable 2018-05-06 16:41:43 +02:00
Joakim Nohlgård
321aa567d6 kinetis: Memory segment attribute fixes
vectors and flashsec memory segments will not be considered for orphan
sections if rx is only given for the rom segment.
2018-05-05 08:11:00 +02:00
9020767c2d
Merge pull request #9071 from cladmi/pr/make/riottools/arduino
sys/arduino: use RIOTTOOLS variable
2018-05-04 23:10:07 +02:00
Francisco Acosta
5519f06e1e
Merge pull request #8897 from ZetaR60/RIOT_atmega_race
tests/thread_race: add test for race conditions
2018-05-04 19:38:27 +02:00
Matthew Blue
8d40e3c481 tests/thread_race: add test for race conditions 2018-05-04 12:49:01 -04:00
Cenk Gündoğan
2687e87e0a
Merge pull request #9073 from miri64/gnrc_rpl/fix/ft-del
gnrc_rpl: remove route before updating it
2018-05-04 18:00:05 +02:00
Martine Lenders
3d821ee195 gnrc_rpl: remove route before updating it
The "new" forwarding table does not update an old route but just adds
another as long as it is not *exactly* the same. However, the RPL
adaptation missed to remove the old route so RPL got easily confused
about where it actually needed to send packets.
2018-05-04 17:46:02 +02:00
48d17e68de
Merge pull request #9072 from cladmi/pr/make/riottools/pkg
pkg: use RIOTTOOLS variable
2018-05-04 15:35:36 +02:00
c313637db6
Merge pull request #9069 from cladmi/pr/make/riottools/tests
tests: use RIOTTOOLS variable
2018-05-04 15:31:06 +02:00
Vincent Dupont
4e86e12247 cpu/stm32_common: add info-stm32 make target 2018-05-04 15:30:56 +02:00
Vincent Dupont
51dcf27904 cpu/stm32f4: fix support for whole STM32F413 line 2018-05-04 15:30:56 +02:00
Vincent Dupont
9c03ff71b7 cpu/stm32f4: add support for STM32F423 line 2018-05-04 15:30:56 +02:00
3474d052b9 boards/iotlab: fix saul gpio configuration
take into account inversion of LEDs and initialize them cleared
2018-05-04 15:07:20 +02:00
Hauke Petersen
9815697b3e cpu/nrf5x: define nrfmin feature in nrf5x_common 2018-05-04 13:47:46 +02:00
Hauke Petersen
1aaec8abf7 boards/nrf51-based: remove unused RADIO_IRQ_PRIO 2018-05-04 13:46:29 +02:00
Francisco Acosta
53c3f833af
Merge pull request #8904 from ZetaR60/RIOT_atmega_race_fix_alt
cpu/atmega_common: return to non-interrupt context swaps
2018-05-04 12:08:59 +02:00
Gaëtan Harter
1de1830108
pkg: use RIOTTOOLS variable
Follow up to #9067 and part of #8821
2018-05-04 11:34:38 +02:00
Gaëtan Harter
14ac80e15a
sys/arduino: use RIOTTOOLS variable
Follow up to #9067 and part of #8821
2018-05-04 11:16:48 +02:00
Gaëtan Harter
154fbcff35
tests: use RIOTTOOLS variable
Follow up to #9067 and part of #8821
2018-05-04 10:52:26 +02:00
Matthew Blue
d3d2f0212d boards/waspmote-pro: remove context swap defines 2018-05-03 17:29:28 -04:00
Matthew Blue
dee0e659cb boards/mega-xplained: remove context swap defines 2018-05-03 17:29:28 -04:00
Matthew Blue
55a7d8f83d boards/jiminy-mega256rfr2: remove context swap defines 2018-05-03 17:29:28 -04:00
Sebastian Meiling
00a974d950
Merge pull request #9067 from cladmi/pr/make/riottools
make: add and export RIOTTOOLS directory
2018-05-03 19:51:09 +02:00
smlng
a83d53f2d9
make: add and export RIOTTOOLS directory
Replacing usage will come in further commits/PRs.
2018-05-03 15:56:00 +02:00
f9c75d0df7
Merge pull request #8915 from ZetaR60/RIOT_ads101x
drivers/ads101x: support for ADCs
2018-05-03 08:31:03 +02:00
Matthew Blue
2979626ef6 boards/common/atmega: gracefully handle CKDIV8 fuse 2018-05-02 14:05:33 -04:00
Francisco Acosta
d52186a169
Merge pull request #9055 from bergzand/pr/cbor/include_mv
cbor: Move header to cbor subdirectory
2018-05-02 13:51:38 +02:00
660fc029f4
Merge pull request #9059 from checorone/master
boards/nucleo-f401: configure USART1 port
2018-05-02 08:34:57 +02:00