SConscript 752 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. from building import *
  2. src = Split("""
  3. tc_comm.c
  4. thread_static.c
  5. thread_dynamic.c
  6. thread_priority.c
  7. thread_same_priority.c
  8. thread_static_simple.c
  9. thread_dynamic_simple.c
  10. thread_delete.c
  11. thread_detach.c
  12. thread_yield.c
  13. thread_suspend.c
  14. thread_resume.c
  15. semaphore_static.c
  16. semaphore_dynamic.c
  17. semaphore_priority.c
  18. semaphore_buffer_worker.c
  19. semaphore_producer_consumer.c
  20. mutex_simple.c
  21. mutex_priority.c
  22. event_simple.c
  23. mbox_simple.c
  24. mbox_send_wait.c
  25. messageq_simple.c
  26. timer_static.c
  27. timer_dynamic.c
  28. timer_stop_self.c
  29. timer_control.c
  30. timer_timeout.c
  31. heap_malloc.c
  32. heap_realloc.c
  33. memp_simple.c
  34. tc_sample.c
  35. """)
  36. group = DefineGroup('Examples', src,
  37. depend = ['RT_USING_TC'],
  38. CPPPATH=[GetCurrentDir()])
  39. Return('group')