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

562 Commits

Author SHA1 Message Date
Hauke Petersen
c5c860f435 cpu: Initial import of stm32f3 2014-07-31 19:38:26 +02:00
Ludwig Ortmann
3d6124c905 native: reenable compilation on osx 2014-07-30 10:23:28 +02:00
Ludwig Ortmann
b3b6cff587 doc: some more author fixes
fix all occurences of INRIA as an author
correct Oliver Hahms authorship and indentation
2014-07-29 18:17:48 +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
13bd2a2b3b native: increase rtc realism
Prevent rtc enabling when not initialized.
2014-07-28 09:36:53 +02:00
Ludwig Ortmann
3cda0369cb native: cleanup
fix style
fix some syscall declarations
reorder syscall declarations
init syscalls in dedicated function
substitute 1 with EXIT_FAILURE
2014-07-27 15:16:38 +02:00
Ludwig Ortmann
c6bcc344ca native: uart reconnect buffer replay
When using socket stdio, add option to replay what has been written to
stdout while not connected (`-r`).

The implementation is to simply use the existing log file (which is
implicitly created when the option is used), and read from it until
EOF upon reconnect.

closes #476
2014-07-27 15:16:38 +02:00
Ludwig Ortmann
bea563d1da Fix a few cppcheck findings 2014-07-25 08:17:06 +02:00
Ludwig Ortmann
2aa9f6b045 native: clean up and clarify help
- reorder option details to mirror the order given in usage
- list option arguments in option details
- clarify option arguments
2014-07-22 16:25:00 +02:00
Hauke Petersen
29e70c14d6 cpu: Initial import of cortex-m4_common 2014-07-16 17:20:50 +02:00
Hauke Petersen
2fa9b4de82 cpu: Initial import of stm32f4 2014-07-16 17:20:46 +02:00
Hauke Petersen
7904af1ac5 cpu: Initial import of stm32f0 2014-07-16 15:21:28 +02:00
Hauke Petersen
8169e9276b cpu: Initial import of cortex-m0_common 2014-07-16 15:21:23 +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
a0c435458e Merge pull request #1410 from LudwigOrtmann/issue-787
native: enable reboot with tap
2014-07-14 00:33:03 +02:00
Ludwig Ortmann
aaaccf9d87 native: enable reboot with tap
partially fixes #787
2014-07-13 16:40:32 +02:00
Ludwig Ortmann
df36f6304a native: remove stale TODOs and blank line
The values are quite OK.
2014-07-13 07:24:01 +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
9001e0c2fb core: removed duplicated hwtimer_arch.h 2014-07-09 21:08:13 +02:00
René Kijewski
ba1a15535b core: remove extra thread_create_arg() function 2014-07-09 10:28:23 +02:00
René Kijewski
867246a09f Add argument to thread_create 2014-07-09 10:07:54 +02:00
René Kijewski
54047c72d3 native: override INCLUDES w/ NATIVEINCLUDES
Currrently native overrides the object file targets, because it needs
the different include paths to interact with libc and the OS.

This PR simplifies their makefiles to only override the variable
INCLUDES, instead of overriding the targets.
2014-07-07 23:09:14 +02:00
Ludwig Ortmann
34c2283d5e Merge pull request #1351 from LudwigOrtmann/native_hwtimer
native: implement hwtimer removal
2014-07-07 11:01:48 +02:00
Oleg Hahm
451cc61965 Merge pull request #1187 from Kijewski/mbed_lpc1768-makefile-cleanup
lpc1768: cleanup Makefile
2014-07-03 16:27:59 +02:00
Hauke Petersen
10d2879dc5 Merge pull request #1358 from haukepetersen/fix_sam3x_vtimer
cpu - sam3x8e: fixed vtimer, added timer_set_absolute
2014-07-03 16:21:36 +02:00
Thomas Eichinger
d56e90a3f0 Merge pull request #1357 from haukepetersen/fix_cortexm3_threading
cpu: cortex-m3_common: cleanup thread_arch.c
2014-07-02 16:54:33 +02:00
Hauke Petersen
306d97d488 cpu - sam3x8e: fixed vtimer, added timer_set_absolute 2014-07-02 12:41:54 +02:00
René Kijewski
63dd8546af Merge pull request #1335 from Kijewski/fix-all-warnings-for-native-and-qemu-i386
Fix all warnings for native and qemu-i386
2014-07-02 10:58:48 +02:00
Hauke Petersen
264634e90d cpu cortex-m3_common: cleanup thread_arch.c 2014-07-01 23:08:30 +02:00
Oleg Hahm
44e5d8cfd0 nativenet: change max packet size to 127
Real IEEE 802.15.4 transceivers have a payload of 127. Hence, for
testing - particular 6lowpan - it would make sense to have the same
limitation in nativenet. Especially to test fragmentation this is
helpful.
2014-07-01 18:31:40 +02:00
Ludwig Ortmann
6567de634f native: implement hwtimer removal 2014-06-30 11:25:05 +02:00
Oleg Hahm
1ab4ab39be Merge pull request #1348 from SGSSGene/bugfix_writetorom
msp430: fix writing more than one byte to flash
2014-06-26 10:39:50 +02:00
Simon Gene Gottlieb
b8ef2b90b6 bugfix: msp430 can write now more then one byte to flash 2014-06-25 20:53:32 +02:00
René Kijewski
3063e3c2b1 Fix all warnings for native and qemu-i386
Missing returns, unused variables (only used for debugging), empty
translation units, missing function prototypes, and GNU extensions.
2014-06-24 16:50:32 +02:00
René Kijewski
2ae0c1b149 make: use abspath for better error messages 2014-06-23 15:50:10 +02:00
René Kijewski
a9a76cb2c2 make: create dependencies as side effect 2014-06-23 15:50:10 +02:00
Oleg Hahm
fde1c106ab Merge pull request #1259 from Kijewski/x86-heap-check
x86: add read-before-write check at runtime
2014-06-23 00:12:03 +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
17d89cee7e lpc1768: cleanup Makefile
`cpu/lpc1768/Makefile` contains many lines that don't belong into this
file, but the maybe `Makefile.include`. Either way, this Makefile is
never called with these goals.
2014-06-21 01:17:09 +02:00
Ludwig Ortmann
741d9beeb0 Merge pull request #1332 from Kijewski/native-fix-warnings-in-default
native: remove some warnings about undef functions
2014-06-19 17:28:16 +02:00
Martine Lenders
6d1365c5d8 Merge pull request #1324 from Kijewski/make-automatic-module-name
make: much less clutter for "standard layout" modules
2014-06-18 23:52:49 +02:00
René Kijewski
2f871ca885 native: remove some warnings about undef functions
This PR implements `real_X` for `X in (fork, dup2, unlink, execve)`.
These function caused warnings while making the default example.
2014-06-18 20:34:12 +02:00
Hauke Petersen
407e36ec5f cpu - cortex-m3: moved crash.c to cortex-m3_common 2014-06-18 11:49:45 +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
René Kijewski
2e9a1773e9 native: use real_pipe() and read_close() 2014-06-14 00:39:02 +02:00
Hauke Petersen
09e3ac20f1 cpu: added low-level pwm driver impl for lpc2387 2014-06-11 19:54:11 +02:00
Thomas Eichinger
b4fceaca89 Merge pull request #1313 from thomaseichinger/cortexm_crash
cpu:cortex_common: add core_panic function
2014-06-11 15:02:46 +02:00
Thomas Eichinger
3639ae9b25 cpu:cortex_common: add core_panic function 2014-06-11 14:43:02 +02:00
Hauke Petersen
ebb496cc26 cpu: renamed cortexm_common->cortex-m3_common and cleanup 2014-06-11 00:24:10 +02:00