Commit Graph

6349 Commits

Author SHA1 Message Date
Joseph Noir bddaee751d Add replacement headers for thread, mutex and cond
These headers do not provide full stl functionality,
but a small subset:
* thread and this_thread
* condition_variable (some timed functions are missing)
* mutex, lock_guard and unique_lock
2015-05-18 13:57:02 +02:00
Martine Lenders e53cdbb1b5 Merge pull request #3015 from gebart/pr/cppcheck-warnings
cppcheck drive-by fixes
2015-05-18 11:51:22 +02:00
Kaspar Schleiser c1ef2722d6 Merge pull request #2907 from kaspar030/log
core: introduce logging API
2015-05-18 10:56:45 +02:00
Hauke Petersen 9e92ad5e89 Merge pull request #2948 from d00616/cpu_nrf51_poweropt_random
cpu/nrf51822/periph/random Power optimization
2015-05-18 10:41:44 +02:00
Hauke Petersen fc52bfa164 Merge pull request #3014 from gebart/pr/ng_at86rf2xx-array-bounds
drivers/ng_at86rf2xx: correct array bounds on tx_pow_to_dbm
2015-05-18 10:35:14 +02:00
Hauke Petersen 7926d921df Merge pull request #2973 from bapclenet/at86rf2xx/212b
at86rf2xx/915MHz fix
2015-05-18 10:13:52 +02:00
Joakim Gebart 869ce92246 ng_ndp: reduce scope of variables l2src, l2src_len
Fixes cppcheck warnings:

    sys/net/network_layer/ng_ndp/ng_ndp.c:548: style (variableScope): The scope of the variable 'l2src' can be reduced.
    sys/net/network_layer/ng_ndp/ng_ndp.c:549: style (variableScope): The scope of the variable 'l2src_len' can be reduced.
    sys/net/network_layer/ng_ndp/ng_ndp.c:608: style (variableScope): The scope of the variable 'l2src' can be reduced.
    sys/net/network_layer/ng_ndp/ng_ndp.c:609: style (variableScope): The scope of the variable 'l2src_len' can be reduced.
2015-05-18 06:34:13 +02:00
Joakim Gebart ca7697d84f sys/net/network_layer/sixlowpan/ip.c reduce scope of bmatch 2015-05-18 06:31:28 +02:00
Joakim Gebart 01c5120039 cortex-m: Suppress cppcheck error about uninitialized result
False positive, the variable result is assigned from within inline assembly
2015-05-18 06:29:35 +02:00
Joakim Gebart 5dbeef5a95 drivers/ng_at86rf2xx: correct array bounds on tx_pow_to_dbm
There are only 37 entries in the array in the C file as well as in the
table in the data sheet.

Fixes the following cppcheck error:

    drivers/ng_at86rf2xx/ng_at86rf2xx_getset.c:49: error (arrayIndexOutOfBounds): Array 'dbm_to_tx_pow_868[37]' accessed at index 37, which is out of bounds.
2015-05-18 06:15:10 +02:00
Kaspar Schleiser c944d54171 core: log: introduce logging API 2015-05-17 21:49:22 +02:00
Martine Lenders 684a7d5b42 Merge pull request #3004 from authmillenon/ng_ipv6/enh/module-selection
make: introduce *_default pseudo-modules
2015-05-17 21:40:44 +02:00
Oleg Hahm 12df25fb67 Merge pull request #2951 from authmillenon/make/enh/disable-actual
make: actually disable a DISABLED_MODULE
2015-05-17 20:35:11 +02:00
Oleg Hahm 287aa4cdbf Merge pull request #2992 from gebart/pr/pwm-return-value
periph_pwm: Return actual frequency (like the docs say)
2015-05-17 13:06:08 +02:00
Oleg Hahm c131911acc Merge pull request #3010 from jremmert-phytec-iot/pba-d-01-kw2x_travis
boards/pba-d-01-kw2x: add board to m4 travis build group
2015-05-17 13:05:30 +02:00
Martine Lenders d76fb3fa8b make: introduce *_default pseudo-modules
Fixes #2971
2015-05-17 10:47:16 +02:00
Martine Lenders 4f1d7adfc6 Merge pull request #2910 from authmillenon/ng_ndp/feat/addr-res
ng_ndp: initial import of address resolution
2015-05-17 10:45:12 +02:00
Martine Lenders db33a1047e shell: add examplery ng_ipv6_nc_still_reachable() 2015-05-17 09:15:03 +02:00
Martine Lenders ee11a2ae56 ng_ndp: initial import of the address resolution 2015-05-17 09:15:03 +02:00
Martine Lenders c35a869a90 Merge pull request #3002 from authmillenon/ng_icmpv6_echo/fix/set-id
ng_icmpv6_echo: fix setting of ID field
2015-05-17 02:47:17 +02:00
Jonas 4b8613b944 add pba-d-01-kw2x board to m4-group 2015-05-17 00:43:58 +02:00
Martine Lenders ad001abbe7 Merge pull request #2909 from authmillenon/ipv6_netif/enh/opt
ipv6_netif: prepare for NDP
2015-05-16 21:50:49 +02:00
Martine Lenders e496992061 Merge pull request #3000 from LudwigOrtmann/pr/isl29125-doc
drivers/isl29125: fix group description
2015-05-16 20:21:49 +02:00
Oleg Hahm aec03a11ee Merge pull request #2995 from jfischer-phytec-iot/fix@ip-rm-addr-of-op
sys/net/network_layer/sixlowpan/ip.c: remove unnecessary address-of-operator
2015-05-16 19:50:23 +02:00
Oleg Hahm 5ad4b1f915 Merge pull request #2996 from jfischer-phytec-iot/fix@icmp-prefix-l-param
sys/.../icmp.c: fix wrong ndp_add_prefix_info parameter
2015-05-16 19:50:07 +02:00
Oleg Hahm 7ad05e03ee Merge pull request #3003 from Lotterleben/oonf_fix_pkg_url
oonf_api: update pkg url
2015-05-16 19:49:49 +02:00
Oleg Hahm be707befbc Merge pull request #2997 from jfischer-phytec-iot/fix@icmp-prefix-search
sys/.../icmp.c: fix prefix search
2015-05-16 19:42:39 +02:00
Martine Lenders 5f1d6f4f43 Merge pull request #2999 from jfischer-phytec-iot/fix@ip-get-best-src-addr
sys/.../ip.c: fix ipv6_net_if_get_best_src_addr
2015-05-16 19:30:05 +02:00
Martine Lenders e032cda53d Merge pull request #2998 from authmillenon/ng_icmpv6/fix/preset-csum-field
ng_icmpv6: pre-set checksum field to 0 for sending
2015-05-16 19:22:29 +02:00
Martine Lenders d8285cd3d2 ng_icmpv6_echo: fix setting of ID field 2015-05-16 18:35:48 +02:00
Martine Lenders 9899153fb4 ipv6_netif: piggy-back fix for DEBUG messages 2015-05-16 15:04:56 +02:00
Martine Lenders 5fe7b9a8d3 tests: adapt unittests 2015-05-16 15:03:17 +02:00
Martine Lenders 5e9a4acd29 shell: adapt sc_netif 2015-05-16 15:03:17 +02:00
Martine Lenders 70d7fae538 ipv6_netif: prepare for NDP 2015-05-16 15:03:16 +02:00
Philipp Rosenkranz 856c951d40 Merge pull request #2867 from gebart/pr/drone-ci
drone: added Drone file
2015-05-16 14:35:30 +02:00
Kaspar Schleiser d59e01e1c8 Merge pull request #3001 from LudwigOrtmann/pr/hwtimer_compat_fcpu
sys/compat/hwtimer: fix unused fcpu warning
2015-05-16 14:31:19 +02:00
Ludwig Ortmann 6d0a8b222b sys/compat/hwtimer: fix unused fcpu warning 2015-05-16 14:17:14 +02:00
Ludwig Ortmann fe4391b179 drivers/isl29125: fix group description 2015-05-16 13:56:16 +02:00
Martine Lenders 87cf93668c ng_icmpv6: pre-set checksum field to 0 for sending 2015-05-16 12:57:43 +02:00
Johann Fischer 7087bdcb50 sys/.../ip.c: fix ipv6_net_if_get_best_src_addr
This patch fixes ipv6_net_if_get_best_src_addr,
the function seems not to be finished.
The patch also adds a filter for the prefixes,
it is necessary because the prefixes are stored
in the same list as the addresses.
2015-05-16 12:33:30 +02:00
Johann Fischer 41cc10520d sys/.../icmp.c: fix prefix search
Replace equal operator inside ndp_prefix_info_search by not equal.
Otherwise, the existing prefix can not be found.
2015-05-16 12:25:43 +02:00
Johann Fischer b20a7b0a27 sys/.../icmp.c: fix wrong ndp_add_prefix_info parameter
Inside the function recv_rtr_adv, ndp_add_prefix_info was called
with the wrong parameter.
2015-05-16 11:35:28 +02:00
Johann Fischer fd72aaa9ac sys/net/network_layer/sixlowpan/ip.c: remove unnecessary address-of-operator 2015-05-16 11:06:46 +02:00
Frank Holtz 85248ddec8 cpu: nrf51822/periph/random Power optimization 2015-05-16 10:39:30 +02:00
Joakim Gebart 43b9150460 stm32f4: pwm_init: return actual frequency 2015-05-16 10:17:02 +02:00
Joakim Gebart 018b6a73d4 stm32f3: pwm_init: return actual frequency 2015-05-16 10:17:02 +02:00
Joakim Gebart 8619bdec63 lpc2387: pwm_init: return actual frequency 2015-05-16 10:17:02 +02:00
Joakim Gebart 92a743560d drivers/periph/pwm: Update return value doxygen to match long description 2015-05-16 10:00:03 +02:00
Joakim Gebart 616c272801 tests/periph_pwm: Handle pwm_init return value as actual frequency 2015-05-16 10:00:03 +02:00
Martine Lenders 2bc7c4ba5f Merge pull request #2991 from cgundogan/ng_ipv6_netif_add_addr_to_entry_debug_fix
ng_ipv6/netif: fix debug in _add_addr_to_entry()
2015-05-16 09:15:09 +02:00