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

3655 Commits

Author SHA1 Message Date
Martine Lenders
248a8531a5 make: Fix TERMFLAGS
Sometimes boards/*/Makefile.include (e. g. in case of the msba2) gets included
twice somehow, leading the TERMFLAG to be set twice and faulty. This
fixes that.
2014-08-22 01:09:55 +02:00
René Kijewski
eaed2f1b89 Merge pull request #1594 from authmillenon/unittests-no-auto-init
unittests: do not use auto_init
2014-08-21 23:51:48 +02:00
René Kijewski
ad70bb039c Merge pull request #1596 from authmillenon/fix-expect
tests: Fix tests that were defect
2014-08-21 23:33:03 +02:00
Martine Lenders
2bbe92a75a tests: Fix tests that were defect
* I used pexpect instead of when expect script was not working expect, since
  TCL confuses me
* I deleted the thread_exit test since it was completely invalid
2014-08-21 23:21:06 +02:00
ee620b1bf7 Merge pull request #1013 from Kijewski/clist_wo_thread
core: clist without explicit thread
2014-08-21 23:03:16 +02:00
René Kijewski
591c76902e Merge pull request #1531 from LudwigOrtmann/header_license_headers
tests: let license checker check headers, too
2014-08-21 22:46:59 +02:00
Thomas Eichinger
b5bdf2620b Merge pull request #960 from thomaseichinger/rtc_interface
periph_drivers: Proposal for a low-level RTT driver interface
2014-08-21 22:15:07 +02:00
Thomas Eichinger
99d18d7644 Merge pull request #1595 from thomaseichinger/fix_rtc
periph:rtc: add missing argument for callback
2014-08-21 22:14:12 +02:00
Thomas Eichinger
d9b7ee4c6b periph:rtc: add missing argument for callback 2014-08-21 22:01:17 +02:00
Thomas Eichinger
c5ed71e54f periph_driver: introduce a RTT interface 2014-08-21 21:59:42 +02:00
Martine Lenders
d76ac6ed9f Merge pull request #1571 from Kijewski/make-mkdir-once
make: cleanup Makefile.base
2014-08-21 21:40:47 +02:00
René Kijewski
b22c2f4ab5 Merge pull request #1431 from Kijewski/wget-for-everyone-woooohooooo
make: centralize wget/curl & unzip/7z feature test
2014-08-21 21:23:30 +02:00
René Kijewski
a5c9d4572d core: clist without explicit thread
Right now the core component `clist` is a generic cyclic doubly-linked list.
In the core it is used in `tcb_t::rq_entry`.
Further it is used `net_if.c`.

This commit removes the member `clist_node_t::data` which stored the
pointer to the `tcb_t` instance of which the clist is already a member.
The needless member added `sizeof (int)` bytes to every instance of
`tcb_t`.

In `net_if.c` the clist was used in a type-punned way, so that the
change won't affect it.
2014-08-21 21:10:04 +02:00
René Kijewski
27e393621a core: clist is a cyclic list 2014-08-21 21:10:03 +02:00
Hauke Petersen
8ed9704261 Merge pull request #1294 from haukepetersen/add_arduinodue_rng_driver
cpu: Add random number generator driver for the SAM3X8E
2014-08-21 20:50:19 +02:00
Martine Lenders
b1035acc98 unittests: do not use auto_init 2014-08-21 20:45:36 +02:00
René Kijewski
4450d5a8e2 Merge pull request #1593 from Kijewski/nproc-max
tests: limit concurrency level
2014-08-21 20:37:57 +02:00
c1ce7b7ba5 Merge pull request #1572 from Kijewski/issue-1564
sys: remove lib/hashtable.c
2014-08-21 20:32:31 +02:00
Hauke Petersen
8f75521bc8 test/periph_random: added test for RNG driver 2014-08-21 20:21:47 +02:00
Hauke Petersen
ead29a12bb boards/arduino-due: enabled RNG driver 2014-08-21 20:18:02 +02:00
Hauke Petersen
bd86eb28c9 cpu/sam3x8e: added random number generator driver 2014-08-21 20:18:02 +02:00
René Kijewski
94b2e0815a tests: limit concurrency level
Some Travis CI machines have 32 CPUs. This sets our concurrency level to 33.
Travis CI kills our buildtest for obvious reasons.

This PR limits the concurrency level to 8 on Travis CI.
2014-08-21 20:05:55 +02:00
8538670e12 Merge pull request #1583 from Kijewski/issue-1399
core: SCHED_PRIO_LEVELS==16 for every board
2014-08-21 20:04:57 +02:00
Hauke Petersen
280624b440 Merge pull request #939 from mehlis/random-driver
random: added a random driver interface
2014-08-21 19:28:25 +02:00
Christian Mehlis
f3cf4267ab periph: added a random-data driver interface 2014-08-21 19:16:24 +02:00
René Kijewski
639dae4a1d Merge pull request #1575 from Kijewski/use-sched_active_pid
all over the place: use sched_active_pid
2014-08-21 19:09:40 +02:00
René Kijewski
a70ee0f022 make: centralize wget/curl & unzip/7z feature test
With many open PRs that could benefit from loading SDKs when needed,
instead adding vast amounts of code to RIOTs master, this PR provides
the "functions" `$(DOWNLOAD_TO_STDOUT)`, `$(DOWNLOAD_TO_FILE)`, and
`$(UNZIP_HERE)`.

The first "function" takes one argument, the URL from where to download
the content. It is then piped to stdout. To be used e.g. with `tar xz`.

The second "function" taken two arguments, the destination file name,
and the source URL. If the previous invocation was interrupted, then the
download gets continued, if possible.

The last "function" takes one argument, the source ZIP file. The file
gets extracted into the cwd, so best use this "function" with
`cd $(SOME_WHERE) &&`.

The clumsy name `$(UNZIP_HERE)` is taken because the program "unzip"
takes the environment variable `UNZIP` as the source file, even if
another file name was given on the command line. The rationale for that
is that the hackers of "unzip" hate their users. Also they sacrifice
hamsters to Satan.
2014-08-21 19:07:52 +02:00
Thomas Eichinger
0ea5f94754 Merge pull request #1363 from thomaseichinger/thirdparty_boards_import
board: cpu: initial import of iot-lab_M3
2014-08-21 18:47:07 +02:00
Thomas Eichinger
57cbaef8ea Merge pull request #1020 from thomaseichinger/real_rtc_interface
periph_drivers: Introduce a minimal RTC interface
2014-08-21 18:43:42 +02:00
Thomas Eichinger
b904bc3495 Implement a minimal RTC interface 2014-08-21 18:42:30 +02:00
Thomas Eichinger
0e79a01cd2 stm32f1: SPI: implement speed setting properly 2014-08-21 17:53:38 +02:00
Thomas Eichinger
6b43b3f587 stm32f1: implement new cpuid_get 2014-08-21 17:53:38 +02:00
Thomas Eichinger
c28aebf105 at86rf231: handle rx tx state changes correctly 2014-08-21 17:53:38 +02:00
Thomas Eichinger
b6abdc9519 stm32f1: implement SPI register access functions 2014-08-21 17:53:38 +02:00
Thomas Eichinger
e59bc2eb9d iot-lab_M3: refactor at86rf231 driver 2014-08-21 17:53:37 +02:00
Thomas Eichinger
b86b78bcb2 stm32f1: implement missing UART0 parts 2014-08-21 17:53:37 +02:00
Thomas Eichinger
d50f43e9f5 at86rf231: introduce variable to keep internal driver state
The at86rf231 radio transceiver provides one IRQ (TRX_END) signaling
end of transmission or reception but no way to distinguish between
these.
2014-08-21 17:53:37 +02:00
Thomas Eichinger
aaa2c2e8ba boards: initial import of iot-lab_M3 2014-08-21 17:53:37 +02:00
Thomas Eichinger
37611db41c cpu: initial import of stm32f1 2014-08-21 17:53:37 +02:00
Thomas Eichinger
78041ea15d Merge pull request #1592 from thomaseichinger/ccn-lite-relay-rtc
examples/ccn-lite-relay: remove unnecessary USEMODULE
2014-08-21 17:53:05 +02:00
Thomas Eichinger
e6798a8250 examples/ccn-lite-relay: remove unnecessary USEMODULE 2014-08-21 17:46:17 +02:00
Hauke Petersen
0200db5e6a Merge pull request #1590 from haukepetersen/fix_nrf_maketargets
board/pca10000: added make targets
2014-08-21 15:47:53 +02:00
Hauke Petersen
46a791fd95 board/pca10000: added make targets
- added `reset` target
- added `debug` target
- added `debug-server` target
- adjusted `flash` target
2014-08-21 15:47:10 +02:00
Hauke Petersen
8147216d29 Merge pull request #1591 from haukepetersen/fix_make_vars
make: added CPU_MODEL & TERMFLAGS to Makefile.vars
2014-08-21 15:29:59 +02:00
Hauke Petersen
800edbcb59 make: added CPU_MODEL & TERMFLAGS to Makefile.vars
- added CPU_MODEL variable
- added TERMFLAGS variable
- fixed a little style (dots on the end of comments)
2014-08-21 14:59:23 +02:00
René Kijewski
b4f105f178 core: SCHED_PRIO_LEVELS==16 for every board
Closes #1399.

> Using a different value for SCHED_PRIO_LEVELS for 16 and 32 bit
platforms hurts portability, one thing that we heavily advertise about
RIOT. if you want to write a portable application, then you have to
assume the lower value.

This PR defaults `SCHED_PRIO_LEVELS` to 16 for every board.
2014-08-18 10:43:41 +02:00
René Kijewski
2cb4166c3e all over the place: use sched_active_pid
In many places we needlessly use `sched_active_thread->pid` whilst we
already have `sched_active_pid` with the same value, and one less
indirection.

`thread_getpid()` is made `static inline` so that there is no penalty in
using this function over accessing `sched_active_pid` directly.
2014-08-17 21:04:25 +02:00
Martine Lenders
6999e6fb21 Merge pull request #1580 from Kijewski/thread_get
core: add `thread_get()`
2014-08-16 21:48:49 +02:00
Ludwig Ortmann
91d4a25c12 Merge pull request #1582 from N8Fear/fix_pyterm_twisted
pyterm: fix exit behavior if twisted is not available
2014-08-16 08:31:20 +02:00
Hinnerk van Bruinehsen
1b5836571b pyterm: fix exit behavior if twisted is not available 2014-08-16 00:49:43 +02:00