Pham Huu Dang Nhat
f7398f61ff
Changed RIOT/Makefile.include, Makefile.base, Makefile.cflags, and native/Makefile.include to compile C and C++ files.
2014-06-25 22:26:10 +07:00
René Kijewski
91318f5dfa
x86: shutdown on LPM_POWERDOWN
2014-06-24 16:05:19 +02:00
René Kijewski
6ed3cf182b
Merge pull request #1326 from Kijewski/make-parallel-dirs
...
make: refactor make system (parallelism, deduplication)
2014-06-24 15:54:53 +02:00
René Kijewski
ceb8ea2a3f
x86: fix up make term
for x86
...
When qemu-i386 shuts down the instance on its own accord, like in the
hello-world example, then the terminal is broken afterwards.
This PR ensures that the terminal flags are restored on shutdown.
2014-06-23 18:02:16 +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
René Kijewski
c9c1f0d7fe
Merge pull request #1258 from Kijewski/x86-term
...
x86: add proper terminal for qemu-i386
2014-06-23 15:28:27 +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
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
René Kijewski
6a75a14ce5
x86: garbage collect section if not debugging
2014-06-19 12:35:10 +02:00
René Kijewski
a0985e8819
x86: add proper terminal for qemu-i386
...
This includes GNU readline features and debugging.
Build with `make BOARD=qemu-i386 all-debug`.
Run with `make BOARD=qemu-i386 term`.
Debug with `make BOARD=qemu-i386 debug`. The default debugger is `gdb`.
Also supported are `debug-tui` (GDB Text User Interface), `debug-kdbg`,
and `debug-ddd`. Set a breakpoint in e.g. "startup" or "main", and
hit/write "continue".
The debugger can only run with a quite new toolchain (e.g. Debian
testing). Ubuntu 13.10. for example will likely report a crash in GDB
when switching from 16bit code to 32bit code.
2014-06-19 12:35:10 +02:00
Oleg Hahm
0d6e991e52
Merge pull request #1254 from Kijewski/x86-newlib-nicer-patches
...
x86: slightly better debuggable bincode
2014-06-19 00:14:43 +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
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
Ludwig Ortmann
289b63c06f
dist/tools: add license checker
...
Creates file structure that maps files to licenses by grepping for
license patterns (patterns for licenses found in RIOT included).
Sets exit code to 1 if an unknown license header is detected.
2014-06-17 10:17:20 +02:00
Hauke Petersen
942a21d9c4
board - pttu: added periph_conf.h
2014-06-12 13:06:59 +02:00
René Kijewski
1608fd1570
make: remove local definitions of (ELF|HEX)FILE
...
We have sane defaults for `ELFFILE` and `HEXFILE` in the root
`Makefile.include`. The local definition for `ELFFILE` of mbed_lpc1768's
`Makefile.include` was wrong, which caused e.g. `make buildsize` to
fail.
2014-06-12 10:12:49 +02:00
Hauke Petersen
b588d48a63
boards: added periph_conf.h for msba2 and avsextrem
2014-06-11 19:54:21 +02:00
Ludwig Ortmann
dbc36fc2c5
native: add id option
2014-06-06 16:30:54 +02:00
René Kijewski
5f30789c30
x86: Use 'versioning' for precompiled newlib
2014-06-06 15:38:54 +02:00
René Kijewski
ee02a0f654
x86: fix download script for OSX
...
Mac OSX does not have `wget`, but `curl`.
It does not understand `tar xJ`, but `tar xj`.
2014-06-03 22:36:00 +02:00
Ludwig Ortmann
1e5e19bc23
native: set optional path with unix socket option
...
fixes #1045
2014-06-03 16:46:40 +02:00
Thomas Eichinger
c70ae14ff0
cleanup licenses to fix #392
2014-05-27 11:54:55 +02:00
Martin Lenders
2362623490
Fix trailing whitespaces
...
Fixes #1138
2014-05-26 14:54:23 +02:00
Thomas Eichinger
1e983c9670
s/PROJECT/APPLICATION/g
...
fixes #548
2014-05-26 13:21:09 +02:00
René Kijewski
4e4f908379
Initial import of the x86 port
...
Currently this works only in qemu.
2014-05-25 13:40:29 +02:00
Oleg Hahm
4ddc9539fd
documentation: unified descriptive text for boards
2014-05-24 15:03:06 +02:00
Oleg Hahm
4f645ecf36
documentation: fix doxygen group for Z1
2014-05-19 10:45:17 +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
Kévin Roussel
988de6b2cd
Merge pull request #893 from rousselk/z1-port
...
Zolertia Z1 port for RIOT OS
2014-05-16 12:08:56 +02:00
Kévin Roussel
2a3033b3ca
boards/z1: initial import
2014-05-16 11:02:06 +02:00
Ludwig Ortmann
9b47af0b54
Merge pull request #1184 from LudwigOrtmann/native_license_unification
...
Native license unification
2014-05-15 18:36:15 +02:00
Ludwig Ortmann
98bbb80571
documentation: append my email to my name everywhere
2014-05-15 18:07:17 +02:00
Ludwig Ortmann
2c5c177f75
native: unify license headers
2014-05-15 18:07:17 +02:00
Jan S
ba907471f3
fixed printf specifiers
2014-05-15 17:42:57 +02:00
René Kijewski
a68f4f2d75
Merge pull request #1177 from LudwigOrtmann/issue-1118
...
native: initialize maybe uninitialized variable
2014-05-15 14:56:37 +02:00
Hauke Petersen
1c6b021d11
board: Initial import of the UDOO board
...
- fixed comment style and bracketing
- disabled newlib nano, added mac support
- fixed OSX compatibility in Makefile.include
2014-05-15 11:52:54 +02:00
Thomas Eichinger
c6bf3f1ab1
boards: fix license headers to LGPL
...
harmonises license headers in msb-430, msba2-common,
msba2 and wsn430-common
fixes #1160
2014-05-15 09:04:09 +02:00
Ludwig Ortmann
d7b3d21bfe
native: initialize maybe uninitialized variable
...
fixes #1118
2014-05-15 08:54:01 +02:00
René Kijewski
8038e96d09
Merge pull request #1119 from Kijewski/error_old-style-definition
...
Exterminate old-style function definitions
2014-05-14 13:31:30 +02:00
Thomas Eichinger
60b03ab7c1
Merge pull request #1157 from thomaseichinger/fix_licenses
...
mc1322x: redbee-econotag: fix licenses to LGPL
2014-05-14 10:05:17 +02:00
Thomas Eichinger
38f3ea6d78
fix licenses to LGPL fixes #1148
2014-05-14 10:04:34 +02:00
Ludwig Ortmann
4c961bfb6e
native: refactor getpid calls
2014-05-14 09:13:57 +02:00
Hauke Petersen
3cc435c074
board: Initial import of arduino-due
...
- switched to flashing using the programming port
- fixed Makefile.include
- fixes some documentation
- removed newlib nano.specs
- added OSX flashing support
- fixed flasher and port for OSX
- fixed port on OSX
- fixed bossac linux tool
- added license header
2014-05-13 21:20:09 +02:00
Ludwig Ortmann
088b15783b
license: %s/FeuerWare/RIOT/g
2014-05-13 17:10:48 +02:00
René Kijewski
628419eb11
Exterminate old-style function declaration/prototypes
2014-05-12 21:57:09 +02:00
René Kijewski
9a9caf2c68
Exterminate old-style function definitions
2014-05-12 21:57:09 +02:00
Ludwig Ortmann
cffda42f87
make/msba2-common: allow TERMPROG override
2014-05-12 15:44:58 +02:00
f8bbabd201
msba2: add pseudoterm license
2014-05-10 11:02:25 +02:00