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
I ran:
$ armds-2022.1.sh
followed by:
$ run_post_install_for_Arm_Development_Studio_2022.1.sh
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?
Hi David,
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:
//DS-Install=dir/sw/mappings/gold.elmap
Regards, Ronan
Hi Ronan,
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:
https://www.keil.com/dd2/arm/armcm4_fp/
Regards
Ronan
Thank you Ronan.
What packages did you install to get all the libraries? I'm trying to install in an Ubuntu 22 container and the list is quite long.