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

3699 Commits

Author SHA1 Message Date
Hauke Petersen
ea96af4d53 cpu/stm32f3: let LD3 blink on hardFault 2014-08-15 10:38:34 +02:00
Hauke Petersen
48eafe9912 board/stm32f3discover: fixed LED macros 2014-08-15 10:38:10 +02:00
René Kijewski
a7e5157fd9 core: add thread_get()
Remove PID check duplication in `thread_getstatus()` and
`thread_getname()`.
2014-08-15 01:16:13 +02:00
Ludwig Ortmann
de039b0ec6 Merge pull request #1574 from Kijewski/native-sched_active_thread
native: remove redeclarations of sched_active_thread
2014-08-14 18:27:22 +02:00
René Kijewski
a79d9c8562 native: remove redeclarations of sched_active_thread 2014-08-14 13:21:17 +02:00
Martine Lenders
7681e594b9 Merge pull request #1557 from authmillenon/make-list-show
make: Add target to show if boards that are supported by apps
2014-08-14 09:39:09 +02:00
Martine Lenders
04489be771 [SQUASH ME] make: Move buildtest related PHONY targets to Makefile.buildtests 2014-08-13 21:24:07 +02:00
René Kijewski
d1d8fb2b68 sys: remove lib/hashtable.c
Quoting myself:

> The code of sys/lib/hashtable.c is very badly adapted for embedded
> systems. The used primes are huge, and the limit is entirely
> unrealistic. Why do we ship this file?

In #1564 we came to the conclusion that we don't need this code.

Closes #1564.
2014-08-13 21:21:39 +02:00
Martine Lenders
7306552873 [SQUASH ME] make: remove debugging lines 2014-08-13 21:14:11 +02:00
René Kijewski
2d336ed8c8 make: easier to read object targets 2014-08-13 20:52:41 +02:00
René Kijewski
9b408fda9c make: don't invoke wildcard repeatedly 2014-08-13 20:51:50 +02:00
René Kijewski
01f6bdf789 make: call ranlib 2014-08-13 20:51:50 +02:00
René Kijewski
aa2ee4084d make: use $@ and $< 2014-08-13 20:51:29 +02:00
Martine Lenders
87b68e9382 make: Add supported boards to info-build target 2014-08-13 20:44:16 +02:00
Martine Lenders
e8f251cfa3 [SQUASH ME] make: info-boards-supported is just 2014-08-13 20:43:42 +02:00
Martine Lenders
da779b0dee make: Make BOARDS a global macro for buildtests 2014-08-13 20:39:48 +02:00
René Kijewski
346313bf07 make: don't call mkdir -p a lot 2014-08-13 20:23:08 +02:00
Oleg Hahm
a9ded6337e Merge pull request #1569 from OlegHahm/pyterm_timer
pyterm: adds timer function
2014-08-13 13:33:10 -04:00
Oleg Hahm
dce96763b5 pyterm: adds timer function
/timer <interval> <command> now allows to schedule arbitrary commands to
be send to the node after the specified interval (in seconds).
2014-08-13 11:46:36 -04:00
Oleg Hahm
1db984a755 Merge pull request #1568 from authmillenon/pyterm-printf-style
pyterm: Use only printf-style String Formatting
2014-08-12 18:32:54 -04:00
Martine Lenders
5fa5c568ff pyterm: Use only printf-style String Formatting
Needed for backwards compatibility to python 2.6. Refers to
46c38230eb (commitcomment-7363298)
2014-08-13 00:16:41 +02:00
Ludwig Ortmann
bc09d9c99d Merge pull request #1567 from LudwigOrtmann/at86rf231_includes
drivers/at86rf231: add transceiver/pid includes
2014-08-12 18:12:05 +02:00
Ludwig Ortmann
b63b3b9512 drivers/at86rf231: add transceiver/pid includes 2014-08-12 17:21:42 +02:00
Martine Lenders
4a2450b464 Merge pull request #1522 from OlegHahm/crypto_cleanup
crypto: get rid of compiler warnings
2014-08-12 02:18:25 +02:00
Martine Lenders
c5bfbcfd25 [SQUASH ME] Fix some error + simplify some calls 2014-08-11 22:23:56 +02:00
Oleg Hahm
67d69664d2 Merge pull request #1563 from Kijewski/priority_queue_print-typo
core: shadowing in priority_queue_print
2014-08-11 15:58:34 -04:00
René Kijewski
bf6548ca30 core: shadowing in priority_queue_print
The variable `node` shadows the parameter `node`. The access of
`node->first` would not compile, because there is no member `first` in
`priority_queue_t`.
2014-08-11 18:42:25 +02:00
René Kijewski
3b7591f3bc Merge pull request #1526 from Kijewski/rebase-on-master
Travis: auto rebase on master before running
2014-08-11 18:22:59 +02:00
René Kijewski
b2f819b5da Travis: auto rebase on master before running
It can happen that two PRs don't interfere with each other in the sense
that they hurt automatic rebasing, but still do not work together. The
prime example is PR1 changes the API of some function that PR2 uses. If
PR1 is merged, and PR2 is not rebased before merging, the error might
get unnoticed before the next build. Travis CI would have have told both
PR1 and PR2 are fine, but will complain (rather unnoticedly) that our
master does not compile.

This PR automatically rebases the PR on top of the current master,
before running the tests. If the automatic rebase fails, then this is
fine, because you will need to manually rebase again before merging,
anyway. The manual rebase, i.e. new push, will trigger Travis CI.

So, the main idea of this PR is that to can hit the "Restart Build"
button in Travis CI before hitting the merge button in Github.
2014-08-11 18:22:20 +02:00
René Kijewski
46c669f455 tests: clean up test_pthread_barrier Makefile 2014-08-11 16:22:43 +02:00
René Kijewski
f3fcc1d5dd pthread: pthread_barrier should call yield 2014-08-11 16:22:38 +02:00
Hauke Petersen
f67d209648 Merge pull request #1481 from haukepetersen/fix_drivers_uartif
drivers: improved UART driver interface
2014-08-11 15:09:53 +02:00
Hauke Petersen
477bc5a73d tests/periph_uart: added two UART driver tests
- test for UART driver in blocking mode
- test for UART driver in interrupt driven mode
2014-08-11 15:08:41 +02:00
Hauke Petersen
037820d6a6 board/cpu: adjusted uart driver implementations
for
- sam3x8e
- stm32f0
- stm32f4
- sam3x8e
- nrf51822
2014-08-11 15:08:20 +02:00
Martine Lenders
86d8dede48 [SQUASH ME] make: Add info prefix for non-building targets in Makefile.buildtests 2014-08-11 11:33:18 +02:00
Martine Lenders
e97c5ea7be make: Add info prefix for non-building targets in Makefile.buildtests 2014-08-11 11:29:13 +02:00
Martine Lenders
30fc8671cd [SQUASH ME] make: move info-boards-supported to Makefile.buildtests 2014-08-11 11:28:17 +02:00
Martine Lenders
0c68712fa8 make: Add target to show if boards that are supported by apps 2014-08-09 03:33:45 +02:00
Hauke Petersen
8a80b2add8 drivers: improvements to UART driver interface
- removed UNDEFINED value from device enum
- added argument for callbacks
- add power[on|off] functions
- removed tx_end() function in favor of cb return value
2014-08-08 17:39:34 +02:00
Oleg Hahm
de2f164ee6 Merge pull request #1549 from OlegHahm/kernel_pid_fixup
Handle kernel_pid_t consistently
2014-08-07 17:30:29 +02:00
Oleg Hahm
1de5c2b4a0 fixed remaining variables to kernel_pid_t 2014-08-07 17:29:53 +02:00
Oleg Hahm
2e396af248 tests: combine declaration and definition 2014-08-07 16:31:34 +02:00
Oleg Hahm
74fbff1df2 net: changed name of internal variable
To avoid naming conflicts + made variable static and volatile as it
should be.
2014-08-07 16:31:27 +02:00
Oleg Hahm
93ef4346e9 ccnl: duplicate variable names
Some variables had multiple definitions, but could be removed or
declared with a smaller scope.
2014-08-07 16:31:27 +02:00
Oleg Hahm
0ad7b170ed make kernel_pid_t comparisons consistent 2014-08-07 16:31:27 +02:00
Oleg Hahm
aa2ecf6216 initialize kernel_pid_t correctly 2014-08-07 16:31:27 +02:00
Oleg Hahm
c2b0423918 core: renamed KERNEL_PID_NULL to KERNEL_PID_UNDEF
As @authmillenon pointed out the "null" in the old name is somewhat
misleading, since the actual value is -1.
2014-08-07 16:31:27 +02:00
Oleg Hahm
4b1a2f32eb net: fix kernel_pid_t checks
KERNEL_PID_NULL is a negative number. If kernel_pid_t variables are
initialized to this value, one have to check for lt/gte 0.
2014-08-07 16:31:27 +02:00
Oleg Hahm
0836cd0b18 core: moved definition of KERNEL_PID_NULL
kernel_pid_t is defined in kernel_types.h, thus it makes sense to move
the macro for an invalid kernel pid there, too.
2014-08-07 16:31:27 +02:00
Hauke Petersen
b6cf2fa37f Merge pull request #1467 from haukepetersen/add_stm32f4_pwm
cpu: added pwm driver for the stm32f4
2014-08-07 16:17:44 +02:00