Skip to content

Commit b5de630

Browse files
DerekSnellkartben
authored andcommitted
doc: getting_started: Install Perl in Windows
Perl is required for check_compliance.py/checkpatch.pl, and needs to be installed in Windows to run these scripts. Signed-off-by: Derek Snell <[email protected]>
1 parent 6504a1e commit b5de630

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

doc/contribute/guidelines.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,13 @@ before opening a new Pull Request:
561561
562562
./scripts/ci/check_compliance.py -c upstream/main..
563563
564+
.. note::
565+
On Windows if the .pl extension has not yet been associated with an
566+
application, then the first time a .pl file is run without specifying an
567+
interpreter, Windows will ask what application will open Perl files.
568+
Set the default app to Strawberry Perl. By default the executable is
569+
installed at ``C:\Strawberry\perl\bin\perl.exe``.
570+
564571
twister
565572
-------
566573

doc/develop/getting_started/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ The current minimum required version for the main dependencies are:
191191
.. code-block:: bat
192192
193193
choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System'
194-
choco install ninja gperf python311 git dtc-msys2 wget 7zip
194+
choco install ninja gperf python311 git dtc-msys2 wget 7zip strawberryperl
195195
196196
.. warning::
197197

0 commit comments

Comments
 (0)