npk.yml 867 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. ## Package Base Information
  2. name: app-nsdk_demo_stack_check
  3. owner: nuclei
  4. version:
  5. description: Stack Check Demo for Nuclei Hardware Stack Check Feature
  6. type: app
  7. keywords:
  8. - baremetal
  9. - stack check
  10. category: baremetal application
  11. license:
  12. homepage:
  13. ## Package Dependency
  14. dependencies:
  15. - name: sdk-nuclei_sdk
  16. version:
  17. ## Package Configurations
  18. configuration:
  19. app_commonflags:
  20. # REQUIRE: STACK_CHECK
  21. value: -O0 -DXLCFG_STACK_CHECK=1
  22. type: text
  23. description: Application Compile Flags
  24. ## Set Configuration for other packages
  25. setconfig:
  26. ## Source Code Management
  27. codemanage:
  28. copyfiles:
  29. - path: ["*.c", "*.h"]
  30. incdirs:
  31. - path: ["./"]
  32. libdirs:
  33. ldlibs:
  34. - libs:
  35. ## Build Configuration
  36. buildconfig:
  37. - type: gcc
  38. common_flags: # flags need to be combined together across all packages
  39. - flags: ${app_commonflags}