Hi all,
I'm trying to configure Visual Studio Code to work in Linux emvironment. As many others I'm using a Docker Container where I install the tools and then open Visual Studio code.
I manage to install MCUXpresso ide (so that I can keep using toolchain, cmake, make, mcu-fixelf and other tools) and MCUXpresso Installer, which is required from MCUXpresso for VS Code.
When i open the project in my Dev Container it seems to work. I just get a message that I need to reload the windos in order ot use the MCUXpresso for VS Code extension:
I reload it and then I get a message that dependencies cannot be checked because MCUXpresso installer is busy.
And it seems busy forever..
once I do it I try to use the MCUXpresso Installer but it seem eternally busy...
已解决! 转到解答。
Hi,
I think that I fixed the issue. For any other docker users.
How to install MCUXpresso Installer in Dockerfile:
- You need to use a user (as sudoer)
- Include packages installed with apt-get
* dbus
* libnss3
* libatk1.0-0
* libatk-bridge2.0-0
* libcups2
* libdrm2
* libgtk-3-0
* libgbm1
- Create recursively folder /var/run/dbus/
- instal python library west
- Unpack deb MCUXpresso Installer in the user home folder (don't forget to change owner to this user)
- On starting the container you should start dbus with:
Hi @pejo,
Firstly, please confirm that all MCUxpresso dependences has been installed in MCUxpreso installer:
Also, when all installations are ended, could you verify if when you load the page now the loading is completed?
BR
Habib
Hi,
I think that I fixed the issue. For any other docker users.
How to install MCUXpresso Installer in Dockerfile:
- You need to use a user (as sudoer)
- Include packages installed with apt-get
* dbus
* libnss3
* libatk1.0-0
* libatk-bridge2.0-0
* libcups2
* libdrm2
* libgtk-3-0
* libgbm1
- Create recursively folder /var/run/dbus/
- instal python library west
- Unpack deb MCUXpresso Installer in the user home folder (don't forget to change owner to this user)
- On starting the container you should start dbus with:
Additionally I tried to run MCUXpressoInstallerCLI from the command line and this is what I'm getting:
[3225:0310/082026.037036:ERROR:ozone_platform_x11.cc(245)] Missing X server or $DISPLAY
[3225:0310/082026.037078:ERROR:env.cc(258)] The platform failed to initialize. Exiting.
Segmentation fault (core dumped)
Hi @pejo,
As mentioned in the following thread, there is no documentation related to a docker with all dependencies for vscode-for-mcux. I recommend looking into support for the Docker, as this issue is mainly related to the Docker dependencies, which is out of scope for the free technical support channel. But you can find more information inside the thread.
BR
Habib