PeterKietzmann
f207b114e4
Initial import of the updated srf02 driver with general i2c interface
2014-11-21 09:21:27 +01:00
Ludwig Ortmann
fb75b65df7
periph/rtt: fix documentation
...
Fix some typos, grammar and style.
2014-11-19 17:04:20 +01:00
Hinnerk van Bruinehsen
c2a30f1e49
lint: remove unusedStructMember supressions
2014-11-19 11:22:49 +01:00
Thomas Eichinger
9b2b49c95d
drivers/at86rf21: add and improve debug messages
2014-11-13 15:00:46 +01:00
René Kijewski
9a15a6def5
make: easify {sys,drivers}/Makefile
...
Currently you need to add every new sys and driver module into the
respective Makefile. This requires rebasing if another module was merged
in the meantime.
This PR allows you to omit the entry to {sys,drivers}/Makefile, if the
subfolder has the same name as the module name, which should be sensible
in most cases.
2014-11-11 09:26:37 +01:00
Hauke Petersen
1ae08f8437
drivers/periph/rtt: added overflow callback
2014-11-07 12:14:37 +01:00
Thomas Eichinger
6bbc4ca226
shell: provide shell commands to poll lsm303dlhc sensor
2014-11-06 11:28:22 +01:00
Hauke Petersen
da64a7f438
drivers: added L3G4200D gyroscope driver
2014-11-06 10:36:41 +01:00
Oleg Hahm
0fed329774
Merge pull request #1941 from OlegHahm/ieee802154_use_enums
...
Ieee802154: use enums for frame type
2014-11-06 08:03:53 +01:00
Oleg Hahm
32543afdd0
ieee802154: make use of frame_type enum all over
2014-11-06 08:02:27 +01:00
Oleg Hahm
f777f23a89
Merge pull request #1934 from thomaseichinger/at86rf231_robustnes
...
drivers/at86rf231: improve deployment by default example
2014-11-05 19:59:11 +01:00
Thomas Eichinger
88fce936e9
lsm303dlhc: initial import of lsm303dlhc driver
...
TODO: Accelerometer does not return valid values yet
2014-11-05 13:04:47 +01:00
Thomas Eichinger
c16c2509e8
drivers/at86rf231: frame_type has to be set by upper layers
2014-11-04 15:12:45 +01:00
Thomas Eichinger
5b8231737b
drivers/at86rf231: print raw packet when DEBUG_ENABLED
2014-11-04 15:11:54 +01:00
Thomas Eichinger
9bdd4cebbc
drivers/at86rf231: change to PLL_ON to change address
2014-11-04 15:10:18 +01:00
Martine Lenders
038beb0f99
netdev: clarify documentation of netdev_driver_t::get_option()
2014-11-03 16:01:20 +01:00
Hinnerk van Bruinehsen
d28c588652
Merge pull request #1920 from thomaseichinger/at86_fix
...
drivers/at86rf231: fix two cppcheck findings
2014-11-01 18:23:35 +01:00
Thomas Eichinger
e6bcef4216
drivers/at86rf231: fix two cppcheck findings
2014-10-31 13:48:51 +01:00
Ludwig Ortmann
2c697bd8a4
drivers/mq3: add extern "C" to header
2014-10-31 12:30:03 +01:00
Oleg Hahm
fce3a2243e
Merge pull request #1846 from thomaseichinger/at86rf23x
...
drivers/at86rf231: refactoring of the at86rf231 radio driver
2014-10-31 09:33:30 +01:00
Hinnerk van Bruinehsen
4b68b9e547
lint: fix redundantAssignment warnings
...
SQUASH ME: redundantAssignment (remove FAT stuff)
SQUASH ME: into redundantAssignment unnecessary supp
2014-10-31 01:24:29 +01:00
Thomas Eichinger
9e2cfdc4da
netdev/802154: suppress cppcheck warnings in 802154.h
...
Suppress cppcheck warnings of class unusedStructMember because
this interface is not used yet. Remove these comments once it
is used.
2014-10-30 22:35:00 +01:00
Thomas Eichinger
dfb1b56fad
drivers/at86rf231: refactoring of the at86rf231 radio driver
...
* deploy extended operation mode
* cleanup
* implement netdev 802154.h interface
2014-10-30 22:35:00 +01:00
Thomas Eichinger
44dcd0e631
Merge pull request #1817 from haukepetersen/add_driver_lps331ap
...
drivers: added driver for LPS331AP pressure sensor
2014-10-30 21:05:50 +01:00
Hauke Petersen
7b666eb2a9
drivers: added LPS331AP pressure sensor driver
2014-10-30 20:24:44 +01:00
Oleg Hahm
313d5b4e56
doc: added and fixed some copyright boilerplates
2014-10-30 19:30:14 +01:00
Hauke Petersen
5bd6155ca6
drivers/mq3: added driver for alcohol sensor
2014-10-30 14:05:29 +01:00
Ludwig Ortmann
245df3f028
cpu/lpc2387, drivers/cc110x: purge FEUERWARE_CPU_LPC2387
...
* includes were superfluous
* unused otherwise
2014-10-28 18:04:26 +01:00
Ludwig Ortmann
57daf9d7d2
drivers/cc110x: fix duplicate length member
2014-10-28 18:04:26 +01:00
Ludwig Ortmann
e7eda3b54a
drivers/cc110x: remove unused FEUERWARE_CPU_MSP430 include
2014-10-28 18:04:26 +01:00
Fabian Nack
169a4d6815
drivers - cc110x_legacy_csma: add missing license
2014-10-28 16:18:59 +01:00
Fabian Nack
53b0ad2be5
drivers - cc110x: rename cc110x to cc110x_legacy_csma
2014-10-28 16:18:50 +01:00
Ludwig Ortmann
035dbce58d
drivers/adc_legacy: add copyright, author
2014-10-27 16:33:49 +01:00
Ludwig Ortmann
c59dd9787f
drivers: mark adc.h as legacy
2014-10-25 17:04:29 +02:00
Ludwig Ortmann
7476ce8abf
doc: mark legacy adc API as deprecated
2014-10-25 16:36:10 +02:00
Ludwig Ortmann
5523ec67f3
doc: make peripheral interfaces modules
...
also remove `@file` parameters
2014-10-25 15:37:04 +02:00
Fabian Nack
310d468659
drivers - cc110x_legacy: add missing license
2014-10-24 09:55:57 +02:00
Fabian Nack
07fff37efe
drivers - cc110x_ng: rename ng driver to legacy
2014-10-24 09:55:31 +02:00
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
Oleg Hahm
4e2640f9de
Merge pull request #1375 from OlegHahm/radio_packet_length
...
Radio packet length
2014-08-01 18:20:34 +02:00
Oleg Hahm
53433a1344
cc2420: use radio_packet_length_t
2014-08-01 17:06:30 +02:00
Oleg Hahm
5098273d2a
cc110x_ng: use radio_packet_length_t
2014-08-01 17:05:41 +02:00
Oleg Hahm
78237c3fba
cc110x: use radio_packet_length_t
2014-08-01 17:04:35 +02:00
Oleg Hahm
fa3d976958
at86rf231: use radio_packet_length_t
2014-08-01 17:04:29 +02:00
Oleg Hahm
983d056c75
core: harmonizes the data type for the process ID
...
Instead of using differing integer types use kernel_pid_t for process
identifier. This type is introduced in a new header file to avoid
circular dependencies.
2014-08-01 12:02:54 +02:00
Martine Lenders
7516c94dd8
Merge pull request #854 from authmillenon/cpu-id
...
drivers/cpu: add function to get CPU id/serial number
2014-07-31 23:23:21 +02:00
Ludwig Ortmann
d55da67fb6
Merge pull request #1329 from LudwigOrtmann/riot_license
...
RIOT default license header change
2014-07-31 23:12:47 +02:00
Oleg Hahm
937cc51d66
Merge pull request #1516 from cgundogan/remove_tabs_drivers
...
converting tabs to spaces in drivers (#1439 )
2014-07-31 23:04:53 +02:00
Ludwig Ortmann
5fdce06b3b
doc: use lgplv2.1-short license header instead of lgplv2-short-v1
2014-07-31 22:57:20 +02:00
Ludwig Ortmann
73aa3739d2
doc: use lgplv2.1-short license header instead of lgplv2-short-v2
2014-07-31 22:57:20 +02:00
Ludwig Ortmann
3ca4f18479
doc: use lgplv2.1-short license header instead of lgpl-short-riot
2014-07-31 22:57:20 +02:00