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

3160 Commits

Author SHA1 Message Date
René Kijewski
2f66319a3a make: OSX: don't fail for empty .a archives
Fixes issue #1333.
2014-06-24 20:29:32 +02:00
Hauke Petersen
33ad7c9499 Merge pull request #1289 from haukepetersen/fix_drivers_periph_timer
drivers: added set_absolute to timer interface
2014-06-24 18:45:23 +02:00
Hauke Petersen
5d20053f74 drivers: added set_absolute to timer interface 2014-06-24 18:46:06 +02:00
René Kijewski
6ed3cf182b Merge pull request #1326 from Kijewski/make-parallel-dirs
make: refactor make system (parallelism, deduplication)
2014-06-24 15:54:53 +02:00
Oleg Hahm
fda7ce12d2 Merge pull request #1321 from cgundogan/fix_missing_ack_bit
destiny: set ack bit for (almost) all segments after syn
2014-06-24 11:16:37 +02:00
Cenk Gündoğan
75546fcf6c destiny: set ack bit for (almost) all segments after syn
The current implementation does not set the ack bit
for outgoing data segments and the fin segment.

However, RFC793 states that all segments
should have an ack bit set in order to present a valid
ack nr. in outgoing segments.

Currently, data segments and acknowledgement segments
are distinguished by the existence of their ack bit.
With the new assumption, that both of these types of
segments need an ack bit set, I had to change several
parts of the current implementation to make this
decision by inspecting the payload size.

destiny: added parens
2014-06-24 10:44:11 +02:00
Oleg Hahm
8931681e8a Merge pull request #1337 from OlegHahm/print_ignore
shell: added command to print all ignored addresses
2014-06-24 10:11:36 +02:00
Oleg Hahm
9f39226108 shell: added command to print all ignored addresses 2014-06-24 10:11:06 +02:00
René Kijewski
49769d7df1 Merge pull request #1343 from Kijewski/fixup-1258
x86: fix up `make term` for x86
2014-06-23 19:49:20 +02:00
Oleg Hahm
455485483f Merge pull request #1236 from authmillenon/pyterm-six
pyterm: make it usable with python 2 and 3
2014-06-23 19:01:41 +02:00
René Kijewski
ceb8ea2a3f x86: fix up make term for x86
When qemu-i386 shuts down the instance on its own accord, like in the
hello-world example, then the terminal is broken afterwards.

This PR ensures that the terminal flags are restored on shutdown.
2014-06-23 18:02:16 +02:00
René Kijewski
2ae0c1b149 make: use abspath for better error messages 2014-06-23 15:50:10 +02:00
René Kijewski
a9a76cb2c2 make: create dependencies as side effect 2014-06-23 15:50:10 +02:00
René Kijewski
d19fc447ed make: make DIRS usable for applications 2014-06-23 15:50:10 +02:00
René Kijewski
35e74ad725 make: refactor make system (parallelism, deduplication)
Almost everything was build sequentially in RIOT, because we employed
explicit for-loops to build directories (DIRS). This PR makes our make
system use normal dependencies to build directories.

All our compiling rules were duplicated, once for the application, once
for modules. This PR makes the application a normal module, removing
this duplication.
2014-06-23 15:49:55 +02:00
René Kijewski
c9c1f0d7fe Merge pull request #1258 from Kijewski/x86-term
x86: add proper terminal for qemu-i386
2014-06-23 15:28:27 +02:00
Martin Lenders
46c38230eb pyterm: Make pyterm available in python2 and python3 2014-06-23 09:15:17 +02:00
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
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