Arm Mbed OS support forum

Wrong toolchain being used by Mbed Studio 1.2

I have a project in which I’ve set the toolchain and target using the Mbed CLI.

The contents of my .mbed file are:

ROOT=.
TOOLCHAIN=GCC_ARM
TARGET=NUCLEO_F446ZE

When I do mbed compile from the command line, it uses the GCC_ARM toolchain as requested.

However, when I build from Mbed Studio it’s using the ARMC6 toolchain. Here’s an excerpt from the build output:

Building project device (NUCLEO_F446ZE, ARMC6)
Scan: device
Compile [ 3.8%]: PID_v1.cpp

I’m using Mbed Studio 1.2 on Mac OS 10.14.6, and I removed the older version before installing this one.

How can I fix this problem?

Hi Ned,

I think that is correct, because the ARMC6 is set as default and when you want to use GCC you need to set it in the MbedStudio - Switching to GCC.

BR, Jan

1 Like