Feature Request - MCU Settings Dialog according to build configuration

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

Feature Request - MCU Settings Dialog according to build configuration

738 次查看
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 项奖励
回复
1 回复

728 次查看
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 项奖励
回复