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

7178 Commits

Author SHA1 Message Date
Cenk Gündoğan
3162ca5408 Merge pull request #3272 from authmillenon/ng_ndp/fix/fib_get_next_hop
ng_ndp: fix ng_ndp_get_next_hop() for FIB fix in #3250
2015-06-30 18:13:17 +02:00
Hauke Petersen
a86f49a1e4 Merge pull request #3276 from haukepetersen/fix_vtimer_getlocaltime
sys/vtimer: initialize all values in get_localtime
2015-06-30 17:50:07 +02:00
Oleg Hahm
fedb0e03be Merge pull request #3226 from authmillenon/ng_ndp/enh/restructure-functions
ng_ndp: code restructuring
2015-06-30 17:41:45 +02:00
Oleg Hahm
3651f5f05a Merge pull request #3278 from haukepetersen/fix_sc_pin_percentage
sys/shell: fixed percentage calc of ping6 shell cmd
2015-06-30 15:56:09 +02:00
haukepetersen
b803438774 sys/shell: fixed percentage calc of ping6 shell cmd 2015-06-30 14:47:50 +02:00
haukepetersen
b7c23c8e5b sys/vtimer: initialize all values in get_localtime 2015-06-30 13:23:14 +02:00
Lotte Steenbrink
0b3b0c770a Merge pull request #3273 from Lotterleben/aodvv2_fix_grc
aodvv2: fix rreq route cost calculation
2015-06-29 21:47:23 +02:00
Lotte Steenbrink
6d1b1ad077 aodvv2: fix rreq route cost calculation
store targseqnum from rreq in the right substruct, calculate rreq route cost from targaddr metric.
2015-06-29 09:04:23 -07:00
Martine Lenders
1b4a05e5a8 ng_ndp: fix ng_ndp_get_next_hop() for FIB fix in #3250 2015-06-29 14:46:52 +02:00
Lotte Steenbrink
04719b326c Merge pull request #3266 from Lotterleben/aodvv2_fix_warn
aodvv2: fix return values of reader helper functions
2015-06-29 12:13:47 +02:00
Hauke Petersen
340ca1a014 Merge pull request #3270 from benoit-canet/3269-fix-msg_init_queue-calls
3269 fix msg init queue calls
2015-06-29 11:17:39 +02:00
Benoît Canet
5e7ea2d9e4 msg: Fix incorrect queues initializations
From core/include/msg.h:

/**
 * @brief Initialize the current thread's message queue.
 *
 * @param[in] array Pointer to preallocated array of ``msg_t`` structures, must
 *                  not be NULL.
 * @param[in] num   Number of ``msg_t`` structures in array.
 *                  **MUST BE POWER OF TWO!**
 *
 * @return 0, if successful
 * @return -1, on error
 */
int msg_init_queue(msg_t *array, int num);

sizeof(array) does does not compute an array size. Replace calls to sizeof()
with proper values

Closes #3269.

Fix two crashes in the tests and probably more in the network stack.
2015-06-29 06:58:24 +02:00
Philipp Rosenkranz
1913b7ea66 Merge pull request #3229 from Kijewski/chacha
sys: add ChaCha stream cipher and PRNG
2015-06-28 21:13:59 +02:00
bapclenet
10f3f715cb Merge pull request #3205 from kaspar030/fix_samr21-xpro_clock_setup
cpu: samd21: fix synchronization loop in clk_init
2015-06-28 20:15:08 +02:00
René Kijewski
2cf4253710 sys: add ChaCha stream cipher and PRNG
This implementation is optimized for a little code and data size, not
for speed. IMO the code is more readable than in the reference
implementation.

The biggest advantage of ChaCha over other stream ciphers is the very
little data usage with only 64 bytes of context, and its good encryption
speed.

Also part of this PR is pseudo-random number generator, that just
returns the keystream of a randomly initialized ChaCha context.
2015-06-28 18:32:04 +02:00
Martine Lenders
d69d04320e Merge pull request #3225 from authmillenon/ng_icmpv6_echo/fix/unit_conversion
ng_icmpv6_echo: fix time output on shell command
2015-06-28 17:57:22 +02:00
Martine Lenders
d83e31a292 tests/ng_networking: update BOARD_INSUFFICIENT_RAM 2015-06-28 17:39:27 +02:00
Oleg Hahm
e634b8c5a8 Merge pull request #3056 from OlegHahm/board_leading_underscore_removal
boards: remove header guard under scores
2015-06-28 17:27:28 +02:00
Hauke Petersen
59b158c006 Merge pull request #3250 from BytesGalore/fib_check_nullpointer_parameter
fib: added check for passing NULL pointers to `fib_get_next_hop()`
2015-06-26 12:02:12 +02:00
Lotte Steenbrink
de2296d524 aodvv2: fix return values of reader helper functions 2015-06-25 16:48:15 -07:00
Joakim Gebart
ffcf9521f0 Merge pull request #3053 from gebart/pr/fletcher
sys/hashes: Add Fletcher's checksums
2015-06-25 16:03:49 +02:00
Joakim Gebart
c30f71aa8a sys/vtimer: Remove timer before adding.
Workaround for a bug which causes the same timer to be added twice.
2015-06-25 10:09:56 +02:00
Joakim Gebart
31f95c40f1 Merge pull request #3185 from daniel-k/fix_openocd_serial
openocd: fix SERIAL env to select board
2015-06-25 08:51:28 +02:00
Joakim Gebart
2f47ec6057 cortexm_common: Add CMSIS DSP defines 2015-06-25 08:00:59 +02:00
Joakim Gebart
6e32b337e4 tests/pkg_cmsis-dsp: Add basic test case for CMSIS DSP library 2015-06-25 08:00:55 +02:00
Philipp Rosenkranz
f7bf6f2797 Merge pull request #3038 from phiros/dist_drone_execute_in_parallel
dist: exec drone build script in parallel
2015-06-24 23:02:19 +02:00
Philipp Rosenkranz
652f5327dd dist: add gnu parallel to dockerfile 2015-06-24 23:00:56 +02:00
Philipp Rosenkranz
8ea9965cae dist: exec drone build script in parallel 2015-06-24 23:00:56 +02:00
Joakim Gebart
279c4a33e1 pkg/cmsis-dsp: Add package for CMSIS DSP library 2015-06-24 21:51:44 +02:00
Joakim Gebart
b0e34b1c9d Merge pull request #3253 from gebart/pr/mulle-openocd-090
mulle: Update OpenOCD conf to work with 0.9.0
2015-06-24 17:04:38 +02:00
Joakim Gebart
e2d49b43e9 mulle: Update OpenOCD conf to work with 0.9.0
OpenOCD 0.9.0 added a definition of a single flash bank as
"$_CHIPNAME.flash" (the chip has two flash banks), the new flash bank
definitions are enclosed in catch statements to avoid startup errors.

The original configuration when combined with openocd 0.9.0 caused an
error during flash probing (which happens during GDB connect), because
of three defined flash banks, which made openocd drop the GDB
connection.
2015-06-24 15:59:14 +02:00
Oleg Hahm
8c203a610b boards: fix qemu header guards 2015-06-24 15:54:42 +02:00
Oleg Hahm
140afc3800 boards: cosmetics 2015-06-24 15:54:36 +02:00
Oleg Hahm
5312ae998b boards: removed incorrect doxygen comment markers 2015-06-24 15:54:36 +02:00
Oleg Hahm
49d4153892 msb-430h: removed superfluous #endif 2015-06-24 15:54:36 +02:00
Oleg Hahm
5ca37400b8 boards: remove all C++ comments 2015-06-24 15:54:36 +02:00
BigDaddyD
b6bd067863 boards: removed leading underscores from macros
* also added a trailing underscore to header guards for consistency

Commit for PR 2623, repairing header file include guards.
This PR is intended to fix the include guards in files under RIOT/boards

SQUASH ME: fix underscore removal overdos

SQUASH ME: consistent macro naming

SQUASH ME: missed that one

SQUASH ME: fixed overdo

SQUASH ME: consistency
2015-06-24 15:54:36 +02:00
Oleg Hahm
e08e5175a0 Merge pull request #3251 from OlegHahm/duplicate_nomac
gnrc: remove duplicate nomac from Makefile
2015-06-24 15:40:54 +02:00
Oleg Hahm
b16e3fa358 gnrc: remove duplicate nomac from Makefile 2015-06-24 15:00:00 +02:00
Joakim Gebart
fc4ab35140 Merge pull request #3116 from gebart/pr/lpc2387-extab
lpc2387: Add missing exception tables to linker script
2015-06-24 14:46:50 +02:00
Oleg Hahm
4c37e54109 Merge pull request #3171 from cgundogan/fib_autoinit
fib: auto init
2015-06-24 09:33:52 +02:00
BytesGalore
db18e5760a fib: added check for passing NULL pointers to fib_get_next_hop() 2015-06-24 09:05:24 +02:00
Martine Lenders
0103fa2e91 Merge pull request #3234 from authmillenon/ng_pktqueue/api/take-out-prio
ng_pktqueue: remove priority queue dependency
2015-06-23 23:47:52 +02:00
Martine Lenders
1c4af66c3a ng_icmpv6_echo: fix time output on shell command 2015-06-23 23:44:32 +02:00
Martine Lenders
6b6c0c3322 Merge pull request #3241 from haukepetersen/ng_frag_send_missingreturn
net/ng_sixlowpan_frag: added missing return
2015-06-23 17:58:40 +02:00
Oleg Hahm
b85f076027 Merge pull request #3098 from authmillenon/ng_nettest/feat/initial
ng_nettest: initial import of a ng_netapi test framework
2015-06-23 17:02:11 +02:00
Lotte Steenbrink
954744138b Merge pull request #3244 from Lotterleben/aodvv2_fix_metric
aodvv2: fix one-off metric bug
2015-06-23 16:55:38 +02:00
Lotte Steenbrink
8f4dd8dc13 aodvv2: fix one-off metric bug 2015-06-23 07:13:16 -07:00
Martine Lenders
4a34635d14 ng_ndp: stop for loop over packet nodes earlier 2015-06-23 15:25:13 +02:00
Martine Lenders
f28c5041eb ng_nettest: initial import of a ng_netapi test framework 2015-06-23 15:22:55 +02:00