project.yml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. ---
  2. # Notes:
  3. # Sample project C code is not presently written to produce a release artifact.
  4. # As such, release build options are disabled.
  5. # This sample, therefore, only demonstrates running a collection of unit tests.
  6. :project:
  7. :use_exceptions: FALSE
  8. :use_test_preprocessor: TRUE
  9. :use_auxiliary_dependencies: TRUE
  10. :use_deep_dependencies: TRUE
  11. :build_root: build
  12. # :release_build: TRUE
  13. :test_file_prefix: test_
  14. :release_build:
  15. :output: test_tinyusb.exe
  16. :use_assembly: FALSE
  17. :environment:
  18. :extension:
  19. :executable: .exe
  20. :paths:
  21. :test:
  22. - +:test/**
  23. - -:test/support
  24. :source:
  25. - src/**
  26. - ../tinyusb/**
  27. - -:../demos
  28. - -:../test_old
  29. - ../../CMSISv2p10_LPC13Uxx/**
  30. #- ../../CMSISv2p10_LPC43xx_DriverLib/inc
  31. :support:
  32. - test/support
  33. :defines:
  34. # in order to add common defines:
  35. # 1) remove the trailing [] from the :common: section
  36. # 2) add entries to the :common: section (e.g. :test: has TEST defined)
  37. :commmon: &common_defines []
  38. :test:
  39. - *common_defines
  40. - _TEST_
  41. - MCU=MCU_LPC13UXX
  42. - CORE_M4
  43. :test_preprocess:
  44. - *common_defines
  45. - _TEST_
  46. - MCU=MCU_LPC13UXX
  47. - CORE_M4
  48. #:flags:
  49. # :test:
  50. # :compile:
  51. # :*:
  52. # - -std=gnu99
  53. # Ceedling defaults to using gcc for compiling, linking, etc.
  54. # As [:tools] is blank, gcc will be used (so long as it's in your system path)
  55. # See documentation to configure a given toolchain for use
  56. :cmock:
  57. :mock_prefix: mock_
  58. :when_no_prototypes: :warn
  59. :enforce_strict_ordering: TRUE
  60. :plugins:
  61. - :ignore
  62. - :callback
  63. :treat_as:
  64. uint8: HEX8
  65. uint16: HEX16
  66. uint32: UINT32
  67. int8: INT8
  68. bool: UINT8
  69. :plugins:
  70. :load_paths:
  71. - vendor/ceedling/plugins
  72. :enabled:
  73. - stdout_pretty_tests_report
  74. - module_generator
  75. ...