Sunday, April 29, 2018

MBED how to fix: tools.utils.NotSupportedException: No linker script found.

You try to export the MBED project to Eclipse, but the following error raise:

    raise NotSupportedException("No linker script found.")
tools.utils.NotSupportedException: No linker script found.

To fix this problem append " --source $PWD" to command line.

mbed export -m NUCLEO_F429ZI -i eclipse_gcc_arm --source $PWD

1 comment:

  1. Thank you for your answer!

    That means you must append the path to current project directory AND the path to mbed-os directory (if it is not included in project), alike you set this parameters in compilation string.
    If you call the command IN project directory and mbed-os is included, the export will be fine by default.

    ReplyDelete