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

3112 Commits

Author SHA1 Message Date
René Kijewski
1d34522703 make: evaluate the Git SHA only once 2014-06-21 18:29:16 +02:00
René Kijewski
9384b2435a Merge pull request #1338 from Kijewski/test_bloom-concurrency
tests: test_bloom: fix PROJDEPS concurrency
2014-06-21 18:25:04 +02:00
René Kijewski
20163e1452 tests: test_bloom: fix PROJDEPS concurrency
Our buildtests build one project concurrently for multiple boards.
The current creation of the `PROJDEPS` for `test_bloom` might fail if

* board `A` notices that the dependency is missing and gets preempted,
* board `B` creates the dependency and gets preempted,
* board `A` starts the creation but gets preempted in the middle of the process,
* board `B` works with a half complete created file.

This PR creates the dependency in the individual `BINDIR`.
2014-06-21 17:51:24 +02:00
René Kijewski
4142d87bbe Merge pull request #1278 from kaspar030/test_vtimer_msg_diff
tests: add test_vtimer_msg_diff
2014-06-21 00:39:33 +02:00
Oleg Hahm
62049a0f72 Merge pull request #1325 from LudwigOrtmann/license_checker_travis
travis: add license checking rule
2014-06-20 18:55:48 +02:00
Ludwig Ortmann
7eed1dacc1 travis: add license checking rule 2014-06-20 17:57:56 +02:00
Ludwig Ortmann
7888222a97 tests: add branch option to license checker 2014-06-20 17:57:56 +02:00
Ludwig Ortmann
741d9beeb0 Merge pull request #1332 from Kijewski/native-fix-warnings-in-default
native: remove some warnings about undef functions
2014-06-19 17:28:16 +02:00
René Kijewski
14601c0c38 Merge pull request #1299 from phiros/timex_bugfix_and_improvement
Timex bugfix and improvement
2014-06-19 13:18:15 +02:00
Philipp Rosenkranz
0bf6ce22f3 added conv function from uint64 to timex_t and one minor bug fix 2014-06-19 12:40:24 +02:00
Oleg Hahm
0d6e991e52 Merge pull request #1254 from Kijewski/x86-newlib-nicer-patches
x86: slightly better debuggable bincode
2014-06-19 00:14:43 +02:00
Martine Lenders
6d1365c5d8 Merge pull request #1324 from Kijewski/make-automatic-module-name
make: much less clutter for "standard layout" modules
2014-06-18 23:52:49 +02:00
René Kijewski
2f871ca885 native: remove some warnings about undef functions
This PR implements `real_X` for `X in (fork, dup2, unlink, execve)`.
These function caused warnings while making the default example.
2014-06-18 20:34:12 +02:00
Oleg Hahm
227f40cd9e Merge pull request #1330 from LudwigOrtmann/projects_removal
make: %s/PROJECT/APPLICATION/g Part III
2014-06-18 17:03:14 +02:00
Ludwig Ortmann
2075eeef01 make: %s/PROJECT/APPLICATION/g Part III 2014-06-18 15:24:14 +02:00
René Kijewski
2ca22f5791 Merge pull request #1328 from haukepetersen/fix_test_ipcpingpong
tests: fixed Makefile for test_ipc_pingpong
2014-06-18 14:31:02 +02:00
Hauke Petersen
ece3f867b2 tests: fixed Makefile for test_ipc_pingpong 2014-06-18 14:19:16 +02:00
Ludwig Ortmann
564f980cf4 Merge pull request #1306 from Kijewski/issue-19
core: remove unnecessary tests in sched.c
2014-06-18 13:09:44 +02:00
Oleg Hahm
dd5ac24091 Merge pull request #1327 from haukepetersen/fix_cortexm3_crash
cpu - cortex-m3: moved crash.c to cortex-m3_common
2014-06-18 12:42:26 +02:00
Hauke Petersen
407e36ec5f cpu - cortex-m3: moved crash.c to cortex-m3_common 2014-06-18 11:49:45 +02:00
Christian Mehlis
80ecdaca17 Merge pull request #1322 from Kijewski/native-pipe-and-close
native: use `real_pipe()` and `read_close()`
2014-06-18 11:22:12 +02:00
Thomas Eichinger
8637fe107e Merge pull request #975 from Kijewski/issue-974
core: change in bitarithm implementation
2014-06-18 11:11:57 +02:00
Oleg Hahm
810b8d4479 Merge pull request #1210 from benpicco/fix_oonf_msba2
pkg/oonf_api: fix conflicting types on msba2
2014-06-17 23:43:32 +02:00
René Kijewski
467b41ad49 make: easifier usage of module subdirectories
Many modules have subdirectories. Often these subdirectories should only
be included under certain circumstances. Modules that use submodules
currently need to use this pattern:

```make
DIRS = …

all: $(BINDIR)$(MODULE).a
   @for i in $(DIRS) ; do $(MAKE) -C $$i ; done ;

include $(RIOTBASE)/Makefile.base

clean::
   @for i in $(DIRS) ; do $(MAKE) -C $$i clean ; done ;
```

This PR moves the `all:` and `clean::` boilerplate into `Makefile.base`.
2014-06-17 15:49:32 +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
Ludwig Ortmann
0512d2fb5c Merge pull request #1181 from LudwigOrtmann/licenses
license checker
2014-06-17 10:19:02 +02:00
Ludwig Ortmann
289b63c06f dist/tools: add license checker
Creates file structure that maps files to licenses by grepping for
license patterns (patterns for licenses found in RIOT included).
Sets exit code to 1 if an unknown license header is detected.
2014-06-17 10:17:20 +02:00
Christian Mehlis
997dcd7e88 Merge pull request #1302 from cgundogan/fix_tcp_header_data_offset
destiny: using a bit field for tcp_header->data_offset is more convenient
2014-06-14 15:40:49 +02:00
René Kijewski
2e9a1773e9 native: use real_pipe() and read_close() 2014-06-14 00:39:02 +02:00
René Kijewski
a2872cd8da Merge pull request #1303 from Kijewski/mbed_lpc1768-fix-result-paths
make: remove local definitions for ELFFILE and HEXFILE (was: "mbed_lpc1768: fix ELF and HEX paths")
2014-06-12 14:35:10 +02:00
René Kijewski
1608fd1570 make: remove local definitions of (ELF|HEX)FILE
We have sane defaults for `ELFFILE` and `HEXFILE` in the root
`Makefile.include`. The local definition for `ELFFILE` of mbed_lpc1768's
`Makefile.include` was wrong, which caused e.g. `make buildsize` to
fail.
2014-06-12 10:12:49 +02:00
Christian Mehlis
50a07d9874 Merge pull request #1280 from cgundogan/fix_send_tcp_error_check
destiny: fixed condition for error handling of send_tcp in destiny_socket_send
2014-06-12 09:55:37 +02:00
Thomas Eichinger
b4fceaca89 Merge pull request #1313 from thomaseichinger/cortexm_crash
cpu:cortex_common: add core_panic function
2014-06-11 15:02:46 +02:00
Thomas Eichinger
3639ae9b25 cpu:cortex_common: add core_panic function 2014-06-11 14:43:02 +02:00
Oleg Hahm
bef04d9f75 Merge pull request #1312 from mehlis/pnet-unused-param
pnet: silence unused argument warnings
2014-06-11 14:31:53 +02:00
Hauke Petersen
186bf386a8 Merge pull request #1295 from haukepetersen/mv_cpu_cortexm-common
cpu: renamed cortexm_common->cortex-m3_common and cleanup
2014-06-11 14:31:39 +02:00
Christian Mehlis
2350809536 pnet: silence unused argument warnings 2014-06-11 13:36:41 +02:00
Hauke Petersen
ebb496cc26 cpu: renamed cortexm_common->cortex-m3_common and cleanup 2014-06-11 00:24:10 +02:00
René Kijewski
3c5f8b0f9e Merge pull request #1308 from N8Fear/fix-typo-and-whitespaces
core/include/arch/irq_arch.h: fix typo and trailing whitespaces
2014-06-10 18:14:05 +02:00
Hinnerk van Bruinehsen
6da0c31265 core/include/arch/irq_arch.h: fix typo and trailing whitespaces 2014-06-10 18:07:41 +02:00
René Kijewski
a21c3f45bc core: remove unnecessary tests in sched.c
The scheduling gets activated by `kernel_init()` calling
`cpu_switch_context_exit()`. Before this `sched_run()` won't be called.
When it gets called, at least the main thread and the idle thread are
spawned. The idle thread won't die / get killed. So there always is at
least one thread in `runqueue_bitcache`.

Closes #19.
2014-06-10 17:04:39 +02:00
René Kijewski
ce428a8937 Merge pull request #1292 from Kijewski/issue-1288
core/cortex-m: add missing NORETURNs to thread_arch
2014-06-09 22:11:29 +02:00
Oleg Hahm
f6cd96b023 Merge pull request #1300 from cgundogan/fix_wrong_byte_order_ipv6_length
destiny: change byte order of ipv6_header->length
2014-06-09 22:01:41 +02:00
Oleg Hahm
9652c24b71 Merge pull request #1275 from cgundogan/fix_tcp_flags_for_wireshark
destiny: wireshark compliant tcp flags
2014-06-09 21:45:11 +02:00
Cenk Gündoğan
ecf47b1f48 destiny: using a bit field for tcp_header->data_offset is more convenient
In the current implementation the data offset is coded into an uint8_t.
Of this uint8_t only 3 bits apply for the data offset.
The remaining bits represent reserved flags for future use.
However, a proper bit masking is forgotten in order
to obtain the data offset part of this uint8_t.

Therefore, defining this uint8_t as a bit field allows a more convenient
method of access.
2014-06-09 19:37:37 +02:00
Cenk Gündoğan
97da23051a destiny: change byte order of ipv6_header->length
When accessing the length field of an ipv6_header a byte order switch (host -> network) is necessary.
Otherwise, it breaks calculations or the checksum and other tcp related computations.
Furthermore, when writing to ipv6_header->length it is important to switch this
from host byte order to network byte order.
2014-06-08 20:50:45 +02:00
Ludwig Ortmann
4cdd9a246b Merge pull request #1192 from LudwigOrtmann/native_override_pid
native: add id option
2014-06-06 16:31:32 +02:00
Ludwig Ortmann
dbc36fc2c5 native: add id option 2014-06-06 16:30:54 +02:00
Ludwig Ortmann
33f1e11d41 Merge pull request #1274 from sgso/wireshark_dissector
wireshark: fix dissector plugin and expand documentation
2014-06-06 16:29:23 +02:00
René Kijewski
5f30789c30 x86: Use 'versioning' for precompiled newlib 2014-06-06 15:38:54 +02:00