Hauke Petersen
f3de73fe54
driver/i2c: additional docu for pull resistors
2014-12-16 15:17:42 +01:00
PeterKietzmann
aab94e50f9
doc: extend i2c description for pull-up
2014-12-16 10:54:31 +01:00
Ludwig Ortmann
1340fadcbe
boards,drivers,examples: unset ENABLE_DEBUG
2014-12-12 14:29:06 +01:00
Oleg Hahm
d4166faccc
doc: add or move module description where missing
2014-12-11 17:29:51 +01:00
Oleg Hahm
ff86118c7a
doc: cleanup for radio_driver
2014-12-11 17:27:56 +01:00
Oleg Hahm
bc330284fa
doc: don't use defgroup and addtogroup
2014-12-11 17:27:56 +01:00
Oleg Hahm
11d0a22ad7
doc: remove superfluous and erroneous @file params
2014-12-11 17:27:54 +01:00
Ludwig Ortmann
e850078769
Merge pull request #2162 from cgundogan/vtimer_set_msg_param_type
...
vtimer: set custom msg_t.type with vtimer_set_msg
2014-12-09 11:12:52 +01:00
Cenk Gündoğan
6ee5e737f9
vtimer: set custom msg_t.type with vtimer_set_msg
...
Currently, when using vtimer_set_msg the corresponding msg_t is filled
with the MSG_TIMER ("12345") type.
This approach makes it difficult to differentiate between incoming
messages via vtimer_set_msg.
In this PR I introduce another parameter for the vtimer_set_msg
function to specify a custom msg_t type.
2014-12-09 10:07:26 +01:00
PeterKietzmann
a84419e321
doc: fix drivers/srf08 documentation
2014-12-08 13:38:51 +01:00
PeterKietzmann
522b7d470e
doc: fix drivers/srf02 documentation
2014-12-08 13:38:44 +01:00
Martine Lenders
c63d029653
netdev: Fix netdev/default.h
2014-12-06 18:03:49 +01:00
Oleg Hahm
2eaf35bcf9
doc: fixed doxygen for lm75a temperature sensor
2014-12-06 17:32:00 +01:00
Oleg Hahm
67a2b37ff8
cc110x: cleanup cc110x_legacy_csma driver
...
Remove unused radio_t struct and fixed documentation.
2014-12-05 20:33:10 +01:00
Oleg Hahm
000450c894
Merge pull request #2117 from OlegHahm/doxygen_eliminate_warnings
...
Doxygen eliminate warnings pt. 2
2014-12-04 17:18:42 +01:00
Oleg Hahm
43c86b5a3e
doc: fix remaining doxygen warnings
2014-12-04 17:16:57 +01:00
Oleg Hahm
0ccf1043de
doc: fixed broken doxygen references
2014-12-04 17:16:57 +01:00
Ludwig Ortmann
e82f6dce79
doc: periph/dac: fix typo
2014-12-04 11:14:26 +01:00
Ludwig Ortmann
da43a5e7a4
doc: periph: various fixes and cleanup
...
- unify file/module @brief
- distinct @file section more visibly in source
- provide missing @brief's
- move module details/notes from file to module sections
- provide missing macro definition for building
2014-12-04 10:28:45 +01:00
Oleg Hahm
c92effaead
debug: removed superfluous additional debug flag
2014-12-03 22:59:14 +01:00
Fabian Nack
eebfd5011a
drivers - cc110x: Initial import of new cc110x driver
2014-12-01 17:14:02 +01:00
Fabian Nack
57e54e254d
drivers - netdev: extend netdev_state_t enum
2014-12-01 16:50:54 +01:00
Oleg Hahm
d92e9af91c
doc: fixed broken param descriptions
2014-11-30 22:34:50 +01:00
Oleg Hahm
df9c09d946
doc: fixed typos and other misspellings
2014-11-30 21:32:12 +01:00
Oleg Hahm
d3d68c876f
doc: use @brief for single defines
2014-11-30 21:18:24 +01:00
Oleg Hahm
ae8dd90884
doc: added missing closing doxygen brackets
2014-11-30 21:16:41 +01:00
Hinnerk van Bruinehsen
e7d0a7664f
lint: fix possible nullptr deref in *pwr
2014-11-28 01:07:33 +01:00
Hauke Petersen
f1fda21ab7
Merge pull request #2018 from brummer-simon/devel-dac_driver
...
Basic DAC Driver, implementation on stm32f4discovery
2014-11-26 17:52:39 +01:00
PeterKietzmann
d8a26d5aa6
Initial import of nrf24l01p lowlevel functions
2014-11-26 13:50:29 +01:00
Ludwig Ortmann
685acd8a54
Merge pull request #2070 from jfischer-phytec-iot/wip@hdc1000
...
Sensor Driver for HDC1000
2014-11-26 10:32:17 +01:00
Simon Brummer
5a4b966d9c
Basic DAC Driver, implementation on stm32f4discovery
2014-11-25 22:37:32 +01:00
Johann F
1a69a1eae8
add hdc1000 sensor driver
2014-11-24 13:15:58 +01:00
Ludwig Ortmann
b940f6b982
drivers/cc2420: use DEBUG_ENABLED instead of DEBUG
...
compare https://github.com/RIOT-OS/RIOT/issues/2067
2014-11-21 18:31:09 +01:00
Martine Lenders
8ee3edcb13
netdev: Add protocol to header list nodes
2014-11-21 12:37:48 +01:00
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
Ludwig Ortmann
1200c3bc46
doc: fix comment indentation
2014-07-31 22:57:19 +02:00
Cenk Gündoğan
c0f80c7f75
converting tabs to spaces in drivers ( #1439 )
...
This PR converts tabs to white spaces.
The statement I used for the conversion:
```find . -name "*.[ch]" -exec zsh -c 'expand -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;```
Afterwards, I had a quick overview of the converted files to prevent odd indentation.
2014-07-31 20:49:35 +02:00
Martin Lenders
3a6adcc92c
Implement CPU serial number getter.
2014-07-31 19:51:14 +02:00
Hauke Petersen
10d5b5a781
drivers/servo: fixed very stupid coding error
2014-07-31 17:35:47 +02:00
Ludwig Ortmann
b3b6cff587
doc: some more author fixes
...
fix all occurences of INRIA as an author
correct Oliver Hahms authorship and indentation
2014-07-29 18:17:48 +02:00
Ludwig Ortmann
b6846e31fc
doc: fix most occurences of FU as an author
...
.. but only if there are other authors as well
2014-07-29 17:23:11 +02:00
René Kijewski
6fae042a60
core: remove unneeded calls to mutex_init()
2014-07-29 09:33:24 +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
Hauke Petersen
e2a8bcb832
drivers: added servo motor driver
2014-07-28 13:02:50 +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
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
Simon Gene Gottlieb
519ed7163c
board/flash: changing flashrom_write signature
...
→ changing all flashrom_write() function to the same signature
→ adding const keyword to signature
2014-07-14 02:11:38 +02:00
René Kijewski
ba1a15535b
core: remove extra thread_create_arg() function
2014-07-09 10:28:23 +02:00
Kévin Roussel
a5a468a52b
drivers/cc2420: fix logical error in cc2420_do_send function
...
Do the correct test in cc2420_do_send() function when analyzing
the result of cc2420_load_tx_buf()
2014-07-08 16:29:17 +02:00
Kévin Roussel
165e5ee52f
Extend CC2420 driver to comply with interfaces described in 'radio_driver.h'
2014-07-08 11:46:13 +02:00
Hauke Petersen
133a106133
driver - gpio: small adjustments
2014-07-04 10:28:40 +02:00
Hauke Petersen
b2fad213d7
drivers - gpio: expanded gpio driver interface
...
- added functions for en|disabling a pins interrupt
2014-07-03 21:51:37 +02:00
Hauke Petersen
5d20053f74
drivers: added set_absolute to timer interface
2014-06-24 18:46:06 +02:00
Oleg Hahm
cfe5adbe30
Merge pull request #1316 from haukepetersen/add_driver_rgbled
...
drivers: added rgbled driver
2014-06-23 00:41:16 +02:00
Oleg Hahm
32394f1e1d
Merge pull request #1310 from phiros/avsextrem_allow_use_of_cc110x_ng_driver
...
cc110x_ng: build cc110x_spi for avsextrem (bugfix)
2014-06-22 17:11:57 +02:00
Hauke Petersen
749d6a7446
Merge pull request #1318 from haukepetersen/msba2_pwm
...
cpu: added low-level PWM driver for the lpc2387
2014-06-22 13:07:48 +02:00
Philipp Rosenkranz
42b7992e77
cc110x_ng: build cc110x_spi for all boards except chronos
2014-06-22 12:57:22 +02:00
René Kijewski
467b41ad49
make: easifier usage of module subdirectories
...
Many modules have subdirectories. Often these subdirectories should only
be included under certain circumstances. Modules that use submodules
currently need to use this pattern:
```make
DIRS = …
all: $(BINDIR)$(MODULE).a
@for i in $(DIRS) ; do $(MAKE) -C $$i ; done ;
include $(RIOTBASE)/Makefile.base
clean::
@for i in $(DIRS) ; do $(MAKE) -C $$i clean ; done ;
```
This PR moves the `all:` and `clean::` boilerplate into `Makefile.base`.
2014-06-17 15:49:32 +02:00
René Kijewski
840c0f0a57
make: detect their module name automatically
...
For many modules the `Makefile` contains a line like
```
MODULE:=$(shell basename $(CURDIR))
```
This conclusively shows that we do not have to set the module name
manually.
This PR removes the need to set the module name manually, if it is the
same as the basename. E.g. for `…/sys/vtimer/Makefile` the variable
make `MODULE` will still be `vtimer`, because it is the basename of the
Makefile.
2014-06-17 15:49:32 +02:00
Hauke Petersen
854d3fe258
drivers: some adjustments to low-level pwm driver
...
- adjusted doxygen and boilerplate
- changed return values for start and stop functions
2014-06-11 20:37:21 +02:00
Hauke Petersen
9e0653afbb
drivers: added rgbled driver
2014-06-11 20:17:44 +02:00
Kévin Roussel
7ab53506c6
Merge pull request #1239 from rousselk/radio-API-again
...
Add a missing constant in 'radio_tx_status_t' enum
2014-05-27 11:47:55 +02:00
Kévin Roussel
5eb83c7c18
Add a missing constant in 'radio_tx_status_t' enum
2014-05-27 10:43:53 +02:00
Martin Lenders
2362623490
Fix trailing whitespaces
...
Fixes #1138
2014-05-26 14:54:23 +02:00
Oleg Hahm
c8d474eae4
documentation: unified descriptive text for drivers
2014-05-24 16:06:05 +02:00
Kévin Roussel
e9ff3e6cf8
Merge pull request #1211 from rousselk/complete-radio_driver_h
...
Completing low-level radio driver definition.
2014-05-22 10:22:08 +02:00
Kévin Roussel
2a02203067
Complete the definition of low-level radio driver API
2014-05-21 11:41:10 +02:00
Oleg Hahm
ef5ec344fd
core: prefix API functions correctly
...
Also changed names for bitarithm functions and rename thread_pid to sched_active_pid.
2014-05-18 08:53:20 +02:00
René Kijewski
8038e96d09
Merge pull request #1119 from Kijewski/error_old-style-definition
...
Exterminate old-style function definitions
2014-05-14 13:31:30 +02:00
Alaeddine Weslati
2427029c1c
added missing Licence in at86rf231 driver files.
2014-05-14 10:43:50 +02:00
René Kijewski
9a9caf2c68
Exterminate old-style function definitions
2014-05-12 21:57:09 +02:00
Hauke Petersen
7b96e488ff
drivers: fixes to the low-level GPIO driver
...
- fixed doxygen comments
- added GPIO_UNDEFINED value
- added return values to all functions
2014-05-05 21:29:35 +02:00
Oleg Hahm
66712c0af4
Merge pull request #1073 from Kijewski/rtc-sys_time
...
drivers: fix includes in rtc.h for MSP430
2014-04-30 10:29:48 +02:00
René Kijewski
97448be17e
drivers: fix includes in rtc.h for MSP430
...
The comment and the actual guard in `rtc.h` did not match.
If (as in "implication") the MCU is an MSP, then `sys/time.h` must be
included, to have `time_t`, `struct timeval`, …
Including the header file in any case should be safe, so I dropped the
guard altogether.
2014-04-29 01:02:42 +02:00
Kévin Roussel
25236618c3
Proposal for common 802.15.4 radio driver API definition.
2014-04-24 10:05:24 +02:00
René Kijewski
542a2e5d9d
Merge pull request #995 from Kijewski/issue-993
...
Make: exterminate 'clean' buildtarget clutter
2014-04-18 16:11:15 +02:00
Hauke Petersen
6ddd189fb1
drivers: Initial import of low-level ADC driver interface
...
Fixed tons of spelling errors
Fixed typo in ADC_NUMOF macro
drivers: adjustment to low-level adc drvier IF
drivers: added [in|out] to doxygen @param comments
2014-04-10 15:12:31 +02:00
Hauke Petersen
bfad408ce7
drivers: Initial import of low-level UART driver interface
...
Fixed spelling
drivers: remodeled low-level uart driver interface
- added blocking mode of operation
- added UNDEFINED device for compatibility
- changed baudrate type to uint32_t
drivers: added [in|out] to param documentation
2014-04-10 15:06:52 +02:00
Hauke Petersen
324481f1bb
Initial import of low-level timer driver interface
...
Fixed spelling
drivers: adjustments to low-level timer driver IF
drivers: added [in|out] to @param documentation
drivers: fixed doxygen for tim_t typedef
2014-04-10 14:56:04 +02:00
René Kijewski
300d6b3e35
Make: exterminate 'clean' buildtarget
...
Closes #993 .
We do not need to descend into the modules to know what to do on
`make clean BOARD=blub`. We can just invoke `rm -rf bin/blub`.
This PR only keeps the descending into the USEPKGs, since they might
want to delete cached/downloaded/extracted data.
2014-04-09 23:07:52 +02:00
Kévin Roussel
7475f0b1a5
Change year of file copyright
2014-04-09 10:43:34 +02:00
Kévin Roussel
4ed4cc51fb
Fixed implementation of channel_clear() function
2014-04-09 10:38:44 +02:00
Kévin Roussel
7fe9a8db39
Completed CC2420 constants documentation (DOxygen)
2014-04-03 15:52:53 +02:00
Kévin Roussel
6c40108c9c
Added standard way to query CCA status on CC2420 transceiver (squashed)
2014-04-02 17:56:07 +02:00
Martine Lenders
f9d8f1fc75
Merge pull request #798 from Kijewski/usemodule-includes
...
Make: Add include paths automatically for USEMODULES
2014-04-01 17:25:48 +02:00
Ludwig Ortmann
91814e52ae
make: replace MAKEBASE with RIOTBASE
...
closes https://github.com/RIOT-OS/RIOT/issues/959
2014-04-01 16:40:28 +02:00
René Kijewski
de29e4184c
Add include paths automatocally for USEMODULES
...
Application developers use `$(USEMODULES)` in their Makefiles to have
the relevant functionally automagically added to their apps. This even
does basic dependency tracking by means of `Makefile.dep`.
But an important thing is missing: the automatic adding of include
paths. This is inconvenient, error prone, and will hinder the RIOT core
developers in future to change folder structures.
2014-03-29 16:27:55 +01:00
Hauke Petersen
cfc9ef459d
drivers: small fixes for low-level pwm driver IF
...
- added UNDEFINED device for compatability
- adjusted meaning of return values for init and set functions
- overdue spell fix
2014-03-26 17:58:06 +01:00
Hauke Petersen
cd27639ee3
Fixed spelling
2014-03-26 16:58:55 +01:00
Hauke Petersen
e5a8945f03
Initial import of low-level PWM driver interface
2014-03-26 16:58:55 +01:00
Hauke Petersen
4d58a1e626
Fixed spelling errors
2014-03-26 15:49:04 +01:00
Hauke Petersen
d1093fccd9
Initial import of low-level GPIO driver interface
2014-03-26 15:49:04 +01:00
Kévin Roussel
0b4a1342c7
Fixed errors in addresses/PAN setting functions
2014-03-18 10:01:17 +01:00
Kévin Roussel
cf5f9e21de
Fixed an error in CC2420 register read function
2014-03-18 10:01:16 +01:00
Ludwig Ortmann
9b61d95545
make: don't ignore failures in for loops
...
Add `|| exit 1` to all constructs like `@for i in $(DIRS) ; do "$(MAKE)" -C $$i ; done ;`, so that compilation stops on the first error.
2014-03-12 11:09:04 +01:00
Martin Lenders
e11d5c80da
Disable debug output for at86rf231 driver
2014-03-09 08:53:37 +00:00
Oleg Hahm
1b9aadbd48
apply channel mask when setting the channel
2014-03-08 16:13:19 +00:00
Martin Lenders
03975ba003
Make at86rf231_switch_to_rx() public to use with transceiver
2014-02-25 16:03:43 +01:00
Oleg Hahm
8c305a0335
fixed includes for at86rf231
2014-02-24 16:15:23 +01:00
Martin Lenders
e125f97a41
Fix coding conventions in cc2420 driver
2014-02-24 16:15:19 +01:00
Martin Lenders
d51816d2e0
Fix cc2420 driver
2014-02-24 16:14:28 +01:00
Martin Lenders
f28054d844
Fix at86rf231 driver
2014-02-24 16:13:03 +01:00
Christian Mehlis
6578669e46
Merge pull request #718 from Kijewski/issue-693
...
"Exterminate `} else {`"
2014-02-18 12:42:54 +01:00
Christian Mehlis
cb9c5d00de
repace project by application in documentation
2014-02-18 12:28:32 +01:00
René Kijewski
2349d0806e
"Exterminate } else {
"
2014-02-16 23:29:47 +01:00
René Kijewski
4a12c91d95
Fix cc110x vs cc110x_ng problems
2014-02-15 12:48:11 +01:00
René Kijewski
102dc45382
Eliminate findstring in more places
2014-02-14 14:30:16 +01:00
Thomas Eichinger
17b624e0a4
Merge pull request #681 from OlegHahm/at86rf231_fixes
...
at86rf231: fix includes and shell commands
2014-02-12 09:46:13 +01:00
Ludwig Ortmann
4eeeb42c4b
remove hint at non-existent example
2014-02-11 19:02:44 +01:00
Ludwig Ortmann
2525920426
remove trailing whitespace and newlines
2014-02-11 18:45:06 +01:00
Oleg Hahm
f379eefbd8
fix includes and shell commands for at86rf231
2014-02-11 17:15:03 +01:00
Oleg Hahm
41f7ab8c91
Merge pull request #646 from BytesGalore/fix_tranceiver_pid_for_cc110x_ng
...
fix to use only transceiver_pid from transceiver.c
2014-02-11 17:09:24 +01:00
Oleg Hahm
5fed1dc018
Merge pull request #653 from BytesGalore/fix_transceiver_pid_for_cc2420
...
fix to use only transceiver_pid from transceiver.c (cc2420)
2014-02-11 17:07:13 +01:00
Oleg Hahm
60afe059e4
Merge pull request #652 from BytesGalore/fix_transceiver_pid_for_at86rf231
...
fix to use only transceiver_pid from transceiver.c (at86rf231)
2014-02-11 17:05:11 +01:00
Oleg Hahm
30b6c16512
include cc110x.h instead of deprecated interface.h
2014-02-11 13:36:40 +01:00
Martin
742b49eb47
fix made transceiver_pid extern for cc2420
2014-02-10 08:53:53 +01:00
Martin
6bd7576cda
fix made transceiver_pid extern for at86rf231
2014-02-10 08:47:55 +01:00
Martin
476a7d68dc
aligned comment on external thread_pid
2014-02-10 08:43:14 +01:00
Martin
f1a906b5e2
fix to use only transceiver_pid from transceiver.c
2014-02-10 08:34:01 +01:00
Ludwig Ortmann
04b94e0e9a
replace uint16_t with radio_address_t in cc2420
...
adpot includes
2014-02-07 18:56:04 +01:00
Ludwig Ortmann
170bfb8aa5
replace uint16_t with radio_address_t in at86rf231
...
adpot includes
2014-02-07 18:56:04 +01:00
Oleg Hahm
355f6610d5
Merge pull request #482 from OlegHahm/driver_includes
...
Driver includes
2014-02-07 17:21:45 +01:00
Oleg Hahm
70747d8bb4
streamlined driver include pathes
2014-02-05 18:56:47 +01:00
Hauke Petersen
db048999d5
Fixed spelling errors
2014-02-04 18:47:05 +01:00
Hauke Petersen
0bdbeba85e
Initial import of low-level driver doxygen groupdef
2014-02-03 19:50:01 +01:00
Ludwig Ortmann
a3ef45db51
remove native cruft from cc110x_ng Makefile
2014-02-01 14:31:58 +01:00
Martin Lenders
cc1cfcf166
Uncircumvent radio chip's status for IEEE 802.15.4 hardware
...
Currently the cc2420 and at86rf231 hardware addresses (IEEE 802.15.4
short and long) and frequency channel are read only from a global
variable in the driver. This global variable is only set when the
user sets the address/channel though both parameters might be preset
by the hardware. This change lets the driver read this parameters
directly from the hardware.
2014-01-24 13:15:35 +01:00
Martin Lenders
eeee32363e
Fix errors in at86RF231 driver
2014-01-24 13:15:35 +01:00
Christian Mehlis
331bc7e72c
cc1100-csmaca-mac.c: fix usage of timex_t
2014-01-09 16:36:40 +01:00
Christian Mehlis
5e527d418f
cc1100_phy.c: fix usage of timex_t
2014-01-09 16:36:40 +01:00
Oleg Hahm
c7d985d371
removed redundant include pathes from Makefiles
2014-01-05 16:11:08 +01:00
Oleg Hahm
593ee623b6
simplify and unify include pathes
...
additional:
* exporting include path in sys is mandatory for subfolders
* removed duplicate object file in linker call
2014-01-05 16:11:07 +01:00
Oleg Hahm
903ec54a43
making include directives consistent
2013-12-19 15:31:37 +01:00
Oleg Hahm
2cdfc5b585
Merge pull request #382 from OlegHahm/transceiver_return
...
transceiver return signed values for sending
2013-12-18 09:33:32 -08:00
Oleg Hahm
d87d827d88
transceiver return signed values for sending
...
negative values indicate an error value
2013-12-18 18:22:59 +01:00
Hauke Petersen
edcabf7cb6
Fixed a lot of comments by removing tabs and correcting format.
2013-12-16 14:00:33 +01:00
Hauke Petersen
3785fe956b
Fixed doxygen comments, focused on file headers and group definitions
2013-12-16 14:00:24 +01:00
Oleg Hahm
b37b21c22c
use CC1100_NOBYTE consistently (fixing #129 )
2013-12-15 14:09:35 +01:00
f85adf608f
change my email address
...
kaspar.schleiser@fu-berlin.de will be obsoleted soon. Replace it with
kaspar@schleiser.de , which will (hopefully) stay.
2013-12-04 15:09:56 +01:00
Oleg Hahm
9817043ada
Merge pull request #375 from LudwigOrtmann/license_header_fix
...
fix grammar in license header
2013-11-26 10:55:41 -08:00
Ludwig Ortmann
d6c213fb47
fix grammar in license header
2013-11-23 13:11:56 +01:00
Oleg Hahm
1f50d91332
making the pedantic gcc happy
2013-11-23 03:45:26 +01:00
Ludwig Ortmann
c1ea408274
move struct timeval to msp430_types.h
2013-11-19 17:56:05 +01:00
Ludwig Ortmann
3b2b02e99a
enable building chronos board
2013-11-19 17:56:05 +01:00
Ludwig Ortmann
ea672a4537
make sht11 includes adhere to coding conventions
2013-11-14 15:08:32 +01:00