Skip to content

Git checkout of libraries/SoftwareSerial does fail with VSC/ #6527

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
5 of 6 tasks
Jason2866 opened this issue Sep 16, 2019 · 5 comments
Closed
5 of 6 tasks

Git checkout of libraries/SoftwareSerial does fail with VSC/ #6527

Jason2866 opened this issue Sep 16, 2019 · 5 comments

Comments

@Jason2866
Copy link
Contributor

Jason2866 commented Sep 16, 2019

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: NodeMCU
  • Core Version: [latest git hash]
  • Development Env: [VSC / Platformio]
  • Operating System: [Windows]

Settings in IDE

  • Module: [Generic ESP8266]
  • Flash Mode: [DOUT]
  • Flash Size: [1MB]
  • lwip Variant: [v2 Lower Memory|Higher Bandwidth]
  • Reset Method: [nodemcu]
  • Flash Frequency: [40Mhz]
  • CPU Frequency: [80Mhz]
  • Upload Using: [SERIAL]
  • Upload Speed: [115200]

Problem Description

Compiling fails with this error:

error: Server does not allow request for unadvertised object dd9d2326f85a22ca96ef5922df044884a2f3b529
Fetched in submodule path 'libraries/SoftwareSerial', but it did not contain dd9d2326f85a22ca96ef5922df044884a2f3b529. Direct fetching of that commit failed.
Error: VCS: Could not process command ['git', 'clone', '--recursive', '--depth', '1', 'https://github.com/esp8266/Arduino.git', 'C:\\Users\\Hans\\.platformio\\packages\\_tmp_installing-mxlx8k-package']
@bertmelis
Copy link

bertmelis commented Sep 16, 2019

Although the issue's contents is not like it should, I face the same issue. Checking out using Platformio doesn't work because of software serial submodule hash mismatch.

@d-a-v
Copy link
Collaborator

d-a-v commented Sep 16, 2019

You can rename the libraries/SoftwareSerial directory (I'd remove it) and retry,
git should restore it to the good version.

@d-a-v
Copy link
Collaborator

d-a-v commented Sep 16, 2019

fixed by #6526

@d-a-v d-a-v closed this as completed Sep 16, 2019
@Jason2866
Copy link
Contributor Author

Thx for the quick fix!!

@d-a-v
Copy link
Collaborator

d-a-v commented Sep 16, 2019

Maybe @dok-net has mistakenly removed the previous submodule reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants