Skip to content

Exporting to MCUXpresso IDE results in an error #8977

@fluidblue

Description

@fluidblue

Description

When exporting a project to MCUXpresso IDE using mbed-cli, e.g. with

mbed export -i mcuxpresso -m LPC11U68

the command results in an error.
The error states that LPC11U68 is not supported by mcuxpresso, however mbed export --supported shows that this microcontroller is supported on mcuxpresso.

Some details: mbed-cli v1.8.3 was used on the project mbed-os-example-blinky.

This also happens for other LPC microcontrollers, e.g. LPC11U35_401.

Why is the export failing?
How to solve it?

Edit: For some LPC microcontrollers, the export works (e.g. LPC1768), but for others it doesn't work (e.g. LPC11U35_401 and LPC11U68)

Appendix:
Error message from mbed-cli:

[mbed] Working path "/Users/user/Desktop/test/mbed-os-example-blinky" (program)
Scan: mbed-os-example-blinky
usage: project.py [-h] [-m MCU] [-i IDE] [-c] [-p PROGRAM] [-n PROGRAM] [-b]
                  [-L] [-S [{matrix,ides}]] [--update-packs] [-E]
                  [--build BUILD_DIR] [--source SOURCE_DIR] [-D MACROS]
                  [--profile PROFILE] [--app-config APP_CONFIG] [-z]
                  [--ignore IGNORE]
project.py: error: LPC11U68 not supported by mcuxpresso
[mbed] ERROR: "/Applications/MBEDCLI.app/Contents/Resources/miniconda/bin/python" returned error.
       Code: 2
       Path: "/Users/user/Desktop/test/mbed-os-example-blinky"
       Command: "/Applications/MBEDCLI.app/Contents/Resources/miniconda/bin/python -u /Users/user/Desktop/test/mbed-os-example-blinky/mbed-os/tools/project.py -i mcuxpresso -m LPC11U68 --source ."
       Tip: You could retry the last command with "-v" flag for verbose output
---

Issue request type

[ ] Question
[ ] Enhancement
[X] Bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions