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

3295 Commits

Author SHA1 Message Date
Oleg Hahm
cfe5adbe30 Merge pull request #1316 from haukepetersen/add_driver_rgbled
drivers: added rgbled driver
2014-06-23 00:41:16 +02:00
Oleg Hahm
fde1c106ab Merge pull request #1259 from Kijewski/x86-heap-check
x86: add read-before-write check at runtime
2014-06-23 00:12:03 +02:00
Oleg Hahm
36b9f7e7d7 Merge pull request #1257 from Kijewski/shell-fix-newline
shell: fix newlines
2014-06-22 23:56:36 +02:00
Oleg Hahm
6f17f0c60a Merge pull request #1105 from Kijewski/shell-print-not-found
shell: print command if not found
2014-06-22 21:03:30 +02:00
Oleg Hahm
eedc16815c Merge pull request #891 from OlegHahm/rpl_debug
net: some debug code
2014-06-22 19:27:18 +02:00
Oleg Hahm
32394f1e1d Merge pull request #1310 from phiros/avsextrem_allow_use_of_cc110x_ng_driver
cc110x_ng: build cc110x_spi for avsextrem (bugfix)
2014-06-22 17:11:57 +02:00
Hauke Petersen
d9a7e675a2 Merge pull request #1315 from haukepetersen/add_sys_color
sys: added color module
2014-06-22 13:53:59 +02:00
Hauke Petersen
839955cd05 sys: added color module 2014-06-22 13:53:01 +02:00
Hauke Petersen
749d6a7446 Merge pull request #1318 from haukepetersen/msba2_pwm
cpu: added low-level PWM driver for the lpc2387
2014-06-22 13:07:48 +02:00
Philipp Rosenkranz
42b7992e77 cc110x_ng: build cc110x_spi for all boards except chronos 2014-06-22 12:57:22 +02:00
René Kijewski
35d024fff0 Merge pull request #1340 from Kijewski/evaluate-git-sha-once
make: evaluate the Git SHA only once
2014-06-21 19:19:24 +02:00
René Kijewski
e0b3e84867 Merge pull request #1339 from LudwigOrtmann/issue-1284
make: s/PROJDEPS/APPDEPS/
2014-06-21 18:39:34 +02:00
René Kijewski
1d34522703 make: evaluate the Git SHA only once 2014-06-21 18:29:16 +02:00
Ludwig Ortmann
4b98570a34 doc: improve APPDEPS example
Addresses https://github.com/RIOT-OS/RIOT/pull/1339#discussion_r14050325
2014-06-21 18:28:34 +02:00
Ludwig Ortmann
de4677eb60 make: s/PROJDEPS/APPDEPS/
fixes https://github.com/RIOT-OS/RIOT/issues/1284
2014-06-21 18:28:34 +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
17d89cee7e lpc1768: cleanup Makefile
`cpu/lpc1768/Makefile` contains many lines that don't belong into this
file, but the maybe `Makefile.include`. Either way, this Makefile is
never called with these goals.
2014-06-21 01:17:09 +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
René Kijewski
6a75a14ce5 x86: garbage collect section if not debugging 2014-06-19 12:35:10 +02:00
René Kijewski
a0985e8819 x86: add proper terminal for qemu-i386
This includes GNU readline features and debugging.

Build with `make BOARD=qemu-i386 all-debug`.
Run with `make BOARD=qemu-i386 term`.

Debug with `make BOARD=qemu-i386 debug`. The default debugger is `gdb`.
Also supported are `debug-tui` (GDB Text User Interface), `debug-kdbg`,
and `debug-ddd`. Set a breakpoint in e.g. "startup" or "main", and
hit/write "continue".

The debugger can only run with a quite new toolchain (e.g. Debian
testing). Ubuntu 13.10. for example will likely report a crash in GDB
when switching from 16bit code to 32bit code.
2014-06-19 12:35:10 +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
Hauke Petersen
942a21d9c4 board - pttu: added periph_conf.h 2014-06-12 13:06:59 +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