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