Skip to content

Commit b68071d

Browse files
soburinashif
authored andcommitted
commands: add the 'sdk' command to manage SDK.
This command can list and install SDK. Run 'west sdk install' to install the SDK. Run without any parameter, installing specified by SDK_VERSION in the source tree. 'west sdk' to show installed SDK information. This command is just a wrapper for SDK's setup command, but it simplifies the installation process. It will be a good improvement for onboarding first-time users. Signed-off-by: TOKITA Hiroshi <[email protected]>
1 parent b824e41 commit b68071d

File tree

4 files changed

+590
-0
lines changed

4 files changed

+590
-0
lines changed

scripts/requirements-base.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ pykwalify
1717
canopen
1818
packaging
1919
progress
20+
patool
2021
psutil
2122
pylink-square
2223
pyserial
2324
requests
25+
semver
2426

2527
# for ram/rom reports
2628
anytree

scripts/west-commands.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,8 @@ west-commands:
7676
- name: simulate
7777
class: Simulate
7878
help: simulate board
79+
- file: scripts/west_commands/sdk.py
80+
commands:
81+
- name: sdk
82+
class: Sdk
83+
help: manage Zephyr SDK

0 commit comments

Comments
 (0)