npk.yml 927 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. ## Package Base Information
  2. name: app-nsdk_demo_profiling
  3. owner: nuclei
  4. version:
  5. description: Profiling demo to show how to use gprof and gcov
  6. type: app
  7. keywords:
  8. - baremetal
  9. - get started
  10. - profiling
  11. - gcov
  12. - gprof
  13. category: baremetal application
  14. license:
  15. homepage:
  16. ## Package Dependency
  17. dependencies:
  18. - name: sdk-nuclei_sdk
  19. version:
  20. - name: mwp-nsdk_profiling
  21. version:
  22. ## Package Configurations
  23. configuration:
  24. app_commonflags:
  25. value: -O0
  26. type: text
  27. description: Application Compile Flags
  28. ## Set Configuration for other packages
  29. setconfig:
  30. - config: download_mode
  31. value: sram
  32. ## Source Code Management
  33. codemanage:
  34. copyfiles:
  35. - path: ["*.c", "*.h"]
  36. incdirs:
  37. - path: ["./"]
  38. libdirs:
  39. ldlibs:
  40. - libs:
  41. ## Build Configuration
  42. buildconfig:
  43. - type: common
  44. common_flags: # flags need to be combined together across all packages
  45. - flags: ${app_commonflags}