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

8565 Commits

Author SHA1 Message Date
René Kijewski
d0294dd70e make: enable assert() in make scan-build
Compare scan-build's [documentation][1]:

> ALWAYS analyze a project in its "debug" configuration
>
> Most projects can be built in a "debug" mode that enables assertions.
> Assertions are picked up by the static analyzer to prune infeasible
> paths, which in some cases can greatly reduce the number of false
> positives (bogus error reports) emitted by the tool.

Closes #3960.

  1: http://clang-analyzer.llvm.org/scan-build.html#recommended_debug
2015-09-24 23:51:05 +02:00
Martine Lenders
6c61266bed Merge pull request #3958 from authmillenon/gnrc_ipv6_nc/fix/leave-unmanaged
gnrc_ipv6_nc: leave UNMANAGED entries UNMANAGED
2015-09-24 22:40:44 +02:00
Martine Lenders
225dcaaf34 gnrc_ipv6_nc: leave UNMANAGED entries UNMANAGED 2015-09-24 21:21:25 +02:00
Hauke Petersen
187e318da9 Merge pull request #3912 from thomaseichinger/pr/samr21-xpro_serial_port
boards/samr21-xpro: define serial port for OS X
2015-09-24 18:01:46 +02:00
Oleg Hahm
aba11407f1 Merge pull request #3957 from OlegHahm/6lowpan_DO_gc
6lowpan: do garbage collect unreachable NCEs
2015-09-24 17:57:17 +02:00
Oleg Hahm
cc0101472e 6lowpan: do garbage collect unreachable NCEs
RFC6775 says "if NUD on the router determines that the host is UNREACHABLE (based on the logic in [RFC4861]), the NCE SHOULD NOT be deleted but rather retained until the Registration Lifetime expires." Since this is a "SHOULD NOT" and not a "MUST NOT", we can still remove these NCEs to circumvent NCEs going into UNREACHABLE and never leave this state again. Actually removing these entries from the cache seems also be the better choice for memory constraint device.
2015-09-24 17:33:38 +02:00
Oleg Hahm
ad1b5b4c94 Merge pull request #3955 from daniel-k/pr/at86rf2xx_phr_compliance
at86rf2xx: mask MSB in PHR for 802.15.4 compliance
2015-09-24 17:22:15 +02:00
Hauke Petersen
f7057da00d Merge pull request #3909 from gebart/pr/k60-delete-old-devio
cpu/k60: remove leftover files from old syscall implementation
2015-09-24 16:29:07 +02:00
daniel-k
e754963c52 at86rf2xx: mask MSB in PHR for 802.15.4 compliance 2015-09-24 16:21:42 +02:00
Hauke Petersen
177dd5fd84 Merge pull request #3885 from authmillenon/socket_base/clean/rm
socket_base: remove deprecated header files
2015-09-24 16:14:06 +02:00
Martine Lenders
8b2e4d5ffa socket_base: remove deprecated header files 2015-09-24 15:45:37 +02:00
Martine Lenders
000892773f Merge pull request #3882 from authmillenon/pkg/clean/oonf_api
oonf_api: adapt for new sockets
2015-09-24 15:44:10 +02:00
Martine Lenders
ae46d5d6a0 Merge pull request #3953 from OlegHahm/6lowpan_slaac_fixes
6lowpan: make SLAAC work
2015-09-24 14:14:41 +02:00
Oleg Hahm
63fda9e900 6lowpan: remove tentative flag for local addresses
There's no real need for this flag, but it causes problem during address registration.
2015-09-24 13:33:10 +02:00
Oleg Hahm
c5b1156909 IPv6 nd: missing parameter for debug function 2015-09-24 13:17:21 +02:00
Oleg Hahm
bb287ae7e8 6lowpan netif: set prefixes for 6LBR first
By adding a newly added prefix first, it is assured that the following router advertisement will already disseminate it via the PIO.
2015-09-24 13:15:38 +02:00
Hauke Petersen
026503d229 Merge pull request #3952 from gebart/pr/kinetis-timer-channel-return
kinetis: timer: return error if timer channel is not zero.
2015-09-24 11:49:54 +02:00
Hauke Petersen
7cb3f9bd5e Merge pull request #3716 from kaspar030/ng_cc110x
drivers: add cc110x driver
2015-09-24 11:49:38 +02:00
Joakim Nohlgård
015098d2c2 kinetis: timer: return error if timer channel is not zero. 2015-09-24 06:46:34 +02:00
Martine Lenders
5e2b4b6b23 Merge pull request #3951 from OlegHahm/6lowpan_nd_pio_fixes
6lowpan nd: PIO fixes
2015-09-24 02:52:45 +02:00
Martine Lenders
109b2ab522 Merge pull request #3950 from authmillenon/gnrc_sixlowpan_iphc/fix/set-mcast-ctx
gnrc_sixlowpan_iphc: actually set context for unicast prefix based comp
2015-09-24 02:33:16 +02:00
Oleg Hahm
fee9ad77cb ipv6: init addresses w/ infinite validity time 2015-09-24 02:27:42 +02:00
Oleg Hahm
9b7b1bae37 6lowpan: prefixes are initially all null pointers
Since the prefixes list stores pointers, one need to check for null pointers first.
2015-09-24 02:27:42 +02:00
Oleg Hahm
ba023aecb8 6lowpan nd: use correct upper limit for iterating
While iterating over the prefixes the wrong upper limit was used for the for loop.
2015-09-24 02:27:42 +02:00
Martine Lenders
3c69d7bec3 Merge pull request #3949 from OlegHahm/iphc_set_DAC
6lowpan IPHC: set stateful compression mode f. dst
2015-09-24 02:25:48 +02:00
Martine Lenders
1372b9b779 gnrc_sixlowpan_iphc: actually set context for unicast prefix based comp 2015-09-24 02:15:35 +02:00
Oleg Hahm
e9d6eb8170 6lowpan IPHC: set stateful compression mode f. dst
For destionation addresses the stateful compression mode bit wasn't set.
2015-09-24 02:15:21 +02:00
Martine Lenders
dd7b96c840 Merge pull request #3750 from authmillenon/shell/feat/6ctx
shell_commands: provide command for 6Lo context administration at 6LBR
2015-09-24 02:08:35 +02:00
Martine Lenders
3536c84844 oonf_api: adapt for new sockets 2015-09-24 02:04:11 +02:00
Oleg Hahm
845c02204c Merge pull request #3948 from OlegHahm/netif_add_no_mc_na
6lowpan: do not send NSs for new MC addresses
2015-09-24 01:50:18 +02:00
Martine Lenders
dd69fd0cd3 gnrc_ndp_internal: add missing include 2015-09-24 01:36:54 +02:00
Martine Lenders
cc9aa3550d shell_commands: provide command for 6Lo context administration 2015-09-24 01:36:53 +02:00
Oleg Hahm
0cc4f57fc0 6lowpan: do not send NAs for new MC addresses 2015-09-24 00:03:06 +02:00
Hauke Petersen
ff84390627 Merge pull request #3939 from haukepetersen/fix_native_periph_timer
native/timer: fix return value for invalid channel
2015-09-23 22:54:05 +02:00
Hauke Petersen
7d38a18060 Merge pull request #3946 from kaspar030/add_lpc3287_spi_conf_pins
cpu: lpc2387: add spi_conf_pins()
2015-09-23 22:49:30 +02:00
Oleg Hahm
5df45329b1 Merge pull request #3945 from authmillenon/gnrc_ipv6_netif/fix/ra-src-ll
gnrc_ipv6_netif: a RA source MUST be link-local
2015-09-23 22:26:10 +02:00
d0ff4946ea cpu: lpc2387: add spi_conf_pins() 2015-09-23 19:00:55 +02:00
63acf0bb19 boards: msba2: add cc110x support 2015-09-23 18:56:00 +02:00
14d0ef6c4d drivers: add cc110x driver 2015-09-23 18:55:11 +02:00
Martine Lenders
771e7f40cd gnrc_ipv6_netif: a RA source MUST be link-local 2015-09-23 18:34:47 +02:00
Martine Lenders
320aa47200 Merge pull request #3876 from authmillenon/nhdp/enh/use-conn
nhdp: use conn instead of socket_base
2015-09-23 18:00:10 +02:00
Martine Lenders
ed4512470b Merge pull request #3942 from OlegHahm/pktbuf_dump_fix_chunk_size
pktbuf: correct size for printing chunk dumps
2015-09-23 17:58:21 +02:00
Oleg Hahm
30885a2a2d pktbuf: correct size for printing chunk dumps 2015-09-23 16:44:45 +02:00
Martine Lenders
45af84700a Merge pull request #3940 from authmillenon/gnrc_slip/fix/reversed-recv
gnrc_slip: reorder received packet correctly
2015-09-23 16:29:37 +02:00
Martine Lenders
e06e85d65c gnrc_slip: reorder received packet correctly 2015-09-23 16:14:33 +02:00
Hauke Petersen
1664bcbf59 native/timer: fix return value for invalid channel 2015-09-23 14:48:23 +02:00
Oleg Hahm
830bf36061 Merge pull request #3928 from authmillenon/gnrc_sixlowpan_nd/fix/opt-check
gnrc_sixlowpan_nd: fix 6ctx option check
2015-09-23 01:47:43 +02:00
Oleg Hahm
2a41861154 Merge pull request #3937 from OlegHahm/ipv6_nc_debug_fix
IPv6 nc: missing debug parameter
2015-09-22 23:35:13 +02:00
Martine Lenders
4508e22da8 Merge pull request #3646 from authmillenon/posix/feat/sockets
posix: redo socket API to use conn
2015-09-22 23:04:03 +02:00
Martine Lenders
c36f9e0537 tests: adapt coap test app 2015-09-22 22:28:32 +02:00