Command Line mcuxpresso ide doesnt work when used in ci

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

Command Line mcuxpresso ide doesnt work when used in ci

1,610 次查看
manasvb
Contributor III

Hi

Following is the command line I use to run build my project

``

      SET IDE_PATH=C:\nxp\MCUXpressoIDE_11.7.1_9221
      SET IDE=%IDE_PATH%\ide\mcuxpressoidec.exe
      mkdir workspace
      "%IDE%" -nosplash --launcher.suppressErrors -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data workspace -import project
      "%IDE%" -nosplash --launcher.suppressErrors -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data workspace -cleanBuild my_project/Release
``
 
This works fine, I have also placed sdk.zip in sdk_packages folder.
The problem is when I use the same machine which I used to run these commands, as a CI agent/runnner(am using gitlab-ci/cd) at that time it throws me an error that it cannot find linker file and a ton of java errors. (These same errors were observed when I ran these commands on cmd_line locally and had forgot to place sdk.zip in its respective folder). But now that I have placed in the folder and it works locally, why does it fail when I use the same machine as CI agent/runner
 
标签 (1)
0 项奖励
回复
1 回复

1,561 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @manasvb 

Sorry I haven't test on CI, there is <MCUXpresso_IDE_Command_Line_User_Guide.pdf>, you can refer to, I attach it for you.

 

BR

Alice

0 项奖励
回复