René Kijewski
a346276d30
ringbuffer: don't overwrite in ringbuffer_add
2014-07-28 20:44:02 +02:00
René Kijewski
47950e8bab
ringbuffer: remove pointer to the end
...
There is no need for an explicit pointer to the end of the buffer.
2014-07-28 20:44:02 +02:00
René Kijewski
726af8d44e
ringbuffer: fix parameter types
...
It is a bad idea to use signed types for lengths.
Mark pointers a `restrict`, since the ringbuffer is not thread safe
anyway.
2014-07-28 20:44:02 +02:00
René Kijewski
67856d63d9
ringbuffer: add convenience functions
...
This patch add `peek` functionality, and empty and full helpers.
2014-07-28 20:44:01 +02:00
René Kijewski
aaa95a281a
ringbuffer: remove example
2014-07-28 20:44:01 +02:00
Hauke Petersen
5cb11e5608
Merge pull request #1469 from haukepetersen/fix_periph_adcif
...
drivers: some improvements to the ADC driver interface
2014-07-28 17:23:04 +02:00
Hauke Petersen
1fb02c272e
Merge pull request #1479 from haukepetersen/fix_sam3x_minorfixes
...
board - arduino-due: some cleanup
2014-07-28 17:21:13 +02:00
Hauke Petersen
20cb27d04d
boards/udoo: cleanup in periph_conf.h
...
- removed unused defines
2014-07-28 17:22:35 +02:00
Hauke Petersen
11bb9d2627
boards/arduino-due: some cleanup
...
- added parenthesis for LED macros
- changed mapping for LED_* to LED_RED_*
- removed some old values from periph_conf.h
2014-07-28 17:22:22 +02:00
Hauke Petersen
378c0dfc3a
drivers: some improvements to the ADC driver IF
...
- removed UNDEFINED value from device enum
- added pre-defined precision values
- added power[on|off] functions
- some minor doxygen fixes
2014-07-28 15:59:33 +02:00
Kévin Roussel
d630eadca0
Merge pull request #1380 from rousselk/arduino-due-minor-fixes
...
Reset ARM Cortex-M3 MCUs before flashing
2014-07-28 14:13:03 +02:00
Hauke Petersen
1ad0d00934
Merge pull request #1468 from haukepetersen/add_driver_servo
...
drivers: added servo motor driver
2014-07-28 13:00:31 +02:00
Hauke Petersen
e2a8bcb832
drivers: added servo motor driver
2014-07-28 13:02:50 +02:00
Ludwig Ortmann
13bd2a2b3b
native: increase rtc realism
...
Prevent rtc enabling when not initialized.
2014-07-28 09:36:53 +02:00
Ludwig Ortmann
1fd762d3bc
Merge pull request #1403 from LudwigOrtmann/transceiver_fixup
...
sys/transcevier: fix more loop integers
2014-07-28 09:19:47 +02:00
Ludwig Ortmann
0057587e12
make: fix buildsizes* targets
...
also ignore BOARD_INSUFFICIENT_RAM boards
unify/make work BOARD filter
2014-07-27 16:50:09 +02:00
Ludwig Ortmann
12e55ddaec
Merge pull request #1445 from LudwigOrtmann/issue-476
...
native: uart reconnect buffer replay (+a little cleanup)
2014-07-27 15:26:08 +02:00
Ludwig Ortmann
3cda0369cb
native: cleanup
...
fix style
fix some syscall declarations
reorder syscall declarations
init syscalls in dedicated function
substitute 1 with EXIT_FAILURE
2014-07-27 15:16:38 +02:00
Ludwig Ortmann
c6bcc344ca
native: uart reconnect buffer replay
...
When using socket stdio, add option to replay what has been written to
stdout while not connected (`-r`).
The implementation is to simply use the existing log file (which is
implicitly created when the option is used), and read from it until
EOF upon reconnect.
closes #476
2014-07-27 15:16:38 +02:00
Ludwig Ortmann
fb205550a1
boards/chronos: clean up display driver a bit
...
reduce scope of variables
remove useless comments and spaces
saves 2 bytes =)
2014-07-27 12:51:22 +02:00
Ludwig Ortmann
f2344a9b57
Merge pull request #1472 from LudwigOrtmann/cpp-check-a-bit
...
Fix a few cppcheck findings
2014-07-27 11:53:51 +02:00
Kévin Roussel
904f313ade
Reset udoo's MCU before flashing
2014-07-25 16:02:20 +02:00
Ludwig Ortmann
bea563d1da
Fix a few cppcheck findings
2014-07-25 08:17:06 +02:00
Ludwig Ortmann
85a5e6748a
Merge pull request #1459 from LudwigOrtmann/native_help
...
native: clean up and clarify help
2014-07-22 16:54:49 +02:00
Ludwig Ortmann
2aa9f6b045
native: clean up and clarify help
...
- reorder option details to mirror the order given in usage
- list option arguments in option details
- clarify option arguments
2014-07-22 16:25:00 +02:00
René Kijewski
d38d0d9b36
Merge pull request #1453 from backenklee/dpr
...
doc: mainpage.txt fixed minor mistake
2014-07-20 21:26:18 +02:00
Leon George
38bd27757b
doc: mainpage.txt fixed minor mistake
2014-07-20 21:21:58 +02:00
Oleg Hahm
54fd920da0
Merge pull request #1450 from mehlis/ccp-stacksize-fix
...
examples: changed stacksize to the recommended value
2014-07-19 15:04:38 +02:00
Christian Mehlis
e2052cb6a9
Merge pull request #1026 from mehlis/ccnl-helper-thread
...
ccnl: refactor ccn lite stack
2014-07-18 21:27:13 +02:00
Christian Mehlis
70c863b3b1
Merge pull request #1320 from mehlis/ccnl-timeouts
...
ccnl: change timeouts to useful values
2014-07-18 21:26:09 +02:00
Christian Mehlis
346c0cc490
examples: changed stacksize to the recommended value
2014-07-18 21:21:43 +02:00
Christian Mehlis
eac161c7d1
Merge pull request #1446 from Kijewski/vtimer-spurious-hwtimer-call
...
vtimer: fix crash on spurious hwtimer callback
2014-07-18 21:15:16 +02:00
Christian Mehlis
f757bc8bfb
Merge pull request #1447 from authmillenon/periph-doc-fix
...
Make filenames in periph documentation unique
2014-07-18 21:12:19 +02:00
Christian Mehlis
d2b78a398f
ccnl: finish rebase
2014-07-18 21:06:40 +02:00
Christian Mehlis
54bf710c69
ccnl: fix function name
2014-07-18 20:50:37 +02:00
Christian Mehlis
0aad35f33c
ccnl: normalize time before using it
2014-07-18 20:47:26 +02:00
Christian Mehlis
5bc873d8ca
ccnl: change timeouts to useful values
2014-07-18 20:47:26 +02:00
Christian Mehlis
ba22fd41b7
ccnl: adapt HOWTO to new features
2014-07-18 20:08:29 +02:00
Christian Mehlis
7c10101e83
ccnl: prevent race condition on teardown
2014-07-18 20:08:29 +02:00
Christian Mehlis
9b5eedeea8
ccnl: use stacksize main for all threads
2014-07-18 20:08:29 +02:00
Christian Mehlis
cebffb2ccf
ccnl: make relay start on RIOT startup
2014-07-18 20:07:15 +02:00
Christian Mehlis
085e386f2d
ccnl: make theRelay use dynamic memory
2014-07-18 20:04:13 +02:00
Christian Mehlis
51fa2ec5c5
ccnl: use vtimer instead of rtc
2014-07-18 20:04:13 +02:00
Christian Mehlis
0b390040f4
ccnl: use a second helper thread to handle e.g. timeouts
2014-07-18 20:01:11 +02:00
Martin Lenders
1528857feb
Make filenames in periph documentation unique
...
This makes the filenames in the documentation of low-lever peripheral
drivers unique, so doxygen stops complaining about duplicates.
2014-07-18 14:59:46 +02:00
René Kijewski
e1705622b7
vtimer: fix crash on spurious hwtimer callback
...
It seems that there are corner cases where a vtimer was removed, but
still there comes a hwtimer callback. This is a bug somewhere in the
vtimer or hwtimer. If there still was a vtimer set, then the next one
gets called before its time. If there was no other vtimer scheduled,
then `timer->action(timer)` crashes.
This PR simply fixes the crash, but does not attempt to find the more
fundamental bug.
2014-07-18 14:42:52 +02:00
Oleg Hahm
04493cc026
Merge pull request #1407 from LudwigOrtmann/issue-571
...
sys/vtimer: spin on short duration in vtimer_sleep
2014-07-16 22:14:27 +02:00
Hauke Petersen
86eb5c420e
Merge pull request #1191 from haukepetersen/board_stm32f4discovery
...
board: Initial import of stm32f4discovery board
2014-07-16 18:24:56 +02:00
Hauke Petersen
a49fc062bf
test/examples: blacklisted stm32f4discovery
2014-07-16 17:20:53 +02:00
Hauke Petersen
29e70c14d6
cpu: Initial import of cortex-m4_common
2014-07-16 17:20:50 +02:00