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

247 Commits

Author SHA1 Message Date
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
Oleg Hahm
8890470783 Merge pull request #1514 from cgundogan/remove_tabs_cpu
converting tabs to spaces in cpu (#1439)
2014-07-31 22:58:17 +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
Ludwig Ortmann
3ca4f18479 doc: use lgplv2.1-short license header instead of lgpl-short-riot 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
Ludwig Ortmann
249b3085cd lpc2387: change comment style for license checker 2014-07-31 18:58:06 +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
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
Oliver Hahm
c39fd9d8dc * minor changes 2013-04-09 23:30:52 +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
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
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
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
55bb484b22 [cpu arm_common]
* added usb ram as heap3
* some feuerware merge adaptation

[projects test_suite]

* fixed some test scripts
2012-11-08 11:37:29 -05:00
Oliver Hahm
e49a17f4f7 Merge branch 'feuerware-integration' 2012-11-07 15:25:25 -05:00
Oliver Hahm
92281753ad Merge branch 'stable'
Conflicts:
	core/sched.c
	sys/auto_init.c
2012-11-05 19:15:57 -05:00
Oliver Hahm
a20088f6e8 [core sched]
* fixed thread_getlastpid()
* enable interrupts again in thread_sleep() to avoid getting stuck w/
    disabled interrupts

[cpu lpc2387]
* added hwtimer as dependency for MCI driver

[project test_*]

* fixed some expect scripts
2012-11-01 13:18:17 +01:00
Oliver Hahm
918a31cf8c [core hwtimer] [cpu arm]
* adapted core and arm cpu
2012-03-08 18:58:39 +01:00
Oliver Hahm
b051659d71 [drivers adc]
* added lpc2387 adc driver and generic interface
2012-02-16 22:14:47 +01:00
Oliver Hahm
2af5835d21 [cpu arm_common + tools toolchains]
* updated newlib and gcc
* removed unnecessary compiler flags for soft-float and VFP

[cpu lpc2387]

* fixed broken Jamfile
2012-01-04 17:46:28 +01:00
Oliver Hahm
c3d24e2057 core/ 2011-12-28 11:37:05 +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
1213b0a4fe * changed file endings from dos to unix
* assigned ctors and dtors sections to ram region
2011-08-31 10:49:26 +02:00
Oliver Hahm
ecec50e905 [cpu lpc3487]
* removed unnecessary from linkerscript
2011-06-27 09:41:56 +02:00
Oliver Hahm
15d27d8244 * Wiselib update for the linekrscript
* some minor changes in vtimer
2011-06-24 18:54:20 +02:00
Stephan Zeisberg
5abef6daf2 changed types irq_callback, hashtable, posix_io, s_display_flags, seq_buffer_entry, tcb, toprint to type_t" 2011-03-08 11:43:21 +01:00
Oliver Hahm
4533726214 * introduced energy profiling (yet in a very early state) 2011-01-31 18:25:20 +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
fb1cb91c75 [board/msp-430-common board/msba2 core/]
* introduced dummy function for msp-430 config-save
* moved sysconfig from board to core

[sys/transceiver cpu/]
* moved some buffer size defines to cpu dependent parts

* some cleanups
2010-12-03 18:42:03 +01:00
Oliver Hahm
a46cdf189a * introduced identifiers (include shell commands to get and set)
* introduced a system wide configuration
2010-12-01 16:26:48 +01:00
Oliver Hahm
5ebbd2c92e [cpu/arm_common cpu/lpc2387]
* added a iap driver
2010-11-29 19:19:59 +01:00
Oliver Hahm
14e2a4718f * changed rtc interface 2010-11-17 17:20:40 +01:00
Oliver Hahm
3b9e9befa9 * some cosmetics and lpm flags for UART 2010-11-08 21:39:30 +01:00
Oleg
88c0ec84ee * added set offset shell command for sht11
* introduced command separator for pyterm
* some cosmetics
2010-11-07 23:18:41 +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
88d3421ee7 * missing part of last commit 2010-11-01 17:38:23 +01:00
Oliver Hahm
fb4069078b * removed old reference to clock module from rtc
* added documentation for sht11 and swtimer
2010-10-28 15:28:34 +02:00
1e238e4131 * massive name changes 2010-10-28 11:29:03 +02:00
57dc520af9 * change default lpc2387 stacksize to 4500 bytes 2010-10-25 15:31:02 +02:00
91ae1eb6fd * import from old firekernel repository 2010-09-22 15:10:42 +02:00