2010-11-20 12:31:00 +00:00
|
|
|
from building import *
|
2010-03-01 09:37:59 +00:00
|
|
|
|
2010-11-20 12:31:00 +00:00
|
|
|
src = Split("""
|
2010-03-01 09:37:59 +00:00
|
|
|
tc_comm.c
|
|
|
|
thread_static.c
|
|
|
|
thread_dynamic.c
|
|
|
|
thread_priority.c
|
2010-03-03 09:12:08 +00:00
|
|
|
thread_same_priority.c
|
|
|
|
thread_static_simple.c
|
|
|
|
thread_dynamic_simple.c
|
|
|
|
thread_delete.c
|
2010-03-20 15:15:54 +00:00
|
|
|
thread_detach.c
|
|
|
|
thread_yield.c
|
|
|
|
thread_suspend.c
|
|
|
|
thread_resume.c
|
2010-03-17 09:57:07 +00:00
|
|
|
semaphore_static.c
|
|
|
|
semaphore_dynamic.c
|
|
|
|
semaphore_priority.c
|
|
|
|
semaphore_buffer_worker.c
|
2010-03-21 23:46:18 +00:00
|
|
|
semaphore_producer_consumer.c
|
|
|
|
mutex_simple.c
|
2010-03-22 09:17:38 +00:00
|
|
|
event_simple.c
|
|
|
|
mbox_simple.c
|
|
|
|
messageq_simple.c
|
2010-03-25 15:19:42 +00:00
|
|
|
timer_static.c
|
|
|
|
timer_dynamic.c
|
|
|
|
timer_stop_self.c
|
|
|
|
timer_control.c
|
2010-06-29 09:34:12 +00:00
|
|
|
timer_timeout.c
|
2010-03-17 09:57:07 +00:00
|
|
|
heap_malloc.c
|
|
|
|
heap_realloc.c
|
2010-03-22 09:17:38 +00:00
|
|
|
memp_simple.c
|
2010-03-01 09:37:59 +00:00
|
|
|
""")
|
2010-12-12 23:37:14 +00:00
|
|
|
CPPDEFINES = ['RT_USING_TC']
|
2010-03-01 09:37:59 +00:00
|
|
|
|
2010-12-12 23:37:14 +00:00
|
|
|
group = DefineGroup('examples', src, depend = [''], CPPDEFINES = CPPDEFINES)
|
2010-03-01 09:37:59 +00:00
|
|
|
|
2010-11-20 12:31:00 +00:00
|
|
|
Return('group')
|