Pre-Build steps don't happen until the end of the build.

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

Pre-Build steps don't happen until the end of the build.

547 Views
DougHoyt
Contributor II

I am running MCUXpresso IDE v11.6.0 [Build 8187] [2022-07-13] on my Windows 10 machine.  The MCU we are using is the LPC4076.

I am using a Pre-Build Step to copy either a DEBUG version of the memory.ldt or a RELEASE version of memory.ldt to ./linkscripts/memory.ldt so that I can make room for a bootloader in the RELEASE version.

The problem I am seeing is that the Pre-Build Step does not happen until AFTER the build is complete.

This requires me to build twice every time I switch my Active Build configuration back and forth and definitely does not work if I select the “Build All” option.

Do you know of any workaround for this issue?

0 Kudos
3 Replies

482 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @DougHoyt ,

How about reserved  a room for bootloader in memory by hand? 

 

BR

Alice

0 Kudos

403 Views
DougHoyt
Contributor II

Alice,

What good are Pre-Build steps if they don't happen Pre-Build?

Thanks,

Doug

0 Kudos

377 Views
Alice_Yang
NXP TechSupport
NXP TechSupport
0 Kudos