How to add GNU Toolchains to existing MCUXPresso Toolchains?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to add GNU Toolchains to existing MCUXPresso Toolchains?

923 Views
misterbee
Contributor II

So I have been using MCUXPresso toolchains with the IDE. So far so good.

But in long run I don't really like the eclipse based IDE in this toolchains.

So I want to add GNU toolchains, so to compile the code either with Makefile or CMake using GNU ARM cross compiler and I can use my own favorite editor like VS code or Vim. And in future to setup Continous Integration 9CI). How can I achieve this?

 

 

0 Kudos
3 Replies

919 Views
frank_m
Senior Contributor III

How about that ?

frank_meyer_0-1655288103764.png

 

0 Kudos

904 Views
misterbee
Contributor II

Thanks for the response, I tried, it generated the Makefile. But when I run it, it fails. Have you tried this before?

0 Kudos

902 Views
frank_m
Senior Contributor III

No, I haven't tried that.

I either use the IDE and the "integrated" project management, or I used plain make files from the command line. The latter is not very difficult especially for smaller or mid-sized projects. There are plenty of make tutorials around on the web.

Commercial users pay 4-digit prices for licenses (like my company), so they rarely change the toolchain/IDE. In that environment, it makes sense to stick to the IDE's proprietary project management and build process.

This "makefile project" is a feature of the underlying Eclipse, and not MCUXpresso specific. I have seen tutorials for that as well, but never had the need for such a "hybrid" project.

> But when I run it, it fails.

What, exactly ?

0 Kudos