Skip to content

elf2bin.py: Verify/compile outputs two syntax warnings #9154

Closed
@Vic-Y

Description

@Vic-Y

Basic Infos

  • This issue complies with the issue POLICY doc.
  • I have read the documentation at readthedocs and the issue is not addressed there.
  • I have tested that the issue is present in current master branch (aka latest git).
  • I have searched the issue tracker for a similar issue.
  • If there is a stack dump, I have decoded it.
  • I have filled out all fields below.

Platform

  • Hardware: [ESP8266 LOLIN(WEMOS) D1 mini (clone)]
  • Core Version:
  • Development Env: [Arduino IDE]
  • Operating System: [Ubuntu]

Settings in IDE

  • Module: [LOLIN(WEMOS) D1 mini (clone)]
  • Flash Mode: [DOUT(compatible)]
  • Flash Size: [4MB]
  • lwip Variant: [v2 Lower Memory]
  • Reset Method:
  • Flash Frequency: [40Mhz]
  • CPU Frequency: [80Mhz]
  • Upload Using: [SERIAL]
  • Upload Speed: [115200]

Problem Description

Output window displays the following two syntax warnings during verify/compile:

/home/{user}/.arduino15/packages/esp8266/hardware/esp8266/3.1.2/tools/elf2bin.py:54: SyntaxWarning: invalid escape sequence '\s'
words = re.split('\s+', line)
/home/{user}/.arduino15/packages/esp8266/hardware/esp8266/3.1.2/tools/elf2bin.py:73: SyntaxWarning: invalid escape sequence '\s'
words = re.split('\s+', line)

I guess that the escape sequence '\s' should be replace by a space character, but since I do not know how elf2bin.py file works, I did not submit a commit.
words = re.split(' +', line)

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