Oleg Hahm
8de53e2b78
Merge pull request #530 from thomaseichinger/msp430-intrinsics.h-fix
...
safeguard intrinsics.h include in lpm_cpu.c
2014-01-22 10:59:11 -08:00
Ludwig Ortmann
855eea6a53
add missing newlines
2014-01-22 18:26:53 +01:00
Ludwig Ortmann
ca53203f1f
Merge pull request #539 from LudwigOrtmann/native_signal_patches
...
Native signal patches
2014-01-21 08:40:30 -08:00
Ludwig Ortmann
2b4a323a18
unclutter native_isr_entry a bit
...
remove heap_address - hopefully superflous, does not work in valgrind
remove stale TODO
2014-01-21 17:39:43 +01:00
Ludwig Ortmann
7789bbca16
fix signal trampoline
...
save and use the program counter on stack
removes race condition in trampoline
also push/pop full memory words explicitly
2014-01-21 17:39:15 +01:00
Oleg Hahm
0409d4b3a1
Merge pull request #521 from OlegHahm/fix_includes_for_msp430
...
Fix includes for msp430
2014-01-21 04:49:06 -08:00
Ludwig Ortmann
98a2d554b5
osx fixes
2014-01-21 12:30:53 +01:00
Thomas Eichinger
eff2c9aea3
safeguard intrinsics.h include since it is only provided by msp430-gcc >= 4.6
2014-01-21 11:27:21 +01:00
Oleg Hahm
a57b853401
removed own implementation of errno headers
2014-01-20 14:05:47 +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
Ludwig Ortmann
fc6cd24ece
reduce HWTIMERMINOFFSET
2014-01-15 12:40:55 +01:00
Ludwig Ortmann
dbcc898bcc
update internal timer on hwtimer_arch_set
2014-01-15 12:40:03 +01:00
Ludwig Ortmann
d3a1c1bda7
add comment
...
addresses https://github.com/RIOT-OS/RIOT/pull/501#discussion_r8881054
2014-01-15 11:24:59 +01:00
Ludwig Ortmann
921b70d5e8
fix pre-init
...
set the internal relative time - don't rely on hwtimer_now() being
called externally
2014-01-14 17:23:15 +01:00
Ludwig Ortmann
396f6c2819
fix debug msg
2014-01-14 17:23:03 +01:00
Ludwig Ortmann
6fe1ecd1b4
Merge pull request #479 from LudwigOrtmann/nativenet_lenchck
...
Nativenet length check and cleanup
2014-01-10 01:47:35 -08:00
Oleg Hahm
fe575d52df
Merge pull request #364 from OlegHahm/float_stack_sizes
...
added a dedicated stacksize for float printfs
2014-01-09 10:48:38 -08:00
Thomas Eichinger
dadd64e2f9
Merge pull request #473 from LudwigOrtmann/nativenet_osx_xmas
...
add io signal generating child for nativenet in osx
2014-01-09 07:14:34 -08:00
Ludwig Ortmann
83db6f6364
remove superflous include
2014-01-09 12:33:02 +01:00
Ludwig Ortmann
76b017aefd
check payload length validity
...
make sure the payload does not exceed the amount of data received
2014-01-08 14:58:57 +01:00
Ludwig Ortmann
ac0ec1f6b3
nativenet clean up
...
Make nativenet tap payload type consistent with radio_packet_t
Also remove a trailing space
2014-01-08 14:57:11 +01:00
Kévin Roussel
32a6e168ff
function 'lpm_get()' now returns LPM_UNKNOWN by default
2014-01-08 09:59:05 +01:00
Ludwig Ortmann
98d1136761
update native README
2014-01-07 10:20:58 +01:00
Oleg Hahm
775c0dee5c
added missing mute prefixes in nativenet and shell
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
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
26c50522d5
simplified and unified cpu build structure
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
Kévin Roussel
2b4febf8df
Basic implementation of LPM-related functions for MSP430 MCUs
2013-12-24 15:38:26 +01:00
Ludwig Ortmann
ea8b735232
fix nativenet_send documentation
2013-12-24 11:57:54 +01:00
Ludwig Ortmann
648bdaeed6
add io signal generating child for nativenet in osx
2013-12-24 11:54:00 +01:00
Ludwig Ortmann
1ac1646837
further clean up / filtering for cpu
2013-12-23 00:18:21 +01:00
Ludwig Ortmann
cf87e647c0
make native includes RIOT posix compatible
2013-12-22 23:26:54 +01:00
Ludwig Ortmann
ef315ed662
improve nativenet send functions return type
2013-12-21 16:56:42 +01:00
Ludwig Ortmann
751cfe6475
fix native hwtimer
...
The hardware timer used relative offsets that were never updated
before. This leads to two problems:
a) later timers will get pushed into the future by the amount of
previous timers
b) if a short timer is set continuously, a longer timer will never be
called
Example:
a)
Timer a with 500 ms is set, timer b with 600 ms is set.
timer a expires after 500 ms, timer b will be set to expire in 600 ms
which totals to 1100 ms.
b)
Timer a is set to 500 ms, timer b is set to 600 ms.
Timer a expires and is set again. Now timer a will expire in 500 ms
and timer b will be pushed further into the future. Repeating this
will lead to b never expiring.
2013-12-20 18:55:47 +01:00
Martin Lenders
69809928d3
Make UART0_BUFSIZE configurable by CPU
2013-12-20 11:10:42 +01: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
Oleg Hahm
cdb77c2392
Merge pull request #437 from OlegHahm/include_directives
...
making include directives consistent
2013-12-19 08:38:14 -08:00
Thomas Eichinger
aa84138531
Merge pull request #451 from OlegHahm/mc1322x_check
...
Fixes check for Mc1322x CPU in arm_common
2013-12-19 06:34:58 -08:00
Oleg Hahm
903ec54a43
making include directives consistent
2013-12-19 15:31:37 +01:00
Oleg Hahm
aabef88d20
fix check for used cpu in arm_common
2013-12-19 15:25:12 +01:00
Ludwig Ortmann
50d488e6bc
remove suprerfluous thread_yield declaration
2013-12-19 13:05:53 +01:00
Ludwig Ortmann
437c0ee5c9
msp430 lpm stub
2013-12-19 13:04:08 +01:00
Ludwig Ortmann
76cfdc33b1
stack alignment workaround
...
Should be fixed in thread.c instead, this is just a temporary
workaround to enable msp-430 threads in the mean time.
2013-12-19 13:04:08 +01:00
Ludwig Ortmann
2a8411b6a3
fix main return for msp430
...
mspgcc handles main specially, this introduces code to make main
behave normally
2013-12-19 13:04:08 +01:00
Ludwig Ortmann
69f6748a7c
clean up msp430 cpu-conf.h
2013-12-19 13:04:08 +01:00
Oleg Hahm
37a7393a6b
Merge pull request #408 from rousselk/simplify-msp430-headers
...
Simplify msp430 headers
2013-12-19 02:23:21 -08:00
Kévin Roussel
c1f8106138
Quoted (instead of brackets) the custom header files #includes
2013-12-19 10:22:44 +01:00
Oleg Hahm
ead2e117a1
Merge pull request #439 from OlegHahm/thread_yield_prototype
...
put prototype for thread_yield() in core/include
2013-12-18 13:36:55 -08:00