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

2734 Commits

Author SHA1 Message Date
Kévin Roussel
7475f0b1a5 Change year of file copyright 2014-04-09 10:43:34 +02:00
Kévin Roussel
4ed4cc51fb Fixed implementation of channel_clear() function 2014-04-09 10:38:44 +02:00
Kévin Roussel
7de076efb2 Fixed error caused by non-inclusion of cc2420_txrx() prototype 2014-04-09 10:33:41 +02:00
Kévin Roussel
b6fbe33539 Handle race conditions preventing timers to be set correctly on MSP430 MCUs
when the counter is incrementing and/or overflowing
2014-04-09 10:28:39 +02:00
Oleg Hahm
4fd851bccf Merge pull request #855 from authmillenon/board_macro
make: Fix BOARD and CPU macros
2014-04-09 01:24:58 +02:00
Oleg Hahm
d5828e37c5 Merge pull request #710 from Kijewski/subdir-per-module
Make: Use subfolders in bin dir
2014-04-09 00:48:03 +02:00
René Kijewski
3f59eefbaf Use subfolders in bin dir
Creating all object files in one directory is bound to produce name
clashes. RIOT developers may take care to use unique file names, but
external packages surely don't.

With this change all the objects of a module (e.g. `shell`) will be
created in `bin/$(BOARD)/$(MODULE)`.

I compared the final linker command before and after the change. The
`.o` files (e.g. `startup.o`, `syscall.o` ...) are included in the same
order. Neglecting the changed path name where the `.o` files reside, the
linker command stays exactly the same.

A major problem could be third party boards, because the location of the
`startup.o` needs to the specified now in
`boards/$(BOARD)/Makefile.include`, e.g.
```Makefile
export UNDEF += $(BINDIR)msp430_common/startup.o
```
2014-04-09 00:28:14 +02:00
Oleg Hahm
8a86f493b4 Merge pull request #821 from Kijewski/pthrad_cleanup
posix: Add pthread_cleanup handlers
2014-04-09 00:19:17 +02:00
Oleg Hahm
786cd0a5f7 Merge pull request #986 from Kijewski/a-minor-fix-for-issue-672-not-everything-but-better-than-nothing-i-guess-or-what-do-you-think
make: replace findstring with filter in sys/Makefile
2014-04-09 00:16:26 +02:00
Oleg Hahm
56c5df7097 Merge pull request #813 from Kijewski/add-pthread_barrier
posix: Add `pthread_barrier_*` functions
2014-04-09 00:08:23 +02:00
Oleg Hahm
bcd09457c2 Merge pull request #914 from authmillenon/fix-dereferencing
net: sixlowpan: Fix dereferencing of type-punned pointer
2014-04-09 00:03:25 +02:00
Oleg Hahm
1e9a43d0f8 Merge pull request #778 from LudwigOrtmann/dependency_files
Make: Prepend path to dependency info files with sed
2014-04-08 23:22:21 +02:00
Oleg Hahm
84fe91b157 Merge pull request #988 from Kijewski/ignore-cachegrind.out
gitignore: add cachegrind.out
2014-04-08 23:10:53 +02:00
René Kijewski
e7f0b298c5 gitignore cachegrind.out 2014-04-08 22:36:13 +02:00
René Kijewski
fbc4531877 make: replace findstring with filter in sys/Makefile 2014-04-08 19:25:51 +02:00
René Kijewski
1e75986345 Clean up test_irq (fix #943) 2014-04-06 19:29:32 +02:00
René Kijewski
eaca16d07a Add pthread_barrier_t documentation 2014-04-06 19:25:15 +02:00
René Kijewski
503e95af0b Add pthread_barrier test 2014-04-06 19:25:15 +02:00
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