-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add project based west.yml #23
Conversation
Adding version management based on state.json. Signed-off-by: Jean Alinei <[email protected]>
Tested on Ubuntu 20.04 Signed-off-by: Jean Alinei <[email protected]>
@valeros did you have time to get an eye on this one ? 😃 |
Hi @jalinei, sorry for the delay, I'll look into the PR soon. In the meantime, could you please put together a few projects to properly test out this new functionality? I'm especially interested in more advanced examples that involve project-specific |
My test branch is that one : https://github.com/jalinei/Core/tree/test_west
|
- Slight code restructure - Normalize single/double quote usage
Thanks, added. |
Resolves #825 Changes tracked in platformio/zephyr#23
…107) fix #104 fix #91 This PR leverages the work done in upstream platformio platformio/zephyr#23. With `platform ststm32` it is now possible to have project based west.yml permitting to install directly thingset dependencies It also drastically reduce install time as we can now selectively install required packages without installing all modules supported by zephyr. In parallel, debugger configuration has been updated to support debug sessions without needing to wipe the bootloader. Signed-off-by: Jean Alinei <[email protected]>
Fixes #22
Tested on Ubuntu 20.04, I don't have access to a Windows machine to check classic curses..
Questions from my side :
clear_deprecated_package
than inclean_up
to wipe.git
folder on windows machines ? I can add that commit when confirmed.install-deps.py
script called from tool manager ? With the current logic, there is no way to skip the initial download, that encompass all packages defined in framework basedwest.yml
which leads to unnecessary disk space occupation & installation times.(Example in Ststm32 platform : https://github.com/platformio/platform-ststm32/blob/develop/platform.py#L124)
My proposal would be to launch
install-deps.py
only fromplatformio-build.py
, this way a potential local west.yml can be detected and install time can be dramatically reduced (from 3GB+ to approx 600MB in our case).Opinion :
platformio-build.py
but in practice it does not change much.