mirror of https://github.com/thesofproject/sof.git
76e650e565
Zephyr commit b3b8360f3993 ("west: runners: Add `west rtt` command with pyocd implementation") adds some functionality to the west commands making use of the pipe ("|") operator for function return type hinting. As per PEP 604 [1], this operator can be used for writing union types starting from python 3.10. Since the SOF windows builds use python 3.8 this leads to the CI failing. To fix this, switch to using python 3.10. This is not a problem for Linux CI jobs as they already use python 3.10. The following is a snippet of a failed windows CI job regarding this: File "D:\a\sof\sof\workspace\zephyr\scripts/west_commands\runners\core.py", line 780, in ZephyrBinaryRunner def get_rtt_address(self) -> int | None: TypeError: unsupported operand type(s) for |: 'type' and 'NoneType' [1]: https://peps.python.org/pep-0604/ Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com> |
||
---|---|---|
.github | ||
app | ||
doc | ||
installer | ||
keys | ||
lmdk | ||
posix/include | ||
scripts | ||
smex | ||
src | ||
submanifests | ||
test | ||
third_party/include | ||
tools | ||
xtos/include | ||
zephyr | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
CMakeLists.txt | ||
CODEOWNERS | ||
Kconfig | ||
Kconfig.sof | ||
Kconfig.xtos-build | ||
Kconfig.xtos-dbg | ||
Kconfig.zephyr-log | ||
LICENCE | ||
README.md | ||
uuid-registry.txt | ||
versions.json | ||
west.yml |
README.md
Sound Open Firmware
Status
Documentation
See docs
Running the tests
See unit testing documentation
Deployment
TODO: Add additional notes about how to deploy this on a live system
Contributing
See Contributing to the Project
License
This project is licensed under the BSD Clause 3 - see the LICENCE file for details