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

57 Commits

Author SHA1 Message Date
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
Oleg Hahm
c7d985d371 removed redundant include pathes from Makefiles 2014-01-05 16:11:08 +01:00
Oleg Hahm
26c50522d5 simplified and unified cpu build structure 2014-01-05 16:11:07 +01:00
Oleg Hahm
903ec54a43 making include directives consistent 2013-12-19 15:31:37 +01:00
Kévin Roussel
c1f8106138 Quoted (instead of brackets) the custom header files #includes 2013-12-19 10:22:44 +01:00
Kévin Roussel
c6e43adb62 Removed 'flashrom.c' from the 'msp430-common' directory
since flash management differs with the MSP430 family
2013-12-18 10:51:46 +01:00
Kévin Roussel
63d78a231c Made the headers of files in 'cpu/msp430x16x' and 'cpu/cc430' generic 2013-12-18 10:49:23 +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
926c1d3da0 GNU Lesser General Public License -> LGPLv2 2013-11-23 13:43:47 +01:00
Ludwig Ortmann
d6c213fb47 fix grammar in license header 2013-11-23 13:11:56 +01:00
Ludwig Ortmann
3b2b02e99a enable building chronos board 2013-11-19 17:56:05 +01:00
Ludwig Ortmann
f7a1edeb2c fix and clean up some board Makefiles
enables building wsn430-v1_3b and wsn430-v1_4
fixes some but not all chronos building issues
2013-11-19 17:56:05 +01:00
Oleg Hahm
cc45909ffc Merge pull request #236 from OlegHahm/telosb
Telosb
2013-11-14 01:55:47 -08:00
Oleg Hahm
46deefe0f8 make Makefiles proof for spaces in $PATH 2013-10-09 15:28:53 +02:00
Kévin Roussel
49c8c419bf Updated the MSP430 hwtimer implementation, to cope with the lack of consistency
of of TI with the TimerX register names.
2013-10-09 15:10:22 +02:00
Oleg Hahm
599e266b55 Revert "removed redefined ENABLE_DEBUG"
This reverts commit 69c526f44d.

Instead of removing ENABLE_DEBUG, define it as zero and replacing the
ifdef preprocessor commands by a simple #if
2013-07-24 00:38:43 +02:00
Oliver Hahm
c8bee9e554 fixed coding style (space after most keywords) 2013-06-24 22:37:35 +02:00
Oliver Hahm
5d70656343 fixed coding conventions (mostly by astyle) 2013-06-21 03:52:57 +02:00
Oliver Hahm
0d6d8390c0 * updated copyright and license headers in various files 2013-06-18 17:21:38 +02:00
mikoff
4f638eb887 All files, which used by chronos board were edited according to new texas instruments headers, all warnings fixed 2013-03-30 21:44:16 +01: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
Oliver Hahm
0d06e1bc18 Merge branch 'master' of github.com:RIOT-OS/RIOT 2013-03-10 16:46:46 +01:00
Oliver Hahm
7a4dec1830 * replaced new Makefile name in Makefiles 2013-03-09 23:47:21 +01:00
Oliver Hahm
5ffe5a9c27 * renamed makefiles to Makefile 2013-03-09 23:45:56 +01:00
Oleg Hahm
2277b366b2 * removed outdated occurrences of (u|µ)kleos and FeuerWare 2013-03-07 20:51:26 +01:00
Oleg Hahm
d31ee82518 * removed legacy projects folder and Jamfiles 2013-02-27 19:08:16 +01:00
Oleg Hahm
5df0bd0cc4 * updated and integrated makefiles
* added some auto dependencies
2013-02-08 17:37:02 +01:00
Oleg Hahm
3791039974 * integrated makefiles
* fixed some prototypes
* restructured sys
2013-02-06 13:20:21 +01:00
Oliver Hahm
4433b5cf5b [cpu cc430 gpioint]
* some improvements to the debouncing
2012-11-05 18:43:03 -05:00
Oliver Hahm
96206b10a1 Merge branch 'master' of ssh://ukleos.des-mesh.net/home/git/ukleos 2011-03-25 11:42:33 +01:00
Oliver Hahm
bc23a41a30 * some changes to chronos (not yet finished) 2011-03-18 15:59:50 +01:00
Stephan Zeisberg
6a96de0d2f changed msg to msg_t 2011-03-08 10:54:40 +01:00
Oliver Hahm
be71c14f04 [cpu/cc430]
* added adc driver for cc430
2010-12-17 13:20:29 +01:00
9e58c8bcb7 *watch: chronos watch application initial checkin 2010-12-16 18:21:24 +01:00
Oliver Hahm
b416fef56b [cpu/cc430]
* fixed debouncing for gpioint
2010-12-16 18:09:40 +01:00