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

286 Commits

Author SHA1 Message Date
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