wscript 724 B

123456789101112131415161718192021222324252627282930
  1. #!/usr/bin/env python
  2. # encoding: utf-8
  3. def build(bld):
  4. vehicle = bld.path.name
  5. bld.ap_stlib(
  6. name=vehicle + '_libs',
  7. ap_vehicle=vehicle,
  8. ap_libraries=bld.ap_common_vehicle_libraries() + [
  9. 'AC_AttitudeControl',
  10. 'AC_PID',
  11. 'AC_WPNav',
  12. 'AP_Camera',
  13. 'AP_InertialNav',
  14. 'AP_JSButton',
  15. 'AP_LeakDetector',
  16. 'AP_Motors',
  17. 'AP_RCMapper',
  18. 'AP_Beacon',
  19. 'AP_TemperatureSensor',
  20. 'AP_Arming',
  21. 'AP_KDECAN',
  22. ],
  23. )
  24. bld.ap_program(
  25. program_name='ardusub',
  26. program_groups=['bin', 'sub'],
  27. use=vehicle + '_libs',
  28. )