Commit Graph

560 Commits (e5613d308a0461f9abbfd453ff93665e8e51eea3)

Author SHA1 Message Date
Ludwig Ortmann b3b6cff587 doc: some more author fixes
fix all occurences of INRIA as an author
correct Oliver Hahms authorship and indentation
9 years ago
Ludwig Ortmann b6846e31fc doc: fix most occurences of FU as an author
.. but only if there are other authors as well
9 years ago
Ludwig Ortmann 13bd2a2b3b native: increase rtc realism
Prevent rtc enabling when not initialized.
9 years ago
Ludwig Ortmann 3cda0369cb native: cleanup
fix style
fix some syscall declarations
reorder syscall declarations
init syscalls in dedicated function
substitute 1 with EXIT_FAILURE
9 years ago
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
9 years ago
Ludwig Ortmann bea563d1da Fix a few cppcheck findings 9 years ago
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
9 years ago
Hauke Petersen 29e70c14d6 cpu: Initial import of cortex-m4_common 9 years ago
Hauke Petersen 2fa9b4de82 cpu: Initial import of stm32f4 9 years ago
Hauke Petersen 7904af1ac5 cpu: Initial import of stm32f0 9 years ago
Hauke Petersen 8169e9276b cpu: Initial import of cortex-m0_common 9 years ago
Simon Gene Gottlieb 519ed7163c board/flash: changing flashrom_write signature
→ changing all flashrom_write() function to the same signature
	→ adding const keyword to signature
9 years ago
René Kijewski a0c435458e Merge pull request #1410 from LudwigOrtmann/issue-787
native: enable reboot with tap
9 years ago
Ludwig Ortmann aaaccf9d87 native: enable reboot with tap
partially fixes #787
9 years ago
Ludwig Ortmann df36f6304a native: remove stale TODOs and blank line
The values are quite OK.
9 years ago
Ludwig Ortmann c8612a055e cpu/lpc2387: fix unused parameter warning
mark 'mode' as unused in pwm_init
9 years ago
Hauke Petersen 9001e0c2fb core: removed duplicated hwtimer_arch.h 9 years ago
René Kijewski ba1a15535b core: remove extra thread_create_arg() function 9 years ago
René Kijewski 867246a09f Add argument to thread_create 9 years ago
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.
9 years ago
Ludwig Ortmann 34c2283d5e Merge pull request #1351 from LudwigOrtmann/native_hwtimer
native: implement hwtimer removal
9 years ago
Oleg Hahm 451cc61965 Merge pull request #1187 from Kijewski/mbed_lpc1768-makefile-cleanup
lpc1768: cleanup Makefile
9 years ago
Hauke Petersen 10d2879dc5 Merge pull request #1358 from haukepetersen/fix_sam3x_vtimer
cpu - sam3x8e: fixed vtimer, added timer_set_absolute
9 years ago
Thomas Eichinger d56e90a3f0 Merge pull request #1357 from haukepetersen/fix_cortexm3_threading
cpu: cortex-m3_common: cleanup thread_arch.c
9 years ago
Hauke Petersen 306d97d488 cpu - sam3x8e: fixed vtimer, added timer_set_absolute 9 years ago
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
9 years ago
Hauke Petersen 264634e90d cpu cortex-m3_common: cleanup thread_arch.c 9 years ago
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.
9 years ago
Ludwig Ortmann 6567de634f native: implement hwtimer removal 9 years ago
Oleg Hahm 1ab4ab39be Merge pull request #1348 from SGSSGene/bugfix_writetorom
msp430: fix writing more than one byte to flash
9 years ago
Simon Gene Gottlieb b8ef2b90b6 bugfix: msp430 can write now more then one byte to flash 9 years ago
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.
9 years ago
René Kijewski 2ae0c1b149 make: use abspath for better error messages 9 years ago
René Kijewski a9a76cb2c2 make: create dependencies as side effect 9 years ago
Oleg Hahm fde1c106ab Merge pull request #1259 from Kijewski/x86-heap-check
x86: add read-before-write check at runtime
9 years ago
Hauke Petersen 749d6a7446 Merge pull request #1318 from haukepetersen/msba2_pwm
cpu: added low-level PWM driver for the lpc2387
9 years ago
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.
9 years ago
Ludwig Ortmann 741d9beeb0 Merge pull request #1332 from Kijewski/native-fix-warnings-in-default
native: remove some warnings about undef functions
9 years ago
Martine Lenders 6d1365c5d8 Merge pull request #1324 from Kijewski/make-automatic-module-name
make: much less clutter for "standard layout" modules
9 years ago
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.
9 years ago
Hauke Petersen 407e36ec5f cpu - cortex-m3: moved crash.c to cortex-m3_common 9 years ago
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`.
9 years ago
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.
9 years ago
René Kijewski 2e9a1773e9 native: use `real_pipe()` and `read_close()` 9 years ago
Hauke Petersen 09e3ac20f1 cpu: added low-level pwm driver impl for lpc2387 9 years ago
Thomas Eichinger b4fceaca89 Merge pull request #1313 from thomaseichinger/cortexm_crash
cpu:cortex_common: add core_panic function
9 years ago
Thomas Eichinger 3639ae9b25 cpu:cortex_common: add core_panic function 9 years ago
Hauke Petersen ebb496cc26 cpu: renamed cortexm_common->cortex-m3_common and cleanup 9 years ago
René Kijewski ce428a8937 Merge pull request #1292 from Kijewski/issue-1288
core/cortex-m: add missing NORETURNs to thread_arch
9 years ago
Ludwig Ortmann dbc36fc2c5 native: add id option 9 years ago