mylonics / zephyr-ide

Apache License 2.0
16 stars 2 forks source link

Can you add the selection of Zephyr version on the GUI #9

Closed IOT4566 closed 1 month ago

IOT4566 commented 1 month ago

Can you add the selection of Zephyr version on the GUI,For example, the current default installation of Zephyr is the latest version 3.6, but I want to use LTS version 2.7.6, and during development, I also want to switch and verify before these two versions

rijesha commented 1 month ago

I dont really know the best way of implementing this. I could add a 2.7.6 template and call west init again after the user has deleted the .west folder.

IOT4566 commented 1 month ago

I dont really know the best way of implementing this. I could add a 2.7.6 template and call west init again after the user has deleted the .west folder.

Allow users to choose the desired zephyr version during the west init phase. and add a button to switch the Zephyr version after the Reset extension button?

IOT4566 commented 1 month ago

002

You can also refer to the ESP-IDF extension

rijesha commented 1 month ago

I added the ability to select a version during west init. So if you want to change the version just run west init and west update again. The change is in v1.0.14.

IOT4566 commented 1 month ago

https://github.com/mylonics/zephyr-ide/assets/169084509/5b1e6e86-03c7-43c5-85c3-d9856ef46a2b

001 002

rijesha commented 1 month ago

I forgot to package it properly. I have issued a fix on 1.0.17.

IOT4566 commented 1 month ago

I forgot to package it properly. I have issued a fix on 1.0.17.

I forgot to package it properly. I have issued a fix on 1.0.17.

001 002 error here still

IOT4566 commented 1 month ago

it cann't start now on 1.0.17

rijesha commented 1 month ago

Ok. I think I have added it correctly now in 1.0.18. It should be up in a few minutes.

IOT4566 commented 1 month ago

Ok. I think I have added it correctly now in 1.0.18. It should be up in a few minutes.

install 1.0.18 and restart vscode ,it is run well.

but, I think it would be better to handle the west init : first, let the user choose the version number, such as 3.6 or 2.7.6 (LTS) or other version, next there should be an option to list all the supported architectures for that version in the western yml step, and provide a checkbox for users to select multiple. Finally, generate the western yml file based on the user's selection and initialize it for example, user select nordic, espressif and telink then the west.yml will include flowing module .- hal_noridic .- hal_espressif .- hal_telink

rijesha commented 1 month ago

Thanks for the issue and testing the code. I will close this issue. If you would like this new feature please make a new issue and include a list of what would be user selectable. Also feel free to make PRs as well.

IOT4566 commented 1 month ago

005

click west init , select nrf connect config, the error here

IOT4566 commented 1 month ago

006 the west.yml file

rijesha commented 1 month ago

I pushed an update just now to remove the

self: 
    path:

completely