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

1716 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
2a02203067 Complete the definition of low-level radio driver API 2014-05-21 11:41:10 +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
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
Kévin Roussel
6c40108c9c Added standard way to query CCA status on CC2420 transceiver (squashed) 2014-04-02 17:56:07 +02: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
Martin Lenders
03975ba003 Make at86rf231_switch_to_rx() public to use with transceiver 2014-02-25 16:03:43 +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
cb9c5d00de repace project by application in documentation 2014-02-18 12:28:32 +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
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
Oleg Hahm
903ec54a43 making include directives consistent 2013-12-19 15:31:37 +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
Ludwig Ortmann
d6c213fb47 fix grammar in license header 2013-11-23 13:11:56 +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
Christian Mehlis
634a784cd2 add rtc_time function in public header 2013-10-25 11:52:10 +02:00
Zakaria Kasmi
4fb64f8e91 revise error messages and fixed encoding 2013-09-26 23:54:45 +02:00
Zakaria Kasmi
e49318e856 SRF08 driver, new handling of failed sensor initialization. 2013-09-26 23:54:34 +02:00
Zakaria Kasmi
11b34f0f0b SRF08 driver, ranging function supports various modes. 2013-09-26 23:47:49 +02:00
Zakaria Kasmi
8e7b9cd7dd SRF02 driver, new functionality. 2013-09-26 23:47:48 +02:00
Zakaria Kasmi
71cab78275 Driver for the LM75A Digital temperature sensor and thermal watchdog 2013-09-26 23:47:48 +02:00
Zakaria Kasmi
4f4501f09d small changes + coding conventions + updated files descriptions. 2013-09-26 23:47:46 +02:00
Zakaria Kasmi
2c3fce7212 Driver for the SRF08 Ultrasonic Ranger 2013-09-26 23:47:24 +02:00
Zakaria Kasmi
7084bcad22 Driver for the SRF02 Ultrasonic Ranger 2013-09-26 23:47:24 +02:00
Oleg Hahm
6d130a45ac updated license headers
(No code changes!)
2013-08-16 10:20:23 +02:00
Oliver Hahm
e2130fbd47 coding conventions for drivers 2013-06-21 22:36:48 +02:00
Ludwig Ortmann
175300e58c add native cpu doxygen documentation,
also fix and improve some of the existing
2013-03-13 21:56:56 +01:00
Oleg Hahm
2ed63bd5c6 * removed outdated (and probably confusing) FeuerWhere project as an author 2013-03-08 11:30:23 +01:00
Oleg Hahm
2277b366b2 * removed outdated occurrences of (u|µ)kleos and FeuerWare 2013-03-07 20:51:26 +01:00
Oleg Hahm
3791039974 * integrated makefiles
* fixed some prototypes
* restructured sys
2013-02-06 13:20:21 +01:00
Oliver Hahm
b051659d71 [drivers adc]
* added lpc2387 adc driver and generic interface
2012-02-16 22:14:47 +01:00
Oliver Hahm
7b1b145b4f [cpu lpc2387]
* added mci driver

[sys shell]

* added commands for memory card access
2011-12-12 17:50:22 +01:00
Oliver Hahm
3622d83ea9 [board msba2]
* fixed header guards

[drivers ltc4150]
* added joule conversion
2011-03-04 16:46:20 +01:00
Oliver Hahm
4533726214 * introduced energy profiling (yet in a very early state) 2011-01-31 18:25:20 +01:00
9e58c8bcb7 *watch: chronos watch application initial checkin 2010-12-16 18:21:24 +01:00
Oliver Hahm
d499b5d2c8 [cpu/cc430/ drivers/gpioint]
* refactored port interrupt handling
2010-12-15 15:48:50 +01:00
Oliver Hahm
ddcbd10a03 [RTC]
* added a general RTC header
* added RTC support to chronos
2010-12-13 01:29:46 +01:00
Oliver Hahm
1eec8e170e * introduced flashrom driver for msb430
* restructured some files concerning flashrom access
* added some ifdefs to shell commands
2010-12-03 22:22:58 +01:00
Oliver Hahm
75c0962363 * added get_interval function to ltc4150
* fixed date command (problem with leading zeros)
2010-11-09 18:48:45 +01:00
Oleg
ac6d4788eb * added ltc4150 shell command
* cosmetics in ltc4150 driver
2010-11-05 23:43:14 +01:00
Oliver Hahm
3b218ec24a * changed API for rtc
* added drivers directory to doxygen file
* added missing include to sht11 header
* added rtc and sht11 support to default project
* added rtc to auto_init
* added rtc and sht11 support to shell
2010-11-04 18:16:39 +01:00
Oliver Hahm
6198c924e4 * decreased timing for sht11 (as fix for hwtimer_wait issue) 2010-11-04 13:59:57 +01:00
Oliver Hahm
cec06f6b83 * resolved conflict 2010-11-01 17:42:35 +01:00
Oliver Hahm
51e7277473 * removed old reference to clock module from rtc
* added documentation for sht11 and swtimer

Conflicts:

	drivers/include/sht11.h
2010-11-01 17:38:03 +01:00
Oliver Hahm
f38f32f6cc * added support for sht11 for msb-430-common
* fixed some jamfile isssues for msb-430
* fixed arch32 detection for scheduler
* changed sht11 driver to be platform independent
2010-10-29 17:32:03 +02:00
91ae1eb6fd * import from old firekernel repository 2010-09-22 15:10:42 +02:00