Difference between revisions of "West manifest files"

From Wiki at Neela Nurseries
Jump to navigation Jump to search
m (adding quick links to top of new page.)
m (Add note about west manifest name-allowlist key)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<center>
 
<center>
[[Zephyr_building_blocks|Zephyr RTOS building blocks]] :: [[Device_tree|Device Tree Source]] :: [[Kconfig|Kconfig]] :: [[cmake|cmake]] :: [[west_manifest_files|`west` manifest files]]
+
[[Zephyr_building_blocks|Zephyr RTOS building blocks]] &nbsp; :: &nbsp; [[Device_tree|Device Tree Source]] &nbsp; :: &nbsp; [[Kconfig|Kconfig]] &nbsp; :: &nbsp; [[cmake|cmake]] &nbsp; :: &nbsp; [[west_manifest_files|`west` manifest files]]
 
</center>
 
</center>
 +
 +
<!-- comment -->
  
 
*  https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.2.1/zephyr/guides/west/manifest.html
 
*  https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.2.1/zephyr/guides/west/manifest.html
 +
 +
To limit the modules which a west orchestrated project pulls in, under a manifest 'projects' section add a name-allowlist key to each project where this can limit downloads to local work dependencies:
 +
 +
  projects:
 +
  - name: <project_name>
 +
    ...
 +
    import:
 +
      name-allowlist:
 +
        - <module_name>
 +
        - <module_name>
 +
        - <module_name>
 +
  - name: <project_name>
 +
    ...
 +
  self:
 +
 +
<!-- comment -->

Latest revision as of 15:05, 6 December 2025

Zephyr RTOS building blocks   ::   Device Tree Source   ::   Kconfig   ::   cmake   ::   `west` manifest files


To limit the modules which a west orchestrated project pulls in, under a manifest 'projects' section add a name-allowlist key to each project where this can limit downloads to local work dependencies:

 projects:
 - name: <project_name>
   ...
   import:
     name-allowlist:
       - <module_name>
       - <module_name>
       - <module_name>
 - name: <project_name>
   ...
 self: