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

3568 Commits

Author SHA1 Message Date
René Kijewski
e03e20b7f6 core: simplify mutex initializer 2014-07-29 09:33:23 +02:00
René Kijewski
e5d6142823 core: simplify mutex signatures 2014-07-29 09:32:16 +02:00
René Kijewski
0e1d7c8091 Merge pull request #935 from Kijewski/add-generic-pipe
sys: Add generic pipe
2014-07-29 00:05:08 +02:00
René Kijewski
0ab1b86e5f Add generic char pipe implementation 2014-07-28 23:21:27 +02:00
René Kijewski
2c885bacaf Merge pull request #1101 from Kijewski/issue-979-2
ringbuffer: versatility and optimizations
2014-07-28 23:20:44 +02:00
René Kijewski
faf9bb5073 tests: add ringbuffer unittest 2014-07-28 20:56:12 +02:00
René Kijewski
02aeca02db ringbuffer: add static initializer 2014-07-28 20:56:12 +02:00
René Kijewski
201152a6d3 ringbuffer: add documentation 2014-07-28 20:56:12 +02:00
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
Hauke Petersen
413bc42c98 [SQUASH ME] added begin_transaction, fixed doc 2014-07-25 00:00:35 +02:00
Hauke Petersen
ebf4bd98a2 [SQUASH ME] fixed signature of spi_transfer_reg() 2014-07-24 22:55:17 +02:00
Hauke Petersen
f1865f034d [SQUASH ME] removed UNDEFINED from device list 2014-07-24 21:40:01 +02:00
Hauke Petersen
fdbfe36d68 [SQUASH ME] added fixed speed values 2014-07-24 21:37:01 +02:00
Hauke Petersen
4513eb7f77 driver: updated SPI driver interface 2014-07-24 21:37:01 +02:00
Hauke Petersen
d7fe933fe6 drivers: fixes to the SPI low-level interface 2014-07-24 21:37:01 +02:00
Hauke Petersen
e5ae56323e drivers: Initial import of SPI low-level driver IF 2014-07-24 21:37:01 +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