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

2766 Commits

Author SHA1 Message Date
René Kijewski
9202a482d5 Add pthread_barrier_* functions
Compare [`pthread_barrier_init`][1].

  [1]: http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_barrier_init.html
2014-04-06 19:25:15 +02:00
Martin Lenders
d9fdbca9de Fix dereferencing of type-punned pointer
Fixes #897
2014-04-05 20:42:08 +02:00
René Kijewski
2749531324 Merge pull request #789 from LudwigOrtmann/native_gprof
native profiling tools support
2014-04-05 02:26:15 +02:00
René Kijewski
74804ab979 pthread_cleanup: fixup for #798 2014-04-04 18:03:29 +02:00
René Kijewski
b44b88a6ed pthread_cleanup: better documentation 2014-04-04 18:03:29 +02:00
René Kijewski
b54962689a posix: Add pthread_cleanup handlers
With `pthread_cleanup_(push|pop)` you can define a function that should
be ran if the thread is exited while it is inside this scope. A thread
can be ended here through an explicit call to `pthread_exit()`, or if
cancellation was requested and a cancellation point was hit.

`pthread_cleanup_*` is mostly only useful together with cancellation
points, and cancellation points are only useful with a cleanup
functionality. Cancellation points are at least partially implemented by
means of `pthread_testcancel()`.

C.f. ["Cancellation Points"][1].

  [1]: http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_09_05_02
2014-04-04 18:03:29 +02:00
Ludwig Ortmann
edd83d1d92 Merge pull request #973 from LudwigOrtmann/examples_hello-world_update
examples/hello-world: return instead of busy loop.
2014-04-03 18:49:33 +02:00
Ludwig Ortmann
6349d357cd examples/hello-world: return instead of busy loop. 2014-04-03 18:45:26 +02:00
Kévin Roussel
7fe9a8db39 Completed CC2420 constants documentation (DOxygen) 2014-04-03 15:52:53 +02:00
Kévin Roussel
6c40108c9c Added standard way to query CCA status on CC2420 transceiver (squashed) 2014-04-02 17:56:07 +02:00
Ludwig Ortmann
373c0aba6e examples/rpl_udp: use defaulttransceiver 2014-04-02 16:08:51 +02:00
Ludwig Ortmann
c0846fde22 Merge pull request #940 from Kijewski/issue-926
make: Add DEFAULT_MODULE and DISABLE_MODULE
2014-04-02 14:46:24 +02:00
René Kijewski
2e5a2cea0a Fixup for #798 2014-04-02 14:42:11 +02:00
René Kijewski
34aec1928a Add DISABLE_MODULE += auto_init to tests 2014-04-02 14:41:17 +02:00
Ludwig Ortmann
d56bd3f27a Merge pull request #965 from authmillenon/remove-queue-duplicate
core: Remove duplicate function definition in queue.h
2014-04-02 11:09:43 +02:00
Ludwig Ortmann
11e544ac0b Merge pull request #769 from authmillenon/fix-rpl-app-for-clang
rpl: Fix RPL app for clang
2014-04-02 10:56:49 +02:00
René Kijewski
d22a4a3f44 Add DISABLE_MODULE test 2014-04-01 23:49:22 +02:00
René Kijewski
e740fbc800 make: Add DEFAULT_MODULE and DISABLE_MODULE
Closes #926
2014-04-01 23:42:00 +02:00
Martin Lenders
8d1537a99c Remove duplicate function definition in queue.h 2014-04-01 19:44:45 +02:00
Martin Lenders
e34b006445 Fix rpl app for clang 2014-04-01 17:31:24 +02:00
Martine Lenders
f9d8f1fc75 Merge pull request #798 from Kijewski/usemodule-includes
Make: Add include paths automatically for USEMODULES
2014-04-01 17:25:48 +02:00
Oleg Hahm
2b7e41b742 Merge pull request #963 from LudwigOrtmann/make_remove_makebase
make: replace MAKEBASE with RIOTBASE
2014-04-01 17:23:31 +02:00
Oleg Hahm
edf4c49564 Merge pull request #954 from rousselk/cc2420-fix-isr
Fix for CC2420 radio driver for TelosB
2014-04-01 17:21:48 +02:00
Ludwig Ortmann
91814e52ae make: replace MAKEBASE with RIOTBASE
closes https://github.com/RIOT-OS/RIOT/issues/959
2014-04-01 16:40:28 +02:00
Martine Lenders
951cc0cdc2 Merge pull request #928 from authmillenon/ndp-nce-remove
Make neighbor cache remove function public
2014-04-01 16:39:06 +02:00
Ludwig Ortmann
b2930113ef remove some newlines 2014-04-01 10:47:12 +02:00
Ludwig Ortmann
a1aa0df9ae change new/overlooked Makefiles 2014-04-01 10:44:10 +02:00
Ludwig Ortmann
1bd3f7bb86 pipe through sed instead
addresses: https://github.com/RIOT-OS/RIOT/pull/778#discussion_r10041955
2014-04-01 10:44:10 +02:00
Ludwig Ortmann
7229287e47 Prepend path to dependency info files with sed
The old way was error prone due to it's use of a fixed path file and
confusing.

closes #775
2014-04-01 10:44:10 +02:00
Kévin Roussel
90ea047546 Fix a typo that provokes many unjustified "cc2420 unexpected IFG" alerts to occur 2014-03-31 15:30:53 +02:00
Kévin Roussel
dea33bd8b6 Merge pull request #909 from OlegHahm/msp430_hwtimer
msp430: hwtimer: handle overflow correctly
2014-03-31 15:28:41 +02:00
Hauke Petersen
5d00dbf7d7 Merge pull request #615 from haukepetersen/periph_driver_pwm
Initial import of low-level PWM driver interface
2014-03-31 14:01:12 +02:00
René Kijewski
0b75a11291 native: don't use RIOT read/write in UART 2014-03-30 22:33:50 +02:00
Ludwig Ortmann
33a4d84fa1 Merge pull request #941 from LudwigOrtmann/native_invocation
Update README.md
2014-03-30 21:56:44 +02:00
Ludwig Ortmann
aa6246cd49 Merge pull request #937 from mehlis/ccnl-dead-code
ccnl: remove dead code
2014-03-29 20:37:31 +01:00
René Kijewski
de29e4184c Add include paths automatocally for USEMODULES
Application developers use `$(USEMODULES)` in their Makefiles to have
the relevant functionally automagically added to their apps. This even
does basic dependency tracking by means of `Makefile.dep`.

But an important thing is missing: the automatic adding of include
paths. This is inconvenient, error prone, and will hinder the RIOT core
developers in future to change folder structures.
2014-03-29 16:27:55 +01:00
Ludwig Ortmann
1d16c7cceb Update README.md 2014-03-29 10:09:56 +01:00
Ludwig Ortmann
a6fd531783 Merge pull request #874 from OlegHahm/fix_ignore_command
net: transceiver: fix ignore command
2014-03-29 09:42:35 +01:00
Christian Mehlis
9c42f80fe8 Merge pull request #936 from RIOT-OS/fix_else
remove empty else clause
2014-03-28 21:41:08 +01:00
Christian Mehlis
51faf0b239 ccnl: remove dead code 2014-03-28 21:27:55 +01:00
Martin Lenders
69903e4cb8 Make neighbor cache remove function public 2014-03-28 10:20:08 +01:00
Benjamin Valentin
113fd6a9cf icmp.c: remove empty else clause 2014-03-28 10:06:44 +01:00
Hauke Petersen
272fcc0fad Merge pull request #929 from haukepetersen/hwtimer_cleanup_fix
tests/pkg: fixed issues from #919
2014-03-26 18:16:28 +01:00
Hauke Petersen
cfc9ef459d drivers: small fixes for low-level pwm driver IF
- added UNDEFINED device for compatability
- adjusted meaning of return values for init and set functions
- overdue spell fix
2014-03-26 17:58:06 +01:00
Hauke Petersen
cd27639ee3 Fixed spelling 2014-03-26 16:58:55 +01:00
Hauke Petersen
e5a8945f03 Initial import of low-level PWM driver interface 2014-03-26 16:58:55 +01:00
Hauke Petersen
8ce0c2f6bc Merge pull request #612 from haukepetersen/periph_driver_gpio
Initial import of low-level GPIO driver interface
2014-03-26 15:49:21 +01:00
Hauke Petersen
4d58a1e626 Fixed spelling errors 2014-03-26 15:49:04 +01:00
Hauke Petersen
d1093fccd9 Initial import of low-level GPIO driver interface 2014-03-26 15:49:04 +01:00
Hauke Petersen
6c591c8a68 tests/pkg: fixed issues from #919 2014-03-26 15:13:23 +01:00