npk.yml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. ## Package Base Information
  2. name: app-nsdk_smphello
  3. owner: nuclei
  4. version:
  5. description: SMP Helloworld in baremetal environment
  6. type: app
  7. keywords:
  8. - baremetal
  9. - get started
  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. value: -O2
  21. type: text
  22. description: Application Compile Flags
  23. ## Set Configuration for other packages
  24. setconfig:
  25. - config: nuclei_smp
  26. value: 2
  27. - config: nuclei_core
  28. value: nx900
  29. - config: heapsz
  30. value: 2K
  31. - config: stacksz
  32. value: 2K
  33. - config: download_mode
  34. value: sram
  35. - config: nuclei_cache
  36. value: ["ic", "dc", "ccm"]
  37. ## Source Code Management
  38. codemanage:
  39. copyfiles:
  40. - path: ["*.c", "*.h"]
  41. incdirs:
  42. - path: ["./"]
  43. libdirs:
  44. ldlibs:
  45. - libs:
  46. ## Build Configuration
  47. buildconfig:
  48. - type: common
  49. common_flags: # flags need to be combined together across all packages
  50. - flags: ${app_commonflags}