37 Commits

Author SHA1 Message Date
Matthias Ringwald
b0f22fb96d mark system_ticks as volatile as it is updated from ISR context 2015-09-21 17:56:38 +02:00
Matthias Ringwald
ada022b7e8 make embedded_get_time_ms and posix_get_time_ms private. (use run_loop_get_time_ms instead) 2015-06-16 23:37:11 +02:00
Matthias Ringwald
ea2df9a562 add run_loop_get_time_ms() and implement in embedded, posix, and cocoa run loops 2015-06-16 23:26:52 +02:00
Matthias Ringwald
caff7b6e81 implmenet embedded_get_time_ms for HAVE_TIME_MS in embedded run loop 2015-06-15 22:37:54 +02:00
Matthias Ringwald
0d384c4d89 add support for embedded platforms with millisecond clock 2015-04-21 22:51:19 +02:00
mila@ringwald.ch
a0c35809ae streamline copyright headers 2015-02-06 16:19:27 +00:00
matthias.ringwald@gmail.com
8304b81b86 added embedded_get_time_ms(void) 2014-11-16 21:19:23 +00:00
matthias.ringwald@gmail.com
b7341302a0 assert that we wait at least as long as requested with embedded timer 2014-10-16 21:09:43 +00:00
mila@ringwald.ch
9da54300b6 use log_info instead of printf, remove trailing newline from log calls 2014-08-15 21:26:50 +00:00
mila@ringwald.ch
567720eb3d make embedded_set_timer into nop if HAVE_TICKS is not defined 2014-04-24 23:18:30 +00:00
matthias.ringwald@gmail.com
f51189dbdd added setter for system ticks - useful on systems that already have a clock 2014-02-04 22:46:37 +00:00
matthias.ringwald@gmail.com
d1fef1900d make embedded_execute_once public as suggested in #369 2014-02-04 21:08:07 +00:00
matthias.ringwald@gmail.com
e84cf9a425 don't add timer twice 2014-01-31 16:12:25 +00:00
matthias.ringwald@gmail.com
372248418e clean up run_loop sublcassing as suggested in #356 2014-01-07 19:31:00 +00:00
matthias.ringwald
0a1bad9b3c extracted embedded_execute_once() for better 2013-07-15 20:37:14 +00:00
matthias.ringwald
6d399ad5f7 fix trigger handling 2013-05-19 21:06:10 +00:00
matthias.ringwald
6b64433e6a added non-commerical clause and contact email 2012-05-07 21:54:09 +00:00
matthias.ringwald
0b54a4e601 fix compile for embedded with logging enabled 2012-04-02 20:30:15 +00:00
matthias.ringwald
4e6897b2cb mark run_loop_embedded struct as const 2011-08-20 10:36:21 +00:00
matthias.ringwald
4c642b9a5c fix conditional compile and prototypes 2011-08-06 08:52:06 +00:00
matthias.ringwald
ccf81f4c49 implement sleep mode 2011-08-05 15:54:21 +00:00
matthias.ringwald
06afb09fdb fix compile for embedded 2011-08-05 14:58:02 +00:00
matthias.ringwald
e5780900c0 replace EMBEDDED with HAVE_TICK where appropriate 2011-08-05 14:53:18 +00:00
matthias.ringwald
e1d412164f fix compile for EMBEDDED 2011-07-25 21:16:34 +00:00
matthias.ringwald
c785ef68cf enable timers for EMBEDDED 2011-07-25 21:12:09 +00:00
matthias.ringwald
7b5fbe1fe3 replace all log_dbg with log_info 2011-07-22 18:31:02 +00:00
matthias.ringwald
4f98e15dd8 remove const from run_loop objects - until I learn how to use it properly 2011-07-22 10:30:32 +00:00
matthias.ringwald
a8a2dedc0b use uint32_t for time in ms 2011-07-14 12:09:53 +00:00
matthias.ringwald
9f42df27c7 moved posix time handler code to run_loop_posix.c, implemented support for tick based timers for EMBEDDED 2011-06-16 15:17:57 +00:00
matthias.ringwald
694159226e fix -Wstrict-prototypes 2011-06-06 13:57:15 +00:00
matthias.ringwald
83a9c1a5f4 added HAVE_TIME checks 2011-06-05 09:57:48 +00:00
matthias.ringwald
a3133f42e0 add stddef.h for NULL 2010-11-12 08:54:01 +00:00
matthias.ringwald
65793526c2 fully noop dump timers 2010-08-03 19:47:36 +00:00
matthias.ringwald
9974f44821 fix compile 2010-07-05 20:49:14 +00:00
matthias.ringwald
88aa939830 use log_dbg for run_loop_embedded, too 2010-07-05 20:22:08 +00:00
matthias.ringwald
2a9745927e support timers if gettimeofday and struct timeval exist 2010-07-04 13:59:28 +00:00
matthias.ringwald
0453d688d1 added basic run loop for embedded use 2010-07-04 13:56:43 +00:00