Skip to content

Features - gcc arm to fail to export #2048

Closed
@0xc0170

Description

@0xc0170

traceback with the command I used to get this failure:

mbed export -m K64F -i gcc_arm
Traceback (most recent call last):
  File "blinky\mbed-os\core\tools\project.py", line 213, in <module>
    tmp_path, report = export(project_dir, project_name, ide, mcu, project_dir[0], project_temp, clean=clean, make_zip=zip, extra_symbols=lib_symbols, sources_relative=sources_relative)
  File "blinky\mbed-os\core\tools\export\__init__.py", line 106, in export
    exporter.generate()
  File "blinky\mbed-os\core\tools\export\gccarm.py", line 128, in generate
    self.resources.win_to_unix()
  File "blinky\mbed-os\core\tools\toolchains\__init__.py", line 165, in win_to_unix
    self.features[f] = self.features[f].replace('\\', '/')
AttributeError: Resources instance has no attribute 'replace'

Using project.py is fine, no features probably present, thus it does not fail.

cc @screamerbg @bogdanm @theotherjimmy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions