Skip to content

Commit

Permalink
west.yml: set clone-depth and add an import allowlist
Browse files Browse the repository at this point in the history
The current west setup imports every available module, an initial
checkout takes forever. Set clone-depth: 1 so that modules get a shallow
fetch by default (they can easily be unshallowed if needed) and add a
list of modules instead of importing them all, initially just the NXP
and STM32 one since those are the ones I know have USB+CAN, segger for
RTT just in case.

Signed-off-by: Fabio Baltieri <[email protected]>
  • Loading branch information
fabiobaltieri committed Aug 23, 2024
1 parent 6873a08 commit 2e774ae
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,10 @@ manifest:
- name: zephyr
remote: zephyrproject-rtos
revision: main
import: true
clone-depth: 1
import:
name-allowlist:
- cmsis
- hal_nxp
- hal_stm32
- segger

0 comments on commit 2e774ae

Please sign in to comment.