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

92 Commits

Author SHA1 Message Date
Joakim Nohlgård
77fbe188e7 cpu/cc430: Update to match timer_init API change 2016-02-13 21:29:36 +01:00
Joakim Nohlgård
cbaeccdb90 periph/timer: Drop timer_reset 2015-10-17 20:11:03 +02:00
Hauke Petersen
b49eb93249 cpu/cc430: timer: s/TIMER_DEV/TIMER_BASE/ 2015-09-17 13:57:58 +02:00
a22f0a3c78 cpu: msp430*: remove obsolete hwtimer_compat dependency 2015-09-16 10:58:54 +02:00
832539fc88 cpu: cc430: remove hwtimer support, switch gpioint to xtimer 2015-09-16 10:58:53 +02:00
87d2596819 cpu: cc430: make adc use xtimer 2015-09-16 10:58:53 +02:00
Hauke Petersen
335ec926de cpu/cc430: added peripheral timer implementation 2015-09-02 17:10:27 +02:00
Hauke Petersen
69e83bbab3 cpu: removed hwtimer code from msp430 CPUs 2015-09-02 17:10:27 +02:00
Hauke Petersen
0cdda8bad6 boards/chronos: fixed after removing legacy header 2015-09-02 17:10:27 +02:00
723d0b2479 remove legacy board specific cc110x code 2015-08-06 12:13:19 +02:00
Hauke Petersen
3ec9c7b2cb cpu/cc430: fixed missing include in adc driver 2015-07-14 16:15:13 +02:00
Joakim Gebart
d8e9b62c75 cpu/cc430/flashrom.c: Fix warning about unused static function by declaring inline 2015-07-14 08:11:14 +02:00
Joakim Gebart
84bf05a0bd cpu/cc430: fix unused-but-set-variable 2015-07-14 08:11:14 +02:00
Joakim Gebart
13832d8e62 everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
Ludwig Ortmann
cf637942cc *: add missing blank lines
Some functions had no blank lines to separate them from their
neighborhood.
2015-03-21 16:34:59 +01:00
Kévin Roussel
25ac0db606 Robust use of TimerA for 'hwtimer' module 2014-12-19 10:53:12 +01:00
Kévin Roussel
d101b30dd8 Make hwtimer_spin() work even with interrupts disabled
by using only 16 significative bits on MSP430 hardware timers
2014-12-17 12:21:07 +01:00
Oleg Hahm
60cd0d357d periph_rtc: streamline lpc2387 and cc430 naming 2014-12-16 17:02:44 +01:00
Oleg Hahm
498edb1854 cc430: lpc2387: switch to new periph/rtc interface
Removes the old interface.
2014-12-16 17:02:44 +01:00
BytesGalore
a4d2ee307c cpu: added extern "C" to headers 2014-11-24 19:10:15 +01:00
Hinnerk van Bruinehsen
ec98c85a05 lint: fix unusedVariable warnings
SQUASH ME: into unusedVariable (annotated)

SQUASH ME: into unusedVariable (II)

SQUASH ME: into unreadVariable (II)
2014-10-31 01:24:29 +01:00
Fabian Nack
07fff37efe drivers - cc110x_ng: rename ng driver to legacy 2014-10-24 09:55:31 +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
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
Oleg Hahm
aa2ecf6216 initialize kernel_pid_t correctly 2014-08-07 16:31:27 +02:00
Ludwig Ortmann
1df6505db9 boards/cpu: fix some warnings 2014-08-05 18:52:26 +02:00
Ludwig Ortmann
c883c33d83 doc: fix flashrom doxygen 2014-08-05 18:52:26 +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
Ludwig Ortmann
d55da67fb6 Merge pull request #1329 from LudwigOrtmann/riot_license
RIOT default license header change
2014-07-31 23:12:47 +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
c40b281873 doc: use lgplv2.1-short license header instead of lgplv2-short-v3 2014-07-31 22:57:20 +02:00
Cenk Gündoğan
3989945679 converting tabs to spaces in cpu (#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:46:28 +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
Hauke Petersen
9001e0c2fb core: removed duplicated hwtimer_arch.h 2014-07-09 21:08:13 +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
Oleg Hahm
ef4fe6616c documentation: unified descriptive text for cpu 2014-05-24 15:56:57 +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
2793426c89 msp430: Fix variable usage in cc430-rtc.c
Closes #967.
2014-04-29 00:04:38 +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
b6fbe33539 Handle race conditions preventing timers to be set correctly on MSP430 MCUs
when the counter is incrementing and/or overflowing
2014-04-09 10:28:39 +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
Oleg Hahm
c8bf4efbb4 msp430: cc430: handle hwtimer interrupts correctly
TAIFG should count the overflows, instead of using the first CCR for this purpose.
Without this commit ARCH_MAXTIMERS returns the wrong number as
effectively one timer less can be used.

Additional fixed comment style and added timer debug.
2014-03-26 15:00:51 +01:00
Hauke Petersen
8a937e1a1c hwtimer: clean up of interfaces to board/cpu 2014-03-26 13:19:18 +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
Ludwig Ortmann
2525920426 remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
Oleg Hahm
70747d8bb4 streamlined driver include pathes 2014-02-05 18:56:47 +01:00
Oleg Hahm
d9c31a01e5 addressed comments from @mehlis 2014-02-03 00:47:38 +01:00
Oleg Hahm
4bc6dfbf69 added license headers and doxygen file information
plus replaced tabs with spaces
2014-02-02 22:22:03 +01:00
Oleg Hahm
02612ff0ca further Makefile cleanup 2014-01-05 16:11:08 +01:00