Ludwig Ortmann
c8612a055e
cpu/lpc2387: fix unused parameter warning
...
mark 'mode' as unused in pwm_init
2014-07-12 07:56:22 +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
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
09e3ac20f1
cpu: added low-level pwm driver impl for lpc2387
2014-06-11 19:54:11 +02:00
Thomas Eichinger
c70ae14ff0
cleanup licenses to fix #392
2014-05-27 11:54:55 +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
Christian Mehlis
8c63eccb1a
ARM: fix several warnings
2014-04-30 20:39:35 +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
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
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
Oleg Hahm
6c0482b976
Merge pull request #701 from Kijewski/issue-672
...
Use `filter` instead of `findstring`
2014-02-16 12:33:29 +01:00
Christian Mehlis
38529e3296
replace all endless for loops by while
2014-02-14 17:47:33 +01:00
René Kijewski
102dc45382
Eliminate findstring in more places
2014-02-14 14:30:16 +01:00
Ludwig Ortmann
2525920426
remove trailing whitespace and newlines
2014-02-11 18:45:06 +01:00
Martin
22b777300d
added typecasts for the used send/receive buffer pointer buff
2014-02-07 09:26:56 +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
fe575d52df
Merge pull request #364 from OlegHahm/float_stack_sizes
...
added a dedicated stacksize for float printfs
2014-01-09 10:48:38 -08: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
Martin Lenders
69809928d3
Make UART0_BUFSIZE configurable by CPU
2013-12-20 11:10:42 +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
Oleg Hahm
9817043ada
Merge pull request #375 from LudwigOrtmann/license_header_fix
...
fix grammar in license header
2013-11-26 10:55:41 -08: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
Oleg Hahm
1f50d91332
making the pedantic gcc happy
2013-11-23 03:45:26 +01:00
Oleg Hahm
6a1fcaf288
added a dedicated stacksize for float printfs
2013-11-21 20:41:28 +01:00
Christian Mehlis
8264a4aee1
minimize stacksize of the idle thread
2013-09-27 14:11:25 +02:00
Zakaria Kasmi
4fb64f8e91
revise error messages and fixed encoding
2013-09-26 23:54:45 +02:00
Zakaria Kasmi
4f4501f09d
small changes + coding conventions + updated files descriptions.
2013-09-26 23:47:46 +02:00
Oleg Hahm
1acfee5991
Merge pull request #99 from zkasmi/i2c
...
full abstracted i2c driver for LPC2387
2013-09-26 14:41:59 -07:00
Zakaria Kasmi
86818f599b
I2C Driver, Coding conventions
2013-09-17 14:35:23 +02:00
Oleg Hahm
6d130a45ac
updated license headers
...
(No code changes!)
2013-08-16 10:20:23 +02:00
authmillenon
e2c201f2e0
Merge branch 'remove_carriage_returns' of github.com:authmillenon/RIOT into authmillenon-remove_carriage_returns
...
Conflicts:
sys/net/destiny/in.h
sys/net/destiny/socket.h
sys/net/destiny/tcp.h
sys/net/destiny/tcp_hc.c
sys/net/destiny/tcp_hc.h
sys/net/destiny/tcp_timer.c
sys/net/destiny/udp.c
sys/net/destiny/udp.h
2013-08-15 10:30:02 +02:00
authmillenon
a3b754b662
Remove carriage returns
...
Git for windows handles those by itself
2013-08-15 10:17:15 +02:00
Oleg Hahm
3ad55cce8b
changed default stacksize
...
* the default stacksize no longer set for a thread using printf
* the stacksize for the main thread therefore adds the necessary space
2013-08-14 18:04:25 +02:00
Zakaria Kasmi
c7351493b5
full abstracted i2c driver for LPC2387
2013-08-07 16:54:10 +02:00
Oleg Hahm
19e4034ace
Merge branch 'thomas-mc1322x'
...
Conflicts:
Makefile.modules
core/kernel_init.c
core/thread.c
cpu/arm_common/arm_cpu.c
cpu/arm_common/syscalls.c
cpu/lpc_common/hwtimer_cpu.c
cpu/lpc_common/iap.c
sys/include/transceiver.h
sys/net/sixlowpan/sixlowip.c
sys/net/sixlowpan/sixlowmac.c
sys/net/sixlowpan/sixlowmac.h
sys/net/sixlowpan/sixlowpan.c
sys/transceiver/Makefile
sys/transceiver/transceiver.c
2013-07-24 23:22:11 +02:00
Oleg Hahm
ca75d3c36c
fixed some includes
2013-07-24 00:44:28 +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
Oleg Hahm
33423cdadb
redefining default stack sizes dependent on the use of printf
2013-07-23 13:42:58 +02:00
Christian Mehlis
69c526f44d
removed redefined ENABLE_DEBUG
2013-07-16 15:27:19 +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
Thomas Eichinger
3dba62afa6
Merge branch 'mc1322x' of github.com:RIOT-OS/RIOT into mc1322x
2013-04-22 09:56:07 +02:00
Oliver Hahm
3e5f91e728
* add missing sections for arm-none-eabi-gcc to linkerscript for lpc2387
2013-04-15 14:45:39 +02:00