MCUXpresso | Build Artifact | Executable type changes

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MCUXpresso | Build Artifact | Executable type changes

Jump to solution
161 Views
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?

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
143 Views
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

View solution in original post

1 Reply
144 Views
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