npk.yml 971 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. - config: stdclib
  33. value: newlib_small
  34. ## Source Code Management
  35. codemanage:
  36. copyfiles:
  37. - path: ["*.c", "*.h"]
  38. incdirs:
  39. - path: ["./"]
  40. libdirs:
  41. ldlibs:
  42. - libs:
  43. ## Build Configuration
  44. buildconfig:
  45. - type: common
  46. common_flags: # flags need to be combined together across all packages
  47. - flags: ${app_commonflags}