Using MCUXpresso build project in Eclipse IDE

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Using MCUXpresso build project in Eclipse IDE

跳至解决方案
2,252 次查看
Freshna
Contributor I

Hello,

This is first time I am working with NXP microcontrollers and MCUXpresso IDE, But all our projects till now are with Eclipse IDE. No we are planning to do the configuration part in MCUXpresso and still do the development and build in Eclipse IDE. I am using i.MX RT1010 MCU. 

I downloaded MCUXpresso SDK and have taken LED blinky example and able to build it in MCUXpresso, now if I want to take this same build project to Eclipse and build it will it be possible. Any suggestions or document would be helpful. Thanks in advance.

0 项奖励
回复
1 解答
2,150 次查看
ErichStyger
Specialist I

I suggest you have a read at

Building a Triumvirate: From Eclipse CDT to CMake, CMD and Visual Studio Code | MCU on Eclipse

which shows how to use CMake both natively in Eclipse and outside, plus having access to all the MCUXpresso features like the configuration tools.

I hope this helps,

Erich

在原帖中查看解决方案

0 项奖励
回复
6 回复数
2,151 次查看
ErichStyger
Specialist I

I suggest you have a read at

Building a Triumvirate: From Eclipse CDT to CMake, CMD and Visual Studio Code | MCU on Eclipse

which shows how to use CMake both natively in Eclipse and outside, plus having access to all the MCUXpresso features like the configuration tools.

I hope this helps,

Erich

0 项奖励
回复
2,106 次查看
Freshna
Contributor I

 

Hello Enrich,

Am getting an error(please refer the attached image) while trying to build my project through command after following all the steps mentioned. Any guidance on this

0 项奖励
回复
2,102 次查看
ErichStyger
Specialist I

It seems you are using a different/wrong compiler. Either use the compiler which comes with the IDE or adjust the libraries you want to link with.

0 项奖励
回复
1,976 次查看
Freshna
Contributor I

Hello Enrich,

Thank for the help. Now through CMake build am able to build in both MCUXpresso and Eclipse IDE but for debugging is there anyway I can use NXP LinkServer connection or it can be done only with Jlink?

0 项奖励
回复
1,966 次查看
ErichStyger
Specialist I

You can use and gdb server based debug probe, which includes the LinkServer which has added command line and gdb server capabilities recently, see https://mcuoneclipse.com/2023/05/14/linkserver-for-microcontrollers/

0 项奖励
回复
2,226 次查看
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, my name is Pavel, and I will be supporting your case, unfortunately, there is no information about the migration to Eclipse from NXP, but I found this thread maybe could help you.

Tutorial: Creating Bare-bare Embedded Projects with CMake, with Eclipse included | MCU on Eclipse

Best regards,
Pavel

 

0 项奖励
回复