Skip to main content
WJANG
Associate
February 7, 2019
Question

Is it possible to complile project which was made by KEIL on TrueStudio ?

  • February 7, 2019
  • 4 replies
  • 1117 views

As you know, project made by MDK-ARM (KEIL) is not built on TrueStudio. Is there any method to convert this project into the form of TrueStudio? I really wanna compile it but KEIL is too explensive for me to buy.

    This topic has been closed for replies.

    4 replies

    After Forever
    Senior III
    February 7, 2019

    Create a new project in TrueStudio and gradually import the source codes and the headers, except the startup part (TrueStudio will have its own startup code). Then try to compile. If you are lucky it will compile with no issues, otherwise you may need to fix a thing or two (include directories, incompatibilities between Keil and GCC compilers, etc.).

    WJANG
    WJANGAuthor
    Associate
    February 7, 2019

    Thank you for your comment. This project includes freertos. Additionally, it uses the way of Cmake. Do you think it is possible to convert to Truestudio..?

    AvaTar
    Senior III
    February 7, 2019

    If TrueStudio support Keil project import, which I doubt.

    If a direct import was nor possible, such things never worked out for me. BTW, Keil's link library format is incompatible with gcc (TrueStudio).

    Creating a new project with proper settings in TrueStudio and manually adding all required sources will be faster and easier.

    Pavel A.
    February 7, 2019

    > Additionally, it uses the way of Cmake.

    You can use Cmake to generate a project, then import it into Eclipse, build it from Eclipse and forget about Cmake. Or just re-create the project without Cmake.

    This may be hard and cumbersome for a beginner (and not only) so consider outsourcing this task to a consultant. (of course it won't be free...)

    -- pa