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

272 Commits

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