6 years, 2 months ago.

LPC1769 not supported by mcuxpresso

Hello

I try to import mbed-os-example-blinky in mcuxpresso but when i run mbed export -i mcuxpresso -m LPC1769

He return

[mbed] Working path "/home/simon/mbed-os-example-blinky" (program)
[mbed] Exec "/usr/bin/python -u /home/simon/mbed-os-example-blinky/mbed-os/tools/project.py -i mcuxpresso -m LPC1769 --source ." in "/home/simon/mbed-os-example-blinky"
WARNING: MBED_ARM_PATH set as environment variable but doesn't exist
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]
                  [--ignore IGNORE]
project.py: error: LPC1769 not supported by mcuxpresso
[mbed] ERROR: "/usr/bin/python" returned error.
       Code: 2
       Path: "/home/simon/mbed-os-example-blinky"
       Command: "/usr/bin/python -u /home/simon/mbed-os-example-blinky/mbed-os/tools/project.py -i mcuxpresso -m LPC1769 --source ."
       Tip: You could retry the last command with "-v" flag for verbose output
---

And from the online compiler export mcuxpresso are not available

If you can help me thanks you.

Hi Simon, are you using the LPC1769 or the LPC1768?

Edit: I was able to reproduce the issue, I am looking into it

- Jenny, team Mbed

posted by Jenny Plunkett 28 Aug 2018

1 Answer

6 years, 2 months ago.

Hi Simon,

Please see the Pull Request I have created against the Mbed OS repository here: https://github.com/ARMmbed/mbed-os/pull/7916

Please let me know if you have any questions!

- Jenny, team Mbed

If this solved your question, please make sure to click the "Thanks" link below!

Hi again Simon, can you please let me know if the fix provided in the following PR works for you?: https://github.com/ARMmbed/mbed-os/pull/7916

You can pull this specific pull request fix into your local copy of Mbed OS with the following commands (from within your offline Mbed OS project directory):

cd mbed-os
git fetch origin pull/7916/head:LPC1769-fix
git checkout LPC1769-fix

Then export to MCUXpresso for the LPC1769 target with: mbed export -i mcuxpresso -m lpc1769

Thanks!

- Jenny, team Mbed

posted by Jenny Plunkett 12 Sep 2018