manifest: only clone required modules

Optimize setup/CI time by cloning only what is necessary.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2023-05-03 16:54:55 +02:00 committed by Stephanos Ioannidis
parent 5939755cbb
commit afa924418c

View file

@ -13,4 +13,10 @@ manifest:
- name: zephyr - name: zephyr
remote: zephyrproject-rtos remote: zephyrproject-rtos
revision: main revision: main
import: true import:
# By using name-allowlist we can clone only the modules that are
# strictly needed by the application.
name-allowlist:
- cmsis # required by the ARM port
- hal_nordic # required by the custom_plank board (Nordic based)
- hal_stm32 # required by the nucleo_f302r8 board (STM32 based)