Ludwig Ortmann
05dc8ec1cb
Merge pull request #790 from LudwigOrtmann/fixup_685
...
core: fixup for 685
2014-02-28 10:43:14 +01:00
Oleg Hahm
72966fec39
adding sys/time.h for msp-430
2014-02-27 00:17:14 +01:00
Ludwig Ortmann
470bd7f17f
Fixup for #685
...
- use DEVELHELP for native as well
- fix function name in documentation
- improve documentation language/spelling
2014-02-26 21:49:54 +01:00
Oleg Hahm
0c14597ec2
Merge pull request #685 from rousselk/panic
...
Panic
2014-02-26 16:26:27 +01:00
Oleg Hahm
b4a8788210
fixed typo
2014-02-26 08:18:17 +01:00
Oleg Hahm
07b0cd8863
added gettimeofday syscall
...
RIOT's gettimeofday needs to be called from syscalls.c to assure that gcc actually links it.
If an RTC if available and enabled it will be used instead.
2014-02-25 17:41:45 +01:00
Kévin Roussel
f4f2519a58
LPC1768 implementation of 'core_panic()'
...
copied from 'arm_common', for make-related reasons...
2014-02-25 10:50:51 +01:00
Kévin Roussel
4f8a29d892
Implemented the crash-handling/reboot mechanism for ARM-based MCUs
2014-02-25 10:50:51 +01:00
Kévin Roussel
03fe9de135
Implemented crash-handling mechanism for 'native' platform
2014-02-25 10:50:51 +01:00
Kévin Roussel
1183555cc3
Implement the crash-handling/reboot mechanism for MSP430 MCUs
2014-02-25 10:50:51 +01:00
Christian Mehlis
261d414649
native: removed unreachable code
2014-02-25 09:02:39 +01:00
Ludwig Ortmann
86812c2abb
make calloc "usable" early on
...
closes #741
Old versions of the gnu libc uses calloc to allocate dymanic memory
when some error occurs in dlsym.
This results in a segfault as natives calloc wrapper has not been
initialized yet.
As this is a circular dependency and the libc can cope with this, we
just return NULL from the calloc wrapper and hope for the best.
Recent libc versions use a static buffer instead.
2014-02-22 13:08:45 +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
Oleg Hahm
b42496475a
Merge pull request #724 from rousselk/reboot
...
Reboot
2014-02-18 13:33:49 +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
Kévin Roussel
dc6f920f33
Merge remote-tracking branch 'origin/reboot' into reboot
2014-02-17 12:00:19 +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
Oleg Hahm
0467181093
replaced tabs with spaces
2014-02-15 17:29:49 +01:00
Oleg Hahm
85a05dd794
added reboot and reset handler for lpc1768
2014-02-15 17:29:49 +01:00
Christian Mehlis
38529e3296
replace all endless for loops by while
2014-02-14 17:47:33 +01:00
Kévin Roussel
4eee19f32c
Merge pull request #1 from LudwigOrtmann/native_reboot
...
implement rudimentary native reboot
2014-02-14 16:35:58 +01:00
Kévin Roussel
f6d7910352
Added while(1) to ensure GCC valids NORETURN; fixed indentation
2014-02-14 16:33:47 +01:00
Ludwig Ortmann
561eefab07
implement rudimentary native reboot
2014-02-14 16:20:36 +01:00
René Kijewski
102dc45382
Eliminate findstring in more places
2014-02-14 14:30:16 +01:00
Kévin Roussel
7ad37edb82
Added while(1) to ensure GCC valids NORETURN; fixed indentation
2014-02-14 12:13:10 +01:00
Kévin Roussel
c33087bdcd
Implemented reboot() function for ARM-based MCUs
2014-02-14 11:56:18 +01:00
Kévin Roussel
7073489dac
Implemented reboot() function for MSP430 MCUs
2014-02-12 15:26: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
Ludwig Ortmann
114aaa65e5
Merge pull request #626 from LudwigOrtmann/issue_621
...
add EUI-64 support for nativenet
2014-02-11 19:30:23 +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
d5d3bbcd44
add EUI-64 support for nativenet
2014-02-10 08:33:57 +01:00
Martin
6a29d18324
changed assignment to const char*
2014-02-10 08:29:22 +01:00
Martin
174a75102b
changed clonedev assignment according to const string
2014-02-10 08:21:32 +01:00
Ludwig Ortmann
85c6b6587e
replace uint16_t with radio_address_t in maca
...
adpots includes and makes them adhere to the coding conventions
2014-02-07 18:56:04 +01:00
Oleg Hahm
355f6610d5
Merge pull request #482 from OlegHahm/driver_includes
...
Driver includes
2014-02-07 17:21:45 +01:00
Oleg Hahm
62046d6ea0
Merge pull request #649 from BytesGalore/fix_missing_typecasts
...
Fix added missing typecasts to stack (arm/msba2) and send/receive buffer (native)
2014-02-07 12:25:08 +01:00
Martin
22b777300d
added typecasts for the used send/receive buffer pointer buff
2014-02-07 09:26:56 +01:00
Martin
b4f36f4af9
added typecast for starck_start in arm_cpu to ensure correct calculation
2014-02-07 09:17:21 +01:00
Martin
f19ec9649f
added typecast for starck_start in native
2014-02-07 09:14:58 +01:00
Oleg Hahm
70747d8bb4
streamlined driver include pathes
2014-02-05 18:56:47 +01:00
Ludwig Ortmann
5681fcc481
native readme update
2014-02-04 18:41:38 +01: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
f04eaa3d20
update native readme
2014-02-01 12:10:08 +01:00
Ludwig Ortmann
fd083c95a6
check for active_thread != NULL in syscalls.c before using it
...
fixes #498
2014-01-31 09:31:22 +01:00
Ludwig Ortmann
f0340b90a2
guard pre-err() warn() calls
2014-01-29 19:13:49 +01:00