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

40 Commits

Author SHA1 Message Date
Ludwig Ortmann
98bbb80571 documentation: append my email to my name everywhere 2014-05-15 18:07:17 +02:00
René Kijewski
9a9caf2c68 Exterminate old-style function definitions 2014-05-12 21:57:09 +02:00
Hauke Petersen
8a937e1a1c hwtimer: clean up of interfaces to board/cpu 2014-03-26 13:19:18 +01:00
Ludwig Ortmann
bdd4252961 guard setitimer 2014-01-29 18:44:42 +01:00
Ludwig Ortmann
e32bfa53d0 fix overdue mitigation 2014-01-23 00:03:23 +01:00
Ludwig Ortmann
91ebc1d0b5 improve debug messages 2014-01-22 22:19:53 +01:00
Ludwig Ortmann
332cf8807f fix callback offset 2014-01-22 22:19:53 +01:00
Ludwig Ortmann
855eea6a53 add missing newlines 2014-01-22 18:26:53 +01: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
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
Ludwig Ortmann
0817675f5e fix native hwtimer unsetting
reverts bug introduced by 2bfb062
2013-12-14 00:12:47 +01:00
Ludwig Ortmann
d03d7b1773 clean up native hwtimer 2013-12-14 00:07:49 +01:00
Christian Mehlis
2bfb06230a fix: native hwtimer backend emulation
searching for the next pending timer was broken
this commit rewrites this functionality
2013-12-11 16:22:14 +01:00
Christian Mehlis
b17ffabce5 reduce minimal timer from 100ms to 10ms 2013-12-10 22:08:49 +01:00
Ludwig Ortmann
d6c213fb47 fix grammar in license header 2013-11-23 13:11:56 +01:00
Ludwig Ortmann
3a04671912 replace 1 with EXIT_FAILURE in all err calls 2013-11-23 11:21:40 +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
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
7e02c7dd2b add time delta to hwtimer 2013-10-25 12:11:54 +02:00
Ludwig Ortmann
c1a5a3b5af fix hwtimer_arch_set_absolute return value 2013-08-18 11:25:43 +02:00
Christian Mehlis
f784d24fd5 add debug statement 2013-08-17 20:17:15 +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
Ludwig Ortmann
f3bbede59b fix printfs in hwtimer_cpu.c 2013-08-14 17:16:50 +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
Christian Mehlis
b8176f4488 fixed printf patterns 2013-07-16 15:27:19 +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
0d6d8390c0 * updated copyright and license headers in various files 2013-06-18 17:21:38 +02:00
Ludwig Ortmann
35f9062e37 inital OSX support for native port 2013-05-15 17:45:43 +02:00
Ludwig Ortmann
c6553f6492 interrupt handling rewrite
(including uart0 integration, rt-extension removal)
2013-05-14 18:31:47 +02:00
Ludwig Ortmann
2f74d35709 removed posix real-time extension timers from cpu 2013-04-03 18:53:19 +02: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
175300e58c add native cpu doxygen documentation,
also fix and improve some of the existing
2013-03-13 21:56:56 +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