Hi, I am trying to run armclang on Ubuntu (running in WSL2 on Windows 11).
I have downloaded and installed Arm Dev Studio 2022.1 for Linux, by following the instructions in the Getting Started Guide: getting_started_101469_2021.2_00_en.pdf
The install appears to have completed ok, but I don't know how to add the license. One would normally use the IDE to do so but I can't get the GUI to work in WSL2 (theoretically WSL2 on Windows 11 supports graphical apps).
Is it possible to configure the license from the command line?A long shot: has anyone succeeded in running Arm Dev Studio in WSL2 on Windows 11, graphically?
I've never tried on WSL2 so it may just not work, but the following may help.
1) Additional Linux libraries are required:https://developer.arm.com/documentation/101469/2022-1/Installing-and-configuring-Arm-Development-Studio/Additional-Linux-libraries
2) To set license (and product edition) define the following environment variables:export ARMLMD_LICENSE_FILE=<path-to-license-file-or-server>export ARM_PRODUCT_DEF=<path-to-mapping-file>
where the mapping file is from your installation folder, and matches your edition. For example:
Thank you for your answer. armclang is now working in WSL2. However, as the GUI is not working, I cannot install the Arm Cortex M4 CMSIS pack. Is there a way to do that from the command line?Regards, David
You could clone the repos:https://github.com/ARM-software/CMSIS_5https://github.com/ARM-software/CMSIS-DSP
And point to them with the CMSIS_PACK_ROOT environment variable.
Device specific packs can be downloaded and unzipped as appropriate (filename is .pack, but format is .zip). For example:
Thank you Ronan.