Christian Mehlis
b254f7418a
Merge pull request #1408 from LudwigOrtmann/native-cleaning
...
native: remove stale TODOs and blank line
2014-07-13 22:13:14 +02:00
Ludwig Ortmann
aaaccf9d87
native: enable reboot with tap
...
partially fixes #787
2014-07-13 16:40:32 +02:00
Ludwig Ortmann
66b76a5a41
sys/transcevier: fix more loop integers
2014-07-13 15:52:33 +02:00
Ludwig Ortmann
ad64e62de9
Merge pull request #1376 from LudwigOrtmann/sched_fixup
...
core/sched fixup and optimize
2014-07-13 11:20:18 +02:00
Ludwig Ortmann
df36f6304a
native: remove stale TODOs and blank line
...
The values are quite OK.
2014-07-13 07:24:01 +02:00
Ludwig Ortmann
3e965f926a
sys/vtimer: spin on short duration in vtimer_sleep
...
closes #571
2014-07-13 06:56:17 +02:00
René Kijewski
cdd65cef1c
Merge pull request #1405 from LudwigOrtmann/pwm_fixup
...
cpu/lpc2387: fix unused parameter warning
2014-07-12 12:22:28 +02:00
Ludwig Ortmann
c8612a055e
cpu/lpc2387: fix unused parameter warning
...
mark 'mode' as unused in pwm_init
2014-07-12 07:56:22 +02:00
Ludwig Ortmann
a585eaf752
core/sched: remove MODULE_NSS helpers (API CHANGE)
...
remove thread_getlastpid and last_pid from the API, it is unused
2014-07-12 07:30:31 +02:00
Ludwig Ortmann
147c285365
core/sched: fix pid/tcb & refactor SCHEDSTATISTICS
...
pid and tcb_t were compared instead of pid and pid
SCHEDSTATISTICS:
- reduce hwtimer_now calls
- dont use thread_last_pid anymore
- increase readability
2014-07-12 07:29:52 +02:00
Ludwig Ortmann
9cabdb3043
core/sched: clean up
...
- remove stray spaces
- remove TODOs:
- MODULE_HWTIMER is not a module anymore
- checking for NULL is necessary, at least without API changes:
`sched_task_exit` sets `sched_active_thread` to `NULL`, then exits,
afterwards `cpu_switch_context_exit` calls `sched_run`
2014-07-12 06:51:51 +02:00
Ludwig Ortmann
61f405edaa
Update CONTRIBUTING.md
...
Add comment about labels, hint at Development Procedures.
2014-07-11 09:20:58 +02:00
Christian Mehlis
7169fd1107
Merge pull request #1362 from OlegHahm/ccnl_eliminate_warning
...
CCN_lite eliminate warning
2014-07-10 23:56:39 +02:00
Christian Mehlis
205fe6b419
Merge pull request #1400 from Kijewski/riot-version
...
make: rename VERSION into RIOT_VERSION
2014-07-10 23:52:52 +02:00
René Kijewski
919cddef19
make: rename VERSION into RIOT_VERSION
...
Building MSP boards gives an error, because `VERSION` is somewhere
defined in their toolchain as an integer.
This PR renames `VERSION` into `RIOT_VERSION`, because that's what it
is.
2014-07-10 21:48:22 +02:00
Oleg Hahm
a6e97a4f75
Merge pull request #1034 from Kijewski/vtimer-callbacks
...
vtimer: fix callback usage
2014-07-10 17:12:23 +02:00
Oleg Hahm
b78a1b32d0
Merge pull request #1387 from LudwigOrtmann/msg_fixup
...
core/msg: clean up after #1285
2014-07-10 16:54:01 +02:00
Oleg Hahm
c607bc3069
Merge pull request #1109 from Kijewski/make-exports
...
make: no "unfriedly" `exports` in the application's Makefile
2014-07-10 16:22:25 +02:00
René Kijewski
ac9c80f417
make: don't use export on example makefiles
2014-07-10 15:23:31 +02:00
René Kijewski
747138cf99
make: move exported make vars to one place
2014-07-10 15:20:37 +02:00
Ludwig Ortmann
f33dc4601b
Merge pull request #1395 from LudwigOrtmann/transceiver_unregister
...
sys/transceiver: add transceiver_unregister and refactor transceiver_register
2014-07-10 14:36:06 +02:00
Ludwig Ortmann
a992d4d848
sys/transceiver: use size_t instead of u8 in loops
2014-07-10 14:11:48 +02:00
Ludwig Ortmann
8e93886d36
sys/transceiver: refactor un/register
...
remove race conditions
make less restrictive (allow double-un/registers)
make loops more readable
2014-07-10 14:11:48 +02:00
Ludwig Ortmann
d034cfac29
sys/transceiver: implement transceiver_unregister
2014-07-10 14:11:48 +02:00
Ludwig Ortmann
c264338e31
sys/transceiver: fix t9r_register API compliance
2014-07-10 14:11:48 +02:00
Oleg Hahm
53c28dd964
Merge pull request #1398 from haukepetersen/fix_hwtimer_arch
...
core: removed duplicated hwtimer_arch.h
2014-07-10 11:28:59 +02:00
Hauke Petersen
9001e0c2fb
core: removed duplicated hwtimer_arch.h
2014-07-09 21:08:13 +02:00
René Kijewski
d2a82217c9
Merge pull request #1397 from LudwigOrtmann/thread_fixup
...
core/thread: remove thread_create_arg from header
2014-07-09 18:13:01 +02:00
Ludwig Ortmann
5ebdf6e745
core/thread: remove thread_create_arg from header
...
It's just a leftover from #856
2014-07-09 18:01:31 +02:00
Thomas Eichinger
17f2eb80b8
Merge pull request #1396 from LudwigOrtmann/lgplv2.1-short
...
tests: add pattern for short lgplv2.1 header
2014-07-09 16:39:09 +02:00
Ludwig Ortmann
fe2d2e06ca
tests: add pattern for short lgplv2.1 header
...
Add the license checker pattern which is advertised in our wiki.
2014-07-09 16:17:50 +02:00
René Kijewski
7a2f64baff
Merge pull request #856 from Kijewski/issue-847
...
core: add an argument to `thread_create()` (implementation)
2014-07-09 14:52:50 +02:00
René Kijewski
ba1a15535b
core: remove extra thread_create_arg() function
2014-07-09 10:28:23 +02:00
René Kijewski
867246a09f
Add argument to thread_create
2014-07-09 10:07:54 +02:00
Ludwig Ortmann
909c8d0b54
Merge pull request #1393 from LudwigOrtmann/issue-1392
...
tests/examples cleanup
2014-07-09 09:32:29 +02:00
Kévin Roussel
8cc7bd2da8
Merge pull request #1388 from rousselk/fix-z1-cc2420-txrx
...
boards/z1: fix cc2420_txrx function in CC2420 driver HAL
2014-07-09 09:17:59 +02:00
Ludwig Ortmann
c7e793dca7
test: remove superfluous stack size defines
2014-07-09 07:41:54 +02:00
Ludwig Ortmann
1a8967cb45
tests&examples: apply coding conventions to sizeof
2014-07-09 07:41:54 +02:00
Ludwig Ortmann
06a86aef20
tests&examples: use sizeof(stack) in thread_create
...
fixes #1392
2014-07-09 07:41:54 +02:00
Oleg Hahm
1518d6ac64
Merge pull request #1390 from cgundogan/fix_socket_internal_t_packed_attr
...
destiny: deleting packed attribute from socket_internal_t
2014-07-08 22:33:54 +02:00
Oleg Hahm
d45718909a
Merge pull request #1391 from cgundogan/fix_tcp_kernel_conf_stack_size
...
destiny: Adjust TCP_STACK_SIZE
2014-07-08 22:33:35 +02:00
Cenk Gündoğan
8724eb1169
destiny: Adjust TCP_STACK_SIZE
...
Currently, the TCP_STACK_SIZE is `KERNEL_CONF_STACKSIZE_DEFAULT`.
However, since printf statements are used in the tcp relevant code,
this stack size is too small (esp. for MSBA2).
2014-07-08 21:30:58 +02:00
Cenk Gündoğan
b5e7460d45
destiny: deleting packed attribute from socket_internal_t
...
While testing the tcp implementation on MSBA2 I noticed that
the value of `tcp_input_buffer_end` gets changed whenever acquiring or
releasing the mutex of the struct on the server side.
After deleting the packed attribute of the struct this problem was
resolved and the value stayed the same after acquiring and releasing.
This problem could maybe arise from badly placed cache lines due to
missing padding... I am not sure.
Anyway, I guess using the packed attribute is useless here and makes it
more error-prone.
2014-07-08 20:40:55 +02:00
Ludwig Ortmann
282ddc98fe
Merge pull request #1386 from haukepetersen/fix_shellcmd_dep
...
make: removed shell_commands dependency
2014-07-08 18:05:28 +02:00
Ludwig Ortmann
2a859c78cd
SQUASHME: do it right
2014-07-08 18:00:54 +02:00
Ludwig Ortmann
d8a5ee1ec8
core/msg: set m->sender_pid before it is used
...
fixes `msg_send_to_self` condition
2014-07-08 17:49:16 +02:00
Oleg Hahm
6f96bd76b8
Merge pull request #1382 from Kijewski/qemu-i86-term-timeout
...
x86: increase timeout in qemu's term
2014-07-08 17:32:19 +02:00
Kévin Roussel
28c6481266
boards/z1: fix cc2420_txrx function in CC2420 driver HAL
...
When waiting for transmission (to CC2420) to be done,
we were wrongly waiting for UCBUSY bit to be set,
while one should actually wait for that bit to be cleared.
2014-07-08 17:28:16 +02:00
Ludwig Ortmann
b6f2426d16
core/msg: revert part of #1285
...
use m->sender_pid instead of sched_active_pid again
undoes the optimization intended by #1285
fixes uint/int warning
2014-07-08 17:26:25 +02:00
Kévin Roussel
a13066a0a6
Merge pull request #1385 from rousselk/fix-cc2420-driver-cca
...
Fix a nasty race condition in CCA determination on CC2420
2014-07-08 17:01:34 +02:00