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
Ludwig Ortmann
e4e3ef4daf
make/native: remove -gc flag
...
Yields warning on OSX.
Uncertain why it was there in the first place.
Fixes #1125
2014-05-09 12:23:34 +02:00
Hauke Petersen
7545eff784
core/cpu/board: moved F_CPU define to board
2014-05-06 10:36:09 +02:00
René Kijewski
a8064fd97c
Automatically remove dups in $(USEMODULE)
2014-04-29 00:06:19 +02:00
René Kijewski
4c66f72ba3
Merge pull request #1022 from LudwigOrtmann/issue_505
...
native: update support for FreeBSD
2014-04-26 15:51:54 +02:00
Thomas Eichinger
d89faccc78
Merge pull request #1031 from LudwigOrtmann/issue_676
...
redbee-econotag: fix maca
2014-04-24 10:19:22 +02:00
Ludwig Ortmann
b089798bf9
native/make: add missing target
2014-04-22 16:53:08 +02:00
Ludwig Ortmann
42aa3d9f5b
native: update support for FreeBSD
...
works with FreeBSD 10.0 amd64/i386
fixes : #505
2014-04-20 07:31:40 +02:00
Ludwig Ortmann
b22f0e6a09
native/make: set all binutils with ?= instead of =
2014-04-20 07:28:21 +02:00
Ludwig Ortmann
361ad4b338
fix setsvar typo
2014-04-18 16:15:08 +02:00
René Kijewski
542a2e5d9d
Merge pull request #995 from Kijewski/issue-993
...
Make: exterminate 'clean' buildtarget clutter
2014-04-18 16:11:15 +02:00
Ludwig Ortmann
3a1980af36
redbee-econotag: fix maca
...
I suspect that the transceiver will still not work as there are many
many warnings, but at least it builds now.
closes : #676
2014-04-18 16:05:23 +02:00
Oleg Hahm
4797560c09
wsn430-v1_4b: don't always link cc2420
2014-04-10 22:33:33 +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
9f24ae2e62
Merge pull request #946 from Kijewski/native-write
...
native: don't use RIOT read/write in UART
2014-04-09 18:17:09 +02:00
Oleg Hahm
fd7217b173
Merge pull request #915 from rousselk/radio-cca
...
Add a standard way to query CCA status on CC2420 transceiver.
2014-04-09 16:45:20 +02:00
Ludwig Ortmann
b9ffc1a99e
fixup for #710 : use subfolder in bin dirs (native)
...
Update native Makefiles to provide changed object target paths
Fixes #989
2014-04-09 15:25:05 +02:00
Kévin Roussel
7f4c8f8938
Fix for WSN430 1.4 driver
2014-04-09 13:00:00 +02:00
Kévin Roussel
7de076efb2
Fixed error caused by non-inclusion of cc2420_txrx() prototype
2014-04-09 10:33:41 +02:00
René Kijewski
3f59eefbaf
Use subfolders in bin dir
...
Creating all object files in one directory is bound to produce name
clashes. RIOT developers may take care to use unique file names, but
external packages surely don't.
With this change all the objects of a module (e.g. `shell`) will be
created in `bin/$(BOARD)/$(MODULE)`.
I compared the final linker command before and after the change. The
`.o` files (e.g. `startup.o`, `syscall.o` ...) are included in the same
order. Neglecting the changed path name where the `.o` files reside, the
linker command stays exactly the same.
A major problem could be third party boards, because the location of the
`startup.o` needs to the specified now in
`boards/$(BOARD)/Makefile.include`, e.g.
```Makefile
export UNDEF += $(BINDIR)msp430_common/startup.o
```
2014-04-09 00:28:14 +02:00
Oleg Hahm
1e9a43d0f8
Merge pull request #778 from LudwigOrtmann/dependency_files
...
Make: Prepend path to dependency info files with sed
2014-04-08 23:22:21 +02:00
René Kijewski
2749531324
Merge pull request #789 from LudwigOrtmann/native_gprof
...
native profiling tools support
2014-04-05 02:26:15 +02:00
Kévin Roussel
6c40108c9c
Added standard way to query CCA status on CC2420 transceiver (squashed)
2014-04-02 17:56:07 +02:00
Ludwig Ortmann
b2930113ef
remove some newlines
2014-04-01 10:47:12 +02:00
Ludwig Ortmann
a1aa0df9ae
change new/overlooked Makefiles
2014-04-01 10:44:10 +02:00
Kévin Roussel
90ea047546
Fix a typo that provokes many unjustified "cc2420 unexpected IFG" alerts to occur
2014-03-31 15:30:53 +02:00
René Kijewski
0b75a11291
native: don't use RIOT read/write in UART
2014-03-30 22:33:50 +02:00
Martine Lenders
53264c7a45
Merge pull request #609 from LudwigOrtmann/transceiver_any
...
anytransceiver pseudomodule
2014-03-24 14:04:02 +01:00
Ludwig Ortmann
ebac0bd718
make: clean msb-430-common Makefile.include
...
set default values with `?=`
automatically add `PORT` for `PROGRAMMER == uif`
2014-03-20 21:55:13 +01:00
Ludwig Ortmann
8ac4f3332d
core cpu: add defaulttransceiver pseudomodule
...
update examples/default
2014-03-18 10:18:15 +01:00
Ludwig Ortmann
0501fe8980
native: config_load: set PID as id, net address
2014-03-18 08:07:30 +01:00
Ludwig Ortmann
dfd0b43cbe
add variables for gprof, cg_annotate
2014-03-14 12:56:44 +01:00
Ludwig Ortmann
a62559de62
make: streamline native targets
...
The new target names are easier to remember / decipher:
term
term-cachegrind
term-gprof
term-valgrind
all
all-cachegrind
all-gprof
all-valgrind
all-debug
eval-gprof
eval-cachegrind
2014-03-14 12:50:50 +01:00
Ludwig Ortmann
ae898ef9eb
rebase_fixup
2014-03-14 12:50:50 +01:00
Ludwig Ortmann
ad1d8df080
change target name, add cachegrind target
2014-03-14 12:50:50 +01:00
Ludwig Ortmann
8ef02d3b9d
native profiling support
...
only works with Linux for now
2014-03-14 12:50:50 +01: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
Thomas Eichinger
8e7b5a6d88
include needed stdint.h
2014-03-05 17:36:00 +01:00
Martin Lenders
49b1f44b2e
Merge pull request #804 from LudwigOrtmann/native_include_separation
...
native/make: Don't use INCLUDES for building any native at all.
2014-03-03 15:12:56 +01:00
Ludwig Ortmann
459dcd23d2
redbee-econotag: fix Makefiles
...
remove empty unsused Makefile.dep
add board include path to INCLUDES
2014-03-01 13:45:44 +01:00
Ludwig Ortmann
2cd3f04fc6
Don't use INCLUDES for building any native at all.
...
native modules will never need the dynamic INCLUDES, so we define our
own NATIVEINCLUDES. Due to the current make structure, the only way to
not use INCLUDES is to redefine the build rules.
2014-02-27 10:30:30 +01:00
Ludwig Ortmann
ac21f3c54c
make: couple include path and -I
...
This is necessary if includes have to be filtered, such as in native
to throw out RIOTs posix includes which interfere with system
includes.
2014-02-27 08:14:33 +01:00
Oleg Hahm
93e32953b3
always build and initialize hwtimer
...
Eliminates special treatment of the hwtimer module and makes it a
mandatory part of the kernel.
2014-02-24 18:36:28 +01:00
Christian Mehlis
3e980184a8
Merge pull request #748 from authmillenon/fix-possible-null-pointer-errors
...
bughunt: Fix possible null pointer dereference
2014-02-20 21:41:50 +01:00
Martin Lenders
4119e15e6b
Fix possible null pointer dereference
2014-02-20 02:29:33 +01:00
Christian Mehlis
0309fecc19
fix warning: invalid suffix on literal
...
C++11 requires a space between
literal and identifier [-Wliteral-suffix]
2014-02-18 17:05:01 +01:00
Christian Mehlis
09bdb56d52
native: fix function prototype to match to api
2014-02-18 16:28:13 +01:00
Christian Mehlis
6578669e46
Merge pull request #718 from Kijewski/issue-693
...
"Exterminate `} else {`"
2014-02-18 12:42:54 +01:00
Christian Mehlis
cb9c5d00de
repace project by application in documentation
2014-02-18 12:28:32 +01:00
René Kijewski
2349d0806e
"Exterminate } else {
"
2014-02-16 23:29:47 +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
René Kijewski
102dc45382
Eliminate findstring in more places
2014-02-14 14:30:16 +01:00
René Kijewski
caea069bcf
Do not mandate input language
...
An application might want to use C11 features. The user would assume
that setting `CFLAGS=-std=gnu11` in the Makefile would work. It does not
since the board's Makefile.include shadows the `-std` flag.
This patch removes the `-std=gnu99` from the various Makefile.includes,
and sets the flag in the common Makefile.include of RIOT instead.
If an `-std` flag was provided by an earlier Makefile (the application,
the board, or the CPU [whilst only the former one should]), then no
additional flag is set. It is first tested if the supplied compiler
understands `-std=gnu99`, then `-std=c99`.
2014-02-14 00:06:02 +01:00
Christian Mehlis
d794900386
Merge pull request #666 from LudwigOrtmann/native_valgrind_config
...
Native valgrind config
2014-02-12 11:01:34 +01:00
Oleg Hahm
9fbfa3faec
correct cc110x function names
2014-02-12 00:10:15 +01:00
Ludwig Ortmann
336c5159b2
use pkg-config to add valgrind include path
...
makes knowledge of VALGRIND_VALGRIND_H vs. VALGRIND_H optional
2014-02-11 19:22:39 +01:00
Ludwig Ortmann
2525920426
remove trailing whitespace and newlines
2014-02-11 18:45:06 +01:00
Oleg Hahm
9fff3f5b90
Merge pull request #657 from LudwigOrtmann/wsn430-v1_4_Makefiles
...
fix wsn430-v1_4 Makefiles
2014-02-11 17:55:11 +01:00
Ludwig Ortmann
d40b6ac5b1
native+osx makefile cleanup
...
* add missing $(AD) to osx $(LINK) invocation
* move osx build determination to native makefile
* move old libc test to native makefile
* set objcopy to "true" - it is superfluous for native no matter what the system is
* add some documentation to natives makefile
2014-02-10 12:25:47 +01:00
Ludwig Ortmann
f09f30c94d
fix wsn430-v1_4 Makefiles
2014-02-07 21:20:35 +01:00
Oleg Hahm
02341bc79a
removed no longer needed include path
2014-02-07 17:06:50 +01:00
Oleg Hahm
26ca054abd
moved board dependent cc110x stub
2014-02-05 18:57:54 +01:00
Oleg Hahm
70747d8bb4
streamlined driver include pathes
2014-02-05 18:56:47 +01:00
Martin Lenders
7035a6d194
Merge pull request #601 from LudwigOrtmann/valgrind_target
...
valgrind target for native
2014-02-04 04:12:07 -08:00
Oleg Hahm
fb423e2c48
Merge pull request #606 from OlegHahm/license_issues
...
added license headers and doxygen file information
2014-02-04 03:01:23 -08:00
Oleg Hahm
d9c31a01e5
addressed comments from @mehlis
2014-02-03 00:47:38 +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
Ludwig Ortmann
0ee91da42f
valgrind target
2014-02-01 13:56:21 +01:00
Ludwig Ortmann
94ac6ddbd2
refactor and clean up native Makefile
2014-02-01 13:56:17 +01:00
Ludwig Ortmann
b58aa87572
add mbed_lpc1768 hwtimer stub
...
closes #586
2014-02-01 10:26:11 +01:00
Ludwig Ortmann
e63ece0c18
add obj/*.d to clean target
2014-01-31 17:08:29 +01:00