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