MCUXpresso | Build Artifact | Executable type changes

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

MCUXpresso | Build Artifact | Executable type changes

跳至解决方案
257 次查看
Balaji_KG
Contributor II

Hi,

  Currently, I am working on LPC1788 Open library package. I can't able to generate a hex file because of the static library option. I need to change the build artifact type from static library to executable method. Is there any possible?

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
239 次查看
HangZhang
NXP Employee
NXP Employee

Hi @Balaji_KG 

Yes, it is possible to change the build artifact type from static library to executable. You can do this by modifying the project settings in MCUXpresso.

Here are the steps:

1. Open your project in MCUXpresso.
2. Go to Project -> Properties.
3. In the Properties window, go to C/C++ Build -> Settings.
4. In the Settings tab, you will see a field called "Build Artifact".
5. Change the "Build Artifact" from "Static Library" to "Executable".
6. Click on "Apply" and then "OK" to save the changes.
7. Now, try to build your project again. It should generate a hex file instead of a static library.

Hope this will help you.

BR

Hang

在原帖中查看解决方案

1 回复
240 次查看
HangZhang
NXP Employee
NXP Employee

Hi @Balaji_KG 

Yes, it is possible to change the build artifact type from static library to executable. You can do this by modifying the project settings in MCUXpresso.

Here are the steps:

1. Open your project in MCUXpresso.
2. Go to Project -> Properties.
3. In the Properties window, go to C/C++ Build -> Settings.
4. In the Settings tab, you will see a field called "Build Artifact".
5. Change the "Build Artifact" from "Static Library" to "Executable".
6. Click on "Apply" and then "OK" to save the changes.
7. Now, try to build your project again. It should generate a hex file instead of a static library.

Hope this will help you.

BR

Hang