Replies: 6 comments 3 replies
-
@r0n9Y which west version are you using? |
Beta Was this translation helpful? Give feedback.
-
You do not need to build the SDK from scratch, this is Zephyr and its source code and not the SDK. |
Beta Was this translation helpful? Give feedback.
-
West version: v0.13.1 |
Beta Was this translation helpful? Give feedback.
-
@r0n9Y can you say which shell you are running on? We only support cmd.exe on windows, so if you're using the git bash shell, please retry on cmd.exe. |
Beta Was this translation helpful? Give feedback.
-
Per our discord chat, here are the logs: west -v update logs for atx-zdk west -v update logs for zephyr |
Beta Was this translation helpful? Give feedback.
-
I got the same issue, and solved it myself. I did look into source, found this function def sha(self, rev: str, cwd: Optional[PathType] = None) -> str:
'''Get the SHA for a project revision.
:param rev: git revision (HEAD, v2.0.0, etc.) as a string
:param cwd: directory to run command in (default:
self.abspath)
'''
# Though we capture stderr, it will be available as the stderr
# attribute in the CalledProcessError raised by git() in
# Python 3.5 and above if this call fails.
cp = self.git(f'rev-parse {rev}^{{commit}}', capture_stdout=True,
cwd=cwd, capture_stderr=True)
# Assumption: SHAs are hex values and thus safe to decode in ASCII.
# It'll be fun when we find out that was wrong and how...
return cp.stdout.decode('ascii').strip() If I get the idea right, it should give a result like >>> rev:str = "53d3415c14d60f8f4bfca54bfbc5d5a667d7e724"
>>> print(f'rev-parse {rev}^{{commit}}')
rev-parse 53d3415c14d60f8f4bfca54bfbc5d5a667d7e724^{commit} Then I checked with Procmon tool from SysinternalsSuite, the command that west invoake git is correct |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Failed to run
west update
when I try to install Zephyr SDK first timewith the error
fatal: a54986aa98db4082ac56b582843bb5b5435208a6^commit: not a valid SHA1
Here is details of the error:
Question
Is it possible I can find pre-built binary somewhere? It is unusual that the ppl have to build the SDK from scratch. And I am trying to avoid to use PlatformIO with Zephyr.
Beta Was this translation helpful? Give feedback.
All reactions