I created an MBED VSCode project like so
mbed new .
mbed target NUCLEO_F446RE
mbed toolchain GCC_ARM
mbed export -i vscode_gcc_arm
and am trying to upload a simple blinky example to my Nucleo F446RE board. I am using an St-Link V2 with the latest firmware.
Running the command mbed compile --flash
builds the project ok, but outputs
[mbed] ERROR: The target board you compiled for is not connected to your system.
Please reconnect it and retry the last command.
As far as I am concerned, my target board is supported and has the appropriate target name in the .mbed
file
# .mbed file
ROOT=.
TARGET=NUCLEO_F446RE
TOOLCHAIN=GCC_ARM
I can successfully upload code to the MCU using a different framework/build tool just fine, so I do believe there is a configuration I am missing in MBED.
Any ideas why my board isn’t being recognized?