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
Ludwig Ortmann
6fda735302
remove cruft from obj dir, add gitignore
2014-01-31 17:08:29 +01:00
Ludwig Ortmann
54cf33ff70
set lpc2k_pgm return value
...
fixes the build not failing when flashing fails
2014-01-31 17:08:29 +01:00
Ludwig Ortmann
e083e9bcb8
configure debug target for native
2014-01-30 11:34:04 +01:00
fbcbd7ff1f
Merge pull request #574 from kaspar030/kaspar_email_change_2
...
update Kaspar's email address
2014-01-29 05:39:57 -08:00
56ee585c81
update Kaspar's email address
...
kaspar.schleiser@fu-berlin.de is obsolete.
(2nd try, first try was overwritten by some overzealous documenter)
2014-01-28 11:53:19 +01:00
Oleg Hahm
e17666c326
added the missing define for radio_packet_length_t on econotag
2014-01-23 15:47:53 +01:00
Ludwig Ortmann
855eea6a53
add missing newlines
2014-01-22 18:26:53 +01:00
Oleg Hahm
0a3bb76386
Merge pull request #537 from thomaseichinger/telosb-fix-cpu-speed
...
fixes bug in telosb board.h introduced by PR #459
2014-01-21 06:24:42 -08:00
Thomas Eichinger
2ce6f8ddbb
fixes bug in telosb board.h introduced by PR #459
2014-01-21 15:01:05 +01:00
Oleg Hahm
55d8cb5ced
fixed support for pttu board
2014-01-20 19:39:00 +01:00
Oleg Hahm
717cab33ae
moved pllfeed inline function to header
...
Also removed useless copyright header.
2014-01-20 19:38:01 +01:00
Oleg Hahm
1018d801ef
removing unsupported board olimix_lpc2148
2014-01-20 19:23:18 +01:00
Oleg Hahm
683a078515
Merge pull request #494 from OlegHahm/uniq_obj_file_names
...
prefixing application object files to avoid dups
2014-01-17 04:44:57 -08:00
Oleg Hahm
f476da6ff5
remove duplicate LICENSE in boards directory
2014-01-17 11:54:31 +01:00
Oleg Hahm
6cf0c34210
removed pointer to RIOT repository from README
2014-01-17 11:54:31 +01:00
Oleg Hahm
9eebc532ef
Merge pull request #459 from rousselk/msp430-lpm-freq
...
Msp430 lpm freq
2014-01-16 04:57:27 -08:00
Oleg Hahm
4ac82bd5f8
changed duplicate file name for wsn430 uart0.c
2014-01-14 17:53:03 +01:00
Christian Mehlis
c26a3c0e41
Merge pull request #483 from mehlis/master
...
fix some findings by the static analyser
2014-01-09 13:30:45 -08: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
Christian Mehlis
8bcb099384
fix some findings by the static analyser
2014-01-08 17:01:22 +01:00
Oleg Hahm
b34e14945d
fixed include path for mbed board
2014-01-05 16:11:08 +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
c48b34f540
use proper variables in board Makefiles
2014-01-05 16:11:08 +01:00
Oleg Hahm
02612ff0ca
further Makefile cleanup
2014-01-05 16:11:08 +01:00
Oleg Hahm
f8e349f76e
removed superfluous slash after BINDIR
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
1de1b2f91d
correct filename
2014-01-05 16:11:07 +01:00
Oleg Hahm
593ee623b6
simplify and unify include pathes
...
additional:
* exporting include path in sys is mandatory for subfolders
* removed duplicate object file in linker call
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
Kévin Roussel
5d393d270b
Sets MCU frequency in 'board.h', instead of the common 'cpu.h' file
2013-12-24 15:41:32 +01:00
Ludwig Ortmann
cf87e647c0
make native includes RIOT posix compatible
2013-12-22 23:26:54 +01:00
Martin Lenders
69809928d3
Make UART0_BUFSIZE configurable by CPU
2013-12-20 11:10:42 +01:00
Oleg Hahm
a680b180ef
Merge pull request #450 from LudwigOrtmann/chronos_fixes
...
Chronos fixes
2013-12-19 10:06:03 -08:00
Ludwig Ortmann
680f778fc4
chronos cleanup
2013-12-19 18:44:11 +01:00
Christian Mehlis
e890b227e1
Merge pull request #428 from mehlis/native-ltc-fix
...
Native ltc fixes and cleanup
2013-12-19 09:31:32 -08:00
Oleg Hahm
1cc2767bb4
Merge pull request #318 from OlegHahm/lpc1768
...
initial support for the mbed NXP LPC168
2013-12-19 09:03:22 -08:00
Ludwig Ortmann
b674183e15
move display and lcd init from autoinit to chronos
2013-12-19 17:57:18 +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
cdb77c2392
Merge pull request #437 from OlegHahm/include_directives
...
making include directives consistent
2013-12-19 08:38:14 -08:00
Ludwig Ortmann
076b2a70d3
model ltc4150 dependency in msba2-common Makefile
2013-12-19 17:34:07 +01:00
Oleg Hahm
4b56ecf646
fixes Makefiles for mbed_lpc1768 board
2013-12-19 17:30:35 +01:00
Oleg Hahm
0e36f99a35
add telosb include inside telosb
2013-12-19 17:02:04 +01:00
Oleg Hahm
903ec54a43
making include directives consistent
2013-12-19 15:31:37 +01:00
Ludwig Ortmann
825c0e614d
Merge pull request #446 from LudwigOrtmann/msp
...
fixes for msp430, msb-430 and msb-430-common
2013-12-19 06:20:10 -08: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
Ludwig Ortmann
6b8d7cb3fc
improve programmer handling in msb-430-common
2013-12-19 13:04:08 +01:00
Ludwig Ortmann
73699e73ed
translate german comment
2013-12-19 13:04:07 +01:00
Kévin Roussel
2519ddddd7
Added the needed new section for telosb in boards/Makefile.base
2013-12-18 15:17:49 +01:00
Kévin Roussel
afce119138
Added definition of correct MCU model in MSP430-based board headers
2013-12-18 10:51:45 +01:00
Thomas Eichinger
0db7b98c35
Merge pull request #431 from thomaseichinger/telosb_oflags
...
TelosB: added OFLAGS to Makefile.include
2013-12-16 08:22:54 -08:00
Thomas Eichinger
8106974e90
added OFLAGS to Makefile.include for telosb
2013-12-16 15:12:52 +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
Ludwig Ortmann
0f20a3c87f
Merge pull request #416 from LudwigOrtmann/chronos_flashing
...
chronos: fix FFLAGS
2013-12-11 10:10:42 -08:00