1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

274 Commits

Author SHA1 Message Date
Ludwig Ortmann
45c9f92b5e implement graceful shutdown in native 2013-10-23 23:16:45 +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
Ludwig Ortmann
2a031a4eca improve headline in native README 2013-10-09 15:00: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
Ludwig Ortmann
9544f617c2 fix frame padding, refactor native tap 2013-09-18 10:13:39 +02:00
Ludwig Ortmann
b3a8fdc026 Fix uninitialized packet members
also cast packet data explicitly
2013-09-04 21:02:57 +02:00
Ludwig Ortmann
f8c3e02ae6 fix nativenet payload pointer 2013-09-04 20:39:56 +02:00
Ludwig Ortmann
c2fcbb787e Fix some clang warnings in native
also cleans up a bit
2013-08-30 17:03:34 +02:00
Ludwig Ortmann
b298ab33c5 initialize rx_buffer_next explicitly 2013-08-29 17:03:22 +02:00
Ludwig Ortmann
c6180a6e4f fix NATIVE_MAX_DATA_LENGTH 2013-08-29 16:16:47 +02:00
Ludwig Ortmann
2633967708 make tapsetup.sh more verbose 2013-08-29 16:16:47 +02:00
Ludwig Ortmann
74b1a74525 documentation for nativenet interface 2013-08-29 16:16:47 +02:00
Ludwig Ortmann
37c3059e1c clean up nativenet, add src addr 2013-08-29 16:16:46 +02:00
Ludwig Ortmann
846bcc01a8 Change interface cb parameter to function pointer 2013-08-21 15:13:23 +02:00
Ludwig Ortmann
395a033de6 fix unused parameter warning in posix-rtc.c 2013-08-21 15:13:09 +02:00
Ludwig Ortmann
6fba4d7ced fix unused startup parameter warnings 2013-08-21 15:13:09 +02:00
Ludwig Ortmann
747d33e666 fix warning for sa.sa_sigaction assignments 2013-08-21 15:13:09 +02:00
Ludwig Ortmann
c1a5a3b5af fix hwtimer_arch_set_absolute return value 2013-08-18 11:25:43 +02:00
Ludwig Ortmann
52b4370e7d fix register_interrupt callback parameter 2013-08-18 11:25:43 +02:00
Christian Mehlis
f784d24fd5 add debug statement 2013-08-17 20:17:15 +02:00
Oleg Hahm
6d130a45ac updated license headers
(No code changes!)
2013-08-16 10:20:23 +02:00
Oleg Hahm
c3dcaa05a7 Merge pull request #146 from LudwigOrtmann/nativenet_osx_hack
Preliminary OSX support hack
2013-08-15 10:46:13 -07:00
Oleg Hahm
2d4de90a9c added missing header guards 2013-08-15 19:39:29 +02:00
Ludwig Ortmann
1bed4e459a Preliminary OSX support hack 2013-08-15 17:04:03 +02:00
Ludwig Ortmann
708ece68cc cc1100 -> nativenet 2013-08-15 14:05:26 +02:00
Ludwig Ortmann
a634709c00 native cc1100x_ng network
not properly passing received data to transceiver atm
2013-08-15 14:05:26 +02:00
Oleg Hahm
ec1d7b9bdf Merge pull request #139 from OlegHahm/default_stacksize
Default stacksize
2013-08-14 15:21:48 -07:00
Oleg Hahm
3ad55cce8b changed default stacksize
* the default stacksize no longer set for a thread using printf
* the stacksize for the main thread therefore adds the necessary space
2013-08-14 18:04:25 +02:00
Ludwig Ortmann
f3bbede59b fix printfs in hwtimer_cpu.c 2013-08-14 17:16:50 +02:00
Martin
63146190b3 fix changed prototype parameter 1 of thread_stack_init from void* to void(*)(void) 2013-08-09 12:19:03 +02:00
Oleg Hahm
39a4dc684e fixes for #62: eliminate unused parameter warnings
NOTE: this commit introduces a kernel API change for mutex_unlock
2013-08-04 04:10:33 +02:00
Oleg Hahm
3adb6fa217 removed senseless include of debug.h in a header 2013-07-25 21:56:09 +02:00
Oleg Hahm
222d34d8a5 added missing include to cc110x_ng 2013-07-24 00:00:03 +02:00
Oleg Hahm
33423cdadb redefining default stack sizes dependent on the use of printf 2013-07-23 13:42:58 +02:00
Christian Mehlis
837bad38eb rename kernel_intern.h
german "intern" to english "internal"
2013-07-16 16:36:37 +02:00
Christian Mehlis
b8176f4488 fixed printf patterns 2013-07-16 15:27:19 +02:00
Ludwig Ortmann
33dde8aba8 use proper native board include 2013-07-15 20:52:53 +02:00
Oliver Hahm
c8bee9e554 fixed coding style (space after most keywords) 2013-06-24 22:37:35 +02:00
Oliver Hahm
5d70656343 fixed coding conventions (mostly by astyle) 2013-06-21 03:52:57 +02:00
Oliver Hahm
b571286574 * fixed typo 2013-06-18 17:26:53 +02:00
Oliver Hahm
ac10da4509 Merge branch 'fixes-06-14' of git://github.com/mehlis/RIOT into mehlis-fixes-06-14 2013-06-18 17:25:44 +02:00
Oliver Hahm
0d6d8390c0 * updated copyright and license headers in various files 2013-06-18 17:21:38 +02:00
Martin
d32b785816 fix inserted explicit typecasting to ucontext_t* at assignment 2013-06-14 20:21:22 +02:00
Martin
0dd314afbb fix multiple definition of TRANSCEIVER_STACK_SIZE for using with native cpu 2013-06-14 20:21:22 +02:00
Ludwig Ortmann
cad585e9dd remove context switch in native lpm_sleep
quick fix for now
2013-06-13 18:14:21 +02:00
Oliver Hahm
b8f674f5b6 fix context switch in lpm_sleep 2013-06-12 16:18:32 +02:00
Ludwig Ortmann
49228c8353 fix signal handler, ringbuffer for native FreeBSD 2013-06-03 13:23:57 +02:00
Ludwig Ortmann
4f0e4dec90 fix ucontext.h include for OSX, FreeBSD 2013-06-03 13:10:42 +02:00
Martin
d0ea87524c fixed missing include 2013-06-01 08:28:47 -07:00
Ludwig Ortmann
42f897fc4a use NSIG macro from signal.h for number of signals 2013-05-21 10:53:59 +02:00
Ludwig Ortmann
35f9062e37 inital OSX support for native port 2013-05-15 17:45:43 +02:00
Ludwig Ortmann
7bf9fa0314 increase MINIMUM_STACK_SIZE to allow for DEBUG 2013-05-15 10:46:09 +02:00
Ludwig Ortmann
c6553f6492 interrupt handling rewrite
(including uart0 integration, rt-extension removal)
2013-05-14 18:31:47 +02:00
Ludwig Ortmann
2d29a26b64 fix stack and interrupt bugs 2013-04-15 20:08:46 +02:00
Ludwig Ortmann
2f74d35709 removed posix real-time extension timers from cpu 2013-04-03 18:53:19 +02:00
Ludwig Ortmann
671cb6560f native cc110x_ng placebo 2013-03-21 17:08:41 +01:00
Ludwig Ortmann
1197314093 native cpu fixes
init hwtimer with interrupts enabled
more error checking for hwtimer
fix signal handler init in hwtimer
error checking for irq (not necessary yet afaik)
2013-03-21 16:55:57 +01:00
Ludwig Ortmann
1a628ee810 remove unused define 2013-03-13 22:01:04 +01:00
Ludwig Ortmann
f8f9557b0b fix error message 2013-03-13 22:00:41 +01:00
Ludwig Ortmann
175300e58c add native cpu doxygen documentation,
also fix and improve some of the existing
2013-03-13 21:56:56 +01:00
Ludwig Ortmann
8019551694 renamed makefiles within Makefiles 2013-03-12 16:03:37 +01:00
Ludwig Ortmann
3ec4800ae8 renamed makefiles 2013-03-12 15:44:12 +01:00
Ludwig Ortmann
144ebba9ca fix some compiler warnings 2013-03-07 13:53:14 +01:00
Ludwig Ortmann
795ab695c0 copyright preambel 2013-03-06 10:29:49 +01:00
Ludwig Ortmann
d65536f77b native cpu initial import 2013-03-06 01:08:15 +01:00