Skip to content
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

How to import Keil project so it uses arm compiler and arm debugger from Keil? #30

Open
KenthJohan opened this issue Jan 20, 2025 · 0 comments
Assignees
Labels
question Further information is requested

Comments

@KenthJohan
Copy link

KenthJohan commented Jan 20, 2025

How to import Keil project so it uses arm compiler and arm debugger from Keil?
I have to use the tools from Keil because those are FlexNet license activated.

Initializing Arm Debugger...
(ERROR:RPCENG0011): Unable to acquire license for debug session. The licensing environment appears to be unconfigured, please ensure you have launched the Arm Development Studio IDE and completed the Product Setup Wizard.

Where do I configure the project to use Keil FlexNet activated license debugger?

set
AC6_TOOLCHAIN_6_19_0=C:\Keil_v5\ARM\ARMCLANG\bin
AC6_TOOLCHAIN_6_20_0=C:\Keil_v5\ARM\ARMCLANG\bin

It refuses to use compiler path to C:\Keil_v5\ARM\ARMCLANG\bin

    Run Build Command(s): C:/Users/u-joh-0045/.vcpkg/artifacts/2139c4c6/tools.ninja.build.ninja/1.12.0/ninja.exe -v cmTC_ae918
    [1/2] c:\Users\u-joh-0045\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.23.0\bin\\armclang.exe   --target=arm-arm-none-eabi -mcpu=cortex-m0plus -mfpu=none -o CMakeFiles\cmTC_ae918.dir\testCCompiler.c.obj -c C:\dev\project_test_stm32g031k8\demo1\tmp\1\CMakeFiles\CMakeScratch\TryCompile-7rj4qe\testCCompiler.c
    FAILED: CMakeFiles/cmTC_ae918.dir/testCCompiler.c.obj 
    c:\Users\u-joh-0045\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.23.0\bin\\armclang.exe   --target=arm-arm-none-eabi -mcpu=cortex-m0plus -mfpu=none -o CMakeFiles\cmTC_ae918.dir\testCCompiler.c.obj -c C:\dev\project_test_stm32g031k8\demo1\tmp\1\CMakeFiles\CMakeScratch\TryCompile-7rj4qe\testCCompiler.c
    armclang: error: Failed to check out a license.
    The license file could not be found. Check that ARMLMD_LICENSE_FILE is set correctly.
    armclang: note: 
ARMLMD_LICENSE_FILE is not set. You must set this to the path to your license.
    armclang: note: 
Information about this error is available at https://developer.arm.com/support/lic87/m1
     General licensing information is available at https://developer.arm.com/support/licensing/
     If you need further help, provide this complete error message to your supplier or to Arm via https://services.arm.com/support/s/contactsupport
     - ARMLMD_LICENSE_FILE: unset
     - LM_LICENSE_FILE: unset
     - ARM_PRODUCT_DEF: unset
     - ARM_PRODUCT_PATH: unset
     - ARM_TOOL_VARIANT: unset
     - Product location: c:\Users\u-joh-0045\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.23.0\sw\mappings
     - Toolchain location: c:\Users\u-joh-0045\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.23.0\bin
     - Selected tool variant: product
    armclang: note: 
 - Checkout feature: compiler5
     - Feature version: 5.0202410
     - Flex error code: -1
    Product: Arm Compiler for Embedded 6.23 Professional
    Component: Arm Compiler for Embedded 6.23
    Tool: armclang [5f103000]
    
    ninja: build stopped: subcommand failed.
    
    

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:22 (project)



CMake Error at C:/dev/project_test_stm32g031k8/demo1/tmp/demo1+Target1/src/demo1+Target1-stamp/demo1+Target1-configure-.cmake:47 (message):
  Stopping after outputting logs.


ninja: build stopped: subcommand failed.
+------------------------------------------------------------
Build summary: 0 succeeded, 1 failed - Time Elapsed: 00:00:02
+============================================================
Completed: cbuild failed with exit code 1
Build complete
 *  Terminal will be reused by tasks, press any key to close it
@jkrech jkrech added the question Further information is requested label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants