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

313 Commits

Author SHA1 Message Date
BytesGalore
469f28bf5c added missing extern "C" guards 2014-10-22 07:50:48 +02:00
BytesGalore
f94623ae0f drivers: add extern "C" to header files 2014-10-21 15:30:03 +02:00
Ludwig Ortmann
b3266fee1a drivers/periph/gpio: fix #ifdef instead of #if 2014-10-18 07:40:27 +02:00
Hauke Petersen
8c3a207a3f Merge pull request #1770 from fnack/spi_extension
driver - periph: Extend SPI low-level driver interface
2014-10-17 13:54:38 +02:00
Fabian Nack
be5f175623 drivers - spi: extended low-level spi driver interface 2014-10-16 17:10:11 +02:00
Martine Lenders
d9026054b7 periph.cpuid: Add central documentation for CPUID_ID_LEN 2014-10-16 14:39:56 +02:00
Hauke Petersen
0f7e8b2f9f drivers: added driver for ISL29020 light sensor 2014-10-15 14:54:04 +02:00
Hauke Petersen
45b466d786 drivers: added low-level I2C driver interface 2014-10-15 14:50:08 +02:00
Thomas Eichinger
c27e250de4 at86rf231: replace vtimer_usleep by hwtimer_wait
This fixes a bug where the callback to unlock the thread, put to sleep by
`vtimer_usleep` wouldn't be woken up due to overhead. Using hwtimer_wait
works for now, but this section will be replaced a driver refactor anyway.
2014-10-10 11:41:36 +02:00
Martine Lenders
264785852e nativenet: Supply net_dev_t support for nativenet 2014-10-09 09:40:58 +02:00
Martine Lenders
0c7783806f netdev: Provide maximum value of netdev_opt_t for further definitions 2014-10-07 22:47:54 +02:00
Thomas Eichinger
2f27388d04 sys/transceiver: cleanup and fix for cc2420 and at86rf231
cc2420: the payload pointer was set twice
at86rf231: payload_len was not copied from the radio driver buffer
2014-10-07 11:37:29 +02:00
Thomas Eichinger
a686e909aa examples/default: fix handling of 802.15.4 devices 2014-10-07 10:32:58 +02:00
Martine Lenders
65e0bd5536 drivers: Provide basic interface for all network devices 2014-10-01 23:22:54 +02:00
Ludwig Ortmann
cd2ea516b7 drivers/periph/gpio: increase possible gpio number 2014-10-01 18:42:34 +02:00
Hauke Petersen
4b815582d7 drivers/at86rf231: rework and clean-up
- moved all board specific code to low-level driver calls
- moved some functions from the board dir into at86rf231.c
- added doxygen headers
2014-09-30 11:19:23 +02:00
Ludwig Ortmann
e75dd40eea drivers: import PIR motion sensor driver
Includes an application for manual testing.
2014-09-26 18:07:46 +02:00
Oleg Hahm
66904fbabb drivers: fixed German influenced typo 2014-09-17 15:21:15 +02:00
Thomas Eichinger
adb4c15b65 drivers/at86rf231: handle channel out of range more conveniently 2014-09-16 10:52:59 +02:00
Hinnerk van Bruinehsen
57b998e4a1 cpu/examples/sys/drivers: reduce scope of variables 2014-09-13 19:03:40 +02:00
René Kijewski
0cc699c0ce lint: reduce scope
Fix some lint warnings of kind
```
style (variableScope): The scope of the variable '…' can be reduced
```
2014-09-12 11:50:12 +02:00
Hinnerk van Bruinehsen
26d3a94dff drivers-lm75a: use sizeof array instead of reg_size 2014-09-12 11:49:23 +02:00
Ludwig Ortmann
2439bd839c doc: fix more license headers
Remove some cruft, set correct lgpl versions, update to lgpl where
this had been overlooked in the past, fix odd comment style...
2014-08-27 19:20:49 +02:00
Ludwig Ortmann
b7992922ce fix license headers in non-.c files 2014-08-23 16:16:26 +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
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
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
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
b904bc3495 Implement a minimal RTC interface 2014-08-21 18:42:30 +02:00
Thomas Eichinger
c28aebf105 at86rf231: handle rx tx state changes correctly 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
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
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
Hauke Petersen
aa3e40c9b1 drivers: improved the low-level GPIO driver IF
- removed UNDEFINED value from device enum
- changed most functions to void return value
- add parameter for interrupt callback
2014-08-15 12:23:32 +02:00
Ludwig Ortmann
b63b3b9512 drivers/at86rf231: add transceiver/pid includes 2014-08-12 17:21:42 +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
0ad7b170ed make kernel_pid_t comparisons consistent 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
Hauke Petersen
3f4aa04260 drivers: updated low-level PWM driver interface 2014-08-07 14:47:24 +02:00
Martine Lenders
5053a521d9 driver_periph: minor documentation fix 2014-08-06 15:06:06 +02:00
René Kijewski
2b91605f58 Merge pull request #1535 from LudwigOrtmann/transceiver_volatile
sys/transceiver: make transceiver_pid volatile
2014-08-05 19:39:43 +02:00
Ludwig Ortmann
c883c33d83 doc: fix flashrom doxygen 2014-08-05 18:52:26 +02:00
Oleg Hahm
1623b68ae3 Merge pull request #1311 from haukepetersen/add_driver_spi_if
drivers: Initial import of SPI low-level driver IF
2014-08-04 15:34:36 +02:00
Ludwig Ortmann
47ca52cb8d SQUASHME: clean out extern kernel_pid_t transceiver_pid redefinitions 2014-08-02 14:29:07 +02:00