Makefile execution generated by MCUxpresso IDE

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Makefile execution generated by MCUxpresso IDE

329件の閲覧回数
Jeevan
Contributor III

Hi team,

We have used MCUxpresso IDE and imported a sample SDK example for imxrt1170 eval board and built the project file.

The MCUxpresso IDE itself has auto generated a makefile. So my query is how to execute this make file in my windows system without using MCUxpresso,like by using make all, make clean and make commands to generate the binary (.axf file here for MCUxpresso).

I have even attached the Makefile also just for reference below.

0 件の賞賛
2 返答(返信)

294件の閲覧回数
ErichStyger
Senior Contributor V

The auto-generated make file (managed make) in Eclipse is not portable. You could use the make file in the SDK (non-IDE), or better, use CMake to have a portable build system. I'm using the approach described in https://mcuoneclipse.com/2023/04/19/building-a-triumvirate-from-eclipse-cdt-to-cmake-cmd-and-visual-... to have both IDE, make and CMake for the builds.

297件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @Jeevan ,

  I think you can refer to the gcc project to build it in the SDK, as that also use the makefile without the IDE.

 About the gcc build method, you can refer to the sdk document:

SDK_2_14_0_MIMXRT1170-EVK\docs\Getting Started with MCUXpresso SDK for MIMXRT1170-EVK.pdf

chapter 6 Run a demo using Arm® GCC

You also can refer to my ubuntu build method document:

https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/RT-Linux-SDK-build-based-on-Ubuntu/ta-p/1690185

Wish it helps you!

If you still have question about it, please kindly let me know.

Best Regards,

Kerry

0 件の賞賛