Skip to content

Commit afa9244

Browse files
gmarullstephanosio
authored andcommitted
manifest: only clone required modules
Optimize setup/CI time by cloning only what is necessary. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent 5939755 commit afa9244

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

west.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,10 @@ manifest:
1313
- name: zephyr
1414
remote: zephyrproject-rtos
1515
revision: main
16-
import: true
16+
import:
17+
# By using name-allowlist we can clone only the modules that are
18+
# strictly needed by the application.
19+
name-allowlist:
20+
- cmsis # required by the ARM port
21+
- hal_nordic # required by the custom_plank board (Nordic based)
22+
- hal_stm32 # required by the nucleo_f302r8 board (STM32 based)

0 commit comments

Comments
 (0)