i.MX Forums i.MX RT Command line compiling for RT1176

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

i.MX Forums i.MX RT Command line compiling for RT1176

ソリューションへジャンプ
3,358件の閲覧回数
MN19000
Contributor III

i.MX Forums i.MX RT

I am using MIMXRT1170 MCU.

I need to compile my project from command line. Please send me instruction

0 件の賞賛
返信
1 解決策
3,237件の閲覧回数
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @MN19000

From the batch file you share, I see you are using a different path for the toolchain and for the IDE you are using. Please update the path to: "C:\nxp\MCUXpressoIDE_11.7.1_9221\ide\tools\bin" to make it match with the IDE version you are using.

Please try this and let me know if the issue persists.

BR,
Edwin.

元の投稿で解決策を見る

4 返答(返信)
3,341件の閲覧回数
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @MN19000,

Please look into the following post, as I believe it might just be what you are looking for!

https://mcuoneclipse.com/2017/08/03/building-eclipse-and-mcuxpresso-ide-projects-from-the-command-li...

BR,
Edwin.

0 件の賞賛
返信
3,292件の閲覧回数
MN19000
Contributor III

Hi @EdwinHz 

I have used an example code, but it is failing due to launching Eclipse IDE.
Here is the batch file
 
-------------
 

# Batch file to build an Eclipse project from the command line on Windows

# Example for using MCUXpresso IDE
 
# path to GNU tools and compiler: arm-none-eabi-gcc.exe, ....
SET TOOLCHAIN_PATH=C:\nxp\MCUXpressoIDE_10.0.2_411\ide\tools\bin
 
# variable to the command line Eclipse IDE executable
SET IDE=C:\nxp\MCUXpressoIDE_11.7.1_9221\ide\mcuxpressoidec.exe
 
ECHO Extending PATH if not already present
ECHO %PATH%|findstr /i /c:"%TOOLCHAIN_PATH:"=%">nul || set PATH=%PATH%;%TOOLCHAIN_PATH%
 
ECHO Launching Eclipse IDE

"%IDE%" -nosplash --launcher.suppressErrors -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data "c:\tmp\wsp" -build evkmimxrt1170_freertos_event_cm7

I have followed the instruction  on the link, but it is still not working
 
WARNING: No Project matched "evkmimxrt1170_freertos_event_cm7". Skipping...
 
-----------
C:\CL_NXP\CommandLine_Test>ECHO Launching Eclipse IDE
Launching Eclipse IDE
 
C:\CL_NXP\CommandLine_Test>"C:\nxp\MCUXpressoIDE_11.7.1_9221\ide\mcuxpressoidec.exe" -nosplash --launcher.suppressErrors -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data "c:\tmp\wsp" -build evkmimxrt1170_freertos_event_cm7
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
WARNING: No Project matched "evkmimxrt1170_freertos_event_cm7". Skipping...
===========
0 件の賞賛
返信
3,238件の閲覧回数
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @MN19000

From the batch file you share, I see you are using a different path for the toolchain and for the IDE you are using. Please update the path to: "C:\nxp\MCUXpressoIDE_11.7.1_9221\ide\tools\bin" to make it match with the IDE version you are using.

Please try this and let me know if the issue persists.

BR,
Edwin.

3,199件の閲覧回数
MN19000
Contributor III
Thank you, that solved my issue.
0 件の賞賛
返信