Martine Lenders
53264c7a45
Merge pull request #609 from LudwigOrtmann/transceiver_any
...
anytransceiver pseudomodule
2014-03-24 14:04:02 +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
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
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
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
09bdb56d52
native: fix function prototype to match to api
2014-02-18 16:28:13 +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
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
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
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
e083e9bcb8
configure debug target for native
2014-01-30 11:34:04 +01:00
Ludwig Ortmann
855eea6a53
add missing newlines
2014-01-22 18:26:53 +01:00
Ludwig Ortmann
b6781cdf0f
add native flash and term targets
...
flash does nothing
term starts the project with PORT misused for the tap interface
PORT is unset if nativenet is not used
2014-01-09 12:53:40 +01:00
Oleg Hahm
9df07f9238
muting compiler and binutils optionally
...
Instead of muting all compiler and other binutils output by default,
introduce a variable to make this behaviour configurable.
2014-01-05 16:11:08 +01: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
55f31a4829
simplify include structure for boards
...
* do not overwrite CFLAGS in boards Makefile
2014-01-05 16:11:07 +01:00
Oleg Hahm
1e665b49de
build everything in the project directory
2014-01-05 16:11:07 +01:00
Ludwig Ortmann
cf87e647c0
make native includes RIOT posix compatible
2013-12-22 23:26:54 +01:00
Ludwig Ortmann
77e8cbb112
remove ltc disable race
2013-12-19 17:39:02 +01:00
Ludwig Ortmann
579c1edb04
clean up native ltc
2013-12-19 17:39:02 +01:00
Christian Mehlis
6aec050fc4
initialize id and only remove a valid timer
2013-12-19 17:39:01 +01:00
Christian Mehlis
a38928e5c3
rename variables to match the guidelines (use module prefix)
2013-12-19 17:39:01 +01:00
Christian Mehlis
4be9764f80
removed useless code
2013-12-19 17:39:01 +01:00
Oleg Hahm
903ec54a43
making include directives consistent
2013-12-19 15:31:37 +01:00
Christian Mehlis
d82a5b67db
added missing thread include
2013-12-19 13:06:26 +01:00
Christian Mehlis
e065888cdb
added ENABLE_DEBUG macro
2013-12-19 13:05:49 +01:00
Hauke Petersen
c629229e8d
Added the boards folder to the doxygen tree
...
- added boards to riot.doxyfile
- fixed group definitions for all boards
2013-12-16 14:00:37 +01:00
Christian Mehlis
fc80c22c3c
reduce LTC_TIMER_INTERVAL by the factor of 10 to be more precise
2013-12-10 22:22:33 +01:00
Christian Mehlis
7bc09fdc0f
make LTC_TIMER_INTERVAL a named define
2013-12-10 22:21:51 +01:00
Christian Mehlis
ed4ed963ce
added missing timer remove on the end of the measurement
2013-12-10 22:20:16 +01:00
Ludwig Ortmann
864267f238
daemonization, io socket and file redirection
2013-12-10 17:00:01 +01:00
Ludwig Ortmann
9e87d7a244
fix native board license headers
2013-11-23 13:11:56 +01:00
Ludwig Ortmann
d6c213fb47
fix grammar in license header
2013-11-23 13:11:56 +01:00
Ludwig Ortmann
6d16520387
add -Wextra -pedantic to native CFLAGS
...
it's all about code quality
2013-11-22 10:56:28 +01:00
Ludwig Ortmann
7b9d199ec8
make system calls safer/clean up headers
...
wrap some libc functions that do system calls (terminal output)
wrap read/write with syscall guard
define real_read/write (next dynamic linker find for read/write)
guard system calls in remaining code
introduce native_internhal.h
throw out some debug statements that break things
clean up includes a bit
declare board_init in native_internhal.h
add -ldl to LINKFLAGS for cpu/syscalls
2013-11-13 00:01:42 +01:00
Oleg Hahm
232e205137
moved boards into subdirectory
2013-11-06 10:11:57 -08:00