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

2844 Commits

Author SHA1 Message Date
Oleg Hahm
e4aee87e93 Merge pull request #870 from authmillenon/fragbuf
sys:net:sixlowpan: Fix length of fragmentation buffer in 6LoWPAN
2014-04-09 16:36:22 +02:00
Martin Lenders
9ee7956e53 Fix length of fragmentation buffer in 6LoWPAN 2014-04-09 16:07:46 +02:00
Martine Lenders
139da0a5b4 Merge pull request #873 from OlegHahm/on_link_check
net: sixlowpan: removing possible invalid check
2014-04-09 16:02:56 +02:00
Ludwig Ortmann
2e93470955 Merge pull request #992 from LudwigOrtmann/fixup_710
fixup for #710: use subfolder in bin dirs (native)
2014-04-09 15:33:17 +02:00
Ludwig Ortmann
b9ffc1a99e fixup for #710: use subfolder in bin dirs (native)
Update native Makefiles to provide changed object target paths
Fixes #989
2014-04-09 15:25:05 +02:00
Kévin Roussel
7f4c8f8938 Fix for WSN430 1.4 driver 2014-04-09 13:00:00 +02:00
Kévin Roussel
f3024916ef Merge pull request #892 from OlegHahm/crash_noreturn
cpu: satisfy compiler in crash.c for ARM and MSP430
2014-04-09 12:59:01 +02:00
René Kijewski
49c3fd666c Make: fix linebreaks in buildtest 2014-04-09 12:40:58 +02:00
Oleg Hahm
aeb54158f6 cpu: satisfy compiler in crash.c 2014-04-09 12:27:53 +02:00
Ludwig Ortmann
ab08fbb5a6 Merge pull request #957 from rousselk/hwtimer-msp430-handle-overflow
Handle race conditions preventing MSP430 timers to be set correctly
2014-04-09 11:21:37 +02:00
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