Manage different Memory Settings with Build Configuration

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User11996
Level 3
Level 3
Hi.

Is it possible to use two different memory setting, that i can manage with a configuration.

I need a memory setting for a normal compile without bootloader,
and a memory setting to compile with bootloader (exclude 0xC000000-0xC00FFFF and Vector-table @ 0xC010000).

So i add an new Build Configuration:
2744.attach

But if i switch between the configuration's, only compiler settings are different.

The memory setting seems to be independent of the configuration
2745.attach

Is there a way to switch the memory setting, by using the configuration????
0 Likes
2 Replies
jferreira
Employee
Employee
10 sign-ins 5 sign-ins First like received
Hi,

You can try to have two linker files and associate each of them to two different build configuration in the linker options.

Regards,
Jesus
0 Likes
User11996
Level 3
Level 3
Hi Jesus.

Great. That works.

Thanks a lot... 🙂
0 Likes