Skip to content

build_project.py broken under Windows. #81

Open
@rnicolas

Description

Just follow the steps described in the README. When trying to build the firmware, I have got this error:

INFO:__main__:Building in C:\Users\Dell\SimplicityStudio\v5_workspace\silabs-firmware-builder\build
INFO:__main__:SDK ..\..\SDKs\gecko_sdk_4.4.4 has version 4.4.4
INFO:__main__:Version is correct, picking ..\..\SDKs\gecko_sdk_4.4.4
INFO:__main__:Building component graph and identifying board-specific files
Traceback (most recent call last):
  File "C:\Users\Dell\SimplicityStudio\v5_workspace\silabs-firmware-builder\tools\build_project.py", line 648, in <module>
    main()
  File "C:\Users\Dell\SimplicityStudio\v5_workspace\silabs-firmware-builder\tools\build_project.py", line 416, in main
    for name in determine_chip_specific_config_filenames(
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Dell\SimplicityStudio\v5_workspace\silabs-firmware-builder\tools\build_project.py", line 147, in determine_chip_specific_config_filenames
    proc = subprocess.run(
           ^^^^^^^^^^^^^^^
  File "C:\Users\Dell\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 548, in run
    with Popen(*popenargs, **kwargs) as process:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Dell\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\Dell\AppData\Local\Programs\Python\Python312\Lib\subprocess.py", line 1538, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified

The command called is:

python .\tools\build_project.py --sdk ..\..\SDKs\gecko_sdk_4.4.4 --toolchain C:\SiliconLabs\SimplicityStudio\v5\developer\toolchains\gnu_arm\12.2.rel1_2023.7 --manifest .\manifests\nabucasa\yellow_ncp-uart-hw.yaml --build-dir build --output-dir output --output gbl --output out --output hex

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions