Skip to content

"mbed export -m K64F -i eclipse_gcc_arm" fails on mbed-os 5.2 #3190

@TeroJaasko

Description

@TeroJaasko

Note: This is just a template, so feel free to use/remove the unnecessary things

Description

  • Type: Bug
  • Related issue:
  • Priority: Major

Bug

Target
K64F

Toolchain:
GCC_ARM

Toolchain version:

mbed-cli version:
0.9.10

meed-os sha:
e2617cc (HEAD, tag: mbed_lib_rev128, tag: mbed-os-5.2.1, tag: latest, origin/mbed-os-5.2)

DAPLink version:

Expected behavior
"mbed export -m K64F -i eclipse_gcc_arm" command produces functional project file just as it did previously.

Actual behavior
Export fails completely.

Steps to reproduce

/tmp/mbed-os-example-blinky$ mbed export -m K64F -i eclipse_gcc_arm
/usr/local/lib/python2.7/dist-packages/fuzzywuzzy/fuzz.py:35: UserWarning: Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning
  warnings.warn('Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning')
Scan: .
Scan: FEATURE_LWIP
Scan: FEATURE_BLE
Scan: FEATURE_COMMON_PAL
Scan: FEATURE_UVISOR
Scan: FEATURE_STORAGE
Scan: FEATURE_LOWPAN_ROUTER
Scan: FEATURE_NANOSTACK_FULL
Scan: FEATURE_THREAD_ROUTER
Scan: FEATURE_LOWPAN_BORDER_ROUTER
Scan: FEATURE_THREAD_END_DEVICE
Scan: FEATURE_LOWPAN_HOST
Scan: FEATURE_NANOSTACK
Scan: FEATURE_THREAD_BORDER_ROUTER
Traceback (most recent call last):
  File "/tmp/mbed-os-example-blinky/mbed-os/tools/project.py", line 244, in <module>
    main()
  File "/tmp/mbed-os-example-blinky/mbed-os/tools/project.py", line 240, in main
    zip_proj=zip_proj, build_profile=profile)
  File "/tmp/mbed-os-example-blinky/mbed-os/tools/project.py", line 93, in export
    build_profile=build_profile, silent=silent)
  File "/tmp/mbed-os-example-blinky/mbed-os/tools/project_api.py", line 229, in export_project
    macros=macros)
  File "/tmp/mbed-os-example-blinky/mbed-os/tools/project_api.py", line 90, in generate_project_files
    exporter.generate()
  File "/tmp/mbed-os-example-blinky/mbed-os/tools/export/cdt/__init__.py", line 14, in generate
    super(Eclipse, self).generate()
  File "/tmp/mbed-os-example-blinky/mbed-os/tools/export/makefile/__init__.py", line 103, in generate
    raise NotSupportedException("This make tool is in development")
tools.utils.NotSupportedException: This make tool is in development
[mbed] ERROR: "python" returned error code 1.
[mbed] ERROR: Command "python -u /tmp/mbed-os-example-blinky/mbed-os/tools/project.py -i eclipse_gcc_arm -m K64F --source ." in "/tmp/mbed-os-example-blinky"

---

Enhancement

Git bisect reveals that the commit 2912522 has broken the export. "git revert 2912522" on mbed-os fixes the problem and the project file can be produced again.

Reason to enhance or problem with existing solution

Suggested enhancement
Fix and/or add CI job to detect regressions.

Pros

Cons


Question

How to?

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