Is it possible to build PSDK FreeRTOS samples using Keil MDK Community Edition?

Completed

Comments

5 comments

  • DJI Developer Support
    Hello, the sample code we currently provide only supports Keil5 direct compilation, unfortunately, does not support CubeIDE. You may be able to use the community version for development, and our local environment also uses the community version of KEIL5.
    0
    Comment actions Permalink
  • Takuma Watanabe

    Hello, thank you very much for the reply.

    >You may be able to use the community version for development, and our local environment also uses the community version of KEIL5.

    Could you please tell me how to do that? If I use the community edition with the compiler version 5.06, I've got the following error.

    --------------------------------------------------------------------------------------------------------------
    Build started: Project: mdk_app
    *** Warning: The configured compiler version '5.06 update 6 (build 750)' does not support the selected User Based Licensing technology.

    Error: C9555E: Failed to check out a license.LICENSE ERROR (R203(1): EVALUATION PERIOD EXPIRED)
    Check that your license details are correct in the License Management dialog of MDK. Additional information is available at:
     http://www.keil.com/support/man/docs/license/license_management.htm
    --------------------------------------------------------------------------------------------------------------

    Here is the version information of my development environment.

    IDE-Version:
    μVision V5.40.0.0
    Copyright (C) 2024 ARM Ltd and ARM Germany GmbH. All rights reserved.

    License Information:
    **********
    **********
    User-based license: Keil MDK Community (non-commercial free of charge)
    Valid until: Jun 1 2033. Cached until: Sep 25 2024

    Tool Version Numbers:
    Toolchain:        Keil MDK Community (non-commercial free of charge  Version: 5.40.0.3
    Toolchain Path:    C:\Users\*****\AppData\Local\Keil_v5\ARM\ARM_Compiler_5.06u6\Bin
    C Compiler:         Armcc.exe        V5.06 update 6 (build 750)
    Assembler:          Armasm.exe        V5.06 update 6 (build 750)
    Linker/Locator:     ArmLink.exe        V5.06 update 6 (build 750)
    Library Manager:    ArmAr.exe        V5.06 update 6 (build 750)
    Hex Converter:      FromElf.exe        V5.06 update 6 (build 750)
    CPU DLL:               SARMCM3.DLL          V5.40.0.3
    Dialog DLL:         TCM.DLL              V1.56.4.0
    Target DLL:             STLink\ST-LINKIII-KEIL_SWO.dll      V3.3.0.0
    Dialog DLL:         TCM.DLL              V1.56.4.0

    0
    Comment actions Permalink
  • DJI Developer Support
    Hello, after activating the community version, you can use this compilation chain https://pan-sec.djicorp.com/s/ZaJjmqbz7So7p4Z, and place it in the path: Keil_v5\ARM\ARMCC. In fact, this problem is beyond the technical support of our SDK, and it does not belong to the SDK.
    0
    Comment actions Permalink
  • Takuma Watanabe

    Thank you for the reply. This is not a question but I leave a comment for those who have a similar problem.

    I found the following article in Arm Community. According to this article, the current Keil MDK Community license is called User Based License (UBL) and the compiler version 5 does not work with UBL. I think there was non-UBL free license which can work with the compiler version 5, but currently the Keil MDK Community license policy has changed, as mentioned in this article. In my conclusion, the sample code cannot be compiled with the Keil MDK Community Edition except that you already have an old-style free license.

    https://community.arm.com/support-forums/f/keil-forum/55906/mdk-community-license-and-arm-compiler-5
    >Also, as you say, Arm Compiler 5 is not supported in combination with a UBL license.

    0
    Comment actions Permalink
  • DJI Developer Support
    Hello, thank you. Due to possible deviations in the translation software, we misunderstood your meaning. We are very sorry for this. At present, we have roughly understood your intention.
    0
    Comment actions Permalink

Please sign in to leave a comment.