Hello,
I want to automatically configure a flexLM license (<port>@<host_id>) via command line. (essential edition flexlm)
I edited the TOOLS.ini, but this doesn't work. I already tried to search AppData folder and registry, but couldnt find anything remotely relevant.
Especially weird: If I open uVision and open license managment, it tells me that the FlexLM-license is set up and I can borrow it, return it, etc. But when I want to compile I get:
.\build\linker\some.sct: error: L6047U: The size of this image (34944 bytes) exceeds the maximum allowed for this version of the linker
Same thing if I call the compiler / linker from command line (tells me something "lite").
Please help!
Best regards
The path to the MDK installation should not be a problem. With other words, the compiler (and linker.…) searches for the Tools.ini file 3 folder levels higher. The compiler is usually in C:\Keil_v5\ARM\ARMCLANG\bin and the Tools.ini in C:\Keil_v5\. When the Tools.ini file is not found there, the compilation tools also search in the same folder (bin), so you could try to copy the Tools.ini file there.
Please also check if you have other MDK or compiler installations on your PC. It might happen that you start the compiler from a different folder than the one you think.
Hello Hans,
your tipp pointed me in a good direction. Currently we use uVision in batchmode, because we have not set up our own buildsystem yet (cmake/ninja is planned)
The tools.ini has a separate item for uVision config. So, for anyone who might also want to create a portable package, you need to update the following items in tools.ini when deploying the package (for example using Python configparser library). Replace <> accordingly.
The rest should stay as the default. (my impression)