defaults.yaml 653 B

123456789101112131415161718192021222324252627282930313233343536
  1. # SPDX-License-Identifier: BSD-3-Clause
  2. description: Property default value test
  3. compatible: "defaults"
  4. properties:
  5. int:
  6. type: int
  7. required: false
  8. default: 123
  9. array:
  10. type: array
  11. required: false
  12. default: [1, 2, 3]
  13. uint8-array:
  14. type: uint8-array
  15. required: false
  16. default: [0x89, 0xAB, 0xCD]
  17. string:
  18. type: string
  19. required: false
  20. default: "hello"
  21. string-array:
  22. type: string-array
  23. required: false
  24. default: ["hello", "there"]
  25. default-not-used:
  26. type: int
  27. required: false
  28. default: 123