cancel
Showing results for 
Search instead for 
Did you mean: 

STM32IDE Toolchain using 2 Compiler in one Project

koster
Associate III

I would like to use 2 Compiler in one project, the old compiler for the bootloader, where addresses should not change for application and the other for the application to use a newer version.

First I tried to select either or from the C/C++ Build -> settings -> MCU Toolchain -> Fixed where I can select GNU Tools for STM32... or my own installed GNU, which I added in the Toolchain Manager.

But the IDE always uses the compiler which folder is listed first in PATH.

Final target is to select the compiler based on folders.

is there a possiblity?

1 REPLY 1
Semer CHERNI
ST Employee

Hello @koster 

First let me thank you for posting.
To be able to use two different toolchains for the same project, you need to set a different toolchain for each debug configuration.

BR,

Semer.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.