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

48 Commits

Author SHA1 Message Date
Oleg Hahm
aa2ecf6216 initialize kernel_pid_t correctly 2014-08-07 16:31:27 +02:00
Oleg Hahm
c2b0423918 core: renamed KERNEL_PID_NULL to KERNEL_PID_UNDEF
As @authmillenon pointed out the "null" in the old name is somewhat
misleading, since the actual value is -1.
2014-08-07 16:31:27 +02:00
Oleg Hahm
983d056c75 core: harmonizes the data type for the process ID
Instead of using differing integer types use kernel_pid_t for process
identifier. This type is introduced in a new header file to avoid
circular dependencies.
2014-08-01 12:02:54 +02:00
Ludwig Ortmann
d55da67fb6 Merge pull request #1329 from LudwigOrtmann/riot_license
RIOT default license header change
2014-07-31 23:12:47 +02:00
Ludwig Ortmann
3ca4f18479 doc: use lgplv2.1-short license header instead of lgpl-short-riot 2014-07-31 22:57:20 +02:00
Cenk Gündoğan
ca5b45e264 converting tabs to spaces in sys (#1439)
This PR converts tabs to white spaces.
The statement I used for the conversion:
```find . -name "*.[ch]" -exec zsh -c 'expand -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;```
Afterwards, I had a quick overview of the converted files to prevent odd indentation.
2014-07-31 20:51:50 +02:00
René Kijewski
6fae042a60 core: remove unneeded calls to mutex_init() 2014-07-29 09:33:24 +02:00
René Kijewski
ba1a15535b core: remove extra thread_create_arg() function 2014-07-09 10:28:23 +02:00
Fabian Brandt
7fb462cd2c Split RPL into core and mode related functions. 2014-07-03 20:23:57 +02:00
René Kijewski
3063e3c2b1 Fix all warnings for native and qemu-i386
Missing returns, unused variables (only used for debugging), empty
translation units, missing function prototypes, and GNU extensions.
2014-06-24 16:50:32 +02:00
Oleg Hahm
eedc16815c Merge pull request #891 from OlegHahm/rpl_debug
net: some debug code
2014-06-22 19:27:18 +02:00
René Kijewski
840c0f0a57 make: detect their module name automatically
For many modules the `Makefile` contains a line like
```
MODULE:=$(shell basename $(CURDIR))
```
This conclusively shows that we do not have to set the module name
manually.

This PR removes the need to set the module name manually, if it is the
same as the basename. E.g. for `…/sys/vtimer/Makefile` the variable
make `MODULE` will still be `vtimer`, because it is the basename of the
Makefile.
2014-06-17 15:49:32 +02:00
Oleg Hahm
4298918ba7 rpl: debug: use DEBUGF where necessary 2014-06-03 15:08:50 +02:00
Oleg Hahm
fe788838ef net: IPv6: RPL: more debug output 2014-06-03 15:04:53 +02:00
Oleg Hahm
4f62ef4547 some minor fixes and debugging 2014-06-03 15:04:50 +02:00
Oleg Hahm
e87e6bedca you can never have enough debugging in RPL 2014-06-03 15:01:48 +02:00
Martin Lenders
2362623490 Fix trailing whitespaces
Fixes #1138
2014-05-26 14:54:23 +02:00
René Kijewski
9a9caf2c68 Exterminate old-style function definitions 2014-05-12 21:57:09 +02:00
Christian Mehlis
1e9b9ed0bd Merge pull request #917 from fabianbrandt/rpl_config_split
Splitting rpl_structs.h into structs and config part
2014-04-25 11:42:27 +02:00
Fabian Brandt
85d8cd8e0a Four macros changed to static inline type functions and style fixes 2014-04-25 11:40:22 +02:00
Fabian Brandt
ef5eaff1bc ETX-functionality is now part of a common routing-module 2014-04-25 11:30:28 +02:00
Fabian Brandt
2634b3c400 Splitting rpl_structs.h into structs and config part 2014-04-25 11:04:52 +02:00
Oleg Hahm
b23e157b54 Merge pull request #792 from OlegHahm/etx_fixes
rpl: moved debugging statements from header to c file
2014-03-19 10:23:09 +01:00
Oleg Hahm
6fc1f5843b RPL byte order issues 2014-03-01 19:24:18 +01:00
Oleg Hahm
e8e424f8cd enhanced RPL debugging 2014-03-01 19:24:16 +01:00
Martin Lenders
bdced318bc Eliminate side effects in icmpv6_csum and make it public 2014-03-01 15:08:19 +01:00
Martin Lenders
6c9578c028 Add sixlowpan to auto_init 2014-03-01 15:08:19 +01:00
Martin Lenders
00acab920b Let IPv6 and ICMP use new 6LoWPAN layer (+fixes) 2014-03-01 15:08:18 +01:00
Oleg Hahm
e2e62596be Byte order and rpl problems 2014-03-01 15:08:18 +01:00
Martin Lenders
108989b65d Use net_if in 6LoWPAN MAC layer 2014-03-01 14:44:21 +01:00
Martin Lenders
78b5f2ae5d Decouple ICMPv6 from 6LoWPAN 2014-03-01 14:44:21 +01:00
Martin Lenders
bc4befb4e9 Fix coding conventions for sixlowpan and rpl module 2014-03-01 14:44:21 +01:00
Oleg Hahm
1dc3b5910e amendment - to be squashed 2014-02-26 19:07:02 +01:00
Oleg Hahm
28513fce9a moved debugging statements from header to c file
Additionally, declaring the stacks as static.
2014-02-26 18:16:40 +01:00
Christian Mehlis
3e980184a8 Merge pull request #748 from authmillenon/fix-possible-null-pointer-errors
bughunt: Fix possible null pointer dereference
2014-02-20 21:41:50 +01:00
Martin Lenders
4119e15e6b Fix possible null pointer dereference 2014-02-20 02:29:33 +01:00
Christian Mehlis
0309fecc19 fix warning: invalid suffix on literal
C++11 requires a space between
literal and identifier [-Wliteral-suffix]
2014-02-18 17:05:01 +01:00
Ludwig Ortmann
2525920426 remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
Christian Mehlis
14cb81d914 Merge pull request #639 from mehlis/remaining-license
added licenses to some files
2014-02-10 10:18:01 +01:00
Christian Mehlis
050b714e78 added licenses to some files 2014-02-08 12:20:28 +01:00
Oleg Hahm
70747d8bb4 streamlined driver include pathes 2014-02-05 18:56:47 +01:00
Oleg Hahm
1bca52495e Merge pull request #545 from OlegHahm/problematic_stack_sizes
replaced stack sizes in etx_beaconing by variables
2014-01-29 15:01:49 -08:00
Oleg Hahm
9991991f92 replaced stack sizes in etx_beaconing by variables
resolves #356
2014-01-29 23:54:30 +01:00
Christian Mehlis
f2f36f8179 math.h: remove unneeded math.h includes 2014-01-24 15:41:30 +01:00
Christian Mehlis
348971e4db trickle: replace call to pow (base of 2) 2014-01-20 16:43:01 +01:00
Oleg Hahm
70c59c3f4b size of msg_queue must be power of two 2014-01-09 18:19:57 +01:00
Oleg Hahm
593ee623b6 simplify and unify include pathes
additional:
* exporting include path in sys is mandatory for subfolders
* removed duplicate object file in linker call
2014-01-05 16:11:07 +01:00
Oleg Hahm
acd304e1cc moved RPL into routing subfolder 2013-12-19 19:13:26 +01:00