Christian Mehlis
45ffdeaf52
add missing stdlib.h include
2013-11-21 00:26:13 +01:00
Ludwig Ortmann
c1ea408274
move struct timeval to msp430_types.h
2013-11-19 17:56:05 +01:00
Ludwig Ortmann
3b2b02e99a
enable building chronos board
2013-11-19 17:56:05 +01:00
Ludwig Ortmann
f7a1edeb2c
fix and clean up some board Makefiles
...
enables building wsn430-v1_3b and wsn430-v1_4
fixes some but not all chronos building issues
2013-11-19 17:56:05 +01:00
Ludwig Ortmann
03957ab57d
dont overwrite CFLAGS in Makefile
2013-11-15 11:41:15 +01:00
Ludwig Ortmann
7caf7881a2
fix msb-430 Makefiles and includes
2013-11-14 15:08:32 +01:00
Oleg Hahm
cc45909ffc
Merge pull request #236 from OlegHahm/telosb
...
Telosb
2013-11-14 01:55:47 -08:00
Oleg Hahm
19f4f45445
added some debug output for the network stack
2013-11-14 10:46:21 +01:00
Ludwig Ortmann
01e30016d6
add lpm syscall barrier for native w/out UART
2013-11-13 23:43:26 +01:00
Ludwig Ortmann
c764728398
pre-init native hwtimer
...
make it behaver more like a regular timer
2013-11-13 01:31:31 +01:00
Ludwig Ortmann
1df56ed47b
cope with SIGIO behaviour
...
SIGIO appears to be edge triggered, therefore we need to read
continuously until no more data is available
2013-11-13 00:01:42 +01:00
Ludwig Ortmann
2c7070bf0c
disable interrupts for sighnd ctx switch
2013-11-13 00:01:42 +01:00
Ludwig Ortmann
9f080c54c6
fix race in thread_yield, cpu_switch_context_exit
...
call *context only with interrupts disabled, use isr trampoline for
this if necessary
2013-11-13 00:01:42 +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
Ludwig Ortmann
bad523831b
allow for custom tap names
2013-11-08 13:59:26 +01:00
Oleg Hahm
1117867eaf
Merge pull request #231 from thomaseichinger/maca_move
...
move mc1322x MACA implementation from the boards to RIOT repo
2013-11-06 14:21:58 -08:00
Christian Mehlis
4f4c4bfedd
use radio_packet_length_t for native frames
2013-10-29 20:36:13 +01:00
Christian Mehlis
2e59096390
fix wrong error handling introduced in 945aef
2013-10-26 15:40:01 +02:00
LudwigOrtmann
37158553b9
Merge pull request #264 from LudwigOrtmann/native_hwtimer_delta
...
add time delta to hwtimer
2013-10-25 04:07:32 -07:00
Christian Mehlis
22a2cdaea4
Merge pull request #249 from mehlis/time-rtc
...
add rtc_time function
2013-10-25 03:55:06 -07:00
Ludwig Ortmann
7e02c7dd2b
add time delta to hwtimer
2013-10-25 12:11:54 +02:00
Christian Mehlis
945aefad4f
add rtc_time implementation for native
2013-10-25 11:53:45 +02:00
Ludwig Ortmann
7f7290a26a
normalize stack defines
2013-10-25 11:40:33 +02:00
Ludwig Ortmann
944d10c07d
improve native README
2013-10-24 12:58:28 +02:00
Ludwig Ortmann
45c9f92b5e
implement graceful shutdown in native
2013-10-23 23:16:45 +02:00
Oleg Hahm
9f0aed27f3
Merge pull request #245 from LudwigOrtmann/fix_tramp
...
fix signal handler context switch
2013-10-23 10:05:40 -07:00
Christian Mehlis
7fb1ac4402
msp430: add time_t and struct timespec
2013-10-22 11:07:18 +02:00
Ludwig Ortmann
4c5273211b
fix signal handler context switch
2013-10-18 14:23:58 +02:00
Ludwig Ortmann
badcf390d1
initialize processing field in nativenet tap
2013-10-13 21:23:12 +02:00
Ludwig Ortmann
81f3ddde44
free reference pointer, fix indentation
2013-10-13 20:45:35 +02:00
Christian Mehlis
ff7cf37ccd
Merge pull request #230 from LudwigOrtmann/issue_154
...
valgrind support for native
2013-10-11 03:42:41 -07:00
Oleg Hahm
031e335e24
Merge pull request #97 from OlegHahm/makefile_windows_fixes
...
merged zkasmi/makefile_fixes to makefile_windows_fixes
2013-10-10 09:25:03 -07:00
Oleg Hahm
46deefe0f8
make Makefiles proof for spaces in $PATH
2013-10-09 15:28:53 +02:00
Ludwig Ortmann
21a0f39867
valgrind support
2013-10-09 15:20:59 +02:00
Kévin Roussel
c7501ce5e0
Added mising reference to cpu/msp430-common/include/cpu.h
...
so as to get the needed definition of F_RC_OSCILLATOR
2013-10-09 15:10:22 +02:00
Kévin Roussel
49c8c419bf
Updated the MSP430 hwtimer implementation, to cope with the lack of consistency
...
of of TI with the TimerX register names.
2013-10-09 15:10:22 +02:00
Ludwig Ortmann
2a031a4eca
improve headline in native README
2013-10-09 15:00:51 +02:00
Thomas Eichinger
7abda31b0f
move mc1322x MACA implementation from the boards repo to RIOT repo
2013-10-04 14:20:51 +02:00
Ludwig Ortmann
47b6e62982
fix native ctxt switches
...
fix disableIRQ (remove context switch)
fix enableIRQ (make context switch delay-safe)
change interrupts-off signal-catch behaviour from error to warning
add context switch memory location warning
2013-10-04 10:44:39 +02:00
Ludwig Ortmann
43adafe55a
native fix cpu_switch_context_exit
2013-10-04 10:44:39 +02:00
Ludwig Ortmann
d46a03f030
guard rtc syscall
2013-10-04 10:44:39 +02:00
Ludwig Ortmann
24b2cfd95a
general clean up
...
make some variables volatile
remove rx_buffer_next from header
more DEBUG output
fix warnings
coding conventions
change puts to DEBUG
rename end-context/stack
2013-09-30 18:03:53 +02:00
Christian Mehlis
8264a4aee1
minimize stacksize of the idle thread
2013-09-27 14:11:25 +02:00
Zakaria Kasmi
4fb64f8e91
revise error messages and fixed encoding
2013-09-26 23:54:45 +02:00
Zakaria Kasmi
4f4501f09d
small changes + coding conventions + updated files descriptions.
2013-09-26 23:47:46 +02:00
Oleg Hahm
1acfee5991
Merge pull request #99 from zkasmi/i2c
...
full abstracted i2c driver for LPC2387
2013-09-26 14:41:59 -07:00
Thomas Eichinger
b749e59276
added a basic implementation of the ASM module featuring
...
* CTR encryption
* CBC-MAC mode
* CTR-CBC-MAC mode
* structure for ASM registers
2013-09-26 23:39:58 +02:00
Oleg Hahm
7e66308192
Merge pull request #215 from OlegHahm/msp430-stack_sizes
...
adjusted default stack sizes for msp430
2013-09-24 05:47:58 -07:00
Oleg Hahm
bfbd765f39
Merge pull request #174 from thomaseichinger/ADC
...
ADC module of the mc1322x MCU
2013-09-23 04:43:21 -07:00
Thomas Eichinger
040fb1539c
moved GPIO implementation from boards to RIOT since ADC implementation depends on it
2013-09-20 14:55:34 +02:00