Feature Request - MCU Settings Dialog according to build configuration

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

Feature Request - MCU Settings Dialog according to build configuration

729 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by acelery on Wed Aug 29 07:44:33 MST 2012
Hi, I wrote a few static libraries to abstract my applications from the underlying hardware, so if I want to build againts an LPC1343 I just -lLPC1343, and if I want to build againts an LPC1769 I just -lLPC1769. I have created two build configurations that target the different libraries, but after I change the build config I have to also change the target MCU in the "MCU Settings Dialog" (which does not support settings according to build configurations).

Could this feature please be added to a future release of LPCXpresso? I figure it's not to difficult to do.

Thanks a lot!

Regards,
Alex
0 Kudos
Reply
1 Reply

719 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Thu Aug 30 00:53:36 MST 2012
You might figure that, but you would be wrong!

Anyway, what you require can already be done for static libraries (though not for application projects), as per:

http://support.code-red-tech.com/CodeRedWiki/StaticLibraryMCU


Basically the method consists of creating a different build configuration for each required MCU, then modify the project properties (in particular the target CPU settings) for each build configuration. Do not try to do this by changing the overall project MCU setting.

Regards,
CodeRedSupport.
0 Kudos
Reply