npk.yml 901 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. ## Package Base Information
  2. name: app-nsdk_demo_cache
  3. owner: nuclei
  4. version:
  5. description: Nuclei Cache Demo using Nuclei CCM feature
  6. type: app
  7. keywords:
  8. - baremetal
  9. - get started
  10. - cache
  11. category: baremetal application
  12. license:
  13. homepage:
  14. ## Package Dependency
  15. dependencies:
  16. - name: sdk-nuclei_sdk
  17. version:
  18. ## Package Configurations
  19. configuration:
  20. app_commonflags:
  21. # REQUIRE: CCM, ICACHE, DCACHE
  22. value: -O2 -DXLCFG_CCM=1
  23. type: text
  24. description: Application Compile Flags
  25. ## Set Configuration for other packages
  26. setconfig:
  27. - config: download_mode
  28. value: sram
  29. ## Source Code Management
  30. codemanage:
  31. copyfiles:
  32. - path: ["*.c", "*.h"]
  33. incdirs:
  34. - path: ["./"]
  35. libdirs:
  36. ldlibs:
  37. - libs:
  38. ## Build Configuration
  39. buildconfig:
  40. - type: common
  41. common_flags: # flags need to be combined together across all packages
  42. - flags: ${app_commonflags}