-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
[bug] Eide extension control by docker #376
Comments
Assume your build folder is If you want to auto-build your project, you need a builder.params file, in general it is located at: If you not found this file, you need to generate it first by using eide plug-in: And then export your unify_builder: Here are some equivalent commands:
If you want to change compiler options, you need to edit builder.params directly, and then rebuild project. |
Thanks for the information. Can builder.params controlled by docker, bcoz we are creating docker image which need to have the environment to execute the eide commands? |
and you can modify some json fields to control the builder. |
is it possible to generate builder params for a project which requires unify_builder to build it, scenario : I'm trying to install vsocde in a ubuntu based docker image, and then installed eide extension to that vscode, once i get the code, just like in gui is there any possibility to load the project based on .uvprojx ? in terms of windows, when we load project in vscode the eide.json is having all the file, gcc, .flash id and other resources, is it possible to replicate the same in docker based image when trying to build the code. as of now loading the code, and inserting hard coded builder params, hard coded eide json. is it possible to generate them dynamically based on .uvprojx file that we're gonna have in the project folder ? |
Sorry, we don't support this. |
Hi @github0null need a small information regarding the unify_builder, as I am trying to create a pipeline with all the installations to build the application is there any way to install the unify builder and control it without docker in ubuntu os vscode? |
Hi @github0null can you please share your inputs. |
You need to export executable files search path by Um... According to my understanding, according to the previous record you are trying to put this plug-in into docker to automate the compilation of your mcu firmware, but this plug-in was not designed with these in mind at the beginning, you may encounter difficulties, because most operations require users to click the UI to complete, there is no command line interface. Perhaps you should try other alternatives, And then you can just use |
Hi @github0null , Thanks for the alternative suggestion, but right now I am not trying in the docker environment.
this is the pipeline code which used to install and export the requirements. Please have a look and suggest. |
I don't have any suggestion. |
What are you doing?
Tell us what you were doing when the bug occurred.
We are using eide extension in VS code and building the hex file for firmware application. To automate we are trying to create the docker image and try to add the repo code into eide project and execute the build, clean, and flash commands.
Describe the bug
A clear and concise description of what the bug is.
We tried multiple ways to build the docker images but we are not able to control the eide extension to automate the build process.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
We need to control eide extension to add and build the application.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
some logs, like:
<user_home>/.eide/cl.eide.log
The text was updated successfully, but these errors were encountered: